[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070926171030.6b07fa42@the-village.bc.nu>
Date: Wed, 26 Sep 2007 17:10:30 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Jeff Garzik <jeff@...zik.org>
Cc: Peer Chen <peerchen@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
akpm <akpm@...ux-foundation.org>,
linux-ide <linux-ide@...r.kernel.org>
Subject: Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
On Wed, 26 Sep 2007 10:33:28 -0400
Jeff Garzik <jeff@...zik.org> wrote:
> Alan Cox wrote:
> >>> NAK - mmio is an iomap so writel and readl are the wrong things to use
> >> The patch is consistent with the rest of the driver.
> >> You are welcome to submit a patch to convert ahci to using ioremap.
> >
> > You could just flip the relevant function to use ioread while you are
> > tidying it up, instead of spreading new bugs into the code.
>
> No, as I just noted above, the proper fix for this driver is to use
> ioremap rather than pci_iomap.
>
> Adding support to ahci for legacy PIO is completely pointless.
iomap isn't just for legacy PIO. It allows us to handle future weird
mappings in ways ioremap cannot.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists