From owner-freebsd-hackers Fri May 5 08:17:04 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA00163 for hackers-outgoing; Fri, 5 May 1995 08:17:04 -0700 Received: from trinity.radio-do.de (gate.Radio-do.de [193.101.164.225]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id IAA00152 for ; Fri, 5 May 1995 08:16:54 -0700 Date: Fri, 5 May 1995 17:12:25 +0200 From: Frank Nobis Message-Id: <199505051512.RAA03900@trinity.radio-do.de> Received: by trinity.radio-do.de (8.6.9/TRINITY-1.2.0-a) via EUnet id RAA03900; Fri, 5 May 1995 17:12:25 +0200 To: bde@zeta.org.au CC: archive@cps.cmich.edu, hackers@FreeBSD.org, jim@reptiles.org In-reply-to: <199505051400.AAA23749@godzilla.zeta.org.au> (message from Bruce Evans on Sat, 6 May 1995 00:00:43 +1000) Subject: Re: AST 4 port, pppd and FreeBSD 2.0--950412-SNAP Sender: hackers-owner@FreeBSD.org Precedence: bulk >>>>> "Bruce" == Bruce Evans 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