diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/autoconf.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/autoconf.c b/sys/arch/amd64/amd64/autoconf.c index 38a5d4bcc0d..c35e7a2a3da 100644 --- a/sys/arch/amd64/amd64/autoconf.c +++ b/sys/arch/amd64/amd64/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.2 2004/02/03 12:09:47 mickey Exp $ */ +/* $OpenBSD: autoconf.c,v 1.3 2004/02/08 03:15:04 deraadt Exp $ */ /* $NetBSD: autoconf.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */ /*- @@ -101,6 +101,10 @@ struct device *booted_device; int booted_partition; dev_t bootdev; +#ifdef RAMDISK_HOOKS +static struct device fakerdrootdev = { DV_DISK, {}, NULL, 0, "rd0", NULL }; +#endif + /* * Determine i/o configuration for a machine. */ @@ -504,6 +508,7 @@ static struct nam2blk { } nam2blk[] = { { "wd", 0 }, /* 0 = wd */ { "sd", 4 }, /* 2 = sd */ + { "rd", 17 }, /* 17 = rd */ { "raid", 19 }, /* 19 = raid */ }; |