summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_nv.c
diff options
context:
space:
mode:
authorTejun Heo2007-04-17 16:44:07 +0200
committerJeff Garzik2007-04-28 20:16:03 +0200
commiteca25dca17630ae354f4b1df559ed90578b794fe (patch)
treee1c0864264a227bf3302480c8a5290d542acbf71 /drivers/ata/sata_nv.c
parentlibata: add init helpers including ata_pci_prepare_native_host() (diff)
downloadkernel-qcow2-linux-eca25dca17630ae354f4b1df559ed90578b794fe.tar.gz
kernel-qcow2-linux-eca25dca17630ae354f4b1df559ed90578b794fe.tar.xz
kernel-qcow2-linux-eca25dca17630ae354f4b1df559ed90578b794fe.zip
libata: convert drivers with combined SATA/PATA ports to new init model
Convert sata_via and sata_promise to new init model. Both controllers can have combined configuration (SATA + PATA) and used twisted initialization method (modifying port in ->port_start) to overcome probe_ent limitations. This patch converts both drivers to new init model in which such configuration is natively supported. * promise: Combined pata port now uses separate port_info entry right after the sata counterpart entry. * promise: Controller configuration is discerned using ap->flags. This simplifies init path and makes it look more like other LLDs. * via: Both SATA and PATA ports in vt6421 are represented in their own port_info structure. Tested on PDC20375 (SATA150 TX2plus) [105a:3375] and PDC40775 (SATA 300 TX2plus) [105a:3d73]. Couldn't test via cuz my c3 won't boot the current kernel. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_nv.c')
0 files changed, 0 insertions, 0 deletions