• Matthew Wilcox's avatar
    [PATCH] PCI: Fix pci_bus_find_capability() · 84e0faa0
    Matthew Wilcox authored
    pci_bus_find_capability() is currently broken.  It checks the wrong
    device's hdr_type for being a cardbus bridge or not.  This patch pulls
    the guts of pci_bus_find_capability() and pci_find_capability() into a
    new function __pci_bus_find_cap() and changes these two functions to
    call it.
    84e0faa0
pci.c 19.6 KB