瀏覽代碼

pata_winbond: restore cable method

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Alan Cox 18 年之前
父節點
當前提交
2f5344b1be
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/ata/pata_winbond.c

+ 1 - 0
drivers/ata/pata_winbond.c

@@ -152,6 +152,7 @@ static struct ata_port_operations winbond_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,
 
 	.qc_prep 	= ata_qc_prep,
 	.qc_issue	= ata_qc_issue_prot,