Re: [PATCH] quiet non-x86 option ROM warnings

From: Jon Smirl
Date: Fri Feb 18 2005 - 11:53:11 EST


On Fri, 18 Feb 2005 13:09:14 +0100, Gabriel Paubert <paubert@xxxxxxx> 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
jonsmirl@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/