commit | 071f44b1d2c051641b62a3571223314737ccbe59 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Mon Apr 07 22:47:22 2008 +0900 |
committer | Jeff Garzik <jgarzik@redhat.com> | Thu Apr 17 15:44:25 2008 -0400 |
tree | a07794c8109e5d82a78223ae0159eadbf862c463 | |
parent | 48515f6c006c2a9d7b624ee8ad068018c2d3fe0e [diff] |
libata: implement PMP helpers Implement helpers to test whether PMP is supported, attached and determine pmp number to use when issuing SRST to a link. While at it, move ata_is_host_link() so that it's together with the two new PMP helpers. This change simplifies LLDs and helps making PMP support optional. Signed-off-by: Tejun Heo <htejun@gmail.com>