From owner-freebsd-new-bus Fri Aug 30 21: 7:35 2002 Delivered-To: freebsd-new-bus@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3184137B400 for ; Fri, 30 Aug 2002 21:07:33 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95C8243E7B for ; Fri, 30 Aug 2002 21:07:31 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g7V47T2F049131 for ; Fri, 30 Aug 2002 22:07:29 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 30 Aug 2002 22:07:23 -0600 (MDT) Message-Id: <20020830.220723.10970697.imp@bsdimp.com> To: new-bus@FreeBSD.org Subject: ISA bus notes From: "M. Warner Losh" In-Reply-To: References: <20020830.203228.35798916.imp@bsdimp.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If the system has ACPI: attach acpi_isabus else if the system has pnpbios attach pnpbios_isabus else attach isabus Then call the attached isa bus' attach routine. If appropriate, enumerate devices from the enumeration source. For acpi and pnpbios, lists of devices come from those enumeration sources. Since this information contains other information (such as IRQ, IOPORT, MEMORY, etc), these resources can be set on the children that are added. Then call the generic attach routine. The common code will then call any of the children's drivers identify routines, as it does now. The PnP ISA devices would then be added. Hints would then be added to the mix. If a given 'hint ball' matches to a device (with the above set resources), that device would be hard wired to that unit. Otherwise a new child is added. After all this enumeration happens, then the pnp isa devices are disabled. The children are then probed in the proper order (sensitive devices, then normal devices). PnP ISA devices are then re-enabled and the probe routines for them are called. I don't where winter's stuff fits into this... I've not done the research here to know for sure. Other than that, I think that we're going to be in good shape without hints on all but the most primitive machines (and lucky me, I have two of these beasties still in service or hot-standby). This is a bit of a re-hash of John's post, but I wanted to make sure that it was all summarized to make sure that we're not missing some step or anything. Look good? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message