*BSD News Article 73671


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newshub.tc.umn.edu!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Speed Problems with shared irq multiport card
Date: 14 Jul 1996 09:15:47 GMT
Organization: Private BSD site, Dresden
Lines: 40
Message-ID: <4sads3$fd5@uriah.heep.sax.de>
References: <4s9n37$b0r@clams.camtech.com.au>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

matt@mtc.bns.com.au (Matt Colliver) wrote:

> My questions are these.  
> Is the "vector siointr" on each line causing me problems,and if so or
> otherwise, can I configure the kernel (through booting and kernel -c)
> any better?

SIO(4)                    FreeBSD Programmer's Manual                   SIO(4)

NAME
     sio - fast interrupt driven asynchronous serial communications interface

...
     For AST compatible multiport cards with 4 ports:
     options "COM_MULTIPORT"
     device sio4 at isa? port 0x2a0 tty flags 0x701
     device sio5 at isa? port 0x2a8 tty flags 0x701
     device sio6 at isa? port 0x2b0 tty flags 0x701
     device sio7 at isa? port 0x2b8 tty flags 0x701 irq 12 vector siointr

     For Boca Board compatible multiport cards with 8 ports:
     options "COM_MULTIPORT"
     device sio4 at isa? port 0x100 tty flags 0xb05
     ...
     device sio11 at isa? port 0x138 tty flags 0xb05 irq 12 vector siointr


So yes, you should wire the interrupt vector *only* to the master
device.  I don't think this can be corrected by booting with -c, you
need to reconfigure and rebuild the kernel.  (You don't need to throw
away all your object files however, if this is any help to you.  If
your only change to the config file is removing the interrupt vectors,
it is entirely safe to run ``config -n''.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)