Skip to contentSkip to conversation

wavelan_cs update (v23)

PATCH New Jean Tourrilhes 1 participant 1 message Aug 6, 2002 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wavelan_cs update (v23)

Hi Marcelo,

The wavelan_cs driver currently in your kernel is completely
non functional :
o Oops on SMP
o lockup on CPUs faster than about 300 MHz
o not conform to current net API
This patch re-synch the driver with the version in the Pcmcia
package. This patch has been in 2.5.X since 2.5.3-pre2 and was already in 2.4.19-acX. I also fixed dev->trans_start.
This is a big patch, but it has proven safe in both Pcmcia
package, 2.5.X and 2.4.19-acX. And I've tested it intensively on 2.4.19.
Please apply...

Jean

P.S. : I don't see the point of keeping broken drivers in the kernel, so if you don't accept the patch, please remove this driver from your kernel. That will force people to use the Pcmcia package.

---------------------------------------------------------------

drivers/net/pcmcia/wavelan.h renamed from drivers/net/pcmcia-buggy/wavelan.h +3 -0
diff -u -p -r linux/drivers/net/pcmcia-buggy/wavelan.h linux/drivers/net/pcmcia/wavelan.h
@@ -88,6 +88,7 @@ const short	channel_bands[] = { 0x30, 0x
  */
 const int	fixed_bands[] = { 915e6, 2.425e8, 2.46e8, 2.484e8, 2.4305e8 };
 
+
 /*************************** PC INTERFACE ****************************/
 
 /* WaveLAN host interface definitions */
@@ -316,6 +317,7 @@ struct mmw_t
 /* 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.
  */
@@ -372,6 +374,7 @@ struct mmr_t
 
 /* 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
drivers/net/pcmcia/wavelan_cs.c renamed from drivers/net/pcmcia-buggy/wavelan_cs.c +372 -364

1,335 lines not on this page · raw message

drivers/net/pcmcia/wavelan_cs.h renamed from drivers/net/pcmcia-buggy/wavelan_cs.h +77 -24

207 lines not on this page · raw message