*BSD News Article 34367


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!werple.apana.org.au!troll.apana.org.au!rivendell.apana.org.au!phil
From: phil@rivendell.apana.org.au (Phil Homewood)
Newsgroups: comp.os.386bsd.questions
Subject: Re: FreeBSD and AST4-Port?
Date: 15 Aug 1994 14:46:47 GMT
Organization: Rivendell - APANA Brisbane.
Lines: 62
Message-ID: <32nv4n$afs@rivendell.apana.org.au>
References: <94Aug08.175650.7824@eeubln.IN-Berlin.DE> <32fqai$kjp@rivendell.apana.org.au>
NNTP-Posting-Host: rivendell.apana.org.au
X-Newsreader: TIN [version 1.2 PL2]

tdwyer@netbsd08.dn.itg.telecom.com.au (Terry Dwyer) had this to say:

Phil Homewood (phil@rivendell.apana.org.au) wrote:
: Nora E. Etukudo (nora@eeubln.IN-Berlin.DE) wrote:
: :    My  AST4-Port  compatible serial card won't work (even  recognized)
: :    under FreeBSD-1.1.5.1-RELEASE.
: [...]
: : device   sio4    at isa? port 0x2a0 tty irq 5 flags 0x501 vector siointr
: : device   sio5    at isa? port 0x2a8 tty flags 0x501 vector siointr
: : device   sio6    at isa? port 0x2b0 tty flags 0x501 vector siointr
: : device   sio7    at isa? port 0x2b8 tty flags 0x501 vector siointr
: [...]
: : sio4: master device 5 irq not configured
: : sio4 not found at 0x2a0

: Try changing all the flags above to 0x401.
: The '4'(or '5' in your existing config) is the number of the
: 'master' port  on the card  (ie. it should refer to sio4).

No, that is not quite right. (sio4-sio7) The master port is the last
port on the card, and is numbered according to the total number of
ports in your machine.  From the above, I assume Nora has four other
ports stating at sio0-sio3 configured (I missed the original post),
so the flags line should read 'flags 0x701', the master port being
the 8th of all ports installed, numbered from 0 to 7. 

: Also (I may be wrong here), I have a funny feeling that the 'vector siointr'
: should ONLY appear on the master (sio4) line, and not on sio[567].

Yep, that's right, along with the 'irq 5'.  Someone else had a problem
with the irq, vector and siointr on the line for the first port (of the
card), it was fixed by moving it to the last line.  
Here's my config, 2 standard comm ports and 4 AST ports.

#Standard comm ports
device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr        
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr        
                                                                               
#AST 4 port card
device          sio2 at isa? port 0x2a0 tty flags 0x501
device          sio3 at isa? port 0x2a8 tty flags 0x501
device          sio4 at isa? port 0x2b0 tty flags 0x501
device          sio5 at isa? port 0x2b8 tty irq 5 flags 0x501 vector siointr

: man sio for exact descriptions.

: Phil.
: --
: Phil Homewood                           phil@rivendell.apana.org.au
: APANA Brisbane Regional Co-Ordinator    brisbane@apana.org.au
:        "Every precious second is a chance to change"

--
   _-_|\    Terry Dwyer 	  E-Mail: tdwyer@netbsd08.dn.itg.telecom.com.au
  /     \   System Administrator  Phone: +61 9 491 5161     Fax: +61 9 221 2631
  *_.^\_/   Telecom Australia     Telstra Corporation       MIME capable mailer
       v    Perth  WA                 ( I do not speak for Telstra or Telecom )

--
Phil Homewood                           phil@rivendell.apana.org.au
APANA Brisbane Regional Co-Ordinator    brisbane@apana.org.au
           "Quit dreaming,this is real life baby!"