Determine whether or not a device is a multifunction device
#include <pci/pci.h> bool_t pci_device_is_multi_func( pci_bdf_t bdf );
The pci_device_is_multi_func() function determines whether or not the device identified by bdf is a multifunction device. The bdf should be for function 0; if it isn't, pci_device_is_multi_func() checks for function 0.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |