From wilko@yedi.iaf.nl  Sun Dec 26 23:18:14 1999
Return-Path: <wilko@yedi.iaf.nl>
Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12])
	by hub.freebsd.org (Postfix) with ESMTP id 4DC3D153D9
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Dec 1999 23:18:07 -0800 (PST)
	(envelope-from wilko@yedi.iaf.nl)
Received: from yedi.iaf.nl (uucp@localhost)
	  by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id IAA25255
	  for FreeBSD-gnats-submit@freebsd.org; Mon, 27 Dec 1999 08:16:57 +0100 (MET)
Received: (from wilko@localhost)
	by yedi.iaf.nl (8.9.3/8.9.3) id WAA58990;
	Sun, 26 Dec 1999 22:12:11 +0100 (CET)
	(envelope-from wilko)
Message-Id: <199912262112.WAA58990@yedi.iaf.nl>
Date: Sun, 26 Dec 1999 22:12:11 +0100 (CET)
From: Wilko Bulte <wilko@yedi.iaf.nl>
Reply-To: wilko@yedi.iaf.nl
To: FreeBSD-gnats-submit@freebsd.org
Subject: /sys/alpha/alpha/autoconf.c lacks inclusion on opt_nfs.h
X-Send-Pr-Version: 3.2

>Number:         15711
>Category:       alpha
>Synopsis:       /sys/alpha/alpha/autoconf.c lacks inclusion on opt_nfs.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-alpha
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 26 23:20:01 PST 1999
>Closed-Date:    Sun Dec 26 23:51:14 PST 1999
>Last-Modified:  Sun Dec 26 23:52:03 PST 1999
>Originator:     Wilko Bulte
>Release:        current
>Organization:
none
>Environment:

	Any -current on an Alpha CPU.

>Description:

	/sys/alpha/alpha/autoconf.c does not have opt_nfs.h included.
 	This makes the following code a NO-OP:

void
cpu_rootconf()
{
        int     order = 0; 
#if defined(NFS) && defined(NFS_ROOT)
#if !defined(BOOTP_NFSROOT)
        if (nfs_diskless_valid) 
#endif 
                rootdevnames[order++] = "nfs:";
#endif 

	An NFS root is therefore never considered by the kernel.

>How-To-Repeat:

	Any kernel built with options NFS and options NFS_ROOT

>Fix:
	
	Add:

	#include "opt_nfs.h"


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: peter 
State-Changed-When: Sun Dec 26 23:51:14 PST 1999 
State-Changed-Why:  
#include "opt_nfs.h" added 
/home/ncvs/src/sys/alpha/alpha/autoconf.c,v  <--  autoconf.c 
new revision: 1.37; previous revision: 1.36 
>Unformatted:
