Skip to content
Commit c6b5c616 authored by Andriy Gelman's avatar Andriy Gelman Committed by Maureen Helm
Browse files

drivers: ethernet: phy_mii: Fix invalid phy_id check



When there'is no phy at the address both registers will return
0xFFFF, giving a phy address of UINT32_MAX, not 0x00FFFFFF.

Signed-off-by: default avatarAndriy Gelman <andriy.gelman@gmail.com>
parent 9080007e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment