From owner-freebsd-alpha@FreeBSD.ORG Fri Jun 13 16:21:28 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 E3DE137B401 for ; Fri, 13 Jun 2003 16:21:28 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5000F43FDF for ; Fri, 13 Jun 2003 16:21:27 -0700 (PDT) (envelope-from ticso@cicely8.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h5DNLLHq029035 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sat, 14 Jun 2003 01:21:24 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.1.10]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h5DNLJxZ007717 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 14 Jun 2003 01:21:20 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (localhost [127.0.0.1]) by cicely8.cicely.de (8.12.6/8.12.6) with ESMTP id h5DNLIFP007581; Sat, 14 Jun 2003 01:21:18 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: (from ticso@localhost) by cicely8.cicely.de (8.12.6/8.12.6/Submit) id h5DNLHK3007580; Sat, 14 Jun 2003 01:21:17 +0200 (CEST) Date: Sat, 14 Jun 2003 01:21:16 +0200 From: Bernd Walter To: Maxim Mazurok Message-ID: <20030613232116.GC7279@cicely8.cicely.de> References: <20030613210519.GH338@km.ua> <20030613224912.GB7279@cicely8.cicely.de> <20030613225959.GI338@km.ua> <20030613230232.GJ338@km.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030613230232.GJ338@km.ua> X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i 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 Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 23:21:29 -0000 On Sat, Jun 14, 2003 at 02:02:32AM +0300, Maxim Mazurok wrote: > On Sat, Jun 14, 2003 at 01:59:59AM +0300, Maxim Mazurok wrote: > > >>> i have small trouble > >>> i need to add subj to alpha > >>> 164SX mainboard > >>> i insert ISA com port width port 0x3e8 and irq 4 > >>> > >>> root@chinger:~#uname -a > >>> FreeBSD chinger.km.ua 4.8-STABLE FreeBSD 4.8-STABLE #10: Sun Jun 1 13:41:11 EEST 2003 root@chinger.km.ua:/var/opt/src/sys/compile/ALEPH alpha > >>> root@chinger:~#cat /sys/alpha/conf/ALEPH | grep COM > >>> # Serial (COM) ports (required) > >>> device sio0 at isa? port IO_COM1 irq 4 > >>> device sio1 at isa? port IO_COM2 irq 3 flags 0x50 > >>> device sio2 at isa? port IO_COM3 irq 4 > >>> root@chinger:~#cat /var/run/dmesg.boot | grep sio[0-2] > >>> sio0 at port 0x3f8-0x3ff irq 4 on isa0 > >>> sio0: type 16550A, console > >>> sio0: interrupting at ISA irq 4 > >>> sio1: reserved for low-level i/o > >>> sio2: configured irq 4 not in bitmap of probed irqs 0 > >>> sio2 at port 0x3e8-0x3ef irq 4 on isa0 > >>> sio2: type 16450 > >>> > >>> where i wrong? > >> > >>You can't share ISA IRQs. > > > >ok, can i deactivate one of onboard port. > > sorry. it's question. "ok, can i deactivate one of onboard port?" There is a iscgfg command in SRM, which can be used to disable onboard isa components. The best would be to download the pdf manual from hp, because the syntax is not that simple. > >i need only serial console and my additional card. What is wrong with the second onboard serial? 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. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de