From owner-freebsd-hackers Tue Dec 5 12:47:44 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA03327 for hackers-outgoing; Tue, 5 Dec 1995 12:47:44 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA03318 for ; Tue, 5 Dec 1995 12:47:33 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA00238; Tue, 5 Dec 1995 13:46:03 -0700 From: Terry Lambert Message-Id: <199512052046.NAA00238@phaeton.artisoft.com> Subject: Re: plug n play detection and initialization To: hasty@rah.star-gate.com (Amancio Hasty Jr.) Date: Tue, 5 Dec 1995 13:46:02 -0700 (MST) Cc: hackers@freebsd.org In-Reply-To: <199512051859.KAA00341@rah.star-gate.com> from "Amancio Hasty Jr." at Dec 5, 95 10:59:23 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1125 Sender: owner-hackers@freebsd.org Precedence: bulk > > How does one detect and initialize a Plug N Play ISA card? There is a nice book on this out. There is also a 200 page PostScript document from ftp.microsoft.com. If you are a Microsoft Level 2 developer or better, in the DDK\Docs directory, there is an MS Word file Pnp.doc and a help file Pnp.hlp. Basically, it helps if you know the card is there. The win is on avoiding jumper settings, not on avoiding card specific drivers. Windows 95 handles pnp autodetection by going through a destructive probe sequence and relying on the user to reboot "if it takes too long", and then the sequence can be restarted, skipping whatever hung. This happens both on the initial install and on "add new hardware". For PCI and MCA, you can just ask the bus for card/vendor ID's. For EISA, you can do the same, if you know the memory aperture, which is not required to be the typical 1K by the EISA spec, and so a truly compliant EISA PNP requires the ability to make EISA BIOS calls. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.