Преглед на файлове

net: remove a collection of unneeded #undef REALLY_SLOW_IO stuff

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Alan преди 18 години
родител
ревизия
b882addd7a
променени са 6 файла, в които са добавени 1 реда и са изтрити 13 реда
  1. 0 6
      drivers/net/de600.c
  2. 0 2
      drivers/net/ni52.c
  3. 1 1
      drivers/net/skfp/cfm.c
  4. 0 2
      drivers/net/sun3_82586.c
  5. 0 1
      drivers/net/wan/cosa.c
  6. 0 1
      drivers/net/wireless/wl3501_cs.c

+ 0 - 6
drivers/net/de600.c

@@ -38,12 +38,6 @@ static const char version[] = "de600.c: $Revision: 1.41-2.5 $,  Bjorn Ekwall (bj
 /* Add more time here if your adapter won't work OK: */
 /* Add more time here if your adapter won't work OK: */
 #define DE600_SLOW_DOWN	udelay(delay_time)
 #define DE600_SLOW_DOWN	udelay(delay_time)
 
 
- /*
- * If you still have trouble reading/writing to the adapter,
- * modify the following "#define": (see <asm/io.h> for more info)
-#define REALLY_SLOW_IO
- */
-
 /* use 0 for production, 1 for verification, >2 for debug */
 /* use 0 for production, 1 for verification, >2 for debug */
 #ifdef DE600_DEBUG
 #ifdef DE600_DEBUG
 #define PRINTK(x) if (de600_debug >= 2) printk x
 #define PRINTK(x) if (de600_debug >= 2) printk x

+ 0 - 2
drivers/net/ni52.c

@@ -104,8 +104,6 @@ static int automatic_resume; /* experimental .. better should be zero */
 static int rfdadd;	/* rfdadd=1 may be better for 8K MEM cards */
 static int rfdadd;	/* rfdadd=1 may be better for 8K MEM cards */
 static int fifo=0x8;	/* don't change */
 static int fifo=0x8;	/* don't change */
 
 
-/* #define REALLY_SLOW_IO */
-
 #include <linux/module.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/string.h>

+ 1 - 1
drivers/net/skfp/cfm.c

@@ -73,7 +73,7 @@ static const char * const cfm_events[] = {
 /*
 /*
  * map from state to downstream port type
  * map from state to downstream port type
  */
  */
-static const u_char cf_to_ptype[] = {
+static const unsigned char cf_to_ptype[] = {
 	TNONE,TNONE,TNONE,TNONE,TNONE,
 	TNONE,TNONE,TNONE,TNONE,TNONE,
 	TNONE,TB,TB,TS,
 	TNONE,TB,TB,TS,
 	TA,TB,TS,TB
 	TA,TB,TS,TB

+ 0 - 2
drivers/net/sun3_82586.c

@@ -28,8 +28,6 @@ static int automatic_resume = 0; /* experimental .. better should be zero */
 static int rfdadd = 0; /* rfdadd=1 may be better for 8K MEM cards */
 static int rfdadd = 0; /* rfdadd=1 may be better for 8K MEM cards */
 static int fifo=0x8;	/* don't change */
 static int fifo=0x8;	/* don't change */
 
 
-/* #define REALLY_SLOW_IO */
-
 #include <linux/module.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/string.h>

+ 0 - 1
drivers/net/wan/cosa.c

@@ -94,7 +94,6 @@
 #include <linux/device.h>
 #include <linux/device.h>
 
 
 #undef COSA_SLOW_IO	/* for testing purposes only */
 #undef COSA_SLOW_IO	/* for testing purposes only */
-#undef REALLY_SLOW_IO
 
 
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/dma.h>
 #include <asm/dma.h>

+ 0 - 1
drivers/net/wireless/wl3501_cs.c

@@ -26,7 +26,6 @@
  * Tested with Planet AP in 2.5.73-bk, 216 Kbytes/s in Infrastructure mode
  * Tested with Planet AP in 2.5.73-bk, 216 Kbytes/s in Infrastructure mode
  * with a SMP machine (dual pentium 100), using pktgen, 432 pps (pkt_size = 60)
  * with a SMP machine (dual pentium 100), using pktgen, 432 pps (pkt_size = 60)
  */
  */
-#undef REALLY_SLOW_IO	/* most systems can safely undef this */
 
 
 #include <linux/delay.h>
 #include <linux/delay.h>
 #include <linux/types.h>
 #include <linux/types.h>