aboutsummaryrefslogtreecommitdiffstats
path: root/net/net.c
blob: 4288ae4f0ca7a4783c6006119e04fea06a6a0e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <unistd.h>

#include <init.h>
#include <log.h>
#include <subsys.h>

int net_subsystem(void)
{
    print(LOG_NOTICE "net: starting net subsystem");
    usleep(10000); // do net stuff
    return 0;
}

void net_initcall()
{
    start_subsystem(net_subsystem);
}
l1_initcall(net_initcall);