summaryrefslogtreecommitdiffstats
path: root/src/proto
diff options
context:
space:
mode:
authorMichael Brown2007-07-14 16:42:26 +0200
committerMichael Brown2007-07-14 16:42:26 +0200
commite330db3c749c3ee638e8d652c5c3ae08c13af8e5 (patch)
treea69cefca27d7abe7863b87cb765ab55e26bd0fc5 /src/proto
parentBe more aggressive in attempts to enable A20, now that we have the (diff)
downloadipxe-e330db3c749c3ee638e8d652c5c3ae08c13af8e5.tar.gz
ipxe-e330db3c749c3ee638e8d652c5c3ae08c13af8e5.tar.xz
ipxe-e330db3c749c3ee638e8d652c5c3ae08c13af8e5.zip
Dead code removal.
Kill off use of etherboot.h outside drivers/net.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/fsp.c2
-rw-r--r--src/proto/igmp.c7
-rw-r--r--src/proto/nfs.c7
-rw-r--r--src/proto/slam.c6
4 files changed, 11 insertions, 11 deletions
diff --git a/src/proto/fsp.c b/src/proto/fsp.c
index 6aba93762..9a10991de 100644
--- a/src/proto/fsp.c
+++ b/src/proto/fsp.c
@@ -33,8 +33,6 @@
\*********************************************************************/
#ifdef DOWNLOAD_PROTO_FSP
-#include "etherboot.h"
-#include "nic.h"
#define FSP_PORT 21
diff --git a/src/proto/igmp.c b/src/proto/igmp.c
index d61f6c4b1..ef1ff714d 100644
--- a/src/proto/igmp.c
+++ b/src/proto/igmp.c
@@ -5,9 +5,8 @@
#include <ip.h>
#include <igmp.h>
-#include <background.h>
-#include <nic.h>
-#include <etherboot.h>
+
+#if 0
static unsigned long last_igmpv1 = 0;
static struct igmptable_t igmptable[MAX_IGMP];
@@ -164,3 +163,5 @@ void join_group ( int slot, unsigned long group ) {
igmptable[slot].time = currticks();
}
}
+
+#endif
diff --git a/src/proto/nfs.c b/src/proto/nfs.c
index 668948afe..943081a2e 100644
--- a/src/proto/nfs.c
+++ b/src/proto/nfs.c
@@ -1,8 +1,7 @@
-#include "etherboot.h"
+#if 0
+
#include <gpxe/init.h>
-#include "proto.h"
#include <gpxe/in.h>
-#include "nic.h"
/* NOTE: the NFS code is heavily inspired by the NetBSD netboot code (read:
* large portions are copied verbatim) as distributed in OSKit 0.97. A few
@@ -613,3 +612,5 @@ struct protocol nfs_protocol __protocol = {
.default_port = SUNRPC_PORT,
.load = nfs,
};
+
+#endif
diff --git a/src/proto/slam.c b/src/proto/slam.c
index 171b6d243..a25c30de8 100644
--- a/src/proto/slam.c
+++ b/src/proto/slam.c
@@ -1,6 +1,4 @@
-#include "etherboot.h"
-#include "proto.h"
-#include "nic.h"
+#if 0
/*
* IMPORTANT
@@ -539,3 +537,5 @@ struct protocol slam_protocol __protocol = {
.default_port = SLAM_PORT,
.load = url_slam,
};
+
+#endif