Linux ATA/IDE development
 help / color / mirror / Atom feed
* [PATCH] Support slave devices on SCH PATA controller
@ 2008-10-15 17:42 Mark Salter
  0 siblings, 0 replies; only message in thread
From: Mark Salter @ 2008-10-15 17:42 UTC (permalink / raw)
  To: alek.du; +Cc: linux-ide


Add capability flag to support slave devices with pata_sch driver.

Signed-off-by: Mark Salter <msalter@redhat.com>
---
diff --git a/drivers/ata/pata_sch.c b/drivers/ata/pata_sch.c
index c8cc027..6aeeeeb 100644
--- a/drivers/ata/pata_sch.c
+++ b/drivers/ata/pata_sch.c
@@ -83,7 +83,7 @@ static struct ata_port_operations sch_pata_ops = {
 };
 
 static struct ata_port_info sch_port_info = {
-	.flags		= 0,
+	.flags		= ATA_FLAG_SLAVE_POSS,
 	.pio_mask	= ATA_PIO4,   /* pio0-4 */
 	.mwdma_mask	= ATA_MWDMA2, /* mwdma0-2 */
 	.udma_mask	= ATA_UDMA5,  /* udma0-5 */



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-15 17:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-15 17:42 [PATCH] Support slave devices on SCH PATA controller Mark Salter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox