Forgot this commit the other day. The receiving end of the "boot -C" option.

This commit is contained in:
Poul-Henning Kamp 1995-04-23 04:14:41 +00:00
parent 453e527dcb
commit 94624c5572
2 changed files with 12 additions and 14 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
* $Id: autoconf.c,v 1.22 1995/04/10 07:44:25 phk Exp $
* $Id: autoconf.c,v 1.23 1995/04/14 15:13:23 dufault Exp $
*/
/*
@ -88,7 +88,7 @@ int cd9660_mountroot __P((void));
#include <pci/pcivar.h>
#endif
#ifdef BOOTCDROM
#ifdef CD9660
/* We need to try out all our potential CDROM drives, so we need a table. */
static struct {
char *name;
@ -116,7 +116,7 @@ find_cdrom_root()
}
return EINVAL;
}
#endif
#endif /* CD9660 */
#include "scbus.h"
#if NSCBUS > 0
@ -159,16 +159,15 @@ configure()
configure_finish();
#ifdef CD9660
#ifdef BOOTCDROM
if (!mountroot) {
if ((boothowto & RB_CDROM) && !mountroot)
mountroot = find_cdrom_root;
}
#endif
#endif
#ifdef NFS
if (!mountroot && nfs_diskless_valid)
mountroot = nfs_mountroot;
#endif /* NFS */
#ifdef FFS
if (!mountroot) {
mountroot = ffs_mountroot;

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
* $Id: autoconf.c,v 1.22 1995/04/10 07:44:25 phk Exp $
* $Id: autoconf.c,v 1.23 1995/04/14 15:13:23 dufault Exp $
*/
/*
@ -88,7 +88,7 @@ int cd9660_mountroot __P((void));
#include <pci/pcivar.h>
#endif
#ifdef BOOTCDROM
#ifdef CD9660
/* We need to try out all our potential CDROM drives, so we need a table. */
static struct {
char *name;
@ -116,7 +116,7 @@ find_cdrom_root()
}
return EINVAL;
}
#endif
#endif /* CD9660 */
#include "scbus.h"
#if NSCBUS > 0
@ -159,16 +159,15 @@ configure()
configure_finish();
#ifdef CD9660
#ifdef BOOTCDROM
if (!mountroot) {
if ((boothowto & RB_CDROM) && !mountroot)
mountroot = find_cdrom_root;
}
#endif
#endif
#ifdef NFS
if (!mountroot && nfs_diskless_valid)
mountroot = nfs_mountroot;
#endif /* NFS */
#ifdef FFS
if (!mountroot) {
mountroot = ffs_mountroot;