|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/module.h>#include <linux/init.h>#include <linux/blkdev.h>#include <scsi/scsi_host.h>#include <linux/ata.h>#include <linux/libata.h>#include <linux/platform_device.h>#include <linux/clk.h>Go to the source code of this file.
Data Structures | |
| struct | pata_imx_priv |
Macros | |
| #define | DRV_NAME "pata_imx" |
| #define | PATA_IMX_ATA_CONTROL 0x24 |
| #define | PATA_IMX_ATA_CTRL_FIFO_RST_B (1<<7) |
| #define | PATA_IMX_ATA_CTRL_ATA_RST_B (1<<6) |
| #define | PATA_IMX_ATA_CTRL_IORDY_EN (1<<0) |
| #define | PATA_IMX_ATA_INT_EN 0x2C |
| #define | PATA_IMX_ATA_INTR_ATA_INTRQ2 (1<<3) |
| #define | PATA_IMX_DRIVE_DATA 0xA0 |
| #define | PATA_IMX_DRIVE_CONTROL 0xD8 |
Functions | |
| module_platform_driver (pata_imx_driver) | |
| MODULE_AUTHOR ("Arnaud Patard <[email protected]>") | |
| MODULE_DESCRIPTION ("low-level driver for iMX PATA") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS ("platform:"DRV_NAME) | |
| #define DRV_NAME "pata_imx" |
Definition at line 26 of file pata_imx.c.
| #define PATA_IMX_ATA_CONTROL 0x24 |
Definition at line 28 of file pata_imx.c.
| #define PATA_IMX_ATA_CTRL_ATA_RST_B (1<<6) |
Definition at line 30 of file pata_imx.c.
| #define PATA_IMX_ATA_CTRL_FIFO_RST_B (1<<7) |
Definition at line 29 of file pata_imx.c.
| #define PATA_IMX_ATA_CTRL_IORDY_EN (1<<0) |
Definition at line 31 of file pata_imx.c.
| #define PATA_IMX_ATA_INT_EN 0x2C |
Definition at line 32 of file pata_imx.c.
| #define PATA_IMX_ATA_INTR_ATA_INTRQ2 (1<<3) |
Definition at line 33 of file pata_imx.c.
| #define PATA_IMX_DRIVE_CONTROL 0xD8 |
Definition at line 35 of file pata_imx.c.
| #define PATA_IMX_DRIVE_DATA 0xA0 |
Definition at line 34 of file pata_imx.c.
| MODULE_ALIAS | ( | "platform:" | DRV_NAME | ) |
| MODULE_AUTHOR | ( | "Arnaud Patard <[email protected]>" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | pata_imx_driver | ) |
1.8.2