aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/rtl8139.h
diff options
context:
space:
mode:
authorMarvin Borner2020-09-26 13:19:06 +0200
committerMarvin Borner2020-09-26 13:19:06 +0200
commit038722e045684a1a04f0fd6a51da2a6ea9dc9bb5 (patch)
treed0a95bc3c9dced5a390258031e810758d066c966 /kernel/inc/rtl8139.h
parent6668ea8666377f9e2adfeb486c5048a85fa590d1 (diff)
Some random network things
Diffstat (limited to 'kernel/inc/rtl8139.h')
-rw-r--r--kernel/inc/rtl8139.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/inc/rtl8139.h b/kernel/inc/rtl8139.h
index 9e84a28..e12f315 100644
--- a/kernel/inc/rtl8139.h
+++ b/kernel/inc/rtl8139.h
@@ -5,7 +5,7 @@
#include <def.h>
-#define RX_BUF_SIZE 0x3000
+#define RX_BUF_SIZE 0x2000
#define RTL8139_VENDOR_ID 0x10ec
#define RTL8139_DEVICE_ID 0x8139
@@ -29,5 +29,7 @@
#define RTL_PORT_CONFIG 0x52
void rtl8139_install();
+void rtl8139_send_packet(void *data, u32 len);
+u8 *rtl8139_get_mac();
#endif