]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: bgmac: make it clear when setting interface type to RMII
authorRafał Miłecki <rafal@milecki.pl>
Wed, 17 Aug 2016 21:11:52 +0000 (23:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2016 06:36:07 +0000 (23:36 -0700)
commite2d8f646c79f26e094bfaf9b21be614d1e148a67
treef1994058ccb7af8ffe637aa789b65b8a47547e2b
parent1cb94db3d1bfe0075bde78fb2989f17e0a8a3936
net: bgmac: make it clear when setting interface type to RMII

It doesn't really change anything as BGMAC_CHIPCTL_1_IF_TYPE_RMII is
equal to 0. It make code a bit clener, so far when reading it one could
think we forgot to set a proper mode. It also keeps this mode code in
sync with other ones.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c