From owner-freebsd-current@FreeBSD.ORG Tue Sep 28 17:26:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41D9C16A4CE for ; Tue, 28 Sep 2004 17:26:38 +0000 (GMT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1877B43D55 for ; Tue, 28 Sep 2004 17:26:38 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 21981 invoked from network); 28 Sep 2004 17:26:37 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 28 Sep 2004 17:26:37 -0000 Received: from [10.50.40.210] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i8SHQNRP002918; Tue, 28 Sep 2004 13:26:32 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Tue, 28 Sep 2004 13:15:05 -0400 User-Agent: KMail/1.6.2 References: <4155C2B8.50104@forrie.com> In-Reply-To: <4155C2B8.50104@forrie.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409281315.05829.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Forrest Aldrich Subject: Re: device.hints howto X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 17:26:38 -0000 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org