]> git.neil.brown.name Git - history.git/commitdiff
[PCMCIA] Report subsystem vendor/device IDs
authorRussell King <rmk@flint.arm.linux.org.uk>
Thu, 7 Aug 2003 01:14:38 +0000 (02:14 +0100)
committerRussell King <rmk@arm.linux.org.uk>
Thu, 7 Aug 2003 01:14:38 +0000 (02:14 +0100)
In order to properly track down who needs to program the IRQ MUX
register, add the subsystem vendor and device IDs to the kernel
message indicating discovery of the cardbus bridge.

drivers/pcmcia/yenta_socket.c

index ffafa4d90ee019db857915b4904c995362dfb3ec..1d24940aadab34eff12d09c0d253a76f4d7d0538 100644 (file)
@@ -869,7 +869,12 @@ static int __devinit yenta_probe (struct pci_dev *dev, const struct pci_device_i
                goto release;
        }
 
-       printk(KERN_INFO "Yenta: CardBus bridge found at %s\n", dev->slot_name);
+       /*
+        * report the subsystem vendor and device for help debugging
+        * the irq stuff...
+        */
+       printk(KERN_INFO "Yenta: CardBus bridge found at %s [%04x:%04x]\n",
+               dev->slot_name, dev->subsystem_vendor, dev->subsystem_device);
 
        yenta_config_init(socket);