aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hardware
diff options
context:
space:
mode:
authorKarsten Keil <keil@b1-systems.de>2009-07-24 12:41:23 -0400
committerKarsten Keil <keil@b1-systems.de>2009-07-25 14:23:22 -0400
commitf70e75e11069edfbe55be06960854c46860da0a3 (patch)
treeb9ef963bada327e83ef2bb24178c0fa607337803 /drivers/isdn/hardware
parentba2d6ccb1df6ebb2c1b2322518ce7be25c1e3469 (diff)
mISDN: hfcmulti display real PCI ids for not supported cards
In the PCI probe function struct pci_device_id points to the matched entry of the ID table, but for devices which are matched with PCI_ANY_ID sub IDs we want display the IDs of the device itself. Signed-off-by: Karsten Keil <keil@b1-systems.de>
Diffstat (limited to 'drivers/isdn/hardware')
-rw-r--r--drivers/isdn/hardware/mISDN/hfcmulti.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c
index fd77bb15d790..faed794cf75a 100644
--- a/drivers/isdn/hardware/mISDN/hfcmulti.c
+++ b/drivers/isdn/hardware/mISDN/hfcmulti.c
@@ -5370,9 +5370,10 @@ hfcmulti_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
5370 ent->device == PCI_DEVICE_ID_CCD_HFC8S || 5370 ent->device == PCI_DEVICE_ID_CCD_HFC8S ||
5371 ent->device == PCI_DEVICE_ID_CCD_HFCE1)) { 5371 ent->device == PCI_DEVICE_ID_CCD_HFCE1)) {
5372 printk(KERN_ERR 5372 printk(KERN_ERR
5373 "Unknown HFC multiport controller (vendor:%x device:%x " 5373 "Unknown HFC multiport controller (vendor:%04x device:%04x "
5374 "subvendor:%x subdevice:%x)\n", ent->vendor, ent->device, 5374 "subvendor:%04x subdevice:%04x)\n", pdev->vendor,
5375 ent->subvendor, ent->subdevice); 5375 pdev->device, pdev->subsystem_vendor,
5376 pdev->subsystem_device);
5376 printk(KERN_ERR 5377 printk(KERN_ERR
5377 "Please contact the driver maintainer for support.\n"); 5378 "Please contact the driver maintainer for support.\n");
5378 return -ENODEV; 5379 return -ENODEV;