*BSD News Article 13813


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!saimiri.primate.wisc.edu!sdd.hp.com!nigel.msen.com!yale.edu!ira.uka.de!smurf.sub.org!flatlin!bad
From: bad@flatlin.ka.sub.org (Christoph Badura)
Subject: Re: my bug list
Organization: Guru Systems/Funware Department
Date: Wed, 31 Mar 1993 21:26:49 GMT
Message-ID: <C4rvKq.F8p@flatlin.ka.sub.org>
References: <DERAADT.93Mar26160807@newt.fsa.ca> <1993Mar29.142429.12369@cm.cf.ac.uk> <1993Mar29.144932.23840@uvm.edu> <1993Mar30.215055.21172@fcom.cc.utah.edu>
Lines: 40

In <1993Mar30.215055.21172@fcom.cc.utah.edu> terry@cs.weber.edu (A Wizard of Earth C) writes:

>Theo points out [ in a later posting ] that one can cause the card to
>generate an interrupt. This won't necessarity work if other interrupts
>are occurring at the same time [...]
>and that "false interrupt" occurs at a potentially
>valid location for the card currently being probed for.

Right.  That's the fundamental assumption if you want to use
interrupts during the autoconfiguration.  No other card must interrupt
during that period.

>Multiple cards also present a problem; even if identified, you can't tell
>the difference between "card A at port a + card B at port b" and "card A
>at port b + card B at port a".

I don't understand your problem.  If I'm probing for "card A at port
a" and get a single interrupt, how can I confuse that with "card A not
at port a"?

>There is also the issue, not yet discussed, of shared interrupts;
>A probe routine can't be guaranteed of the source of the interrupt if
>it's shared, for instance, between a multiport com card like the Hostess
>and some other [non-Hostess] device.

But it must be guaranteed or you can't determine the IRQ line (or use
interrupts for any other purpose) during the autoconfiguration
process.

>In either of the above two cases, simply stopping when one card is
>identified is not sufficient to get both cards working, nor is a single
>pass sufficient to identify al hardare sharing interrupts.

What do you need the second pass for?

-- 
				Christoph Badura  ---  bad@flatlin.ka.sub.org

Personally, I don't care whether someone is cool enough to quote Doug
Gwyn--I only care whether Doug Gwyn is cool enough to quote. -- Larry Wall