Skip to content

Commit

Permalink
ide: add drive->debug_mask switch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Borislav Petkov authored and Bartlomiej Zolnierkiewicz committed Oct 13, 2008
1 parent 5aeddf9 commit b22b2ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/linux/ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b22b2ca

Please sign in to comment.