Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 1995 13:44:23 -0400 (EDT)
From:      "Don's FList drop" <freelist@elf.kendall.mdcc.edu>
To:        Denis Fortin <fortinde@dmr.ca>
Cc:        questions@freebsd.org
Subject:   Re: BocaBoard BB2016 kernel configuration
Message-ID:  <Pine.BSF.3.91.950830132411.4259A-100000@elf.kendall.mdcc.edu>
In-Reply-To: <199508301713.NAA01930@poterne.mtl.dmr.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 30 Aug 1995, Denis Fortin wrote:

>    I have recently installed a BB2016 in our Internet server.  Unfortunately,
> the man pages and the mail archives only contain info on how to set-up the
> BB1008 and BB1004 (except to say that the BB2016 is "like two BB1008" 
> together).

  We looking at the same man pages? You don't say if you're running 
2.0.5, but if you are, your problem is straightforward. I can't speak for 
the 2.0R and previous releases..

> device		sio2	at isa? port 0x100 tty flags 0x205 irq 11 vector siointr
								   ^^^^^^^^^^
Here's your problem, I'd bet - this belongs at the LAST port, not the
first. I don't recall the flags off the top of my head, but I'm sending
you my How-To sheet in another message (this list has now seen it once and
it's slated for the handbook, so I don't want to waste everyone's storage
space. Mail don@elf.kendall.mdcc.edu if anyone else wants a copy)

> it looks reasonable, but I'm a bit concerned about having 16 flags starting 
> with 0x2...  I would have assumed that the register would have been 8 bits and
> hence you could only have supported 8 ports off of a given port!?!  (so maybe
> the last 8 ports need to be 0xa05?)

No, same flag for all 16. It's really irrelevant - from the man sio page:

flags 0xb05 means that the 12th port (sio11) is the master port, and that
the port is on a multiport card with shared IRQs and no special IRQ con-
trol register. 

Which port is the master port depends on the card type.  Consult the
hardware documentation of your card.  Since IRQ status registers are nev-
er used, and IRQ control registers are only used for AST/4 compatible
cards, and some cards map the control/status registers to all ports in a
group, any port in a group will sometimes do for the master port. Choose
a port containing an IRQ status register for forwards compatibility, and
the highest possible port for consistency. 
****

The since the Boca doesn't use an AST compatible setup, it's really 
irrelevant. In fact, my current kernel config is incorrect, pointing at 
the second port of my Boca, and it works fine. The man page suggests you 
set it to the last port for consistancy. Seems unlikely you're gonna get 
an sio update with the same kernel, but who knows...

The 05 part of the flags are definately correct, however.

> This system is running an old snapshot from early February (with a couple
> of patches to fix crashes).  Has sio improved any in 2.0.5?  (I haven't
> upgraded since I didn't think it would help much).

Oops! You _did_ say what rev... lemmie look at my 2.0 april snap... Well, 
unless the sio driver changed from the feb snap to the april snap, 
they're the same.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950830132411.4259A-100000>