diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-07-15 13:05:39 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-07-15 13:05:39 +0000 |
commit | d2d1fc5eb6e72bb22285f930fe7fe8634691c066 (patch) | |
tree | 6bfe4add55f43520c7c95da6cb403e05b5653ad4 /target/linux/generic/files/drivers/net/phy/rtl8366_smi.h | |
parent | cf551c6259810ac1c07102a41c4f1d8dcb9bfdb8 (diff) | |
download | upstream-d2d1fc5eb6e72bb22285f930fe7fe8634691c066.tar.gz upstream-d2d1fc5eb6e72bb22285f930fe7fe8634691c066.tar.bz2 upstream-d2d1fc5eb6e72bb22285f930fe7fe8634691c066.zip |
generic: rtl8366: add is_vlan_valid function to smi_ops
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22201 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 2e8f9298dc..b53c5010ce 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h +++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h @@ -86,6 +86,7 @@ struct rtl8366_smi_ops { int (*set_mc_index)(struct rtl8366_smi *smi, int port, int index); int (*get_mib_counter)(struct rtl8366_smi *smi, int counter, int port, unsigned long long *val); + int (*is_vlan_valid)(struct rtl8366_smi *smi, unsigned vlan); }; struct rtl8366_smi *rtl8366_smi_alloc(struct device *parent); |