Date: Sat, 29 Sep 2012 13:25:21 +0400 From: =?UTF-8?B?Z2VvZmZyZXkgbGV2YW5k?= <geoffrey.levand@mail.ru> To: =?UTF-8?B?SGFucyBQZXR0ZXIgU2VsYXNreQ==?= <hselasky@c2i.net> Cc: freebsd-hackers@freebsd.org Subject: Re[2]: How to claim only some of USB interfaces of a composite USB device Message-ID: <1348910721.385146900@f89.mail.ru> In-Reply-To: <201209241820.07558.hselasky@c2i.net> References: <1348410653.373800982@f180.mail.ru> <201209241820.07558.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
SGksCgp0aGFua3MgZm9yIHRoZSBpbmZvLCBpdCBoZWxwZWQgbWUgdG8gZmluZCBhIHNvbHV0aW9u IGJ1dCBub3Qgc3VyZSBpZiBpdCdzIGEgcHJvcGVyIG9uZS4KSGVyZSBpcyB0aGUgcGF0Y2ggaSB1 c2VkIHRvIGZpeCB0aGUgcHJvYmxlbSBvbiBGcmVlQlNEIDkuMS4KCkluZGV4OiBzeXMvbmV0Z3Jh cGgvYmx1ZXRvb3RoL2RyaXZlcnMvdWJ0L25nX3VidC5jCj09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHN5cy9uZXRn cmFwaC9ibHVldG9vdGgvZHJpdmVycy91YnQvbmdfdWJ0LmMgKHJldmlzaW9uIDI0MDg0NikKKysr IHN5cy9uZXRncmFwaC9ibHVldG9vdGgvZHJpdmVycy91YnQvbmdfdWJ0LmMgKHdvcmtpbmcgY29w eSkKQEAgLTQzOSw2ICs0MzksNyBAQArCoMKgwqDCoMKgwqDCoCBzdHJ1Y3QgdWJ0X3NvZnRjwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICpzYyA9IGRldmljZV9nZXRfc29mdGMoZGV2KTsK wqDCoMKgwqDCoMKgwqAgc3RydWN0IHVzYl9lbmRwb2ludF9kZXNjcmlwdG9ywqAgKmVkOwrCoM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