From owner-freebsd-hackers Sat Jun 26 2:31:49 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id C601914BE9 for ; Sat, 26 Jun 1999 02:31:45 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id KAA58840; Sat, 26 Jun 1999 10:34:11 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Sat, 26 Jun 1999 10:34:11 +0100 (BST) From: Doug Rabson To: takawata@shidahara1.planet.sci.kobe-u.ac.jp Cc: hackers@freebsd.org Subject: Re: NEWBUS-ifyed ISA-PnP Question. In-Reply-To: <199906251733.CAA12146@libr.scitec.kobe-u.ac.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 26 Jun 1999 takawata@shidahara1.planet.sci.kobe-u.ac.jp wrote: > Hi, > > I believe someone working on NEWBUS-ifying ISA-PnP. > How will they implement it? > I think current framework is like this. > +--------+ +--------+ > ...|ISA DEV | |ISA-hint|<-This device provides > +--------+ +--------+ what device is connected > | | | the ISA bus. > ----------ISA-------------- > | > +-------------+ > |Nexus or ISAB| > +-------------+ > > > 1. Is the figure true? > 2.If so,where do they attach ISA-PnP mechanism? > attach it like ISA-hint device,modify ISA Bus code or isapnpbus > other than ISA-Bus? > 3.How do I add ISA-PnP device? > 4.How do I add PnP mechanism other than ISA-PnP. This diagram is correct. The ISA-PnP driver is similar to the ISA-hint driver in that it doesn't probe and attach devices itself but creates devices which other drivers can attach to. I have modified the api between the ISA device enumerators (ISA-hint and ISA-PnP) to allow them to specify a set of resource alternatives and a callback function which can select a single alternative. Other PnP mechanisms should fit into this scheme easily. I had ACPI in mind when I was putting this system together. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message