• Joel Stanley's avatar
    net/ncsi: Silence debug messages · 87975a01
    Joel Stanley authored
    In normal operation we see this series of messages as the host drives
    the network device:
    
     ftgmac100 1e660000.ethernet eth0: NCSI: LSC AEN - channel 0 state down
     ftgmac100 1e660000.ethernet eth0: NCSI: suspending channel 0
     ftgmac100 1e660000.ethernet eth0: NCSI: configuring channel 0
     ftgmac100 1e660000.ethernet eth0: NCSI: channel 0 link down after config
     ftgmac100 1e660000.ethernet eth0: NCSI interface down
     ftgmac100 1e660000.ethernet eth0: NCSI: LSC AEN - channel 0 state up
     ftgmac100 1e660000.ethernet eth0: NCSI: configuring channel 0
     ftgmac100 1e660000.ethernet eth0: NCSI interface up
     ftgmac100 1e660000.ethernet eth0: NCSI: LSC AEN - channel 0 state down
     ftgmac100 1e660000.ethernet eth0: NCSI: suspending channel 0
     ftgmac100 1e660000.ethernet eth0: NCSI: configuring channel 0
     ftgmac100 1e660000.ethernet eth0: NCSI: channel 0 link down after config
     ftgmac100 1e660000.ethernet eth0: NCSI interface down
     ftgmac100 1e660000.ethernet eth0: NCSI: LSC AEN - channel 0 state up
     ftgmac100 1e660000.ethernet eth0: NCSI: configuring channel 0
     ftgmac100 1e660000.ethernet eth0: NCSI interface up
    
    This makes all of these messages netdev_dbg. They are still useful to
    debug eg. misbehaving network device firmware, but we do not need them
    filling up the kernel logs in normal operation.
    Acked-by: default avatarSamuel Mendoza-Jonas <sam@mendozajonas.com>
    Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    87975a01
ftgmac100.c 49.9 KB