diff options
author | Marvin Borner | 2020-11-01 21:26:10 +0100 |
---|---|---|
committer | Marvin Borner | 2020-11-01 21:26:10 +0100 |
commit | 7bd11f0275cf22089177692092d73ab73ede87fa (patch) | |
tree | 98eea905a7f6fe02dc90bb45145bcc1f1dce4863 /kernel/drivers | |
parent | f40be8b5b6227775901a99946779661d0b4439e6 (diff) |
New (working!) network approach
Diffstat (limited to 'kernel/drivers')
-rw-r--r-- | kernel/drivers/rtl8139.c | 2 |
1 files changed, 2 insertions, 0 deletions
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(); } |