On 10/08/16 06:39 AM, Keith Busch wrote: > A pci "domain" is a purely software construct, and need not be limited > to the 16-bit ACPI defined segment. The Linux kernel currently supports > 32-bit domains, so this patch matches up with those capabilities to make > it usable on systems exporting such domains. > > Reported-by: Pawel Baldysiak <pawel.baldys...@intel.com> > Signed-off-by: Keith Busch <keith.bu...@intel.com> > --- > include/pciaccess.h | 2 +- > src/linux_sysfs.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/pciaccess.h b/include/pciaccess.h > index 1d7aa4b..93ed76f 100644 > --- a/include/pciaccess.h > +++ b/include/pciaccess.h > @@ -321,7 +321,7 @@ struct pci_device { > * the domain will always be zero. > */ > /*@{*/ > - uint16_t domain; > + uint32_t domain;
This change breaks ABI, so as is it would require bumping the library SONAME (which is painful and thus generally discouraged from a downstream POV). -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel