[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070825111758.47500f39@the-village.bc.nu>
Date: Sat, 25 Aug 2007 11:17:58 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Jeff Garzik <jgarzik@...ox.com>
Cc: Jiri Slaby <jirislaby@...il.com>, linux-kernel@...r.kernel.org,
Greg KH <gregkh@...e.de>, linux-ide@...r.kernel.org,
linux-pci@...ey.karlin.mff.cuni.cz
Subject: Re: readXs on pci*iomap-ped regions [Was: [PATCH] /drivers/char
sx.c ioremap -> pci_ioremap api]
On Sat, 25 Aug 2007 04:56:19 -0400
Jeff Garzik <jgarzik@...ox.com> wrote:
> If the driver knows its MMIO, using readX/writeX after pci_iomap() is
> just fine, for all current implementations, and it makes sense that way.
There is nothing that guarantees this is permitted, any more than there
is anything saying not to use outb/outl. Some of the implementations do
quite strange things. It may happen to work but its not in the
documentation or the comments.
If you want to change this then you need to check the existing usages and
update all the docs if its safe, oh and tell the sparc64 pcmcia people to
take a hike, which is probably not a big problem.
Alan
-
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