From: "Luis R. Rodriguez" <rodrigue@qca.qualcomm.com>
To: Gabor Juhos <juhosg@openwrt.org>
Cc: <mcgrof@infradead.org>, <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 15/15] initvals: add script for regenerating ath9k header files
Date: Tue, 20 Dec 2011 14:16:57 -0800 [thread overview]
Message-ID: <20111220221657.GF15071@tux> (raw)
In-Reply-To: <1324329900-3923-16-git-send-email-juhosg@openwrt.org>
On Mon, Dec 19, 2011 at 10:25:00PM +0100, Gabor Juhos wrote:
> The script helps to regenerate initval header files for ath9k.
>
> screenshot:
> $ ./gen_ath9k_headers.sh ar5008
> ar5008 => ar5008_initvals.h
>
> $ ./gen_ath9k_headers.sh
> ar5008 => ar5008_initvals.h
> ar9001 => ar9001_initvals.h
> ar9002 => ar9002_initvals.h
> ar9003-2p2 => ar9003_2p2_initvals.h
> ar9330-1p1 => ar9330_1p1_initvals.h
> ar9330-1p2 => ar9330_1p2_initvals.h
> ar9485 => ar9485_initvals.h
> ar9580-1p0 => ar9580_1p0_initvals.h
>
> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
> ---
> gen_ath9k_headers.sh | 36 ++++++++++++++++++++++++++++++++++++
> 1 files changed, 36 insertions(+), 0 deletions(-)
> create mode 100755 gen_ath9k_headers.sh
>
> diff --git a/gen_ath9k_headers.sh b/gen_ath9k_headers.sh
> new file mode 100755
> index 0000000..fb7c313
> --- /dev/null
> +++ b/gen_ath9k_headers.sh
> @@ -0,0 +1,36 @@
> +#!/bin/sh
> +
> +gen_ath9k_header()
> +{
> + local family="$1"
> + local ath9k_hdr
> +
> + case $family in
> + ar5008 |\
> + ar9001 |\
> + ar9002 |\
> + ar9003-2p2|\
> + ar9330-1p1|\
> + ar9330-1p2|\
> + ar9485|\
> + ar9580-1p0)
> + ath9k_hdr="$(echo $family | tr '-' '_')_initvals.h"
> + ;;
> + *)
> + echo "unknown family: '$family'" 1>&2
> + return 1
> + ;;
> + esac
> +
The above line had a trailing tab, apart from that, everything looks
great, thanks so much! Applied and pushed!
Luis
prev parent reply other threads:[~2011-12-20 22:17 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-19 21:24 [PATCH 00/15] initvals: fix various errors and warnings Gabor Juhos
2011-12-19 21:24 ` [PATCH 01/15] initvals: add missing include for ar9330 Gabor Juhos
2011-12-19 21:24 ` [PATCH 02/15] initvals: fix typos in usage text Gabor Juhos
2011-12-19 21:24 ` [PATCH 03/15] initvals: fix copy&paste error Gabor Juhos
2011-12-19 21:24 ` [PATCH 04/15] initvals: add ar9485_initvals.h to ATH9K_DEPS Gabor Juhos
2011-12-19 21:24 ` [PATCH 05/15] initvals: add checksums for AR9330 1.[12] Gabor Juhos
2011-12-19 21:24 ` [PATCH 06/15] initvals: add checksums for ar9580 Gabor Juhos
2011-12-19 21:24 ` [PATCH 07/15] initvals: allow to use additional CFLAGS Gabor Juhos
2011-12-19 21:24 ` [PATCH 08/15] initvals: remove unused variable Gabor Juhos
2011-12-19 21:24 ` [PATCH 09/15] initvals: fix printf format warnings Gabor Juhos
2011-12-19 21:24 ` [PATCH 10/15] initvals: fix type of the second argument of 'main' Gabor Juhos
2011-12-19 21:24 ` [PATCH 11/15] initvals: include <string.h> to make gcc happy Gabor Juhos
2011-12-19 21:24 ` [PATCH 12/15] initvals: make 'print_initvals_family' static void Gabor Juhos
2011-12-19 21:24 ` [PATCH 13/15] initvals: use private chksum variables in INI_PRINT* macros Gabor Juhos
2011-12-19 21:24 ` [PATCH 14/15] initvals: add a script for simplifying checksum verification Gabor Juhos
2011-12-19 21:25 ` [PATCH 15/15] initvals: add script for regenerating ath9k header files Gabor Juhos
2011-12-20 22:16 ` Luis R. Rodriguez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111220221657.GF15071@tux \
--to=rodrigue@qca.qualcomm.com \
--cc=juhosg@openwrt.org \
--cc=linux-wireless@vger.kernel.org \
--cc=mcgrof@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.