linux/drivers/net/ethernet/intel
Jacob Keller ceb2f00707 ice: Use pci_get_dsn()
Replace the open-coded implementation for reading the PCIe DSN with
pci_get_dsn().

The pci_get_dsn() function will perform two pci_read_config_dword calls
to read the lower and upper config dwords. It bitwise ORs them into
a u64 value. Instead of using put_unaligned_le32 to convert the value to
LE32 format, just use the %016llX printf specifier. This will print the
u64 correct, putting the most significant byte of the value first. Since
pci_get_dsn() correctly orders the two dwords into a u64, this should
produce equivalent results in less code.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-05 17:36:24 -08:00
..
e1000 e1000(e): use new helper tcp_v6_gso_csum_prep 2020-02-19 11:20:59 -08:00
e1000e e1000e: reject unsupported coalescing params 2020-03-05 12:12:35 -08:00
fm10k intel: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
i40e intel: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
iavf iavf: use tc_cls_can_offload_and_chain0() instead of chain check 2020-02-26 09:01:19 -08:00
ice ice: Use pci_get_dsn() 2020-03-05 17:36:24 -08:00
igb intel: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
igbvf netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
igc intel: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
ixgb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
ixgbe intel: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
ixgbevf Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/net 2020-01-19 22:10:04 +01:00
e100.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00