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

Go to the source code of this file.

Macros

#define MAX_SLOTS   7
 
#define CONFIG_CMD(bus, devfn, where)   (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3))
 

Functions

void __init via82c505_preinit (void)
 
int __init via82c505_setup (int nr, struct pci_sys_data *sys)
 

Variables

struct pci_ops via82c505_ops
 

Macro Definition Documentation

#define CONFIG_CMD (   bus,
  devfn,
  where 
)    (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3))

Definition at line 14 of file via82c505.c.

#define MAX_SLOTS   7

Definition at line 12 of file via82c505.c.

Function Documentation

void __init via82c505_preinit ( void  )

Definition at line 59 of file via82c505.c.

int __init via82c505_setup ( int  nr,
struct pci_sys_data sys 
)

Definition at line 80 of file via82c505.c.

Variable Documentation

struct pci_ops via82c505_ops
Initial value:
= {
.read = via82c505_read_config,
.write = via82c505_write_config,
}

Definition at line 54 of file via82c505.c.