* [patch 04/10] Ata: pata_marvell, use ioread* for iomap-ped memory
@ 2007-10-02 20:53 akpm
2007-10-03 18:44 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2007-10-02 20:53 UTC (permalink / raw)
To: jeff; +Cc: linux-ide, akpm, jirislaby, alan
From: Jiri Slaby <jirislaby@gmail.com>
pata_marvell, use ioread* for iomap-ped memory
read* on pci_iomapped memory is incorrect, fix it
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/ata/pata_marvell.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -puN drivers/ata/pata_marvell.c~ata-pata_marvell-use-ioread-for-iomap-ped-memory drivers/ata/pata_marvell.c
--- a/drivers/ata/pata_marvell.c~ata-pata_marvell-use-ioread-for-iomap-ped-memory
+++ a/drivers/ata/pata_marvell.c
@@ -45,10 +45,10 @@ static int marvell_pre_reset(struct ata_
return -ENOMEM;
printk("BAR5:");
for(i = 0; i <= 0x0F; i++)
- printk("%02X:%02X ", i, readb(barp + i));
+ printk("%02X:%02X ", i, ioread8(barp + i));
printk("\n");
- devices = readl(barp + 0x0C);
+ devices = ioread32(barp + 0x0C);
pci_iounmap(pdev, barp);
if ((pdev->device == 0x6145) && (ap->port_no == 0) &&
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 04/10] Ata: pata_marvell, use ioread* for iomap-ped memory
2007-10-02 20:53 [patch 04/10] Ata: pata_marvell, use ioread* for iomap-ped memory akpm
@ 2007-10-03 18:44 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-10-03 18:44 UTC (permalink / raw)
To: akpm; +Cc: linux-ide, jirislaby, alan
akpm@linux-foundation.org wrote:
> From: Jiri Slaby <jirislaby@gmail.com>
>
> pata_marvell, use ioread* for iomap-ped memory
>
> read* on pci_iomapped memory is incorrect, fix it
>
> Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
> Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-03 18:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-02 20:53 [patch 04/10] Ata: pata_marvell, use ioread* for iomap-ped memory akpm
2007-10-03 18:44 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).