• Kristoffer Nyborg Gregertsen's avatar
    AVR32 PATA driver · 7c9ef8e4
    Kristoffer Nyborg Gregertsen authored
    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: default avatarKristoffer Nyborg Gregertsen <kngregertsen@norway.atmel.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    7c9ef8e4
pata_at32.c 11.1 KB