Patch(2.5.47): Remove incorrect de600 initialization from Space.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	The de600 driver in 2.5.47 has a module_init function that does
the probing regardless of whether the driver is compiled as a module.
So, Space.c should not call the de600 probe function.  The following
patch deletes the probe call from Space.c.

	I do not have have a de600 parallel port ethernet adapter.
So, I have not tested this patch in any way.

-- 
Adam J. Richter     __     ______________   575 Oroville Road
adam@yggdrasil.com     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America
                         "Free Software For The Rest Of Us."
--- linux-2.5.47/drivers/net/Space.c	2002-11-10 19:28:04.000000000 -0800
+++ linux/drivers/net/Space.c	2002-11-17 08:15:13.000000000 -0800
@@ -105,7 +105,6 @@
 extern int mc32_probe(struct net_device *dev);
   
 /* Detachable devices ("pocket adaptors") */
-extern int de600_probe(struct net_device *);
 extern int de620_probe(struct net_device *);
 
 /* FDDI adapters */
@@ -315,9 +314,6 @@
 };
 
 static struct devprobe parport_probes[] __initdata = {
-#ifdef CONFIG_DE600		/* D-Link DE-600 adapter */
-	{de600_probe, 0},
-#endif
 #ifdef CONFIG_DE620		/* D-Link DE-620 adapter */
 	{de620_probe, 0},
 #endif

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux