diff options
author | Alexander Graf <agraf@suse.de> | 2016-05-16 20:52:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-17 14:31:09 -0400 |
commit | 81003bc924bac0a99bfdc2869f5dff5a87aa4a3d (patch) | |
tree | eb51d133e67c396f2c6c6f52deef7ff78e681ed0 /arch | |
parent | 7f32541c2fdaa84af418c3e1431bbd066ab44d09 (diff) |
phy dp83867: Make rgmii parameters optional
If you compile without OF_MDIO support in an RGMII configuration, we fail
to configure the dp83867 phy today by writing garbage into its configuration
registers.
On the other hand if you do compile with OF_MDIO and the phy gets loaded via
device tree, you have to have the properties set in the device tree, otherwise
we fail to load the driver and don't even attach the generic phy driver to
the interface anymore.
To make things slightly more consistent, make the rgmii configuration properties
optional and allow a user to omit them in their device tree.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions