Hi ,

i have strange problems with my cf card driver on our MPC5200 embedded
board. The cf card is mapped to memory space and interrupt is connected
to IRQ1(rising edge sensitive). First the driver was written for Kernel
2.6.14 and worked pretty. Now I  ported it to Kernel 2.6.24 and get
strange behaviour I do not understand.
After I load the modul, the kernel start to reboot when i call function
ide_device_add(). The reboot appears while device responses in function
"actual_try_to_identify" (ide-probe.c), after kernel sent the identify
command (0xec) to status/command register (hwif->outb(cmd,
DIE_COMMAND_REG;). 
To figure out whether card will be identify correct, I changed irq from
edge sensitive to level sensitive and card will be identified proper,
but get error "lost interrupt".

I habe no idea what happend.

Kindly regards

Hans
  





_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to