From 7bd11f0275cf22089177692092d73ab73ede87fa Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 1 Nov 2020 21:26:10 +0100 Subject: New (working!) network approach --- kernel/drivers/rtl8139.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/drivers') diff --git a/kernel/drivers/rtl8139.c b/kernel/drivers/rtl8139.c index c901892..2dd0453 100644 --- a/kernel/drivers/rtl8139.c +++ b/kernel/drivers/rtl8139.c @@ -69,6 +69,7 @@ void rtl8139_find(u32 device, u16 vendor_id, u16 device_id, void *extra) } } +// TODO: Fix late packet arrival void rtl8139_irq_handler() { if (!rtl_device_pci) @@ -79,6 +80,7 @@ void rtl8139_irq_handler() if (status & RTL_TOK) { print("Sent packet\n"); + rtl8139_receive_packet(); } else if (status & RTL_ROK) { rtl8139_receive_packet(); } -- cgit v1.2.3