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