Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • drivers
  • pci
  • devres.c
Find file BlameHistoryPermalink
  • Philipp Stanner's avatar
    PCI: Deprecate pcim_iomap_regions() in favor of pcim_iomap_region() · d140f80f
    Philipp Stanner authored Aug 07, 2024
    pcim_iomap_regions() is a complicated function that uses a bit mask to
    determine the BARs the user wishes to request and ioremap. Almost all users
    only ever set a single bit in that mask, making that mechanism
    questionable.
    
    pcim_iomap_region() is now available as a more simple replacement.
    
    Make pcim_iomap_region() a public function.
    
    Mark pcim_iomap_regions() as deprecated.
    
    Link: https://lore.kernel.org/r/20240807083018.8734-2-pstanner@redhat.com
    
    
    Signed-off-by: default avatarPhilipp Stanner <pstanner@redhat.com>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    d140f80f
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7