summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_cmd640.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-03-07 19:54:24 +0300
committerJeff Garzik <jeff@garzik.org>2007-04-28 22:15:56 +0400
commit2e413f510f1b77846e0e7728b991849e697d7f8b (patch)
tree86671051b60accfbbd9a6ef76ff3cdbb9c6a8df0 /drivers/ata/pata_cmd640.c
parent307c6054ad67428ad4e2bd4e5faae54fc4f8bcd2 (diff)
downloadlinux-2e413f510f1b77846e0e7728b991849e697d7f8b.tar.xz
pata_sis: Clean up using cable_detect methods
This changeset revolves around the fact that all the SiS controllers have the same enable bits, but differing cable detection methods. Previously that meant each type had its own error_handler methods. Instead we can now implement different ->cable_detect methods and share a single error_handler which does the filtering by enable bits. In addition we had some auto const arrays that should be static const. I'm not sure if gcc already treats them intelligently but adding the static will make sure. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_cmd640.c')
0 files changed, 0 insertions, 0 deletions