possible bug in pd6729

Komuro komurojun-mbn at nifty.com
Fri Sep 11 23:38:03 EDT 2009


Hi,

>[   50.688869] pd6729: Cirrus PD6729 PCI to PCMCIA Bridge at 0x0 on irq 0
>[   50.693063] pd6729: ISA irqs = 3,5,7,9,10,11  polling status changes.

The io_base of pd6729 in your docking station is 0,
so this is PCI setup problem.

Please try the following patch.

Best Regards
Komuro

--- a/drivers/pcmcia/pd6729.c.orig   2009-09-12 11:14:37.000000000 +0900
+++ b/drivers/pcmcia/pd6729.c        2009-09-12 11:40:01.000000000 +0900
@@ -641,6 +641,12 @@
        if ((ret = pci_enable_device(dev)))
                goto err_out_free_mem;

+       if ((unsigned long long)pci_resource_start(dev, 0) == 0) {
+               printk(KERN_INFO "pd6729: failed to load the driver."
+                                "since the io_base is 0.\n");
+               goto err_out_free_mem;
+       }
+
        printk(KERN_INFO "pd6729: Cirrus PD6729 PCI to PCMCIA Bridge "
                "at 0x%llx on irq %d\n",
                (unsigned long long)pci_resource_start(dev, 0), dev->irq);





More information about the linux-pcmcia mailing list