diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-19 06:16:15 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-19 06:16:15 +0000 |
commit | 34e3b522eca7e8741cecb7c2241091f181d1bd1f (patch) | |
tree | 3b64ac3aa4603539b8f8f384bc39998e29948900 /dde_rtl8139/main.c | |
parent | d4e6a14eb3fad1b43a21214db139db441025baf5 (diff) | |
parent | 6fafeb146e9efd59140ea58cebd7dd38ae9a6379 (diff) |
Merge branch 'upstream-merged'
Diffstat (limited to 'dde_rtl8139/main.c')
-rw-r--r-- | dde_rtl8139/main.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dde_rtl8139/main.c b/dde_rtl8139/main.c new file mode 100644 index 00000000..63ab182f --- /dev/null +++ b/dde_rtl8139/main.c @@ -0,0 +1,32 @@ +#include <dde26.h> /* l4dde26_*() */ +#include <dde26_net.h> /* l4dde26 networking */ + +#include <linux/netdevice.h> /* struct sk_buff */ +#include <linux/pci.h> /* pci_unregister_driver() */ +#include <linux/init.h> // initcall() +#include <linux/delay.h> // msleep() + +#include <machdev.h> + +int using_std = 1; + +int main(int argc, char **argv) +{ + l4dde26_init(); + l4dde26_process_init(); + l4dde26_softirq_init(); + + printk("Initializing skb subsystem\n"); + skb_init(); + + l4dde26_do_initcalls(); + + register_net(); + mach_device_init(); + trivfs_init(); + + cthread_detach (cthread_fork (ds_server, NULL)); + trivfs_server(); + + return 0; +} |