Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2009 20:04:39 +0000 (UTC)
From:      Maksim Yevmenkin <emax@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187865 - head/sys/dev/usb2/bluetooth
Message-ID:  <200901282004.n0SK4din032059@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901282004.n0SK4din032059>