summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2010-01-17 23:23:35 +0000
committerattilio <attilio@FreeBSD.org>2010-01-17 23:23:35 +0000
commitfe0462f218ddf6ebb55f92e9e3d4c61e45c030a2 (patch)
treed66cf73cd2556f218b1616ea2e5f405d10678eaa /sys/pc98
parentebbfa5188aac3cf558a847197219175a575764ec (diff)
downloadFreeBSD-src-fe0462f218ddf6ebb55f92e9e3d4c61e45c030a2.zip
FreeBSD-src-fe0462f218ddf6ebb55f92e9e3d4c61e45c030a2.tar.gz
- Allow clock subsystem to be compiled without the apic support [0]
- ATPIC, on pc98 is never defined somewhere, differently from i386. Turn its compilation to be conditional as i386 does. [1] [0] Reported by: nyan [1] Submitted by: nyan
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/clock.c2
-rw-r--r--sys/pc98/conf/DEFAULTS3
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 7300593..10b2598 100644
--- a/sys/pc98/cbus/clock.c
+++ b/sys/pc98/cbus/clock.c
@@ -67,9 +67,7 @@ __FBSDID("$FreeBSD$");
#include <machine/frame.h>
#include <machine/intr_machdep.h>
#include <machine/md_var.h>
-#ifdef DEV_APIC
#include <machine/apicvar.h>
-#endif
#include <machine/ppireg.h>
#include <machine/timerreg.h>
#include <machine/smp.h>
diff --git a/sys/pc98/conf/DEFAULTS b/sys/pc98/conf/DEFAULTS
index 0002cf0..f30501e 100644
--- a/sys/pc98/conf/DEFAULTS
+++ b/sys/pc98/conf/DEFAULTS
@@ -24,3 +24,6 @@ device uart_ns8250
# Default partitioning schemes
options GEOM_PART_BSD
options GEOM_PART_PC98
+
+# enable support for native hardware
+device atpic
OpenPOWER on IntegriCloud