• L
    [ARM] Orion: make PCI handling code deal with Cardbus slots · da01bba3
    Lennert Buytenhek 提交于
    The Cardbus connector does not have an IDSEL signal, and Cardbus
    cards are always the intended target of configuration transactions
    on their local PCI bus.  This means that if the Orion's PCI bus
    signals are hooked up to a Cardbus slot, the same set of PCI
    functions will will appear 31 times, for each of the PCI device
    IDs 1-31 (ID 0 is the host bridge).
    
    This patch adds a function to the Orion PCI handling code that board
    support code can call to enable Cardbus mode.  When Cardbus mode is
    enabled, configuration transactions on the PCI local bus are only
    allowed to PCI IDs 0 (host bridge) and 1 (cardbus device).
    Signed-off-by: NLennert Buytenhek <buytenh@marvell.com>
    da01bba3
pci.c 14.4 KB