• B
    MIPS: PCI: Remove unused busn_offset · 7ee214b5
    Bjorn Helgaas 提交于
    pci_add_resource_offset() is for host bridge windows where the bridge
    translates CPU addresses to PCI bus addresses by adding an offset.  To my
    knowledge, no host bridge translates bus numbers, so this is only useful
    for MEM and IO windows.  In any event, host->busn_offset is never set to
    anything other than zero, so pci_add_resource() is sufficient.
    
    a2e50f53 ("MIPS: PCI: Add a hook for IORESOURCE_BUS in
    pci_controller/bridge_controller") also added busn_resource itself.  This
    is currently unused but may be used by future SGI IP27 fixes, so I left it
    there.
    
    Tested-by: Joshua Kinard <kumba@gentoo.org>	# SGI IP30 and IP27
    Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
    Acked-by: NJoshua Kinard <kumba@gentoo.org>
    7ee214b5
pci-legacy.c 7.3 KB