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

Go to the source code of this file.

Macros

#define DRV_NAME   "cs5530"
 
#define CS5530_BAD_PIO(timings)   (((timings)&~0x80000000)==0x0000e132)
 
#define CS5530_BASEREG(hwif)   (((hwif)->dma_base & ~0xf) + ((hwif)->channel ? 0x30 : 0x20))
 

Functions

 MODULE_DEVICE_TABLE (pci, cs5530_pci_tbl)
 
 module_init (cs5530_ide_init)
 
 module_exit (cs5530_ide_exit)
 
 MODULE_AUTHOR ("Mark Lord")
 
 MODULE_DESCRIPTION ("PCI driver module for Cyrix/NS 5530 IDE")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CS5530_BAD_PIO (   timings)    (((timings)&~0x80000000)==0x0000e132)

Definition at line 39 of file cs5530.c.

#define CS5530_BASEREG (   hwif)    (((hwif)->dma_base & ~0xf) + ((hwif)->channel ? 0x30 : 0x20))

Definition at line 40 of file cs5530.c.

#define DRV_NAME   "cs5530"

Definition at line 24 of file cs5530.c.

Function Documentation

MODULE_AUTHOR ( "Mark Lord"  )
MODULE_DESCRIPTION ( "PCI driver module for Cyrix/NS 5530 IDE )
MODULE_DEVICE_TABLE ( pci  ,
cs5530_pci_tbl   
)
module_exit ( cs5530_ide_exit  )
module_init ( cs5530_ide_init  )
MODULE_LICENSE ( "GPL"  )