linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libata SATA support for Sil 3726 port multiplier
@ 2006-07-04  5:53 Fredrik Sjoholm
  2006-07-11 16:24 ` Jeremy Jackson
  0 siblings, 1 reply; 6+ messages in thread
From: Fredrik Sjoholm @ 2006-07-04  5:53 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-ide


Hello Jeff,

i'm using your libata SATA PMP support with a Sil 3132 chip + 3726 port 
multiplier with 5 drives. in order to get it to work, i had to make the 
following addition in ata_pm_quirks() [libata-pm.c]

 	if (vendor == 0x1095 && devid == 0x4726) {
 		*nr_ports -= 2;
 		*link_flags |= ATA_LFLAG_HRST_TO_RESUME;
 	}
+       else if (vendor == 0x1095 && devid == 0x3726) {
+		*nr_ports -= 1;
+		*link_flags |= ATA_LFLAG_HRST_TO_RESUME;
+	}

without the ATA_LFLAG_HRST_TO_RESUME flag, the detection times out, 
retries after 5 seconds and eventually gives up; after which only the 1st 
drive on the multiplier is detected. it's also interesting that both 4726 
& 3726 apparently report an incorrect but _different_ number of drives...

with this fix, it works perfectly; nice job on PMP!

fredrik sjoholm

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-07-19  0:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-04  5:53 libata SATA support for Sil 3726 port multiplier Fredrik Sjoholm
2006-07-11 16:24 ` Jeremy Jackson
2006-07-12  2:17   ` Fredrik Sjoholm
2006-07-18 23:46     ` Tejun Heo
2006-07-18 23:55       ` Fredrik Sjoholm
2006-07-19  0:21       ` Edward Falk

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).