• T
    libata: simplify PCI legacy SFF host handling · d583bc18
    Tejun Heo 提交于
    With PCI resource fix up for legacy hosts.  We can use the same code
    path to allocate IO resources and initialize host for both legacy and
    native SFF hosts.  Only IRQ requesting needs to be different.
    
    Rename ata_pci_*_native_host() to ata_pci_*_sff_host(), kill all
    legacy specific functions and use the renamed functions instead.  This
    simplifies code a lot.
    Signed-off-by: NTejun Heo <htejun@gmail.com>
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: NJeff Garzik <jeff@garzik.org>
    d583bc18
libata.h 37.4 KB