patch-2.4.20 linux-2.4.20/drivers/net/pcmcia/wavelan.h
Next file: linux-2.4.20/drivers/net/pcmcia/wavelan_cs.c
Previous file: linux-2.4.20/drivers/net/pcmcia/smc91c92_cs.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Thu Nov 28 15:53:14 2002
- Orig file:
linux-2.4.19/drivers/net/pcmcia/wavelan.h
- Orig date:
Fri Mar 2 11:02:15 2001
diff -urN linux-2.4.19/drivers/net/pcmcia/wavelan.h linux-2.4.20/drivers/net/pcmcia/wavelan.h
@@ -88,6 +88,7 @@
*/
const int fixed_bands[] = { 915e6, 2.425e8, 2.46e8, 2.484e8, 2.4305e8 };
+
/*************************** PC INTERFACE ****************************/
/* WaveLAN host interface definitions */
@@ -316,6 +317,7 @@
/* Calculate offset of a field in the above structure */
#define mmwoff(p,f) (unsigned short)((void *)(&((mmw_t *)((void *)0 + (p)))->f) - (void *)0)
+
/*
* Modem Management Controller (MMC) read structure.
*/
@@ -373,6 +375,7 @@
/* Calculate offset of a field in the above structure */
#define mmroff(p,f) (unsigned short)((void *)(&((mmr_t *)((void *)0 + (p)))->f) - (void *)0)
+
/* Make the two above structures one */
typedef union mm_t
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)