From 59dfa24f6f944ab769b7c6101e2ce386ed5b9579 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 3 Sep 2023 01:51:36 +0200 Subject: misc: remove old debug prints the rtl8139 mac wasn't being read correctly anyways, and the init stuff wasn't revelant in ages. the rest is relatively useful --- src/kernel/arch/amd64/driver/rtl8139.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/kernel') diff --git a/src/kernel/arch/amd64/driver/rtl8139.c b/src/kernel/arch/amd64/driver/rtl8139.c index 737053e..d55a58f 100644 --- a/src/kernel/arch/amd64/driver/rtl8139.c +++ b/src/kernel/arch/amd64/driver/rtl8139.c @@ -80,9 +80,6 @@ void rtl8139_init(uint32_t bdf) { rx_irq_enable(false); - uint64_t mac = (((uint64_t)port_in32(iobase + MAC + 4) & 0xFFFF) << 32) + port_in32(iobase + MAC); - kprintf("rtl8139 mac %012x\n", mac); - vfs_root_register("/kdev/eth", accept); } -- cgit v1.2.3