Main Page | Directories | File List | Globals

core.c

Go to the documentation of this file.
00001 /*
00002  * kernel_net/net_core/core.c
00003  *
00004  * Copyright (c) 2003-2005 Lukasz Dembinski <dembol@nasa.com.pl>
00005  * All Rights Reserved
00006  * 
00007  * Date:        2005/06
00008  * Author:      Lukasz Dembinski
00009  * Info:        core.c core file
00010  * Contact:     mailto: <dembol@nasa.com.pl>
00011  *
00012  */
00013 
00014 #include <agnix/agnix.h>
00015 #include <agnix/adi/adi.h>
00016 #include <agnix/init.h>
00017 #include <agnix/net/net.h>
00018 #include <agnix/memory.h>
00019 #include <agnix/console.h>
00020 
00021 #define MOD_NAME        "NET: "
00022 
00023 int network_init(void)
00024 {
00025     printk(MOD_NAME "Initializing Network driver 0.0.1 for Agnix kernel\n");
00026 
00027     printk(MOD_NAME "Initializing Network Layers\n");
00028     net_layer_2_init();
00029     net_layer_3_init();
00030 
00031     return 0;
00032 }
Dokumentacje wygenerowano programem Doxygen 1.4.2 dla projektu Agnix