Hi Bart, here's something i've been wanting to do for a long time: debugging macros. The reason for it is that i got tired of adding debug printk's everytime i'm testing something so here we go. The debugging macro is similar to the old ones but is one for all drivers (currently only ide-floppy), is nice on branch prediction and is controlled by a drive->debug_mask switch which is a module parameter and as such can be set at module load time, of course. I've been thinking of adding also a sysfs attribute too but can't seem to find quite the justification for it so no sysfs for now :) In addition, one can still optimize away all the debug calls in the old manner and i'm sure those will be removed completely too when ide generic conversion is done. Please tell me what you think, what can be changed/improved and after we've figured out the details I'll do the other drivers too. Thanks. drivers/ide/ide-cd.c | 17 ++--- drivers/ide/ide-floppy.c | 168 +++++++++++++++++++++++++--------------------- drivers/ide/ide-tape.c | 23 ++---- include/linux/ide.h | 31 ++++++++- 4 files changed, 135 insertions(+), 104 deletions(-) --
| Ian Campbell | Re: [PATCH] x86: Construct 32 bit boot time page tables in native format. |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Justin Piszcz | Linux Software RAID 5 Performance Optimizations: 2.6.19.1: (211MB/s read & 195... |
| Alan | Re: [RFC] Heads up on sys_fallocate() |
| Matthias Scheler | Re: HEADS UP: timecounters (branch simonb-timecounters) merged into -current |
| David Laight | long usernames |
| Quentin Garnier | Re: Understanding foo_open, foo_read, etc. |
| Jared D. McNeill | Breaking binary compatibility for /dev/joy |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
