lkml.org 
[lkml]   [2000]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: DMA mapping
Date
From
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.043 / U:1.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site