Subject: kern/15370: Add support for board w/ other Oxford Semi. PUCs
To: None <gnats-bugs@gnats.netbsd.org>
From: Paul Shupak <paul@Plectere.com>
List: netbsd-bugs
Date: 01/25/2002 19:42:41
>Number: 15370
>Category: kern
>Synopsis: Add support for board w/ other Oxford Semi. PUCs
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Fri Jan 25 19:43:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Paul Shupak
>Release: NetBSD 1.5ZA
>Organization:
>Environment:
System: NetBSD svcs 1.5ZA NetBSD 1.5ZA (PCOM-$Revision: 1.23 $) #170: Fri Jan 25 02:18:46 PST 2002 paul@svcs:/usr/src/sys/arch/i386/compile/PCOM i386
Architecture: i386
Machine: i386
>Description:
Normally, not recognized, with the patch below, gives
...
com2 at puc0 port 0: interrupting at irq 11
com2: st16650a, working fifo
com3 at puc0 port 1: interrupting at irq 11
com3: st16650a, working fifo
puc1 at pci1 dev 9 function 1: Oxford Semiconductor OX16PCI840 Parallel port (lpt)
lpt1 at puc1 port 0: interrupting at irq 11
...
P.S. Note: 'O' => 'Q' in current entries!
>How-To-Repeat:
A) Use a cheap CompUSA branded board ( quite a bargain at $29 ),
find it has an Oxford 952/840 chip.
A) Boot
>Fix:
*** pucdata.c Sat Dec 22 13:05:03 2001
--- /usr/src/sys/dev/pci/pucdata.c Fri Jan 25 19:33:10 2002
***************
*** 652,663 ****
* Oxford Semiconductor provides documentation for their chip at:
* <URL:http://www.oxsemi.com/products/uarts/index.html>
*
* As sold by Kouwell <URL:http://www.kouwell.com/>.
* I/O Flex PCI I/O Card Model-223 with 4 serial and 1 parallel ports.
*/
-
/* Oxford Semiconductor OX16PCI954 PCI UARTs */
! { "Qxford Semiconductor OX16PCI954 UARTs",
{ 0x1415, 0x9501, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
--- 652,685 ----
* Oxford Semiconductor provides documentation for their chip at:
* <URL:http://www.oxsemi.com/products/uarts/index.html>
*
+ * As sold by CompUSA 2S1P x950's w/128 byte fifo
+ */
+
+ /* Oxford Semiconductor OX16PCI952 PCI UARTs */
+ { "Oxford Semiconductor OX16PCI952 UARTs",
+ { 0x1415, 0x9521, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
+ },
+ },
+
+ /* Oxford Semiconductor OX16PCI840 PCI Parallel port */
+ { "Oxford Semiconductor OX16PCI840 Parallel port",
+ { 0x1415, 0x9523, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 },
+ },
+ },
+
+ /*
* As sold by Kouwell <URL:http://www.kouwell.com/>.
* I/O Flex PCI I/O Card Model-223 with 4 serial and 1 parallel ports.
*/
/* Oxford Semiconductor OX16PCI954 PCI UARTs */
! { "Oxford Semiconductor OX16PCI954 UARTs",
{ 0x1415, 0x9501, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
***************
*** 669,675 ****
},
/* Oxford Semiconductor OX16PCI954 PCI Parallel port */
! { "Qxford Semiconductor OX16PCI954 Parallel port",
{ 0x1415, 0x9513, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
--- 691,697 ----
},
/* Oxford Semiconductor OX16PCI954 PCI Parallel port */
! { "Oxford Semiconductor OX16PCI954 Parallel port",
{ 0x1415, 0x9513, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
>Release-Note:
>Audit-Trail:
>Unformatted: