diff options
author | Mike Smith <msmith@FreeBSD.org> | 2000-12-01 09:36:25 +0000 |
---|---|---|
committer | Mike Smith <msmith@FreeBSD.org> | 2000-12-01 09:36:25 +0000 |
commit | f2ed5750af4c77d9075ddf1c28ecfdea8c12c6ae (patch) | |
tree | 7c849b394b62ba086bc123f7a780a33169a79fe8 /sys/contrib/dev/acpica/hwgpe.c | |
parent | 926328c40640129470e712faa4614b6a317c00a9 (diff) |
Notes
Diffstat (limited to 'sys/contrib/dev/acpica/hwgpe.c')
-rw-r--r-- | sys/contrib/dev/acpica/hwgpe.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/contrib/dev/acpica/hwgpe.c b/sys/contrib/dev/acpica/hwgpe.c index 23851163144a..d92ac78bb274 100644 --- a/sys/contrib/dev/acpica/hwgpe.c +++ b/sys/contrib/dev/acpica/hwgpe.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: hwgpe - Low level GPE enable/disable/clear functions - * $Revision: 22 $ + * $Revision: 25 $ * *****************************************************************************/ @@ -123,9 +123,6 @@ MODULE_NAME ("hwgpe") -UINT8 DecodeTo8bit [8] = {1,2,4,8,16,32,64,128}; - - /****************************************************************************** * * FUNCTION: AcpiHwEnableGpe @@ -154,7 +151,7 @@ AcpiHwEnableGpe ( /* * Figure out the bit offset for this GPE within the target register. */ - BitMask = DecodeTo8bit [MOD_8 (GpeNumber)]; + BitMask = AcpiGbl_DecodeTo8bit [MOD_8 (GpeNumber)]; /* * Read the current value of the register, set the appropriate bit @@ -194,7 +191,7 @@ AcpiHwDisableGpe ( /* * Figure out the bit offset for this GPE within the target register. */ - BitMask = DecodeTo8bit [MOD_8 (GpeNumber)]; + BitMask = AcpiGbl_DecodeTo8bit [MOD_8 (GpeNumber)]; /* * Read the current value of the register, clear the appropriate bit, @@ -233,7 +230,7 @@ AcpiHwClearGpe ( /* * Figure out the bit offset for this GPE within the target register. */ - BitMask = DecodeTo8bit [MOD_8 (GpeNumber)]; + BitMask = AcpiGbl_DecodeTo8bit [MOD_8 (GpeNumber)]; /* * Write a one to the appropriate bit in the status register to @@ -279,7 +276,7 @@ AcpiHwGetGpeStatus ( /* * Figure out the bit offset for this GPE within the target register. */ - BitMask = DecodeTo8bit [MOD_8 (GpeNumber)]; + BitMask = AcpiGbl_DecodeTo8bit [MOD_8 (GpeNumber)]; /* * Enabled?: |