diff options
author | sos <sos@FreeBSD.org> | 1999-03-30 13:09:47 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1999-03-30 13:09:47 +0000 |
commit | 0ccb1feb7bb2b9e8aa8932bbb4ca6ac09c7812d1 (patch) | |
tree | 342813519491bdda6f480d4a3784889738220aa4 /sys | |
parent | 825610c790bfa8efb7520bdccdefc90006f7328e (diff) | |
download | FreeBSD-src-0ccb1feb7bb2b9e8aa8932bbb4ca6ac09c7812d1.zip FreeBSD-src-0ccb1feb7bb2b9e8aa8932bbb4ca6ac09c7812d1.tar.gz |
Make ISA only systems compile again..
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/ata-dma.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ata/ata-dma.c b/sys/dev/ata/ata-dma.c index 120eeb1..2bf6c99 100644 --- a/sys/dev/ata/ata-dma.c +++ b/sys/dev/ata/ata-dma.c @@ -25,13 +25,12 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: ata-dma.c,v 1.1 1999/03/28 18:57:19 sos Exp $ + * $Id: ata-dma.c,v 1.2 1999/03/29 14:24:42 sos Exp $ */ #include "ata.h" -#if NATA > 0 #include "pci.h" -#if NPCI > 0 +#if NATA > 0 #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -46,6 +45,8 @@ /* misc defines */ #define MIN(a,b) ((a)>(b)?(b):(a)) +#if NPCI > 0 + int32_t ata_dmainit(struct ata_softc *scp, int32_t device, int32_t apiomode, int32_t wdmamode, int32_t udmamode) |