From owner-svn-src-head@FreeBSD.ORG Wed Jan 28 20:04:39 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F0FE1065676; Wed, 28 Jan 2009 20:04:39 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7D9D88FC13; Wed, 28 Jan 2009 20:04:39 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0SK4drN032060; Wed, 28 Jan 2009 20:04:39 GMT (envelope-from emax@svn.freebsd.org) Received: (from emax@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0SK4din032059; Wed, 28 Jan 2009 20:04:39 GMT (envelope-from emax@svn.freebsd.org) Message-Id: <200901282004.n0SK4din032059@svn.freebsd.org> From: Maksim Yevmenkin Date: Wed, 28 Jan 2009 20:04:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187865 - head/sys/dev/usb2/bluetooth X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 20:04:40 -0000 Author: emax Date: Wed Jan 28 20:04:39 2009 New Revision: 187865 URL: http://svn.freebsd.org/changeset/base/187865 Log: Make ng_ubt2 (aka usb2_bluetooth_ng) driver only attach as "generic" driver Reviewed by: HPS Modified: head/sys/dev/usb2/bluetooth/ng_ubt2.c Modified: head/sys/dev/usb2/bluetooth/ng_ubt2.c ============================================================================== --- head/sys/dev/usb2/bluetooth/ng_ubt2.c Wed Jan 28 19:58:05 2009 (r187864) +++ head/sys/dev/usb2/bluetooth/ng_ubt2.c Wed Jan 28 20:04:39 2009 (r187865) @@ -406,6 +406,9 @@ ubt_probe(device_t dev) if (uaa->info.bIfaceIndex != 0) return (ENXIO); + if (uaa->use_generic == 0) + return (ENXIO); + if (usb2_lookup_id_by_uaa(ubt_ignore_devs, sizeof(ubt_ignore_devs), uaa) == 0) return (ENXIO);