Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sparc: move the leon PCI memory space comment to <asm/leon.h>

It has nothing to do with the content of the pci.h header.

Suggested by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: David S. Miller <davem@davemloft.net>

+9 -9
+9
arch/sparc/include/asm/leon.h
··· 255 255 #define _pfn_valid(pfn) ((pfn < last_valid_pfn) && (pfn >= PFN(phys_base))) 256 256 #define _SRMMU_PTE_PMASK_LEON 0xffffffff 257 257 258 + /* 259 + * On LEON PCI Memory space is mapped 1:1 with physical address space. 260 + * 261 + * I/O space is located at low 64Kbytes in PCI I/O space. The I/O addresses 262 + * are converted into CPU addresses to virtual addresses that are mapped with 263 + * MMU to the PCI Host PCI I/O space window which are translated to the low 264 + * 64Kbytes by the Host controller. 265 + */ 266 + 258 267 #endif
-9
arch/sparc/include/asm/pci_32.h
··· 23 23 /* generic pci stuff */ 24 24 #include <asm-generic/pci.h> 25 25 #else 26 - /* 27 - * On LEON PCI Memory space is mapped 1:1 with physical address space. 28 - * 29 - * I/O space is located at low 64Kbytes in PCI I/O space. The I/O addresses 30 - * are converted into CPU addresses to virtual addresses that are mapped with 31 - * MMU to the PCI Host PCI I/O space window which are translated to the low 32 - * 64Kbytes by the Host controller. 33 - */ 34 - 35 26 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) 36 27 { 37 28 return PCI_IRQ_NONE;