summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-09-19 00:56:47 +0100
committerBen Hutchings <bhutchings@solarflare.com>2013-08-21 20:20:42 +0100
commitb105798fa5597f248256fa03ec25c2fbef922f92 (patch)
treec00496458c29a80cb3d66f1d9086e554fe6ab3d6 /drivers/mailbox
parentf76fe120d81c96fa2a17ae41f0647c963dbb43cd (diff)
downloadlinux-b105798fa5597f248256fa03ec25c2fbef922f92.tar.bz2
sfc: Get rid of per-NIC-type phys_addr_channels and mem_map_size
EF10 functions don't have a fixed BAR size, and the minimum is not large enough for all the queues we might want to allocate. We have to find out the BAR size at run-time, and therefore phys_addr_channels and mem_map_size cannot be defined per-NIC-type. Change efx_nic_type::mem_map_size to a function pointer which is called to find the wanted memory map size (before probe). Replace efx_nic_type::phys_addr_channels with efx_nic::max_channels, to be initialised by the probe function. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions