Date: Fri, 13 Oct 1995 18:50:29 +0930 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: bde@zeta.org.au (Bruce Evans) Cc: hackers@freebsd.org, uhclem%nemesis@fw.ast.com Subject: Re: I/O port 0 == autoconfig? Message-ID: <199510130920.SAA18673@genesis.atrad.adelaide.edu.au> In-Reply-To: <199510122304.JAA09320@godzilla.zeta.org.au> from "Bruce Evans" at Oct 13, 95 09:04:59 am
next in thread | previous in thread | raw e-mail | index | archive | help
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! [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510130920.SAA18673>