| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: pucdata.c,v 1.109 2021/02/02 16:11:43 bouyer Exp $ */ | | 1 | /* $NetBSD: pucdata.c,v 1.110 2021/07/17 10:45:58 riastradh 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.109 2021/02/02 16:11:43 bouyer Exp $"); | | 39 | __KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.110 2021/07/17 10:45:58 riastradh 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 | /* |
| @@ -2036,26 +2036,35 @@ const struct puc_device_description puc_ | | | @@ -2036,26 +2036,35 @@ const struct puc_device_description puc_ |
2036 | { PUC_PORT_TYPE_COM, PCI_BAR0, 0x00, COM_FREQ }, | | 2036 | { PUC_PORT_TYPE_COM, PCI_BAR0, 0x00, COM_FREQ }, |
2037 | }, | | 2037 | }, |
2038 | }, | | 2038 | }, |
2039 | | | 2039 | |
2040 | /* Intel Core 4G (mobile) KT */ | | 2040 | /* Intel Core 4G (mobile) KT */ |
2041 | { "Intel Core 4G (mobile) KT", | | 2041 | { "Intel Core 4G (mobile) KT", |
2042 | { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_CORE4G_M_KT, 0, 0 }, | | 2042 | { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_CORE4G_M_KT, 0, 0 }, |
2043 | { 0xffff, 0xffff, 0, 0 }, | | 2043 | { 0xffff, 0xffff, 0, 0 }, |
2044 | { | | 2044 | { |
2045 | { PUC_PORT_TYPE_COM, PCI_BAR0, 0x00, COM_FREQ }, | | 2045 | { PUC_PORT_TYPE_COM, PCI_BAR0, 0x00, COM_FREQ }, |
2046 | }, | | 2046 | }, |
2047 | }, | | 2047 | }, |
2048 | | | 2048 | |
| | | 2049 | /* Intel Core 5G (mobile) KT */ |
| | | 2050 | { "Intel Core 5G (mobile) KT", |
| | | 2051 | { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_CORE5G_M_KT, 0, 0 }, |
| | | 2052 | { 0xffff, 0xffff, 0, 0 }, |
| | | 2053 | { |
| | | 2054 | { PUC_PORT_TYPE_COM, PCI_BAR0, 0x00, COM_FREQ }, |
| | | 2055 | }, |
| | | 2056 | }, |
| | | 2057 | |
2049 | /* Intel EG20T UART */ | | 2058 | /* Intel EG20T UART */ |
2050 | { "Intel EG20T UART #0", | | 2059 | { "Intel EG20T UART #0", |
2051 | { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EG20T_UART_0, 0, 0 }, | | 2060 | { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EG20T_UART_0, 0, 0 }, |
2052 | { 0xffff, 0xffff, 0, 0 }, | | 2061 | { 0xffff, 0xffff, 0, 0 }, |
2053 | { | | 2062 | { |
2054 | { PUC_PORT_TYPE_COM, PCI_BAR0, 0x00, COM_FREQ }, | | 2063 | { PUC_PORT_TYPE_COM, PCI_BAR0, 0x00, COM_FREQ }, |
2055 | }, | | 2064 | }, |
2056 | }, | | 2065 | }, |
2057 | | | 2066 | |
2058 | /* Intel EG20T UART */ | | 2067 | /* Intel EG20T UART */ |
2059 | { "Intel EG20T UART #1", | | 2068 | { "Intel EG20T UART #1", |
2060 | { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EG20T_UART_1, 0, 0 }, | | 2069 | { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EG20T_UART_1, 0, 0 }, |
2061 | { 0xffff, 0xffff, 0, 0 }, | | 2070 | { 0xffff, 0xffff, 0, 0 }, |