• Matthew Dobson's avatar
    [PATCH] PCI Cleanup · 894b156c
    Matthew Dobson authored
    The patch removes the pci_confN_(read|write)_config_(byte|word|dword) mess and
    pares it down to pci_confN_(read|write).  This change is reflected in the
    pci_ops structure, which only has read and write function pointers rather than
    the byte, word, and dword versions.  These changes happen in the pci_conf(1|2)
    and pci_bios read and write calls.
    
    This patch also removes the pci_config_(read|write) function pointers.  People
    shouldn't be using these (I don't think) and should be using the pci_ops
    structure linked through the pci_dev structure.  These end up calling the same
    functions that the pci_config_(read|write) pointers refer to anyway.
    894b156c
pcbios.c 12.4 KB