summaryrefslogtreecommitdiff
path: root/sys/arch/atari/dev/fd.c
diff options
context:
space:
mode:
authorleo <leo@NetBSD.org>1996-04-18 08:51:11 +0000
committerleo <leo@NetBSD.org>1996-04-18 08:51:11 +0000
commitb3fadef7e070025c61ceaca0cbdd8ab39f26e682 (patch)
treef5130d0569ee6105da1fa92a2c0808123361cd5c /sys/arch/atari/dev/fd.c
parent7a8c8f8a5c113b8893b33a92c4c6fee9ef391a1e (diff)
Yet more prototyping and -Wall fixes.
Diffstat (limited to 'sys/arch/atari/dev/fd.c')
-rw-r--r--sys/arch/atari/dev/fd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/atari/dev/fd.c b/sys/arch/atari/dev/fd.c
index 6bb9493e235..3fb06a8d092 100644
--- a/sys/arch/atari/dev/fd.c
+++ b/sys/arch/atari/dev/fd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.19 1996/04/12 09:05:35 leo Exp $ */
+/* $NetBSD: fd.c,v 1.20 1996/04/18 08:51:52 leo Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@@ -68,6 +68,7 @@
#include <machine/mfp.h>
#include <machine/dma.h>
#include <machine/video.h>
+#include <machine/cpu.h>
#include <atari/dev/ym2149reg.h>
#include <atari/dev/fdreg.h>
@@ -740,7 +741,7 @@ int drive, head, dense;
}
if(i != selected) {
selected = i;
- ym2149_fd_select(i ^ PA_FDSEL);
+ ym2149_fd_select((i ^ PA_FDSEL));
}
return(spinning);
}