Make ng_ubt2 (aka usb2_bluetooth_ng) driver only attach as "generic" driver

Reviewed by:	HPS
This commit is contained in:
Maksim Yevmenkin 2009-01-28 20:04:39 +00:00
parent f3b86a5fd7
commit 0e360a7ebe

View File

@ -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);