summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-pci.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-10-31 13:24:14 +0000
committermav <mav@FreeBSD.org>2009-10-31 13:24:14 +0000
commit0bf5f10c46aea8f2fe18b9a91167a9aefc33bc31 (patch)
tree92fd162ac0493f8aac178ae1620be42aeb377f24 /sys/dev/ata/ata-pci.c
parent789d8ecfb76d1350ba654a835108b98bc15c8c98 (diff)
downloadFreeBSD-src-0bf5f10c46aea8f2fe18b9a91167a9aefc33bc31.zip
FreeBSD-src-0bf5f10c46aea8f2fe18b9a91167a9aefc33bc31.tar.gz
MFp4:
- Remove most of direct relations between ATA(4) peripherial and controller levels. It makes logic more transparent and is a mandatory step to wrap ATA(4) controller level into ATA-native CAM SIM. - Tune AHCI and SATA2 SiI drivers memory allocation a bit to allow bigger I/O transaction sizes without additional cost.
Diffstat (limited to 'sys/dev/ata/ata-pci.c')
-rw-r--r--sys/dev/ata/ata-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-pci.c b/sys/dev/ata/ata-pci.c
index 9a0af1c..4440bde 100644
--- a/sys/dev/ata/ata-pci.c
+++ b/sys/dev/ata/ata-pci.c
@@ -477,7 +477,7 @@ ata_pci_dmareset(device_t dev)
ch->dma.flags &= ~ATA_DMA_ACTIVE;
ATA_IDX_OUTB(ch, ATA_BMSTAT_PORT, ATA_BMSTAT_INTERRUPT | ATA_BMSTAT_ERROR);
if ((request = ch->running)) {
- device_printf(request->dev, "DMA reset calling unload\n");
+ device_printf(dev, "DMA reset calling unload\n");
ch->dma.unload(request);
}
}
OpenPOWER on IntegriCloud