summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-04-16 12:00:26 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-04-16 12:00:26 +0000
commitf6c03b182f58a4dbf30af8658801df44af77203d (patch)
tree2cf2246d124fbd305cc8d7e4b5fd65fc1e713207 /sys/arch
parentaef2858304dcadee05250c520b3c4560cef715cd (diff)
macppcs can boot off usb disks, so treat "/usb" controllers in the ofw tree
as storage controllers. this lets ottos macppc root off the usb disk he booted off.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/macppc/autoconf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/macppc/macppc/autoconf.c b/sys/arch/macppc/macppc/autoconf.c
index 9268de605cb..0c8e441df69 100644
--- a/sys/arch/macppc/macppc/autoconf.c
+++ b/sys/arch/macppc/macppc/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.24 2007/03/28 06:17:37 dlg Exp $ */
+/* $OpenBSD: autoconf.c,v 1.25 2007/04/16 12:00:25 dlg Exp $ */
/*
* Copyright (c) 1996, 1997 Per Fogelstrom
* Copyright (c) 1995 Theo de Raadt
@@ -37,7 +37,7 @@
* from: Utah Hdr: autoconf.c 1.31 91/01/21
*
* from: @(#)autoconf.c 8.1 (Berkeley) 6/10/93
- * $Id: autoconf.c,v 1.24 2007/03/28 06:17:37 dlg Exp $
+ * $Id: autoconf.c,v 1.25 2007/04/16 12:00:25 dlg Exp $
*/
/*
@@ -509,6 +509,7 @@ findtype(char **s)
{ "/k2-sata", "wd", T_IDE },
{ "/disk@", "sd", T_DISK },
{ "/disk", "wd", T_DISK },
+ { "/usb@", "sd", T_SCSI },
{ "/bcom5704@4", "bge0", T_IFACE },
{ "/bcom5704@4,1", "bge1", T_IFACE },
{ "/ethernet", "gem0", T_IFACE },