login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
October
»
1
Re: [PATCH] pci: introduce users of ioremap_pcibar()
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Kyle McMartin
Subject:
Re: [PATCH] pci: introduce users of ioremap_pcibar()
Date: Wednesday, October 1, 2008 - 5:42 am
On Tue, Sep 30, 2008 at 03:30:01PM -0700, Arjan van de Ven wrote:
quoted text
> On Tue, 30 Sep 2008 23:24:50 -0600 > Grant Grundler <grundler@parisc-linux.org> wrote: > > > > > > And pci_iomap() takes more parameters than most driver writers want > > > or need. Most of the time it's "I want the whole bar"; even if my > > > patch wraps around that, making the API simpler is still worth it > > > imo > > > > You are right about that. > > Would calling the API "pci_iomap_bar()" to keep the naming consistent > > help make it more acceptable? > > I'm fine with pci_iomap_bar()... it meets my goals > Would be nice if I'd be allowed to make it only work on MEM bars not IO > bars (so that drivers don't accidentally end up calling this on an IO > bar and then using readl() etc) >
If they use the iomap interface they shouldn't be using readl at all, they should be using ioread*... It would be a bug otherwise. cheers, Kyle --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] pci: introduce an ioremap_pcibar(pdev, barnr) function
, Arjan van de Ven
, (Fri Sep 26, 4:36 pm)
[PATCH] pci: introduce users of ioremap_pcibar()
, Arjan van de Ven
, (Fri Sep 26, 4:37 pm)
Re: [PATCH] pci: introduce an ioremap_pcibar(pdev, barnr) ...
, Matthew Wilcox
, (Fri Sep 26, 7:56 pm)
Re: [PATCH] pci: introduce an ioremap_pcibar(pdev, barnr) ...
, Arjan van de Ven
, (Sat Sep 27, 8:35 am)
Re: [PATCH] pci: introduce users of ioremap_pcibar()
, Grant Grundler
, (Mon Sep 29, 12:26 am)
Re: [PATCH] pci: introduce users of ioremap_pcibar()
, Alan Cox
, (Mon Sep 29, 2:20 am)
Re: [PATCH] pci: introduce users of ioremap_pcibar()
, Arjan van de Ven
, (Mon Sep 29, 6:42 am)
Re: [PATCH] pci: introduce users of ioremap_pcibar()
, Grant Grundler
, (Mon Sep 29, 10:10 am)
Re: [PATCH] pci: introduce users of ioremap_pcibar()
, Arjan van de Ven
, (Mon Sep 29, 10:23 am)
Re: [PATCH] pci: introduce users of ioremap_pcibar()
, Arjan van de Ven
, (Tue Sep 30, 3:30 pm)
Re: [PATCH] pci: introduce users of ioremap_pcibar()
, Grant Grundler
, (Tue Sep 30, 10:24 pm)
Re: [PATCH] pci: introduce users of ioremap_pcibar()
, Rolf Eike Beer
, (Wed Oct 1, 3:33 am)
Re: [PATCH] pci: introduce users of ioremap_pcibar()
, Kyle McMartin
, (Wed Oct 1, 5:42 am)
Re: [PATCH] pci: introduce users of ioremap_pcibar()
, Matthew Wilcox
, (Wed Oct 1, 5:57 am)
Re: [PATCH] pci: introduce users of ioremap_pcibar()
, Kyle McMartin
, (Wed Oct 1, 6:07 am)
Re: [PATCH] pci: introduce users of ioremap_pcibar()
, Arjan van de Ven
, (Wed Oct 1, 6:53 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Dave Jones
Re: OT: character encodings (was: Linux 2.6.20-rc4)
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
Greg Kroah-Hartman
[PATCH 16/36] driver core: cpu: fix section mismatch in cpu.c:store_online
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
fantasy1215
Will tortoisesvn conflict with tortoisegit?
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
linux-netdev
:
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Guo-Fu Tseng
Re: jme: UDP checksum error, and lots of them
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Claudio Jeker
Re: Vlan Tag on Vlan Tag (l2tunneling)
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Tomas Bodzar
bsd: uvm_mapent_alloc: out of static map entries
Community First Financial
Teacher A+ Loan
git-commits-head
:
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Linux Kernel Mailing List
[ARM] 5185/1: Fix spi num_chipselect for lubbock
Linux Kernel Mailing List
swsusp: provide users with a hint about the no_console_suspend option
Colocation donated by:
Syndicate