aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/net/network.h
diff options
context:
space:
mode:
authorMarvin Borner2019-12-08 18:45:28 +0100
committerMarvin Borner2019-12-08 18:45:28 +0100
commit79d2ca772615474f18f32e91cf7fa8d53d02e73d (patch)
treea73810401254bd3e8df1a390cb45eea949c6e1f5 /src/kernel/net/network.h
parente3c982ee44cff38bd764fbb6ab94972cf868a10a (diff)
Added very basic network and PCI driver
Diffstat (limited to 'src/kernel/net/network.h')
-rw-r--r--src/kernel/net/network.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/kernel/net/network.h b/src/kernel/net/network.h
new file mode 100644
index 0000000..11a11e0
--- /dev/null
+++ b/src/kernel/net/network.h
@@ -0,0 +1,13 @@
+#ifndef MELVIX_NETWORK_H
+#define MELVIX_NETWORK_H
+
+void rtl8139_install();
+
+void network_install()
+{
+#ifdef rtl8139
+ rtl8139_install();
+#endif
+}
+
+#endif