From owner-freebsd-hackers Thu Sep 18 00:25:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA14855 for hackers-outgoing; Thu, 18 Sep 1997 00:25:44 -0700 (PDT) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA14845 for ; Thu, 18 Sep 1997 00:25:40 -0700 (PDT) Received: (from sos@localhost) by sos.freebsd.dk (8.8.7/8.7.3) id JAA01170; Thu, 18 Sep 1997 09:25:33 +0200 (MEST) From: Søren Schmidt Message-Id: <199709180725.JAA01170@sos.freebsd.dk> Subject: Re: INB question In-Reply-To: <199709180717.AAA18398@usr06.primenet.com> from Terry Lambert at "Sep 18, 97 07:17:37 am" To: tlambert@primenet.com (Terry Lambert) Date: Thu, 18 Sep 1997 09:25:33 +0200 (MEST) Cc: tlambert@primenet.com, hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In reply to Terry Lambert who wrote: > > > If a device doesn't exist, what does inb return? 0xff, right? > > > > Wrong, result is not known, and depends on implemetation details > > on the MB and to some extent the cards put in the bus... > > > > > Specifically, how do I know if something lives at a given port? > > > > By doing intelligent probes, or knowing up front what to look for.. > > OK, I give up: other than calling INT 0x15, AH=0xC0, how do I detect > whether a machine is MCA or not without hard coding it in my kernel > configuration file? You giving up, so easy ?? naw.... There must be some device or something on a MCA board thats different form the ISA/EISA/PCI systems, probe for that... > I need an MCA bus detect. 8-(. The only thing I really know about the MCA bus is that I avoid it like the plaque, besides that I'm not too familliar with it, but a detect routine cant be that difficult to make... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..