Date: Wed, 11 Jun 2003 00:06:21 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Orion Hodson <orion@freebsd.org> Cc: current@freebsd.org Subject: Re: Correct PCI suspend and resume operations [ was Re: cirrus ich3 doesn't work after suspend to disk ] Message-ID: <3EE6D4ED.DD389240@mindspring.com> References: <200306101644.h5AGiawR066527@puma.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EE6D4ED.DD389240>