diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2018-03-12 12:41:19 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-03-19 22:20:24 +0300 |
commit | 66e3339df52a10da9e88c2072f26358150965088 (patch) | |
tree | b69afc7dfcdf52f459b217c15c235e27fb0cbb43 | |
parent | 33c4c8a588e6cccf3832b84b7792f02153e0ccda (diff) | |
download | linux-66e3339df52a10da9e88c2072f26358150965088.tar.xz |
mcb: Add Altera PCI ID to mcb-pci
Some older PCI-attached MEN FPGAs use an Altera PCI Vendor ID instead of
the MEN one. Add it to the PCI ID table so the driver automatically
attaches to it.
Reported-by: Ben Turner <ben.turner@21net.com>
Tested-by: Ben Turner <ben.turner@21net.com>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Andreas Geißler <andreas.geissler@men.de>
-rw-r--r-- | drivers/mcb/mcb-pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mcb/mcb-pci.c b/drivers/mcb/mcb-pci.c index af4d2f26f1c6..c2d69e33bf2b 100644 --- a/drivers/mcb/mcb-pci.c +++ b/drivers/mcb/mcb-pci.c @@ -117,6 +117,7 @@ static void mcb_pci_remove(struct pci_dev *pdev) static const struct pci_device_id mcb_pci_tbl[] = { { PCI_DEVICE(PCI_VENDOR_ID_MEN, PCI_DEVICE_ID_MEN_CHAMELEON) }, + { PCI_DEVICE(PCI_VENDOR_ID_ALTERA, PCI_DEVICE_ID_MEN_CHAMELEON) }, { 0 }, }; MODULE_DEVICE_TABLE(pci, mcb_pci_tbl); |