Re: [PATCH v3 6/7] net: pch_gbe: Allow longer for resets

2017-06-06 Thread Marcin Nowakowski
Hi Paul, On 03.06.2017 01:40, Paul Burton wrote: Resets of the EG20T MAC on the MIPS Boston development board take longer than the 1000 loops that pch_gbe_wait_clr_bit was performing. Rather than simply increasing the number of loops, switch to using readl_poll_timeout_atomic() from linux/iopoll

[PATCH v3 6/7] net: pch_gbe: Allow longer for resets

2017-06-02 Thread Paul Burton
Resets of the EG20T MAC on the MIPS Boston development board take longer than the 1000 loops that pch_gbe_wait_clr_bit was performing. Rather than simply increasing the number of loops, switch to using readl_poll_timeout_atomic() from linux/iopoll.h in order to provide some independence from the sp