From owner-freebsd-wireless@FreeBSD.ORG Tue Mar 12 01:25:46 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 9842E3F9; Tue, 12 Mar 2013 01:25:46 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB79E51; Tue, 12 Mar 2013 01:25:46 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id 16so4009051obc.33 for ; Mon, 11 Mar 2013 18:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=2db0O/uDr6Tf3ssBck5/Ovmv5XMA3yW/sCM8olSht0Y=; b=01sR06vs1FL2wCg8NwiXaf0jZzx7Ut9b/rGf2zDp5KVwQf9K2Gf0h2KhY/SvL5efUu dU6IM4hBwb//Iq/oiTxWzCwWNIy5z+bIT5SSzCjdD0Yoqp2a3wORLA/w1vwWgSdPybnz 7v3SCmQsV05B2sm1D6hfk4HN70JKWEg0UjkFpsBaMA36C+NDhwcdRjGCADlWLWIPcn2i lYR/+ZYTNYzMQOeDxaQl4M2ZOdS/+/FkzSNiFEDeQx4u3GLv4bwrOQyyWIraTAltgsWP MPINwwj2JOiEXLXQRx2x3Fi3veQdFQCqGODqcofChKFFvGPeZLnDuNFigeuS1yjWpS2w 5whg== X-Received: by 10.60.18.136 with SMTP id w8mr10909302oed.84.1363051545630; Mon, 11 Mar 2013 18:25:45 -0700 (PDT) Received: from [192.168.1.14] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id j10sm19576468obg.4.2013.03.11.18.25.44 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Mar 2013 18:25:45 -0700 (PDT) Message-ID: <513E8412.8060405@gmail.com> Date: Mon, 11 Mar 2013 20:25:38 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Fine, OK, here's my initial AR9380/AR9485 support References: <513d3ae3.08c2440a.59a6.63b2@mx.google.com> <513DA767.6010208@gmail.com> <513E6AF5.9010304@gmail.com> <513E7924.3060302@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 01:25:46 -0000 I had tried the buildworld with -DWITHOUT_CLANG at one point, partially to speed up buildworld since building clang is slow without large amounts of memory. Most of the errors were the same, so my last buildworld was just stock. On 3/11/2013 7:41 PM, Adrian Chadd wrote: > 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 >>> >>