Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
pata_cypress.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_cypress"
 
#define DRV_VERSION   "0.1.5"
 

Enumerations

enum  {
  CY82_IDE_CMDREG = 0x04, CY82_IDE_ADDRSETUP = 0x48, CY82_IDE_MASTER_IOR = 0x4C, CY82_IDE_MASTER_IOW = 0x4D,
  CY82_IDE_SLAVE_IOR = 0x4E, CY82_IDE_SLAVE_IOW = 0x4F, CY82_IDE_MASTER_8BIT = 0x50, CY82_IDE_SLAVE_8BIT = 0x51,
  CY82_INDEX_PORT = 0x22, CY82_DATA_PORT = 0x23, CY82_INDEX_CTRLREG1 = 0x01, CY82_INDEX_CHANNEL0 = 0x30,
  CY82_INDEX_CHANNEL1 = 0x31, CY82_INDEX_TIMEOUT = 0x32
}
 

Functions

 module_pci_driver (cy82c693_pci_driver)
 
 MODULE_AUTHOR ("Alan Cox")
 
 MODULE_DESCRIPTION ("low-level driver for the CY82C693 PATA controller")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (pci, cy82c693)
 
 MODULE_VERSION (DRV_VERSION)
 

Macro Definition Documentation

#define DRV_NAME   "pata_cypress"

Definition at line 20 of file pata_cypress.c.

#define DRV_VERSION   "0.1.5"

Definition at line 21 of file pata_cypress.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
CY82_IDE_CMDREG 
CY82_IDE_ADDRSETUP 
CY82_IDE_MASTER_IOR 
CY82_IDE_MASTER_IOW 
CY82_IDE_SLAVE_IOR 
CY82_IDE_SLAVE_IOW 
CY82_IDE_MASTER_8BIT 
CY82_IDE_SLAVE_8BIT 
CY82_INDEX_PORT 
CY82_DATA_PORT 
CY82_INDEX_CTRLREG1 
CY82_INDEX_CHANNEL0 
CY82_INDEX_CHANNEL1 
CY82_INDEX_TIMEOUT 

Definition at line 25 of file pata_cypress.c.

Function Documentation

MODULE_AUTHOR ( "Alan Cox"  )
MODULE_DESCRIPTION ( "low-level driver for the CY82C693 PATA controller )
MODULE_DEVICE_TABLE ( pci  ,
cy82c693   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( cy82c693_pci_driver  )
MODULE_VERSION ( DRV_VERSION  )