]> git.lizzy.rs Git - plan9front.git/commit
kernel: export pcienumcaps() for custom capability enumeration in drivers (virtio)
authorcinap_lenrek <cinap_lenrek@felloff.net>
Sat, 10 Jul 2021 18:34:22 +0000 (18:34 +0000)
committercinap_lenrek <cinap_lenrek@felloff.net>
Sat, 10 Jul 2021 18:34:22 +0000 (18:34 +0000)
commitc3589ef3cf33189d342a3ab638b558fd9249b220
tree3d4f0ae5edc4f6405cb8c42a2813ef545e2ad307
parent51a351e84570e8ac4322ad202bfc57f648755019
kernel: export pcienumcaps() for custom capability enumeration in drivers (virtio)

This used to be a internal function, but virtio
uses multiple structures with the same cap type
to indicate the location of various register
blocks in the pci bars so export it.
sys/src/9/port/pci.c
sys/src/9/port/pci.h