Deleted Added
full compact
nfs_diskless.c (176199) nfs_diskless.c (177253)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 19 unchanged lines hidden (view full) ---

28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
33 */
34
35#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 19 unchanged lines hidden (view full) ---

28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
33 */
34
35#include <sys/cdefs.h>
36__FBSDID("$FreeBSD: head/sys/nfsclient/nfs_diskless.c 176198 2008-02-11 23:23:21Z kris $");
36__FBSDID("$FreeBSD: head/sys/nfsclient/nfs_diskless.c 177253 2008-03-16 10:58:09Z rwatson $");
37
38#include "opt_bootp.h"
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/kernel.h>
43#include <sys/malloc.h>
44#include <sys/mount.h>

--- 282 unchanged lines hidden (view full) ---

327nfs_rootconf(void)
328{
329
330 nfs_setup_diskless();
331 if (nfs_diskless_valid)
332 rootdevnames[0] = "nfs:";
333}
334
37
38#include "opt_bootp.h"
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/kernel.h>
43#include <sys/malloc.h>
44#include <sys/mount.h>

--- 282 unchanged lines hidden (view full) ---

327nfs_rootconf(void)
328{
329
330 nfs_setup_diskless();
331 if (nfs_diskless_valid)
332 rootdevnames[0] = "nfs:";
333}
334
335SYSINIT(cpu_rootconf, SI_SUB_ROOT_CONF, SI_ORDER_FIRST, nfs_rootconf, NULL)
335SYSINIT(cpu_rootconf, SI_SUB_ROOT_CONF, SI_ORDER_FIRST, nfs_rootconf, NULL);
336#endif
337
336#endif
337