]> mj.ucw.cz Git - pciutils.git/commit
Library: Handle domains in all back-ends
authorMartin Mares <mj@ucw.cz>
Mon, 25 May 2020 13:28:33 +0000 (15:28 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 25 May 2020 13:28:33 +0000 (15:28 +0200)
commit1ae94881c9f30d274fe55f4c3677510da5d789fd
tree252b1ef3a46ed36822f4411a1a3157b1716a9906
parent82c06b47dea5a38075ce9d56f743360bc47b4c78
Library: Handle domains in all back-ends

Even if the back-end does not implement multiple domains, it can
be called on a device in a non-zero domain if the use obtained the
device by calling pci_get_dev() instead of scanning the bus.

In all such cases, report that 0 bytes were read/written.
TODO
lib/aix-device.c
lib/fbsd-device.c
lib/i386-ports.c
lib/nbsd-libpci.c
lib/obsd-device.c