linux/drivers/net/ethernet/intel/ixgb
Christophe JAILLET 64953720a2 ixgb: Remove useless DMA-32 fallback configuration
As stated in [1], dma_set_mask() with a 64-bit mask never fails if
dev->dma_mask is non-NULL.
So, if it fails, the 32 bits case will also fail for the same reason.

So, if dma_set_mask_and_coherent() succeeds, 'pci_using_dac' is known to be
1.

Simplify code and remove some dead code accordingly.

[1]: https://lkml.org/lkml/2021/6/7/398

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alexander Lobakin <alexandr.lobakin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2022-01-27 08:58:23 -08:00
..
ixgb_ee.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ixgb_ee.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ixgb_ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
ixgb_hw.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
ixgb_hw.h ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
ixgb_ids.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ixgb_main.c ixgb: Remove useless DMA-32 fallback configuration 2022-01-27 08:58:23 -08:00
ixgb_osdep.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ixgb_param.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ixgb.h net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00