linux/drivers/net/ethernet/intel/fm10k
Jacob Keller c04ae58e2b fm10k: use dma_set_mask_and_coherent in fm10k_probe
This patch cleans up the use of dma_get_required_mask and uses the
simpler dma_set_mask_and_coherent function instead of doing these as
separate steps.

I removed the dma_get_required_mask call because based on some minimal
testing it appears that either (a) we're not doing the right thing with
the call or (b) we don't need it anyways. If the value returned is
<48bits, we'll end up trying with 48 bits anyways. If it's over 48bits,
fm10k can't support that anyways, and we should try 48bits. If 48bits
fails, we'll fallback to 32bits. This cleans up some very funky code.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-06-17 14:21:10 -07:00
..
fm10k_common.c fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_common.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k_dcbnl.c fm10k: fix unused warnings 2015-04-14 15:23:36 -07:00
fm10k_debugfs.c fm10k: fix unused warnings 2015-04-14 15:23:36 -07:00
fm10k_ethtool.c fm10k: use an unsigned int for i in ethtool_get_strings 2015-06-17 14:20:52 -07:00
fm10k_iov.c fm10k: comment next_vf_mbx flow 2015-04-14 15:48:17 -07:00
fm10k_main.c fm10k: fold fm10k_pull_tail into fm10k_add_rx_frag 2015-06-17 14:20:18 -07:00
fm10k_mbx.c fm10k: mbx_update_max_size does not drop all oversized messages 2015-04-14 15:56:35 -07:00
fm10k_mbx.h fm10k: Add support for PF <-> VF mailbox 2014-09-23 03:59:20 -07:00
fm10k_netdev.c fm10k: remove extraneous NULL check on l2_accel 2015-06-17 14:20:56 -07:00
fm10k_pci.c fm10k: use dma_set_mask_and_coherent in fm10k_probe 2015-06-17 14:21:10 -07:00
fm10k_pf.c fm10k: corrected VF multicast update 2015-04-14 15:56:47 -07:00
fm10k_pf.h fm10k: Add support for SR-IOV to PF core files 2014-09-23 03:59:21 -07:00
fm10k_ptp.c fm10k: fix incorrect free on skb in ts_tx_enqueue 2015-06-17 14:20:36 -07:00
fm10k_tlv.c fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_tlv.h fm10k: Add support for mailbox 2014-09-23 03:59:14 -07:00
fm10k_type.h fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_vf.c fm10k: Have the VF get the default VLAN during init 2015-04-14 15:07:27 -07:00
fm10k_vf.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k.h fm10k: use separate workqueue for fm10k driver 2015-04-14 15:38:06 -07:00
Makefile fm10k: Add support for PTP 2014-09-23 03:59:23 -07:00