Commit 5437f4b2 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by David S. Miller

stmmac: added PCI identifiers

STM has a device ID within its own VENDOR space, and it is being
used in the STA2X11 I/O Hub.
Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
Acked-by: default avatarGiancarlo Asnaghi <giancarlo.asnaghi@st.com>
Acked-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 56ac11cf
...@@ -170,9 +170,9 @@ static int stmmac_pci_resume(struct pci_dev *pdev) ...@@ -170,9 +170,9 @@ static int stmmac_pci_resume(struct pci_dev *pdev)
#define STMMAC_DEVICE_ID 0x1108 #define STMMAC_DEVICE_ID 0x1108
static DEFINE_PCI_DEVICE_TABLE(stmmac_id_table) = { static DEFINE_PCI_DEVICE_TABLE(stmmac_id_table) = {
{ {PCI_DEVICE(STMMAC_VENDOR_ID, STMMAC_DEVICE_ID)},
PCI_DEVICE(STMMAC_VENDOR_ID, STMMAC_DEVICE_ID)}, { {PCI_DEVICE(PCI_VENDOR_ID_STMICRO, PCI_DEVICE_ID_STMICRO_MAC)},
} {}
}; };
MODULE_DEVICE_TABLE(pci, stmmac_id_table); MODULE_DEVICE_TABLE(pci, stmmac_id_table);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment