Re: How to assess PMP register

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

 



s ticket wrote:
Is there any way to read PMP registers after hardreset/softreset?
SATA Controller is marvell 88SX7042 and driver is sata_mv.
I try to send 0xE4 and 0xE6 command to read/write PMP registers:
..
       if (ioctl(fd, SG_IO, &io_hdr) == -1) {
..

No, there is no existing way to access PMP registers from user space.

But what's the difference in dealing with '0xE4' and '0xE8' commands.
I found that only the two commands will reset the link
..

There's no guaranteed way to do that (reset the link) from userspace either.

You're trying to do device driver things -- those should be done inside
the device driver in the kernel proper.

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