summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authordzwdz2023-09-03 01:51:36 +0200
committerdzwdz2023-09-03 01:51:36 +0200
commit59dfa24f6f944ab769b7c6101e2ce386ed5b9579 (patch)
tree22e7c6988d220cfbc96137ee31fd183877bbed1b /src/kernel
parentf8732691b48284bf1fe50f03142c52223a99859c (diff)
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
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/arch/amd64/driver/rtl8139.c3
1 files changed, 0 insertions, 3 deletions
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);
}