2
0
forked from Ivasoft/openwrt

linux: rtl836x: add a generic reset_switch function

SVN-Revision: 31536
This commit is contained in:
Gabor Juhos
2012-04-29 18:29:31 +00:00
parent 1d9400263f
commit e931ffd678
5 changed files with 29 additions and 76 deletions

View File

@@ -121,6 +121,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_reset_switch(struct switch_dev *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);
int rtl8366_sw_get_port_mib(struct switch_dev *dev,