Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
dc21285.c File Reference
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/spinlock.h>
#include <video/vga.h>
#include <asm/irq.h>
#include <asm/mach/pci.h>
#include <asm/hardware/dec21285.h>

Go to the source code of this file.

Macros

#define MAX_SLOTS   21
 
#define PCICMD_ABORT
 
#define PCICMD_ERROR_BITS
 
#define dc21285_request_irq(_a, _b, _c, _d, _e)   WARN_ON(request_irq(_a, _b, _c, _d, _e) < 0)
 

Functions

int setup_arm_irq (int, struct irqaction *)
 
void pcibios_report_status (u_int status_mask, int warn)
 
int __init dc21285_setup (int nr, struct pci_sys_data *sys)
 
void __init dc21285_preinit (void)
 
void __init dc21285_postinit (void)
 

Variables

struct pci_ops dc21285_ops
 

Macro Definition Documentation

#define dc21285_request_irq (   _a,
  _b,
  _c,
  _d,
  _e 
)    WARN_ON(request_irq(_a, _b, _c, _d, _e) < 0)

Definition at line 287 of file dc21285.c.

#define MAX_SLOTS   21

Definition at line 27 of file dc21285.c.

#define PCICMD_ABORT
Value:
PCI_STATUS_REC_TARGET_ABORT)<<16)

Definition at line 29 of file dc21285.c.

#define PCICMD_ERROR_BITS
Value:
PCI_STATUS_REC_MASTER_ABORT | \
PCI_STATUS_REC_TARGET_ABORT | \
PCI_STATUS_PARITY) << 16)

Definition at line 32 of file dc21285.c.

Function Documentation

void __init dc21285_postinit ( void  )

Definition at line 377 of file dc21285.c.

void __init dc21285_preinit ( void  )

Definition at line 290 of file dc21285.c.

int __init dc21285_setup ( int  nr,
struct pci_sys_data sys 
)

Definition at line 254 of file dc21285.c.

void pcibios_report_status ( u_int  status_mask,
int  warn 
)

Definition at line 58 of file bios32.c.

int setup_arm_irq ( int  ,
struct irqaction  
)

Variable Documentation

struct pci_ops dc21285_ops
Initial value:
= {
.read = dc21285_read_config,
.write = dc21285_write_config,
}

Definition at line 132 of file dc21285.c.