Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 01:21:16 +0200
From:      Bernd Walter <ticso@cicely8.cicely.de>
To:        Maxim Mazurok <maxim@km.ua>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: additional com-port
Message-ID:  <20030613232116.GC7279@cicely8.cicely.de>
In-Reply-To: <20030613230232.GJ338@km.ua>
References:  <20030613210519.GH338@km.ua> <20030613224912.GB7279@cicely8.cicely.de> <20030613225959.GI338@km.ua> <20030613230232.GJ338@km.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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