projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aeddf9
)
ide: add drive->debug_mask switch
author
Borislav Petkov
<petkovbb@googlemail.com>
Mon, 13 Oct 2008 19:39:34 +0000
(21:39 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:34 +0000
(21:39 +0200)
Add a debugging on/off switch for controlling driver debugging
messages dynamically.
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
include/linux/ide.h
patch
|
blob
|
history
diff --git
a/include/linux/ide.h
b/include/linux/ide.h
index 350ef47ed616f4d9898469eaa6656d654bc33b5c..fcd98e1d186300189df9ddd24807d52992c6aea2 100644
(file)
--- a/
include/linux/ide.h
+++ b/
include/linux/ide.h
@@
-545,6
+545,9
@@
struct ide_drive_s {
int lun; /* logical unit */
int crc_count; /* crc counter to reduce drive speed */
+
+ unsigned long debug_mask; /* debugging levels switch */
+
#ifdef CONFIG_BLK_DEV_IDEACPI
struct ide_acpi_drive_link *acpidata;
#endif