diff options
Diffstat (limited to 'src/kernel/net/rtl8139.c')
-rw-r--r-- | src/kernel/net/rtl8139.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/net/rtl8139.c b/src/kernel/net/rtl8139.c index c722632..a934e52 100644 --- a/src/kernel/net/rtl8139.c +++ b/src/kernel/net/rtl8139.c @@ -20,7 +20,7 @@ void find_rtl(uint32_t device, uint16_t vendor_id, uint16_t device_id, void *ext void rtl8139_irq_handler(struct regs *r) { - serial_printf("RTL INT!"); + log("RTL INT!"); uint16_t status = inw((uint16_t)(rtl_iobase + 0x3E)); if (!status) return; @@ -28,7 +28,7 @@ void rtl8139_irq_handler(struct regs *r) if (status & 0x01 || status & 0x02) { while ((inw((uint16_t)(rtl_iobase + 0x37)) & 0x01) == 0) { - serial_printf("RECEIVE"); + log("RECEIVE"); // RECEIVE } } @@ -100,4 +100,4 @@ void rtl8139_install() if (rtl8139_init() == 0) info("Installed rtl8139 network driver"); -} +}
\ No newline at end of file |