diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2002-07-21 21:37:09 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2002-07-21 21:37:09 +0000 |
| commit | b5d0be8951313f042b70083587b53096fcfe8d4b (patch) | |
| tree | cc807a52cd2005795f1983f7c1f625b5d5eb9deb /sys/dev/ata | |
| parent | 397304fe4fa270b4ffa92b9997a02d81fca9e868 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata')
| -rw-r--r-- | sys/dev/ata/ata-isa.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/ata/ata-isa.c b/sys/dev/ata/ata-isa.c index fef7c8a445f9..ee87afc69ecd 100644 --- a/sys/dev/ata/ata-isa.c +++ b/sys/dev/ata/ata-isa.c @@ -28,6 +28,8 @@ * $FreeBSD$ */ +#include "opt_ata.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -105,8 +107,7 @@ DRIVER_MODULE(ata, isa, ata_isa_driver, ata_devclass, 0, 0); * the following is a bandaid to get ISA only setups to link, * since these are getting rare the ugliness is kept here */ -#include "pci.h" -#if NPCI == 0 +#ifdef ATA_NOPCI int ata_dmaalloc(struct ata_device *atadev) { @@ -134,9 +135,10 @@ ata_dmasetup(struct ata_device *atadev, caddr_t data, int32_t count) return -1; } -void +int ata_dmastart(struct ata_device *atadev, caddr_t data, int32_t count, int dir) { + return -1; } int |
