1 /**@file 2 3 Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR> 4 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 #include "MiscSubclassDriver.h" 24 25 // 26 // Static (possibly build generated) Bios Vendor data. 27 // 28 MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortInternalConnectorDesignator) = { 29 STRING_TOKEN(STR_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR), // PortInternalConnectorDesignator 30 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_CONNECTOR_DESIGNATOR), // PortExternalConnectorDesignator 31 EfiPortConnectorTypeOther, // PortInternalConnectorType 32 EfiPortConnectorTypeOther, // PortExternalConnectorType 33 EfiPortTypeNone, // PortType 34 0 // PortPath 35 }; 36 37 // 38 // Static (possibly build generated) Bios Vendor data. 39 // 40 MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortKeyboard) = { 41 STRING_TOKEN (STR_MISC_PORT_INTERNAL_KEYBOARD), // PortInternalConnectorDesignator 42 STRING_TOKEN (STR_MISC_PORT_EXTERNAL_KEYBOARD), // PortExternalConnectorDesignator 43 EfiPortConnectorTypeNone, // PortInternalConnectorType 44 EfiPortConnectorTypePS2, // PortExternalConnectorType 45 EfiPortTypeKeyboard, // PortType 46 // mPs2KbyboardDevicePath // PortPath 47 // 48 0 49 }; 50 51 MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortMouse) = { 52 STRING_TOKEN (STR_MISC_PORT_INTERNAL_MOUSE), // PortInternalConnectorDesignator 53 STRING_TOKEN (STR_MISC_PORT_EXTERNAL_MOUSE), // PortExternalConnectorDesignator 54 EfiPortConnectorTypeNone, // PortInternalConnectorType 55 EfiPortConnectorTypePS2, // PortExternalConnectorType 56 EfiPortTypeMouse, // PortType 57 // mPs2MouseDevicePath // PortPath 58 // 59 0 60 }; 61 62 63 MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortCom1) = { 64 STRING_TOKEN(STR_MISC_PORT_INTERNAL_COM1), 65 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_COM1), 66 EfiPortConnectorTypeNone, 67 EfiPortConnectorTypeDB9Female, 68 EfiPortTypeSerial16550ACompatible, 69 0 70 }; 71 72 MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortCom2) = { 73 STRING_TOKEN(STR_MISC_PORT_INTERNAL_COM2), 74 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_COM2), 75 EfiPortConnectorTypeNone, 76 EfiPortConnectorTypeDB9Female, 77 EfiPortTypeSerial16550ACompatible, 78 0 79 }; 80 81 MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortExtensionPower) = { 82 STRING_TOKEN(STR_MISC_PORT_INTERNAL_EXTENSION_POWER), 83 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_EXTENSION_POWER), 84 EfiPortConnectorTypeOther, 85 EfiPortConnectorTypeNone, 86 EfiPortTypeOther, 87 0 88 }; 89 90 MISC_SMBIOS_TABLE_DATA(EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA, MiscPortFloppy) = { 91 STRING_TOKEN(STR_MISC_PORT_INTERNAL_FLOPPY), 92 STRING_TOKEN(STR_MISC_PORT_EXTERNAL_FLOPPY), 93 EfiPortConnectorTypeOnboardFloppy, 94 EfiPortConnectorTypeNone, 95 EfiPortTypeOther, 96 0 97 }; 98 99 /* eof - MiscPortInternalConnectorDesignatorData.c */ 100