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

Go to the source code of this file.

Data Structures

struct  pdc2027x_pio_timing
 
struct  pdc2027x_mdma_timing
 
struct  pdc2027x_udma_timing
 

Macros

#define DRV_NAME   "pata_pdc2027x"
 
#define DRV_VERSION   "1.0"
 
#define PDPRINTK(fmt, args...)
 

Enumerations

enum  {
  PDC_MMIO_BAR = 5, PDC_UDMA_100 = 0, PDC_UDMA_133 = 1, PDC_100_MHZ = 100000000,
  PDC_133_MHZ = 133333333, PDC_SYS_CTL = 0x1100, PDC_ATA_CTL = 0x1104, PDC_GLOBAL_CTL = 0x1108,
  PDC_CTCR0 = 0x110C, PDC_CTCR1 = 0x1110, PDC_BYTE_COUNT = 0x1120, PDC_PLL_CTL = 0x1202
}
 

Functions

 MODULE_AUTHOR ("Andre Hedrick, Frank Tiernan, Albert Lee")
 
 MODULE_DESCRIPTION ("libata driver module for Promise PDC20268 to PDC20277")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DRV_VERSION)
 
 MODULE_DEVICE_TABLE (pci, pdc2027x_pci_tbl)
 
 module_pci_driver (pdc2027x_pci_driver)
 

Macro Definition Documentation

#define DRV_NAME   "pata_pdc2027x"

Definition at line 37 of file pata_pdc2027x.c.

#define DRV_VERSION   "1.0"

Definition at line 38 of file pata_pdc2027x.c.

#define PDPRINTK (   fmt,
  args... 
)

Definition at line 44 of file pata_pdc2027x.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
PDC_MMIO_BAR 
PDC_UDMA_100 
PDC_UDMA_133 
PDC_100_MHZ 
PDC_133_MHZ 
PDC_SYS_CTL 
PDC_ATA_CTL 
PDC_GLOBAL_CTL 
PDC_CTCR0 
PDC_CTCR1 
PDC_BYTE_COUNT 
PDC_PLL_CTL 

Definition at line 47 of file pata_pdc2027x.c.

Function Documentation

MODULE_AUTHOR ( "Andre  Hedrick,
Frank  Tiernan,
Albert Lee"   
)
MODULE_DESCRIPTION ( "libata driver module for Promise PDC20268 to PDC20277"  )
MODULE_DEVICE_TABLE ( pci  ,
pdc2027x_pci_tbl   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( pdc2027x_pci_driver  )
MODULE_VERSION ( DRV_VERSION  )