]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/pci_auto.c
* Patches by David Müller, 31 Jan 2003:
[karo-tx-uboot.git] / drivers / pci_auto.c
index 00177cc282d94e768e5a45b12a649aa47edcee54..38b59ecdb173a8cb7a13d4ef87cf3191ecd15530 100644 (file)
@@ -314,6 +314,16 @@ int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev)
                pciauto_setup_device(hose, dev, 6, hose->pci_mem, hose->pci_io);
                break;
 
+       case PCI_CLASS_BRIDGE_CARDBUS:
+               /* just do a minimal setup of the bridge, let the OS take care of the rest */
+               pciauto_setup_device(hose, dev, 0, hose->pci_mem, hose->pci_io);
+
+               DEBUGF("PCI Autoconfig: Found P2CardBus bridge, device %d\n",
+                       PCI_DEV(dev));
+
+               hose->current_busno++;
+               break;
+
        default:
                pciauto_setup_device(hose, dev, 6, hose->pci_mem, hose->pci_io);
                break;