Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
opti621.c File Reference
#include <linux/types.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/ide.h>
#include <asm/io.h>

Go to the source code of this file.

Macros

#define DRV_NAME   "opti621"
 
#define READ_REG   0 /* index of Read cycle timing register */
 
#define WRITE_REG   1 /* index of Write cycle timing register */
 
#define CNTRL_REG   3 /* index of Control register */
 
#define STRAP_REG   5 /* index of Strap register */
 
#define MISC_REG   6 /* index of Miscellaneous register */
 

Functions

 MODULE_DEVICE_TABLE (pci, opti621_pci_tbl)
 
 module_init (opti621_ide_init)
 
 module_exit (opti621_ide_exit)
 
 MODULE_AUTHOR ("Jaromir Koutek, Jan Harkes, Mark Lord")
 
 MODULE_DESCRIPTION ("PCI driver module for Opti621 IDE")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CNTRL_REG   3 /* index of Control register */

Definition at line 25 of file opti621.c.

#define DRV_NAME   "opti621"

Definition at line 21 of file opti621.c.

#define MISC_REG   6 /* index of Miscellaneous register */

Definition at line 27 of file opti621.c.

#define READ_REG   0 /* index of Read cycle timing register */

Definition at line 23 of file opti621.c.

#define STRAP_REG   5 /* index of Strap register */

Definition at line 26 of file opti621.c.

#define WRITE_REG   1 /* index of Write cycle timing register */

Definition at line 24 of file opti621.c.

Function Documentation

MODULE_AUTHOR ( "Jaromir  Koutek,
Jan  Harkes,
Mark Lord"   
)
MODULE_DESCRIPTION ( "PCI driver module for Opti621 IDE )
MODULE_DEVICE_TABLE ( pci  ,
opti621_pci_tbl   
)
module_exit ( opti621_ide_exit  )
module_init ( opti621_ide_init  )
MODULE_LICENSE ( "GPL"  )