pci: simplify (pci_/pcie_mmcfg_)data_read()
Remove switch on length: we don't care about high bits for value, so just return all ones if no device. And add one assert(). Signed-off-by: NMichael S. Tsirkin <mst@redhat.com> Acked-by: NIsaku Yamahata <yamahata@valinux.co.jp>
Showing
想要评论请 注册 或 登录