On Wednesday 25 January 2006 09:08, Vitaliy Skakun wrote: > 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 > > [EMAIL PROTECTED]:/<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 [EMAIL PROTECTED]:/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. > > [EMAIL PROTECTED]:/<3>dev/rp [0]# pciconf -lv > > #...output skipped > > [EMAIL PROTECTED]: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: > [EMAIL PROTECTED]:/<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
I've committed it to HEAD and will MFC in a few days so it will be in 6.1. -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

