All of lore.kernel.org
 help / color / mirror / Atom feed
* Marvel PMP SATA controller
@ 2010-09-29  6:56 Richard
  2010-09-29 19:56 ` Mark Lord
  0 siblings, 1 reply; 8+ messages in thread
From: Richard @ 2010-09-29  6:56 UTC (permalink / raw)
  To: linux-ide

Morning all,

Using the Marvel Port Multiplier I am stuck trying to get it working 
with some Hard drives.. I am stuck trying to figure out how to write the 
command to the SCR register on the device as there seems to be multiple 
methods used in the code I dont understand.

the procedure I need to follow is - Init_SATA, classify_device, if 
(special PMP) set mode to SATA-GEN1, then only can it continue.

using a ata_taskfile this early in the init causes a major explosion so 
my next option is to use writel/b() to the SCR registers..  this is the 
piece I dont understand is how the bytes are structured in the writel 
command.  I need to write 0xe80211 (Write value 0x11 to position 2) to 
force the chip to go in to Gen1 mode so that it can work with some older 
Maxtor Hard drives

Is there any HOWTO on the structure of the commands (target,port,c,h,s 
etc etc)

Thanks in Advance
Richard


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

end of thread, other threads:[~2010-10-01 13:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-29  6:56 Marvel PMP SATA controller Richard
2010-09-29 19:56 ` Mark Lord
2010-09-29 20:32   ` Richard
2010-09-30 13:39     ` Mark Lord
2010-09-30 14:03       ` Richard
2010-10-01  0:24         ` Robert Hancock
2010-10-01  6:33           ` Richard
2010-10-01 13:46         ` Mark Lord

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.