From owner-svn-src-all@FreeBSD.ORG Sun May 5 09:38:26 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EDC4E205; Sun, 5 May 2013 09:38:26 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id E01C17E8; Sun, 5 May 2013 09:38:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r459cQUo011067; Sun, 5 May 2013 09:38:26 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r459cQ53011064; Sun, 5 May 2013 09:38:26 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201305050938.r459cQ53011064@svn.freebsd.org> From: Adrian Chadd Date: Sun, 5 May 2013 09:38:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r250266 - head/tools/tools/ath/athalq X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 May 2013 09:38:27 -0000 Author: adrian Date: Sun May 5 09:38:25 2013 New Revision: 250266 URL: http://svnweb.freebsd.org/changeset/base/250266 Log: Add the AR9300 descriptor decoding code. Modified: head/tools/tools/ath/athalq/Makefile head/tools/tools/ath/athalq/ar9300_ds.c head/tools/tools/ath/athalq/main.c Modified: head/tools/tools/ath/athalq/Makefile ============================================================================== --- head/tools/tools/ath/athalq/Makefile Sun May 5 09:38:02 2013 (r250265) +++ head/tools/tools/ath/athalq/Makefile Sun May 5 09:38:25 2013 (r250266) @@ -3,8 +3,10 @@ PROG= athalq NOMAN= yes +CFLAGS+= -I../../../../sys/contrib + SRCS= main.c ar5210_ds.c ar5211_ds.c ar5212_ds.c ar5416_ds.c tdma.c -# SRCS+= ar9300_ds.c +SRCS+= ar9300_ds.c .include <../Makefile.inc> Modified: head/tools/tools/ath/athalq/ar9300_ds.c ============================================================================== --- head/tools/tools/ath/athalq/ar9300_ds.c Sun May 5 09:38:02 2013 (r250265) +++ head/tools/tools/ath/athalq/ar9300_ds.c Sun May 5 09:38:25 2013 (r250266) @@ -29,7 +29,7 @@ __FBSDID("$FreeBSD$"); #include #include -#include +#include #include "ar9300_ds.h" Modified: head/tools/tools/ath/athalq/main.c ============================================================================== --- head/tools/tools/ath/athalq/main.c Sun May 5 09:38:02 2013 (r250265) +++ head/tools/tools/ath/athalq/main.c Sun May 5 09:38:25 2013 (r250266) @@ -30,7 +30,7 @@ __FBSDID("$FreeBSD$"); #include -#if 0 +#if 1 #include "ar9300_ds.h" #endif #include "ar5210_ds.h" @@ -156,7 +156,7 @@ main(int argc, const char *argv[]) ar5212_alq_payload(a); else if (be32toh(hdr.sc_hal_magic) == AR5416_MAGIC) ar5416_alq_payload(a); -#if 0 +#if 1 else if (be32toh(hdr.sc_hal_magic) == AR9300_MAGIC) ar9300_alq_payload(a); #endif