Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/hp700 Allow uturn(4) to provide the boot device.



details:   https://anonhg.NetBSD.org/src/rev/074d2ff38ac8
branches:  trunk
changeset: 772703:074d2ff38ac8
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Jan 13 07:05:57 2012 +0000

description:
Allow uturn(4) to provide the boot device.

diffstat:

 sys/arch/hp700/hp700/autoconf.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 246d7de94cd1 -r 074d2ff38ac8 sys/arch/hp700/hp700/autoconf.c
--- a/sys/arch/hp700/hp700/autoconf.c   Fri Jan 13 07:01:04 2012 +0000
+++ b/sys/arch/hp700/hp700/autoconf.c   Fri Jan 13 07:05:57 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.42 2012/01/13 07:01:04 skrll Exp $      */
+/*     $NetBSD: autoconf.c,v 1.43 2012/01/13 07:05:57 skrll Exp $      */
 
 /*     $OpenBSD: autoconf.c,v 1.15 2001/06/25 00:43:10 mickey Exp $    */
 
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.42 2012/01/13 07:01:04 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.43 2012/01/13 07:05:57 skrll Exp $");
 
 #include "opt_kgdb.h"
 #include "opt_useleds.h"
@@ -352,7 +352,8 @@
         * controller's struct dev in boot_device. The SCSI device is located
         * later, see below.
         */
-       if (device_is_a(pdev, "gsc") || device_is_a(pdev, "phantomas")) {
+       if (device_is_a(pdev, "gsc") || device_is_a(pdev, "phantomas") ||
+           device_is_a(pdev, "uturn")) {
                struct confargs *ca = aux;
 
                if ((hppa_hpa_t)PAGE0->mem_boot.pz_hpa == ca->ca_hpa) {



Home | Main Index | Thread Index | Old Index