]> xenbits.xensource.com Git - seabios.git/commit
pci: factor out ioconfig_cmd()
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 23 Mar 2020 14:59:10 +0000 (15:59 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 27 Mar 2020 07:32:45 +0000 (08:32 +0100)
commit63a44aff7a6a2303ff1c03b6bfcfa6477943e60d
tree681c2e7dc717f2019d19e4b472323ce8d35fbe61
parentde88a9628426e82f1cee4b61b06e67e6787301b1
pci: factor out ioconfig_cmd()

Add helper function to calculate PORT_PCI_CMD value from bdf + addr.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200323145911.22319-2-kraxel@redhat.com
src/hw/pci.c