diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-16 02:04:43 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-16 02:04:43 -0400 |
commit | c8de5ca0f2e2348414d39e792034a55b47563e6a (patch) | |
tree | a86f6423bf32bdbf3d942fd09d470e81cb33fe37 /sys/dev/phy/rtl.c | |
parent | b130e0e745ce3be4e28fc0eb50011f931157b49a (diff) |
kernel: rtl: Fix up includes and remove "TODO"
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev/phy/rtl.c')
-rw-r--r-- | sys/dev/phy/rtl.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/phy/rtl.c b/sys/dev/phy/rtl.c index 8462a43..691f767 100644 --- a/sys/dev/phy/rtl.c +++ b/sys/dev/phy/rtl.c @@ -43,18 +43,11 @@ #include <vm/dynalloc.h> #include <vm/vm.h> #include <machine/pio.h> +#include <machine/intr.h> #include <string.h> #define IFNAME "rt0" -/* TODO: Make this smoother */ -#if defined(__x86_64__) -#include <machine/intr.h> -#include <machine/ioapic.h> -#include <machine/lapic.h> -#include <machine/idt.h> -#endif - #define pr_trace(fmt, ...) kprintf("rt81xx: " fmt, ##__VA_ARGS__) #define pr_error(...) pr_trace(__VA_ARGS__) |