*BSD News Article 78422


Return to BSD News archive

Newsgroups: comp.unix.bsd.bsdi.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.sgi.com!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!newsfeed.internetmci.com!in1.uu.net!nntp.netrex.net!wlbr!sms
From: sms@wlv.iipo.gtegsc.com (Steven M. Schultz)
Subject: Re: stb 4-com serial card
Sender: news@wlbr.iipo.gtegsc.com (System Administrator)
Organization: GTE Government Systems, Thousand Oaks CA USA
Message-ID: <DxuEu7.C21@wlbr.iipo.gtegsc.com>
References: <51i3ra$gtb@nnrp1.news.primenet.com> <51jpil$n15@doctor.nl2k.edmonton.ab.ca>
X-Trace: 842906524/15612
X-Nntp-Posting-Host: wlv.iipo.gtegsc.com
Date: Mon, 16 Sep 1996 20:42:06 GMT
Lines: 39

In article <51jpil$n15@doctor.nl2k.edmonton.ab.ca>,
The Doctor <doctor@nl2k.edmonton.AB.ca> wrote:
>In article <51i3ra$gtb@nnrp1.news.primenet.com>,
>William Petrisko <bill@primenet.com> wrote:
>>Has anyone successfully set up a STB 4-COM serial board 
>>under bsdi (1.1 or 2.1)?
>>
>>I am setting the i/o addresses and shared interrupt, but 
>>am not sure of the "flags" section of the definition in 
>>the kernel.
>>
>>Any advice would be appreciated.
>
>I had to set the card to individual IRQs to get the card to work.

	I'd sent a email reply to the original poster earlier.  

	There's no reason at all to use individual IRQs - not to mention
	it's physically impossible if you have two STB 4-Com cards (8 ports)
	in a system.

	Just use the following in the kernel config file and a single IRQ
	will be allocated to each card:

# Two STB 4-Com boards
com0    at isa? port "IO_COM1" flags 0x02000
com1    at isa? port "IO_COM2" flags 0x12000
com2    at isa? port "IO_COM3" flags 0x22000
com3    at isa? port "IO_COM4" flags 0x32000

com4    at isa? port 0x1f8 flags 0x01000
com5    at isa? port 0x2a8 flags 0x11000
com6    at isa? port 0x1e8 flags 0x21000
com7    at isa? port 0x1a8 flags 0x31000

	See - that wasn't so hard ;)

	Steven Schultz
	sms@wlv.iipo.gtegsc.com