From owner-freebsd-current Tue Jan 21 17:09:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA28965 for current-outgoing; Tue, 21 Jan 1997 17:09:57 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id RAA28917; Tue, 21 Jan 1997 17:09:20 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id LAA10371; Wed, 22 Jan 1997 11:39:18 +1030 (CST) From: Michael Smith Message-Id: <199701220109.LAA10371@genesis.atrad.adelaide.edu.au> Subject: Re: PCI LKM support added to -current In-Reply-To: from Stefan Esser at "Jan 22, 97 01:13:50 am" To: se@freebsd.org (Stefan Esser) Date: Wed, 22 Jan 1997 11:39:17 +1030 (CST) Cc: current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Stefan Esser stands accused of saying: > > The file /etc/pcidevices will contain lines with the PCI vendor and device > ID, and an associated driver object file: > > 0x802910ec if_ed Please don't do it like that; put a data structure in the LKM file that contains this data and then write a utility to take the list of PCI device ID's and return a list of LKMs required to cover them. (You could add this to the utility that extracts the list of unhandled ID's from the kernel; just give it a path to where the LKMs live.) > Regards, STefan -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[