Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/config ignore mainbus in previous for now



details:   https://anonhg.NetBSD.org/src/rev/4d4a3c6bc740
branches:  trunk
changeset: 754494:4d4a3c6bc740
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sat May 01 23:54:35 2010 +0000

description:
ignore mainbus in previous for now

diffstat:

 usr.bin/config/sem.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 253289861944 -r 4d4a3c6bc740 usr.bin/config/sem.c
--- a/usr.bin/config/sem.c      Sat May 01 23:40:21 2010 +0000
+++ b/usr.bin/config/sem.c      Sat May 01 23:54:35 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sem.c,v 1.36 2010/05/01 22:17:58 pooka Exp $   */
+/*     $NetBSD: sem.c,v 1.37 2010/05/01 23:54:35 pooka Exp $   */
 
 /*
  * Copyright (c) 1992, 1993
@@ -1429,7 +1429,7 @@
         * is, do stunts.  If it isn't, try a device next.
         */
        attr = ht_lookup(attrtab, intern(buf));
-       if (attr && attr->a_iattr) {
+       if (attr && attr->a_iattr && /*XXX*/strcmp(buf, "mainbus") != 0) {
                struct devbase *fakedev;
                char fakename[NAMESIZE];
 



Home | Main Index | Thread Index | Old Index