diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-01-08 20:24:29 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-01-08 20:24:29 +0000 |
commit | 83ed5e6afe27c1f8476c1512ca5b2f47011aa3a0 (patch) | |
tree | 75a0d731afdea86205b0665ed164fa64d873de3b /target/linux/generic/files/drivers/net/phy/rtl8366_smi.h | |
parent | 38528d474dbc2478c5a170b4682f997239278d95 (diff) | |
download | upstream-83ed5e6afe27c1f8476c1512ca5b2f47011aa3a0.tar.gz upstream-83ed5e6afe27c1f8476c1512ca5b2f47011aa3a0.tar.bz2 upstream-83ed5e6afe27c1f8476c1512ca5b2f47011aa3a0.zip |
generic: rtl8366: enable vlans before enabling the ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24939 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/rtl8366_smi.h')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8366_smi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h index 2504dd3278..2e84a8d913 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h +++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h @@ -104,6 +104,7 @@ int rtl8366_smi_read_reg(struct rtl8366_smi *smi, u32 addr, u32 *data); int rtl8366_smi_rmwr(struct rtl8366_smi *smi, u32 addr, u32 mask, u32 data); int rtl8366_reset_vlan(struct rtl8366_smi *smi); +int rtl8366_enable_vlan(struct rtl8366_smi *smi, int enable); int rtl8366_enable_all_ports(struct rtl8366_smi *smi, int enable); #ifdef CONFIG_RTL8366S_PHY_DEBUG_FS |