ip17xx: Fix use of MODE_VAL
authorGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:15 +0000 (20:18 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:15 +0000 (20:18 +0000)
commit09be47cf909c9313901998527d6ec80f69fad02b
tree2e22e01764096af79fff885cdecd3b05bac178c3
parentf09e3fb65b1a156ff234e0c36366bc7d46c9e5ad
ip17xx: Fix use of MODE_VAL

The value written to MODE_REG in ip175c_reset() should be obviously MODE_VAL,
not RESET_VAL. Actually, this change is a NOP, because in the only case where
the MODE_REG is used, the two values are identical, but it makes the code
more readable.

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