]> git.karo-electronics.de Git - linux-beck.git/commit
AVR32 PATA driver
authorKristoffer Nyborg Gregertsen <kngregertsen@norway.atmel.com>
Wed, 8 Aug 2007 14:57:08 +0000 (16:57 +0200)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:37 +0000 (14:55 -0400)
commit7c9ef8e418374aec0a62e64d9b40d457634fd039
tree6a9c30266aa97b38515647cdc404cb7d3c512e15
parentd830d1731fa5906aad20c228ac8b73005b13d468
AVR32 PATA driver

Updated and simplified driver. Use only register transfer timing for both
data and register transfers. This gives poorer performance in PIO1 and 2,
but should not be a problem in PIO3 and 4, correct me if I'm wrong :)

The driver works very we'll but I still wonder about the interrupts. I have
an interrupt line, that works nicely when POLLING flag is not set. The
problem is the number of interrupts that eat away my CPU cycles.

When using the POLLING flag there seem to be some interrupts that dosen't get
cleared. Furthermore the device dosen't drive INTRQ high, it stays at 2.5 volts
and generates a lot of interrupts due to ripple / noise. What to do?

Signed-off-by: Kristoffer Nyborg Gregertsen <kngregertsen@norway.atmel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/Kconfig
drivers/ata/Makefile
drivers/ata/pata_at32.c [new file with mode: 0644]