aboutsummaryrefslogtreecommitdiff
path: root/crypto/sha512.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-01-18 18:36:30 +0900
committerJeff Garzik <jeff@garzik.org>2008-01-23 05:24:16 -0500
commitc729072459446885c5c200137de1db32da5db4dc (patch)
treefeaa1b07055f397282704a4da0590a9b07b4415f /crypto/sha512.c
parent8b09f0da0f873698a7e8b329dfb7b10fd42d5cdf (diff)
ata_piix: implement SIDPR SCR access
For ICH8, SCRs can be accessed using index and data register pair located at BAR 5. This patch implements support for it such that PHY status, errors and hardreset are available for those controllers. This is the only case where two devices on a PATA channel have access to SCRs and creates a unique problem of mapping two SCRs to one link. Note that this is different from PMP case in that they aren't quite separate links - e.g. softreset resets both devices. This problem is worked around by merging the SCR values. To upper layer, it looks like there is a single link with one set of SCRs but with two devices. This works well enough for PHY event, error reporting and hardreset. Supporting hardreset is important because in rare cases SATA devices fail to recover without it after PHY errors. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'crypto/sha512.c')
0 files changed, 0 insertions, 0 deletions