pata_sc1200: restore cable type
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Thu, 8 Mar 2007 22:58:03 +0000 (22:58 +0000)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 18:15:57 +0000 (14:15 -0400)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_sc1200.c

index 93b3ed0f9e8ac9a448102073535e51f04cdceacb..66e8ff467c8d1b7771ce282627070dc0a2e4d05f 100644 (file)
@@ -216,6 +216,7 @@ static struct ata_port_operations sc1200_port_ops = {
        .thaw           = ata_bmdma_thaw,
        .error_handler  = ata_bmdma_error_handler,
        .post_internal_cmd = ata_bmdma_post_internal_cmd,
+       .cable_detect   = ata_cable_40wire,
 
        .bmdma_setup    = ata_bmdma_setup,
        .bmdma_start    = ata_bmdma_start,