From: Andrew Morton <akpm@osdl.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org, jgarzik@pobox.com
Subject: Re: [PATCH] pata_marvell: Marvell 6101/6145 PATA driver
Date: Mon, 16 Oct 2006 16:31:34 -0700 [thread overview]
Message-ID: <20061016163134.4560d253.akpm@osdl.org> (raw)
In-Reply-To: <1161013206.24237.85.camel@localhost.localdomain>
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.
next prev parent reply other threads:[~2006-10-16 23:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-16 15:40 Alan Cox
2006-10-16 23:31 ` Andrew Morton [this message]
2006-10-16 23:48 ` Jeff Garzik
2006-10-17 13:32 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061016163134.4560d253.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome