Re: [balbi-usb:xceiv 3/3] drivers/usb/phy/rcar-phy.c:75:3: error: implicit declaration of function 'iowrite32'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Nov 01, 2012 at 11:06:58AM -0400, David Miller wrote:
> From: Bjørn Mork <bjorn@xxxxxxx>
> Date: Thu, 01 Nov 2012 14:38:29 +0100
> 
> > Felipe Balbi <balbi@xxxxxx> writes:
> > 
> >> btw, only alpha and x86 seem to be providing all of those, but if you
> >> look into our documentation, it's said that drivers are supposed to use
> >> write/read{b,w,l,q} for all memory-mapped io. I'd expect all platforms
> >> to provide those even if just to allow compilation of drivers.
> > 
> > Only if HAS_IOMEM is true, I believe.
> 
> This is correct.

fair enough, then we can depend on HAS_IOMEM.

Another question, if HAS_IOMEM is true, is the arch expected to provide
*all* accessor methods ? And the last one: if the arch provides
read/write{b,w,l,q}, should it be selecting HAS_IOMEM ??

cheers, thanks

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux