From owner-freebsd-hackers Wed Jan 3 07:01:47 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA12022 for hackers-outgoing; Wed, 3 Jan 1996 07:01:47 -0800 (PST) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA11791 for ; Wed, 3 Jan 1996 06:57:56 -0800 (PST) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id PAA22549; Wed, 3 Jan 1996 15:48:08 +0100 From: Luigi Rizzo Message-Id: <199601031448.PAA22549@labinfo.iet.unipi.it> Subject: Re: FreeDetect & Plug n Play To: phk@critter.tfs.com (Poul-Henning Kamp) Date: Wed, 3 Jan 1996 15:48:07 +0100 (MET) Cc: jkh@time.cdrom.com, hasty@rah.star-gate.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <1142.820668770@critter.tfs.com> from "Poul-Henning Kamp" at Jan 3, 96 12:32:31 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > There actually is a P&P for ISA, where the motherboard completely disables > all but one slot, so you know what you found where. I must first say that I don't know exactly how PnP works on ISA, but I believe that in the standard there are no dedicated lines on the ISA bus so that one can disable a single slot. I have recently come across a data sheet for a TI 16550 (UART) clone with PnP support, and from the data sheet it seems that the selection of specific devices is done in software by running a protocol on a few I/O ports. Basically (details may be incorrect), ISA PnP devices all listen for writes on a couple of ports (one is the printer status, so that nobody should write there). There the CPU issues commands that are understood by PnP devices. Using some binary-search technique one can disable all but one device, identify it, set its I/O address and other stuff, and then continue with the next devices. To come back to Poul's mail: in general, it should not be the motherboard which disables the slot, it is the software that disables PnP cards. Of course *some* motherboards might do what Poul says, but this is not generally applicable. On the other end, PnP compliant devices should work on all motherboards. Luigi ==================================================================== Luigi Rizzo Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it Universita' di Pisa tel: +39-50-568533 via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 http://www.iet.unipi.it/~luigi/ ====================================================================