Re: Exposing ROM's though sysfs

From: Vojtech Pavlik
Date: Fri Jul 30 2004 - 14:37:10 EST


On Fri, Jul 30, 2004 at 12:25:10PM -0700, Jon Smirl wrote:
> --- Jesse Barnes <jbarnes@xxxxxxxxxxxx> 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
-
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/