Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sc1200.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/ide.h>
#include <linux/pm.h>
#include <asm/io.h>

Go to the source code of this file.

Macros

#define DRV_NAME   "sc1200"
 
#define SC1200_REV_A   0x00
 
#define SC1200_REV_B1   0x01
 
#define SC1200_REV_B3   0x02
 
#define SC1200_REV_C1   0x03
 
#define SC1200_REV_D1   0x04
 
#define PCI_CLK_33   0x00
 
#define PCI_CLK_48   0x01
 
#define PCI_CLK_66   0x02
 
#define PCI_CLK_33A   0x03
 

Functions

 MODULE_DEVICE_TABLE (pci, sc1200_pci_tbl)
 
 module_init (sc1200_ide_init)
 
 module_exit (sc1200_ide_exit)
 
 MODULE_AUTHOR ("Mark Lord")
 
 MODULE_DESCRIPTION ("PCI driver module for NS SC1200 IDE")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRV_NAME   "sc1200"

Definition at line 25 of file sc1200.c.

#define PCI_CLK_33   0x00

Definition at line 33 of file sc1200.c.

#define PCI_CLK_33A   0x03

Definition at line 36 of file sc1200.c.

#define PCI_CLK_48   0x01

Definition at line 34 of file sc1200.c.

#define PCI_CLK_66   0x02

Definition at line 35 of file sc1200.c.

#define SC1200_REV_A   0x00

Definition at line 27 of file sc1200.c.

#define SC1200_REV_B1   0x01

Definition at line 28 of file sc1200.c.

#define SC1200_REV_B3   0x02

Definition at line 29 of file sc1200.c.

#define SC1200_REV_C1   0x03

Definition at line 30 of file sc1200.c.

#define SC1200_REV_D1   0x04

Definition at line 31 of file sc1200.c.

Function Documentation

MODULE_AUTHOR ( "Mark Lord"  )
MODULE_DESCRIPTION ( "PCI driver module for NS SC1200 IDE )
MODULE_DEVICE_TABLE ( pci  ,
sc1200_pci_tbl   
)
module_exit ( sc1200_ide_exit  )
module_init ( sc1200_ide_init  )
MODULE_LICENSE ( "GPL"  )