Re: Exposing ROM's though sysfs

Vojtech Pavlik
2004-07-30T19:34:24Z

On Fri, Jul 30, 2004 at 12:25:10PM -0700, Jon Smirl wrote:
> --- Jesse Barnes <jbarnes@engr.sgi.com> wrote:
> > How about this patch?
>
> Here's the ROM access code I've been using but it's not in the form
> that we need.
>
> We do need a standard scheme for the radeon situation of having a bug
> in the ROM access logic. Is it ok to put the fix for this in the radeon
> driver? So if you read the ROM before the driver is loaded it won't be
> there (proabably FFFF's). After the driver loads the fix will run as
> part of the driver init and the ROM access functions will work right.

IMO the fix should go to the PCI quirk logic. That's a place to work
around PCI config bugs.

--
Vojtech Pavlik
SuSE Labs, SuSE CR