summaryrefslogtreecommitdiff
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-06-08 20:17:55 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-06-08 20:17:55 +0000
commitf96f1cd16f218b5b4d6bdc3c93ae234b5b21cf40 (patch)
tree970960f011572387cf91916e1a4d492da378d704 /target/linux/ramips
parentc0c0a607188c4948f1f8648ecca9ea2110837b66 (diff)
downloadmtk-20170518-f96f1cd16f218b5b4d6bdc3c93ae234b5b21cf40.zip
mtk-20170518-f96f1cd16f218b5b4d6bdc3c93ae234b5b21cf40.tar.gz
mtk-20170518-f96f1cd16f218b5b4d6bdc3c93ae234b5b21cf40.tar.bz2
ip17xx: Consolidate operations with PHY registers
Call mdiobus_{read,write} instead of duplicating their code. Introduce ip_phy_write_masked(), which changes a part of a register. Will be used later in this patch series. Please note that it does not hold any lock between reading and writing, so it is up to the caller to serialize. Also add DUMP_MII_IO, which enables logging of all MII accesses. Signed-off-by: Martin Mares <mj@ucw.cz> Signed-off-by: Patrick Horn <patrick.horn@gmail.com> SVN-Revision: 21709
Diffstat (limited to 'target/linux/ramips')
0 files changed, 0 insertions, 0 deletions