Correct PCI suspend and resume operations [ was Re: cirrus ich3
doesn't work after suspend to disk ]
Terry Lambert
tlambert2 at mindspring.com
Wed Jun 11 00:08:03 PDT 2003
Orion Hodson wrote:
> It looks like the pci configuration space state has been lost during
> the suspend and resume. This may be because the bus has removed power
> from the devices attached to it on suspend.
>
> I've been through a cross section of drivers this morning and some
> explicitly save and restore the PCI configuration state space and
> others don't. The former seems like the safest path in most cases.
> AFAICT, we don't common code for handling this and maybe there should
> be some rather than have each driver replicate this behaviour.
I like this idea; are there driver-specific bits, or can it
all be done at a higher level? If it can't, at least a means
of recording the space the driver looks at or touches might be
the ticket...
-- Terry
More information about the freebsd-current
mailing list