tree c68448ebd05911a8b026cc6130f61db988546f6c
parent af2bcd97b570f39da94103f80f67433dab515049
author John W. Linville <[EMAIL PROTECTED]> Fri, 22 Apr 2005 06:58:56 -0700
committer David S. Miller <[EMAIL PROTECTED]> Fri, 22 Apr 2005 06:58:56 -0700

[TG3]: add bcm5752 entry to pci_ids.h

Add proper entry for bcm5752 PCI ID to pci_ids.h, and use it in tg3.
I did this separately in case patches like this (i.e. new PCI IDs)
need to come from more "official" sources.

Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

 net/tg3.c       |    2 +-
 linux/pci_ids.h |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

Index: drivers/net/tg3.c
===================================================================
--- 64cb1715f1963e89067f7e572df5d7121512bfad/drivers/net/tg3.c  (mode:100644 
sha1:b72e95e8fac5c7288cc67affbe26acaf25403aef)
+++ c68448ebd05911a8b026cc6130f61db988546f6c/drivers/net/tg3.c  (mode:100644 
sha1:4375eec06d3711fdb32e84ab88833631bddb9bae)
@@ -206,7 +206,7 @@ static struct pci_device_id tg3_pci_tbl[
          PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
        { PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_TIGON3_5751F,
          PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
-       { PCI_VENDOR_ID_BROADCOM, 0x1600, /* TIGON3_5752 */
+       { PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_TIGON3_5752,
          PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
        { PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_TIGON3_5753,
          PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
Index: include/linux/pci_ids.h
===================================================================
--- 64cb1715f1963e89067f7e572df5d7121512bfad/include/linux/pci_ids.h  
(mode:100644 sha1:f1f75fde8cd46d668b5fe68b64259939a0f0f17a)
+++ c68448ebd05911a8b026cc6130f61db988546f6c/include/linux/pci_ids.h  
(mode:100644 sha1:6a1897481942e5dcfd1314d5f7b81e2c6ae36280)
@@ -2062,6 +2062,7 @@
 #define PCI_DEVICE_ID_AFAVLAB_P030     0x2182
 
 #define PCI_VENDOR_ID_BROADCOM         0x14e4
+#define PCI_DEVICE_ID_TIGON3_5752      0x1600
 #define PCI_DEVICE_ID_TIGON3_5700      0x1644
 #define PCI_DEVICE_ID_TIGON3_5701      0x1645
 #define PCI_DEVICE_ID_TIGON3_5702      0x1646
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to