diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-06-08 20:17:55 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-06-08 20:17:55 +0000 |
commit | 9d0a3a6f6b55271ded52023ec25ca1447bfcf32d (patch) | |
tree | adc0dd68fc3d5221ebf50073d9e2a80355192f3a /target/linux/generic-2.6/patches-2.6.30 | |
parent | 966a9bdb9325d422b7b2d533dad1d2cd8501092a (diff) | |
download | master-187ad058-9d0a3a6f6b55271ded52023ec25ca1447bfcf32d.tar.gz master-187ad058-9d0a3a6f6b55271ded52023ec25ca1447bfcf32d.tar.bz2 master-187ad058-9d0a3a6f6b55271ded52023ec25ca1447bfcf32d.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21709 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.30')
0 files changed, 0 insertions, 0 deletions