#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/ide.h>
#include <asm/msr.h>
Go to the source code of this file.
|
enum | {
MSR_IDE_CFG = 0x51300010,
PCI_IDE_CFG = 0x40,
CFG = 0,
DTC = 2,
CAST = 3,
ETC = 4,
IDE_CFG_CHANEN = (1 << 1),
IDE_CFG_CABLE = (1 << 17) | (1 << 16),
IDE_D0_SHIFT = 24,
IDE_D1_SHIFT = 16,
IDE_DRV_MASK = 0xff,
IDE_CAST_D0_SHIFT = 6,
IDE_CAST_D1_SHIFT = 4,
IDE_CAST_DRV_MASK = 0x3,
IDE_CAST_CMD_SHIFT = 24,
IDE_CAST_CMD_MASK = 0xff,
IDE_ETC_UDMA_MASK = 0xc0
} |
|
#define DRV_NAME "cs5536" |
- Enumerator:
MSR_IDE_CFG |
|
PCI_IDE_CFG |
|
CFG |
|
DTC |
|
CAST |
|
ETC |
|
IDE_CFG_CHANEN |
|
IDE_CFG_CABLE |
|
IDE_D0_SHIFT |
|
IDE_D1_SHIFT |
|
IDE_DRV_MASK |
|
IDE_CAST_D0_SHIFT |
|
IDE_CAST_D1_SHIFT |
|
IDE_CAST_DRV_MASK |
|
IDE_CAST_CMD_SHIFT |
|
IDE_CAST_CMD_MASK |
|
IDE_ETC_UDMA_MASK |
|
Definition at line 42 of file cs5536.c.
MODULE_AUTHOR |
( |
"Martin K. |
Petersen, |
|
|
Bartlomiej Zolnierkiewicz" |
|
|
) |
| |
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
cs5536_pci_tbl |
|
|
) |
| |
module_exit |
( |
cs5536_exit |
| ) |
|
module_init |
( |
cs5536_init |
| ) |
|
MODULE_PARM_DESC |
( |
msr |
, |
|
|
"Force using MSR to configure IDE function (Default: 0)" |
|
|
) |
| |