Subject: cyclades and/or AST
To: None <port-i386@netbsd.org>
From: Jan-Hinrich Fessel <fessel@DeTeMobil.de>
List: port-i386
Date: 06/18/1999 19:51:25
--==_Exmh_-998139282P
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


Is anyone using an AST isa card or an cyclades 32Y pci successfully with 
-current?
I cannot get the cards to receive any characters, transmit seems not to work 
either (no blinking LED's on the modem) even though control lines do get 
asserted.

both are on (different) i386, 1.4-current an 1.3I.
ast0 at isa0 port 0x1a0-0x1bf irq 5
com2 at ast0 slave 0: ns8250 or ns16450, no fifo
com3 at ast0 slave 1: st16650, broken fifo
com4 at ast0 slave 2: st16650, broken fifo
com5 at ast0 slave 3: st16650, broken fifo

cy: Found Cyclades PCI device, id = 0x100120e
cy0 at pci0 dev 10 function 0cy: card reset done
cy0 probe chip 0 offset 0x0 ... firmware version 0x48
cy0 probe chip 1 offset 0x800 ... firmware version 0x48
cy0 probe chip 2 offset 0x1000 ... firmware version 0x48
cy0 probe chip 3 offset 0x1800 ... firmware version 0x48
cy0 probe chip 4 offset 0x400 ... not ready for command
found 4 CD1400s
: interrupting at irq 10
cy0attach CD1400 #0 offset 0x0
attach CD1400 #1 offset 0x800
attach CD1400 #2 offset 0x1000
attach CD1400 #3 offset 0x1800
: 16 ports

side note: the cyclades debugging stuff hasn't been touched for ages, it would 
not compile without un-send-pr'able fixes...
cy0 open port 0 flag 0x5 mode 0x2000
c1400_channel_cmd cy 0xf09b205c command 0x80
cy0: port 0 param tty 0xf0a41e00 termios 0xf0a41e90
ispeed 9600 ospeed 9600
c1400_channel_cmd cy 0xf09b205c command 0x1a
cor1 = 0x13...c1400_channel_cmd cy 0xf09b205c command 0x4e
cy0: port 0 ioctl cmd 0x8004745c data 0xf7decec0 flag 0x5
cy0: close port 0, flag 0x5, mode 0x2000
cy0: port 0 stop tty 0xf0a41e00 flag 0x3
cy0: port 0 stop tty 0xf0a41e00 flag 0x3
dialer# cu -l /dev/ttyc01 -s 115200
Connected.
Jun 18 19:50:28 dialer /netbsd: cy0 open port 1 flag 0x7 mode 0x2000
Jun 18 19:50:28 dialer /netbsd: c1400_channel_cmd cy 0xf09b2098 command 0x80
Jun 18 19:50:28 dialer /netbsd: cy0: port 1 param tty 0xf0ac7700 termios 
0xf0ac7790
Jun 18 19:50:28 dialer /netbsd: ispeed 9600 ospeed 9600
Jun 18 19:50:28 dialer /netbsd: c1400_channel_cmd cy 0xf09b2098 command 0x1a
Jun 18 19:50:28 dialer /netbsd: cor1 = 0x13...c1400_channel_cmd cy 0xf09b2098 
command 0x4e
Jun 18 19:50:28 dialer /netbsd: cy0: port 1 ioctl cmd 0x402c7413 data 
0xf7e0fec0 flag 0x7
Jun 18 19:50:28 dialer /netbsd: cy0: port 1 ioctl cmd 0x80047410 data 
0xf7e0fec0 flag 0x7
Jun 18 19:50:28 dialer /netbsd: cy0: port 1 ioctl cmd 0x802c7414 data 
0xf7e0fec0 flag 0x7
Jun 18 19:50:28 dialer /netbsd: cy0: port 1 param tty 0xf0ac7700 termios 
0xf7e0fec0
Jun 18 19:50:28 dialer /netbsd: ispeed 115200 ospeed 115200
Jun 18 19:50:28 dialer /netbsd: cor1 = 0x13...c1400_channel_cmd cy 0xf09b2098 
command 0x4e
Jun 18 19:50:28 dialer /netbsd: cy0: port 1 ioctl cmd 0x20007461 data 
0xf7e0fec0 flag 0x7
Jun 18 19:50:28 dialer /netbsd: cy0: port 1 ioctl cmd 0x802c7414 data 
0xf7e0fec0 flag 0x7
Jun 18 19:50:28 dialer /netbsd: cy0: port 1 param tty 0xf0ac7700 termios 
0xf7e0fec0
Jun 18 19:50:28 dialer /netbsd: ispeed 115200 ospeed 115200
Jun 18 19:50:28 dialer /netbsd: cor1 = 0x13...c1400_channel_cmd cy 0xf09b2098 
command 0x4e
Jun 18 19:50:28 dialer /netbsd: cy0: port 1 ioctl cmd 0x802c7415 data 
0xf7e0fec0 flag 0x7
Jun 18 19:50:28 dialer /netbsd: cy0: port 1 param tty 0xf0ac7700 termios 
0xf7e0fec0
Jun 18 19:50:28 dialer /netbsd: ispeed 115200 ospeed 115200
Jun 18 19:50:28 dialer /netbsd: cor1 = 0x13...c1400_channel_cmd cy 0xf09b2098 
command 0x4e
Jun 18 19:50:28 dialer /netbsd: cy0: port 1 ioctl cmd 0x8004667e data 
0xf7e12f20 flag 0x3
Jun 18 19:50:28 dialer /netbsd: cy0: port 1 ioctl cmd 0x8004667d data 
0xf7e12f20 flag 0x3
Jun 18 19:50:28 dialer /netbsd: cy0: read port 1 uio 0xf7e12f20 flag 0x0
Jun 18 19:50:31 dialer /netbsd: cy0: port 1 ioctl cmd 0x8004667e data 
0xf7e0ff20 flag 0x3
Jun 18 19:50:31 dialer /netbsd: cy0: port 1 ioctl cmd 0x8004667d data 
0xf7e0ff20 flag 0x3
Jun 18 19:50:31 dialer /netbsd: cy0: write port 1 uio 0xf7e0ff20 flag 0x1
Jun 18 19:50:31 dialer /netbsd: cy0: port 1 start, tty 0xf0ac7700
Jun 18 19:50:31 dialer /netbsd: cy0 port 1 tx service
Jun 18 19:50:31 dialer /netbsd: cy0: port 1 start, tty 0xf0ac7700
Jun 18 19:50:32 dialer /netbsd: cy0: write port 1 uio 0xf7e0ff20 flag 0x1
Jun 18 19:50:32 dialer /netbsd: cy0: port 1 start, tty 0xf0ac7700
Jun 18 19:50:32 dialer /netbsd: cy0 port 1 tx service
Jun 18 19:50:32 dialer /netbsd: cy0: port 1 start, tty 0xf0ac7700
Jun 18 19:50:33 dialer /netbsd: cy0: write port 1 uio 0xf7e0ff20 flag 0x1
Jun 18 19:50:33 dialer /netbsd: cy0: port 1 start, tty 0xf0ac7700
Jun 18 19:50:33 dialer /netbsd: cy0 port 1 tx service
Jun 18 19:50:33 dialer /netbsd: cy0: port 1 start, tty 0xf0ac7700

I have an old AST on 1.2G that works just fine and fear the upgrade because I 
need at least 4 serial lines working...

Grüße
	Oskar



--==_Exmh_-998139282P
Content-Type: application/pgp-signature

-----BEGIN PGP MESSAGE-----
Version: 2.6.3i

iQCVAwUBN2qHHbA63tqjeAhZAQH2JQP+LGXN7P6g6A3YX8dV9+t1N4Z7zoc8iUfK
z54vCljVeBG8/gBOsBHrpo/sTz+SnT3fMS6AYxbeWYGP3UZ2G+QXiEyfYqTLEz8m
5JYPfhFhwgUtSt7BQmZPpIF6ylYOloxWhmk69HzYr9GaWFBvSTaMUMyE5lxz5GEN
ayRVnVg+zTg=
=MOUJ
-----END PGP MESSAGE-----

--==_Exmh_-998139282P--