From owner-freebsd-alpha@FreeBSD.ORG Sat Jun 14 10:18:03 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E918037B401 for ; Sat, 14 Jun 2003 10:18:03 -0700 (PDT) Received: from geddar.km.ua (geddar.km.ua [62.149.0.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id D59CE43FAF for ; Sat, 14 Jun 2003 10:18:01 -0700 (PDT) (envelope-from maxim@geddar.km.ua) Received: from geddar.km.ua (localhost [127.0.0.1]) by geddar.km.ua (8.12.9/8.12.9) with ESMTP id h5EHGtMW000787; Sat, 14 Jun 2003 20:17:00 +0300 (EEST) (envelope-from maxim@geddar.km.ua) Received: (from maxim@localhost) by geddar.km.ua (8.12.9/8.12.9/Submit) id h5EHGh0C000786; Sat, 14 Jun 2003 20:16:43 +0300 (EEST) Date: Sat, 14 Jun 2003 20:16:43 +0300 From: Maxim Mazurok To: Wilko Bulte Message-ID: <20030614171643.GS338@km.ua> References: <20030613224912.GB7279@cicely8.cicely.de> <20030613225959.GI338@km.ua> <20030613230232.GJ338@km.ua> <20030613232116.GC7279@cicely8.cicely.de> <20030613233057.GM338@km.ua> <20030613235336.GF7279@cicely8.cicely.de> <20030614002429.GN338@km.ua> <20030614002946.GG7279@cicely8.cicely.de> <20030614011348.GO338@km.ua> <20030614102321.GB49721@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030614102321.GB49721@freebie.xs4all.nl> User-Agent: Mutt/1.5.4i cc: ticso@cicely.de cc: freebsd-alpha@freebsd.org Subject: Re: additional com-port X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 17:18:04 -0000 On Sat, Jun 14, 2003 at 12:23:21PM +0200, Wilko Bulte wrote: >> >> >> >You just have to remove the flags which declare it to be a special >> >> >> >debug interface for to kernel. >> >> >> >See sio(4) manpage for details on flags. >> >> >> >> >> >> hmmm >> >> >> sio2 - it's no traditional com-port >> >> >> it's ISA Cisco router console (cisco AP-EC) >> >> >> i no need second onboard com-port, but i need access to cisco console >> >> > >> >> >And you can't just give it another IRQ? >> >> >> >> in SRM for onboard ports? >> > >> >You can check for, but I doubt that it's supported. >> >> yes :) >> i can only on/off port >> but strange: >> i off onboard com2, but freebsd see it: >> >> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 >> sio0: type 16550A, console >> sio0: interrupting at ISA irq 4 >> sio1 at port 0x2f8-0x2ff irq 3 on isa0 >> sio1: type 16550A >> sio1: interrupting at ISA irq 3 >> sio2: configured irq 4 not in bitmap of probed irqs 0 >> sio2 at port 0x3e8-0x3ef irq 4 on isa0 >> sio2: type 16450 >> >> i see in 'show config' - this port in disable state. > >IIRC isacfg just produces a table to be used by Tru64 or VMS but does >not actually disable any hardware components. This is a truly obscure >area of the SRM. it's right :( i try next config: >>>show config [...skip...] ISA Slot Device Name Type Enabled BaseAddr IRQ DMA 0 0 MOUSE Embedded Yes 60 12 1 KBD Embedded Yes 60 1 2 COM1 Embedded Yes 3f8 4 3 COM2 Embedded No 2f8 3 4 LPT1 Embedded Yes 3bc 7 5 FLOPPY Embedded Yes 3f0 6 2 2 0 COM4 Singleport Yes 2e8 3 in kernel: device sio0 at isa? port IO_COM1 irq 4 flags 0x10 #device sio1 at isa? port IO_COM2 irq 3 #flags 0x50 device sio3 at isa? port IO_COM4 irq 3 in dmesg: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio0: interrupting at ISA irq 4 sio3: configured irq 3 not in bitmap of probed irqs 0 sio3 at port 0x2e8-0x2ef irq 3 on isa0 sio3: type 16450 sio3: interrupting at ISA irq 3 no worked :(((( so, can i try to run serial port under FreeBSD in pooling mode? :) -- Maxim Mazurok (MMP2-RIPE)