Re: 2.3.30: another bug in TLAN driver.

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 9 Dec 1999 13:10:36 +0000 (GMT)


> for some reason, it registers the first discovered port as eth1 and not
> eth0. I have nothing as eth0 and TLAN statically compiled in the kernel
> and it gives me eth1 instead of eth0.

Yep got it. Its a weirdness in the driver that broke when I put the new
name assign code in

Try:

--- drivers/net/tlan.c~ Tue Nov 30 13:10:31 1999
+++ drivers/net/tlan.c Thu Dec 9 12:12:36 1999
@@ -468,9 +468,6 @@

priv = (TLanPrivateInfo *) dev->priv;

- dev->name = priv->devName;
- strcpy( priv->devName, " " );
-
dev = init_etherdev( dev, sizeof(TLanPrivateInfo) );

dev->base_addr = io_base;

-
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/