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

Jon Smirl
2005-02-17T22:58:53Z

On Fri, 18 Feb 2005 09:45:50 +1100, Benjamin Herrenschmidt
<benh@kernel.crashing.org> wrote:

> Can't the size be obtained like any other BAR ?

yes, but cards that don't fully decode their ROM address space can
waste memory in copy_rom. For example I have a card around here that
reports a BAR address space of 128K and has a 2K ROM in it. You only
want to copy the 2K, not the 128K.

--
Jon Smirl
jonsmirl@gmail.com