zx_pci_enable_bus_master

摘要

此函数已过时,不应使用。

声明

#include <zircon/syscalls.h>

zx_status_t zx_pci_enable_bus_master(zx_handle_t handle, uint32_t enable);

说明

此函数已过时,不应使用。驱动程序应改用 PCI 协议。通常情况下,您可以通过 device_get_protocol()bind() 函数中获取此协议。

权限

handle 必须为 ZX_OBJ_TYPE_PCI_DEVICE 类型且具有 ZX_RIGHT_WRITE

返回值

TODO(https://fxbug.dev/42108078)

错误

TODO(https://fxbug.dev/42108078)

另请参阅

TODO(https://fxbug.dev/42108078)