Re: [PATCH] libata: Add pata_atp867x driver for Artop/Acard ATP867X controllers

From: Jeff Garzik
Date: Thu Sep 17 2009 - 16:51:50 EST


On 09/15/2009 12:32 AM, Jung-Ik (John) Lee wrote:
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(-)

applied


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/