HomeFreeBSD

LinuxKPI: pci: fix argument type to linuxkpi_pci_iomap[_range]

Description

LinuxKPI: pci: fix argument type to linuxkpi_pci_iomap[_range]

The last argument (maxlen) to linuxkpi_pci_iomap_range and
linuxkpi_pci_iomap is an unsigned long not an int. LinuxKPI is
not using that argument in the end but fix it where needed.
While here adjust the name to 'maxlen' and remove the "mmio_" to
bar and off.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D51651

Details

Provenance
bzAuthored on Jul 31 2025, 7:14 AM
Reviewer
emaste
Differential Revision
D51651: LinuxKPI: pci: fix argument type to linuxkpi_pci_iomap[_range]
Parents
rG69ed0f766bb6: LinuxKPI: pci: harmonize #defines
Branches
Unknown
Tags
Unknown