diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-11-24 10:01:21 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-11-24 10:01:21 +0000 |
commit | 8120006c058487889fb829ed240b6ca663a420d4 (patch) | |
tree | f68f6a795022ea038b4a0e3cb5c76dc126babc98 /target/linux/generic/files/drivers/net/phy/rtl8366_smi.h | |
parent | 404b68fcd2ce817d0a866c786b93fe4b34289f00 (diff) | |
download | upstream-8120006c058487889fb829ed240b6ca663a420d4.tar.gz upstream-8120006c058487889fb829ed240b6ca663a420d4.tar.bz2 upstream-8120006c058487889fb829ed240b6ca663a420d4.zip |
generic: add rtl8366rb switch vlan fid support
Allows to use fids 0 to 7. Default is 0.
Those who will use this don't forget to `set vlan fid` every time
after `set vlan ports` if you want non default behavior.
Minor changes. Version bump.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24125 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 | 6 |
1 files changed, 6 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 af02cfd200..bdc7dfb023 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h +++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h @@ -120,6 +120,12 @@ int rtl8366_sw_get_port_mib(struct switch_dev *dev, int rtl8366_sw_get_vlan_info(struct switch_dev *dev, const struct switch_attr *attr, struct switch_val *val); +int rtl8366_sw_get_vlan_fid(struct switch_dev *dev, + const struct switch_attr *attr, + struct switch_val *val); +int rtl8366_sw_set_vlan_fid(struct switch_dev *dev, + const struct switch_attr *attr, + struct switch_val *val); int rtl8366_sw_get_vlan_ports(struct switch_dev *dev, struct switch_val *val); int rtl8366_sw_set_vlan_ports(struct switch_dev *dev, struct switch_val *val); int rtl8366_sw_get_vlan_enable(struct switch_dev *dev, |