diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-02-22 22:11:46 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-02-22 22:11:46 +0000 |
commit | 4abe01f2de3129da565d327402d7d88766ffb9bb (patch) | |
tree | d9186d5c33ae0732678bfe8d592580416850433a /sys/arch | |
parent | a5bb1e03d878a3671b987aeade87b83329b8a222 (diff) |
Be sure to attach the console keyboard, if any, before prompting for an
alternate root device if boot -a.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hp300/hp300/autoconf.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/sys/arch/hp300/hp300/autoconf.c b/sys/arch/hp300/hp300/autoconf.c index e0736efee54..f458a94d798 100644 --- a/sys/arch/hp300/hp300/autoconf.c +++ b/sys/arch/hp300/hp300/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.31 2005/01/16 17:43:04 millert Exp $ */ +/* $OpenBSD: autoconf.c,v 1.32 2005/02/22 22:11:45 miod Exp $ */ /* $NetBSD: autoconf.c,v 1.45 1999/04/10 17:31:02 kleink Exp $ */ /* @@ -165,6 +165,7 @@ ddlist_t dev_data_list; /* all dev_datas */ ddlist_t dev_data_list_hpib; /* hpib controller dev_datas */ ddlist_t dev_data_list_scsi; /* scsi controller dev_datas */ +void diskconf(void); void setroot(void); void swapconf(void); void findbootdev(void); @@ -275,16 +276,23 @@ cpu_configure() } } + md_diskconf = diskconf; + + cold = 0; +} + +void +diskconf() +{ + setroot(); swapconf(); /* - * Set bootdev based on how we mounted root. + * Set bootdev based on the device we booted from. * This is given to the boot program when we reboot. */ setbootdev(); - - cold = 0; } /********************************************************************** |