Re: DMA mapping

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Mar 07 2000 - 09:23:33 EST


> of times the Qlogic f/w is confused and returns garbage instead of the correct
> handle- it's much easier to detect this when you have an index in the range of
> 0 to 1024 rather than assume what you get back from the card is a valid
> pointer.

I did the same for the i2o_block driver where I only had a 32bit wide field.
Much to my suprise having the index also meant I could use it for other
things I needed to hang on the requests and speeded the driver up

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:22 EST