diff options
Diffstat (limited to 'sys/dev/pci/pcib_if.m')
-rw-r--r-- | sys/dev/pci/pcib_if.m | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/pci/pcib_if.m b/sys/dev/pci/pcib_if.m index 6fdc0f4..530744a 100644 --- a/sys/dev/pci/pcib_if.m +++ b/sys/dev/pci/pcib_if.m @@ -48,6 +48,10 @@ CODE { } }; +HEADER { + #include "pci_if.h" +}; + # # Return the number of slots on the attached PCI bus. # @@ -175,10 +179,12 @@ METHOD int power_for_sleep { # # Return the PCI Routing Identifier (RID) for the device. # -METHOD uint16_t get_rid { +METHOD int get_id { device_t pcib; device_t dev; -} DEFAULT pcib_get_rid; + enum pci_id_type type; + uintptr_t *id; +} DEFAULT pcib_get_id; # # Enable Alternative RID Interpretation if both the downstream port (pcib) |