diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-14 20:10:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-14 20:10:33 -0400 |
commit | a11c5c9ef6dc562fc7df7aaf7911569a85f4d71c (patch) | |
tree | 6e0a6c7a259287e201ab3e727c8d85286e93159a /drivers/net/ethernet/intel | |
parent | 179c0ac67b9d947d2de69e9f08a743e7c74a8dce (diff) | |
parent | 9baa3c34ac4e27f7e062f266f50cc5dbea26a6c1 (diff) |
Merge tag 'pci-v3.17-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull DEFINE_PCI_DEVICE_TABLE removal from Bjorn Helgaas:
"Part two of the PCI changes for v3.17:
- Remove DEFINE_PCI_DEVICE_TABLE macro use (Benoit Taine)
It's a mechanical change that removes uses of the
DEFINE_PCI_DEVICE_TABLE macro. I waited until later in the merge
window to reduce conflicts, but it's possible you'll still see a few"
* tag 'pci-v3.17-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r-- | drivers/net/ethernet/intel/e100.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/intel/e1000/e1000_main.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_main.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/intel/i40evf/i40evf_main.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/intel/igbvf/netdev.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/intel/ixgb/ixgb_main.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index 9d979d7debef..781065eb5431 100644 --- a/drivers/net/ethernet/intel/e100.c +++ b/drivers/net/ethernet/intel/e100.c | |||
@@ -208,7 +208,7 @@ MODULE_PARM_DESC(use_io, "Force use of i/o access mode"); | |||
208 | #define INTEL_8255X_ETHERNET_DEVICE(device_id, ich) {\ | 208 | #define INTEL_8255X_ETHERNET_DEVICE(device_id, ich) {\ |
209 | PCI_VENDOR_ID_INTEL, device_id, PCI_ANY_ID, PCI_ANY_ID, \ | 209 | PCI_VENDOR_ID_INTEL, device_id, PCI_ANY_ID, PCI_ANY_ID, \ |
210 | PCI_CLASS_NETWORK_ETHERNET << 8, 0xFFFF00, ich } | 210 | PCI_CLASS_NETWORK_ETHERNET << 8, 0xFFFF00, ich } |
211 | static DEFINE_PCI_DEVICE_TABLE(e100_id_table) = { | 211 | static const struct pci_device_id e100_id_table[] = { |
212 | INTEL_8255X_ETHERNET_DEVICE(0x1029, 0), | 212 | INTEL_8255X_ETHERNET_DEVICE(0x1029, 0), |
213 | INTEL_8255X_ETHERNET_DEVICE(0x1030, 0), | 213 | INTEL_8255X_ETHERNET_DEVICE(0x1030, 0), |
214 | INTEL_8255X_ETHERNET_DEVICE(0x1031, 3), | 214 | INTEL_8255X_ETHERNET_DEVICE(0x1031, 3), |
diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c b/drivers/net/ethernet/intel/e1000/e1000_main.c index 660971f304b2..cbc330b301cd 100644 --- a/drivers/net/ethernet/intel/e1000/e1000_main.c +++ b/drivers/net/ethernet/intel/e1000/e1000_main.c | |||
@@ -46,7 +46,7 @@ static const char e1000_copyright[] = "Copyright (c) 1999-2006 Intel Corporation | |||
46 | * Macro expands to... | 46 | * Macro expands to... |
47 | * {PCI_DEVICE(PCI_VENDOR_ID_INTEL, device_id)} | 47 | * {PCI_DEVICE(PCI_VENDOR_ID_INTEL, device_id)} |
48 | */ | 48 | */ |
49 | static DEFINE_PCI_DEVICE_TABLE(e1000_pci_tbl) = { | 49 | static const struct pci_device_id e1000_pci_tbl[] = { |
50 | INTEL_E1000_ETHERNET_DEVICE(0x1000), | 50 | INTEL_E1000_ETHERNET_DEVICE(0x1000), |
51 | INTEL_E1000_ETHERNET_DEVICE(0x1001), | 51 | INTEL_E1000_ETHERNET_DEVICE(0x1001), |
52 | INTEL_E1000_ETHERNET_DEVICE(0x1004), | 52 | INTEL_E1000_ETHERNET_DEVICE(0x1004), |
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index 871474f6fe62..eddec6ba095b 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c | |||
@@ -65,7 +65,7 @@ static int i40e_veb_get_bw_info(struct i40e_veb *veb); | |||
65 | * { Vendor ID, Device ID, SubVendor ID, SubDevice ID, | 65 | * { Vendor ID, Device ID, SubVendor ID, SubDevice ID, |
66 | * Class, Class Mask, private data (not used) } | 66 | * Class, Class Mask, private data (not used) } |
67 | */ | 67 | */ |
68 | static DEFINE_PCI_DEVICE_TABLE(i40e_pci_tbl) = { | 68 | static const struct pci_device_id i40e_pci_tbl[] = { |
69 | {PCI_VDEVICE(INTEL, I40E_DEV_ID_SFP_XL710), 0}, | 69 | {PCI_VDEVICE(INTEL, I40E_DEV_ID_SFP_XL710), 0}, |
70 | {PCI_VDEVICE(INTEL, I40E_DEV_ID_QEMU), 0}, | 70 | {PCI_VDEVICE(INTEL, I40E_DEV_ID_QEMU), 0}, |
71 | {PCI_VDEVICE(INTEL, I40E_DEV_ID_KX_A), 0}, | 71 | {PCI_VDEVICE(INTEL, I40E_DEV_ID_KX_A), 0}, |
diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c index ab15f4d07e41..38429fae4fcf 100644 --- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c +++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c | |||
@@ -49,7 +49,7 @@ static const char i40evf_copyright[] = | |||
49 | * { Vendor ID, Device ID, SubVendor ID, SubDevice ID, | 49 | * { Vendor ID, Device ID, SubVendor ID, SubDevice ID, |
50 | * Class, Class Mask, private data (not used) } | 50 | * Class, Class Mask, private data (not used) } |
51 | */ | 51 | */ |
52 | static DEFINE_PCI_DEVICE_TABLE(i40evf_pci_tbl) = { | 52 | static const struct pci_device_id i40evf_pci_tbl[] = { |
53 | {PCI_VDEVICE(INTEL, I40E_DEV_ID_VF), 0}, | 53 | {PCI_VDEVICE(INTEL, I40E_DEV_ID_VF), 0}, |
54 | /* required last entry */ | 54 | /* required last entry */ |
55 | {0, } | 55 | {0, } |
diff --git a/drivers/net/ethernet/intel/igbvf/netdev.c b/drivers/net/ethernet/intel/igbvf/netdev.c index d608599e123a..63c807c9b21c 100644 --- a/drivers/net/ethernet/intel/igbvf/netdev.c +++ b/drivers/net/ethernet/intel/igbvf/netdev.c | |||
@@ -2853,7 +2853,7 @@ static const struct pci_error_handlers igbvf_err_handler = { | |||
2853 | .resume = igbvf_io_resume, | 2853 | .resume = igbvf_io_resume, |
2854 | }; | 2854 | }; |
2855 | 2855 | ||
2856 | static DEFINE_PCI_DEVICE_TABLE(igbvf_pci_tbl) = { | 2856 | static const struct pci_device_id igbvf_pci_tbl[] = { |
2857 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82576_VF), board_vf }, | 2857 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82576_VF), board_vf }, |
2858 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_I350_VF), board_i350_vf }, | 2858 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_I350_VF), board_i350_vf }, |
2859 | { } /* terminate list */ | 2859 | { } /* terminate list */ |
diff --git a/drivers/net/ethernet/intel/ixgb/ixgb_main.c b/drivers/net/ethernet/intel/ixgb/ixgb_main.c index 60801273915c..055961b0f24b 100644 --- a/drivers/net/ethernet/intel/ixgb/ixgb_main.c +++ b/drivers/net/ethernet/intel/ixgb/ixgb_main.c | |||
@@ -53,7 +53,7 @@ MODULE_PARM_DESC(copybreak, | |||
53 | * { Vendor ID, Device ID, SubVendor ID, SubDevice ID, | 53 | * { Vendor ID, Device ID, SubVendor ID, SubDevice ID, |
54 | * Class, Class Mask, private data (not used) } | 54 | * Class, Class Mask, private data (not used) } |
55 | */ | 55 | */ |
56 | static DEFINE_PCI_DEVICE_TABLE(ixgb_pci_tbl) = { | 56 | static const struct pci_device_id ixgb_pci_tbl[] = { |
57 | {PCI_VENDOR_ID_INTEL, IXGB_DEVICE_ID_82597EX, | 57 | {PCI_VENDOR_ID_INTEL, IXGB_DEVICE_ID_82597EX, |
58 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 58 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, |
59 | {PCI_VENDOR_ID_INTEL, IXGB_DEVICE_ID_82597EX_CX4, | 59 | {PCI_VENDOR_ID_INTEL, IXGB_DEVICE_ID_82597EX_CX4, |
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c index 5384ed30298a..87bd53fdd209 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | |||
@@ -84,7 +84,7 @@ static const struct ixgbe_info *ixgbe_info_tbl[] = { | |||
84 | * { Vendor ID, Device ID, SubVendor ID, SubDevice ID, | 84 | * { Vendor ID, Device ID, SubVendor ID, SubDevice ID, |
85 | * Class, Class Mask, private data (not used) } | 85 | * Class, Class Mask, private data (not used) } |
86 | */ | 86 | */ |
87 | static DEFINE_PCI_DEVICE_TABLE(ixgbe_pci_tbl) = { | 87 | static const struct pci_device_id ixgbe_pci_tbl[] = { |
88 | {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598), board_82598 }, | 88 | {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598), board_82598 }, |
89 | {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598AF_DUAL_PORT), board_82598 }, | 89 | {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598AF_DUAL_PORT), board_82598 }, |
90 | {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598AF_SINGLE_PORT), board_82598 }, | 90 | {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598AF_SINGLE_PORT), board_82598 }, |
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c index 75467f83772c..c22a00c3621a 100644 --- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | |||
@@ -76,7 +76,7 @@ static const struct ixgbevf_info *ixgbevf_info_tbl[] = { | |||
76 | * { Vendor ID, Device ID, SubVendor ID, SubDevice ID, | 76 | * { Vendor ID, Device ID, SubVendor ID, SubDevice ID, |
77 | * Class, Class Mask, private data (not used) } | 77 | * Class, Class Mask, private data (not used) } |
78 | */ | 78 | */ |
79 | static DEFINE_PCI_DEVICE_TABLE(ixgbevf_pci_tbl) = { | 79 | static const struct pci_device_id ixgbevf_pci_tbl[] = { |
80 | {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_VF), board_82599_vf }, | 80 | {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_VF), board_82599_vf }, |
81 | {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X540_VF), board_X540_vf }, | 81 | {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X540_VF), board_X540_vf }, |
82 | /* required last entry */ | 82 | /* required last entry */ |