ip17xx: Initialize VLAN state upon reset
authorGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:30 +0000 (20:18 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:30 +0000 (20:18 +0000)
commite04dd645f2214f98e70e519bff19f02310f3ea23
treefb3eba72f7d434217dee0cd87378d4b3af18c1b3
parent3c213b14ed2fb778e616da3d2f27d40ff8124db5
ip17xx: Initialize VLAN state upon reset

Let VLAN state variables be initialized not only when the enable VLAN bit
is toggled, but also upon reset.

At this point, this should be a no-op, since the driver reads the current
hardware state before doing any modifications anyway, but I plan to keep
some state locally in the subsequent patches.

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