diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-28 17:20:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-28 17:20:44 -0400 |
commit | 0e59e7e7feb5a12938fbf9135147eeda3238c6c4 (patch) | |
tree | dbe994369ca9cad6893f0fd710f75791bc84b816 /drivers/net | |
parent | 46b51ea2099fa2082342e52b8284aa828429b80b (diff) | |
parent | a513a99a7cebfb452839cc09c9c0586f72d96414 (diff) |
Merge branch 'next-rebase' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci
* 'next-rebase' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci:
PCI: Clean-up MPS debug output
pci: Clamp pcie_set_readrq() when using "performance" settings
PCI: enable MPS "performance" setting to properly handle bridge MPS
PCI: Workaround for Intel MPS errata
PCI: Add support for PASID capability
PCI: Add implementation for PRI capability
PCI: Export ATS functions to modules
PCI: Move ATS implementation into own file
PCI / PM: Remove unnecessary error variable from acpi_dev_run_wake()
PCI hotplug: acpiphp: Prevent deadlock on PCI-to-PCI bridge remove
PCI / PM: Extend PME polling to all PCI devices
PCI quirk: mmc: Always check for lower base frequency quirk for Ricoh 1180:e823
PCI: Make pci_setup_bridge() non-static for use by arch code
x86: constify PCI raw ops structures
PCI: Add quirk for known incorrect MPSS
PCI: Add Solarflare vendor ID and SFC4000 device IDs
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/sfc/efx.c | 10 | ||||
-rw-r--r-- | drivers/net/ethernet/sfc/efx.h | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/sfc/falcon.c | 3 | ||||
-rw-r--r-- | drivers/net/ethernet/sfc/falcon_boards.c | 3 |
4 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c index de9afebe1830..d5731f1fe6d6 100644 --- a/drivers/net/ethernet/sfc/efx.c +++ b/drivers/net/ethernet/sfc/efx.c | |||
@@ -2229,13 +2229,15 @@ void efx_schedule_reset(struct efx_nic *efx, enum reset_type type) | |||
2229 | 2229 | ||
2230 | /* PCI device ID table */ | 2230 | /* PCI device ID table */ |
2231 | static DEFINE_PCI_DEVICE_TABLE(efx_pci_table) = { | 2231 | static DEFINE_PCI_DEVICE_TABLE(efx_pci_table) = { |
2232 | {PCI_DEVICE(EFX_VENDID_SFC, FALCON_A_P_DEVID), | 2232 | {PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, |
2233 | PCI_DEVICE_ID_SOLARFLARE_SFC4000A_0), | ||
2233 | .driver_data = (unsigned long) &falcon_a1_nic_type}, | 2234 | .driver_data = (unsigned long) &falcon_a1_nic_type}, |
2234 | {PCI_DEVICE(EFX_VENDID_SFC, FALCON_B_P_DEVID), | 2235 | {PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, |
2236 | PCI_DEVICE_ID_SOLARFLARE_SFC4000B), | ||
2235 | .driver_data = (unsigned long) &falcon_b0_nic_type}, | 2237 | .driver_data = (unsigned long) &falcon_b0_nic_type}, |
2236 | {PCI_DEVICE(EFX_VENDID_SFC, BETHPAGE_A_P_DEVID), | 2238 | {PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, BETHPAGE_A_P_DEVID), |
2237 | .driver_data = (unsigned long) &siena_a0_nic_type}, | 2239 | .driver_data = (unsigned long) &siena_a0_nic_type}, |
2238 | {PCI_DEVICE(EFX_VENDID_SFC, SIENA_A_P_DEVID), | 2240 | {PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, SIENA_A_P_DEVID), |
2239 | .driver_data = (unsigned long) &siena_a0_nic_type}, | 2241 | .driver_data = (unsigned long) &siena_a0_nic_type}, |
2240 | {0} /* end of list */ | 2242 | {0} /* end of list */ |
2241 | }; | 2243 | }; |
diff --git a/drivers/net/ethernet/sfc/efx.h b/drivers/net/ethernet/sfc/efx.h index 442f4d0c247d..4764793ed234 100644 --- a/drivers/net/ethernet/sfc/efx.h +++ b/drivers/net/ethernet/sfc/efx.h | |||
@@ -15,10 +15,6 @@ | |||
15 | #include "filter.h" | 15 | #include "filter.h" |
16 | 16 | ||
17 | /* PCI IDs */ | 17 | /* PCI IDs */ |
18 | #define EFX_VENDID_SFC 0x1924 | ||
19 | #define FALCON_A_P_DEVID 0x0703 | ||
20 | #define FALCON_A_S_DEVID 0x6703 | ||
21 | #define FALCON_B_P_DEVID 0x0710 | ||
22 | #define BETHPAGE_A_P_DEVID 0x0803 | 18 | #define BETHPAGE_A_P_DEVID 0x0803 |
23 | #define SIENA_A_P_DEVID 0x0813 | 19 | #define SIENA_A_P_DEVID 0x0813 |
24 | 20 | ||
diff --git a/drivers/net/ethernet/sfc/falcon.c b/drivers/net/ethernet/sfc/falcon.c index 4dd1748a19c6..97b606b92e88 100644 --- a/drivers/net/ethernet/sfc/falcon.c +++ b/drivers/net/ethernet/sfc/falcon.c | |||
@@ -1426,7 +1426,8 @@ static int falcon_probe_nic(struct efx_nic *efx) | |||
1426 | } | 1426 | } |
1427 | 1427 | ||
1428 | dev = pci_dev_get(efx->pci_dev); | 1428 | dev = pci_dev_get(efx->pci_dev); |
1429 | while ((dev = pci_get_device(EFX_VENDID_SFC, FALCON_A_S_DEVID, | 1429 | while ((dev = pci_get_device(PCI_VENDOR_ID_SOLARFLARE, |
1430 | PCI_DEVICE_ID_SOLARFLARE_SFC4000A_1, | ||
1430 | dev))) { | 1431 | dev))) { |
1431 | if (dev->bus == efx->pci_dev->bus && | 1432 | if (dev->bus == efx->pci_dev->bus && |
1432 | dev->devfn == efx->pci_dev->devfn + 1) { | 1433 | dev->devfn == efx->pci_dev->devfn + 1) { |
diff --git a/drivers/net/ethernet/sfc/falcon_boards.c b/drivers/net/ethernet/sfc/falcon_boards.c index b9cc846811d6..6cc16b8cc6f4 100644 --- a/drivers/net/ethernet/sfc/falcon_boards.c +++ b/drivers/net/ethernet/sfc/falcon_boards.c | |||
@@ -764,7 +764,8 @@ int falcon_probe_board(struct efx_nic *efx, u16 revision_info) | |||
764 | 764 | ||
765 | if (board->type) { | 765 | if (board->type) { |
766 | netif_info(efx, probe, efx->net_dev, "board is %s rev %c%d\n", | 766 | netif_info(efx, probe, efx->net_dev, "board is %s rev %c%d\n", |
767 | (efx->pci_dev->subsystem_vendor == EFX_VENDID_SFC) | 767 | (efx->pci_dev->subsystem_vendor == |
768 | PCI_VENDOR_ID_SOLARFLARE) | ||
768 | ? board->type->ref_model : board->type->gen_type, | 769 | ? board->type->ref_model : board->type->gen_type, |
769 | 'A' + board->major, board->minor); | 770 | 'A' + board->major, board->minor); |
770 | return 0; | 771 | return 0; |