# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1164 -> 1.1165 # include/acpi/acglobal.h 1.23 -> 1.24 # drivers/acpi/namespace/nsxfobj.c 1.15 -> 1.16 # drivers/acpi/tables/tbgetall.c 1.12 -> 1.13 # include/acpi/acpixf.h 1.20 -> 1.21 # drivers/acpi/resources/rsio.c 1.11 -> 1.12 # drivers/acpi/resources/rsaddr.c 1.13 -> 1.14 # drivers/acpi/executer/exoparg3.c 1.9 -> 1.10 # drivers/acpi/hardware/hwacpi.c 1.18 -> 1.19 # include/acpi/acutils.h 1.23 -> 1.24 # include/acpi/acpiosxf.h 1.24 -> 1.25 # drivers/acpi/dispatcher/dsobject.c 1.21 -> 1.22 # drivers/acpi/hardware/hwgpe.c 1.17 -> 1.18 # include/acpi/achware.h 1.15 -> 1.16 # drivers/acpi/executer/exconvrt.c 1.17 -> 1.18 # drivers/acpi/executer/exfield.c 1.16 -> 1.17 # drivers/acpi/parser/psscope.c 1.11 -> 1.12 # include/acpi/aclocal.h 1.26 -> 1.27 # drivers/acpi/namespace/nsparse.c 1.8 -> 1.9 # include/acpi/acexcep.h 1.14 -> 1.15 # drivers/acpi/dispatcher/dswload.c 1.20 -> 1.21 # drivers/acpi/utilities/uteval.c 1.16 -> 1.17 # drivers/acpi/resources/rsutils.c 1.13 -> 1.14 # drivers/acpi/utilities/utmisc.c 1.24 -> 1.25 # drivers/acpi/events/evrgnini.c 1.18 -> 1.19 # drivers/acpi/hardware/hwsleep.c 1.23 -> 1.24 # drivers/acpi/executer/exdump.c 1.17 -> 1.18 # include/acpi/acstruct.h 1.13 -> 1.14 # drivers/acpi/events/evregion.c 1.20 -> 1.21 # drivers/acpi/dispatcher/dsfield.c 1.19 -> 1.20 # drivers/acpi/utilities/utglobal.c 1.24 -> 1.25 # drivers/acpi/executer/exstoren.c 1.15 -> 1.16 # include/acpi/acnamesp.h 1.17 -> 1.18 # include/acpi/acobject.h 1.18 -> 1.19 # drivers/acpi/hardware/hwtimer.c 1.14 -> 1.15 # include/acpi/acresrc.h 1.12 -> 1.13 # drivers/acpi/utilities/utalloc.c 1.16 -> 1.17 # drivers/acpi/utilities/utxface.c 1.15 -> 1.16 # drivers/acpi/executer/exregion.c 1.15 -> 1.16 # drivers/acpi/resources/rsxface.c 1.15 -> 1.16 # include/acpi/actbl1.h 1.12 -> 1.13 # drivers/acpi/parser/psopcode.c 1.15 -> 1.16 # drivers/acpi/events/evxfregn.c 1.17 -> 1.18 # include/acpi/acdebug.h 1.16 -> 1.17 # drivers/acpi/parser/psparse.c 1.19 -> 1.20 # drivers/acpi/events/evgpeblk.c 1.9 -> 1.10 # drivers/acpi/parser/pswalk.c 1.12 -> 1.13 # drivers/acpi/executer/exprep.c 1.16 -> 1.17 # drivers/acpi/executer/exutils.c 1.18 -> 1.19 # drivers/acpi/executer/exoparg6.c 1.7 -> 1.8 # include/acpi/acconfig.h 1.41 -> 1.42 # include/acpi/platform/acenv.h 1.13 -> 1.14 # drivers/acpi/namespace/nsxfname.c 1.15 -> 1.16 # drivers/acpi/executer/exresnte.c 1.17 -> 1.18 # drivers/acpi/tables/tbinstal.c 1.18 -> 1.19 # drivers/acpi/tables/tbutils.c 1.15 -> 1.16 # drivers/acpi/resources/rsmisc.c 1.11 -> 1.12 # drivers/acpi/namespace/nsdumpdv.c 1.10 -> 1.11 # drivers/acpi/resources/rsmemory.c 1.12 -> 1.13 # drivers/acpi/dispatcher/dsopcode.c 1.21 -> 1.22 # include/acpi/actables.h 1.13 -> 1.14 # drivers/acpi/events/evxfevnt.c 1.17 -> 1.18 # drivers/acpi/parser/pstree.c 1.12 -> 1.13 # drivers/acpi/parser/psargs.c 1.17 -> 1.18 # drivers/acpi/executer/exnames.c 1.12 -> 1.13 # drivers/acpi/executer/exfldio.c 1.22 -> 1.23 # drivers/acpi/namespace/nsxfeval.c 1.12 -> 1.13 # drivers/acpi/resources/rscreate.c 1.15 -> 1.16 # include/acpi/acoutput.h 1.14 -> 1.15 # drivers/acpi/namespace/nsinit.c 1.19 -> 1.20 # drivers/acpi/dispatcher/dsmthdat.c 1.20 -> 1.21 # drivers/acpi/executer/exresolv.c 1.17 -> 1.18 # drivers/acpi/namespace/nsobject.c 1.15 -> 1.16 # drivers/acpi/tables/tbconvrt.c 1.23 -> 1.24 # drivers/acpi/namespace/nseval.c 1.15 -> 1.16 # drivers/acpi/utilities/utcopy.c 1.20 -> 1.21 # drivers/acpi/executer/exstore.c 1.22 -> 1.23 # drivers/acpi/resources/rsirq.c 1.14 -> 1.15 # drivers/acpi/dispatcher/dsutils.c 1.16 -> 1.17 # drivers/acpi/utilities/utdelete.c 1.18 -> 1.19 # drivers/acpi/dispatcher/dsmethod.c 1.15 -> 1.16 # drivers/acpi/namespace/nsutils.c 1.23 -> 1.24 # include/acpi/actbl.h 1.14 -> 1.15 # include/acpi/acpi.h 1.8 -> 1.9 # drivers/acpi/executer/exoparg2.c 1.17 -> 1.18 # drivers/acpi/namespace/nsalloc.c 1.16 -> 1.17 # drivers/acpi/tables/tbrsdt.c 1.11 -> 1.12 # drivers/acpi/resources/rscalc.c 1.16 -> 1.17 # drivers/acpi/dispatcher/dsinit.c 1.11 -> 1.12 # include/acpi/acmacros.h 1.18 -> 1.19 # drivers/acpi/resources/rsdump.c 1.14 -> 1.15 # drivers/acpi/events/evxface.c 1.17 -> 1.18 # drivers/acpi/utilities/utinit.c 1.15 -> 1.16 # drivers/acpi/parser/psutils.c 1.11 -> 1.12 # include/acpi/acevents.h 1.17 -> 1.18 # drivers/acpi/events/evmisc.c 1.21 -> 1.22 # include/acpi/actypes.h 1.28 -> 1.29 # drivers/acpi/executer/exconfig.c 1.14 -> 1.15 # include/acpi/actbl2.h 1.15 -> 1.16 # drivers/acpi/utilities/utdebug.c 1.17 -> 1.18 # include/acpi/amlresrc.h 1.7 -> 1.8 # drivers/acpi/tables/tbget.c 1.19 -> 1.20 # include/acpi/acparser.h 1.13 -> 1.14 # drivers/acpi/utilities/utobject.c 1.17 -> 1.18 # include/acpi/amlcode.h 1.14 -> 1.15 # drivers/acpi/events/evsci.c 1.14 -> 1.15 # drivers/acpi/executer/exsystem.c 1.14 -> 1.15 # drivers/acpi/events/evgpe.c 1.17 -> 1.18 # include/acpi/acdispat.h 1.11 -> 1.12 # drivers/acpi/tables/tbxfroot.c 1.16 -> 1.17 # include/acpi/acdisasm.h 1.2 -> 1.3 # include/acpi/platform/aclinux.h 1.17 -> 1.18 # drivers/acpi/executer/exmutex.c 1.11 -> 1.12 # drivers/acpi/parser/psxface.c 1.15 -> 1.16 # drivers/acpi/executer/exmisc.c 1.18 -> 1.19 # drivers/acpi/events/evevent.c 1.23 -> 1.24 # drivers/acpi/hardware/hwregs.c 1.22 -> 1.23 # drivers/acpi/dispatcher/dswstate.c 1.17 -> 1.18 # drivers/acpi/executer/exresop.c 1.18 -> 1.19 # include/acpi/acinterp.h 1.19 -> 1.20 # drivers/acpi/tables/tbxface.c 1.15 -> 1.16 # drivers/acpi/executer/exoparg1.c 1.19 -> 1.20 # drivers/acpi/namespace/nsdump.c 1.18 -> 1.19 # drivers/acpi/namespace/nsload.c 1.16 -> 1.17 # drivers/acpi/executer/excreate.c 1.15 -> 1.16 # drivers/acpi/executer/exstorob.c 1.16 -> 1.17 # drivers/acpi/utilities/utmath.c 1.7 -> 1.8 # drivers/acpi/namespace/nsaccess.c 1.19 -> 1.20 # drivers/acpi/namespace/nssearch.c 1.18 -> 1.19 # drivers/acpi/dispatcher/dswexec.c 1.19 -> 1.20 # include/acpi/platform/acgcc.h 1.16 -> 1.17 # drivers/acpi/dispatcher/dswscope.c 1.15 -> 1.16 # drivers/acpi/namespace/nswalk.c 1.12 -> 1.13 # drivers/acpi/resources/rslist.c 1.12 -> 1.13 # drivers/acpi/namespace/nsnames.c 1.16 -> 1.17 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 04/01/17 len.brown@intel.com 1.1165 # [ACPI] ACPICA 20040116 from Bob Moore # # The purpose of this release is primarily to update the copyright years # in each module, thus causing a huge number of diffs.  There are a few # small functional changes, however. # # Improved error messages when there is a problem finding one or more of # the required base ACPI tables # # Reintroduced the definition of APIC_HEADER in actbl.h # # Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h) # # Removed extraneous reference to NewObj in dsmthdat.c # -------------------------------------------- # diff -Nru a/drivers/acpi/dispatcher/dsfield.c b/drivers/acpi/dispatcher/dsfield.c --- a/drivers/acpi/dispatcher/dsfield.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/dispatcher/dsfield.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/dispatcher/dsinit.c b/drivers/acpi/dispatcher/dsinit.c --- a/drivers/acpi/dispatcher/dsinit.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/dispatcher/dsinit.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/dispatcher/dsmethod.c b/drivers/acpi/dispatcher/dsmethod.c --- a/drivers/acpi/dispatcher/dsmethod.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/dispatcher/dsmethod.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/dispatcher/dsmthdat.c b/drivers/acpi/dispatcher/dsmthdat.c --- a/drivers/acpi/dispatcher/dsmthdat.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/dispatcher/dsmthdat.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -601,7 +601,6 @@ new_obj_desc = obj_desc; if (obj_desc->common.reference_count > 1) { status = acpi_ut_copy_iobject_to_iobject (obj_desc, &new_obj_desc, walk_state); - new_obj_desc; if (ACPI_FAILURE (status)) { return_ACPI_STATUS (status); } diff -Nru a/drivers/acpi/dispatcher/dsobject.c b/drivers/acpi/dispatcher/dsobject.c --- a/drivers/acpi/dispatcher/dsobject.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/dispatcher/dsobject.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/dispatcher/dsopcode.c b/drivers/acpi/dispatcher/dsopcode.c --- a/drivers/acpi/dispatcher/dsopcode.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/dispatcher/dsopcode.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/dispatcher/dsutils.c b/drivers/acpi/dispatcher/dsutils.c --- a/drivers/acpi/dispatcher/dsutils.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/dispatcher/dsutils.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/dispatcher/dswexec.c b/drivers/acpi/dispatcher/dswexec.c --- a/drivers/acpi/dispatcher/dswexec.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/dispatcher/dswexec.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/dispatcher/dswload.c b/drivers/acpi/dispatcher/dswload.c --- a/drivers/acpi/dispatcher/dswload.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/dispatcher/dswload.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/dispatcher/dswscope.c b/drivers/acpi/dispatcher/dswscope.c --- a/drivers/acpi/dispatcher/dswscope.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/dispatcher/dswscope.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/dispatcher/dswstate.c b/drivers/acpi/dispatcher/dswstate.c --- a/drivers/acpi/dispatcher/dswstate.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/dispatcher/dswstate.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/events/evevent.c b/drivers/acpi/events/evevent.c --- a/drivers/acpi/events/evevent.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/events/evevent.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/events/evgpe.c b/drivers/acpi/events/evgpe.c --- a/drivers/acpi/events/evgpe.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/events/evgpe.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/events/evgpeblk.c b/drivers/acpi/events/evgpeblk.c --- a/drivers/acpi/events/evgpeblk.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/events/evgpeblk.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/events/evmisc.c b/drivers/acpi/events/evmisc.c --- a/drivers/acpi/events/evmisc.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/events/evmisc.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/events/evregion.c b/drivers/acpi/events/evregion.c --- a/drivers/acpi/events/evregion.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/events/evregion.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -52,7 +52,7 @@ #define ACPI_NUM_DEFAULT_SPACES 4 -u8 acpi_gbl_default_address_spaces[ACPI_NUM_DEFAULT_SPACES] = { +static u8 acpi_gbl_default_address_spaces[ACPI_NUM_DEFAULT_SPACES] = { ACPI_ADR_SPACE_SYSTEM_MEMORY, ACPI_ADR_SPACE_SYSTEM_IO, ACPI_ADR_SPACE_PCI_CONFIG, @@ -697,9 +697,6 @@ union acpi_operand_object *obj_desc; struct acpi_namespace_node *node; acpi_status status; - - - ACPI_FUNCTION_NAME ("ev_reg_run"); handler_obj = (union acpi_operand_object *) context; diff -Nru a/drivers/acpi/events/evrgnini.c b/drivers/acpi/events/evrgnini.c --- a/drivers/acpi/events/evrgnini.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/events/evrgnini.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/events/evsci.c b/drivers/acpi/events/evsci.c --- a/drivers/acpi/events/evsci.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/events/evsci.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/events/evxface.c b/drivers/acpi/events/evxface.c --- a/drivers/acpi/events/evxface.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/events/evxface.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/events/evxfevnt.c b/drivers/acpi/events/evxfevnt.c --- a/drivers/acpi/events/evxfevnt.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/events/evxfevnt.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/events/evxfregn.c b/drivers/acpi/events/evxfregn.c --- a/drivers/acpi/events/evxfregn.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/events/evxfregn.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exconfig.c b/drivers/acpi/executer/exconfig.c --- a/drivers/acpi/executer/exconfig.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exconfig.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exconvrt.c b/drivers/acpi/executer/exconvrt.c --- a/drivers/acpi/executer/exconvrt.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exconvrt.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/excreate.c b/drivers/acpi/executer/excreate.c --- a/drivers/acpi/executer/excreate.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/excreate.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exdump.c b/drivers/acpi/executer/exdump.c --- a/drivers/acpi/executer/exdump.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exdump.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exfield.c b/drivers/acpi/executer/exfield.c --- a/drivers/acpi/executer/exfield.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exfield.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exfldio.c b/drivers/acpi/executer/exfldio.c --- a/drivers/acpi/executer/exfldio.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exfldio.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exmisc.c b/drivers/acpi/executer/exmisc.c --- a/drivers/acpi/executer/exmisc.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exmisc.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exmutex.c b/drivers/acpi/executer/exmutex.c --- a/drivers/acpi/executer/exmutex.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exmutex.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exnames.c b/drivers/acpi/executer/exnames.c --- a/drivers/acpi/executer/exnames.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exnames.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exoparg1.c b/drivers/acpi/executer/exoparg1.c --- a/drivers/acpi/executer/exoparg1.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exoparg1.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exoparg2.c b/drivers/acpi/executer/exoparg2.c --- a/drivers/acpi/executer/exoparg2.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exoparg2.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exoparg3.c b/drivers/acpi/executer/exoparg3.c --- a/drivers/acpi/executer/exoparg3.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exoparg3.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exoparg6.c b/drivers/acpi/executer/exoparg6.c --- a/drivers/acpi/executer/exoparg6.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exoparg6.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exprep.c b/drivers/acpi/executer/exprep.c --- a/drivers/acpi/executer/exprep.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exprep.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exregion.c b/drivers/acpi/executer/exregion.c --- a/drivers/acpi/executer/exregion.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exregion.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exresnte.c b/drivers/acpi/executer/exresnte.c --- a/drivers/acpi/executer/exresnte.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exresnte.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exresolv.c b/drivers/acpi/executer/exresolv.c --- a/drivers/acpi/executer/exresolv.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exresolv.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exresop.c b/drivers/acpi/executer/exresop.c --- a/drivers/acpi/executer/exresop.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exresop.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exstore.c b/drivers/acpi/executer/exstore.c --- a/drivers/acpi/executer/exstore.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exstore.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exstoren.c b/drivers/acpi/executer/exstoren.c --- a/drivers/acpi/executer/exstoren.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exstoren.c Sat Jan 17 23:12:03 2004 @@ -7,7 +7,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exstorob.c b/drivers/acpi/executer/exstorob.c --- a/drivers/acpi/executer/exstorob.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exstorob.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exsystem.c b/drivers/acpi/executer/exsystem.c --- a/drivers/acpi/executer/exsystem.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exsystem.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/executer/exutils.c b/drivers/acpi/executer/exutils.c --- a/drivers/acpi/executer/exutils.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/executer/exutils.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/hardware/hwacpi.c b/drivers/acpi/hardware/hwacpi.c --- a/drivers/acpi/hardware/hwacpi.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/hardware/hwacpi.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/hardware/hwgpe.c b/drivers/acpi/hardware/hwgpe.c --- a/drivers/acpi/hardware/hwgpe.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/hardware/hwgpe.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -348,17 +348,14 @@ struct acpi_gpe_block_info *gpe_block) { u32 i; - struct acpi_gpe_register_info *gpe_register_info; acpi_status status; - /* Get the register info for the entire GPE block */ - - gpe_register_info = gpe_block->register_info; - /* Examine each GPE Register within the block */ for (i = 0; i < gpe_block->register_count; i++) { + /* Disable all GPEs in this register */ + status = acpi_hw_low_level_write (8, 0x00, &gpe_block->register_info[i].enable_address); if (ACPI_FAILURE (status)) { @@ -389,17 +386,14 @@ struct acpi_gpe_block_info *gpe_block) { u32 i; - struct acpi_gpe_register_info *gpe_register_info; acpi_status status; - /* Get the register info for the entire GPE block */ - - gpe_register_info = gpe_block->register_info; - /* Examine each GPE Register within the block */ for (i = 0; i < gpe_block->register_count; i++) { + /* Clear all GPEs in this register */ + status = acpi_hw_low_level_write (8, 0xFF, &gpe_block->register_info[i].status_address); if (ACPI_FAILURE (status)) { diff -Nru a/drivers/acpi/hardware/hwregs.c b/drivers/acpi/hardware/hwregs.c --- a/drivers/acpi/hardware/hwregs.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/hardware/hwregs.c Sat Jan 17 23:12:03 2004 @@ -7,7 +7,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/hardware/hwsleep.c b/drivers/acpi/hardware/hwsleep.c --- a/drivers/acpi/hardware/hwsleep.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/hardware/hwsleep.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -251,7 +251,7 @@ } } - status = acpi_hw_disable_non_wakeup_gpes(); + status = acpi_hw_disable_non_wakeup_gpes (); if (ACPI_FAILURE (status)) { return_ACPI_STATUS (status); } @@ -274,6 +274,11 @@ PM1Acontrol |= (acpi_gbl_sleep_type_a << sleep_type_reg_info->bit_position); PM1Bcontrol |= (acpi_gbl_sleep_type_b << sleep_type_reg_info->bit_position); + /* + * We split the writes of SLP_TYP and SLP_EN to workaround + * poorly implemented hardware. + */ + /* Write #1: fill in SLP_TYP data */ status = acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK, ACPI_REGISTER_PM1A_CONTROL, PM1Acontrol); @@ -313,7 +318,7 @@ * Wait ten seconds, then try again. This is to get S4/S5 to work on all machines. * * We wait so long to allow chipsets that poll this reg very slowly to - * still read the right value. Ideally, this entire block would go + * still read the right value. Ideally, this block would go * away entirely. */ acpi_os_stall (10000000); @@ -365,12 +370,22 @@ ACPI_FUNCTION_TRACE ("acpi_enter_sleep_state_s4bios"); - acpi_set_register (ACPI_BITREG_WAKE_STATUS, 1, ACPI_MTX_DO_NOT_LOCK); - acpi_hw_clear_acpi_status(ACPI_MTX_DO_NOT_LOCK); + status = acpi_set_register (ACPI_BITREG_WAKE_STATUS, 1, ACPI_MTX_DO_NOT_LOCK); + if (ACPI_FAILURE (status)) { + return_ACPI_STATUS (status); + } + + status = acpi_hw_clear_acpi_status (ACPI_MTX_DO_NOT_LOCK); + if (ACPI_FAILURE (status)) { + return_ACPI_STATUS (status); + } - acpi_hw_disable_non_wakeup_gpes(); + status = acpi_hw_disable_non_wakeup_gpes (); + if (ACPI_FAILURE (status)) { + return_ACPI_STATUS (status); + } - ACPI_FLUSH_CPU_CACHE(); + ACPI_FLUSH_CPU_CACHE (); status = acpi_os_write_port (acpi_gbl_FADT->smi_cmd, (u32) acpi_gbl_FADT->S4bios_req, 8); @@ -407,30 +422,47 @@ acpi_status status; struct acpi_bit_register_info *sleep_type_reg_info; struct acpi_bit_register_info *sleep_enable_reg_info; - u32 pm1x_control; + u32 PM1Acontrol; + u32 PM1Bcontrol; ACPI_FUNCTION_TRACE ("acpi_leave_sleep_state"); - /* Some machines require SLP_TYPE and SLP_EN to be cleared */ - sleep_type_reg_info = acpi_hw_get_bit_register_info (ACPI_BITREG_SLEEP_TYPE_A); - sleep_enable_reg_info = acpi_hw_get_bit_register_info (ACPI_BITREG_SLEEP_ENABLE); + /* + * Set SLP_TYPE and SLP_EN to state S0. + * This is unclear from the ACPI Spec, but it is required + * by some machines. + */ + status = acpi_get_sleep_type_data (ACPI_STATE_S0, + &acpi_gbl_sleep_type_a, &acpi_gbl_sleep_type_b); + if (ACPI_SUCCESS (status)) { + sleep_type_reg_info = acpi_hw_get_bit_register_info (ACPI_BITREG_SLEEP_TYPE_A); + sleep_enable_reg_info = acpi_hw_get_bit_register_info (ACPI_BITREG_SLEEP_ENABLE); - /* Get current value of PM1A control */ + /* Get current value of PM1A control */ - status = acpi_hw_register_read (ACPI_MTX_DO_NOT_LOCK, - ACPI_REGISTER_PM1_CONTROL, &pm1x_control); - if (ACPI_SUCCESS (status)) { - /* Clear SLP_TYP and SLP_EN */ + status = acpi_hw_register_read (ACPI_MTX_DO_NOT_LOCK, + ACPI_REGISTER_PM1_CONTROL, &PM1Acontrol); + if (ACPI_SUCCESS (status)) { + /* Clear SLP_EN and SLP_TYP fields */ + + PM1Acontrol &= ~(sleep_type_reg_info->access_bit_mask | + sleep_enable_reg_info->access_bit_mask); + PM1Bcontrol = PM1Acontrol; - pm1x_control &= ~(sleep_type_reg_info->access_bit_mask | - sleep_enable_reg_info->access_bit_mask); + /* Insert SLP_TYP bits */ - acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK, - ACPI_REGISTER_PM1A_CONTROL, pm1x_control); - acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK, - ACPI_REGISTER_PM1B_CONTROL, pm1x_control); + PM1Acontrol |= (acpi_gbl_sleep_type_a << sleep_type_reg_info->bit_position); + PM1Bcontrol |= (acpi_gbl_sleep_type_b << sleep_type_reg_info->bit_position); + + /* Just ignore any errors */ + + (void) acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK, + ACPI_REGISTER_PM1A_CONTROL, PM1Acontrol); + (void) acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK, + ACPI_REGISTER_PM1B_CONTROL, PM1Bcontrol); + } } /* Ensure enter_sleep_state_prep -> enter_sleep_state ordering */ @@ -464,7 +496,7 @@ /* _WAK returns stuff - do we want to look at it? */ - status = acpi_hw_enable_non_wakeup_gpes(); + status = acpi_hw_enable_non_wakeup_gpes (); if (ACPI_FAILURE (status)) { return_ACPI_STATUS (status); } diff -Nru a/drivers/acpi/hardware/hwtimer.c b/drivers/acpi/hardware/hwtimer.c --- a/drivers/acpi/hardware/hwtimer.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/hardware/hwtimer.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsaccess.c b/drivers/acpi/namespace/nsaccess.c --- a/drivers/acpi/namespace/nsaccess.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsaccess.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsalloc.c b/drivers/acpi/namespace/nsalloc.c --- a/drivers/acpi/namespace/nsalloc.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsalloc.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsdump.c b/drivers/acpi/namespace/nsdump.c --- a/drivers/acpi/namespace/nsdump.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsdump.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsdumpdv.c b/drivers/acpi/namespace/nsdumpdv.c --- a/drivers/acpi/namespace/nsdumpdv.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsdumpdv.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nseval.c b/drivers/acpi/namespace/nseval.c --- a/drivers/acpi/namespace/nseval.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nseval.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsinit.c b/drivers/acpi/namespace/nsinit.c --- a/drivers/acpi/namespace/nsinit.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsinit.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsload.c b/drivers/acpi/namespace/nsload.c --- a/drivers/acpi/namespace/nsload.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsload.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsnames.c b/drivers/acpi/namespace/nsnames.c --- a/drivers/acpi/namespace/nsnames.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsnames.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsobject.c b/drivers/acpi/namespace/nsobject.c --- a/drivers/acpi/namespace/nsobject.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsobject.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsparse.c b/drivers/acpi/namespace/nsparse.c --- a/drivers/acpi/namespace/nsparse.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsparse.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nssearch.c b/drivers/acpi/namespace/nssearch.c --- a/drivers/acpi/namespace/nssearch.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nssearch.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsutils.c b/drivers/acpi/namespace/nsutils.c --- a/drivers/acpi/namespace/nsutils.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsutils.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nswalk.c b/drivers/acpi/namespace/nswalk.c --- a/drivers/acpi/namespace/nswalk.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nswalk.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsxfeval.c b/drivers/acpi/namespace/nsxfeval.c --- a/drivers/acpi/namespace/nsxfeval.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsxfeval.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsxfname.c b/drivers/acpi/namespace/nsxfname.c --- a/drivers/acpi/namespace/nsxfname.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsxfname.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/namespace/nsxfobj.c b/drivers/acpi/namespace/nsxfobj.c --- a/drivers/acpi/namespace/nsxfobj.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/namespace/nsxfobj.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/parser/psargs.c b/drivers/acpi/parser/psargs.c --- a/drivers/acpi/parser/psargs.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/parser/psargs.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/parser/psopcode.c b/drivers/acpi/parser/psopcode.c --- a/drivers/acpi/parser/psopcode.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/parser/psopcode.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/parser/psparse.c b/drivers/acpi/parser/psparse.c --- a/drivers/acpi/parser/psparse.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/parser/psparse.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/parser/psscope.c b/drivers/acpi/parser/psscope.c --- a/drivers/acpi/parser/psscope.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/parser/psscope.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/parser/pstree.c b/drivers/acpi/parser/pstree.c --- a/drivers/acpi/parser/pstree.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/parser/pstree.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/parser/psutils.c b/drivers/acpi/parser/psutils.c --- a/drivers/acpi/parser/psutils.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/parser/psutils.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/parser/pswalk.c b/drivers/acpi/parser/pswalk.c --- a/drivers/acpi/parser/pswalk.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/parser/pswalk.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/parser/psxface.c b/drivers/acpi/parser/psxface.c --- a/drivers/acpi/parser/psxface.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/parser/psxface.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/resources/rsaddr.c b/drivers/acpi/resources/rsaddr.c --- a/drivers/acpi/resources/rsaddr.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/resources/rsaddr.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/resources/rscalc.c b/drivers/acpi/resources/rscalc.c --- a/drivers/acpi/resources/rscalc.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/resources/rscalc.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/resources/rscreate.c b/drivers/acpi/resources/rscreate.c --- a/drivers/acpi/resources/rscreate.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/resources/rscreate.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/resources/rsdump.c b/drivers/acpi/resources/rsdump.c --- a/drivers/acpi/resources/rsdump.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/resources/rsdump.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/resources/rsio.c b/drivers/acpi/resources/rsio.c --- a/drivers/acpi/resources/rsio.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/resources/rsio.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/resources/rsirq.c b/drivers/acpi/resources/rsirq.c --- a/drivers/acpi/resources/rsirq.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/resources/rsirq.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/resources/rslist.c b/drivers/acpi/resources/rslist.c --- a/drivers/acpi/resources/rslist.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/resources/rslist.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/resources/rsmemory.c b/drivers/acpi/resources/rsmemory.c --- a/drivers/acpi/resources/rsmemory.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/resources/rsmemory.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/resources/rsmisc.c b/drivers/acpi/resources/rsmisc.c --- a/drivers/acpi/resources/rsmisc.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/resources/rsmisc.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/resources/rsutils.c b/drivers/acpi/resources/rsutils.c --- a/drivers/acpi/resources/rsutils.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/resources/rsutils.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/resources/rsxface.c b/drivers/acpi/resources/rsxface.c --- a/drivers/acpi/resources/rsxface.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/resources/rsxface.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/tables/tbconvrt.c b/drivers/acpi/tables/tbconvrt.c --- a/drivers/acpi/tables/tbconvrt.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/tables/tbconvrt.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -138,11 +138,11 @@ for (i = 0; i < acpi_gbl_rsdt_table_count; i++) { if (acpi_gbl_RSDP->revision < 2) { ACPI_STORE_ADDRESS (new_table->table_offset_entry[i], - ((struct rsdt_descriptor_rev1 *) table_info->pointer)->table_offset_entry[i]); + (ACPI_CAST_PTR (struct rsdt_descriptor_rev1, table_info->pointer))->table_offset_entry[i]); } else { new_table->table_offset_entry[i] = - ((XSDT_DESCRIPTOR *) table_info->pointer)->table_offset_entry[i]; + (ACPI_CAST_PTR (XSDT_DESCRIPTOR, table_info->pointer))->table_offset_entry[i]; } } @@ -152,7 +152,7 @@ /* Point the table descriptor to the new table */ - table_info->pointer = (struct acpi_table_header *) new_table; + table_info->pointer = ACPI_CAST_PTR (struct acpi_table_header, new_table); table_info->length = table_size; table_info->allocation = ACPI_MEM_ALLOCATED; @@ -469,7 +469,7 @@ /* Install the new table */ - table_desc->pointer = (struct acpi_table_header *) acpi_gbl_FADT; + table_desc->pointer = ACPI_CAST_PTR (struct acpi_table_header, acpi_gbl_FADT); table_desc->allocation = ACPI_MEM_ALLOCATED; table_desc->length = sizeof (struct fadt_descriptor_rev2); diff -Nru a/drivers/acpi/tables/tbget.c b/drivers/acpi/tables/tbget.c --- a/drivers/acpi/tables/tbget.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/tables/tbget.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/tables/tbgetall.c b/drivers/acpi/tables/tbgetall.c --- a/drivers/acpi/tables/tbgetall.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/tables/tbgetall.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/tables/tbinstal.c b/drivers/acpi/tables/tbinstal.c --- a/drivers/acpi/tables/tbinstal.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/tables/tbinstal.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/tables/tbrsdt.c b/drivers/acpi/tables/tbrsdt.c --- a/drivers/acpi/tables/tbrsdt.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/tables/tbrsdt.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -233,6 +233,15 @@ acpi_gbl_RSDP->rsdt_physical_address, (void *) (acpi_native_uint) acpi_gbl_RSDP->rsdt_physical_address)); + if (acpi_gbl_RSDP->revision < 2) { + ACPI_REPORT_ERROR (("Looking for RSDT (RSDP->Rev < 2)\n")) + } + else { + ACPI_REPORT_ERROR (("Looking for XSDT (RSDP->Rev >= 2)\n")) + } + + ACPI_DUMP_BUFFER ((char *) table_ptr, 48); + return (AE_BAD_SIGNATURE); } @@ -305,7 +314,7 @@ return_ACPI_STATUS (status); } - acpi_gbl_XSDT = (XSDT_DESCRIPTOR *) table_info.pointer; + acpi_gbl_XSDT = ACPI_CAST_PTR (XSDT_DESCRIPTOR, table_info.pointer); ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "XSDT located at %p\n", acpi_gbl_XSDT)); return_ACPI_STATUS (status); diff -Nru a/drivers/acpi/tables/tbutils.c b/drivers/acpi/tables/tbutils.c --- a/drivers/acpi/tables/tbutils.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/tables/tbutils.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/tables/tbxface.c b/drivers/acpi/tables/tbxface.c --- a/drivers/acpi/tables/tbxface.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/tables/tbxface.c Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/tables/tbxfroot.c b/drivers/acpi/tables/tbxfroot.c --- a/drivers/acpi/tables/tbxfroot.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/tables/tbxfroot.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -241,11 +241,11 @@ /* Get the next table pointer, handle RSDT vs. XSDT */ if (acpi_gbl_RSDP->revision < 2) { - address.pointer.value = ((RSDT_DESCRIPTOR *) rsdt_info.pointer)->table_offset_entry[i]; + address.pointer.value = (ACPI_CAST_PTR (RSDT_DESCRIPTOR, rsdt_info.pointer))->table_offset_entry[i]; } else { address.pointer.value = - ((XSDT_DESCRIPTOR *) rsdt_info.pointer)->table_offset_entry[i]; + (ACPI_CAST_PTR (XSDT_DESCRIPTOR, rsdt_info.pointer))->table_offset_entry[i]; } /* Get the table header */ diff -Nru a/drivers/acpi/utilities/utalloc.c b/drivers/acpi/utilities/utalloc.c --- a/drivers/acpi/utilities/utalloc.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/utilities/utalloc.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/utilities/utcopy.c b/drivers/acpi/utilities/utcopy.c --- a/drivers/acpi/utilities/utcopy.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/utilities/utcopy.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/utilities/utdebug.c b/drivers/acpi/utilities/utdebug.c --- a/drivers/acpi/utilities/utdebug.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/utilities/utdebug.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/utilities/utdelete.c b/drivers/acpi/utilities/utdelete.c --- a/drivers/acpi/utilities/utdelete.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/utilities/utdelete.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/utilities/uteval.c b/drivers/acpi/utilities/uteval.c --- a/drivers/acpi/utilities/uteval.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/utilities/uteval.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/utilities/utglobal.c b/drivers/acpi/utilities/utglobal.c --- a/drivers/acpi/utilities/utglobal.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/utilities/utglobal.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/utilities/utinit.c b/drivers/acpi/utilities/utinit.c --- a/drivers/acpi/utilities/utinit.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/utilities/utinit.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/utilities/utmath.c b/drivers/acpi/utilities/utmath.c --- a/drivers/acpi/utilities/utmath.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/utilities/utmath.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/utilities/utmisc.c b/drivers/acpi/utilities/utmisc.c --- a/drivers/acpi/utilities/utmisc.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/utilities/utmisc.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ ******************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -304,16 +304,20 @@ u32 name) { char *name_ptr = (char *) &name; - u32 i; + char character; + acpi_native_uint i; ACPI_FUNCTION_ENTRY (); for (i = 0; i < ACPI_NAME_SIZE; i++) { - if (!((name_ptr[i] == '_') || - (name_ptr[i] >= 'A' && name_ptr[i] <= 'Z') || - (name_ptr[i] >= '0' && name_ptr[i] <= '9'))) { + character = *name_ptr; + name_ptr++; + + if (!((character == '_') || + (character >= 'A' && character <= 'Z') || + (character >= '0' && character <= '9'))) { return (FALSE); } } diff -Nru a/drivers/acpi/utilities/utobject.c b/drivers/acpi/utilities/utobject.c --- a/drivers/acpi/utilities/utobject.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/utilities/utobject.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/drivers/acpi/utilities/utxface.c b/drivers/acpi/utilities/utxface.c --- a/drivers/acpi/utilities/utxface.c Sat Jan 17 23:12:03 2004 +++ b/drivers/acpi/utilities/utxface.c Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acconfig.h b/include/acpi/acconfig.h --- a/include/acpi/acconfig.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acconfig.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -64,7 +64,7 @@ /* Version string */ -#define ACPI_CA_VERSION 0x20031203 +#define ACPI_CA_VERSION 0x20040116 /* Maximum objects in the various object caches */ diff -Nru a/include/acpi/acdebug.h b/include/acpi/acdebug.h --- a/include/acpi/acdebug.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acdebug.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acdisasm.h b/include/acpi/acdisasm.h --- a/include/acpi/acdisasm.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acdisasm.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acdispat.h b/include/acpi/acdispat.h --- a/include/acpi/acdispat.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acdispat.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acevents.h b/include/acpi/acevents.h --- a/include/acpi/acevents.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acevents.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acexcep.h b/include/acpi/acexcep.h --- a/include/acpi/acexcep.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acexcep.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acglobal.h b/include/acpi/acglobal.h --- a/include/acpi/acglobal.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acglobal.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/achware.h b/include/acpi/achware.h --- a/include/acpi/achware.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/achware.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acinterp.h b/include/acpi/acinterp.h --- a/include/acpi/acinterp.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acinterp.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/aclocal.h b/include/acpi/aclocal.h --- a/include/acpi/aclocal.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/aclocal.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acmacros.h b/include/acpi/acmacros.h --- a/include/acpi/acmacros.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acmacros.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acnamesp.h b/include/acpi/acnamesp.h --- a/include/acpi/acnamesp.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acnamesp.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acobject.h b/include/acpi/acobject.h --- a/include/acpi/acobject.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acobject.h Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acoutput.h b/include/acpi/acoutput.h --- a/include/acpi/acoutput.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acoutput.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acparser.h b/include/acpi/acparser.h --- a/include/acpi/acparser.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acparser.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acpi.h b/include/acpi/acpi.h --- a/include/acpi/acpi.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acpi.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h --- a/include/acpi/acpiosxf.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acpiosxf.h Sat Jan 17 23:12:03 2004 @@ -9,7 +9,7 @@ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acpixf.h b/include/acpi/acpixf.h --- a/include/acpi/acpixf.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acpixf.h Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acresrc.h b/include/acpi/acresrc.h --- a/include/acpi/acresrc.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acresrc.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acstruct.h b/include/acpi/acstruct.h --- a/include/acpi/acstruct.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acstruct.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/actables.h b/include/acpi/actables.h --- a/include/acpi/actables.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/actables.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/actbl.h b/include/acpi/actbl.h --- a/include/acpi/actbl.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/actbl.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -165,6 +165,11 @@ u8 type; \ u8 length; +struct apic_header +{ + APIC_HEADER_DEF +}; + /* Values for MPS INTI flags */ #define POLARITY_CONFORMS 0 @@ -236,7 +241,7 @@ { APIC_HEADER_DEF u16 reserved; /* Reserved - must be zero */ - u32 address; /* APIC physical address */ + u64 address; /* APIC physical address */ }; struct madt_io_sapic diff -Nru a/include/acpi/actbl1.h b/include/acpi/actbl1.h --- a/include/acpi/actbl1.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/actbl1.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/actbl2.h b/include/acpi/actbl2.h --- a/include/acpi/actbl2.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/actbl2.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/actypes.h b/include/acpi/actypes.h --- a/include/acpi/actypes.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/actypes.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/acutils.h b/include/acpi/acutils.h --- a/include/acpi/acutils.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/acutils.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/amlcode.h b/include/acpi/amlcode.h --- a/include/acpi/amlcode.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/amlcode.h Sat Jan 17 23:12:03 2004 @@ -7,7 +7,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/amlresrc.h b/include/acpi/amlresrc.h --- a/include/acpi/amlresrc.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/amlresrc.h Sat Jan 17 23:12:03 2004 @@ -6,7 +6,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h --- a/include/acpi/platform/acenv.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/platform/acenv.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/platform/acgcc.h b/include/acpi/platform/acgcc.h --- a/include/acpi/platform/acgcc.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/platform/acgcc.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff -Nru a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h --- a/include/acpi/platform/aclinux.h Sat Jan 17 23:12:03 2004 +++ b/include/acpi/platform/aclinux.h Sat Jan 17 23:12:03 2004 @@ -5,7 +5,7 @@ *****************************************************************************/ /* - * Copyright (C) 2000 - 2003, R. Byron Moore + * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use in source and binary forms, with or without