This function is obsolete and should not be used.
#include <zircon/syscalls.h> zx_status_t zx_pci_cfg_pio_rw(zx_handle_t handle, uint8_t bus, uint8_t dev, uint8_t func, uint8_t offset, uint32_t* val, size_t width, uint32_t write);
This function is obsolete and should not be used. Drivers should instead use the PCI protocol Typically, you obtain this in your bind()
function through device_get_protocol()
.
handle must have resource kind ZX_RSRC_KIND_IOPORT
.
TODO(https://fxbug.dev/42108078)
TODO(https://fxbug.dev/42108078)