Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 "device_is_a() == 0" means device_i...



details:   https://anonhg.NetBSD.org/src/rev/31fc75dabef0
branches:  trunk
changeset: 588771:31fc75dabef0
user:      cube <cube%NetBSD.org@localhost>
date:      Fri Mar 03 10:32:01 2006 +0000

description:
"device_is_a() == 0" means device_is_not_a, and that's_not_what_we_want.
[hi thropej!]

diffstat:

 sys/arch/sparc64/sparc64/autoconf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9f78485f94c9 -r 31fc75dabef0 sys/arch/sparc64/sparc64/autoconf.c
--- a/sys/arch/sparc64/sparc64/autoconf.c       Fri Mar 03 05:35:26 2006 +0000
+++ b/sys/arch/sparc64/sparc64/autoconf.c       Fri Mar 03 10:32:01 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.112 2006/02/26 05:36:15 thorpej Exp $ */
+/*     $NetBSD: autoconf.c,v 1.113 2006/03/03 10:32:01 cube Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.112 2006/02/26 05:36:15 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.113 2006/03/03 10:32:01 cube Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -1228,7 +1228,7 @@
                            dev->dv_xname));
                        return;
                }
-       } else if (device_is_a(dev, "wd") == 0) {
+       } else if (device_is_a(dev, "wd")) {
                /* IDE disks. */
                struct ata_device *adev = aux;
 



Home | Main Index | Thread Index | Old Index