summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-dma.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2000-10-13 12:09:23 +0000
committersos <sos@FreeBSD.org>2000-10-13 12:09:23 +0000
commitc864b99df07d23e141f3dd756850c6aee7d731f3 (patch)
tree68ba529cde8e1b28f595ccb36c513cd48d57ea7f /sys/dev/ata/ata-dma.c
parentd415827ca360fa27bf0af6104e649b30d4df5224 (diff)
downloadFreeBSD-src-c864b99df07d23e141f3dd756850c6aee7d731f3.zip
FreeBSD-src-c864b99df07d23e141f3dd756850c6aee7d731f3.tar.gz
Fix ISA only systems.
Diffstat (limited to 'sys/dev/ata/ata-dma.c')
-rw-r--r--sys/dev/ata/ata-dma.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/sys/dev/ata/ata-dma.c b/sys/dev/ata/ata-dma.c
index 2d5ce2f..f5cda75 100644
--- a/sys/dev/ata/ata-dma.c
+++ b/sys/dev/ata/ata-dma.c
@@ -499,7 +499,7 @@ via_82c586:
}
/* make sure eventual UDMA mode from the BIOS is disabled */
pci_write_config(parent, scp->channel ? 0x7b : 0x73,
- pci_read_config(parent, scp->channel ? 0x7b : 0x73, 1) &
+ pci_read_config(parent, scp->channel ? 0x7b : 0x73, 1)&
~(device == ATA_MASTER ? 0x35 : 0xca), 1);
/* FALLTHROUGH */
@@ -1030,6 +1030,11 @@ hpt_timing(struct ata_softc *scp, int devno, int mode)
#else /* NPCI > 0 */
+void *
+ata_dmaalloc(struct ata_softc *scp, int device)
+{
+}
+
void
ata_dmainit(struct ata_softc *scp, int device,
int piomode, int wdmamode, int udmamode)
@@ -1037,14 +1042,15 @@ ata_dmainit(struct ata_softc *scp, int device,
}
int
-ata_dmasetup(struct ata_softc *scp, int device,
- int8_t *data, int32_t count, int flags)
+ata_dmasetup(struct ata_softc *scp, int device, struct ata_dmaentry *dmatab,
+ caddr_t data, int32_t count)
{
return -1;
}
-void
-ata_dmastart(struct ata_softc *scp)
+void
+ata_dmastart(struct ata_softc *scp, int device,
+ struct ata_dmaentry *dmatab, int dir)
{
}
OpenPOWER on IntegriCloud