]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf118df2014f81a525cb4ed01c141b453a1a1e0f7
tree7f668908385c18c957b076797c558033f2e370f5
parent5e996fc3c2fe3109e861b10ac7b1647d96c097de
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