From owner-freebsd-hackers Fri Oct 13 17:24:22 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA18131 for hackers-outgoing; Fri, 13 Oct 1995 17:24:22 -0700 Received: from Sysiphos (Sysiphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id RAA18124 for ; Fri, 13 Oct 1995 17:24:15 -0700 Received: by Sysiphos id AA18009 (5.67b/IDA-1.5 for hackers@freebsd.org); Sat, 14 Oct 1995 01:20:38 +0100 Message-Id: <199510140020.AA18009@Sysiphos> From: se@zpr.uni-koeln.de (Stefan Esser) Date: Sat, 14 Oct 1995 01:20:37 +0100 In-Reply-To: Matt Thomas "Re: IPX now available" (Oct 13, 18:16) X-Mailer: Mail User's Shell (7.2.6 alpha(2) 7/9/95) To: Matt Thomas Subject: Re: IPX now available Cc: hackers@freebsd.org Sender: owner-hackers@freebsd.org Precedence: bulk On Oct 13, 18:16, Matt Thomas wrote: } Subject: Re: IPX now available } For PCI, I'm beginning in favor of having the driver call a pci_match } routine to find instances of itself instead of the currently "passive" } method. The passive method just doesn't lend itself to LKM. One other Hmm, I don't quite understand the advantage of the driver doing a "match" in the context of LKMs ... PCI device LKMs ought to be named according to their vendor and device IDs. E.g. the NCR driver might be looked up under "/lkm/pci_v1000d0001.o" which is a link to /lkm/ncr_scsi.o" or the DEC 21040 under "/lkm/pci_v1011d0002.o" which might be a link to "/lkm/if_de.o" ... } reason I favor it is so that I could have a "generic" DC21x4X module } and then have various board/chip specific LKMs. The de driver is getting } fairly large and I'd like a method to trim out the unneeded code. PCI 2.1 extends the vendor and device ID concept. It is now possible to have a board vendor/device ID independent from the chip's ID. This opens a generic way to load a board specific driver, instead of only a chip specific one ... STefan -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/staff/esser/esser.html