Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/ide.h>
#include <linux/init.h>
#include <linux/module.h>
#include <asm/io.h>
Go to the source code of this file.
Macros | |
#define | CMD640_PREFETCH_MASKS 1 |
#define | DRV_NAME "cmd640" |
#define | VID 0x00 |
#define | DID 0x02 |
#define | PCMD 0x04 |
#define | PCMD_ENA 0x01 |
#define | PSTTS 0x06 |
#define | REVID 0x08 |
#define | PROGIF 0x09 |
#define | SUBCL 0x0a |
#define | BASCL 0x0b |
#define | BaseA0 0x10 |
#define | BaseA1 0x14 |
#define | BaseA2 0x18 |
#define | BaseA3 0x1c |
#define | INTLINE 0x3c |
#define | INPINE 0x3d |
#define | CFR 0x50 |
#define | CFR_DEVREV 0x03 |
#define | CFR_IDE01INTR 0x04 |
#define | CFR_DEVID 0x18 |
#define | CFR_AT_VESA_078h 0x20 |
#define | CFR_DSA1 0x40 |
#define | CFR_DSA0 0x80 |
#define | CNTRL 0x51 |
#define | CNTRL_DIS_RA0 0x40 |
#define | CNTRL_DIS_RA1 0x80 |
#define | CNTRL_ENA_2ND 0x08 |
#define | CMDTIM 0x52 |
#define | ARTTIM0 0x53 |
#define | DRWTIM0 0x54 |
#define | ARTTIM1 0x55 |
#define | DRWTIM1 0x56 |
#define | ARTTIM23 0x57 |
#define | ARTTIM23_DIS_RA2 0x04 |
#define | ARTTIM23_DIS_RA3 0x08 |
#define | ARTTIM23_IDE23INTR 0x10 |
#define | DRWTIM23 0x58 |
#define | BRST 0x59 |
Functions | |
module_param_named (probe_vlb, cmd640_vlb, bool, 0) | |
MODULE_PARM_DESC (probe_vlb,"probe for VLB version of CMD640 chipset") | |
module_init (cmd640x_init) | |
MODULE_LICENSE ("GPL") | |
module_init | ( | cmd640x_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param_named | ( | probe_vlb | , |
cmd640_vlb | , | ||
bool | , | ||
0 | |||
) |