Explorar o código

pata_sc1200: restore cable type

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Alan Cox %!s(int64=18) %!d(string=hai) anos
pai
achega
745975c052
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/ata/pata_sc1200.c

+ 1 - 0
drivers/ata/pata_sc1200.c

@@ -216,6 +216,7 @@ static struct ata_port_operations sc1200_port_ops = {
 	.thaw		= ata_bmdma_thaw,
 	.thaw		= ata_bmdma_thaw,
 	.error_handler	= ata_bmdma_error_handler,
 	.error_handler	= ata_bmdma_error_handler,
 	.post_internal_cmd = ata_bmdma_post_internal_cmd,
 	.post_internal_cmd = ata_bmdma_post_internal_cmd,
+	.cable_detect	= ata_cable_40wire,
 
 
 	.bmdma_setup 	= ata_bmdma_setup,
 	.bmdma_setup 	= ata_bmdma_setup,
 	.bmdma_start 	= ata_bmdma_start,
 	.bmdma_start 	= ata_bmdma_start,