From owner-freebsd-wireless@FreeBSD.ORG Thu Mar 14 02:19:34 2013 Return-Path: Delivered-To: freebsd-wireless@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 0E4F4EEA for ; Thu, 14 Mar 2013 02:19:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 9B849660 for ; Thu, 14 Mar 2013 02:19:33 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id s43so1683934wey.35 for ; Wed, 13 Mar 2013 19:19:32 -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=f7KoNKAJu4tS2uTxuv+dCr0N0e2SAoUwWLb03NVafK0=; b=Z3NtJedDhiwiTQpz2Lr+5AxuP/Xw+LJ/9ingbuZvJncgIWklYBsuqHwWWWg6/EoMp/ 8gftQ0Iyc7t8X5IiQb16PgMhji9Y4X/1SCyajnehuPxFKavsP2oBsmJcNdM5soHr192O Oe6w6d4aTzo+IWxOruJ/aaijqDIp1q37EZ1cVTWQkEjNj8TyjdbSWLRpPzqy+guzNL5U GGuMItl22/zAqdbsFr9qi49sBcollALwNEEr3606WjUJx6yCV32YparP69RVU3QdS7qI Pe7V93QY2AmyN6ddjV0Ju0xv+SM9HUaUERlsnKeuz2T/N1EOlWuwenz2ZS96kH1ev5kP tqkA== MIME-Version: 1.0 X-Received: by 10.194.87.229 with SMTP id bb5mr858584wjb.32.1363227572794; Wed, 13 Mar 2013 19:19:32 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.111.201 with HTTP; Wed, 13 Mar 2013 19:19:32 -0700 (PDT) In-Reply-To: References: <513d3ae3.08c2440a.59a6.63b2@mx.google.com> <513DA767.6010208@gmail.com> <513E6AF5.9010304@gmail.com> <513E7924.3060302@gmail.com> <513F9A4B.5030704@gmail.com> <513FA6FC.5040809@gmail.com> <51412AD4.8040304@gmail.com> Date: Wed, 13 Mar 2013 19:19:32 -0700 X-Google-Sender-Auth: C6a2UAHNYdglXTMjq65p4dl73UA 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: Thu, 14 Mar 2013 02:19:34 -0000 ... oh, that's with the smartantenna support. Which I guess they've never actually _put_ on a 64 bit platform. so it's doing direct SOC GPIO port accesses from the HAL. That's .. ew. Anyway. I've just fixed it; so please update your git repo and the bad code will magically not compile in any longer. adrian On 13 March 2013 19:16, Adrian Chadd wrote: > Can you please post the patch and the specific compile issue? > > > > adrian > > > On 13 March 2013 18:41, Joshua Isom wrote: >> I added a cast to u_int64_t first on line 63 of ar9300_gpio.c to get it to >> compile. I imagine (void *) would be prefered, but I don't know what's >> actually correct. Unfortunately, I get a kernel panic on boot with scsi_cd, >> so I'll have to wait until that's dealt with before trying the ath driver. >> >> >> On 3/13/2013 7:30 PM, Adrian Chadd wrote: >>> >>> Hi, >>> >>> I've fixed some warnings - please update the git repo youre using. >>> >>> I've also added some clang workarounds in the MAkefile (see the bottom >>> of the file for the two lines to update) - so please svn update in >>> sys/modules/ath/ >>> >>> Hopefully that works enough for you! Please let me know what other >>> build errors you're seeing. >>> >>> Thanks, >>> >>> >>> Adrian >>> >>