Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbmips/cavium no wd devices on erlite, use sd inst...



details:   https://anonhg.NetBSD.org/src/rev/e9b7b807a0ce
branches:  trunk
changeset: 808478:e9b7b807a0ce
user:      matt <matt%NetBSD.org@localhost>
date:      Tue May 19 00:09:02 2015 +0000

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

diffstat:

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

diffs (27 lines):

diff -r 9d959c9c17dd -r e9b7b807a0ce sys/arch/evbmips/cavium/autoconf.c
--- a/sys/arch/evbmips/cavium/autoconf.c        Tue May 19 00:00:23 2015 +0000
+++ b/sys/arch/evbmips/cavium/autoconf.c        Tue May 19 00:09:02 2015 +0000
@@ -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 @@
                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);



Home | Main Index | Thread Index | Old Index