netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-dev2.6] bxn2x: Fix location of PCI-ids defines
@ 2011-03-17 12:27 Ariel Elior
  2011-03-17 13:06 ` David Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Ariel Elior @ 2011-03-17 12:27 UTC (permalink / raw)
  To: davem; +Cc: eilong, netdev

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
 drivers/net/bnx2x/bnx2x_main.c |    7 -------
 include/linux/pci_ids.h        |    2 ++
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/drivers/net/bnx2x/bnx2x_main.c
b/drivers/net/bnx2x/bnx2x_main.c
index 10bc0a6..ab2fc65 100644
--- a/drivers/net/bnx2x/bnx2x_main.c
+++ b/drivers/net/bnx2x/bnx2x_main.c
@@ -145,13 +145,6 @@ static struct {
 	{ "Broadcom NetXtreme II BCM57712E XGb" }
 };
 
-#ifndef PCI_DEVICE_ID_NX2_57712
-#define PCI_DEVICE_ID_NX2_57712		0x1662
-#endif
-#ifndef PCI_DEVICE_ID_NX2_57712E
-#define PCI_DEVICE_ID_NX2_57712E	0x1663
-#endif
-
 static DEFINE_PCI_DEVICE_TABLE(bnx2x_pci_tbl) = {
 	{ PCI_VDEVICE(BROADCOM, PCI_DEVICE_ID_NX2_57710), BCM57710 },
 	{ PCI_VDEVICE(BROADCOM, PCI_DEVICE_ID_NX2_57711), BCM57711 },
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 3adb06e..f82986b 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -2078,6 +2078,8 @@
 #define PCI_DEVICE_ID_TIGON3_5723	0x165b
 #define PCI_DEVICE_ID_TIGON3_5705M	0x165d
 #define PCI_DEVICE_ID_TIGON3_5705M_2	0x165e
+#define PCI_DEVICE_ID_NX2_57712		0x1662
+#define PCI_DEVICE_ID_NX2_57712E	0x1663
 #define PCI_DEVICE_ID_TIGON3_5714	0x1668
 #define PCI_DEVICE_ID_TIGON3_5714S	0x1669
 #define PCI_DEVICE_ID_TIGON3_5780	0x166a
-- 
1.7.4.1





^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-18 22:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-17 12:27 [PATCH net-dev2.6] bxn2x: Fix location of PCI-ids defines Ariel Elior
2011-03-17 13:06 ` David Miller
2011-03-17 13:13   ` Eilon Greenstein
2011-03-17 15:10     ` David Miller
2011-03-17 17:32       ` Michael Chan
2011-03-18 22:13     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).