mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22197 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user