On Mon, May 28, 2001 at 10:27:00AM +0100, Fred Barnes wrote:
>
> You write:
> >
> > I have the same problem!?
> > The write speed is about 400 KB/s but read speed is very low (only 70 KB/s).
>
> Yup. Writes will be done using DMA or programmed I/O if it can. Reads revert
> to the software-emulated mode at the moment (due to the brokenness of the
> hardware ECP reading code -- this is something I'm attempting to fix, albeit
> slowly atm..).
>
Ok, I was the same problem every weeks later. But I saw and fixed
the hardware ECP reading code. Now I'm using parport_ecp_read_block_pio()
for read from de port. This code are alike to
parport_fifo_ecp_write_block_pio()
I'm using a Logic Analizer to measure the time.
This are the results in a AMDK7 850MHZ (SuperIO VIA 686A):
Function Time
inb 2 uS
insb (16 bytes) 128 - 136 uS
outb 2 uS
outsb (16 bytes) 34 uS
I don't understand the slow insb over the parport FIFO.
-- / \ Jesús Miguel Torres Jorge / \ __ Tenerife, Canary Island, SPAIN ----___/ _ _ \__--- / \ <+> <+> / mailto:jesus.torres@iname.com \ - <_> - / jabber:jesus.torres@jabber.org \ / |_ <---> _| / \ _ __ _ / \ | \ _/ \ May the Free Software Force be with you... | | | *******************-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Mon May 28 2001 - 18:53:32 EDT