[PATCH] sungem UniNorth 2 GMAC support
Linux Kernel Mailing List <[email protected]>
| Newsgroups | gmane.linux.kernel.commits.2-4 |
|---|---|
| Message-ID | <[email protected]> |
ChangeSet 1.1574, 2005/01/12 10:43:22-02:00, [email protected] [PATCH] sungem UniNorth 2 GMAC support The Sun GEM/GMAC NIC driver in 2.4.29-rc1 doesn't recognise the UniNorth 2 GMAC chip, aka 106b:0032, in my Apple eMac. Fixed by this patch. /Mikael drivers/net/sungem.c | 2 ++ include/linux/pci_ids.h | 1 + 2 files changed, 3 insertions(+) diff -Nru a/drivers/net/sungem.c b/drivers/net/sungem.c --- a/drivers/net/sungem.c 2005-01-13 05:05:07 -08:00 +++ b/drivers/net/sungem.c 2005-01-13 05:05:07 -08:00 @@ -119,6 +119,8 @@ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_UNI_N_GMACP, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, + { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_UNI_N_GMAC2, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, {0, } }; diff -Nru a/include/linux/pci_ids.h b/include/linux/pci_ids.h --- a/include/linux/pci_ids.h 2005-01-13 05:05:07 -08:00 +++ b/include/linux/pci_ids.h 2005-01-13 05:05:07 -08:00 @@ -761,6 +761,7 @@ #define PCI_DEVICE_ID_APPLE_UNI_N_AGP_P 0x0027 #define PCI_DEVICE_ID_APPLE_UNI_N_AGP15 0x002d #define PCI_DEVICE_ID_APPLE_UNI_N_FW2 0x0030 +#define PCI_DEVICE_ID_APPLE_UNI_N_GMAC2 0x0032 #define PCI_DEVICE_ID_APPLE_TIGON3 0x1645 #define PCI_VENDOR_ID_YAMAHA 0x1073