From owner-freebsd-current@FreeBSD.ORG Mon Apr 1 22:59:26 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2AAD2A46 for ; Mon, 1 Apr 2013 22:59:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) by mx1.freebsd.org (Postfix) with ESMTP id BD90F755 for ; Mon, 1 Apr 2013 22:59:25 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id hi18so1974253wib.9 for ; Mon, 01 Apr 2013 15:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to:cc :content-type; bh=WZq9qyeoXjAc/6Fztz3muVOJpXmvLl4bDshObBGI/I0=; b=bvmJRtmq4kstOxqxhodtzBy3QC8L6l05v91Af3Du4TdO52lJrT6EaL3hfmTckkJErH d7IQOVvP+lOiWqimSlhe88qfj8cCtlmTkmUoQ6Q+JFuXf6k5i4S91iRk8XHEAYvvgTSh mfLz0E6BLywMK9j5sOXqJlhnaI1V1sFSkrl/HG4KLlOJ4g1IPtnvD26SVnvXwkG9n4nR mBgFH5WyeO0rJOdFNEGMTfvMjDWsRC8erBEHv89z8Y0sYT9oIebzkBlD5tUjcGiPGnWk dE2/plt8IpC6qXf16kNCm7sDjJfbCXXCwKdc2f0Wt81PeW3kE5n7HI4vsd97rVxFGOHh x8GQ== MIME-Version: 1.0 X-Received: by 10.181.11.164 with SMTP id ej4mr12328437wid.29.1364857164952; Mon, 01 Apr 2013 15:59:24 -0700 (PDT) Received: by 10.216.108.130 with HTTP; Mon, 1 Apr 2013 15:59:24 -0700 (PDT) Date: Mon, 1 Apr 2013 15:59:24 -0700 Message-ID: Subject: Patch ath3kfw to accept other device ids; blacklist ath bluetooth devices From: Adrian Chadd To: Maksim Yevmenkin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 22:59:26 -0000 Hi, Please find a patch which does two things: * it allows ath3kfw to be given a vendor/productid, in order to load firmware into other NICs that only have a very basic firmware (sflash); * it blacklists all the NICs that have this particular behaviour (sourced from linux-next btusb.c driver). I've tested this on: * AR9285 + bluetooth (WB195) * AR9287 + bluetooht (WB197) I haven't yet opened the NICs up to see _exactly_ which BT chip is in them; I'll do that soon. There's some future work to do to allow for ROM patching and HCI configuration of later atheros bluetooth NICs; check the linux ath3k driver for more information. I'm not going to try and address these in this commit. I'd like to commit this to -HEAD if there are no objections. Thanks, Adrian