summaryrefslogtreecommitdiffstats
path: root/net/psample
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-05-22 11:53:31 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-23 16:25:28 -0700
commit0465d8f830dc40714db6c02e1db28b30206a82f7 (patch)
tree15bc6f66cbb0f59510e329fea2d9142e5811f95a /net/psample
parenta152b85984a03e7f83b9d8bcf908c29597d898fc (diff)
downloadlinux-0465d8f830dc40714db6c02e1db28b30206a82f7.tar.gz
linux-0465d8f830dc40714db6c02e1db28b30206a82f7.tar.bz2
linux-0465d8f830dc40714db6c02e1db28b30206a82f7.zip
net: phy: at803x: fix PHY ID masks
Ever since its first commit 0ca7111a38f05 ("phy: add AT803x driver") the PHY ID mask was set to 0xffffffef. It is unclear to me why this mask was chosen in the first place. Both the AR8031/AR8033 and the AR8035 datasheets mention it is always the given value: - for AR8031/AR8033 its 0x004d/0xd074 - for AR8035 its 0x004d/0xd072 Unfortunately, I don't have a datasheet for the AR8030. Therefore, we leave its PHY ID mask untouched. For the PHYs mentioned before use the handy PHY_ID_MATCH_EXACT() macro. I've tried to contact the author of the initial commit, but received no answer so far. Cc: Matus Ujhelyi <ujhelyi.m@gmail.com> Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/psample')
0 files changed, 0 insertions, 0 deletions