[comp.unix.sysv386] 2 fas drivers, 1 machine

gws@n8emr.uucp (Gary Sanders) (02/10/91)

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.

I have 2 AST 4 port cards, 8 bit versions. Right now one is
installed and working fine on irq4/02a0h with fas207, (soon 208). 

Can I run 2 copys of the fas drivers. Set one up on IRQ3 with 01a0 as
the starting address and one on IRQ4 with 02a0 as the start address.
Can I run 2 copys and have the same IRQ with shared address mode set?

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?

Anyone know of a cheap source for 8 port serial cards.

Many thanks...


-- 
Gary W. Sanders (gws@n8emr or ...!osu-cis!n8emr!gws), 72277,1325
N8EMR @ W8CQK (ip addr) 44.70.0.1 [Ohio AMPR address coordinator]
HAM BBS (1200/2400/9600/V.32/PEP/MNP=L5) 614-895-2553
Voice: 614-895-2552 (eves/weekends)

jca@pnet01.cts.com (John C. Archambeau) (02/11/91)

gws@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.
>
>I have 2 AST 4 port cards, 8 bit versions. Right now one is
>installed and working fine on irq4/02a0h with fas207, (soon 208). 
>
>Can I run 2 copys of the fas drivers. Set one up on IRQ3 with 01a0 as
>the starting address and one on IRQ4 with 02a0 as the start address.
>Can I run 2 copys and have the same IRQ with shared address mode set?
>
>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?
>
>Anyone know of a cheap source for 8 port serial cards.

No, what I think you should do is modify your space.c so FAS is aware of all
of your AST FourPort cards.  You may also want to take advantage of the shared
interrupts since you have a pair of AST boards which do support shared
interrupts.

     // JCA

 /*
 **--------------------------------------------------------------------------*
 ** Flames  : /dev/null                     | What to buy?
 ** ARPANET : crash!pnet01!jca@nosc.mil     | EISA or MCA?
 ** INTERNET: jca@pnet01.cts.com            | When will the bus wars end?
 ** UUCP    : {nosc ucsd hplabs!hp-sdd}!crash!pnet01!jca
 **--------------------------------------------------------------------------*
 */

gemini@geminix.in-berlin.de (Uwe Doering) (02/12/91)

gws@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@geminix.in-berlin.de
Berlin       |----------------------------------------------------------------
Germany      |  UUCP : ...!unido!fub!geminix.in-berlin.de!gemini