Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/time.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <asm/octeon/octeon.h>
#include <asm/octeon/cvmx-npei-defs.h>
#include <asm/octeon/cvmx-pciercx-defs.h>
#include <asm/octeon/cvmx-pescx-defs.h>
#include <asm/octeon/cvmx-pexp-defs.h>
#include <asm/octeon/cvmx-pemx-defs.h>
#include <asm/octeon/cvmx-dpi-defs.h>
#include <asm/octeon/cvmx-sli-defs.h>
#include <asm/octeon/cvmx-sriox-defs.h>
#include <asm/octeon/cvmx-helper-errata.h>
#include <asm/octeon/pci-octeon.h>
#include <dma-coherence.h>
Go to the source code of this file.
Data Structures | |
union | cvmx_pcie_address |
Macros | |
#define | MRRS_CN5XXX 0 /* 128 byte Max Read Request Size */ |
#define | MPS_CN5XXX 0 /* 128 byte Max Packet Size (Limit of most PCs) */ |
#define | MRRS_CN6XXX 3 /* 1024 byte Max Read Request Size */ |
#define | MPS_CN6XXX 0 /* 128 byte Max Packet Size (Limit of most PCs) */ |
#define | IDT_VENDOR_ID 0x111d |
Functions | |
module_param (pcie_disable, int, S_IRUGO) | |
int __init | octeon_pcie_pcibios_map_irq (const struct pci_dev *dev, u8 slot, u8 pin) |
arch_initcall (octeon_pcie_setup) | |
#define IDT_VENDOR_ID 0x111d |
Definition at line 29 of file pcie-octeon.c.
Definition at line 31 of file pcie-octeon.c.
Definition at line 28 of file pcie-octeon.c.
Definition at line 30 of file pcie-octeon.c.
arch_initcall | ( | octeon_pcie_setup | ) |
Map a PCI device to the appropriate interrupt line
: The Linux PCI device structure for the device to map : The slot number for this device on BUS 0. Linux enumerates through all the bridges and figures out the slot on Bus 0 where this device eventually hooks to. : The PCI interrupt pin read from the device, then swizzled as it goes through each bridge. Returns Interrupt number for the device
Definition at line 1467 of file pcie-octeon.c.