Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2010 22:08:40 +0900 (JST)
From:      TAKAHASHI Yoshihiro <nyan@FreeBSD.org>
To:        attilio@FreeBSD.org
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r202441 - head/sys/conf
Message-ID:  <20100116.220840.91363215.nyan@FreeBSD.org>
In-Reply-To: <201001161224.o0GCOCOI094360@svn.freebsd.org>
References:  <201001161224.o0GCOCOI094360@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Sat_Jan_16_22_08_40_2010_213)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

In article <201001161224.o0GCOCOI094360@svn.freebsd.org>
Attilio Rao <attilio@FreeBSD.org> writes:

> Log:
>   Unbreak the build for pc98. Specify the newly introduced, for ia32,
>   DEV_ATPIC also for pc98.

This is not enough to real fix since DEV_ATPIC is never defined on
pc98.  I attached my incomplete patch.  Even with this change, it's
error if the apic device (and SMP option) is not defined in a kernel
config file.

BTW, the same problem exists on i386.

---
TAKAHASHI Yoshihiro <nyan@FreeBSD.org>

----Next_Part(Sat_Jan_16_22_08_40_2010_213)--
Content-Type: Text/X-Patch; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="a.diff"

Index: conf/files.pc98
===================================================================
RCS file: /home/ncvs/src/sys/conf/files.pc98,v
retrieving revision 1.377
diff -u -r1.377 files.pc98
--- conf/files.pc98	26 Sep 2009 12:45:28 -0000	1.377
+++ conf/files.pc98	16 Jan 2010 12:41:17 -0000
@@ -194,7 +194,7 @@
 i386/ibcs2/ibcs2_xenix.c	optional ibcs2
 i386/ibcs2/ibcs2_xenix_sysent.c	optional ibcs2
 i386/ibcs2/imgact_coff.c	optional ibcs2
-i386/isa/atpic.c		standard
+i386/isa/atpic.c		optional atpic	
 #i386/isa/atpic_vector.s		standard
 i386/isa/elink.c		optional ep | ie
 i386/isa/isa.c			optional isa
@@ -240,7 +240,7 @@
 pc98/cbus/nmi.c			standard
 pc98/cbus/olpt.c		optional olpt
 pc98/cbus/pckbd.c		optional pckbd
-pc98/cbus/pcrtc.c		standard
+pc98/cbus/pcrtc.c		optional atpic
 pc98/cbus/pmc.c			optional pmc
 pc98/cbus/scgdcrndr.c		optional sc gdc
 pc98/cbus/scterm-sck.c		optional sc
Index: conf/options.pc98
===================================================================
RCS file: /home/ncvs/src/sys/conf/options.pc98,v
retrieving revision 1.206
diff -u -r1.206 options.pc98
--- conf/options.pc98	13 Aug 2009 17:09:45 -0000	1.206
+++ conf/options.pc98	16 Jan 2010 12:41:17 -0000
@@ -90,6 +90,7 @@
 
 # Device options
 DEV_APIC		opt_apic.h
+DEV_ATPIC		opt_atpic.h
 DEV_MECIA		opt_mecia.h
 DEV_NPX			opt_npx.h
 
Index: pc98/conf/DEFAULTS
===================================================================
RCS file: /home/ncvs/src/sys/pc98/conf/DEFAULTS,v
retrieving revision 1.15
diff -u -r1.15 DEFAULTS
--- pc98/conf/DEFAULTS	4 Jan 2010 21:30:04 -0000	1.15
+++ pc98/conf/DEFAULTS	16 Jan 2010 12:41:27 -0000
@@ -24,3 +24,6 @@
 # Default partitioning schemes
 options 	GEOM_PART_BSD
 options 	GEOM_PART_PC98
+
+# enable support for native hardware
+device		atpic

----Next_Part(Sat_Jan_16_22_08_40_2010_213)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100116.220840.91363215.nyan>