Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b22b2ca4 authored by Borislav Petkov's avatar Borislav Petkov Committed by Bartlomiej Zolnierkiewicz
Browse files

ide: add drive->debug_mask switch



Add a debugging on/off switch for controlling driver debugging
messages dynamically.

Signed-off-by: default avatarBorislav Petkov <petkovbb@gmail.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 5aeddf90
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -545,6 +545,9 @@ struct ide_drive_s {


	int		lun;		/* logical unit */
	int		lun;		/* logical unit */
	int		crc_count;	/* crc counter to reduce drive speed */
	int		crc_count;	/* crc counter to reduce drive speed */

	unsigned long	debug_mask;	/* debugging levels switch */

#ifdef CONFIG_BLK_DEV_IDEACPI
#ifdef CONFIG_BLK_DEV_IDEACPI
	struct ide_acpi_drive_link *acpidata;
	struct ide_acpi_drive_link *acpidata;
#endif
#endif