projects
/
kernel
/
kernel-generic.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
350ef47
..
fcd98e1
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