Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fixup-emma2rh.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <asm/bootinfo.h>
#include <asm/emma/emma2rh.h>

Go to the source code of this file.

Macros

#define EMMA2RH_PCI_HOST_SLOT   0x09
 
#define EMMA2RH_USB_SLOT   0x03
 
#define PCI_DEVICE_ID_NEC_EMMA2RH   0x014b /* EMMA2RH PCI Host */
 
#define MAX_SLOT_NUM   10
 

Functions

 DECLARE_PCI_FIXUP_FINAL (PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_USB, nec_usb_controller_fixup)
 
 DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_EMMA2RH, emma2rh_pci_host_fixup)
 
int __init pcibios_map_irq (const struct pci_dev *dev, u8 slot, u8 pin)
 
int pcibios_plat_dev_init (struct pci_dev *dev)
 

Macro Definition Documentation

#define EMMA2RH_PCI_HOST_SLOT   0x09

Definition at line 32 of file fixup-emma2rh.c.

#define EMMA2RH_USB_SLOT   0x03

Definition at line 33 of file fixup-emma2rh.c.

#define MAX_SLOT_NUM   10

Definition at line 45 of file fixup-emma2rh.c.

#define PCI_DEVICE_ID_NEC_EMMA2RH   0x014b /* EMMA2RH PCI Host */

Definition at line 34 of file fixup-emma2rh.c.

Function Documentation

DECLARE_PCI_FIXUP_FINAL ( PCI_VENDOR_ID_NEC  ,
PCI_DEVICE_ID_NEC_USB  ,
nec_usb_controller_fixup   
)
DECLARE_PCI_FIXUP_HEADER ( PCI_VENDOR_ID_NEC  ,
PCI_DEVICE_ID_NEC_EMMA2RH  ,
emma2rh_pci_host_fixup   
)
int __init pcibios_map_irq ( const struct pci_dev dev,
u8  slot,
u8  pin 
)

Definition at line 88 of file fixup-emma2rh.c.

int pcibios_plat_dev_init ( struct pci_dev dev)

Definition at line 94 of file fixup-emma2rh.c.