2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/ethernet/sun
Nick Bowler b11e5f6a3a net: sunhme: output link status with a single print.
This driver currently prints the link status using four separate
printk calls, which these days gets presented to the user as four
distinct messages, not exactly ideal:

  [   32.582778] eth0: Link is up using
  [   32.582828] internal
  [   32.582837] transceiver at
  [   32.582888] 100Mb/s, Full Duplex.

Restructure the display_link_mode function to use a single netdev_info
call to present all this information as a single message, which is much
nicer:

  [   33.640143] hme 0000:00:01.1 eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.

The display_forced_link_mode function has a similar structure, so adjust
it in a similar fashion.

Signed-off-by: Nick Bowler <nbowler@draconx.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-07-13 14:53:48 +01:00
..
cassini.c eth: sun: cassini: remove dead code 2022-05-18 14:05:30 +01:00
cassini.h
Kconfig net: sun: SUNVNET_COMMON should depend on INET 2021-09-28 13:20:21 +01:00
ldmvsw.c ethernet: sun: add missing semicolon, fix build 2021-10-11 07:34:04 -07:00
Makefile
niu.c niu: Silence randstruct warnings 2022-05-16 16:02:21 -07:00
niu.h
sunbmac.c ethernet: replace netdev->dev_addr assignment loops 2021-10-14 09:22:25 -07:00
sunbmac.h
sungem.c net: ethernet: Prepare cleanup of powerpc's asm/prom.h 2022-05-05 15:53:02 -07:00
sungem.h
sunhme.c net: sunhme: output link status with a single print. 2022-07-13 14:53:48 +01:00
sunhme.h
sunqe.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
sunqe.h
sunvnet_common.c skb_copy_and_csum_bits(): don't bother with the last argument 2020-08-20 15:45:13 -04:00
sunvnet_common.h
sunvnet.c ethernet: use eth_hw_addr_set() in unmaintained drivers 2021-10-18 13:20:38 +01:00