[pso] [tema2][linux] Cannot trigger RDAI

Luis Cazacu lewisparma at gmail.com
Thu Apr 19 16:08:28 EEST 2007


>
> <http://www.beyondlogic.org/serial/buff1024.c>
>
Inainte sa faci setarile astea sa faci disable_irq si dupa enable_irq.

Si nu tre sa setezi doar THREI
Adik in loc de :
outb( 0x02, dev->baseport + 1 )
(desi asta e pe COM1 si tie pe doi tre sa iti apara intreruperea..RDAI dar
nu te deranjeaza daca ai activat si RDAI pe COM1)
scrie

out(0x03.....)

Iar in handler cand srii in FIFO:
    outb(devs[i].buffer_write[0],devs[ i ].baseport);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20070419/78ba64d3/attachment.htm


More information about the pso mailing list