linux/drivers/net/ethernet/renesas
Sergei Shtylyov dfe8266b8d sh_eth: fix TSU resource handling
When switching  the driver to the managed device API,  I managed to break
the  case of a  dual Ether devices sharing a single TSU: the 2nd Ether port
wouldn't probe. Iwamatsu-san has tried to fix this but his patch was buggy
and he then dropped the ball...

The solution is to  limit calling devm_request_mem_region() to the first
of  the two  ports  sharing the same TSU, so devm_ioremap_resource() can't
be used anymore for the TSU resource...

Fixes: d5e07e6921 ("sh_eth: use managed device API")
Reported-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-04 14:17:34 -05:00
..
Kconfig ptp_clock: Allow for it to be optional 2016-11-16 09:26:34 +01:00
Makefile
ravb_main.c Revert "ravb: add workaround for clock when resuming with WoL enabled" 2017-12-13 11:18:40 -05:00
ravb_ptp.c
ravb.h ravb: add wake-on-lan support via magic packet 2017-08-01 17:54:38 -07:00
sh_eth.c sh_eth: fix TSU resource handling 2018-01-04 14:17:34 -05:00
sh_eth.h sh_eth: add missing EESIPR bits 2017-01-30 22:05:43 -05:00