Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/vax/vax Pull up revision 1.65 (requested by ra...



details:   https://anonhg.NetBSD.org/src/rev/14f89aec8784
branches:  netbsd-1-5
changeset: 488311:14f89aec8784
user:      ragge <ragge%NetBSD.org@localhost>
date:      Wed Jun 28 13:33:43 2000 +0000

description:
Pull up revision 1.65 (requested by ragge):
Fixes broken MFM support + DMA area queueing.

diffstat:

 sys/arch/vax/vax/autoconf.c |  25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 deletions(-)

diffs (57 lines):

diff -r 3f68ff35eebb -r 14f89aec8784 sys/arch/vax/vax/autoconf.c
--- a/sys/arch/vax/vax/autoconf.c       Wed Jun 28 13:32:56 2000 +0000
+++ b/sys/arch/vax/vax/autoconf.c       Wed Jun 28 13:33:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.64 2000/06/19 04:22:16 matt Exp $       */
+/*     $NetBSD: autoconf.c,v 1.64.2.1 2000/06/28 13:33:43 ragge Exp $  */
 
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -170,7 +170,7 @@
 #include "rl.h"
 #include "ra.h"
 #include "hp.h"
-
+#include "ry.h"
 
 static int ubtest(void *);
 static int jmfr(char *, struct device *, int);
@@ -191,6 +191,9 @@
 #if NHP
 static int booted_hp(struct device *, void *);
 #endif
+#if NRD
+static int booted_rd(struct device *, void *);
+#endif
 
 int (*devreg[])(struct device *, void *) = {
        booted_qe,
@@ -210,6 +213,9 @@
 #if NHP
        booted_hp,
 #endif
+#if NRD
+       booted_rd,
+#endif
        0,
 };
 
@@ -406,3 +412,18 @@
        return 1;
 }
 #endif
+#if NRD
+int     
+booted_rd(struct device *dev, void *aux)
+{
+       int *nr = aux; /* XXX - use the correct attach struct */
+
+       if (jmfr("rd", dev, BDEV_RD))
+               return 0;
+
+       if (*nr != rpb.unit)
+               return 0;
+
+       return 1;
+}
+#endif



Home | Main Index | Thread Index | Old Index