Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 1995 17:12:25 +0200
From:      Frank Nobis <fn@trinity.radio-do.de>
To:        bde@zeta.org.au
Cc:        archive@cps.cmich.edu, hackers@FreeBSD.org, jim@reptiles.org
Subject:   Re: AST 4 port, pppd and FreeBSD 2.0--950412-SNAP
Message-ID:  <199505051512.RAA03900@trinity.radio-do.de>
In-Reply-To: <199505051400.AAA23749@godzilla.zeta.org.au> (message from Bruce Evans on Sat, 6 May 1995 00:00:43 %2B1000)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Bruce" == Bruce Evans <bde@zeta.org.au> writes:

    >> This is what I use in my kernel config 
    >> options "COM_MULTIPORT" #Multiport support in sys/isa/sio.c ...
    >>
    >> device sio5 at isa? port 0x1b8 tty irq 9 flags 0x501 vector siointr 
    >> device sio4 at isa? port 0x1b0 tty flags 0x501 vector siointr

    Bruce> Specifying a vector without specifying an interrupt used
    Bruce> not to make any sense.  However, now userconfig (booting
    Bruce> with -c) allows you to change the irq and not the vector,
    Bruce> it's safest to always specify an irq.

This is from my old 1.1.5.1 kernel. When is added irq 9 to all ast
ports the kernel build fine, but configured only sio5. sio[432] are
discarded during attach through irq conflict with the master
port. Without the vector, the old 1.1.5.1 kernel won't even build.

I never changed my config file when I moved to 2.0, so I don't know if
this would work now as expected. Obviously my card runs with all 4
ports using the above configuration.

    >> >> And is there a way to put all four of the AST cards into one
    >> >> machine???

    >> My AST clone has only two IO address spaces low as above and a
    >> high space with 0x2a0, 0x2a8, 0x2b0 and 0x2b8. If your cards
    >> has more than this two it is possible as long as there are 4
    >> irq lines available.

    Bruce> I checked the docs for a standard AST 4port (actually a
    Bruce> 1986 Async Cluster Adapter).  It has the same limitation on
    Bruce> addresses, except it allows the first two ports to be at
    Bruce> the standard COM1-2 addresses.  It allows plenty of
    Bruce> interrupts (IRQ2-7).

    Bruce> Bruce

I can configure my card in two ways:

Port		DOS		Enhanced
1		com1/irq4	0x1a0/irqx
2		com2/irq3	0x1a8/irqx
3		0x1b0/irqx	0x1b0/irqx
4		0x1b8/irqx	0x1b8/irqx

irqx means irq[2-7] as shared irq.

So when I configure two cards in enhanced mode, I get 8 ports. I don"t
what happens to port 3/4, if one add a third card in DOS compatible
mode to get 10 ports, since that gives a conflict in the I/O space.

	Frank

-- 
 Frank Nobis				Email: fn@Radio-do.de 
 Landgrafenstr. 130			       fn@Germany.EU.net 
 44139 Dortmund				Fax: +49 231 7213816



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505051512.RAA03900>