Re: [PATCH v3] [8/10] pasemi_mac: Add msglevel support and "pasemi_mac_debug" module param

2007-05-07 Thread Olof Johansson
On Tue, May 08, 2007 at 01:03:12AM -0400, Jeff Garzik wrote: > Olof Johansson wrote: > >+/* Enable most messages by default */ > >+if (pasemi_mac_debug > 0) > >+mac->msg_enable = DEFAULT_MSG_ENABLE; > >+else > >+mac->msg_enable = pasemi_mac_debug; > >+ > > > us

Re: [PATCH v3] [8/10] pasemi_mac: Add msglevel support and "pasemi_mac_debug" module param

2007-05-07 Thread Jeff Garzik
Olof Johansson wrote: + /* Enable most messages by default */ + if (pasemi_mac_debug > 0) + mac->msg_enable = DEFAULT_MSG_ENABLE; + else + mac->msg_enable = pasemi_mac_debug; + use netif_msg_init() otherwise OK - To unsubscribe from this list: se

[PATCH v3] [8/10] pasemi_mac: Add msglevel support and "pasemi_mac_debug" module param

2007-04-28 Thread Olof Johansson
Add msglevel support for pasemi_mac. Move the MODULE_* defines to the top to go together with the variable (similar to tg3). Signed-off-by: Olof Johansson <[EMAIL PROTECTED]> Index: netdev-2.6/drivers/net/pasemi_mac.c === --- netdev