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

Go to the source code of this file.

Macros

#define COBALT_PCICONF_CPU   0x06
 
#define COBALT_PCICONF_ETH0   0x07
 
#define COBALT_PCICONF_RAQSCSI   0x08
 
#define COBALT_PCICONF_VIA   0x09
 
#define COBALT_PCICONF_PCISLOT   0x0A
 
#define COBALT_PCICONF_ETH1   0x0C
 
#define VIA_COBALT_BRD_ID_REG   0x94
 
#define VIA_COBALT_BRD_REG_to_ID(reg)   ((unsigned char)(reg) >> 4)
 

Functions

 DECLARE_PCI_FIXUP_EARLY (PCI_VENDOR_ID_MARVELL, PCI_DEVICE_ID_MARVELL_GT64111, qube_raq_galileo_early_fixup)
 
 DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1, qube_raq_via_bmIDE_fixup)
 
 DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_MARVELL, PCI_DEVICE_ID_MARVELL_GT64111, qube_raq_galileo_fixup)
 
 DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_0, qube_raq_via_board_id_fixup)
 
int __init pcibios_map_irq (const struct pci_dev *dev, u8 slot, u8 pin)
 
int pcibios_plat_dev_init (struct pci_dev *dev)
 

Variables

int cobalt_board_id
 

Macro Definition Documentation

#define COBALT_PCICONF_CPU   0x06

Definition at line 26 of file fixup-cobalt.c.

#define COBALT_PCICONF_ETH0   0x07

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

#define COBALT_PCICONF_ETH1   0x0C

Definition at line 31 of file fixup-cobalt.c.

#define COBALT_PCICONF_PCISLOT   0x0A

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

#define COBALT_PCICONF_RAQSCSI   0x08

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

#define COBALT_PCICONF_VIA   0x09

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

#define VIA_COBALT_BRD_ID_REG   0x94

Definition at line 37 of file fixup-cobalt.c.

#define VIA_COBALT_BRD_REG_to_ID (   reg)    ((unsigned char)(reg) >> 4)

Definition at line 38 of file fixup-cobalt.c.

Function Documentation

DECLARE_PCI_FIXUP_EARLY ( PCI_VENDOR_ID_MARVELL  ,
PCI_DEVICE_ID_MARVELL_GT64111  ,
qube_raq_galileo_early_fixup   
)
DECLARE_PCI_FIXUP_HEADER ( PCI_VENDOR_ID_VIA  ,
PCI_DEVICE_ID_VIA_82C586_1  ,
qube_raq_via_bmIDE_fixup   
)
DECLARE_PCI_FIXUP_HEADER ( PCI_VENDOR_ID_MARVELL  ,
PCI_DEVICE_ID_MARVELL_GT64111  ,
qube_raq_galileo_fixup   
)
DECLARE_PCI_FIXUP_HEADER ( PCI_VENDOR_ID_VIA  ,
PCI_DEVICE_ID_VIA_82C586_0  ,
qube_raq_via_board_id_fixup   
)
int __init pcibios_map_irq ( const struct pci_dev dev,
u8  slot,
u8  pin 
)

Definition at line 178 of file fixup-cobalt.c.

int pcibios_plat_dev_init ( struct pci_dev dev)

Definition at line 190 of file fixup-cobalt.c.

Variable Documentation

int cobalt_board_id

Definition at line 130 of file fixup-cobalt.c.