Discussion:
support for Oxford Semiconductor OXPCIe952 UARTs
(too old to reply)
Konstantin V. Krotov
2011-09-21 12:39:22 UTC
Permalink
hello.
i'm have on fbsd RELENG_8 pci-e card with 1 rs-232 port.
and this card don't support.

(after patch)
pciconf -lv
***@pci0:5:0:0: class=0x070002 card=0xc1381415 chip=0xc1381415
rev=0x00 hdr=0x00
vendor = 'Oxford Semiconductor Ltd - now part of PLX Technology'
class = simple comms
subclass = UART

i wrote fast-hack patch:

--- pucdata.c 2011-08-22 22:46:02.000000000 +0400
+++ pucdata.c_ 2011-09-06 13:27:23.000000000 +0400
@@ -739,6 +739,13 @@
PUC_PORT_NONSTANDARD, 0x10, 0, -1,
.config_function = puc_config_oxford_pcie
},
+
+ { 0x1415, 0xc138, 0xffff, 0,
+ "Oxford Semiconductor OXPCIe952 UARTs",
+ DEFAULT_RCLK * 0x22,
+ PUC_PORT_NONSTANDARD, 0x10, 0, -1,
+ .config_function = puc_config_oxford_pcie
+ },

{ 0x1415, 0xc15d, 0xffff, 0,
"Oxford Semiconductor OXPCIe952 UARTs (function 1)",
--
WBR, Konstantin V. Krotov
CJSs "Information Systems"
mailto: ***@insysnet.ru
phone: +7 (8332) 51-35-95
Andriy Gapon
2011-09-21 19:49:27 UTC
Permalink
Post by Konstantin V. Krotov
hello.
i'm have on fbsd RELENG_8 pci-e card with 1 rs-232 port.
and this card don't support.
(after patch)
pciconf -lv
hdr=0x00
vendor = 'Oxford Semiconductor Ltd - now part of PLX Technology'
class = simple comms
subclass = UART
Does the device work correctly with this patch?
If yes, could you please submit the patch in a PR and also send a message about
the PR to either current@ or stable@ mailing list depending on what version of
FreeBSD you used?
Thank you!
Post by Konstantin V. Krotov
--- pucdata.c 2011-08-22 22:46:02.000000000 +0400
+++ pucdata.c_ 2011-09-06 13:27:23.000000000 +0400
@@ -739,6 +739,13 @@
PUC_PORT_NONSTANDARD, 0x10, 0, -1,
.config_function = puc_config_oxford_pcie
},
+
+ { 0x1415, 0xc138, 0xffff, 0,
+ "Oxford Semiconductor OXPCIe952 UARTs",
+ DEFAULT_RCLK * 0x22,
+ PUC_PORT_NONSTANDARD, 0x10, 0, -1,
+ .config_function = puc_config_oxford_pcie
+ },
{ 0x1415, 0xc15d, 0xffff, 0,
"Oxford Semiconductor OXPCIe952 UARTs (function 1)",
--
Andriy Gapon
Loading...