linux-bl808/drivers/net/ethernet/sfc
Edward Cree 3366463513 sfc: suppress duplicate nvmem partition types in efx_ef10_mtd_probe
Use a bitmap to keep track of which partition types we've already seen;
 for duplicates, return -EEXIST from efx_ef10_mtd_probe_partition() and
 thus skip adding that partition.
Duplicate partitions occur because of the A/B backup scheme used by newer
 sfc NICs.  Prior to this patch they cause sysfs_warn_dup errors because
 they have the same name, causing us not to expose any MTDs at all.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-23 11:15:35 -08:00
..
falcon cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
bitfield.h
ef10.c sfc: suppress duplicate nvmem partition types in efx_ef10_mtd_probe 2019-01-23 11:15:35 -08:00
ef10_regs.h
ef10_sriov.c
ef10_sriov.h
efx.c
efx.h
enum.h
ethtool.c
farch.c
farch_regs.h
filter.h
io.h
Kconfig
Makefile
mcdi.c
mcdi.h
mcdi_mon.c
mcdi_pcol.h
mcdi_port.c
mtd.c
net_driver.h
nic.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
nic.h
ptp.c
rx.c
selftest.c
selftest.h
siena.c
siena_sriov.c
siena_sriov.h
sriov.c
sriov.h
tx.c
tx.h
tx_tso.c
vfdi.h
workarounds.h