linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pata_sch slave devices
@ 2008-11-06 13:03 Mark Salter
  2008-11-07 16:00 ` Alan Cox
  2008-11-11  8:02 ` Jeff Garzik
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Salter @ 2008-11-06 13:03 UTC (permalink / raw)
  To: linux-ide; +Cc: Jeff Garzik

I posted this last month, but was prompted to do so again in bz#467457

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] 4+ messages in thread

end of thread, other threads:[~2008-11-11  8:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-06 13:03 [PATCH] pata_sch slave devices Mark Salter
2008-11-07 16:00 ` Alan Cox
2008-11-07 19:03   ` Jeff Garzik
2008-11-11  8:02 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).