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
..
2008-02-05 09:44:22 -08:00
2008-02-05 09:44:23 -08:00
2008-02-03 17:12:34 +02:00
2008-02-05 09:44:13 -08:00
2008-02-03 17:15:20 +02:00
2008-02-03 17:16:28 +02:00
2008-02-04 23:50:03 +11:00
2008-02-03 17:18:59 +02:00
2008-02-03 17:21:01 +02:00
2008-02-03 17:22:34 +02:00
2008-02-03 15:42:53 +02:00
2008-01-31 11:25:51 +11:00
2008-02-03 15:42:53 +02:00
2008-02-03 17:30:25 +02:00
2008-01-24 20:40:43 -08:00
2008-02-03 17:31:49 +02:00
2008-02-04 23:50:13 +11:00
2008-02-05 09:44:12 -08:00
2008-02-05 09:44:12 -08:00