Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1013 Bytes

pci_config_write.md

File metadata and controls

44 lines (25 loc) · 1013 Bytes

zx_pci_config_write

SUMMARY

This function is obsolete and should not be used.

DECLARATION

#include <zircon/syscalls.h>

zx_status_t zx_pci_config_write(zx_handle_t handle,
                                uint16_t offset,
                                size_t width,
                                uint32_t val);

DESCRIPTION

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().

RIGHTS

handle must be of type ZX_OBJ_TYPE_PCI_DEVICE and have ZX_RIGHT_READ and have ZX_RIGHT_WRITE.

RETURN VALUE

TODO(fxbug.dev/32938)

ERRORS

TODO(fxbug.dev/32938)

SEE ALSO

TODO(fxbug.dev/32938)