fix gcc warnings (missing braces around initializer)
[mirror_edk2.git] / EdkUnixPkg / Dxe / UnixPlatform / MiscSubclass / MiscPortInternalConnectorDesignatorData.c
CommitLineData
c9093a06 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 MiscPortInternalConnectorDesignatorData.c\r
15 \r
16Abstract: \r
17\r
18 This driver parses the mMiscSubclassDataTable structure and reports\r
19 any generated data to the DataHub.\r
20\r
21--*/\r
22\r
23#include "MiscSubclassDriver.h"\r
24\r
25//\r
26// Static (possibly build generated) Bios Vendor data.\r
27//\r
28MISC_SUBCLASS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortInternalConnectorDesignator) = {\r
29 STRING_TOKEN(STR_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR), // PortInternalConnectorDesignator\r
30 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_CONNECTOR_DESIGNATOR), // PortExternalConnectorDesignator\r
31 EfiPortConnectorTypeOther, // PortInternalConnectorType\r
32 EfiPortConnectorTypeOther, // PortExternalConnectorType\r
33 EfiPortTypeNone, // PortType\r
2419bd23 34 {{{{0, 0, {0, 0}}, 0, 0}, {{0, 0, {0, 0}}, 0, 0}, {0, 0, {0, 0}}}} // PortPath\r
c9093a06 35};\r
36\r
37//\r
38// Static (possibly build generated) Bios Vendor data.\r
39//\r
40MISC_SUBCLASS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortKeyboard) = {\r
41 STRING_TOKEN (STR_MISC_PORT_INTERNAL_KEYBOARD), // PortInternalConnectorDesignator\r
42 STRING_TOKEN (STR_MISC_PORT_EXTERNAL_KEYBOARD), // PortExternalConnectorDesignator\r
43 EfiPortConnectorTypeNone, // PortInternalConnectorType\r
44 EfiPortConnectorTypePS2, // PortExternalConnectorType\r
45 EfiPortTypeKeyboard, // PortType\r
46 // mPs2KbyboardDevicePath // PortPath\r
47 //\r
2419bd23 48 {{{{0, 0, {0, 0}}, 0, 0}, {{0, 0, {0, 0}}, 0, 0}, {0, 0, {0, 0}}}} // PortPath\r
c9093a06 49};\r
50\r
51MISC_SUBCLASS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortMouse) = {\r
52 STRING_TOKEN (STR_MISC_PORT_INTERNAL_MOUSE), // PortInternalConnectorDesignator\r
53 STRING_TOKEN (STR_MISC_PORT_EXTERNAL_MOUSE), // PortExternalConnectorDesignator\r
54 EfiPortConnectorTypeNone, // PortInternalConnectorType\r
55 EfiPortConnectorTypePS2, // PortExternalConnectorType\r
56 EfiPortTypeMouse, // PortType\r
57 // mPs2MouseDevicePath // PortPath\r
58 //\r
2419bd23 59 {{{{0, 0, {0, 0}}, 0, 0}, {{0, 0, {0, 0}}, 0, 0}, {0, 0, {0, 0}}}} // PortPath\r
c9093a06 60};\r
61\r
62\r
63MISC_SUBCLASS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortCom1) = {\r
64 STRING_TOKEN(STR_MISC_PORT_INTERNAL_COM1),\r
65 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_COM1),\r
66 EfiPortConnectorTypeNone,\r
67 EfiPortConnectorTypeDB9Female,\r
68 EfiPortTypeSerial16550ACompatible,\r
2419bd23 69 {{{{0, 0, {0, 0}}, 0, 0}, {{0, 0, {0, 0}}, 0, 0}, {0, 0, {0, 0}}}} // PortPath\r
c9093a06 70};\r
71\r
72MISC_SUBCLASS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortCom2) = {\r
73 STRING_TOKEN(STR_MISC_PORT_INTERNAL_COM2),\r
74 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_COM2),\r
75 EfiPortConnectorTypeNone,\r
76 EfiPortConnectorTypeDB9Female,\r
77 EfiPortTypeSerial16550ACompatible,\r
2419bd23 78 {{{{0, 0, {0, 0}}, 0, 0}, {{0, 0, {0, 0}}, 0, 0}, {0, 0, {0, 0}}}} // PortPath\r
c9093a06 79};\r
80\r
81MISC_SUBCLASS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortExtensionPower) = {\r
82 STRING_TOKEN(STR_MISC_PORT_INTERNAL_EXTENSION_POWER),\r
83 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_EXTENSION_POWER),\r
84 EfiPortConnectorTypeOther,\r
85 EfiPortConnectorTypeNone,\r
86 EfiPortTypeOther,\r
2419bd23 87 {{{{0, 0, {0, 0}}, 0, 0}, {{0, 0, {0, 0}}, 0, 0}, {0, 0, {0, 0}}}} // PortPath\r
c9093a06 88};\r
89\r
90MISC_SUBCLASS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortFloppy) = {\r
91 STRING_TOKEN(STR_MISC_PORT_INTERNAL_FLOPPY),\r
92 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_FLOPPY),\r
93 EfiPortConnectorTypeOnboardFloppy,\r
94 EfiPortConnectorTypeNone,\r
95 EfiPortTypeOther,\r
2419bd23 96 {{{{0, 0, {0, 0}}, 0, 0}, {{0, 0, {0, 0}}, 0, 0}, {0, 0, {0, 0}}}} // PortPath\r
c9093a06 97};\r
98\r
99/* eof - MiscPortInternalConnectorDesignatorData.c */\r