summaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
authorBorislav Petkov <petkovbb@googlemail.com>2008-02-06 02:57:51 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-06 02:57:51 +0100
commit8004a8c9744842a5a32b71d3a8093c652972bb23 (patch)
treed39926bdd1e54a05dcf8a67d833c8a1d931302ee /drivers/parport
parent64a57fe4393bae920d03c253173f59d8a7ec8e25 (diff)
downloadblackbird-op-linux-8004a8c9744842a5a32b71d3a8093c652972bb23.tar.gz
blackbird-op-linux-8004a8c9744842a5a32b71d3a8093c652972bb23.zip
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>
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud