summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files/drivers/net/phy/ip175c.c
Commit message (Collapse)AuthorAgeFilesLines
* ip17xx: Fixed error handling in ip175c_set_val()juhosg2010-06-081-1/+1
| | | | | | | | | | Upon error, ip175c_set_val() returned 0 instead of -EINVAL. 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@21711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ip17xx: Cosmetic cleanupsjuhosg2010-06-081-50/+35
| | | | | | | | | | | Trying to unify capitalization and formatting of comments. Writing of periods at the end of comments is however still inconsistent. 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@21710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ip17xx: Consolidate operations with PHY registersjuhosg2010-06-081-47/+40
| | | | | | | | | | | | | | | | 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
* enable IP175A support in the IP175C PHY driver (based on patch from jh in #6733)nbd2010-03-281-20/+46
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a crash in ip175c attribute enumerationnbd2009-04-301-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: add a generic switch reset callnbd2009-04-281-10/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up the ip175c driver some more, add support for setting the pvid and ↵nbd2009-04-201-105/+91
| | | | | | fix querying the phy status git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add IC+ IP175C driver (based on Patrick Horn's driver, see #4050)nbd2009-04-201-0/+1342
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15305 3c298f89-4303-0410-b956-a3cf2f4a3e73