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

Go to the source code of this file.

Macros

#define DRV_NAME   "cmd64x"
 
#define CFR   0x50
 
#define CFR_INTR_CH0   0x04
 
#define CMDTIM   0x52
 
#define ARTTIM0   0x53
 
#define DRWTIM0   0x54
 
#define ARTTIM1   0x55
 
#define DRWTIM1   0x56
 
#define ARTTIM23   0x57
 
#define ARTTIM23_DIS_RA2   0x04
 
#define ARTTIM23_DIS_RA3   0x08
 
#define ARTTIM23_INTR_CH1   0x10
 
#define DRWTIM2   0x58
 
#define BRST   0x59
 
#define DRWTIM3   0x5b
 
#define BMIDECR0   0x70
 
#define MRDMODE   0x71
 
#define MRDMODE_INTR_CH0   0x04
 
#define MRDMODE_INTR_CH1   0x08
 
#define UDIDETCR0   0x73
 
#define DTPR0   0x74
 
#define BMIDECR1   0x78
 
#define BMIDECSR   0x79
 
#define UDIDETCR1   0x7B
 
#define DTPR1   0x7C
 

Functions

 MODULE_DEVICE_TABLE (pci, cmd64x_pci_tbl)
 
 module_init (cmd64x_ide_init)
 
 module_exit (cmd64x_ide_exit)
 
 MODULE_AUTHOR ("Eddie Dost, David Miller, Andre Hedrick, Bartlomiej Zolnierkiewicz")
 
 MODULE_DESCRIPTION ("PCI driver module for CMD64x IDE")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define ARTTIM0   0x53

Definition at line 31 of file cmd64x.c.

#define ARTTIM1   0x55

Definition at line 33 of file cmd64x.c.

#define ARTTIM23   0x57

Definition at line 35 of file cmd64x.c.

#define ARTTIM23_DIS_RA2   0x04

Definition at line 36 of file cmd64x.c.

#define ARTTIM23_DIS_RA3   0x08

Definition at line 37 of file cmd64x.c.

#define ARTTIM23_INTR_CH1   0x10

Definition at line 38 of file cmd64x.c.

#define BMIDECR0   0x70

Definition at line 43 of file cmd64x.c.

#define BMIDECR1   0x78

Definition at line 49 of file cmd64x.c.

#define BMIDECSR   0x79

Definition at line 50 of file cmd64x.c.

#define BRST   0x59

Definition at line 40 of file cmd64x.c.

#define CFR   0x50

Definition at line 27 of file cmd64x.c.

#define CFR_INTR_CH0   0x04

Definition at line 28 of file cmd64x.c.

#define CMDTIM   0x52

Definition at line 30 of file cmd64x.c.

#define DRV_NAME   "cmd64x"

Definition at line 22 of file cmd64x.c.

#define DRWTIM0   0x54

Definition at line 32 of file cmd64x.c.

#define DRWTIM1   0x56

Definition at line 34 of file cmd64x.c.

#define DRWTIM2   0x58

Definition at line 39 of file cmd64x.c.

#define DRWTIM3   0x5b

Definition at line 41 of file cmd64x.c.

#define DTPR0   0x74

Definition at line 48 of file cmd64x.c.

#define DTPR1   0x7C

Definition at line 52 of file cmd64x.c.

#define MRDMODE   0x71

Definition at line 44 of file cmd64x.c.

#define MRDMODE_INTR_CH0   0x04

Definition at line 45 of file cmd64x.c.

#define MRDMODE_INTR_CH1   0x08

Definition at line 46 of file cmd64x.c.

#define UDIDETCR0   0x73

Definition at line 47 of file cmd64x.c.

#define UDIDETCR1   0x7B

Definition at line 51 of file cmd64x.c.

Function Documentation

MODULE_AUTHOR ( "Eddie  Dost,
David  Miller,
Andre  Hedrick,
Bartlomiej Zolnierkiewicz"   
)
MODULE_DESCRIPTION ( "PCI driver module for CMD64x IDE )
MODULE_DEVICE_TABLE ( pci  ,
cmd64x_pci_tbl   
)
module_exit ( cmd64x_ide_exit  )
module_init ( cmd64x_ide_init  )
MODULE_LICENSE ( "GPL"  )