From: Tejun Heo Date: Wed, 4 Jul 2007 09:02:07 +0000 (+0900) Subject: libata: simplify PCI legacy SFF host handling X-Git-Tag: v2.6.23-rc1~1108^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d583bc18812f8da52bf25eef9cd111e5fd46a6ab;p=pandora-kernel.git libata: simplify PCI legacy SFF host handling 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: Tejun Heo Cc: Alan Cox Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed