]> git.baikalelectronics.ru Git - kernel.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)
commit7841579eb82962ea426c4a6cf0b458509471ee56
tree6a9c30266aa97b38515647cdc404cb7d3c512e15
parent46233d5409db44a9349e5b35ab231f58cbe2e0b6
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]