diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2009-04-04 00:25:47 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-04 03:14:52 -0400 |
commit | 73a94d86a8625371f76de0ee12dc5bacd3ed42c0 (patch) | |
tree | db8def5a298edf3b70efefb4fd255da87ca0d2fd /Documentation | |
parent | 7ff8d62f7f055aaffbeb493863136c1b876bbe2e (diff) |
thinkpad-acpi: add new debug helpers and warn of deprecated atts
Add a debug helper that discloses the TGID of the userspace task
attempting to access the driver. This is highly useful when dealing
with bug reports, since often the user has no idea that some userspace
application is accessing thinkpad-acpi...
Also add a helper to log warnings about sysfs attributes that are
deprecated.
Use the new helpers to issue deprecation warnings for bluetooth_enable
and wwan_enabled, that have been deprecated for a while, now.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/laptops/thinkpad-acpi.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/laptops/thinkpad-acpi.txt b/Documentation/laptops/thinkpad-acpi.txt index f6e6bc66eed..e8f52fbadfe 100644 --- a/Documentation/laptops/thinkpad-acpi.txt +++ b/Documentation/laptops/thinkpad-acpi.txt | |||
@@ -1484,6 +1484,8 @@ will enable all debugging output classes. It takes a bitmask, so | |||
1484 | to enable more than one output class, just add their values. | 1484 | to enable more than one output class, just add their values. |
1485 | 1485 | ||
1486 | Debug bitmask Description | 1486 | Debug bitmask Description |
1487 | 0x8000 Disclose PID of userspace programs | ||
1488 | accessing some functions of the driver | ||
1487 | 0x0001 Initialization and probing | 1489 | 0x0001 Initialization and probing |
1488 | 0x0002 Removal | 1490 | 0x0002 Removal |
1489 | 1491 | ||