[PATCH] pata_winbond: set cable type

From: Alan
Date: Thu Mar 01 2007 - 11:54:56 EST


Signed-off-by: Alan Cox <alan@xxxxxxxxxx>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.21-rc2/drivers/ata/pata_winbond.c linux-2.6.21-rc2/drivers/ata/pata_winbond.c
--- linux.vanilla-2.6.21-rc2/drivers/ata/pata_winbond.c 2007-03-01 13:36:03.000000000 +0000
+++ linux-2.6.21-rc2/drivers/ata/pata_winbond.c 2007-03-01 15:16:12.697846496 +0000
@@ -152,6 +152,7 @@
.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,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/