Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
pci.c File Reference
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/io.h>
#include <asm/txx9/generic.h>
#include <asm/txx9/pci.h>

Go to the source code of this file.

Functions

int __init txx9_pci66_check (struct pci_controller *hose, int top_bus, int current_bus)
 
struct pci_controller *__init txx9_alloc_pci_controller (struct pci_controller *pcic, unsigned long mem_base, unsigned long mem_size, unsigned long io_base, unsigned long io_size)
 
 arch_initcall (txx9_arch_pci_init)
 
 DECLARE_PCI_FIXUP_FINAL (PCI_VENDOR_ID_TOSHIBA_2, PCI_DEVICE_ID_TOSHIBA_TC35815_NWU, tc35815_fixup)
 
 DECLARE_PCI_FIXUP_FINAL (PCI_VENDOR_ID_TOSHIBA_2, PCI_DEVICE_ID_TOSHIBA_TC35815_TX4939, tc35815_fixup)
 
 DECLARE_PCI_FIXUP_FINAL (PCI_ANY_ID, PCI_ANY_ID, final_fixup)
 
 DECLARE_PCI_FIXUP_RESUME (PCI_ANY_ID, PCI_ANY_ID, final_fixup)
 
int pcibios_plat_dev_init (struct pci_dev *dev)
 
int __init pcibios_map_irq (const struct pci_dev *dev, u8 slot, u8 pin)
 
char *__init txx9_pcibios_setup (char *str)
 

Variables

struct pci_controller txx9_primary_pcic
 
int txx9_pci_mem_high __initdata
 
int txx9_pci_option
 
enum txx9_pci_err_action txx9_pci_err_action = TXX9_PCI_ERR_REPORT
 
char *(* txx9_board_pcibios_setup )(char *str) __initdata
 

Function Documentation

arch_initcall ( txx9_arch_pci_init  )
DECLARE_PCI_FIXUP_FINAL ( PCI_VENDOR_ID_TOSHIBA_2  ,
PCI_DEVICE_ID_TOSHIBA_TC35815_NWU  ,
tc35815_fixup   
)
DECLARE_PCI_FIXUP_FINAL ( PCI_VENDOR_ID_TOSHIBA_2  ,
PCI_DEVICE_ID_TOSHIBA_TC35815_TX4939  ,
tc35815_fixup   
)
DECLARE_PCI_FIXUP_FINAL ( PCI_ANY_ID  ,
PCI_ANY_ID  ,
final_fixup   
)
DECLARE_PCI_FIXUP_RESUME ( PCI_ANY_ID  ,
PCI_ANY_ID  ,
final_fixup   
)
int __init pcibios_map_irq ( const struct pci_dev dev,
u8  slot,
u8  pin 
)

Definition at line 396 of file pci.c.

int pcibios_plat_dev_init ( struct pci_dev dev)

Definition at line 391 of file pci.c.

struct pci_controller* __init txx9_alloc_pci_controller ( struct pci_controller pcic,
unsigned long  mem_base,
unsigned long  mem_size,
unsigned long  io_base,
unsigned long  io_size 
)
read

Definition at line 115 of file pci.c.

int __init txx9_pci66_check ( struct pci_controller hose,
int  top_bus,
int  current_bus 
)

Definition at line 51 of file pci.c.

char* __init txx9_pcibios_setup ( char str)

Definition at line 403 of file pci.c.

Variable Documentation

int txx9_pci_mem_high __initdata

Definition at line 105 of file pci.c.

char*(* txx9_board_pcibios_setup)(char *str) __initdata

Definition at line 401 of file pci.c.

Definition at line 245 of file pci.c.

int txx9_pci_option
Initial value:

Definition at line 239 of file pci.c.

struct pci_controller txx9_primary_pcic
Initial value:
= {
.mem_resource = &primary_pci_mem_res[0],
.io_resource = &primary_pci_io_res,
}

Definition at line 97 of file pci.c.