summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorleo <leo@NetBSD.org>2003-02-26 20:48:48 +0000
committerleo <leo@NetBSD.org>2003-02-26 20:48:48 +0000
commit24f5eee0e73d2ef3ca8a7eff9fe04acad605a918 (patch)
tree7d0a203a4e083eb9f0dce2df876cb9fee8193dbe /sys/dev
parent88db5b512b5e0c49d89cbf13e2f2f31125b3f12e (diff)
Make this work as fdisa again on the Atari/Milan.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/fd.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/isa/fd.c b/sys/dev/isa/fd.c
index 2f3c9a724d6..189c45ddc99 100644
--- a/sys/dev/isa/fd.c
+++ b/sys/dev/isa/fd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.40 2003/02/25 21:25:40 thorpej Exp $ */
+/* $NetBSD: fd.c,v 1.41 2003/02/26 20:48:48 leo Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -92,7 +92,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.40 2003/02/25 21:25:40 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.41 2003/02/26 20:48:48 leo Exp $");
#include "rnd.h"
#include "opt_ddb.h"
@@ -144,7 +144,6 @@ __KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.40 2003/02/25 21:25:40 thorpej Exp $");
#define FDCCF_DRIVE_DEFAULT FDCISACF_DRIVE_DEFAULT
#define fd_cd fdisa_cd
-#define fd_ca fdisa_ca
#endif /* atari */
#include <machine/intr.h>
@@ -211,8 +210,13 @@ void fdattach __P((struct device *, struct device *, void *));
extern struct cfdriver fd_cd;
+#ifdef atari
+CFATTACH_DECL(fdisa, sizeof(struct fd_softc),
+ fdprobe, fdattach, NULL, NULL);
+#else
CFATTACH_DECL(fd, sizeof(struct fd_softc),
fdprobe, fdattach, NULL, NULL);
+#endif
dev_type_open(fdopen);
dev_type_close(fdclose);