Re: [PATCH 4/7] virtio_pci: Split bus space handles

2019-01-19 Thread Mike Larkin
On Sat, Jan 19, 2019 at 05:37:32PM +0100, Stefan Fritsch wrote: > In virtio_pci 1.0, different parts of the register set may be located in > different BARs. Use subregions to make the access independent of the > virtio version. > --- This one will need someone more well versed in PCI BARs/etc to c

[PATCH 4/7] virtio_pci: Split bus space handles

2019-01-19 Thread Stefan Fritsch
In virtio_pci 1.0, different parts of the register set may be located in different BARs. Use subregions to make the access independent of the virtio version. --- sys/dev/pci/virtio_pci.c | 114 +++ 1 file changed, 80 insertions(+), 34 deletions(-) diff --git a/