| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: pucdata.c,v 1.82 2012/10/18 10:41:44 msaitoh Exp $ */ | | 1 | /* $NetBSD: pucdata.c,v 1.83 2012/12/19 05:50:06 msaitoh Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 1998, 1999 Christopher G. Demetriou. All rights reserved. | | 4 | * Copyright (c) 1998, 1999 Christopher G. Demetriou. All rights reserved. |
5 | * | | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions | | 7 | * modification, are permitted provided that the following conditions |
8 | * are met: | | 8 | * are met: |
9 | * 1. Redistributions of source code must retain the above copyright | | 9 | * 1. Redistributions of source code must retain the above copyright |
10 | * notice, this list of conditions and the following disclaimer. | | 10 | * notice, this list of conditions and the following disclaimer. |
11 | * 2. Redistributions in binary form must reproduce the above copyright | | 11 | * 2. Redistributions in binary form must reproduce the above copyright |
12 | * notice, this list of conditions and the following disclaimer in the | | 12 | * notice, this list of conditions and the following disclaimer in the |
13 | * documentation and/or other materials provided with the distribution. | | 13 | * documentation and/or other materials provided with the distribution. |
14 | * 3. All advertising materials mentioning features or use of this software | | 14 | * 3. All advertising materials mentioning features or use of this software |
| @@ -26,27 +26,27 @@ | | | @@ -26,27 +26,27 @@ |
26 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | | 26 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
27 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | | 27 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | | 28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | | 29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
30 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | | 30 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
31 | */ | | 31 | */ |
32 | | | 32 | |
33 | /* | | 33 | /* |
34 | * PCI "universal" communications card driver configuration data (used to | | 34 | * PCI "universal" communications card driver configuration data (used to |
35 | * match/attach the cards). | | 35 | * match/attach the cards). |
36 | */ | | 36 | */ |
37 | | | 37 | |
38 | #include <sys/cdefs.h> | | 38 | #include <sys/cdefs.h> |
39 | __KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.82 2012/10/18 10:41:44 msaitoh Exp $"); | | 39 | __KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.83 2012/12/19 05:50:06 msaitoh Exp $"); |
40 | | | 40 | |
41 | #include <sys/param.h> | | 41 | #include <sys/param.h> |
42 | #include <sys/systm.h> | | 42 | #include <sys/systm.h> |
43 | #include <sys/device.h> | | 43 | #include <sys/device.h> |
44 | | | 44 | |
45 | #include <dev/pci/pcidevs.h> | | 45 | #include <dev/pci/pcidevs.h> |
46 | #include <dev/pci/pcireg.h> | | 46 | #include <dev/pci/pcireg.h> |
47 | #include <dev/pci/pcivar.h> | | 47 | #include <dev/pci/pcivar.h> |
48 | #include <dev/pci/pucvar.h> | | 48 | #include <dev/pci/pucvar.h> |
49 | #include <dev/ic/comreg.h> | | 49 | #include <dev/ic/comreg.h> |
50 | | | 50 | |
51 | const struct puc_device_description puc_devices[] = { | | 51 | const struct puc_device_description puc_devices[] = { |
52 | /* | | 52 | /* |
| @@ -2571,27 +2571,27 @@ const struct puc_device_description puc_ | | | @@ -2571,27 +2571,27 @@ const struct puc_device_description puc_ |
2571 | }, | | 2571 | }, |
2572 | }, | | 2572 | }, |
2573 | { "VScom PCI-800H", | | 2573 | { "VScom PCI-800H", |
2574 | { PCI_VENDOR_TITAN, PCI_PRODUCT_TITAN_VSCOM_PCI800H_1, 0, 0 }, | | 2574 | { PCI_VENDOR_TITAN, PCI_PRODUCT_TITAN_VSCOM_PCI800H_1, 0, 0 }, |
2575 | { 0xffff, 0xffff, 0, 0 }, | | 2575 | { 0xffff, 0xffff, 0, 0 }, |
2576 | { | | 2576 | { |
2577 | { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 }, | | 2577 | { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 }, |
2578 | { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 }, | | 2578 | { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 }, |
2579 | { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 8 }, | | 2579 | { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 8 }, |
2580 | { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 8 }, | | 2580 | { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 8 }, |
2581 | }, | | 2581 | }, |
2582 | }, | | 2582 | }, |
2583 | { "VScom PCI-200H", | | 2583 | { "VScom PCI-200H", |
2584 | { PCI_VENDOR_TITAN, PCI_PRODUCT_TITAN_VSCOM_PCI200H, 0, 0 }, | | 2584 | { PCI_VENDOR_TITAN, PCI_PRODUCT_TITAN_VSCOM_PCI200H, 0, 0 }, |
2585 | { 0xffff, 0xffff, 0, 0 }, | | 2585 | { 0xffff, 0xffff, 0, 0 }, |
2586 | { | | 2586 | { |
2587 | { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 }, | | 2587 | { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 }, |
2588 | { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 }, | | 2588 | { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 }, |
2589 | }, | | 2589 | }, |
2590 | }, | | 2590 | }, |
2591 | | | 2591 | |
2592 | { "VScom PCI-010HV2", | | 2592 | { "VScom PCI-010HV2", |
2593 | { PCI_VENDOR_TITAN, PCI_PRODUCT_TITAN_VSCOM_PCI010HV2, 0, 0 }, | | 2593 | { PCI_VENDOR_TITAN, PCI_PRODUCT_TITAN_VSCOM_PCI010HV2, 0, 0 }, |
2594 | { 0xffff, 0xffff, 0, 0 }, | | 2594 | { 0xffff, 0xffff, 0, 0 }, |
2595 | { | | 2595 | { |
2596 | { PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 }, | | 2596 | { PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 }, |
2597 | }, | | 2597 | }, |