net/faraday: Mask PHY interrupt with NCSI mode
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 19 Jul 2016 01:54:25 +0000 (11:54 +1000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2016 03:49:18 +0000 (20:49 -0700)
commitfc6061cf93524c3e1066185922ae3ac3f41b9746
treee92d8410cd8bdfb529d657fb0fa0a7648c5db9cf
parentbb168e2e9e512e6b2cc3ebf6f2ca3fcb07180370
net/faraday: Mask PHY interrupt with NCSI mode

Bogus PHY interrupts are observed. This masks the PHY interrupt
when the interface works in NCSI mode as there is no attached
PHY under the circumstance.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c