Thread (25 messages) 25 messages, 5 authors, 2014-03-11

[PATCH v6 6/6] pci: Add support for creating a generic host_bridge from device tree

From: arnd@arndb.de (Arnd Bergmann)
Date: 2014-03-11 06:51:21
Also in: linux-devicetree, linux-pci, lkml

On Monday 10 March 2014 21:56:00 Liviu Dudau wrote:
PCI_IOBASE is always defined. See the discussion with Russell on this subject.

include/asm-generic/io.h has at line 118:

#ifndef PCI_IOBASE
#define PCI_IOBASE ((void __iomem *) 0)
#endif
That is only defined for those that use asm-generic/pci.h, which most architectures
don't.
 
I will go with my idea tomorrow. arm64 overwrite the implementation anyway, I
find it cleaner rather than having to do #ifdefs and/or ifs.
I'd really hope we can get to a point where arm64 doesn't need any architecture
specific code for this. It doesn't do anything special.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help