aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-07-15 13:05:25 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-07-15 13:05:25 +0000
commite561b185219b92d916cb5c9b764911d752a0573b (patch)
treede5932ba9a1743cde267da0b4052cf3afdf77efb /target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
parent534480d3fb27fd5f376570defe29df04ae5bb6a1 (diff)
downloadupstream-e561b185219b92d916cb5c9b764911d752a0573b.tar.gz
upstream-e561b185219b92d916cb5c9b764911d752a0573b.tar.bz2
upstream-e561b185219b92d916cb5c9b764911d752a0573b.zip
generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions
SVN-Revision: 22197
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.h3
1 files changed, 3 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 86517c97ce..f9008f9fcc 100644
--- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
+++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
@@ -110,4 +110,7 @@ static inline struct rtl8366_smi *sw_to_rtl8366_smi(struct switch_dev *sw)
return container_of(sw, struct rtl8366_smi, sw_dev);
}
+int rtl8366_sw_get_port_pvid(struct switch_dev *dev, int port, int *val);
+int rtl8366_sw_set_port_pvid(struct switch_dev *dev, int port, int val);
+
#endif /* _RTL8366_SMI_H */