Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fixup-lemote2f.c File Reference
#include <linux/init.h>
#include <linux/pci.h>
#include <loongson.h>
#include <cs5536/cs5536.h>
#include <cs5536/cs5536_pci.h>

Go to the source code of this file.

Macros

#define PCIA   4
 
#define PCIB   5
 
#define PCIC   6
 
#define PCID   7
 

Functions

int __init pcibios_map_irq (const struct pci_dev *dev, u8 slot, u8 pin)
 
int pcibios_plat_dev_init (struct pci_dev *dev)
 
 DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA, loongson_cs5536_isa_fixup)
 
 DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_OHC, loongson_cs5536_ohci_fixup)
 
 DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_EHC, loongson_cs5536_ehci_fixup)
 
 DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_AUDIO, loongson_cs5536_acc_fixup)
 
 DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_IDE, loongson_cs5536_ide_fixup)
 
 DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_USB, loongson_nec_fixup)
 

Macro Definition Documentation

#define PCIA   4

Definition at line 27 of file fixup-lemote2f.c.

#define PCIB   5

Definition at line 28 of file fixup-lemote2f.c.

#define PCIC   6

Definition at line 29 of file fixup-lemote2f.c.

#define PCID   7

Definition at line 30 of file fixup-lemote2f.c.

Function Documentation

DECLARE_PCI_FIXUP_HEADER ( PCI_VENDOR_ID_AMD  ,
PCI_DEVICE_ID_AMD_CS5536_ISA  ,
loongson_cs5536_isa_fixup   
)
DECLARE_PCI_FIXUP_HEADER ( PCI_VENDOR_ID_AMD  ,
PCI_DEVICE_ID_AMD_CS5536_OHC  ,
loongson_cs5536_ohci_fixup   
)
DECLARE_PCI_FIXUP_HEADER ( PCI_VENDOR_ID_AMD  ,
PCI_DEVICE_ID_AMD_CS5536_EHC  ,
loongson_cs5536_ehci_fixup   
)
DECLARE_PCI_FIXUP_HEADER ( PCI_VENDOR_ID_AMD  ,
PCI_DEVICE_ID_AMD_CS5536_AUDIO  ,
loongson_cs5536_acc_fixup   
)
DECLARE_PCI_FIXUP_HEADER ( PCI_VENDOR_ID_AMD  ,
PCI_DEVICE_ID_AMD_CS5536_IDE  ,
loongson_cs5536_ide_fixup   
)
DECLARE_PCI_FIXUP_HEADER ( PCI_VENDOR_ID_NEC  ,
PCI_DEVICE_ID_NEC_USB  ,
loongson_nec_fixup   
)
int __init pcibios_map_irq ( const struct pci_dev dev,
u8  slot,
u8  pin 
)

Definition at line 54 of file fixup-lemote2f.c.

int pcibios_plat_dev_init ( struct pci_dev dev)

Definition at line 93 of file fixup-lemote2f.c.