PATCH: 2.3.99-pre7.4 and drivers/net/atp.c

From: Petr Vandrovec (vandrove@vc.cvut.cz)
Date: Thu May 04 2000 - 10:48:42 EST


Hi Linus,
   notebook with unsupported PCMCIA network/modem card arrived to me
and because of I needed ethernet, I had to dig really deeply to find
how to connect it to net. After some time I found good old parallel
port adapter. Code unfortunately did not compile as module :-(
   So please, apply this patch. There is no atp_probe (for years...),
but there is atp_init (which is invoked from Space.c when in-kernel).
After this I can finally use something better than 28.8 modem ;-)
                                Thanks,
                                        Petr Vandrovec
                                        vandrove@vc.cvut.cz

diff -urdN linux/drivers/net/atp.c linux/drivers/net/atp.c
--- linux/drivers/net/atp.c Thu May 4 09:07:09 2000
+++ linux/drivers/net/atp.c Thu May 4 15:39:09 2000
@@ -130,8 +130,6 @@
 
 /* Index to functions, as function prototypes. */
 
-extern int atp_probe(struct net_device *dev);
-
 static int atp_probe1(struct net_device *dev, short ioaddr);
 static void get_node_ID(struct net_device *dev);
 static unsigned short eeprom_op(short ioaddr, unsigned int cmd);
@@ -751,7 +749,7 @@
 
 static int io = 0;
 static struct net_device atp_dev = {
- "", 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, atp_probe };
+ "", 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, atp_init };
         
 MODULE_PARM(io, "I/O port of the pocket adapter");
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:15 EST