• Russell King's avatar
    [PATCH] 2.5 and 2.4: fix PCI IO BAR flags · be4808e0
    Russell King authored
    There is a problem where the resource flags sometimes contain bits from
    the address part of the PCI BAR, especially when you have the low address
    bit set for an IO BAR.
    
    (bit 3 of a PCI IO BAR is an address bit, and (bar & 0xf) propagates this
    to res->flags).
    
    This exists in Ivan Kokshaysky PCI patches, and so far hasn't made it into
    the kernel.  It's required for IDE on certain ARM machines to even work.
    be4808e0
pci.c 56.6 KB