diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2015-03-16 10:56:29 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-16 20:27:51 (GMT) |
commit | 73ee5442978b2dd3159e0170b09ba907a197a62d (patch) | |
tree | 106c0c2d42807aea4d6847c4fdd4de80b08894b7 /fs/nls | |
parent | 26eee0210ad72a29eb4a70b34320bda266f91a0d (diff) | |
download | linux-73ee5442978b2dd3159e0170b09ba907a197a62d.tar.xz |
net/fsl: modify xgmac_mdio for little endian SoCs
MDIO controller on little endian Socs, e.g. ls2085a is similar to the
controller on big endian Socs, but the MDIO access is little endian,
we use I/O accessor function to handle endianness, so the driver can
run on little endian Socs. A property "little-endian" is used
in DTS to indicate the MDIO is little endian, if driver probes the
property, driver will access MDIO in little endian, otherwise, driver
works in big endian by default.
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/nls')
0 files changed, 0 insertions, 0 deletions