sata_sis: Support for PATA supports
authorAlan <alan@lxorguk.ukuu.org.uk>
Mon, 8 Jan 2007 16:11:07 +0000 (16:11 +0000)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:34 +0000 (17:39 -0500)
commit9b14dec5adf47287a2b52fc9fdedd6a0e245daca
tree7f668908385c18c957b076797c558033f2e370f5
parent5924b74c1cde5ef0246cf0dfbe689b27ffbe815b
sata_sis: Support for PATA supports

This is quick rework of the patch Uwe proposed but using Kconfig not
ifdefs and user selection to sort out PATA support. Instead of ifdefs and
requiring the user to select both drivers the SATA driver selects the
PATA one.

For neatness I've also moved the extern into the function that uses it.

Signed-off-by: Alan Cox
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/Kconfig
drivers/ata/pata_sis.c
drivers/ata/sata_sis.c