summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/hwgpe.c
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2002-08-29 01:51:24 +0000
committeriwasaki <iwasaki@FreeBSD.org>2002-08-29 01:51:24 +0000
commit1824f192010fc0c0826e9889892e534075b58793 (patch)
treebbc04a2733724f3f0ab5cecb259948ac9a9723d7 /sys/contrib/dev/acpica/hwgpe.c
parent3f86517f16a9cf970e93e483e90066da6eb323dd (diff)
downloadFreeBSD-src-1824f192010fc0c0826e9889892e534075b58793.zip
FreeBSD-src-1824f192010fc0c0826e9889892e534075b58793.tar.gz
Vendor import of the Intel ACPI CA 20020815 drop.
Diffstat (limited to 'sys/contrib/dev/acpica/hwgpe.c')
-rw-r--r--sys/contrib/dev/acpica/hwgpe.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/contrib/dev/acpica/hwgpe.c b/sys/contrib/dev/acpica/hwgpe.c
index c5cc7f7..cf822a5 100644
--- a/sys/contrib/dev/acpica/hwgpe.c
+++ b/sys/contrib/dev/acpica/hwgpe.c
@@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: hwgpe - Low level GPE enable/disable/clear functions
- * $Revision: 41 $
+ * $Revision: 42 $
*
*****************************************************************************/
@@ -179,14 +179,14 @@ AcpiHwEnableGpe (
* Read the current value of the register, set the appropriate bit
* to enable the GPE, and write out the new register.
*/
- Status = AcpiHwLowLevelRead (8, &InByte,
+ Status = AcpiHwLowLevelRead (8, &InByte,
&AcpiGbl_GpeRegisterInfo[RegisterIndex].EnableAddress, 0);
if (ACPI_FAILURE (Status))
{
return (Status);
}
- Status = AcpiHwLowLevelWrite (8, (InByte | BitMask),
+ Status = AcpiHwLowLevelWrite (8, (InByte | BitMask),
&AcpiGbl_GpeRegisterInfo[RegisterIndex].EnableAddress, 0);
return (Status);
@@ -276,7 +276,7 @@ AcpiHwDisableGpe (
return (Status);
}
- Status = AcpiHwLowLevelWrite (8, (InByte & ~BitMask),
+ Status = AcpiHwLowLevelWrite (8, (InByte & ~BitMask),
&AcpiGbl_GpeRegisterInfo[RegisterIndex].EnableAddress, 0);
if (ACPI_FAILURE (Status))
{
@@ -363,7 +363,7 @@ AcpiHwClearGpe (
* Write a one to the appropriate bit in the status register to
* clear this GPE.
*/
- Status = AcpiHwLowLevelWrite (8, BitMask,
+ Status = AcpiHwLowLevelWrite (8, BitMask,
&AcpiGbl_GpeRegisterInfo[RegisterIndex].StatusAddress, 0);
return (Status);
@@ -486,7 +486,7 @@ AcpiHwDisableNonWakeupGpes (
* Read the enabled status of all GPEs. We
* will be using it to restore all the GPEs later.
*/
- Status = AcpiHwLowLevelRead (8, &InValue,
+ Status = AcpiHwLowLevelRead (8, &InValue,
&GpeRegisterInfo->EnableAddress, 0);
if (ACPI_FAILURE (Status))
{
@@ -498,7 +498,7 @@ AcpiHwDisableNonWakeupGpes (
/*
* Disable all GPEs except wakeup GPEs.
*/
- Status = AcpiHwLowLevelWrite (8, GpeRegisterInfo->WakeEnable,
+ Status = AcpiHwLowLevelWrite (8, GpeRegisterInfo->WakeEnable,
&GpeRegisterInfo->EnableAddress, 0);
if (ACPI_FAILURE (Status))
{
OpenPOWER on IntegriCloud