summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/ComponentName.c
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/ComponentName.c')
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/ComponentName.c31
1 files changed, 12 insertions, 19 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/ComponentName.c b/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/ComponentName.c
index 58781e55ef..0824ad6c50 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/ComponentName.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/ComponentName.c
@@ -1,7 +1,7 @@
-/**@file
+/** @file
+ UEFI Component Name and Name2 protocol for Isa serial driver.
-
-Copyright (c) 2006 - 2007, Intel Corporation.<BR>
+Copyright (c) 2006 - 2009, Intel Corporation.<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -14,6 +14,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include "Serial.h"
+#define SERIAL_PORT_NAME "ISA Serial Port # "
//
// EFI Component Name Protocol
//
@@ -227,27 +228,19 @@ IsaSerialComponentNameGetControllerName (
);
}
-VOID
-AddName (
- IN SERIAL_DEV *SerialDevice,
- IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
/**
+ Add the ISO639-2 and RFC4646 component name both for the Serial IO device
- Routine Description:
-
- Add the component name for the serial io device
+ @param SerialDevice A pointer to the SERIAL_DEV instance.
- Arguments:
-
- SerialDevice - A pointer to the SERIAL_DEV instance.
- IsaIo - A pointer to the EFI_ISA_IO_PROTOCOL instance.
-
- Returns:
+ @param IsaIo A pointer to the EFI_ISA_IO_PROTOCOL instance.
- None
-
**/
+VOID
+AddName (
+ IN SERIAL_DEV *SerialDevice,
+ IN EFI_ISA_IO_PROTOCOL *IsaIo
+ )
{
CHAR16 SerialPortName[sizeof (SERIAL_PORT_NAME)];