Create a separate interface for leaf-driver PCI IOV methods.
Leaf drivers should not import the PCI bus interface to add IOV handling.
Instead, move the IOV client methods to a separate kobj interface.
Differential D2584
Create a separate interface for leaf-driver PCI IOV methods. jhb on May 19 2015, 3:05 PM. Authored by Tags None Referenced Files
Details
Create a separate interface for leaf-driver PCI IOV methods. Leaf drivers should not import the PCI bus interface to add IOV handling.
Diff Detail
Event TimelineComment Actions Note that I have a separate review to remove the executable property from the ixl source, but arcanist wouldn't let me upload the change to if_ixl.c without that change. Comment Actions Please update the PCI_INIT_IOV(9), PCI_ADD_VF(9) and PCI_UNINIT_IOV(9) manpages to document the new header file and reflect the new method names.
Comment Actions I believe that you need to update sys/modules/ixl/Makefile to document that the driver now depends on pci_iov_if.h as well Comment Actions Rebase.
Comment Actions Still need to do a universe build which should flesh out the ixl Makefile as well.
Comment Actions
|