sfc: make mem_bar a function rather than a constant
authorEdward Cree <ecree@solarflare.com>
Mon, 18 Dec 2017 16:55:50 +0000 (16:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Dec 2017 18:07:49 +0000 (13:07 -0500)
commit03714bbb22ebe00bc07d83c526b16377c67daa3f
tree19399ea52e41cae79037652a5c725d8a05f250f5
parent59436c9ee18d7faad0cd1875c9d8322668f98611
sfc: make mem_bar a function rather than a constant

Support using BAR 0 on SFC9250, even though the driver doesn't bind to such
 devices yet.

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