AHCI: make debug messages more compact
Put more information on a single line. This makes it easier to keep track of things when debugging higher level parts of the disk stack (partitionning and file systems).
This commit is contained in:
@@ -239,7 +239,6 @@ AHCIPort::ResetDevice()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
AHCIPort::ResetPort(bool forceDeviceReset)
|
AHCIPort::ResetPort(bool forceDeviceReset)
|
||||||
{
|
{
|
||||||
@@ -366,10 +365,9 @@ AHCIPort::InterruptErrorHandler(uint32 is)
|
|||||||
B_PRIx32 ", is 0x%08" B_PRIx32 ", ci 0x%08" B_PRIx32 "\n", fIndex,
|
B_PRIx32 ", is 0x%08" B_PRIx32 ", ci 0x%08" B_PRIx32 "\n", fIndex,
|
||||||
fCommandsActive, is, ci);
|
fCommandsActive, is, ci);
|
||||||
|
|
||||||
TRACE("ssts 0x%08" B_PRIx32 "\n", fRegs->ssts);
|
TRACE("ssts 0x%08" B_PRIx32 ", sctl 0x%08" B_PRIx32 ", serr 0x%08"
|
||||||
TRACE("sctl 0x%08" B_PRIx32 "\n", fRegs->sctl);
|
B_PRIx32 ", sact 0x%08" B_PRIx32 "\n",
|
||||||
TRACE("serr 0x%08" B_PRIx32 "\n", fRegs->serr);
|
fRegs->ssts, fRegs->sctl, fRegs->serr, fRegs->sact);
|
||||||
TRACE("sact 0x%08" B_PRIx32 "\n", fRegs->sact);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// read and clear SError
|
// read and clear SError
|
||||||
|
|||||||
@@ -126,10 +126,8 @@ sata_request::Finish(int tfd, size_t bytesTransfered)
|
|||||||
uint8 error = (tfd >> 8) & 0xff;
|
uint8 error = (tfd >> 8) & 0xff;
|
||||||
|
|
||||||
if (!IsTestUnitReady()) {
|
if (!IsTestUnitReady()) {
|
||||||
dprintf("ahci: sata_request::finish ATA command 0x%02x failed\n",
|
dprintf("ahci: sata_request::finish ATA command 0x%02x failed:"
|
||||||
fFis[2]);
|
" status 0x%02x, error 0x%02x\n", fFis[2], status, error);
|
||||||
dprintf("ahci: sata_request::finish status 0x%02x, error 0x%02x\n",
|
|
||||||
status, error);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user