Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/scsipi Don't call dk_establish() on vax either.



details:   https://anonhg.NetBSD.org/src/rev/c6ab643af1d8
branches:  trunk
changeset: 477236:c6ab643af1d8
user:      ragge <ragge%NetBSD.org@localhost>
date:      Sun Oct 17 09:44:48 1999 +0000

description:
Don't call dk_establish() on vax either.

diffstat:

 sys/dev/scsipi/cd.c |  4 ++--
 sys/dev/scsipi/sd.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 82e87705c55c -r c6ab643af1d8 sys/dev/scsipi/cd.c
--- a/sys/dev/scsipi/cd.c       Sun Oct 17 09:40:49 1999 +0000
+++ b/sys/dev/scsipi/cd.c       Sun Oct 17 09:44:48 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cd.c,v 1.130 1999/09/30 22:57:53 thorpej Exp $ */
+/*     $NetBSD: cd.c,v 1.131 1999/10/17 09:44:48 ragge Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -168,7 +168,7 @@
        cd->sc_dk.dk_name = cd->sc_dev.dv_xname;
        disk_attach(&cd->sc_dk);
 
-#if !defined(i386)
+#if !defined(i386) && !defined(vax)
        dk_establish(&cd->sc_dk, &cd->sc_dev);          /* XXX */
 #endif
 
diff -r 82e87705c55c -r c6ab643af1d8 sys/dev/scsipi/sd.c
--- a/sys/dev/scsipi/sd.c       Sun Oct 17 09:40:49 1999 +0000
+++ b/sys/dev/scsipi/sd.c       Sun Oct 17 09:44:48 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sd.c,v 1.150 1999/10/17 06:22:05 enami Exp $   */
+/*     $NetBSD: sd.c,v 1.151 1999/10/17 09:44:48 ragge Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -154,7 +154,7 @@
        sd->sc_dk.dk_name = sd->sc_dev.dv_xname;
        disk_attach(&sd->sc_dk);
 
-#if !defined(i386)
+#if !defined(i386) && !defined(vax)
        dk_establish(&sd->sc_dk, &sd->sc_dev);          /* XXX */
 #endif
 



Home | Main Index | Thread Index | Old Index