Module Name:    src
Committed By:   matt
Date:           Tue May 19 00:09:03 UTC 2015

Modified Files:
        src/sys/arch/evbmips/cavium: autoconf.c

Log Message:
no wd devices on erlite, use sd instead for the USB mass storage.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/cavium/autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/cavium/autoconf.c
diff -u src/sys/arch/evbmips/cavium/autoconf.c:1.1 src/sys/arch/evbmips/cavium/autoconf.c:1.2
--- src/sys/arch/evbmips/cavium/autoconf.c:1.1	Wed Apr 29 08:32:01 2015
+++ src/sys/arch/evbmips/cavium/autoconf.c	Tue May 19 00:09:02 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.1 2015/04/29 08:32:01 hikaru Exp $	*/
+/*	$NetBSD: autoconf.c,v 1.2 2015/05/19 00:09:02 matt Exp $	*/
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.1 2015/04/29 08:32:01 hikaru Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.2 2015/05/19 00:09:02 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -94,7 +94,7 @@ findroot(void)
 		for (dv = deviter_first(&di, DEVITER_F_ROOT_FIRST); dv != NULL;
 		     dv = deviter_next(&di)) {
 			if (device_class(dv) == DV_DISK &&
-			    device_is_a(dv, "wd"))
+			    device_is_a(dv, "sd"))
 				    booted_device = dv;
 		}
 		deviter_release(&di);

Reply via email to