linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: Colin McCabe <colin@cozybit.com>
Cc: linux-wireless@vger.kernel.org, libertas-dev@lists.infradead.org,
	Andrey Yurovsky <andrey@cozybit.com>
Subject: Re: [PATCH v2 2/3] libertas: Update libertas core with GSPI constants
Date: Thu, 08 Jan 2009 11:56:41 -0500	[thread overview]
Message-ID: <1231433801.21643.44.camel@localhost.localdomain> (raw)
In-Reply-To: <1230951623-26998-3-git-send-email-colin@cozybit.com>

On Fri, 2009-01-02 at 19:00 -0800, Colin McCabe wrote:
> Add GSPI constants to libertas core.
> 
> Fix misleading comment in lbs_setup_firmware.
> 
> Signed-off-by: Colin McCabe <colin@cozybit.com>
> Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>

Acked-by: Dan Williams <dcbw@redhat.com>

> ---
>  drivers/net/wireless/libertas/host.h    |    1 +
>  drivers/net/wireless/libertas/hostcmd.h |    8 ++++++++
>  drivers/net/wireless/libertas/main.c    |    5 ++---
>  3 files changed, 11 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h
> index 277ff19..d4457ef 100644
> --- a/drivers/net/wireless/libertas/host.h
> +++ b/drivers/net/wireless/libertas/host.h
> @@ -66,6 +66,7 @@
>  #define CMD_802_11_LED_GPIO_CTRL		0x004e
>  #define CMD_802_11_EEPROM_ACCESS		0x0059
>  #define CMD_802_11_BAND_CONFIG			0x0058
> +#define CMD_GSPI_BUS_CONFIG			0x005a
>  #define CMD_802_11D_DOMAIN_INFO			0x005b
>  #define CMD_802_11_KEY_MATERIAL			0x005e
>  #define CMD_802_11_SLEEP_PARAMS			0x0066
> diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
> index c6d5771..3c15611 100644
> --- a/drivers/net/wireless/libertas/hostcmd.h
> +++ b/drivers/net/wireless/libertas/hostcmd.h
> @@ -221,6 +221,14 @@ struct cmd_ds_mac_multicast_adr {
>  	u8 maclist[ETH_ALEN * MRVDRV_MAX_MULTICAST_LIST_SIZE];
>  } __attribute__ ((packed));
>  
> +struct cmd_ds_gspi_bus_config {
> +	struct cmd_header hdr;
> +	__le16 action;
> +	__le16 bus_delay_mode;
> +	__le16 host_time_delay_to_read_port;
> +	__le16 host_time_delay_to_read_register;
> +} __attribute__ ((packed));
> +
>  struct cmd_ds_802_11_authenticate {
>  	u8 macaddr[ETH_ALEN];
>  	u8 authtype;
> diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
> index 3b8cb29..69f7479 100644
> --- a/drivers/net/wireless/libertas/main.c
> +++ b/drivers/net/wireless/libertas/main.c
> @@ -1011,9 +1011,8 @@ void lbs_resume(struct lbs_private *priv)
>  EXPORT_SYMBOL_GPL(lbs_resume);
>  
>  /**
> - *  @brief This function downloads firmware image, gets
> - *  HW spec from firmware and set basic parameters to
> - *  firmware.
> + * @brief This function gets the HW spec from the firmware and sets
> + *        some basic parameters.
>   *
>   *  @param priv    A pointer to struct lbs_private structure
>   *  @return 	   0 or -1


  parent reply	other threads:[~2009-01-08 16:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-03  3:00 [PATCH v2 0/3] libertas: driver for GSPI devices Colin McCabe
2009-01-03  3:00 ` [PATCH v2 1/3] libertas: Fix alignment issues in libertas core Colin McCabe
2009-01-03  3:00   ` [PATCH v2 2/3] libertas: Update libertas core with GSPI constants Colin McCabe
2009-01-03  3:00     ` [PATCH v2 3/3] libertas: if_spi, driver for libertas GSPI devices Colin McCabe
2009-01-07  8:38       ` Holger Schurig
2009-01-07 17:28         ` Andrey Yurovsky
2009-01-08 17:17       ` Dan Williams
2009-01-08 17:42         ` Colin McCabe
2009-01-09  8:05         ` Kalle Valo
2009-01-08 16:56     ` Dan Williams [this message]
2009-01-08 16:53   ` [PATCH v2 1/3] libertas: Fix alignment issues in libertas core Johannes Berg
2009-01-08 16:54     ` Dan Williams

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=1231433801.21643.44.camel@localhost.localdomain \
    --to=dcbw@redhat.com \
    --cc=andrey@cozybit.com \
    --cc=colin@cozybit.com \
    --cc=libertas-dev@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).