Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/isa Make this work as fdisa again on the Atari/Milan.



details:   https://anonhg.NetBSD.org/src/rev/627321907ef5
branches:  trunk
changeset: 543501:627321907ef5
user:      leo <leo%NetBSD.org@localhost>
date:      Wed Feb 26 20:48:48 2003 +0000

description:
Make this work as fdisa again on the Atari/Milan.

diffstat:

 sys/dev/isa/fd.c |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r 6a06796dc77d -r 627321907ef5 sys/dev/isa/fd.c
--- a/sys/dev/isa/fd.c  Wed Feb 26 20:21:40 2003 +0000
+++ b/sys/dev/isa/fd.c  Wed Feb 26 20:48:48 2003 +0000
@@ -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 @@
 #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 @@
 
 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);



Home | Main Index | Thread Index | Old Index