pata_scc: add proper cable detection method
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 12 Oct 2011 15:16:37 +0000 (17:16 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 14 Oct 2011 17:19:51 +0000 (13:19 -0400)
commit9f8abf8248f8b90532a201845654d467f4388474
tree3d49b311b3f7e58203ca58efe07736acae69d8cf
parent90f0adf0936d464a337512e6cbe7929a49bf3c55
pata_scc: add proper cable detection method

Use standard ata_cable_80wire() method for the cable detection,
as a bonus this allows us to use the default ->prereset method.

Acked-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Akira Iguchi <akira2.iguchi@toshiba.co.jp>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_scc.c