commit | be9d2e8927cef02076bb7b5b2637cd9f4be2e8df | [log] [tgz] |
---|---|---|
author | Johannes Thumshirn <jthumshirn@suse.de> | Tue Jun 07 09:44:01 2016 +0200 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Jun 21 17:09:06 2016 -0500 |
tree | 6acf7378fc70285df0a0882129b6fd752c592fb6 | |
parent | 644a544fd9bcd65f524768b85ab22f62ed08e107 [diff] |
PCI: Add helpers to request/release memory and I/O regions Add helpers to request and release a device's memory or I/O regions. With these helpers in place, one does not need to select a device's memory or I/O regions with pci_select_bars() prior to requesting or releasing them. Suggested-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Christoph Hellwig <hch@lst.de>