]> rtime.felk.cvut.cz Git - lincan.git/commit
SJA1000 driver interrupts processing modified to not rely on interrupt register for...
authorppisa <ppisa>
Tue, 11 Oct 2005 15:41:38 +0000 (15:41 +0000)
committerppisa <ppisa>
Tue, 11 Oct 2005 15:41:38 +0000 (15:41 +0000)
commit75d77a3d5177ad90a0e319102c776852df2bccb7
tree7ebc7f0f2314034f3a5b1f324055c54b5d81c943
parentfc52afd2db4b338e8ca30467f475cba1f1e40ebd
SJA1000 driver interrupts processing modified to not rely on interrupt register for Rx and Tx.
The information about free chip ready condition for Tx message is now
obtained from status register. This solution enables us to equip SJA1000
driver by irq_accept method. Then only this part has to be run in real IRQ
handler and rest of ISR can be done in other thread. This is required
for possible porting to QNX as well. Change should helps to better
recover form bus-off mode as well.
lincan/include/constants.h
lincan/src/sja1000p.c