From 56dd06ce3b523251ea19ea9403adaefed2b1d516 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 19 Aug 2008 02:02:02 +0000 Subject: [PATCH] add missing devices to nam2blk[] --- sys/arch/amd64/amd64/autoconf.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 } }; -- 2.20.1