ip17xx: Keep all state locally
authorGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:55 +0000 (20:18 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:55 +0000 (20:18 +0000)
commit2ccaef4f4a5e6db50b7387e203488d70de0b1534
tree7d5eeacdedc83d85b90cd50b65ca6e6800c38e7d
parent4511da99b967a7598b2352dde3acf82cacb11978
ip17xx: Keep all state locally

Instead of reading the hardware state every time we want to inspect it or
to modify it, maintain it in struct ip175c_state.

This simplifies the code significantly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21722
target/linux/generic-2.6/files/drivers/net/phy/ip175c.c