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

Go to the source code of this file.

Macros

#define DRV_NAME   "ide_pci_generic"
 
#define DECLARE_GENERIC_PCI_DEV(extra_flags)
 

Functions

 module_param_named (all_generic_ide, ide_generic_all, bool, 0444)
 
 MODULE_PARM_DESC (all_generic_ide,"IDE generic will claim all unknown PCI IDE storage controllers.")
 
 MODULE_DEVICE_TABLE (pci, generic_pci_tbl)
 
 module_init (generic_ide_init)
 
 module_exit (generic_ide_exit)
 
 MODULE_AUTHOR ("Andre Hedrick")
 
 MODULE_DESCRIPTION ("PCI driver module for generic PCI IDE")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DECLARE_GENERIC_PCI_DEV (   extra_flags)
Value:
{ \
.name = DRV_NAME, \
.host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA | \
extra_flags, \
.swdma_mask = ATA_SWDMA2, \
.mwdma_mask = ATA_MWDMA2, \
.udma_mask = ATA_UDMA6, \
}

Definition at line 46 of file ide-pci-generic.c.

#define DRV_NAME   "ide_pci_generic"

Definition at line 29 of file ide-pci-generic.c.

Function Documentation

MODULE_AUTHOR ( "Andre Hedrick"  )
MODULE_DESCRIPTION ( "PCI driver module for generic PCI IDE )
MODULE_DEVICE_TABLE ( pci  ,
generic_pci_tbl   
)
module_exit ( generic_ide_exit  )
module_init ( generic_ide_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( all_generic_ide  ,
ide_generic_all  ,
bool  ,
0444   
)
MODULE_PARM_DESC ( all_generic_ide  ,
"IDE generic will claim all unknown PCI IDE storage controllers."   
)