Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/amiga Add check for wdc [MI wdc support].
details: https://anonhg.NetBSD.org/src/rev/5e5d00b5fc27
branches: trunk
changeset: 481485:5e5d00b5fc27
user: mhitch <mhitch%NetBSD.org@localhost>
date: Mon Jan 31 22:51:53 2000 +0000
description:
Add check for wdc [MI wdc support].
Move 'cd' device back to end of the genericconf table - we want to check
the 'wd' device before the 'cd' device.
diffstat:
sys/arch/amiga/amiga/autoconf.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (55 lines):
diff -r 9a5aab24a26a -r 5e5d00b5fc27 sys/arch/amiga/amiga/autoconf.c
--- a/sys/arch/amiga/amiga/autoconf.c Mon Jan 31 22:49:12 2000 +0000
+++ b/sys/arch/amiga/amiga/autoconf.c Mon Jan 31 22:51:53 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.68 2000/01/25 17:02:43 aymeric Exp $ */
+/* $NetBSD: autoconf.c,v 1.69 2000/01/31 22:51:53 mhitch Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@@ -273,10 +273,10 @@
config_found(dp, "grfcc", simple_devprint);
config_found(dp, "fdc", simple_devprint);
}
- if (is_a4000() || is_a1200())
+ if (is_a4000() || is_a1200()) {
+ config_found(dp, "wdc", simple_devprint);
config_found(dp, "idesc", simple_devprint);
- if (is_a1200())
- config_found(dp, "wdc", simple_devprint);
+ }
if (is_a4000()) /* Try to configure A4000T SCSI */
config_found(dp, "afsc", simple_devprint);
if (is_a3000())
@@ -322,13 +322,13 @@
extern struct cfdriver fd_cd;
#endif
#if NSD > 0
-extern struct cfdriver sd_cd;
+extern struct cfdriver sd_cd;
#endif
#if NCD > 0
extern struct cfdriver cd_cd;
#endif
#if NWD > 0
-extern struct cfdriver wd_cd;
+extern struct cfdriver wd_cd;
#endif
struct cfdriver *genericconf[] = {
@@ -338,12 +338,12 @@
#if NSD > 0
&sd_cd,
#endif
+#if NWD > 0
+ &wd_cd,
+#endif
#if NCD > 0
&cd_cd,
#endif
-#if NWD > 0
- &wd_cd,
-#endif
NULL,
};
Home |
Main Index |
Thread Index |
Old Index