Comtrol Rocketport UNIVERSAL PCI 32-port
Vitaliy Skakun
vit.ska at gmail.com
Wed Jan 25 06:08:20 PST 2006
Hi everybody!
Due to http://www.freebsd.org/releases/6.0R/hardware-i386.html , tried to
set up the following device
with driver rp(4):
http://www.shopcomtrol.com/product.asp?sku=2338510
root at pl2:/<3>dev/rp [0]# uname -a
FreeBSD pl2.xxx.yyy 6.0-STABLE FreeBSD 6.0-STABLE #7: Wed Jan 25 10:49:28
UTC 2006 root at pl2.xxx.yyy:/usr/obj/usr/src/sys/JBOSS-4BSD i386
( RELENG_6 dating about middle of December, 2005 )
I got the following message from kernel:
rp0: <RocketPort PCI> port 0x9c80-0x9cff,0x9800-0x98ff mem
0xfdcffc00-0xfdcffc7f irq 16 at device 1.0 on pci16
rp0: ioaddr mapping failed for RocketPort(PCI).
device_attach: rp0 attach returned 6
After quick investigation discovered that rp(4) doesn't have support for
this device's PCI id ( correct me pls if my understanding is wrong),
so I added it.
root at pl2:/<3>dev/rp [0]# pciconf -lv
#...output skipped
rp0 at pci16:1:0: class=0x078000 card=0x080111fe chip=0x080111fe rev=0x01
hdr=0x00
vendor = 'Comtrol Corp'
device = 'RocketPort UPCI 32 port w/external I/F'
class = simple comms
device id = 0x0801
As the current RELENG_6 rp_pci.c revision is the same as I have on server (=
1.11), I attached the patch.
Pls check.
P.S. After this applying patch the device seem to be working ok:
root at pl2:/<3>dev/rp [0]# grep -i rocketport /var/run/dmesg.boot
rp0: <RocketPort PCI> port 0x9c80-0x9cff,0x9800-0x98ff mem
0xfdcffc00-0xfdcffc7f irq 16 at device 1.0 on pci16
RocketPort0 (Version 3.02) 32 ports.
Lots of serial devices appeared in /dev/ , and simple testing show them
working.
Cheers,
Vit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rp_pci.c.1.11.diff
Type: application/octet-stream
Size: 513 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060125/05c30c70/rp_pci.c.1.11.obj
More information about the freebsd-hackers
mailing list