Linux Kernel
3.7.1
|
#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/libata.h>
#include <asm/msr.h>
Go to the source code of this file.
Macros | |
#define | DRV_NAME "pata_cs5535" |
#define | DRV_VERSION "0.2.12" |
#define | MSR_ATAC_BASE 0x51300000 |
#define | ATAC_GLD_MSR_CAP (MSR_ATAC_BASE+0) |
#define | ATAC_GLD_MSR_CONFIG (MSR_ATAC_BASE+0x01) |
#define | ATAC_GLD_MSR_SMI (MSR_ATAC_BASE+0x02) |
#define | ATAC_GLD_MSR_ERROR (MSR_ATAC_BASE+0x03) |
#define | ATAC_GLD_MSR_PM (MSR_ATAC_BASE+0x04) |
#define | ATAC_GLD_MSR_DIAG (MSR_ATAC_BASE+0x05) |
#define | ATAC_IO_BAR (MSR_ATAC_BASE+0x08) |
#define | ATAC_RESET (MSR_ATAC_BASE+0x10) |
#define | ATAC_CH0D0_PIO (MSR_ATAC_BASE+0x20) |
#define | ATAC_CH0D0_DMA (MSR_ATAC_BASE+0x21) |
#define | ATAC_CH0D1_PIO (MSR_ATAC_BASE+0x22) |
#define | ATAC_CH0D1_DMA (MSR_ATAC_BASE+0x23) |
#define | ATAC_PCI_ABRTERR (MSR_ATAC_BASE+0x24) |
#define | ATAC_BM0_CMD_PRIM 0x00 |
#define | ATAC_BM0_STS_PRIM 0x02 |
#define | ATAC_BM0_PRD 0x04 |
#define | CS5535_CABLE_DETECT 0x48 |
Functions | |
module_pci_driver (cs5535_pci_driver) | |
MODULE_AUTHOR ("Alan Cox, Jens Altmann, Wolfgan Zuleger, Alexander Kiausch") | |
MODULE_DESCRIPTION ("low-level driver for the NS/AMD 5535") | |
MODULE_LICENSE ("GPL") | |
MODULE_DEVICE_TABLE (pci, cs5535) | |
MODULE_VERSION (DRV_VERSION) | |
#define ATAC_BM0_CMD_PRIM 0x00 |
Definition at line 64 of file pata_cs5535.c.
#define ATAC_BM0_PRD 0x04 |
Definition at line 66 of file pata_cs5535.c.
#define ATAC_BM0_STS_PRIM 0x02 |
Definition at line 65 of file pata_cs5535.c.
#define ATAC_CH0D0_DMA (MSR_ATAC_BASE+0x21) |
Definition at line 59 of file pata_cs5535.c.
#define ATAC_CH0D0_PIO (MSR_ATAC_BASE+0x20) |
Definition at line 58 of file pata_cs5535.c.
#define ATAC_CH0D1_DMA (MSR_ATAC_BASE+0x23) |
Definition at line 61 of file pata_cs5535.c.
#define ATAC_CH0D1_PIO (MSR_ATAC_BASE+0x22) |
Definition at line 60 of file pata_cs5535.c.
#define ATAC_GLD_MSR_CAP (MSR_ATAC_BASE+0) |
Definition at line 50 of file pata_cs5535.c.
#define ATAC_GLD_MSR_CONFIG (MSR_ATAC_BASE+0x01) |
Definition at line 51 of file pata_cs5535.c.
#define ATAC_GLD_MSR_DIAG (MSR_ATAC_BASE+0x05) |
Definition at line 55 of file pata_cs5535.c.
#define ATAC_GLD_MSR_ERROR (MSR_ATAC_BASE+0x03) |
Definition at line 53 of file pata_cs5535.c.
#define ATAC_GLD_MSR_PM (MSR_ATAC_BASE+0x04) |
Definition at line 54 of file pata_cs5535.c.
#define ATAC_GLD_MSR_SMI (MSR_ATAC_BASE+0x02) |
Definition at line 52 of file pata_cs5535.c.
#define ATAC_IO_BAR (MSR_ATAC_BASE+0x08) |
Definition at line 56 of file pata_cs5535.c.
#define ATAC_PCI_ABRTERR (MSR_ATAC_BASE+0x24) |
Definition at line 62 of file pata_cs5535.c.
#define ATAC_RESET (MSR_ATAC_BASE+0x10) |
Definition at line 57 of file pata_cs5535.c.
#define CS5535_CABLE_DETECT 0x48 |
Definition at line 68 of file pata_cs5535.c.
#define DRV_NAME "pata_cs5535" |
Definition at line 41 of file pata_cs5535.c.
#define DRV_VERSION "0.2.12" |
Definition at line 42 of file pata_cs5535.c.
#define MSR_ATAC_BASE 0x51300000 |
Definition at line 49 of file pata_cs5535.c.
MODULE_AUTHOR | ( | "Alan | Cox, |
Jens | Altmann, | ||
Wolfgan | Zuleger, | ||
Alexander Kiausch" | |||
) |
MODULE_DEVICE_TABLE | ( | pci | , |
cs5535 | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_pci_driver | ( | cs5535_pci_driver | ) |
MODULE_VERSION | ( | DRV_VERSION | ) |