From owner-freebsd-hackers Tue May 25 6:29:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126]) by hub.freebsd.org (Postfix) with ESMTP id A437B156EA for ; Tue, 25 May 1999 06:29:12 -0700 (PDT) (envelope-from roger@cs.strath.ac.uk) Received: from cs.strath.ac.uk (scary.dmem.strath.ac.uk [130.159.202.5]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with ESMTP id OAA27541 Tue, 25 May 1999 14:28:46 +0100 (BST) Message-ID: <374AA5B4.5D8D22B6@cs.strath.ac.uk> Date: Tue, 25 May 1999 14:29:24 +0100 From: Roger Hardiman Organization: Strathclyde University X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.2-STABLE i386) MIME-Version: 1.0 To: Thomas David Rivers Cc: hackers@FreeBSD.ORG Subject: Re: How to find the PCI chipset type inside a driver References: <199905251120.HAA04710@lakes.dignus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dave > Just a thought - not really an answer to your question... but... > > I struck me that since bt848 isn't in the default kernel (you have > to build your own kernel for it) - couldn't you just make this > a flag in the config file? > > Then, a couple of #ifdef's in the bt848 driver would handle it. Actually, this is how I have implemented it. I have just commited to -current. Great minds think alike. :-) FYI, the linux bt848/bt878 driver is able to probe around and work out for itself that it is on an old triton 430fx board. Bye Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message