From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 31 15:00:23 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87DB310656D1 for ; Tue, 31 Jul 2012 15:00:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5969B8FC17 for ; Tue, 31 Jul 2012 15:00:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6VF0N3L039196 for ; Tue, 31 Jul 2012 15:00:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6VF0NEx039195; Tue, 31 Jul 2012 15:00:23 GMT (envelope-from gnats) Date: Tue, 31 Jul 2012 15:00:23 GMT Message-Id: <201207311500.q6VF0NEx039195@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: John Baldwin Cc: Subject: Re: kern/170058: [cbb] [patch] cardbus slot is not functioning correctly after a resume X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2012 15:00:23 -0000 The following reply was made to PR kern/170058; it has been noted by GNATS. From: John Baldwin To: bug-followup@freebsd.org, adrian@freebsd.org Cc: Subject: Re: kern/170058: [cbb] [patch] cardbus slot is not functioning correctly after a resume Date: Tue, 31 Jul 2012 10:56:49 -0400 Your patch is probably close to correct. You should not need the d0 bit for the cbb device itself (the PCI bus should do that), but the PCI bus driver only saves config register information for type 0 devices. The PCI-PCI bridge driver restores its config registers on its own, and cbb should do the same. -- John Baldwin