From: John(Jung-Ik) Lee<jilee@xxxxxxxxxx>
This is a new pata driver for ARTOP 867X 64bit 4-channel UDMA133 ATA ctrls.
Based on the Atp867 data sheet rev 1.2, Acard, and in part on early ide codes
from Eric Uhrhane<ericu@xxxxxxxxxx>.
Signed-off-by: John(Jung-Ik) Lee<jilee@xxxxxxxxxx>
Reviewed-by: Grant Grundler<grundler@xxxxxxxxxx>
Reviewed-by: Gwendal Gringo<gwendal@xxxxxxxxxx>
---
rev 01: Cleared some checkpatch.pl complaints. Thanks to Daniel.
rev 02: Removed hard-coded value for active/recovery. Thanks to Robert.
Use atp867x_cable_detect() until ata_cable_40short()
rev 03: changes per Jeff's comment: Thansk to Jeff.
ioread/iowrite, enum, speed-to-mode calc, single mapping, etc.
drivers/ata/Kconfig | 9 +
drivers/ata/Makefile | 1 +
drivers/ata/pata_atp867x.c | 548 ++++++++++++++++++++++++++++++++++++++++++++
include/linux/pci_ids.h | 2 +
4 files changed, 560 insertions(+), 0 deletions(-)