[PATCH] NET: dwmac: Make dwmac reset unconditional
David Miller
davem at davemloft.net
Wed Jul 19 13:52:35 PDT 2017
From: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
Date: Tue, 18 Jul 2017 17:07:15 +0300
> Unconditional reset dwmac before HW init if reset controller is present.
>
> In existing implementation we reset dwmac only after second module
> probing:
> (module load -> unload -> load again [reset happens])
>
> Now we reset dwmac at every module load:
> (module load [reset happens] -> unload -> load again [reset happens])
>
> Also some reset controllers have only reset callback instead of
> assert + deassert callbacks pair, so handle this case.
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
Applied.
More information about the linux-snps-arc
mailing list