Re: device.hints howto

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 28 Sep 2004 13:15:05 -0400
On Saturday 25 September 2004 03:10 pm, Forrest Aldrich wrote:
> What's the correct process to build one of these files -- take the
> output from dmesg and wander through to get the figures?

I usually start from GENERIC.hints and cut out the stuff I don't need.  Since 
ACPI/PnPBIOS enumerates most built in devices anyways, it usually ends up 
being a short list unless you have some actual ISA cards.  Mine is usually 
something like:

# $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.11 2002/12/05 22:49:47 jhb Exp 
$
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.sc.0.at="isa"
hint.sc.0.flags="0x100"
hint.sio.0.at="isa"
hint.sio.0.port="0x3F8"
hint.sio.0.flags="0x10"
hint.sio.0.irq="4"

The fd0 hints shouldn't even be needed anymore now on ACPI systems with the 
new fdc(4) driver and the sio0 ones are only there so I can set the flags for 
a serial console.

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Tue Sep 28 2004 - 15:26:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:14 UTC