diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-04-02 11:38:12 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-02 11:38:12 -0400 |
commit | a808be8a12d61cdacba350fdce2e448045be8202 (patch) | |
tree | b08dda3fb0dee06724320a5b0079fbc51c09c35b | |
parent | c13b56a1130bbfacfb588de100e5a248383805a6 (diff) | |
parent | 6d5f9732a16a74d75f8cdba5b00557662e83f466 (diff) | |
download | op-kernel-dev-a808be8a12d61cdacba350fdce2e448045be8202.zip op-kernel-dev-a808be8a12d61cdacba350fdce2e448045be8202.tar.gz |
Merge branch 'upstream'
-rw-r--r-- | drivers/scsi/libata-core.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index fc3e57f..5653729 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c @@ -1517,20 +1517,23 @@ void ata_port_probe(struct ata_port *ap) */ static void sata_print_link_status(struct ata_port *ap) { - u32 sstatus, tmp; + u32 sstatus, scontrol, tmp; if (!ap->ops->scr_read) return; sstatus = scr_read(ap, SCR_STATUS); + scontrol = scr_read(ap, SCR_CONTROL); if (sata_dev_present(ap)) { tmp = (sstatus >> 4) & 0xf; - printk(KERN_INFO "ata%u: SATA link up %s (SStatus %X)\n", - ap->id, sata_spd_string(tmp), sstatus); + printk(KERN_INFO + "ata%u: SATA link up %s (SStatus %X SControl %X)\n", + ap->id, sata_spd_string(tmp), sstatus, scontrol); } else { - printk(KERN_INFO "ata%u: SATA link down (SStatus %X)\n", - ap->id, sstatus); + printk(KERN_INFO + "ata%u: SATA link down (SStatus %X SControl %X)\n", + ap->id, sstatus, scontrol); } } |