From: deraadt Date: Tue, 19 Aug 2008 02:02:02 +0000 (+0000) Subject: add missing devices to nam2blk[] X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=56dd06ce3b523251ea19ea9403adaefed2b1d516;p=openbsd add missing devices to nam2blk[] --- diff --git a/sys/arch/amd64/amd64/autoconf.c b/sys/arch/amd64/amd64/autoconf.c index daad67636e0..4e45af2a172 100644 --- a/sys/arch/amd64/amd64/autoconf.c +++ b/sys/arch/amd64/amd64/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.28 2008/07/21 04:35:54 todd Exp $ */ +/* $OpenBSD: autoconf.c,v 1.29 2008/08/19 02:02:02 deraadt Exp $ */ /* $NetBSD: autoconf.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */ /*- @@ -185,9 +185,11 @@ diskconf(void) struct nam2blk nam2blk[] = { { "wd", 0 }, + { "fd", 2 }, { "sd", 4 }, + { "cd", 6 }, + { "vnd", 14 }, { "rd", 17 }, { "raid", 19 }, - { "vnd", 14 }, { NULL, -1 } };