Changeset View
Changeset View
Standalone View
Standalone View
sys/nfs/nfs_diskless.c
Show First 20 Lines • Show All 439 Lines • ▼ Show 20 Lines | |||||
nfs_rootconf(void) | nfs_rootconf(void) | ||||
{ | { | ||||
nfs_setup_diskless(); | nfs_setup_diskless(); | ||||
if (nfs_diskless_valid) | if (nfs_diskless_valid) | ||||
rootdevnames[0] = "nfs:"; | rootdevnames[0] = "nfs:"; | ||||
} | } | ||||
SYSINIT(cpu_rootconf, SI_SUB_ROOT_CONF, SI_ORDER_FIRST, nfs_rootconf, NULL); | SYSINIT(cpu_rootconf, SI_SUB_ROOT_CONF, SI_ORDER_FIRST, nfs_rootconf); | ||||
#endif | #endif |