RE: uio: uio_pci_generic: add missing memory mappings

From: firas ashkar
Date: Mon Apr 26 2021 - 10:29:52 EST


Hi,
pls find attached a trivial but necessary patch, this change is based on [drivers/uio/uio_pdrv_genirq.c],
it adds missing memory resources/mappings from the underlying pci device, thus the userspace applications
can memory map and directly access them. This patch also includes minor style changes.

The change was tested on following hardware: AltaData ARINC 429 MiniPCIE module on imx8qm-apalis-ixora-v1.2
board.

Signed-off-by: Firas Ashkar <firas.ashkar@xxxxxxxxxxxxxxxxxxxx>

--
Firas Ashkar
Developpeur Système Embarqué

savoirfairelinux.com | Montréal, Québec

Tél.: +1 514 276 5468 ext. 118

----------