diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2008-11-27 03:37:46 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2008-11-27 03:37:46 +0000 |
| commit | 475a75abe5eec6df504762e58d6d6453958abda3 (patch) | |
| tree | d8bea7d41d2d0e16d72ba37823ec51ce00f9118a | |
| parent | 7dd492e17c40e59dd386cb049c2d57f471edf1be (diff) | |
Notes
| -rw-r--r-- | sys/dev/ata/ata-queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-queue.c b/sys/dev/ata/ata-queue.c index 9ca57b8c4770..c8ae79dce699 100644 --- a/sys/dev/ata/ata-queue.c +++ b/sys/dev/ata/ata-queue.c @@ -357,7 +357,7 @@ ata_completed(void *context, int dummy) "\6MEDIA_CHANGED\5NID_NOT_FOUND" "\4MEDIA_CHANGE_REQEST" "\3ABORTED\2NO_MEDIA\1ILLEGAL_LENGTH"); - if ((request->flags & ATA_R_DMA) && + if ((request->flags & ATA_R_DMA) && request->dma && (request->dma->status & ATA_BMSTAT_ERROR)) printf(" dma=0x%02x", request->dma->status); if (!(request->flags & (ATA_R_ATAPI | ATA_R_CONTROL))) |
