aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/net/rtl8139.c
diff options
context:
space:
mode:
authorMarvin Borner2020-05-13 21:28:56 +0200
committerMarvin Borner2020-05-13 22:12:41 +0200
commita9c7529dcca845d98192ece62be70f752972216b (patch)
tree666d49ceb411a669abe6191151b2238fd7156c30 /src/kernel/net/rtl8139.c
parente1a6ed079303dc7d218f1d5326a13b6755781271 (diff)
Replaced alloc.h with liballoc
And many more adaptions to the lib
Diffstat (limited to 'src/kernel/net/rtl8139.c')
-rw-r--r--src/kernel/net/rtl8139.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/net/rtl8139.c b/src/kernel/net/rtl8139.c
index fce2062..0c69025 100644
--- a/src/kernel/net/rtl8139.c
+++ b/src/kernel/net/rtl8139.c
@@ -73,7 +73,7 @@ int rtl8139_init(void)
}
// Set receive buffer
- rtl_rx_buffer = (u8 *)kmalloc(8192 + 16);
+ rtl_rx_buffer = (u8 *)malloc(8192 + 16);
outl((u16)(rtl_iobase + 0x30), (u32)rtl_rx_buffer);
// Enable ISR