diff options
author | emax <emax@FreeBSD.org> | 2009-01-28 20:04:39 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2009-01-28 20:04:39 +0000 |
commit | d26423e9d2b7411ee779faec583a009bab4896aa (patch) | |
tree | 7df8c3db1593affbe3f82e74727d255536294ddb /sys | |
parent | 50efccc9f04a04f03e963eee6a0f24acb1b0cec9 (diff) | |
download | FreeBSD-src-d26423e9d2b7411ee779faec583a009bab4896aa.zip FreeBSD-src-d26423e9d2b7411ee779faec583a009bab4896aa.tar.gz |
Make ng_ubt2 (aka usb2_bluetooth_ng) driver only attach as "generic" driver
Reviewed by: HPS
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb2/bluetooth/ng_ubt2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb2/bluetooth/ng_ubt2.c b/sys/dev/usb2/bluetooth/ng_ubt2.c index ba880e2..7ebe86b 100644 --- a/sys/dev/usb2/bluetooth/ng_ubt2.c +++ b/sys/dev/usb2/bluetooth/ng_ubt2.c @@ -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); |