From owner-freebsd-hackers Wed Jul 30 12:30:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA27233 for hackers-outgoing; Wed, 30 Jul 1997 12:30:14 -0700 (PDT) Received: from Octopussy.MI.Uni-Koeln.DE (Octopussy.MI.Uni-Koeln.DE [134.95.166.20]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id MAA27137; Wed, 30 Jul 1997 12:29:39 -0700 (PDT) Received: from x14.mi.uni-koeln.de (annexr3-2.slip.Uni-Koeln.DE) by Octopussy.MI.Uni-Koeln.DE with SMTP id AA19950 (5.67b/IDA-1.5); Wed, 30 Jul 1997 21:29:29 +0200 Received: (from se@localhost) by x14.mi.uni-koeln.de (8.8.6/8.6.9) id VAA12601; Wed, 30 Jul 1997 21:29:28 +0200 (CEST) X-Face: " Date: Wed, 30 Jul 1997 21:29:27 +0200 From: Stefan Esser To: Michael Smith Cc: Luigi Rizzo , hasty@rah.star-gate.com, hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG, Stefan Esser Subject: Re: Advice sought on PnP configuration References: <199707300404.GAA03229@labinfo.iet.unipi.it> <199707300600.PAA19038@genesis.atrad.adelaide.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 In-Reply-To: <199707300600.PAA19038@genesis.atrad.adelaide.edu.au>; from Michael Smith on Wed, Jul 30, 1997 at 03:30:44PM +0930 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Jul 30, Michael Smith wrote: > My personal preference : > > - gather all the information : > PCI probe > PnP probe > get ISA config (compiled in, datafile, etc.) > get PCI/PnP identifier tables (compiled in, bootloader, etc.) > > - attach PCI devices > I/O ports and IRQs are assigned by the PCI rules. > - attach PnP devices > IRQs are taken from the free pool left after PCI assignment and > those marked for 'legacy' use. I/O ports are probed as per the > PnP spec. > - walk ISA config data, probe possible devices > We know which IRQ and I/O resources are still available, > we can hunt for devices that match the gaps. Exactly what I think too. > I think it's important to leave the 'legacy' devices until _last_, as > this prevents a PnP device being accidentally recognised as a 'legacy' > device. Yes. This problem does exist with PCI cards that fully emulate some ISA card, too, and the PCI probe was moved to the head of the probes for that reason, a long time ago ... Regards, STefan