summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-09-02 21:18:14 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-09-02 21:18:14 +0000
commit20c40336033570f8888191a39ec224e683de25b8 (patch)
tree41bb7801ed9ed95645b0bd0c98ac2790c3f9e7bb /sys/arch
parentd16bbeccd00588ef047cda7cc81a4e93c6bf8236 (diff)
completely disable network support
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/stand/boot/Makefile5
-rw-r--r--sys/arch/i386/stand/boot/conf.c12
2 files changed, 6 insertions, 11 deletions
diff --git a/sys/arch/i386/stand/boot/Makefile b/sys/arch/i386/stand/boot/Makefile
index 1ae0b63b0d9..4791a6a0b4d 100644
--- a/sys/arch/i386/stand/boot/Makefile
+++ b/sys/arch/i386/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 1997/08/22 20:16:27 mickey Exp $
+# $OpenBSD: Makefile,v 1.12 1997/09/02 21:18:12 mickey Exp $
PROG= boot
SRCS= srt0.S boot.c cmd.c conf.c
@@ -35,6 +35,3 @@ ${PROG}: $(OBJS) $(DPADD)
CPPFLAGS+=-DBOOTMAGIC=$(BOOTMAGIC) ${DEBUGFLAGS}
CFLAGS+=$(SACFLAGS)
-.ifdef NO_NET
-CPPFLAGS+=-DNO_NET
-.endif
diff --git a/sys/arch/i386/stand/boot/conf.c b/sys/arch/i386/stand/boot/conf.c
index e149cb6ac93..9ecabd7ae49 100644
--- a/sys/arch/i386/stand/boot/conf.c
+++ b/sys/arch/i386/stand/boot/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.6 1997/08/13 14:24:00 niklas Exp $ */
+/* $OpenBSD: conf.c,v 1.7 1997/09/02 21:18:13 mickey Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -36,13 +36,13 @@
#include <netinet/in.h>
#include <libsa.h>
#include <lib/libsa/ufs.h>
-#include <lib/libsa/nfs.h>
-#include <lib/libsa/cd9660.h>
#ifdef notdef
+#include <lib/libsa/cd9660.h>
#include <lib/libsa/fat.h>
+#include <lib/libsa/nfs.h>
#include <lib/libsa/tftp.h>
-#endif
#include <lib/libsa/netif.h>
+#endif
#include <lib/libsa/unixdev.h>
#include <biosdev.h>
#include <dev/cons.h>
@@ -58,8 +58,6 @@ struct fs_ops file_system[] = {
fat_stat, fat_readdir },
{ cd9660_open, cd9660_close, cd9660_read, cd9660_write, cd9660_seek,
cd9660_stat, cd9660_readdir },
-#endif
-#ifndef NO_NET
{ nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek,
nfs_stat, nfs_readdir },
#endif
@@ -82,7 +80,7 @@ struct devsw devsw[] = {
};
int ndevs = NENTS(devsw);
-#ifndef NO_NET
+#ifdef notdef
struct netif_driver *netif_drivers[] = {
NULL
};