fec_mpc52xx: MPC52xx_MESSAGES_DEFAULT: 2nd NETIF_MSG_IFDOWN => IFUP
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 fec_mpc52xx: MPC52xx_MESSAGES_DEFAULT: 2nd NETIF_MSG_IFDOWN => IFUP
Quoted 10 lines · Sylvain Munaut
Quoted 9 lines · Roel Kluin
in
drivers/net/fec_mpc52xx.c:81it reads:#define
MPC52xx_MESSAGES_DEFAULT(NETIF_MSG_DRV|NETIF_MSG_PROBE| \
NETIF_MSG_LINK|NETIF_MSG_IFDOWN|NETIF_MSG_IFDOWN)should this maybe be
NETIF_MSG_IFUP|NETIF_MSG_IFDOWN)
Quoted 7 lines
Quoted 3 lines
?
Yes but I remember seeing a patch for this already ... What kernel version / revision do you have ?
Sylvain
Indeed I already sent the patch, see http://lkml.org/lkml/2008/1/30/252 (my emailaddress changed), but there was no response and the patch isn't included in current Linus' git. maybe if you could add your ack?
---
duplicate NETIF_MSG_IFDOWN, 2nd should be NETIF_MSG_IFUP
---
drivers/net/fec_mpc52xx.c +1 -1
@@ -78,7 +78,7 @@ module_param_array_named(mac, mpc52xx_fec_mac_addr, byte, NULL, 0);MODULE_PARM_DESC (mac,"six hex digits, ie. 0x1,0x2,0xc0,0x01,0xba,0xbe" );#define MPC52xx_MESSAGES_DEFAULT ( NETIF_MSG_DRV | NETIF_MSG_PROBE | \ - NETIF_MSG_LINK | NETIF_MSG_IFDOWN | NETIF_MSG_IFDOWN ) + NETIF_MSG_LINK | NETIF_MSG_IFDOWN | NETIF_MSG_IFUP)static int debug =-1 ;/* the above default */ module_param (debug, int,0 );MODULE_PARM_DESC (debug,"debugging messages level" );
Quoted 10 lines · Roel Kluin
Quoted 5 lines
Yes but I remember seeing a patch for this already ... What kernel version / revision do you have ?
Sylvain
Indeed I already sent the patch, see http://lkml.org/lkml/2008/1/30/252 (my emailaddress changed), but there was no response and the patch isn't included in current Linus' git. maybe if you could add your ack?
Sure thing.
Quoted 20 lines
---
duplicateNETIF_MSG_IFDOWN, 2nd should beNETIF_MSG_IFUPSigned-off-by Roel Kluin <[email protected]>---
drivers/net/fec_mpc52xx.c +1
-1@@ -78,7 +78,7 @@ module_param_array_named(mac, mpc52xx_fec_mac_addr, byte, NULL, 0);MODULE_PARM_DESC (mac,"six hex digits, ie. 0x1,0x2,0xc0,0x01,0xba,0xbe" );#define MPC52xx_MESSAGES_DEFAULT ( NETIF_MSG_DRV | NETIF_MSG_PROBE | \ - NETIF_MSG_LINK | NETIF_MSG_IFDOWN | NETIF_MSG_IFDOWN ) + NETIF_MSG_LINK | NETIF_MSG_IFDOWN | NETIF_MSG_IFUP)static int debug =-1 ;/* the above default */ module_param (debug, int,0 );MODULE_PARM_DESC (debug,"debugging messages level" );