Re: Exposing ROM's though sysfs

Jesse Barnes
2004-07-30T21:13:10Z

On Friday, July 30, 2004 2:07 pm, Jon Smirl wrote:
> --- Jesse Barnes <jbarnes@engr.sgi.com> wrote:
> > We can get away without caching a copy of the ROM in the kernel if we
> > require
> > userspace to cache it before the driver takes control of the card
> > (i.e. at
> > POST time). Otherwise, the kernel will have to take care of it.
>
> You may also need ROM access when resuming a suspended device so we
> need to plan for that case too.

The kernel will need it? Or userspace will need it to resume the card? If
the latter, then it should be possible to have userspace cache it the first
time it's read or something, to be on the safe side for video cards.

Jesse