Subject: time for INSTALL.ACPI ?
To: None <port-i386@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 11/08/2006 19:27:31
--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,
we're starting to see systems where the legacy BIOS is broken (regarding
interrupts in my case), and we have to use a ioapic+ACPI kernel to get
devices working properly (in my specific case: on the newest supermicro
mainboards, the legacy interrupts for wm0 and wm1 are swapped; because of
this the kernel enters an interrupt a soon as one of the interface is
configured).

Shall we provide a INSTALL.ACPI kernel ? Of couse this also mean we have to
be able to boot it. In my case I use PXE so it's not an issue; I don't
know if the boot loader can now select different kernels from a cdrom boot.

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--

--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="INSTALL.ACPI"

#	$NetBSD: GENERIC.MPACPI,v 1.59 2006/07/04 00:30:22 christos Exp $
#
#	GENERIC.MP -- Generic, plus enable Multiprocessor support.
#

include "arch/i386/conf/INSTALL"

options 	APM_NO_IDLE
#options 	DIAGNOSTIC	# STRONGLY RECOMMENDED
#options 	LOCKDEBUG
#options 	MPDEBUG
#options 	MPVERBOSE
#options 	DEBUG
options 	ACPIVERBOSE

ioapic*		at mainbus? apid ?

acpi0 		at mainbus0

# ACPI devices
acpiacad* 	at acpi?		# ACPI AC Adapter
acpibat* 	at acpi?		# ACPI Battery
acpibut* 	at acpi?		# ACPI Button
acpiec* 	at acpi?		# ACPI Embedded Controller
acpilid* 	at acpi?		# ACPI Lid Switch
acpitz* 	at acpi?		# ACPI Thermal Zone

# Mainboard devices
attimer*	at acpi?		# AT Timer
com* 		at acpi?		# Serial communications interface
fdc* 		at acpi?		# Floppy disk controller
#joy*		at acpi?		# Joystick/Game port
#lpt* 		at acpi?		# Parallel port
#mpu*		at acpi?		# Roland MPU-401 MIDI UART
npx*		at acpi?		# Math coprocessor
pckbc*  	at acpi?		# PC keyboard controller
pcppi*          at acpi?                # AT-style speaker sound
#wss* 		at acpi?		# NeoMagic 256AV in wss mode

# Sony Vaio jog dial
#spic* 		at acpi?		# Sony Programmable I/O Controller
#wsmouse* 	at spic?

# Sony LCD brightness etc.
#sony* 		at acpi?		# Sony Miscellaneous Controller

# Remove support for old cpus
no options I386_CPU, I486_CPU, I586_CPU
no options MATH_EMULATE

# It is doubtful that an EISA system supports ACPI
no eisa
no pceb

# and even more doubtful that an MCA system supports ACPI
no mca
no pcmb

# ISA slots are also unlikely, isapnp can be removed, but the build fails
# badly if isa is disabled.
# no isapnp
# no isa

# Disable non-acpi mainboard devices
# XXX: Is this list complete?
no isa0 at mainbus?
no com0 at isa?
no com1 at isa?
no com2 at isa?
no fdc0 at isa?
no npx0 at isa?
no pcdisplay0 at isa?
no pckbc0 at isa?
no vga0 at isa?

# Disable miscellaneous drivers that can't be needed.
no geodewdog

# These were absent from the pre-merged GENERIC.MPACPI
# no options WSDISPLAY_CUSTOM_OUTPUT, WSDISPLAY_CUSTOM_BORDER
# no options PCKBD_CNATTACH_MAY_FAIL
# no options VND_COMPRESSION
# no njs
# no ciphy
# no cdce
# no fwohci
# no uipaq
# no atu

--rwEMma7ioTxnRzrJ--