#include <linux/module.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/blkdev.h>
#include <linux/scatterlist.h>
#include <linux/ioc4.h>
#include <linux/io.h>
#include <linux/ide.h>
Go to the source code of this file.
#define DRV_NAME "SGIIOC4" |
#define IOC4_ATA_MEMERR 0x02 |
#define IOC4_CMD_CTL_BLK_SIZE 0x20 |
#define IOC4_CMD_OFFSET 0x100 |
#define IOC4_CTRL_OFFSET 0x120 |
#define IOC4_DMA_ADDR_H 0x04 |
#define IOC4_DMA_ADDR_L 0x03 |
#define IOC4_DMA_CTRL 0x07 |
#define IOC4_DMA_END_ADDR 0x08 |
#define IOC4_DMA_OFFSET 0x140 |
#define IOC4_DMA_PTR_H 0x02 |
#define IOC4_DMA_PTR_L 0x01 |
#define IOC4_DMA_READ 0x00 |
#define IOC4_DMA_WRITE 0x04 |
#define IOC4_IDE_CACHELINE_SIZE 128 |
#define IOC4_INTR_CLEAR 0x07 |
#define IOC4_INTR_OFFSET 0x0 |
#define IOC4_INTR_REG 0x03 |
#define IOC4_INTR_SET 0x05 |
#define IOC4_PRD_BYTES 16 |
#define IOC4_S_DMA_ACTIVE 0x08 |
#define IOC4_S_DMA_DIR 0x04 |
#define IOC4_S_DMA_ERROR 0x10 |
#define IOC4_S_DMA_START 0x01 |
#define IOC4_S_DMA_STOP 0x02 |
#define IOC4_SUPPORTED_FIRMWARE_REV 46 |
late_initcall |
( |
ioc4_ide_init |
| ) |
|
MODULE_AUTHOR |
( |
"Aniket Malatpure/Jeremy Higdon" |
| ) |
|