From ddde6cae5853c210aaf319f35cd162f045e3a11d Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 22 Jan 1997 18:20:49 +0000 Subject: [PATCH] get the ethernet/fddi issue half right. This needs to be fixed better --- sys/nfs/nfs_boot.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sys/nfs/nfs_boot.c b/sys/nfs/nfs_boot.c index 368dc397a6a..6e459355aea 100644 --- a/sys/nfs/nfs_boot.c +++ b/sys/nfs/nfs_boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_boot.c,v 1.9 1997/01/20 09:42:18 graichen Exp $ */ +/* $OpenBSD: nfs_boot.c,v 1.10 1997/01/22 18:20:49 deraadt Exp $ */ /* $NetBSD: nfs_boot.c,v 1.26 1996/05/07 02:51:25 thorpej Exp $ */ /* @@ -54,9 +54,12 @@ #include #include -#if !defined(NFSCLIENT) || (NETHER == 0) +#include "ether.h" -int nfs_boot_init(nd, procp) +#if !defined(NFSCLIENT) || (NETHER == 0 && NFDDI == 0) + +int +nfs_boot_init(nd, procp) struct nfs_diskless *nd; struct proc *procp; { @@ -72,7 +75,7 @@ nfs_boot_getfh(bpsin, key, ndmntp) /* can not get here */ } -#else /* (if !defined(NFSCLIENT) || (NETHER == 0)) */ +#else /* * Support for NFS diskless booting, specifically getting information -- 2.20.1