patch-2.4.25 linux-2.4.25/drivers/acpi/utilities/utobject.c
Next file: linux-2.4.25/drivers/acpi/utilities/utxface.c
Previous file: linux-2.4.25/drivers/acpi/utilities/utmisc.c
Back to the patch index
Back to the overall index
- Lines: 52
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/drivers/acpi/utilities/utobject.c
- Orig date:
2003-08-25 04:44:41.000000000 -0700
diff -urN linux-2.4.24/drivers/acpi/utilities/utobject.c linux-2.4.25/drivers/acpi/utilities/utobject.c
@@ -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
@@ -223,29 +223,10 @@
return (TRUE);
- case ACPI_DESC_TYPE_NAMED:
-
- ACPI_DEBUG_PRINT ((ACPI_DB_INFO,
- "**** Obj %p is a named obj, not ACPI obj\n", object));
- break;
-
- case ACPI_DESC_TYPE_PARSER:
-
- ACPI_DEBUG_PRINT ((ACPI_DB_INFO,
- "**** Obj %p is a parser obj, not ACPI obj\n", object));
- break;
-
- case ACPI_DESC_TYPE_CACHED:
-
- ACPI_DEBUG_PRINT ((ACPI_DB_ERROR,
- "**** Obj %p has already been released to internal cache\n", object));
- break;
-
default:
-
- ACPI_DEBUG_PRINT ((ACPI_DB_ERROR,
- "**** Obj %p has unknown descriptor type %X\n", object,
- ACPI_GET_DESCRIPTOR_TYPE (object)));
+ ACPI_DEBUG_PRINT ((ACPI_DB_INFO,
+ "%p is not not an ACPI operand obj [%s]\n",
+ object, acpi_ut_get_descriptor_name (object)));
break;
}
@@ -322,7 +303,8 @@
if (ACPI_GET_DESCRIPTOR_TYPE (object) != ACPI_DESC_TYPE_OPERAND) {
ACPI_DEBUG_PRINT ((ACPI_DB_ERROR,
- "Obj %p is not an ACPI object\n", object));
+ "%p is not an ACPI Operand object [%s]\n", object,
+ acpi_ut_get_descriptor_name (object)));
return_VOID;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)