Hi. I found a bug of pci network driver dmfe.c.
This bug occured when linux-2.4.0-test1-ac2's pci cleanup.
Because PCI_DM9102_ID means VENDOR_ID << 16 + DEVICE_ID, but
net_dev->device means DEVICE_ID, so dmfe.c can't detect dmfe network card.
To fix this problem, apply the folloing patch.
--- linux/drivers/net/dmfe.c.orig Tue Jun 20 22:37:14 2000
+++ linux/drivers/net/dmfe.c Tue Jun 20 22:39:51 2000
@@ -359,7 +359,7 @@
if (pci_read_config_dword(net_dev, PCI_VENDOR_ID, &pci_id) != DMFE_SUCC)
continue;
- if ((net_dev->device != PCI_DM9102_ID) && (net_dev->device != PCI_DM9132_ID))
+ if ((pci_id != PCI_DM9102_ID) && (pci_id != PCI_DM9132_ID))
continue;
pci_iobase = pci_resource_start (net_dev, 0);
+----------------------------------------------------+ __/\__
| Daisuke IIZUKA (mailto:iizuka@mtl.t.u-tokyo.ac.jp) | \/~~\/
| Dept. Information Engineering, Univ. Tokyo | /\__/\
+----------------------------------------------------+ ~~\/~~ Hexagram
-
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 : Fri Jun 23 2000 - 21:00:19 EST