Re: [patch net-next] mlxsw: pci: Implement reset done check

2016-03-13 Thread David Miller
From: Jiri Pirko Date: Thu, 10 Mar 2016 23:10:21 +0100 > From: Jiri Pirko > > Firmware now tells us that the reset is done by passing a magic value > via register. Use it to shorten the wait in case this is supported. > With old firmware, we still wait until the timeout is reached. > > Signed-

[patch net-next] mlxsw: pci: Implement reset done check

2016-03-10 Thread Jiri Pirko
From: Jiri Pirko Firmware now tells us that the reset is done by passing a magic value via register. Use it to shorten the wait in case this is supported. With old firmware, we still wait until the timeout is reached. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/pci.c | 15