]> mj.ucw.cz Git - pciutils.git/commit
Add support for enhanced allocation regions
authorSean O. Stalley <sean.stalley@intel.com>
Fri, 12 Feb 2016 00:52:25 +0000 (16:52 -0800)
committerMartin Mares <mj@ucw.cz>
Sat, 14 May 2016 09:27:17 +0000 (11:27 +0200)
commit558f736b28677cd0409c4e442e48d26d4ec5d1fd
tree9d5527d7e0a6b1d74ed3948ea434c473c5eb399d
parent415a9c18d75a4706ca889af59e9e8ef17d77c4e1
Add support for enhanced allocation regions

Append [enhanced] to Regions that contain the BEI flag in sysfs.
To do this, we need to add the resource flags to the pci_dev struct.
This struct is passed through the libpci API, so we increment the API version number.

Don't truncate least significant bits of the region size.
ex: a 2000 byte region should display [size=2000] instead of [size=1K]

Signed-off-by: Sean O. Stalley <sean.stalley@intel.com>
lib/access.c
lib/caps.c
lib/filter.c
lib/header.h
lib/libpci.ver
lib/pci.h
lib/sysfs.c
lspci.c