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

Reviewed by:	HPS
This commit is contained in:
emax 2009-01-28 20:04:39 +00:00
parent 50efccc9f0
commit d26423e9d2

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