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

Go to the source code of this file.

Macros

#define PCI_ACCESS_READ   0
 
#define PCI_ACCESS_WRITE   1
 
#define CFG_SPACE_REG(offset)   (void *)CKSEG1ADDR(_pcictrl_bonito_pcicfg + (offset))
 
#define ID_SEL_BEGIN   10
 
#define MAX_DEV_NUM   (31 - ID_SEL_BEGIN)
 

Variables

struct pci_ops bonito64_pci_ops
 

Macro Definition Documentation

#define CFG_SPACE_REG (   offset)    (void *)CKSEG1ADDR(_pcictrl_bonito_pcicfg + (offset))

Definition at line 32 of file ops-bonito64.c.

#define ID_SEL_BEGIN   10

Definition at line 33 of file ops-bonito64.c.

#define MAX_DEV_NUM   (31 - ID_SEL_BEGIN)

Definition at line 34 of file ops-bonito64.c.

#define PCI_ACCESS_READ   0

Definition at line 29 of file ops-bonito64.c.

#define PCI_ACCESS_WRITE   1

Definition at line 30 of file ops-bonito64.c.

Variable Documentation

struct pci_ops bonito64_pci_ops
Initial value:
= {
.read = bonito64_pcibios_read,
.write = bonito64_pcibios_write
}

Definition at line 158 of file ops-bonito64.c.