From owner-cvs-src@FreeBSD.ORG Wed Sep 19 16:21:35 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CDB216A468; Wed, 19 Sep 2007 16:21:35 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2706C13C46C; Wed, 19 Sep 2007 16:21:35 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8JGLZbN050318; Wed, 19 Sep 2007 16:21:35 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8JGLYvd050317; Wed, 19 Sep 2007 16:21:34 GMT (envelope-from jhb) Message-Id: <200709191621.l8JGLYvd050317@repoman.freebsd.org> From: John Baldwin Date: Wed, 19 Sep 2007 16:21:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb ehci_pci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2007 16:21:35 -0000 jhb 2007-09-19 16:21:34 UTC FreeBSD src repository Modified files: sys/dev/usb ehci_pci.c Log: - Only assume that a PCI device on the same slot is a "neighbor" USB controller if it's sole child device has the "usb" device class. Previously ehci(4) would think that PCI-ISA bridges on the same slot (such as in some Intel ICHs) were "neighbors" resulting in spurious warnings about neighbor count mismatches. - Fix a memory leak when looking for neighbors. MFC after: 1 week Approved by: re (kensmith) Tested by: phk Revision Changes Path 1.28 +13 -2 src/sys/dev/usb/ehci_pci.c