]> git.baikalelectronics.ru Git - kernel.git/commit
net: bgmac: Mask interrupts during probe
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 27 Mar 2018 23:20:02 +0000 (16:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Mar 2018 16:06:10 +0000 (12:06 -0400)
commit9a6774bfef121c7baa4879eb5695f5a0a20c7c05
tree19770c340458c69e4a16d61cad7a51104d70a71e
parent094a759e0bc3eb11df39e004e03916fd2bbe6bdf
net: bgmac: Mask interrupts during probe

We can have interrupts left enabled form e.g: the bootloader which used
the network device for network boot. Make sure we have those disabled as
early as possible to avoid spurious interrupts.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c