linux/drivers/ide
Borislav Petkov 8004a8c974 ide-tape: refactor the debug logging facility
Teach the debug logging macro to differentiate between log levels based on the
type of debug level enabled specifically instead of a threshold-based one.
Thus, convert tape->debug_level to a bitmask that is written to over /proc.

Also,
- cleanup and simplify the debug macro thus removing a lot of code lines,
- get rid of unused debug levels,
- adjust the loglevel at several places where it was simply missing (e.g.
  idetape_chrdev_open())
- move the tape ptr initialization up in idetape_chrdev_open() so that we can
  use it in the debug_log macro earlier in the function.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-02-06 02:57:51 +01:00
..
arm ide: add ide_read_[alt]status() inline helpers 2008-02-06 02:57:51 +01:00
cris ide: remove ide_setup_ports() 2008-02-06 02:57:50 +01:00
h8300 ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
legacy ide: remove ide_setup_ports() 2008-02-06 02:57:50 +01:00
mips ide: add IDE_HFLAG_NO_{IO32_BIT,UNMASK_IRQS} host flags 2008-02-02 19:56:40 +01:00
pci ide: remove write-only ->sata_misc[] from ide_hwif_t 2008-02-06 02:57:50 +01:00
ppc ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
ide-acpi.c drivers/ide/ide-acpi.c: fix uninitialized var warning 2008-02-06 02:57:49 +01:00
ide-cd_ioctl.c ide-cd: move the remaining cdrom.c ioctl handling code to ide-cd_ioctl.c 2008-02-01 23:09:29 +01:00
ide-cd_verbose.c ide-cd: move VERBOSE_IDE_CD_ERRORS code to ide-cd_verbose.c 2008-02-01 23:09:23 +01:00
ide-cd.c ide: add ide_read_error() inline helper 2008-02-06 02:57:51 +01:00
ide-cd.h ide: delete filenames/versions from comments 2008-02-01 23:09:33 +01:00
ide-disk.c ide: update/add my Copyrights 2008-02-01 23:09:33 +01:00
ide-dma.c ide: add ide_read_[alt]status() inline helpers 2008-02-06 02:57:51 +01:00
ide-floppy.c ide: add ide_read_error() inline helper 2008-02-06 02:57:51 +01:00
ide-generic.c ide-generic: probing bugfix 2008-02-06 02:57:48 +01:00
ide-io.c ide: add ide_read_error() inline helper 2008-02-06 02:57:51 +01:00
ide-iops.c ide: add ide_read_error() inline helper 2008-02-06 02:57:51 +01:00
ide-lib.c ide: add ide_read_error() inline helper 2008-02-06 02:57:51 +01:00
ide-pnp.c ide: fix ide_unregister() usage in host drivers 2008-02-02 19:56:39 +01:00
ide-probe.c ide: add ide_read_[alt]status() inline helpers 2008-02-06 02:57:51 +01:00
ide-proc.c Palmchip BK3710 IDE driver 2008-02-06 02:57:48 +01:00
ide-scan-pci.c ide: small ide-scan-pci.c cleanup 2008-02-01 23:09:16 +01:00
ide-tape.c ide-tape: refactor the debug logging facility 2008-02-06 02:57:51 +01:00
ide-taskfile.c ide: add ide_read_error() inline helper 2008-02-06 02:57:51 +01:00
ide-timing.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
ide.c ide: remove ide_setup_ports() 2008-02-06 02:57:50 +01:00
Kconfig Palmchip BK3710 IDE driver 2008-02-06 02:57:48 +01:00
Makefile ide-cd: move code handling cdrom.c IOCTLs to ide-cd_ioctl.c 2008-02-01 23:09:25 +01:00
setup-pci.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00