Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
icside.c File Reference
#include <linux/string.h>
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/blkdev.h>
#include <linux/errno.h>
#include <linux/ide.h>
#include <linux/dma-mapping.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/scatterlist.h>
#include <linux/io.h>
#include <asm/dma.h>
#include <asm/ecard.h>

Go to the source code of this file.

Data Structures

struct  cardinfo
 
struct  icside_state
 

Macros

#define DRV_NAME   "icside"
 
#define ICS_IDENT_OFFSET   0x2280
 
#define ICS_ARCIN_V5_INTRSTAT   0x0000
 
#define ICS_ARCIN_V5_INTROFFSET   0x0004
 
#define ICS_ARCIN_V5_IDEOFFSET   0x2800
 
#define ICS_ARCIN_V5_IDEALTOFFSET   0x2b80
 
#define ICS_ARCIN_V5_IDESTEPPING   6
 
#define ICS_ARCIN_V6_IDEOFFSET_1   0x2000
 
#define ICS_ARCIN_V6_INTROFFSET_1   0x2200
 
#define ICS_ARCIN_V6_INTRSTAT_1   0x2290
 
#define ICS_ARCIN_V6_IDEALTOFFSET_1   0x2380
 
#define ICS_ARCIN_V6_IDEOFFSET_2   0x3000
 
#define ICS_ARCIN_V6_INTROFFSET_2   0x3200
 
#define ICS_ARCIN_V6_INTRSTAT_2   0x3290
 
#define ICS_ARCIN_V6_IDEALTOFFSET_2   0x3380
 
#define ICS_ARCIN_V6_IDESTEPPING   6
 
#define ICS_TYPE_A3IN   0
 
#define ICS_TYPE_A3USER   1
 
#define ICS_TYPE_V6   3
 
#define ICS_TYPE_V5   15
 
#define ICS_TYPE_NOTYPE   ((unsigned int)-1)
 

Functions

 MODULE_AUTHOR ("Russell King <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("ICS IDE driver")
 
 module_init (icside_init)
 
 module_exit (icside_exit)
 

Macro Definition Documentation

#define DRV_NAME   "icside"

Definition at line 23 of file icside.c.

#define ICS_ARCIN_V5_IDEALTOFFSET   0x2b80

Definition at line 30 of file icside.c.

#define ICS_ARCIN_V5_IDEOFFSET   0x2800

Definition at line 29 of file icside.c.

#define ICS_ARCIN_V5_IDESTEPPING   6

Definition at line 31 of file icside.c.

#define ICS_ARCIN_V5_INTROFFSET   0x0004

Definition at line 28 of file icside.c.

#define ICS_ARCIN_V5_INTRSTAT   0x0000

Definition at line 27 of file icside.c.

#define ICS_ARCIN_V6_IDEALTOFFSET_1   0x2380

Definition at line 36 of file icside.c.

#define ICS_ARCIN_V6_IDEALTOFFSET_2   0x3380

Definition at line 40 of file icside.c.

#define ICS_ARCIN_V6_IDEOFFSET_1   0x2000

Definition at line 33 of file icside.c.

#define ICS_ARCIN_V6_IDEOFFSET_2   0x3000

Definition at line 37 of file icside.c.

#define ICS_ARCIN_V6_IDESTEPPING   6

Definition at line 41 of file icside.c.

#define ICS_ARCIN_V6_INTROFFSET_1   0x2200

Definition at line 34 of file icside.c.

#define ICS_ARCIN_V6_INTROFFSET_2   0x3200

Definition at line 38 of file icside.c.

#define ICS_ARCIN_V6_INTRSTAT_1   0x2290

Definition at line 35 of file icside.c.

#define ICS_ARCIN_V6_INTRSTAT_2   0x3290

Definition at line 39 of file icside.c.

#define ICS_IDENT_OFFSET   0x2280

Definition at line 25 of file icside.c.

#define ICS_TYPE_A3IN   0

Definition at line 77 of file icside.c.

#define ICS_TYPE_A3USER   1

Definition at line 78 of file icside.c.

#define ICS_TYPE_NOTYPE   ((unsigned int)-1)

Definition at line 81 of file icside.c.

#define ICS_TYPE_V5   15

Definition at line 80 of file icside.c.

#define ICS_TYPE_V6   3

Definition at line 79 of file icside.c.

Function Documentation

MODULE_AUTHOR ( "Russell King <[email protected]>"  )
MODULE_DESCRIPTION ( "ICS IDE driver )
module_exit ( icside_exit  )
module_init ( icside_init  )
MODULE_LICENSE ( "GPL"  )