~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/sparc/include/asm/pci.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #ifndef ___ASM_SPARC_PCI_H
  3 #define ___ASM_SPARC_PCI_H
  4 
  5 
  6 /* Can be used to override the logic in pci_scan_bus for skipping
  7  * already-configured bus numbers - to be used for buggy BIOSes
  8  * or architectures with incomplete PCI setup by the loader.
  9  */
 10 #define pcibios_assign_all_busses()     0
 11 
 12 #define PCIBIOS_MIN_IO          0UL
 13 #define PCIBIOS_MIN_MEM         0UL
 14 
 15 #define PCI_IRQ_NONE            0xffffffff
 16 
 17 
 18 #ifdef CONFIG_SPARC64
 19 
 20 /* PCI IOMMU mapping bypass support. */
 21 
 22 /* PCI 64-bit addressing works for all slots on all controller
 23  * types on sparc64.  However, it requires that the device
 24  * can drive enough of the 64 bits.
 25  */
 26 #define PCI64_REQUIRED_MASK     (~(u64)0)
 27 #define PCI64_ADDR_BASE         0xfffc000000000000UL
 28 
 29 /* Return the index of the PCI controller for device PDEV. */
 30 int pci_domain_nr(struct pci_bus *bus);
 31 static inline int pci_proc_domain(struct pci_bus *bus)
 32 {
 33         return 1;
 34 }
 35 
 36 /* Platform support for /proc/bus/pci/X/Y mmap()s. */
 37 #define HAVE_PCI_MMAP
 38 #define arch_can_pci_mmap_io()  1
 39 #define HAVE_ARCH_PCI_GET_UNMAPPED_AREA
 40 #define ARCH_GENERIC_PCI_MMAP_RESOURCE
 41 #define get_pci_unmapped_area get_fb_unmapped_area
 42 #endif /* CONFIG_SPARC64 */
 43 
 44 #endif /* ___ASM_SPARC_PCI_H */
 45 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php