Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
pata_cmd64x.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 <scsi/scsi_host.h>
#include <linux/libata.h>

Go to the source code of this file.

Macros

#define DRV_NAME   "pata_cmd64x"
 
#define DRV_VERSION   "0.2.18"
 

Enumerations

enum  {
  CFR = 0x50, CFR_INTR_CH0 = 0x04, CNTRL = 0x51, CNTRL_CH0 = 0x04,
  CNTRL_CH1 = 0x08, CMDTIM = 0x52, ARTTIM0 = 0x53, DRWTIM0 = 0x54,
  ARTTIM1 = 0x55, DRWTIM1 = 0x56, ARTTIM23 = 0x57, ARTTIM23_DIS_RA2 = 0x04,
  ARTTIM23_DIS_RA3 = 0x08, ARTTIM23_INTR_CH1 = 0x10, DRWTIM2 = 0x58, BRST = 0x59,
  DRWTIM3 = 0x5b, BMIDECR0 = 0x70, MRDMODE = 0x71, MRDMODE_INTR_CH0 = 0x04,
  MRDMODE_INTR_CH1 = 0x08, BMIDESR0 = 0x72, UDIDETCR0 = 0x73, DTPR0 = 0x74,
  BMIDECR1 = 0x78, BMIDECSR = 0x79, UDIDETCR1 = 0x7B, DTPR1 = 0x7C
}
 

Functions

 module_pci_driver (cmd64x_pci_driver)
 
 MODULE_AUTHOR ("Alan Cox")
 
 MODULE_DESCRIPTION ("low-level driver for CMD64x series PATA controllers")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (pci, cmd64x)
 
 MODULE_VERSION (DRV_VERSION)
 

Macro Definition Documentation

#define DRV_NAME   "pata_cmd64x"

Definition at line 35 of file pata_cmd64x.c.

#define DRV_VERSION   "0.2.18"

Definition at line 36 of file pata_cmd64x.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
CFR 
CFR_INTR_CH0 
CNTRL 
CNTRL_CH0 
CNTRL_CH1 
CMDTIM 
ARTTIM0 
DRWTIM0 
ARTTIM1 
DRWTIM1 
ARTTIM23 
ARTTIM23_DIS_RA2 
ARTTIM23_DIS_RA3 
ARTTIM23_INTR_CH1 
DRWTIM2 
BRST 
DRWTIM3 
BMIDECR0 
MRDMODE 
MRDMODE_INTR_CH0 
MRDMODE_INTR_CH1 
BMIDESR0 
UDIDETCR0 
DTPR0 
BMIDECR1 
BMIDECSR 
UDIDETCR1 
DTPR1 

Definition at line 42 of file pata_cmd64x.c.

Function Documentation

MODULE_AUTHOR ( "Alan Cox"  )
MODULE_DESCRIPTION ( "low-level driver for CMD64x series PATA controllers"  )
MODULE_DEVICE_TABLE ( pci  ,
cmd64x   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( cmd64x_pci_driver  )
MODULE_VERSION ( DRV_VERSION  )