Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
pata_cmd640.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/gfp.h>
#include <scsi/scsi_host.h>
#include <linux/libata.h>

Go to the source code of this file.

Data Structures

struct  cmd640_reg
 

Macros

#define DRV_NAME   "pata_cmd640"
 
#define DRV_VERSION   "0.0.5"
 

Enumerations

enum  {
  CFR = 0x50, CNTRL = 0x51, CMDTIM = 0x52, ARTIM0 = 0x53,
  DRWTIM0 = 0x54, ARTIM23 = 0x57, DRWTIM23 = 0x58, BRST = 0x59
}
 

Functions

 module_pci_driver (cmd640_pci_driver)
 
 MODULE_AUTHOR ("Alan Cox")
 
 MODULE_DESCRIPTION ("low-level driver for CMD640 PATA controllers")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (pci, cmd640)
 
 MODULE_VERSION (DRV_VERSION)
 

Macro Definition Documentation

#define DRV_NAME   "pata_cmd640"

Definition at line 25 of file pata_cmd640.c.

#define DRV_VERSION   "0.0.5"

Definition at line 26 of file pata_cmd640.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
CFR 
CNTRL 
CMDTIM 
ARTIM0 
DRWTIM0 
ARTIM23 
DRWTIM23 
BRST 

Definition at line 33 of file pata_cmd640.c.

Function Documentation

MODULE_AUTHOR ( "Alan Cox"  )
MODULE_DESCRIPTION ( "low-level driver for CMD640 PATA controllers"  )
MODULE_DEVICE_TABLE ( pci  ,
cmd640   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( cmd640_pci_driver  )
MODULE_VERSION ( DRV_VERSION  )