Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Add support for new SUNIX PCI seriel and/or para...
details: https://anonhg.NetBSD.org/src/rev/fee06e8cbad4
branches: trunk
changeset: 764742:fee06e8cbad4
user: manu <manu%NetBSD.org@localhost>
date: Mon May 02 14:23:24 2011 +0000
description:
Add support for new SUNIX PCI seriel and/or parallel adapters, with new
SUNIX vendor Id 0x1fd4 and product Id 0x1999. Constants were taken from
Linux open source driver distributed by SUNIX.
The following models should be supported now:
5008 1 parallel port
5016 16 serial ports, only 8 supported right now (PUC_MAX_PORTS limit)
5027 1 serial port
5037 2 serial ports
5056 4 serial ports
5066 8 serial ports, this model is the only one that was actually tested.
5069 1 serial port and 1 parallel port
5079 2 serial ports and 1 parallel port
5099 4 serial ports and 1 parallel port
diffstat:
sys/dev/pci/pcidevs.h | 9 +-
sys/dev/pci/pcidevs_data.h | 13126 +++++++++++++++++++++---------------------
sys/dev/pci/pucdata.c | 22 +-
3 files changed, 6586 insertions(+), 6571 deletions(-)
diffs (truncated from 16832 to 300 lines):
diff -r a248cc1e125e -r fee06e8cbad4 sys/dev/pci/pcidevs.h
--- a/sys/dev/pci/pcidevs.h Mon May 02 14:06:50 2011 +0000
+++ b/sys/dev/pci/pcidevs.h Mon May 02 14:23:24 2011 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: pcidevs.h,v 1.1068 2011/04/13 22:24:45 wiz Exp $ */
+/* $NetBSD: pcidevs.h,v 1.1069 2011/05/02 14:23:24 manu Exp $ */
/*
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * NetBSD: pcidevs,v 1.1071 2011/04/13 22:24:12 wiz Exp
+ * NetBSD: pcidevs,v 1.1073 2011/05/02 14:06:50 manu Exp
*/
/*
@@ -633,6 +633,7 @@
#define PCI_VENDOR_QUMRANET 0x1af4 /* Qumranet */
#define PCI_VENDOR_SYMPHONY2 0x1c1c /* Symphony Labs (2nd PCI Vendor ID) */
#define PCI_VENDOR_TEKRAM2 0x1de1 /* Tekram Technology (2nd PCI Vendor ID) */
+#define PCI_VENDOR_SUNIX2 0x1fd4 /* SUNIX Co */
#define PCI_VENDOR_HINT 0x3388 /* HiNT */
#define PCI_VENDOR_3DLABS 0x3d3d /* 3D Labs */
#define PCI_VENDOR_AVANCE2 0x4005 /* Avance Logic (2nd PCI Vendor ID) */
@@ -4246,6 +4247,10 @@
#define PCI_PRODUCT_SUNDANCETI_ST1023 0x1023 /* ST1023 Gigabit Ethernet */
#define PCI_PRODUCT_SUNDANCETI_ST2021 0x2021 /* ST2021 Gigabit Ethernet */
+/* SUNIX products */
+#define PCI_PRODUCT_SUNIX_0001 0x0001 /* Matrix serial adapter */
+#define PCI_PRODUCT_SUNIX_1999 0x1999 /* 1999 multiport adapter */
+
/* Surecom Technology products */
#define PCI_PRODUCT_SURECOM_NE34 0x0e34 /* NE-34 Ethernet */
diff -r a248cc1e125e -r fee06e8cbad4 sys/dev/pci/pcidevs_data.h
--- a/sys/dev/pci/pcidevs_data.h Mon May 02 14:06:50 2011 +0000
+++ b/sys/dev/pci/pcidevs_data.h Mon May 02 14:23:24 2011 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: pcidevs_data.h,v 1.1067 2011/04/13 22:24:45 wiz Exp $ */
+/* $NetBSD: pcidevs_data.h,v 1.1068 2011/05/02 14:23:24 manu Exp $ */
/*
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * NetBSD: pcidevs,v 1.1071 2011/04/13 22:24:12 wiz Exp
+ * NetBSD: pcidevs,v 1.1073 2011/05/02 14:06:50 manu Exp
*/
/*
@@ -611,7100 +611,7105 @@
PCI_VENDOR_QUMRANET, 5129, 0,
PCI_VENDOR_SYMPHONY2, 1752, 209, 610, 615, 619, 626, 0,
PCI_VENDOR_TEKRAM2, 2170, 127, 610, 615, 619, 626, 0,
- PCI_VENDOR_HINT, 5138, 0,
- PCI_VENDOR_3DLABS, 5143, 209, 0,
+ PCI_VENDOR_SUNIX2, 4639, 5138, 0,
+ PCI_VENDOR_HINT, 5141, 0,
+ PCI_VENDOR_3DLABS, 5146, 209, 0,
PCI_VENDOR_AVANCE2, 138, 86, 610, 615, 619, 626, 0,
- PCI_VENDOR_ADDTRON, 5146, 127, 0,
- PCI_VENDOR_ICOMPRESSION, 4783, 5154, 0,
- PCI_VENDOR_INDCOMPSRC, 1688, 47, 5169, 0,
- PCI_VENDOR_NETVIN, 5176, 0,
- PCI_VENDOR_BUSLOGIC2, 5183, 610, 615, 619, 626, 0,
- PCI_VENDOR_MEDIAQ, 5192, 0,
- PCI_VENDOR_GUILLEMOT, 5199, 0,
- PCI_VENDOR_TURTLE_BEACH, 5209, 5216, 0,
- PCI_VENDOR_S3, 5222, 0,
+ PCI_VENDOR_ADDTRON, 5149, 127, 0,
+ PCI_VENDOR_ICOMPRESSION, 4783, 5157, 0,
+ PCI_VENDOR_INDCOMPSRC, 1688, 47, 5172, 0,
+ PCI_VENDOR_NETVIN, 5179, 0,
+ PCI_VENDOR_BUSLOGIC2, 5186, 610, 615, 619, 626, 0,
+ PCI_VENDOR_MEDIAQ, 5195, 0,
+ PCI_VENDOR_GUILLEMOT, 5202, 0,
+ PCI_VENDOR_TURTLE_BEACH, 5212, 5219, 0,
+ PCI_VENDOR_S3, 5225, 0,
PCI_VENDOR_NETPOWER2, 3000, 610, 615, 619, 626, 0,
- PCI_VENDOR_XENSOURCE, 5225, 4444, 0,
- PCI_VENDOR_C4T, 5236, 5240, 0,
- PCI_VENDOR_DCI, 5248, 47, 0,
- PCI_VENDOR_KURUSUGAWA, 5257, 932, 0,
- PCI_VENDOR_PCHDTV, 5268, 0,
- PCI_VENDOR_QUANCM, 5275, 2356, 5282, 0,
- PCI_VENDOR_INTEL, 5287, 0,
+ PCI_VENDOR_XENSOURCE, 5228, 4444, 0,
+ PCI_VENDOR_C4T, 5239, 5243, 0,
+ PCI_VENDOR_DCI, 5251, 47, 0,
+ PCI_VENDOR_KURUSUGAWA, 5260, 932, 0,
+ PCI_VENDOR_PCHDTV, 5271, 0,
+ PCI_VENDOR_QUANCM, 5278, 2356, 5285, 0,
+ PCI_VENDOR_INTEL, 5290, 0,
PCI_VENDOR_TRIGEM2, 1607, 47, 610, 615, 619, 626, 0,
- PCI_VENDOR_PROLAN, 5293, 0,
- PCI_VENDOR_COMPUTONE, 5300, 0,
- PCI_VENDOR_KTI, 5310, 0,
- PCI_VENDOR_ADP, 5314, 0,
- PCI_VENDOR_ADP2, 5314, 610, 615, 619, 626, 0,
- PCI_VENDOR_ATRONICS, 5322, 0,
- PCI_VENDOR_NETMOS, 5331, 0,
- PCI_VENDOR_PARALLELS, 5338, 0,
- PCI_VENDOR_CHRYSALIS, 5348, 0,
- PCI_VENDOR_MIDDLE_DIGITAL, 5362, 240, 0,
+ PCI_VENDOR_PROLAN, 5296, 0,
+ PCI_VENDOR_COMPUTONE, 5303, 0,
+ PCI_VENDOR_KTI, 5313, 0,
+ PCI_VENDOR_ADP, 5317, 0,
+ PCI_VENDOR_ADP2, 5317, 610, 615, 619, 626, 0,
+ PCI_VENDOR_ATRONICS, 5325, 0,
+ PCI_VENDOR_NETMOS, 5334, 0,
+ PCI_VENDOR_PARALLELS, 5341, 0,
+ PCI_VENDOR_CHRYSALIS, 5351, 0,
+ PCI_VENDOR_MIDDLE_DIGITAL, 5365, 240, 0,
PCI_VENDOR_ARC, 1989, 86, 0,
- PCI_VENDOR_INVALID, 5369, 5377, 5384, 0,
+ PCI_VENDOR_INVALID, 5372, 5380, 5387, 0,
};
static const uint16_t pci_products[] = {
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C985,
- 5387, 5393, 5401, 0,
+ 5390, 5396, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C996,
- 5410, 5416, 5401, 0,
+ 5413, 5419, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C556MODEM,
- 5428, 5434, 5439, 5448, 0,
+ 5431, 5437, 5442, 5451, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C940,
- 5454, 5393, 5401, 0,
+ 5457, 5396, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C339,
- 5460, 5466, 5476, 0,
+ 5463, 5469, 5479, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C359,
- 5485, 5466, 5476, 5491, 0,
+ 5488, 5469, 5479, 5494, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C450TX,
- 5494, 5503, 5401, 0,
+ 5497, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C575TX,
- 5510, 5503, 5401, 0,
+ 5513, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C575BTX,
- 5519, 5503, 5401, 0,
+ 5522, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C575CTX,
- 5530, 5503, 5401, 0,
+ 5533, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C590,
- 5541, 5401, 0,
+ 5544, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C595TX,
- 5547, 5503, 5401, 0,
+ 5550, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C595T4,
- 5556, 5503, 5401, 0,
+ 5559, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C595MII,
- 5565, 5503, 5401, 0,
+ 5568, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C555,
- 5575, 5503, 5439, 5401, 0,
+ 5578, 5506, 5442, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C154G72,
- 5581, 4722, 4535, 5593, 0,
+ 5584, 4722, 4535, 5596, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C556,
- 5428, 5503, 5439, 5401, 0,
+ 5431, 5506, 5442, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C556B,
- 5601, 5503, 5439, 5401, 0,
+ 5604, 5506, 5442, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C656_E,
- 5608, 5503, 5401, 0,
+ 5611, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C656_M,
- 5608, 5618, 5448, 0,
+ 5611, 5621, 5451, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C656B_E,
- 5622, 5503, 5401, 0,
+ 5625, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C656B_M,
- 5622, 5618, 5448, 0,
+ 5625, 5621, 5451, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C656C_E,
- 5633, 5503, 5401, 0,
+ 5636, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C656C_M,
- 5633, 5618, 5448, 0,
+ 5636, 5621, 5451, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CSOHO100TX,
- 5644, 5503, 5401, 0,
+ 5647, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CRWE777A,
- 5657, 5667, 0,
+ 5660, 5670, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C804,
- 5678, 5684, 5693, 0,
+ 5681, 5687, 5696, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_TOKEN,
- 5697, 5703, 0,
+ 5700, 5706, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C900TPO,
- 5708, 5401, 0,
+ 5711, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C900COMBO,
- 5718, 5401, 0,
+ 5721, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C905TX,
- 5730, 5503, 5401, 0,
+ 5733, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C905T4,
- 5739, 5503, 5401, 0,
+ 5742, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C900BTPO,
- 5748, 5401, 0,
+ 5751, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C900BCOMBO,
- 5759, 5401, 0,
+ 5762, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C900BTPC,
- 5772, 5401, 0,
+ 5775, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C905BTX,
- 5783, 5503, 5401, 0,
+ 5786, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C905BT4,
- 5793, 5503, 5401, 0,
+ 5796, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C905BCOMBO,
- 5803, 5503, 5401, 0,
+ 5806, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C905BFX,
- 5816, 5826, 5401, 0,
+ 5819, 5829, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C905CTX,
- 5830, 5503, 5401, 5840, 5843, 0,
+ 5833, 5506, 5404, 5843, 5846, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C905CXTX,
- 5849, 5503, 5401, 5840, 5843, 0,
+ 5852, 5506, 5404, 5843, 5846, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C920BEMBW,
- 5860, 692, 2455, 5401, 0,
+ 5863, 692, 2455, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C910SOHOB,
- 5875, 5881, 5895, 5401, 0,
+ 5878, 5884, 5898, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C980SRV,
- 5903, 5909, 5593, 5503, 5401, 0,
+ 5906, 5912, 5596, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C980CTXM,
- 5916, 5503, 5401, 0,
+ 5919, 5506, 5404, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990,
- 5927, 5503, 5401, 5840, 5936, 0,
+ 5930, 5506, 5404, 5843, 5939, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990TX95,
- 5940, 5503, 5401, 5840, 5936, 0,
+ 5943, 5506, 5404, 5843, 5939, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990TX97,
- 5953, 5503, 5401, 5840, 5936, 0,
+ 5956, 5506, 5404, 5843, 5939, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C990B,
- 5966, 5503, 5401, 5840, 5936, 0,
+ 5969, 5506, 5404, 5843, 5939, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990FX,
- 5973, 5826, 5401, 5840, 5936, 0,
+ 5976, 5829, 5404, 5843, 5939, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990SVR95,
- 5983, 5503, 5401, 5840, 5936, 0,
+ 5986, 5506, 5404, 5843, 5939, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990SVR97,
- 5997, 5503, 5401, 5840, 5936, 0,
+ 6000, 5506, 5404, 5843, 5939, 0,
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C990BSVR,
- 6011, 5503, 5401, 5840, 5936, 0,
+ 6014, 5506, 5404, 5843, 5939, 0,
PCI_VENDOR_3DFX, PCI_PRODUCT_3DFX_VOODOO,
- 6021, 0,
+ 6024, 0,
PCI_VENDOR_3DFX, PCI_PRODUCT_3DFX_VOODOO2,
- 6028, 0,
+ 6031, 0,
PCI_VENDOR_3DFX, PCI_PRODUCT_3DFX_BANSHEE,
- 6036, 0,
+ 6039, 0,
PCI_VENDOR_3DFX, PCI_PRODUCT_3DFX_VOODOO3,
- 6044, 0,
+ 6047, 0,
PCI_VENDOR_3DFX, PCI_PRODUCT_3DFX_VOODOO5,
- 6021, 6052, 0,
+ 6024, 6055, 0,
PCI_VENDOR_3DLABS, PCI_PRODUCT_3DLABS_300SX,
- 6056, 6062, 0,
+ 6059, 6065, 0,
PCI_VENDOR_3DLABS, PCI_PRODUCT_3DLABS_500TX,
- 6056, 6068, 0,
Home |
Main Index |
Thread Index |
Old Index