[PATCH] pata_sc1200: set cable type, add freeze/thaw methods

From: Alan
Date: Thu Mar 01 2007 - 11:51:51 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_sc1200.c linux-2.6.21-rc2/drivers/ata/pata_sc1200.c
--- linux.vanilla-2.6.21-rc2/drivers/ata/pata_sc1200.c 2007-03-01 13:36:03.000000000 +0000
+++ linux-2.6.21-rc2/drivers/ata/pata_sc1200.c 2007-03-01 15:06:17.740293792 +0000
@@ -210,7 +210,11 @@
.exec_command = ata_exec_command,
.dev_select = ata_std_dev_select,

+ .freeze = ata_bmdma_freeze,
+ .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,
-
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/