Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pata_rb532_cf.c File Reference
#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/libata.h>
#include <scsi/scsi_host.h>
#include <asm/gpio.h>

Go to the source code of this file.

Data Structures

struct  rb532_cf_info
 

Macros

#define DRV_NAME   "pata-rb532-cf"
 
#define DRV_VERSION   "0.1.0"
 
#define DRV_DESC   "PATA driver for RouterBOARD 532 Compact Flash"
 
#define RB500_CF_MAXPORTS   1
 
#define RB500_CF_IO_DELAY   400
 
#define RB500_CF_REG_BASE   0x0800
 
#define RB500_CF_REG_ERR   0x080D
 
#define RB500_CF_REG_CTRL   0x080E
 
#define RB500_CF_REG_DBUF32   0x0C00
 
#define DRV_INFO   DRV_DESC " version " DRV_VERSION
 

Functions

 module_platform_driver (rb532_pata_platform_driver)
 
 MODULE_AUTHOR ("Gabor Juhos <juhosg at openwrt.org>")
 
 MODULE_AUTHOR ("Florian Fainelli <[email protected]>")
 
 MODULE_DESCRIPTION (DRV_DESC)
 
 MODULE_VERSION (DRV_VERSION)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:"DRV_NAME)
 

Macro Definition Documentation

#define DRV_DESC   "PATA driver for RouterBOARD 532 Compact Flash"

Definition at line 38 of file pata_rb532_cf.c.

#define DRV_INFO   DRV_DESC " version " DRV_VERSION

Definition at line 200 of file pata_rb532_cf.c.

#define DRV_NAME   "pata-rb532-cf"

Definition at line 36 of file pata_rb532_cf.c.

#define DRV_VERSION   "0.1.0"

Definition at line 37 of file pata_rb532_cf.c.

#define RB500_CF_IO_DELAY   400

Definition at line 41 of file pata_rb532_cf.c.

#define RB500_CF_MAXPORTS   1

Definition at line 40 of file pata_rb532_cf.c.

#define RB500_CF_REG_BASE   0x0800

Definition at line 43 of file pata_rb532_cf.c.

#define RB500_CF_REG_CTRL   0x080E

Definition at line 45 of file pata_rb532_cf.c.

#define RB500_CF_REG_DBUF32   0x0C00

Definition at line 47 of file pata_rb532_cf.c.

#define RB500_CF_REG_ERR   0x080D

Definition at line 44 of file pata_rb532_cf.c.

Function Documentation

MODULE_ALIAS ( "platform:"  DRV_NAME)
MODULE_AUTHOR ( "Gabor Juhos <juhosg at openwrt.org>"  )
MODULE_AUTHOR ( "Florian Fainelli <[email protected]>"  )
MODULE_DESCRIPTION ( DRV_DESC  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( rb532_pata_platform_driver  )
MODULE_VERSION ( DRV_VERSION  )