*BSD News Article 39461


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!europa.eng.gtefsd.com!news.mathworks.com!zombie.ncsc.mil!cs.umd.edu!info.usuhs.mil!info.usuhs.mil!not-for-mail
From: dobson@info.usuhs.mil (Michael Dobson)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Software config of SMC Elite 16 adapters?
Date: 13 Dec 1994 10:18:44 -0500
Organization: Uniformed Services University of the Health Sciences
Lines: 29
Message-ID: <3cke0k$80t@info.usuhs.mil>
References: <3c7kjp$dg@info.usuhs.mil> <J.GRINTER.94Dec9163542@orchard.cc.ic.ac.uk>
NNTP-Posting-Host: info.usuhs.mil

In article <J.GRINTER.94Dec9163542@orchard.cc.ic.ac.uk>,
James R Grinter <j.grinter@ic.ac.uk> wrote:
>In article <3c7kjp$dg@info.usuhs.mil> dobson@info.usuhs.mil (Michael Dobson) writes:
>   and have built a kernel (thank you Poul for the kerndist!!) with the ed0 
>   device preset to these values.  It would be nice if probe could find these 
>   values and configure ed0 itself.
>
>That's all fine, until you have more than one card... Therefore you
>still need a way of specifying the card. Other systems I've seen
>identify it using the I/O port, but I'm not sure how that could fit in
>with detecting it in the kernel at boot time.
>
The kernel already can deal with multiple sio and lpt devices by probing.
I know that is easier because the serial and parallel ports are found at
fewer, well known, locations. I would think it is possible to get probe to
do the same for the ed{0,1} devices, especially since SMC provides a DOS
program that can do just that.  Perhaps the way to do it is run through the
range of ports that the SMC cards can have and watch for the correct
response somewhere rather than limit it to just the two values for the
older cards.  If I can find the code in the source tree, I may take a stab
at it.

Mike

-- 
LCDR M. Dobson               | NetNews Admin info.usuhs.mil
Experimental Hematology Dept | dobson@info.usuhs.mil
Armed Forces Radiobiology    |
Research Institute           | I don't have enough rank to speak for DoD