From 038722e045684a1a04f0fd6a51da2a6ea9dc9bb5 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 26 Sep 2020 13:19:06 +0200 Subject: Some random network things --- kernel/inc/rtl8139.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kernel/inc/rtl8139.h') 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 -#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 -- cgit v1.2.3