summaryrefslogtreecommitdiff
path: root/sys/dev/phy
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/phy')
-rw-r--r--sys/dev/phy/rtl.c9
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__)