diff options
author | Tilman Schmidt <tilman@imap.cc> | 2010-02-22 08:09:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-26 04:24:23 -0500 |
commit | 1528b18f7ec2b907711f37667c68e10d9296c882 (patch) | |
tree | 00c887ea15474334898ae1f89a05706be49079ed /drivers/isdn/gigaset/gigaset.h | |
parent | 63e055d1c6e3a5f6d370cc841d621d5fa4d5d834 (diff) |
gigaset: reduce syslog clutter
Improve readability of the Gigaset driver's kernel messages by
removing a few unnecessary messages and limiting the emission
of some debug messages more narrowly.
Impact: logging
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/gigaset/gigaset.h')
-rw-r--r-- | drivers/isdn/gigaset/gigaset.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h index c9ccf7de2275..1875ab80b335 100644 --- a/drivers/isdn/gigaset/gigaset.h +++ b/drivers/isdn/gigaset/gigaset.h | |||
@@ -78,9 +78,10 @@ enum debuglevel { | |||
78 | DEBUG_STREAM = 0x00040, /* application data stream I/O events */ | 78 | DEBUG_STREAM = 0x00040, /* application data stream I/O events */ |
79 | DEBUG_STREAM_DUMP = 0x00080, /* application data stream content */ | 79 | DEBUG_STREAM_DUMP = 0x00080, /* application data stream content */ |
80 | DEBUG_LLDATA = 0x00100, /* sent/received LL data */ | 80 | DEBUG_LLDATA = 0x00100, /* sent/received LL data */ |
81 | DEBUG_EVENT = 0x00200, /* event processing */ | ||
81 | DEBUG_DRIVER = 0x00400, /* driver structure */ | 82 | DEBUG_DRIVER = 0x00400, /* driver structure */ |
82 | DEBUG_HDLC = 0x00800, /* M10x HDLC processing */ | 83 | DEBUG_HDLC = 0x00800, /* M10x HDLC processing */ |
83 | DEBUG_WRITE = 0x01000, /* M105 data write */ | 84 | DEBUG_CHANNEL = 0x01000, /* channel allocation/deallocation */ |
84 | DEBUG_TRANSCMD = 0x02000, /* AT-COMMANDS+RESPONSES */ | 85 | DEBUG_TRANSCMD = 0x02000, /* AT-COMMANDS+RESPONSES */ |
85 | DEBUG_MCMD = 0x04000, /* COMMANDS THAT ARE SENT VERY OFTEN */ | 86 | DEBUG_MCMD = 0x04000, /* COMMANDS THAT ARE SENT VERY OFTEN */ |
86 | DEBUG_INIT = 0x08000, /* (de)allocation+initialization of data | 87 | DEBUG_INIT = 0x08000, /* (de)allocation+initialization of data |
@@ -785,8 +786,6 @@ static inline void gigaset_schedule_event(struct cardstate *cs) | |||
785 | static inline void gigaset_bchannel_down(struct bc_state *bcs) | 786 | static inline void gigaset_bchannel_down(struct bc_state *bcs) |
786 | { | 787 | { |
787 | gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_CLOSED, NULL, 0, NULL); | 788 | gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_CLOSED, NULL, 0, NULL); |
788 | |||
789 | gig_dbg(DEBUG_CMD, "scheduling BC_CLOSED"); | ||
790 | gigaset_schedule_event(bcs->cs); | 789 | gigaset_schedule_event(bcs->cs); |
791 | } | 790 | } |
792 | 791 | ||
@@ -795,8 +794,6 @@ static inline void gigaset_bchannel_down(struct bc_state *bcs) | |||
795 | static inline void gigaset_bchannel_up(struct bc_state *bcs) | 794 | static inline void gigaset_bchannel_up(struct bc_state *bcs) |
796 | { | 795 | { |
797 | gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_OPEN, NULL, 0, NULL); | 796 | gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_OPEN, NULL, 0, NULL); |
798 | |||
799 | gig_dbg(DEBUG_CMD, "scheduling BC_OPEN"); | ||
800 | gigaset_schedule_event(bcs->cs); | 797 | gigaset_schedule_event(bcs->cs); |
801 | } | 798 | } |
802 | 799 | ||