Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
gayle.c File Reference
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/blkdev.h>
#include <linux/ide.h>
#include <linux/init.h>
#include <linux/zorro.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <asm/setup.h>
#include <asm/amigahw.h>
#include <asm/amigaints.h>
#include <asm/amigayle.h>

Go to the source code of this file.

Macros

#define GAYLE_CONTROL   0x101a
 
#define GAYLE_IRQ_4000   0xdd3020 /* MSB = 1, Harddisk is source of */
 
#define GAYLE_IRQ_1200   0xda9000 /* interrupt */
 
#define GAYLE_NEXT_PORT   0x1000
 
#define GAYLE_NUM_HWIFS   2
 
#define GAYLE_NUM_PROBE_HWIFS
 
#define GAYLE_HAS_CONTROL_REG   (!ide_doubler)
 

Functions

 module_param_named (doubler, ide_doubler, bool, 0)
 
 MODULE_PARM_DESC (doubler,"enable support for IDE doublers")
 
 module_init (amiga_gayle_ide_init)
 
 module_exit (amiga_gayle_ide_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:amiga-gayle-ide")
 

Macro Definition Documentation

#define GAYLE_CONTROL   0x101a

Definition at line 31 of file gayle.c.

#define GAYLE_HAS_CONTROL_REG   (!ide_doubler)

Definition at line 51 of file gayle.c.

#define GAYLE_IRQ_1200   0xda9000 /* interrupt */

Definition at line 38 of file gayle.c.

#define GAYLE_IRQ_4000   0xdd3020 /* MSB = 1, Harddisk is source of */

Definition at line 37 of file gayle.c.

#define GAYLE_NEXT_PORT   0x1000

Definition at line 46 of file gayle.c.

#define GAYLE_NUM_HWIFS   2

Definition at line 48 of file gayle.c.

#define GAYLE_NUM_PROBE_HWIFS
Value:
(ide_doubler ? GAYLE_NUM_HWIFS : \
GAYLE_NUM_HWIFS-1)

Definition at line 49 of file gayle.c.

Function Documentation

MODULE_ALIAS ( "platform:amiga-gayle-ide"  )
module_exit ( amiga_gayle_ide_exit  )
module_init ( amiga_gayle_ide_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( doubler  ,
ide_doubler  ,
bool  ,
 
)
MODULE_PARM_DESC ( doubler  ,
"enable support for IDE doublers"   
)