|
@@ -253,7 +253,7 @@ EXPORT_SYMBOL(pcim_iounmap);
|
|
*
|
|
*
|
|
* Request and iomap regions specified by @mask.
|
|
* Request and iomap regions specified by @mask.
|
|
*/
|
|
*/
|
|
-int pcim_iomap_regions(struct pci_dev *pdev, u16 mask, const char *name)
|
|
|
|
|
|
+int pcim_iomap_regions(struct pci_dev *pdev, int mask, const char *name)
|
|
{
|
|
{
|
|
void __iomem * const *iomap;
|
|
void __iomem * const *iomap;
|
|
int i, rc;
|
|
int i, rc;
|
|
@@ -306,7 +306,7 @@ EXPORT_SYMBOL(pcim_iomap_regions);
|
|
*
|
|
*
|
|
* Request all PCI BARs and iomap regions specified by @mask.
|
|
* Request all PCI BARs and iomap regions specified by @mask.
|
|
*/
|
|
*/
|
|
-int pcim_iomap_regions_request_all(struct pci_dev *pdev, u16 mask,
|
|
|
|
|
|
+int pcim_iomap_regions_request_all(struct pci_dev *pdev, int mask,
|
|
const char *name)
|
|
const char *name)
|
|
{
|
|
{
|
|
int request_mask = ((1 << 6) - 1) & ~mask;
|
|
int request_mask = ((1 << 6) - 1) & ~mask;
|
|
@@ -330,7 +330,7 @@ EXPORT_SYMBOL(pcim_iomap_regions_request_all);
|
|
*
|
|
*
|
|
* Unmap and release regions specified by @mask.
|
|
* Unmap and release regions specified by @mask.
|
|
*/
|
|
*/
|
|
-void pcim_iounmap_regions(struct pci_dev *pdev, u16 mask)
|
|
|
|
|
|
+void pcim_iounmap_regions(struct pci_dev *pdev, int mask)
|
|
{
|
|
{
|
|
void __iomem * const *iomap;
|
|
void __iomem * const *iomap;
|
|
int i;
|
|
int i;
|