Re: Fix /proc/iomem

Grant Grundler <[email protected]> Thu, 18 Oct 2007 16:10:55 -0600
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
On Thu, Oct 18, 2007 at 03:31:48PM -0600, Grant Grundler wrote:
> Why would ROM_ENABLE be set for something that's not a ROM?
> I would expect "is ROM BAR _and_ ROM_ENABLE".
> 
> What am I missing? Maybe add a comment for this?

Nevermind...this got explained over IRC.
ROM_ENABLE only gets checked for ROM devices.
Willy suggested this comment:
/* Don't register resources for disabled ROMs as they may overlap each other */

and that works for me.

thanks,
grant