On Fri, 18 Feb 2005 13:09:14 +0100, Gabriel Paubert <[EMAIL PROTECTED]> wrote:
> For example if it declares 128k, compare the two halves, reduce
> to 64k if equal. Lather, rinse, repeat.
> 
> It's equivalent to reading the BAR declared size twice in
> the worst case, so it's not that bad performance-wise.
> 
> That would only be in the case of an unknown signature
> in the first bytes, otherwise the third byte gives you
> the size IIUC.
The third byte size is wrong in too many cards to be useful. I have
always found the size in the PCIR header to be accurate.

> 
>         Gabriel
> 


-- 
Jon Smirl
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to