aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers')
-rw-r--r--kernel/drivers/rtl8139.c2
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();
}