From 0ddd4d1dab8dc2ba092c7351cfb2e054fce1f429 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 6 Aug 2023 01:16:14 +0200 Subject: kernel: put every driver in /kdev/ there's no real reason for bootstrap to be doing that, and this brings it closer to only doing the elf loading --- src/kernel/arch/amd64/driver/rtl8139.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/arch/amd64/driver/rtl8139.c') diff --git a/src/kernel/arch/amd64/driver/rtl8139.c b/src/kernel/arch/amd64/driver/rtl8139.c index 09b0ca5..737053e 100644 --- a/src/kernel/arch/amd64/driver/rtl8139.c +++ b/src/kernel/arch/amd64/driver/rtl8139.c @@ -83,7 +83,7 @@ void rtl8139_init(uint32_t bdf) { 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("/eth", accept); + vfs_root_register("/kdev/eth", accept); } static void rtl8139_irq(void) { -- cgit v1.2.3