]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Decode "VGA 16-bit decode" in bridge control register
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 8 Dec 2017 21:24:10 +0000 (15:24 -0600)
committerMartin Mares <mj@ucw.cz>
Sun, 31 Dec 2017 17:20:23 +0000 (18:20 +0100)
commitb2a45526c9ec1b038894ff9cff95f358dfbc5cfb
tree7809114610a8d14f5ac98a9ecebe3f26bfbdf955
parent5c5ce19215cdfa54c878e09211e3cd3bc8344b82
lspci: Decode "VGA 16-bit decode" in bridge control register

Decode the "VGA 16-bit decode" bit in the bridge control register.  This
bit was added in the PCI-to-PCI Bridge Arch Spec, r1.2, sec 3.2.5.18.
Note that the bit is only meaningful if the VGA Enable bit or the VGA
Palette Snoop Enable bit is set.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
lib/header.h
lspci.c
tests/bridge-ctl-vga16 [new file with mode: 0644]