Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 1995 16:06:21 -0600 (CST)
From:      Paredes Sanchez Martin Alejandro <a16788@itesocci.gdl.iteso.mx>
To:        bmk@dtr.com
Cc:        freebsd-hardware@FreeBSD.org, freebsd-questions@FreeBSD.org
Subject:   Re: Multiport BOCA serial boards
Message-ID:  <Pine.SUN.3.91.950110111352.10676D-100000@itesocci>
In-Reply-To: <199501090124.RAA18343@dtr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry I don't know your name.

	With the flags you indicate wich sio have the master port.
the flags have 1 word or 2 bytes or 16 bits.

if the flags is 0x0B05 (in Hex) is tha same that 0b0000101100000101 (in Bin)

the minor byte (0x05 or 0b00000101) has tree bits that means something
                          ^    ^^^
                         127   421
the first (127) if enable (set to 1) it's enable diagnostics in probe
the second (4) if enable means that the card isn't an AST/4 compatible
               IRQ control register.
the third (2) if enable that means that the FIFO is going to be disable
the fourth (1) if enable means that is going to share an IRQ

	In this case 0x05 means: we don't have a diagnostic in probe, and 
that the card hasn't a AST/4 compatible IRQ control register and the 
FIFO is enable with a IRQ shared.

THe high byte (0x0B or 0b00001011) all his bits mean somthing

the firts (0b00001011) if set means that the port is goin to generate
             ^         a call out.
the second(0b00001011) if set means the device is going to be locked, the
              ^        CTS RTS are locked. (i ma not sure how work this  
                       bit.)
the tird (0b00001011)  if set means that the port is goin to be 
              ^        initializaded (i don't know how)
the rest (0b00001011)  is a number that represent in wich sio is the 
               ^^^^^   master port.
0b01011 is 11 in decimal, that means that sio11 is the master port.

try this options:

options		"COM_MULTIPORT"
device		sio4 at isa? port 2e0 tty flags 0x0905
device		sio5 at isa? port 2e8 tty flags 0x0905
device		sio6 at isa? port 2f0 tty flags 0x0905
device		sio7 at isa? port 2f8 tty flags 0x0905
device		sio8 at isa? port 3e8 tty flags 0x0905
device		sio9 at isa? port 3f8 tty flags 0x0905 irq 4 vector siointr

with the flags 0x0905 you are indicating tha the sio9 at the 3f8 port is 
the master port.

the vector siointr is the ISR (Interrup Service Rutine) you where 
talking about.

that was what i understand in the sio page.

if some one has an other version let us kwon.

i hope, i could help you. 

On Sun, 8 Jan 1995 bmk@dtr.com wrote:

> 
> OK, I'll take you up on that offer.
> 
> The sio man page refers to the 8 port Boca card, and says that the
> ISR needs to be a particular register on the "master" port.
> 
> This card appears to be a bit different.
> 
> What I'd like to do is configure the card for 3f8, 2f8, 3e8, 2e8, 3e0
> 2e0 all sharing IRQ 4.  I intend to put the ISR at 2f0.  I can't really
> configure it differently, because of hardware conflicts.
> 
> What I'm not sure of is how to indicate the master port in the kernel
> config, nor what flags to use on the ports.
> 
> 
> > Yes, it is compatible with FreeBSD
> 
> > at least with the 1.1.5, i have a 8 ports working in my computer.
> > if you have problems with the configuration, you can contact me with no 
> > charge.
> 
> > On Sun, 8 Jan 1995 bmk@dtr.com wrote:
> 
> > > I obtained a BOCA IOAT66, which is a 6-port sio board with 16550 UARTs.
> > > 
> > > I'm not sure if this is compatible with FreeBSD, but here's the
> > > specifics:
> > > 
> > > Ports
> > > 3f8 or 220	IRQ4 or shared
> > > 2f8 or 228	IRQ3 or shared
> > > 3e8 or 240	IRQ10 or shared
> > > 2e8 or 248	IRQ11 or shared
> > > 3e0 or 260	IRQ12 or shared
> > > 2e0 or 268	IRQ15 or shared
> > > 
> > > The shared interrupt can be 4 or 5.
> > > 
> > > In addition, there is an interrupt status register (on 2f0 or 208), which 
> > > maps one bit to each port.
> > > 
> > > I've checked the sio man page, and it doesn't sound like the AST shared-
> > > interrupt scheme to me.
> > > 
> > > Can I use this card with FreeBSD?
> > > 
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.950110111352.10676D-100000>