NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/38012: Add support for B&B Electronics MIPort serial cards



>Number:         38012
>Category:       kern
>Synopsis:       Add support for B&B Electronics MIPort serial cards
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 12 19:00:00 +0000 2008
>Originator:     David Dudley
>Release:        4.99.52
>Organization:
City of Corpus Christi
>Environment:
NetBSD DELL-2550-1.crp.local 4.99.52 NetBSD 4.99.52 (GENERIC) #3: Fri Feb 8 
11:12:59 CST 2008 
daviddu%DELL-2550-1.crp.local@localhost:/usr/obj/sys/arch/i386/compile/GENERIC 
i38
>Description:
Add support for B&B Electronics MIPort Serial cards.  Cards available in 1-8 
port, RS-232 or RS-422/485, Optically-isolated or Non-isolated
>How-To-Repeat:

>Fix:
--- ../save/pcidevs.orig        2008-02-01 08:22:46.000000000 -0600
+++ sys/dev/pci/pcidevs 2008-02-01 08:30:59.000000000 -0600
@@ -601,6 +601,7 @@
 vendor S2IO            0x17d5  S2io Technologies
 vendor LINKSYS2                0x17fe  Linksys
 vendor RALINK          0x1814  Ralink Technologies
+vendor BBELEC          0x1896  B & B Electronics
 vendor ATTANSIC                0x1969  Attansic Technologies
 vendor EVE             0x1adb  EVE
 vendor SYMPHONY2       0x1c1c  Symphony Labs (2nd PCI Vendor ID)
@@ -1342,6 +1343,16 @@
 product AVM B1                 0x0700  Basic Rate B1 ISDN Interface
 product AVM T1                 0x1200  Primary Rate T1 ISDN Interface

+/* B & B Electronics Products */
+product BBELEC NON_ISOLATED_1_PORT     0x4201  single-channel RS-485 PCI UART
+product BBELEC NON_ISOLATED_2_PORT     0x4202  dual-channel RS-485 PCI UART
+product BBELEC NON_ISOLATED_4_PORT     0x4204  quad-channel RS-485 PCI UART
+product BBELEC NON_ISOLATED_8_PORT     0x4208  octal-channel RS-485 PCI UART
+product BBELEC ISOLATED_1_PORT 0x4211  single-channel Isolated RS-485 PCI UART
+product BBELEC ISOLATED_2_PORT 0x4212  dual-channel Isolated RS-485 PCI UART
+product BBELEC ISOLATED_4_PORT 0x4214  quad-channel Isolated RS-485 PCI UART
+product BBELEC ISOLATED_8_PORT 0x4218  octal-channel Isolated RS-485 PCI UART
+
 /* Belkin products */
 product BELKIN F5D6001         0x6001  F5D6001
 product BELKIN F5D6020V3       0x6020  F5D6020v3 802.11b
--- ../save/pucdata.c.orig      2008-02-01 08:23:04.000000000 -0600
+++ sys/dev/pci/pucdata.c       2008-02-01 08:32:48.000000000 -0600
@@ -1271,6 +1271,39 @@
                { PUC_PORT_TYPE_COM, 0x10, 0x0e00, COM_FREQ * 8 },
            },
        },
+       {   "BBELEC ISOLATED_2_PORT",
+           {   0x1896, 0x4212, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x10, 0x0000, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x0200, COM_FREQ * 8 },
+           },
+       },
+       {   "BBELEC ISOLATED_4_PORT",
+           {   0x1896, 0x4214, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x10, 0x0000, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x0200, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x0400, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x0600, COM_FREQ * 8 },
+           },
+       },
+       {   "BBELEC ISOLATED_8_PORT",
+           {   0x1896, 0x4218, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x10, 0x0000, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x0200, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x0400, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x0600, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x0800, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x0a00, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x0c00, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x0e00, COM_FREQ * 8 },
+           },
+       },
+

        { .name = NULL },
 };
~



Home | Main Index | Thread Index | Old Index