Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pci-ar724x.c File Reference
#include <linux/irq.h>
#include <linux/pci.h>
#include <asm/mach-ath79/ath79.h>
#include <asm/mach-ath79/ar71xx_regs.h>
#include <asm/mach-ath79/pci.h>

Go to the source code of this file.

Macros

#define AR724X_PCI_CFG_BASE   0x14000000
 
#define AR724X_PCI_CFG_SIZE   0x1000
 
#define AR724X_PCI_CTRL_BASE   (AR71XX_APB_BASE + 0x000f0000)
 
#define AR724X_PCI_CTRL_SIZE   0x100
 
#define AR724X_PCI_MEM_BASE   0x10000000
 
#define AR724X_PCI_MEM_SIZE   0x08000000
 
#define AR724X_PCI_REG_RESET   0x18
 
#define AR724X_PCI_REG_INT_STATUS   0x4c
 
#define AR724X_PCI_REG_INT_MASK   0x50
 
#define AR724X_PCI_RESET_LINK_UP   BIT(0)
 
#define AR724X_PCI_INT_DEV0   BIT(14)
 
#define AR724X_PCI_IRQ_COUNT   1
 
#define AR7240_BAR0_WAR_VALUE   0xffff
 

Functions

int __init ar724x_pcibios_init (int irq)
 

Macro Definition Documentation

#define AR7240_BAR0_WAR_VALUE   0xffff

Definition at line 36 of file pci-ar724x.c.

#define AR724X_PCI_CFG_BASE   0x14000000

Definition at line 18 of file pci-ar724x.c.

#define AR724X_PCI_CFG_SIZE   0x1000

Definition at line 19 of file pci-ar724x.c.

#define AR724X_PCI_CTRL_BASE   (AR71XX_APB_BASE + 0x000f0000)

Definition at line 20 of file pci-ar724x.c.

#define AR724X_PCI_CTRL_SIZE   0x100

Definition at line 21 of file pci-ar724x.c.

#define AR724X_PCI_INT_DEV0   BIT(14)

Definition at line 32 of file pci-ar724x.c.

#define AR724X_PCI_IRQ_COUNT   1

Definition at line 34 of file pci-ar724x.c.

#define AR724X_PCI_MEM_BASE   0x10000000

Definition at line 23 of file pci-ar724x.c.

#define AR724X_PCI_MEM_SIZE   0x08000000

Definition at line 24 of file pci-ar724x.c.

#define AR724X_PCI_REG_INT_MASK   0x50

Definition at line 28 of file pci-ar724x.c.

#define AR724X_PCI_REG_INT_STATUS   0x4c

Definition at line 27 of file pci-ar724x.c.

#define AR724X_PCI_REG_RESET   0x18

Definition at line 26 of file pci-ar724x.c.

#define AR724X_PCI_RESET_LINK_UP   BIT(0)

Definition at line 30 of file pci-ar724x.c.

Function Documentation

int __init ar724x_pcibios_init ( int  irq)

Definition at line 285 of file pci-ar724x.c.