From owner-freebsd-hackers Sun Nov 2 17:15:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA23683 for hackers-outgoing; Sun, 2 Nov 1997 17:15:07 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA23675 for ; Sun, 2 Nov 1997 17:15:03 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id LAA00736; Mon, 3 Nov 1997 11:40:37 +1030 (CST) Message-Id: <199711030110.LAA00736@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Jamil J. Weatherbee" cc: hackers@FreeBSD.ORG Subject: Re: 7400 gates effected by probe routine In-reply-to: Your message of "Sat, 01 Nov 1997 23:29:56 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 11:40:37 +1030 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Not really, no, unless MODE reads != 0xff. The 8255 isn't what you'd > > describe as the most sophisticated bit of hardware. I'd still > > recommend looking at the driver as having to address the hardware on > > the other side of the card, rather than the card itself. > > I wish I had some hardware sophisticated enough for that! I just can't > see how you'd have anything that sophisticated unless you were > implementing some kind of bus with the thing, which for a card that > operates in MODE0 would be kinda cludgy, since MODE1 or 2? provides some > bi-directional features with port c as the status port. What I mean is that if your application has input signals, you can look for a typical configuration of those signals, or if your card is being used for output then you can remode the 8255 and write some sensible test values and read them back. This is only possible if you know what is connected to the card. mike