pci: introduce a devfn field to pci_sbdf_t
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 11 Jun 2019 15:16:59 +0000 (17:16 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 11 Jun 2019 15:16:59 +0000 (17:16 +0200)
commit016b1efb590b12402baefb69f2294d43b54e9f38
treed2df7f4f4612d8a1bfe97363a0123c6ff8677f11
parentcbfe3bb7ddbe09bc2e9a805a5ea7f328b2d26a64
pci: introduce a devfn field to pci_sbdf_t

This is equivalent to the current extfunc field in term of contents.

Switch the two current users of extfunc to use devfn instead for
correctness.

No functional change.

Requested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/vpci/vpci.c
xen/include/xen/pci.h