Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
pata_legacy.c File Reference
#include <linux/async.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <scsi/scsi_host.h>
#include <linux/ata.h>
#include <linux/libata.h>
#include <linux/platform_device.h>

Go to the source code of this file.

Data Structures

struct  legacy_data
 
struct  legacy_probe
 
struct  legacy_controller
 

Macros

#define DRV_NAME   "pata_legacy"
 
#define DRV_VERSION   "0.6.5"
 
#define NR_HOST   6
 

Enumerations

enum  controller {
  BIOS = 0, SNOOP = 1, PDC20230 = 2, HT6560A = 3,
  HT6560B = 4, OPTI611A = 5, OPTI46X = 6, QDI6500 = 7,
  QDI6580 = 8, QDI6580DP = 9, W83759A = 10, UNKNOWN = -1
}
 

Functions

 module_param (all, int, 0444)
 
 MODULE_PARM_DESC (all,"Grab all legacy port devices, even if PCI(0=off, 1=on)")
 
 MODULE_AUTHOR ("Alan Cox")
 
 MODULE_DESCRIPTION ("low-level driver for legacy ATA")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DRV_VERSION)
 
 MODULE_ALIAS ("pata_qdi")
 
 MODULE_ALIAS ("pata_winbond")
 
 module_param (probe_all, int, 0)
 
 module_param (autospeed, int, 0)
 
 module_param (ht6560a, int, 0)
 
 module_param (ht6560b, int, 0)
 
 module_param (opti82c611a, int, 0)
 
 module_param (opti82c46x, int, 0)
 
 module_param (qdi, int, 0)
 
 module_param (winbond, int, 0)
 
 module_param (pio_mask, int, 0)
 
 module_param (iordy_mask, int, 0)
 
 module_init (legacy_init)
 
 module_exit (legacy_exit)
 

Macro Definition Documentation

#define DRV_NAME   "pata_legacy"

Definition at line 73 of file pata_legacy.c.

#define DRV_VERSION   "0.6.5"

Definition at line 74 of file pata_legacy.c.

#define NR_HOST   6

Definition at line 76 of file pata_legacy.c.

Enumeration Type Documentation

Enumerator:
BIOS 
SNOOP 
PDC20230 
HT6560A 
HT6560B 
OPTI611A 
OPTI46X 
QDI6500 
QDI6580 
QDI6580DP 
W83759A 
UNKNOWN 

Definition at line 82 of file pata_legacy.c.

Function Documentation

MODULE_ALIAS ( "pata_qdi"  )
MODULE_ALIAS ( "pata_winbond"  )
MODULE_AUTHOR ( "Alan Cox"  )
MODULE_DESCRIPTION ( "low-level driver for legacy ATA )
module_exit ( legacy_exit  )
module_init ( legacy_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( all  ,
int  ,
0444   
)
module_param ( probe_all  ,
int  ,
 
)
module_param ( autospeed  ,
int  ,
 
)
module_param ( ht6560a  ,
int  ,
 
)
module_param ( ht6560b  ,
int  ,
 
)
module_param ( opti82c611a  ,
int  ,
 
)
module_param ( opti82c46x  ,
int  ,
 
)
module_param ( qdi  ,
int  ,
 
)
module_param ( winbond  ,
int  ,
 
)
module_param ( pio_mask  ,
int  ,
 
)
module_param ( iordy_mask  ,
int  ,
 
)
MODULE_PARM_DESC ( all  ,
"Grab all legacy port  devices,
even if PCI(0=off, 1=on)"   
)
MODULE_VERSION ( DRV_VERSION  )