summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-06-01 22:40:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-06-01 22:40:34 +0000
commit2c38308609de8c145d7e7ac0980d9f4da3565501 (patch)
tree2964a2441aa1ece56346f0c8a6c40ea566cb9292 /sys
parentaa4bec8342bc433b9cc45237f416706fac18736e (diff)
Infrastructure to allow root on wd0.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/conf/files.hppa4
-rw-r--r--sys/arch/hppa/hppa/autoconf.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/hppa/conf/files.hppa b/sys/arch/hppa/conf/files.hppa
index 89379f68855..e2990c4b538 100644
--- a/sys/arch/hppa/conf/files.hppa
+++ b/sys/arch/hppa/conf/files.hppa
@@ -1,4 +1,4 @@
-# $OpenBSD: files.hppa,v 1.64 2007/05/22 19:57:32 kettenis Exp $
+# $OpenBSD: files.hppa,v 1.65 2007/06/01 22:40:17 miod Exp $
#
# hppa-specific configuration info
@@ -34,6 +34,7 @@ include "dev/i2o/files.i2o"
#
include "dev/atapiscsi/files.atapiscsi"
include "dev/ata/files.ata"
+major {wd = 8}
#
# ISA Bus support
@@ -203,7 +204,6 @@ file arch/hppa/gsc/mongoose_gsc.c mg_gsc
#include "dev/fdc/files.fdc"
#major {fd = 7}
-#major {ft = 8}
#attach fdc at gsc with fdc_gsc
#file arch/hppa/gsc/fdc_gsc.c fdc_gsc
diff --git a/sys/arch/hppa/hppa/autoconf.c b/sys/arch/hppa/hppa/autoconf.c
index 3993f982fae..c84014d3839 100644
--- a/sys/arch/hppa/hppa/autoconf.c
+++ b/sys/arch/hppa/hppa/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.49 2007/06/01 19:25:09 deraadt Exp $ */
+/* $OpenBSD: autoconf.c,v 1.50 2007/06/01 22:40:33 miod Exp $ */
/*
* Copyright (c) 1998-2003 Michael Shalayeff
@@ -479,9 +479,7 @@ struct nam2blk nam2blk[] = {
{ "sd", 4 },
{ "st", 5 },
{ "cd", 6 },
-#if 0
- { "wd", ? },
{ "fd", 7 },
-#endif
+ { "wd", 8 },
{ NULL, -1 }
};