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/07d621bce504
branches:  trunk
changeset: 338336:07d621bce504
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 6bd31f2057bb -r 07d621bce504 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