add missing devices to nam2blk[]
authorderaadt <deraadt@openbsd.org>
Tue, 19 Aug 2008 02:02:02 +0000 (02:02 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 19 Aug 2008 02:02:02 +0000 (02:02 +0000)
sys/arch/amd64/amd64/autoconf.c

index daad676..4e45af2 100644 (file)
@@ -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 }
 };