From owner-freebsd-wireless@FreeBSD.ORG Tue Mar 12 00:41:41 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 00275D66 for ; Tue, 12 Mar 2013 00:41:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-da0-x233.google.com (mail-da0-x233.google.com [IPv6:2607:f8b0:400e:c00::233]) by mx1.freebsd.org (Postfix) with ESMTP id CBB8CCE3 for ; Tue, 12 Mar 2013 00:41:40 +0000 (UTC) Received: by mail-da0-f51.google.com with SMTP id z17so1031587dal.24 for ; Mon, 11 Mar 2013 17:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=CVfYRLTuB65kt715rA6sLKu5Shpje0G+1y7ueVuM92A=; b=INlJnisIs2DtML1+9cc9z77v/Ux+yra6lG/uUqYnHuvLiP3pi/QLmtlcH5DmVZB+p3 ybDPdkcHXyHmwy2D/0XUsjTXE1wv9Lap559VDJWRFIQcfInZZc5NgIaZniVvCmspf7ie AU1EdAxViEGTkp/d3uSXDzO5kHs7wGRjkp5DxmkCsXyqc4v1j6n9S0twFY6NQL8T69yb j6UGksHpT6MMJ1JBv9fjev3YIL/Zdt7C2MHwBjv9qZa02SazhrxmP3PyZnw1gqFULF+1 xNCVpjnwaJNKnqAsdKC8uRlhRuPzNidEm8oxNtEaEIcGLIq7d4oeTQ2oR5erge+7nEZP 8ngg== MIME-Version: 1.0 X-Received: by 10.68.135.196 with SMTP id pu4mr25893990pbb.50.1363048899787; Mon, 11 Mar 2013 17:41:39 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.70.39.69 with HTTP; Mon, 11 Mar 2013 17:41:39 -0700 (PDT) In-Reply-To: <513E7924.3060302@gmail.com> References: <513d3ae3.08c2440a.59a6.63b2@mx.google.com> <513DA767.6010208@gmail.com> <513E6AF5.9010304@gmail.com> <513E7924.3060302@gmail.com> Date: Mon, 11 Mar 2013 17:41:39 -0700 X-Google-Sender-Auth: FQF4Za9lsXpkGVzIeaPh7vSgnmQ Message-ID: Subject: Re: Fine, OK, here's my initial AR9380/AR9485 support From: Adrian Chadd To: Joshua Isom Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2013 00:41:41 -0000 Is this with clang? adrian On 11 March 2013 17:39, Joshua Isom wrote: > Still no luck, and some errors look like I'm missing more. > > > /root/ATH/head/sys/modules/ath/../../dev/ath/ath_hal/ar9003/ar9300_misc.c:853:38: > error: use of logical '&&' with constant operand > [-Werror,-Wconstant-logical-operand] > if ((ahp->ah_enterprise_mode && AR_ENT_OTP_MIN_PKT_SIZE_DISABLE) && > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > AR_ENT_OTP_MIN_PKT_SIZE_DISABLE is defined in ar9300reg.h and hardcoded. > > At least you figured out an easy way to genuine check to see if someone > tried your code. > > > On 3/11/2013 6:41 PM, Adrian Chadd wrote: >> >> Ooh.. add the debug options to your kernel, sorry! >> >> options ATH_DEBUG >> options AH_DEBUG >> options ATH_DIAGAPI >> >> I'm sorry, I've never tested it outside of a debug build before. >> >> >> >> >> Adrian >> >