From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [Patch] cleanup pciback_reset_device Date: Mon, 18 Dec 2006 09:33:33 +0000 Message-ID: References: <2AC72285D84C8Dtakebe_akio@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2AC72285D84C8Dtakebe_akio@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Akio Takebe , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 18/12/06 9:21 am, "Akio Takebe" wrote: > This patch is for cleanup of pciback_reset_device. > is_enabled=0 and is_busmaster=0 are not necessary > because pci_disable_device() do them. If you are zapping the command register then doesn't it makes sense to zap the software flags relating to that at the same time, even if that sometimes happens to be redundant? It certainly means we can be sure they won't get out of sync. -- Keir