sfc: track which BAR is mapped
authorEdward Cree <ecree@solarflare.com>
Mon, 29 Jun 2020 13:35:33 +0000 (14:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 00:37:49 +0000 (17:37 -0700)
commit66a65128d4a585aff4baf123d710107cbd31c3a7
treedaf4f3b4c65c6b70f829c2534b6607b0b39816c0
parent53e1f21abd89bde46ed30061c58370b8a079f6f5
sfc: track which BAR is mapped

EF100 needs to map multiple BARs (sequentially, not concurrently) in
 order to read the Function Control Window during probe.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/efx_common.c
drivers/net/ethernet/sfc/efx_common.h
drivers/net/ethernet/sfc/net_driver.h