diff options
author | jkim <jkim@FreeBSD.org> | 2012-04-20 23:39:48 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2012-04-20 23:39:48 +0000 |
commit | eb364ef2c90291c41e896d265d93fe21e48d02a7 (patch) | |
tree | 79677aa8d9d6e5b97246264fe36dcad25ae471a1 /source/components/debugger/dbcmds.c | |
parent | 1c3442fdc2bf7441ce8d61d4ce8920ce2fdd9c3e (diff) | |
download | FreeBSD-src-eb364ef2c90291c41e896d265d93fe21e48d02a7.zip FreeBSD-src-eb364ef2c90291c41e896d265d93fe21e48d02a7.tar.gz |
Import ACPICA 20120420.
Diffstat (limited to 'source/components/debugger/dbcmds.c')
-rw-r--r-- | source/components/debugger/dbcmds.c | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/source/components/debugger/dbcmds.c b/source/components/debugger/dbcmds.c index ba6181b..459cd91 100644 --- a/source/components/debugger/dbcmds.c +++ b/source/components/debugger/dbcmds.c @@ -373,25 +373,20 @@ AcpiDbSendNotify ( return; } - /* Decode Named object type */ + /* Dispatch the notify if legal */ - switch (Node->Type) + if (AcpiEvIsNotifyObject (Node)) { - case ACPI_TYPE_DEVICE: - case ACPI_TYPE_THERMAL: - - /* Send the notify */ - Status = AcpiEvQueueNotifyRequest (Node, Value); if (ACPI_FAILURE (Status)) { AcpiOsPrintf ("Could not queue notify\n"); } - break; - - default: - AcpiOsPrintf ("Named object is not a device or a thermal object\n"); - break; + } + else + { + AcpiOsPrintf ("Named object [%4.4s] Type %s, must be Device/Thermal/Processor type\n", + AcpiUtGetNodeName (Node), AcpiUtGetTypeName (Node->Type)); } } |