Revision d07c0278da1f4cfc91c3d46d0d07a0d13a949892 authored by Jaedon Shin on 19 February 2016, 04:48:50 UTC, committed by David S. Miller on 20 February 2016, 04:51:40 UTC
The PHY link state is not chaged in GENETv2 caused by the previous
commit 49f7a471e4d1 ("net: bcmgenet: Properly configure PHY to ignore
interrupt") was set to PHY_IGNORE_INTERRUPT in bcmgenet_mii_probe().

The internal PHY should use phy_mac_interrupt() when not in use
PHY_POLL. The statement for phy_mac_interrupt() has two conditions. The
first condition to check GENET_HAS_MDIO_INTR is not related PHY link
state, so this patch removes it.

Fixes: 49f7a471e4d1 ("net: bcmgenet: Properly configure PHY to ignore interrupt")
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 18eceb8
History
File Mode Size
platform
acbuffer.h -rw-r--r-- 10.4 KB
acconfig.h -rw-r--r-- 8.5 KB
acexcep.h -rw-r--r-- 17.4 KB
acnames.h -rw-r--r-- 3.7 KB
acoutput.h -rw-r--r-- 17.5 KB
acpi.h -rw-r--r-- 3.1 KB
acpi_bus.h -rw-r--r-- 17.5 KB
acpi_drivers.h -rw-r--r-- 4.0 KB
acpi_io.h -rw-r--r-- 647 bytes
acpi_lpat.h -rw-r--r-- 1.5 KB
acpi_numa.h -rw-r--r-- 466 bytes
acpiosxf.h -rw-r--r-- 13.0 KB
acpixf.h -rw-r--r-- 31.0 KB
acrestyp.h -rw-r--r-- 17.5 KB
actbl.h -rw-r--r-- 19.3 KB
actbl1.h -rw-r--r-- 32.8 KB
actbl2.h -rw-r--r-- 39.5 KB
actbl3.h -rw-r--r-- 19.1 KB
actypes.h -rw-r--r-- 41.8 KB
acuuid.h -rw-r--r-- 4.0 KB
apei.h -rw-r--r-- 1.3 KB
button.h -rw-r--r-- 582 bytes
cppc_acpi.h -rw-r--r-- 2.9 KB
ghes.h -rw-r--r-- 1.5 KB
hed.h -rw-r--r-- 371 bytes
pdc_intel.h -rw-r--r-- 1009 bytes
processor.h -rw-r--r-- 10.6 KB
reboot.h -rw-r--r-- 162 bytes
video.h -rw-r--r-- 1.7 KB

back to top