]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.h
Update to support to produce Component Name and & Component Name 2 protocol based...
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Isa / IsaSerialDxe / Serial.h
index 6bef39b48b3bfb7505563f4278248b7f10ac98b5..980e0d17c2898388b5b35be3d413c0291cfc0bfd 100644 (file)
@@ -1,44 +1,28 @@
-/*++\r
-\r
-  Copyright (c) 2006 - 2007, Intel Corporation<BR>\r
-  All rights reserved. This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-\r
-Module Name:\r
-\r
-  serial.h\r
-\r
-Abstract:\r
-\r
+/**@file\r
   Include for Serial Driver\r
+  \r
+Copyright (c) 2006 - 2007, Intel Corporation.<BR>\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
 \r
-Revision History:\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
---*/\r
+**/\r
 \r
 #ifndef _SERIAL_H\r
 #define _SERIAL_H\r
 \r
-//\r
-// The package level header files this module uses\r
-//\r
+\r
 #include <PiDxe.h>\r
 #include <FrameworkPei.h>\r
-//\r
-// The protocols, PPI and GUID defintions for this module\r
-//\r
+\r
 #include <Protocol/IsaIo.h>\r
 #include <Protocol/SerialIo.h>\r
 #include <Protocol/DevicePath.h>\r
-//\r
-// The Library classes this module consumes\r
-//\r
+\r
 #include <Library/DebugLib.h>\r
 #include <Library/UefiDriverEntryPoint.h>\r
 #include <Library/BaseLib.h>\r
@@ -52,8 +36,9 @@ Revision History:
 //\r
 // Driver Binding Externs\r
 //\r
-extern EFI_DRIVER_BINDING_PROTOCOL gSerialControllerDriver;\r
-extern EFI_COMPONENT_NAME_PROTOCOL gIsaSerialComponentName;\r
+extern EFI_DRIVER_BINDING_PROTOCOL  gSerialControllerDriver;\r
+extern EFI_COMPONENT_NAME_PROTOCOL  gIsaSerialComponentName;\r
+extern EFI_COMPONENT_NAME2_PROTOCOL gIsaSerialComponentName2;\r
 \r
 //\r
 // Internal Data Structures\r
@@ -132,19 +117,23 @@ typedef struct {
 //\r
 // Globale Variables\r
 //\r
-extern EFI_DRIVER_BINDING_PROTOCOL  gSerialControllerDriver;\r
+extern EFI_DRIVER_BINDING_PROTOCOL   gSerialControllerDriver;\r
 \r
 //\r
 // Serial Driver Defaults\r
 //\r
-#define SERIAL_PORT_DEFAULT_BAUD_RATE           115200\r
 #define SERIAL_PORT_DEFAULT_RECEIVE_FIFO_DEPTH  1\r
 #define SERIAL_PORT_DEFAULT_TIMEOUT             1000000\r
+\r
+/*\r
+#define SERIAL_PORT_DEFAULT_BAUD_RATE           115200\r
 #define SERIAL_PORT_DEFAULT_PARITY              NoParity\r
 #define SERIAL_PORT_DEFAULT_DATA_BITS           8\r
 #define SERIAL_PORT_DEFAULT_STOP_BITS           1\r
+*/\r
 #define SERIAL_PORT_DEFAULT_CONTROL_MASK        0\r
 \r
+\r
 //\r
 // (24000000/13)MHz input clock\r
 //\r