Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pata_at91.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/gfp.h>
#include <scsi/scsi_host.h>
#include <linux/ata.h>
#include <linux/clk.h>
#include <linux/libata.h>
#include <linux/platform_device.h>
#include <linux/ata_platform.h>
#include <mach/at91sam9_smc.h>
#include <mach/board.h>
#include <asm/gpio.h>

Go to the source code of this file.

Data Structures

struct  at91_ide_info
 
struct  smc_range
 

Macros

#define DRV_NAME   "pata_at91"
 
#define DRV_VERSION   "0.3"
 
#define CF_IDE_OFFSET   0x00c00000
 
#define CF_ALT_IDE_OFFSET   0x00e00000
 
#define CF_IDE_RES_SIZE   0x08
 
#define CS_PULSE_MAXIMUM   319
 
#define ER_SMC_CALC   1
 
#define ER_SMC_RECALC   2
 

Functions

 module_platform_driver (pata_at91_driver)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Driver for CF in True IDE mode on AT91SAM9260 SoC")
 
 MODULE_AUTHOR ("Matyukevich Sergey")
 
 MODULE_VERSION (DRV_VERSION)
 

Macro Definition Documentation

#define CF_ALT_IDE_OFFSET   0x00e00000

Definition at line 39 of file pata_at91.c.

#define CF_IDE_OFFSET   0x00c00000

Definition at line 38 of file pata_at91.c.

#define CF_IDE_RES_SIZE   0x08

Definition at line 40 of file pata_at91.c.

#define CS_PULSE_MAXIMUM   319

Definition at line 41 of file pata_at91.c.

#define DRV_NAME   "pata_at91"

Definition at line 35 of file pata_at91.c.

#define DRV_VERSION   "0.3"

Definition at line 36 of file pata_at91.c.

#define ER_SMC_CALC   1

Definition at line 42 of file pata_at91.c.

#define ER_SMC_RECALC   2

Definition at line 43 of file pata_at91.c.

Function Documentation

MODULE_AUTHOR ( "Matyukevich Sergey"  )
MODULE_DESCRIPTION ( "Driver for CF in True IDE mode on AT91SAM9260 SoC"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( pata_at91_driver  )
MODULE_VERSION ( DRV_VERSION  )