Re: Marvel PMP SATA controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10-09-30 10:03 AM, Richard wrote:
On 30/09/10 14:39, Mark Lord wrote:
..
Does the existing libata parameter take care of it for you?

linux/Documentation/kernel-parameters.txt:
eg. libata.force=[ID:]1.5" ## replace [ID:] with port[.device] for the PMP and/or HD

Unfortunately not.. which is why I asked how to write commands directly on to the SATA bus from kernel space.


Right.  Well, just keep plunking away at it in that ancient kernel, then.
The two modern routines to study/backport are sata_pmp_read() and sata_pmp_write(),
which are used by most controllers to perform PMP register accesses.

However, the host controller may require additional tweaks,
especially if it is a Marvell host controller (sata_mv),
or something that doesn't normally "do" PMP, like ata_piix.

Cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux