lkml.org 
[lkml]   [2006]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] pata_marvell: Marvell 6101/6145 PATA driver
On Mon, 16 Oct 2006 16:40:06 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> +static int marvell_pre_reset(struct ata_port *ap)
> +{
> + struct pci_dev *pdev = to_pci_dev(ap->host->dev);
> + u32 devices;
> + unsigned long bar5;
> + void __iomem *barp;
> + int i;
> +
> + /* Check if our port is enabled */
> +
> + bar5 = pci_resource_start(pdev, 5);
> + barp = ioremap(bar5, 0x10);

hm. pci_resource_start() returns a possibly-64-bit resource_size_t
nowadays. But ioremap() doesn't know how to remap such a thing.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-17 01:35    [W:0.100 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site