NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/58824: [patch] Add support for more PUC cards and update documentation.
>Number: 58824
>Category: kern
>Synopsis: [patch] Add support for more PUC cards and update documentation.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 10 20:45:00 +0000 2024
>Originator: Cameron Williams
>Release: HEAD
>Organization:
>Environment:
>Description:
Patch to add some PCI-Express puc(4) cards. Some of these cards are multi-IO but only COM has been added as it's all I can test. Documentation also updated.
>How-To-Repeat:
>Fix:
--- /usr/src.orig/sys/dev/pci/pcidevs 2024-11-10 20:23:49.375651048 +0000
+++ /usr/src/sys/dev/pci/pcidevs 2024-11-09 15:34:19.165874678 +0000
@@ -2582,7 +2582,37 @@
product BRAINBOXES IS200 0x0d80 Intashield IS-200
product BRAINBOXES IS300 0x0da0 Intashield IS-300
product BRAINBOXES IS400 0x0dc0 Intashield IS-400
+product BRAINBOXES PX279 0x0e41 Brainboxes PX-279
product BRAINBOXES UC414 0x0e61 Brainboxes UC-414
+product BRAINBOXES PX420 0x4000 Brainboxes PX-420
+product BRAINBOXES PX431 0x4001 Brainboxes PX-431
+product BRAINBOXES PX820 0x4002 Brainboxes PX-820
+product BRAINBOXES PX831 0x4003 Brainboxes PX-831
+product BRAINBOXES PX246 0x4004 Brainboxes PX-246
+product BRAINBOXES PX101 0x4005 Brainboxes PX-101
+product BRAINBOXES PX257 0x4006 Brainboxes PX-257
+product BRAINBOXES PX846 0x4008 Brainboxes PX-846
+product BRAINBOXES PX857 0x4009 Brainboxes PX-857
+product BRAINBOXES PX260 0x400a Brainboxes PX-260
+product BRAINBOXES PX320 0x400b Brainboxes PX-320
+product BRAINBOXES PX313 0x400c Brainboxes PX-313
+product BRAINBOXES PX310 0x400e Brainboxes PX-310
+product BRAINBOXES PX346 0x400f Brainboxes PX-346
+product BRAINBOXES PX368 0x4010 Brainboxes PX-368
+product BRAINBOXES PX420R3 0x4011 Brainboxes PX-420
+product BRAINBOXES PX431R3 0x4012 Brainboxes PX-431
+product BRAINBOXES PX820R3 0x4013 Brainboxes PX-820
+product BRAINBOXES PX831R3 0x4014 Brainboxes PX-831
+product BRAINBOXES PX257R3 0x4015 Brainboxes PX-257
+product BRAINBOXES PX246R3 0x4016 Brainboxes PX-246
+product BRAINBOXES PX846R3 0x4017 Brainboxes PX-846
+product BRAINBOXES PX857R3 0x4018 Brainboxes PX-857
+product BRAINBOXES PX101R3 0x4019 Brainboxes PX-101
+product BRAINBOXES PX475 0x401d Brainboxes PX-475
+product BRAINBOXES PX803 0x401e Brainboxes PX-803
+product BRAINBOXES IX100 0x4027 Intashield IX-100
+product BRAINBOXES IX200 0x4028 Intashield IX-200
+product BRAINBOXES IX400 0x4029 Intashield IX-400
/* Broadcom products */
product BROADCOM BCM5752 0x1600 BCM5752 NetXtreme 1000baseT Ethernet
--- /usr/src.orig/sys/dev/pci/pucdata.c 2024-11-10 20:23:49.405555154 +0000
+++ /usr/src/sys/dev/pci/pucdata.c 2024-11-09 16:40:42.768481461 +0000
@@ -256,6 +256,31 @@
{ PUC_PORT_TYPE_COM, PCI_BAR2, 0x0018, COM_FREQ },
},
},
+ { "Brainboxes IX-100",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_IX100, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes IX-200",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_IX200, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes IX-400",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_IX400, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1400, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1600, COM_FREQ * 0x22 },
+ },
+ },
{ "Brainboxes UC-101",
{ PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_UC101, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
@@ -652,6 +677,227 @@
{ PUC_PORT_TYPE_COM, PCI_BAR2, 0x0008, COM_FREQ },
},
},
+ { "Brainboxes PX-101",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX101, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0000, COM_FREQ },
+ },
+ },
+ { "Brainboxes PX-101",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX101R3, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-246",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX246, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0000, COM_FREQ },
+ },
+ },
+ { "Brainboxes PX-246",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX246R3, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-257",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX257, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0000, COM_FREQ },
+ },
+ },
+ { "Brainboxes PX-257",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX257R3, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-260",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX260, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1400, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1600, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-279",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX279, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR2, 0x0000, COM_FREQ },
+ { PUC_PORT_TYPE_COM, PCI_BAR2, 0x0008, COM_FREQ },
+ { PUC_PORT_TYPE_COM, PCI_BAR2, 0x0010, COM_FREQ },
+ { PUC_PORT_TYPE_COM, PCI_BAR2, 0x0018, COM_FREQ },
+ { PUC_PORT_TYPE_COM, PCI_BAR2, 0x0020, COM_FREQ },
+ { PUC_PORT_TYPE_COM, PCI_BAR2, 0x0028, COM_FREQ },
+ { PUC_PORT_TYPE_COM, PCI_BAR2, 0x0030, COM_FREQ },
+ { PUC_PORT_TYPE_COM, PCI_BAR2, 0x0038, COM_FREQ },
+ },
+ },
+ { "Brainboxes PX-310",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX310, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-313",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX313, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-320",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX320, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-346",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX346, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1400, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1600, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-368",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX368, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1400, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1600, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-420",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX420, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0000, COM_FREQ },
+ },
+ },
+ { "Brainboxes PX-420",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX420R3, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1400, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1600, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-431",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX431, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0000, COM_FREQ },
+ },
+ },
+ { "Brainboxes PX-431",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX431R3, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1400, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-475",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX475, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-803",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX803, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-820",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX820, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0000, COM_FREQ },
+ },
+ },
+ { "Brainboxes PX-820",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX820R3, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1400, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1600, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-831",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX831, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0000, COM_FREQ },
+ },
+ },
+ { "Brainboxes PX-831",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX831R3, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1400, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-846",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX846, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0000, COM_FREQ },
+ },
+ },
+ { "Brainboxes PX-846",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX846R3, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ },
+ },
+ { "Brainboxes PX-857",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX857, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0000, COM_FREQ },
+ },
+ },
+ { "Brainboxes PX-857",
+ { PCI_VENDOR_BRAINBOXES, PCI_PRODUCT_BRAINBOXES_PX857R3, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+ },
+ },
/*
* Comtrol
--- /usr/src.orig/share/man/man4/puc.4 2024-11-10 20:23:39.025989045 +0000
+++ /usr/src/share/man/man4/puc.4 2024-11-10 20:03:06.246690523 +0000
@@ -73,6 +73,9 @@
.It Tn "Avlab PCI 2S (2 port serial)"
.It Tn "Boca Research Turbo Serial 654 (4 port serial)"
.It Tn "Boca Research Turbo Serial 658 (8 port serial)"
+.It Tn "Brainboxes UC card range"
+.It Tn "Brainboxes UP card range"
+.It Tn "Brainboxes PX card range"
.It Tn "Chase Research / Perle PCI-FAST4 (4 port serial)"
.It Tn "Chase Research / Perle PCI-FAST8 (8 port serial)"
.It Tn "Comtrol RocketPort 550/4 series (4 port serial)"
@@ -93,6 +96,13 @@
.It Tn "Exsys EX-41098 (4 port serial)"
.It Tn "IBM 4810 SurePOS 300 Series SCC (4 port serial)"
.It Tn "InnoSys Keyspan SX Pro (4 port serial)"
+.It Tn "IntaShield IS-100 (single serial)"
+.It Tn "IntaShield IS-200 (dual serial)"
+.It Tn "IntaShield IS-300 (single serial only)"
+.It Tn "IntaShield IS-400 (4 port serial)"
+.It Tn "IntaShield IX-100 (single serial)"
+.It Tn "IntaShield IX-200 (dual serial)"
+.It Tn "IntaShield IX-400 (4 port serial)"
.It Tn "Intel chipset internal Serial over LAN"
.It Tn "I-O DATA RSA-PCI (2 port serial)"
.It Tn "I-O DATA RSA-PCI2 (2 port serial)"
--- /usr/src.orig/share/man/man4/uftdi.4 2024-11-10 20:23:39.070372659 +0000
+++ /usr/src/share/man/man4/uftdi.4 2024-11-10 20:15:15.574652723 +0000
@@ -55,6 +55,7 @@
.Pp
.Bl -tag -width Dv -offset indent -compact
.It Tn B&B Electronics uLinks RS-422/485
+.It Tn Brainboxes US serial converter range
.It Tn Buffalo BSUSRC06
.It Tn CableCreation CD0487
.It Tn Coastal ChipWorks TNC-X
Home |
Main Index |
Thread Index |
Old Index