https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199013
Bug ID: 199013 Summary: Add ID for StarTech.com PCIe RS232 Serial Adapter Card Product: Base System Version: 10.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: mlsemo...@gmail.com Created attachment 154983 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154983&action=edit Add ID for Moschip chipset on StarTech.com serial adaper card PEX2S553 Hi! I bought a StarTech.com PCIe 2-port serial adapter card, Part # PEX2S553. I couldn't get it to work with the scc(4) driver. Thinking it was a matter of not knowing what serial driver to use--scc? puc? uart?--I grepped around the latest svn pull of 10.1-RELEASE until I found sys/dev/uart/uart_bus_pci.c. I adapted one of the MosChip entries and provide it as a patch. This card indeed uses the scc(4) driver. Serial sessions work fine, and the PPS is supported by this card. I can have one port at 4800 baud and the other port at 115200 baud. Looks good and my Garmin GPS18-LVC performs over it continuously, performing much like it did on x86 with standard motherboard serial ports. IOW, it works for every way I would normally use the serial port, no traps or other issues noted by the kernel. I did have issue trying to interrupt a process of doing a `cat /dev/ttyu3` while piping /dev/urandom from the other end of the serial cable, but that's been the only trouble spot (solved by clean reboot). The instructions claim that this card is a Moschip MCS9922CV-AA chipset. No other alterations have been required, and I wouldn't know how to make such modifications. dmesg shows this on boot: uart2: <MosChip MCS9922 PCIe to Peripheral Controller> port 0xdcf0-0xdcf7 mem 0xdfdfc000-0xdfdfcfff,0xdfdfd000-0xdfdfdfff irq 17 at device 0.0 on pci2 uart3: <MosChip MCS9922 PCIe to Peripheral Controller> port 0xdcf8-0xdcff mem 0xdfdfe000-0xdfdfefff,0xdfdff000-0xdfdfffff irq 18 at device 0.1 on pci2 Thanks! Michael -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"