On 8/11/2022 3:17 PM, Pallavi Kadam wrote: > Current code was always checking the 'prev_bar & PCI_TYPE_64BIT' > though only the first BAR slot of a 64-bit BAR contains flags. > Also for certain PCIe devices, BAR values were not continuous. > This patch fixes this incorrectness and maps the BAR addresses > correctly. > > Reported-by: Qiao Liu > Suggested-by: Dmitry Kozlyuk > Signed-off-by: Dmitry Kozlyuk > Tested-by: Pallavi Kadam > --- > windows/netuio/netuio_dev.c | 13 ++++++++----- > 1 file changed, 8 insertions(+), 5 deletions(-) > Acked-by: Ranjit Menon