Source-Changes-HG archive

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

[src/trunk]: src/sys Add vax to user of device_register.



details:   https://anonhg.NetBSD.org/src/rev/1e708a8c75ba
branches:  trunk
changeset: 473803:1e708a8c75ba
user:      ragge <ragge%NetBSD.org@localhost>
date:      Sun Jun 20 00:51:37 1999 +0000

description:
Add vax to user of device_register.

diffstat:

 sys/kern/subr_autoconf.c |  5 +++--
 sys/sys/device.h         |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 49ea0d765e84 -r 1e708a8c75ba sys/kern/subr_autoconf.c
--- a/sys/kern/subr_autoconf.c  Sun Jun 20 00:51:29 1999 +0000
+++ b/sys/kern/subr_autoconf.c  Sun Jun 20 00:51:37 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_autoconf.c,v 1.39 1999/04/21 02:37:07 mrg Exp $   */
+/*     $NetBSD: subr_autoconf.c,v 1.40 1999/06/20 00:51:37 ragge Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -359,7 +359,8 @@
                        if (cf->cf_fstate == FSTATE_STAR)
                                cf->cf_unit++;
                }
-#if defined(__alpha__) || defined(hp300) || defined(__i386__) || defined(__sparc__)
+#if defined(__alpha__) || defined(hp300) || defined(__i386__) || \
+       defined(__sparc__) || defined(__vax__)
        device_register(dev, aux);
 #endif
        (*ca->ca_attach)(parent, dev, aux);
diff -r 49ea0d765e84 -r 1e708a8c75ba sys/sys/device.h
--- a/sys/sys/device.h  Sun Jun 20 00:51:29 1999 +0000
+++ b/sys/sys/device.h  Sun Jun 20 00:51:37 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: device.h,v 1.31 1998/12/03 23:50:11 pk Exp $   */
+/*     $NetBSD: device.h,v 1.32 1999/06/20 00:51:37 ragge Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -184,7 +184,8 @@
 int config_activate __P((struct device *));
 int config_deactivate __P((struct device *));
 void config_defer __P((struct device *, void (*)(struct device *)));
-#if defined(__alpha__) || defined(hp300) || defined(__i386__) || defined(__sparc__)
+#if defined(__alpha__) || defined(hp300) || defined(__i386__) || \
+       defined(__sparc__) || defined(__vax__)
 void device_register __P((struct device *, void *));
 #endif
 void evcnt_attach __P((struct device *, const char *, struct evcnt *));



Home | Main Index | Thread Index | Old Index