#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 <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/device.h>
#include <scsi/scsi_host.h>
#include <linux/libata.h>
Go to the source code of this file.
|
enum | {
VSC_MMIO_BAR = 0,
VSC_SATA_INT_STAT_OFFSET = 0x00,
VSC_SATA_INT_MASK_OFFSET = 0x04,
VSC_SATA_TF_CMD_OFFSET = 0x00,
VSC_SATA_TF_DATA_OFFSET = 0x00,
VSC_SATA_TF_ERROR_OFFSET = 0x04,
VSC_SATA_TF_FEATURE_OFFSET = 0x06,
VSC_SATA_TF_NSECT_OFFSET = 0x08,
VSC_SATA_TF_LBAL_OFFSET = 0x0c,
VSC_SATA_TF_LBAM_OFFSET = 0x10,
VSC_SATA_TF_LBAH_OFFSET = 0x14,
VSC_SATA_TF_DEVICE_OFFSET = 0x18,
VSC_SATA_TF_STATUS_OFFSET = 0x1c,
VSC_SATA_TF_COMMAND_OFFSET = 0x1d,
VSC_SATA_TF_ALTSTATUS_OFFSET = 0x28,
VSC_SATA_TF_CTL_OFFSET = 0x29,
VSC_SATA_UP_DESCRIPTOR_OFFSET = 0x64,
VSC_SATA_UP_DATA_BUFFER_OFFSET = 0x6C,
VSC_SATA_DMA_CMD_OFFSET = 0x70,
VSC_SATA_SCR_STATUS_OFFSET = 0x100,
VSC_SATA_SCR_ERROR_OFFSET = 0x104,
VSC_SATA_SCR_CONTROL_OFFSET = 0x108,
VSC_SATA_PORT_OFFSET = 0x200,
VSC_SATA_INT_ERROR_CRC = 0x40,
VSC_SATA_INT_ERROR_T = 0x20,
VSC_SATA_INT_ERROR_P = 0x10,
VSC_SATA_INT_ERROR_R = 0x8,
VSC_SATA_INT_ERROR_E = 0x4,
VSC_SATA_INT_ERROR_M = 0x2,
VSC_SATA_INT_PHY_CHANGE = 0x1,
VSC_SATA_INT_ERROR
} |
|
#define DRV_NAME "sata_vsc" |
#define DRV_VERSION "2.3" |
- Enumerator:
VSC_MMIO_BAR |
|
VSC_SATA_INT_STAT_OFFSET |
|
VSC_SATA_INT_MASK_OFFSET |
|
VSC_SATA_TF_CMD_OFFSET |
|
VSC_SATA_TF_DATA_OFFSET |
|
VSC_SATA_TF_ERROR_OFFSET |
|
VSC_SATA_TF_FEATURE_OFFSET |
|
VSC_SATA_TF_NSECT_OFFSET |
|
VSC_SATA_TF_LBAL_OFFSET |
|
VSC_SATA_TF_LBAM_OFFSET |
|
VSC_SATA_TF_LBAH_OFFSET |
|
VSC_SATA_TF_DEVICE_OFFSET |
|
VSC_SATA_TF_STATUS_OFFSET |
|
VSC_SATA_TF_COMMAND_OFFSET |
|
VSC_SATA_TF_ALTSTATUS_OFFSET |
|
VSC_SATA_TF_CTL_OFFSET |
|
VSC_SATA_UP_DESCRIPTOR_OFFSET |
|
VSC_SATA_UP_DATA_BUFFER_OFFSET |
|
VSC_SATA_DMA_CMD_OFFSET |
|
VSC_SATA_SCR_STATUS_OFFSET |
|
VSC_SATA_SCR_ERROR_OFFSET |
|
VSC_SATA_SCR_CONTROL_OFFSET |
|
VSC_SATA_PORT_OFFSET |
|
VSC_SATA_INT_ERROR_CRC |
|
VSC_SATA_INT_ERROR_T |
|
VSC_SATA_INT_ERROR_P |
|
VSC_SATA_INT_ERROR_R |
|
VSC_SATA_INT_ERROR_E |
|
VSC_SATA_INT_ERROR_M |
|
VSC_SATA_INT_PHY_CHANGE |
|
VSC_SATA_INT_ERROR |
|
Definition at line 52 of file sata_vsc.c.
MODULE_AUTHOR |
( |
"Jeremy Higdon" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
vsc_sata_pci_tbl |
|
|
) |
| |
module_pci_driver |
( |
vsc_sata_pci_driver |
| ) |
|