mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Add BOOTP_NFSROOT support code.
This commit is contained in:
parent
637dd1a0b3
commit
cd0386a052
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99034
@ -60,6 +60,23 @@ static const char rcsid[] =
|
||||
|
||||
static void configure(void *);
|
||||
SYSINIT(configure, SI_SUB_CONFIGURE, SI_ORDER_THIRD, configure, NULL)
|
||||
#ifdef NFS_ROOT
|
||||
SYSINIT(cpu_rootconf, SI_SUB_ROOT_CONF, SI_ORDER_FIRST, cpu_rootconf, NULL)
|
||||
|
||||
#ifndef BOOTP_NFSROOT
|
||||
#error "NFS_ROOT support not implemented for the non-BOOTP_NFSROOT case"
|
||||
#endif
|
||||
|
||||
extern void bootpc_init(void);
|
||||
|
||||
void
|
||||
cpu_rootconf()
|
||||
{
|
||||
|
||||
bootpc_init();
|
||||
rootdevnames[0] = "nfs:";
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Determine i/o configuration for a machine.
|
||||
|
Loading…
Reference in New Issue
Block a user