2 fas drivers, 1 machine

Uwe Doering gemini at geminix.in-berlin.de
Tue Feb 12 07:16:09 AEST 1991


gws at n8emr.uucp (Gary Sanders) writes:

>Can you install 2 copys of the fas driver in one machines?
>
>What I am trying to do is add a second AST 4 port card and
>looking for the best way to do this.

No need to run 2 copies of FAS. Look at the file space.c. All
you have to do is to add the necessary init values to all arrays
that are indexed by NUM_PHYSICAL_UNITS so that you end up with
eight values per array. Set NUM_PHYSICAL_UNITS to 8 instead of
4, and don't forget to insert the control sequence for your
second AST card in the fas_init_seq array. You can configure
FAS for up to 16 ports by simply modifying space.c and the some
configuration support files like i_fas, n_fas and s_fas (operating
system dependent).

>Can I run 2 copys and have the same IRQ with shared address mode set?

No. AST cards need their own IRQ line for every block of four ports.

>Can I reconfigure my current fas driver to start at 01a0 and go up to 02bf
>and have a bunch of dummy ports in between the lower and upper 4?

It doesn't matter what's between two addresses. FAS will only look at
addresses that you explicitely tell it. Enter the eight addresses for
your two AST ports in space.c, and FAS will happily use them, and only
them.

      Uwe
-- 
Uwe Doering  |  INET : gemini at geminix.in-berlin.de
Berlin       |----------------------------------------------------------------
Germany      |  UUCP : ...!unido!fub!geminix.in-berlin.de!gemini



More information about the Comp.unix.sysv386 mailing list