Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2007 10:08:14 -0700
From:      Scott Long <scottl@samsco.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: restoring PCI config space
Message-ID:  <45C0CCFE.5090407@samsco.org>
In-Reply-To: <17855.31464.891778.783293@grasshopper.cs.duke.edu>
References:  <17855.30388.764471.322562@grasshopper.cs.duke.edu>	<45BF78B5.1050305@samsco.org> <17855.31464.891778.783293@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Gallatin wrote:
> Scott Long writes:
>  > I need to do the same thing, and I concluded that pci_cfg_restore needs
>  > to be exported out via a DEVMETHOD.  It might also be useful to export
> 
> Hurray!  Do you plan to do this soon?
> 
>  > a pci_cfg_save function.
> 
> Doesn't the config space get saved in pci_add_child?
> 
> Drew

Wouldn't you want to preserve driver-local changes that are made to the
config space?  Things like the busmaster enable bit comes to mind.

Scott




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45C0CCFE.5090407>