From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 17:08:35 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 235D416A406 for ; Wed, 31 Jan 2007 17:08:35 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id D505113C4B6 for ; Wed, 31 Jan 2007 17:08:34 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id l0VH8Rce085670; Wed, 31 Jan 2007 10:08:32 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <45C0CCFE.5090407@samsco.org> Date: Wed, 31 Jan 2007 10:08:14 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: Andrew Gallatin References: <17855.30388.764471.322562@grasshopper.cs.duke.edu> <45BF78B5.1050305@samsco.org> <17855.31464.891778.783293@grasshopper.cs.duke.edu> In-Reply-To: <17855.31464.891778.783293@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Wed, 31 Jan 2007 10:08:32 -0700 (MST) X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-current@freebsd.org Subject: Re: restoring PCI config space X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 17:08:35 -0000 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