mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 05:00:27 +00:00
[UNIATA]
* Use the proper debugging define. svn path=/trunk/; revision=61351
This commit is contained in:
parent
4bfbf60827
commit
aec6fa47e8
1 changed files with 6 additions and 6 deletions
|
@ -2236,7 +2236,7 @@ AtapiResetController__(
|
||||||
if(ChipFlags & UNIATA_AHCI) {
|
if(ChipFlags & UNIATA_AHCI) {
|
||||||
KdPrint2((PRINT_PREFIX " AHCI path\n"));
|
KdPrint2((PRINT_PREFIX " AHCI path\n"));
|
||||||
if(UniataAhciChanImplemented(deviceExtension, j)) {
|
if(UniataAhciChanImplemented(deviceExtension, j)) {
|
||||||
#if DBG
|
#ifdef _DEBUG
|
||||||
UniataDumpAhciPortRegs(chan);
|
UniataDumpAhciPortRegs(chan);
|
||||||
#endif
|
#endif
|
||||||
AtapiDisableInterrupts(deviceExtension, j);
|
AtapiDisableInterrupts(deviceExtension, j);
|
||||||
|
@ -4771,13 +4771,13 @@ ServiceInterrupt:
|
||||||
statusByte |= IDE_STATUS_ERROR;
|
statusByte |= IDE_STATUS_ERROR;
|
||||||
} else {
|
} else {
|
||||||
// We have only Overflow. Abort operation and continue
|
// We have only Overflow. Abort operation and continue
|
||||||
#if DBG
|
#ifdef _DEBUG
|
||||||
UniataDumpAhciPortRegs(chan);
|
UniataDumpAhciPortRegs(chan);
|
||||||
#endif
|
#endif
|
||||||
if(!UniataAhciAbortOperation(chan)) {
|
if(!UniataAhciAbortOperation(chan)) {
|
||||||
KdPrint2((PRINT_PREFIX "need UniataAhciReset\n"));
|
KdPrint2((PRINT_PREFIX "need UniataAhciReset\n"));
|
||||||
}
|
}
|
||||||
#if DBG
|
#ifdef _DEBUG
|
||||||
UniataDumpAhciPortRegs(chan);
|
UniataDumpAhciPortRegs(chan);
|
||||||
#endif
|
#endif
|
||||||
UniataAhciWaitCommandReady(chan, 10);
|
UniataAhciWaitCommandReady(chan, 10);
|
||||||
|
@ -4948,7 +4948,7 @@ try_dpc_wait:
|
||||||
if(deviceExtension->HwFlags & UNIATA_AHCI) {
|
if(deviceExtension->HwFlags & UNIATA_AHCI) {
|
||||||
error = AtaReq->ahci.in_error;
|
error = AtaReq->ahci.in_error;
|
||||||
// wait ready
|
// wait ready
|
||||||
#if DBG
|
#ifdef _DEBUG
|
||||||
UniataDumpAhciPortRegs(chan);
|
UniataDumpAhciPortRegs(chan);
|
||||||
#endif
|
#endif
|
||||||
if(!UniataAhciAbortOperation(chan)) {
|
if(!UniataAhciAbortOperation(chan)) {
|
||||||
|
@ -4956,11 +4956,11 @@ try_dpc_wait:
|
||||||
}
|
}
|
||||||
// clear interrupts again
|
// clear interrupts again
|
||||||
UniataAhciWaitCommandReady(chan, 10);
|
UniataAhciWaitCommandReady(chan, 10);
|
||||||
#if DBG
|
#ifdef _DEBUG
|
||||||
UniataDumpAhciPortRegs(chan);
|
UniataDumpAhciPortRegs(chan);
|
||||||
#endif
|
#endif
|
||||||
UniataAhciStatus(HwDeviceExtension, lChannel, DEVNUM_NOT_SPECIFIED);
|
UniataAhciStatus(HwDeviceExtension, lChannel, DEVNUM_NOT_SPECIFIED);
|
||||||
#if DBG
|
#ifdef _DEBUG
|
||||||
UniataDumpAhciPortRegs(chan);
|
UniataDumpAhciPortRegs(chan);
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue