diff options
author | Chester Gillon <chester.gillon@metronet.co.uk> | 2021-09-05 13:37:56 +0100 |
---|---|---|
committer | Chester Gillon <chester.gillon@metronet.co.uk> | 2022-04-03 09:15:27 +0100 |
commit | 831b467b2e3876c4e0c307d1e3eae2746ce805a7 (patch) | |
tree | c7a26c8f8ea40e67414df127d23c29ffb8634be3 /scanpci | |
parent | 28d6dd72e5d6fa907dbccd310cc516e7012a60bd (diff) |
Obtain correct value of is_64 and is_prefetchable PCI device fields
Correct setting of the is_64 and is_prefetchable pci_device fields in
pci_device_linux_sysfs_probe().
The pci_device struct defines is_64 and is_prefetchable as single bits,
but the previous code was attempting to store the result of a bit-masked
field in a single bit which always resulted in is_64 and is_prefetchable
being zero regardless of the actual capabilities of the PCI device.
Fixes: #15
Signed-off-by: Chester Gillon <chester.gillon@metronet.co.uk>
Diffstat (limited to 'scanpci')
0 files changed, 0 insertions, 0 deletions