From owner-freebsd-hackers Fri Oct 13 01:50:02 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA21254 for hackers-outgoing; Fri, 13 Oct 1995 01:50:02 -0700 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA21235 for ; Fri, 13 Oct 1995 01:49:58 -0700 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id SAA18673; Fri, 13 Oct 1995 18:50:30 +0930 From: Michael Smith Message-Id: <199510130920.SAA18673@genesis.atrad.adelaide.edu.au> Subject: Re: I/O port 0 == autoconfig? To: bde@zeta.org.au (Bruce Evans) Date: Fri, 13 Oct 1995 18:50:29 +0930 (CST) Cc: hackers@freebsd.org, uhclem%nemesis@fw.ast.com In-Reply-To: <199510122304.JAA09320@godzilla.zeta.org.au> from "Bruce Evans" at Oct 13, 95 09:04:59 am Content-Type: text Content-Length: 1416 Sender: owner-hackers@freebsd.org Precedence: bulk Bruce Evans stands accused of saying: > Yes, it would require changing config to generate port 0 for "port ?" > and all drivers to know about the kludge, and this only works for ports, > not for irqs. It would be better to change config and visual config to > support new out of bounds values (-2, perhaps) for "none". Leaving -1 > as meaning "autoconfig" probably allows avoiding changes in drivers > (drivers that don't have ports presumably don't care what the port is > specified to be, and drivers that support autoconfig of ports presumably > check for `== -1'. Better than any of this would be addition of more 'personality' information to the isa_dev struct (or its successor). It would be nice to know: - Whether each parameter is fixed, variable or irrelevant. - Whether the device's probe is intrusive. - Whether the device is vulnerable to intrusive probes. This would make the visual config editor considerably more 'logical' to use, and could also be used to perform a smarter autoconfiguration process. > Bruce -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" -Terry Lambert UNIX: live FreeBSD or die! [[