2
0
forked from Ivasoft/openwrt

generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions

SVN-Revision: 22197
This commit is contained in:
Gabor Juhos
2010-07-15 13:05:25 +00:00
parent 534480d3fb
commit e561b18521
4 changed files with 21 additions and 28 deletions

View File

@@ -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 */