additional com-port
Maxim Mazurok
maxim at km.ua
Sat Jun 14 10:18:04 PDT 2003
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)
More information about the freebsd-alpha
mailing list