At Thu, 5 Feb 2004 11:50:08 +0100 (MET), Alfred M. Szmidt wrote: > > This is the patch, but I haven't tested it: > > ChangeLog please. >
Here it is. I tested it and works. 2004-02-05 Gianluca Guida <[EMAIL PROTECTED]> * linux/src/drivers/net/rtl8139.c: Added support for DLink 528 TX and DLink 538 TX. --- cvs/gnumach/linux/src/drivers/net/rtl8139.c 1999-09-09 06:30:37.000000000 +0000 +++ mysrc/gnumach/linux/src/drivers/net/rtl8139.c 2004-02-05 21:36:30.000000000 +0000 @@ -140,9 +140,18 @@ */ +/* 2004-02-05: Added Dlink PCI ids, originally done by A. Ventimiglia */ + #ifndef PCI_VENDOR_ID_REALTEK #define PCI_VENDOR_ID_REALTEK 0x10ec #endif +#ifndef PCI_VENDOR_ID_DLINK +#define PCI_VENDOR_ID_DLINK 0x1186 +#endif + +#ifndef PCI_DEVICE_ID_DLINK_538TX +#define PCI_DEVICE_ID_DLINK_538TX 0x1300 +#endif #ifndef PCI_DEVICE_ID_REALTEK_8129 #define PCI_DEVICE_ID_REALTEK_8129 0x8129 #endif @@ -302,7 +311,8 @@ break; pcibios_read_config_word(pci_bus, pci_device_fn, PCI_VENDOR_ID, &vendor); - if (vendor != PCI_VENDOR_ID_REALTEK) + if (vendor != PCI_VENDOR_ID_REALTEK + && vendor != PCI_VENDOR_ID_DLINK) continue; pcibios_read_config_word(pci_bus, pci_device_fn, @@ -315,7 +325,8 @@ pci_ioaddr &= ~3; if (device != PCI_DEVICE_ID_REALTEK_8129 - && device != PCI_DEVICE_ID_REALTEK_8139) { + && device != PCI_DEVICE_ID_REALTEK_8139 + && device != PCI_DEVICE_ID_DLINK_538TX) { printk(KERN_NOTICE "Unknown RealTek PCI ethernet chip type " "%4.4x detected: not configured.\n", device); continue; _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd