Change test from NETHER to NARP (revarpwhoami is in if_arp.c)
This commit is contained in:
parent
44e33a2f5f
commit
258bcc09af
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: nfs_boot.c,v 1.35 1997/08/29 16:12:50 gwr Exp $ */
|
/* $NetBSD: nfs_boot.c,v 1.36 1997/09/02 21:33:17 gwr Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1995, 1997 The NetBSD Foundation, Inc.
|
* Copyright (c) 1995, 1997 The NetBSD Foundation, Inc.
|
||||||
@ -71,15 +71,14 @@
|
|||||||
#include <nfs/xdr_subs.h>
|
#include <nfs/xdr_subs.h>
|
||||||
#include <nfs/nfs_var.h>
|
#include <nfs/nfs_var.h>
|
||||||
|
|
||||||
#include "ether.h"
|
#include "arp.h"
|
||||||
#if NETHER == 0
|
#if NARP == 0
|
||||||
/* XXX - Do we still need this? How can I tell? -gwr */
|
|
||||||
|
|
||||||
int nfs_boot_init(nd, procp)
|
int nfs_boot_init(nd, procp)
|
||||||
struct nfs_diskless *nd;
|
struct nfs_diskless *nd;
|
||||||
struct proc *procp;
|
struct proc *procp;
|
||||||
{
|
{
|
||||||
printf("nfs_boot: NETHER == 0\n");
|
printf("nfs_boot: NARP == 0\n");
|
||||||
return (ENXIO);
|
return (ENXIO);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,7 +89,7 @@ nfs_boot_getfh(ndm)
|
|||||||
return (ENXIO);
|
return (ENXIO);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* NETHER */
|
#else /* NARP */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* There are two implementations of NFS diskless boot.
|
* There are two implementations of NFS diskless boot.
|
||||||
@ -382,4 +381,4 @@ out:
|
|||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* NETHER */
|
#endif /* NARP */
|
||||||
|
Loading…
Reference in New Issue
Block a user