Ignore:
Timestamp:
2012-01-21T23:44:09+01:00 (5 years ago)
Author:
juhosg
Message:

generic: rtl8366: add rtl8366_smi_write_reg_noack helper

After issuing a soft reset on the RT8366{S,RB}
switch, waiting for the last acknowlegement fails
in rtl8366_smi_write_reg. Add a _noack version of
the function and use that for issuing a soft reset.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h

    r29677 r29844  
    104104void rtl8366_smi_cleanup(struct rtl8366_smi *smi); 
    105105int rtl8366_smi_write_reg(struct rtl8366_smi *smi, u32 addr, u32 data); 
     106int rtl8366_smi_write_reg_noack(struct rtl8366_smi *smi, u32 addr, u32 data); 
    106107int rtl8366_smi_read_reg(struct rtl8366_smi *smi, u32 addr, u32 *data); 
    107108int rtl8366_smi_rmwr(struct rtl8366_smi *smi, u32 addr, u32 mask, u32 data); 
Note: See TracChangeset for help on using the changeset viewer.