generic: rtl8366: introduce rtl8366_smi_rmwr function
[openwrt/openwrt.git] / target / linux / generic-2.6 / files / drivers / net / phy / rtl8366_smi.h
index 883a776d46251d1b376c60eff47e5c31fe7713ad..1afee9b73a4f802956794c33471d68a89abb30ca 100644 (file)
@@ -53,5 +53,6 @@ int rtl8366_smi_init(struct rtl8366_smi *smi);
 void rtl8366_smi_cleanup(struct rtl8366_smi *smi);
 int rtl8366_smi_write_reg(struct rtl8366_smi *smi, u32 addr, u32 data);
 int rtl8366_smi_read_reg(struct rtl8366_smi *smi, u32 addr, u32 *data);
+int rtl8366_smi_rmwr(struct rtl8366_smi *smi, u32 addr, u32 mask, u32 data);
 
 #endif /*  _RTL8366_SMI_H */