Files
linux-st/include/linux
Jacob Keller 70c0923b0e PCI: Introduce pci_get_dsn
Several device drivers read their Device Serial Number from the PCIe
extended config space.

Introduce a new helper function, pci_get_dsn(). This function reads the
eight bytes of the DSN and returns them as a u64. If the capability does not
exist for the device, the function returns 0.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: Michael Chan <michael.chan@broadcom.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-05 17:36:24 -08:00
..
2020-02-16 18:30:41 -08:00
2020-02-27 18:50:19 -08:00
2020-02-26 20:07:25 -08:00
2020-02-20 21:17:24 +01:00
2020-02-17 12:52:38 +01:00
2020-03-05 17:36:24 -08:00
2020-02-24 15:31:23 -08:00
2020-02-26 20:07:25 -08:00
2020-02-21 11:22:15 -08:00