Dead code removal.

Kill off use of etherboot.h outside drivers/net.
This commit is contained in:
Michael Brown
2007-07-14 15:42:26 +01:00
parent 95c07736cb
commit e330db3c74
20 changed files with 30 additions and 1321 deletions

View File

@@ -33,8 +33,6 @@
\*********************************************************************/
#ifdef DOWNLOAD_PROTO_FSP
#include "etherboot.h"
#include "nic.h"
#define FSP_PORT 21

View File

@@ -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

View File

@@ -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

View File

@@ -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