]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: rename GMAC_INT_DEFAULT_MASK for dwmac4
authorNiklas Cassel <niklas.cassel@axis.com>
Fri, 9 Feb 2018 16:22:46 +0000 (17:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Feb 2018 19:23:04 +0000 (14:23 -0500)
commite098cbd158cb1bdaf1ab24e7624cf8c34d3dce18
tree18bfd32e7c76e1f415d480b0dddcfc920e24627c
parented77be5c37a988a7775131262228aef00c84cdf3
net: stmmac: rename GMAC_INT_DEFAULT_MASK for dwmac4

GMAC_INT_DEFAULT_MASK is written to the interrupt enable register.
In previous versions of the IP (e.g. dwmac1000), this register was
instead an interrupt mask register.
To improve clarity and reflect reality, rename GMAC_INT_DEFAULT_MASK
to GMAC_INT_DEFAULT_ENABLE.

Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac4.h
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c