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
This commit is contained in:
@@ -208,7 +208,7 @@ MODULE_PARM_DESC(use_io, "Force use of i/o access mode");
|
||||
#define INTEL_8255X_ETHERNET_DEVICE(device_id, ich) {\
|
||||
PCI_VENDOR_ID_INTEL, device_id, PCI_ANY_ID, PCI_ANY_ID, \
|
||||
PCI_CLASS_NETWORK_ETHERNET << 8, 0xFFFF00, ich }
|
||||
static DEFINE_PCI_DEVICE_TABLE(e100_id_table) = {
|
||||
static const struct pci_device_id e100_id_table[] = {
|
||||
INTEL_8255X_ETHERNET_DEVICE(0x1029, 0),
|
||||
INTEL_8255X_ETHERNET_DEVICE(0x1030, 0),
|
||||
INTEL_8255X_ETHERNET_DEVICE(0x1031, 3),
|
||||
|
@@ -46,7 +46,7 @@ static const char e1000_copyright[] = "Copyright (c) 1999-2006 Intel Corporation
|
||||
* Macro expands to...
|
||||
* {PCI_DEVICE(PCI_VENDOR_ID_INTEL, device_id)}
|
||||
*/
|
||||
static DEFINE_PCI_DEVICE_TABLE(e1000_pci_tbl) = {
|
||||
static const struct pci_device_id e1000_pci_tbl[] = {
|
||||
INTEL_E1000_ETHERNET_DEVICE(0x1000),
|
||||
INTEL_E1000_ETHERNET_DEVICE(0x1001),
|
||||
INTEL_E1000_ETHERNET_DEVICE(0x1004),
|
||||
|
@@ -65,7 +65,7 @@ static int i40e_veb_get_bw_info(struct i40e_veb *veb);
|
||||
* { Vendor ID, Device ID, SubVendor ID, SubDevice ID,
|
||||
* Class, Class Mask, private data (not used) }
|
||||
*/
|
||||
static DEFINE_PCI_DEVICE_TABLE(i40e_pci_tbl) = {
|
||||
static const struct pci_device_id i40e_pci_tbl[] = {
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_SFP_XL710), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_QEMU), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_KX_A), 0},
|
||||
|
@@ -49,7 +49,7 @@ static const char i40evf_copyright[] =
|
||||
* { Vendor ID, Device ID, SubVendor ID, SubDevice ID,
|
||||
* Class, Class Mask, private data (not used) }
|
||||
*/
|
||||
static DEFINE_PCI_DEVICE_TABLE(i40evf_pci_tbl) = {
|
||||
static const struct pci_device_id i40evf_pci_tbl[] = {
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_VF), 0},
|
||||
/* required last entry */
|
||||
{0, }
|
||||
|
@@ -2853,7 +2853,7 @@ static const struct pci_error_handlers igbvf_err_handler = {
|
||||
.resume = igbvf_io_resume,
|
||||
};
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(igbvf_pci_tbl) = {
|
||||
static const struct pci_device_id igbvf_pci_tbl[] = {
|
||||
{ PCI_VDEVICE(INTEL, E1000_DEV_ID_82576_VF), board_vf },
|
||||
{ PCI_VDEVICE(INTEL, E1000_DEV_ID_I350_VF), board_i350_vf },
|
||||
{ } /* terminate list */
|
||||
|
@@ -53,7 +53,7 @@ MODULE_PARM_DESC(copybreak,
|
||||
* { Vendor ID, Device ID, SubVendor ID, SubDevice ID,
|
||||
* Class, Class Mask, private data (not used) }
|
||||
*/
|
||||
static DEFINE_PCI_DEVICE_TABLE(ixgb_pci_tbl) = {
|
||||
static const struct pci_device_id ixgb_pci_tbl[] = {
|
||||
{PCI_VENDOR_ID_INTEL, IXGB_DEVICE_ID_82597EX,
|
||||
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||
{PCI_VENDOR_ID_INTEL, IXGB_DEVICE_ID_82597EX_CX4,
|
||||
|
@@ -84,7 +84,7 @@ static const struct ixgbe_info *ixgbe_info_tbl[] = {
|
||||
* { Vendor ID, Device ID, SubVendor ID, SubDevice ID,
|
||||
* Class, Class Mask, private data (not used) }
|
||||
*/
|
||||
static DEFINE_PCI_DEVICE_TABLE(ixgbe_pci_tbl) = {
|
||||
static const struct pci_device_id ixgbe_pci_tbl[] = {
|
||||
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598), board_82598 },
|
||||
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598AF_DUAL_PORT), board_82598 },
|
||||
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598AF_SINGLE_PORT), board_82598 },
|
||||
|
@@ -76,7 +76,7 @@ static const struct ixgbevf_info *ixgbevf_info_tbl[] = {
|
||||
* { Vendor ID, Device ID, SubVendor ID, SubDevice ID,
|
||||
* Class, Class Mask, private data (not used) }
|
||||
*/
|
||||
static DEFINE_PCI_DEVICE_TABLE(ixgbevf_pci_tbl) = {
|
||||
static const struct pci_device_id ixgbevf_pci_tbl[] = {
|
||||
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_VF), board_82599_vf },
|
||||
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X540_VF), board_X540_vf },
|
||||
/* required last entry */
|
||||
|
Reference in New Issue
Block a user