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)
commitb4a61f51bb63857bfbf88add4ee2829929a45471
treeff2188bed97e27648ec2ccca6e9cad1bcc3161bd
parent21c047cd0b8eb85c229b584bf14212b0e77f349f
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21716 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic-2.6/files/drivers/net/phy/ip175c.c