summaryrefslogtreecommitdiffstats
path: root/src/net/netdevice.c
diff options
context:
space:
mode:
authorMarty Connor2007-07-03 22:02:26 +0200
committerMarty Connor2007-07-03 22:02:26 +0200
commit6be8cdbb6f2a003aed4b06ce15d296f2d9e0ebf2 (patch)
tree46830720996e606b842656b1b2ba52cf6c6947b7 /src/net/netdevice.c
parentWarnings purge: src/arch/i386, src/core/disk.c, ramdisk, autoboot (diff)
parentUse a linker-table based system to automatically mark and start up (diff)
downloadipxe-6be8cdbb6f2a003aed4b06ce15d296f2d9e0ebf2.tar.gz
ipxe-6be8cdbb6f2a003aed4b06ce15d296f2d9e0ebf2.tar.xz
ipxe-6be8cdbb6f2a003aed4b06ce15d296f2d9e0ebf2.zip
Merge branch 'master' of /pub/scm/gpxe
Diffstat (limited to 'src/net/netdevice.c')
-rw-r--r--src/net/netdevice.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/net/netdevice.c b/src/net/netdevice.c
index 971830d97..fb4612bc9 100644
--- a/src/net/netdevice.c
+++ b/src/net/netdevice.c
@@ -448,13 +448,6 @@ static void net_step ( struct process *process __unused ) {
}
/** Networking stack process */
-static struct process net_process = {
+struct process net_process __permanent_process = {
.step = net_step,
};
-
-/** Initialise the networking stack process */
-static void init_net ( void ) {
- process_add ( &net_process );
-}
-
-INIT_FN ( INIT_PROCESS, init_net, NULL, NULL );