From: Michael Buesch <mb@bu3sch.de>
To: Reinette Chatre <reinette.chatre@intel.com>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org,
ipw3945-devel@lists.sourceforge.net,
Assaf Krauss <assaf.krauss@intel.com>,
Tomas Winkler <tomas.winkler@intel.com>
Subject: Re: [PATCH 2/2] iwlwifi: Moving EEPROM handling in iwlcore module
Date: Thu, 6 Mar 2008 19:46:36 +0100 [thread overview]
Message-ID: <200803061946.36591.mb@bu3sch.de> (raw)
In-Reply-To: <1204828820-11768-3-git-send-email-reinette.chatre@intel.com>
On Thursday 06 March 2008 19:40:20 Reinette Chatre wrote:
> +/*
> + * 4965 EEPROM map
> + */
> +struct iwl4965_eeprom {
> + u8 reserved0[16];
> +#define EEPROM_DEVICE_ID (2*0x08) /* 2 bytes */
offsetof() does this stuff automagically for you.
> + u16 device_id; /* abs.ofs: 16 */
> + u8 reserved1[2];
> +#define EEPROM_PMC (2*0x0A) /* 2 bytes */
...
> + u16 pmc; /* abs.ofs: 20 */
> + u8 reserved2[20];
> +#define EEPROM_MAC_ADDRESS (2*0x15) /* 6 bytes */
.. and so on.
> + u8 mac_address[6]; /* abs.ofs: 42 */
> + u8 reserved3[58];
> +#define EEPROM_BOARD_REVISION (2*0x35) /* 2 bytes */
> + u16 board_revision; /* abs.ofs: 106 */
> + u8 reserved4[11];
> +#define EEPROM_BOARD_PBA_NUMBER (2*0x3B+1) /* 9 bytes */
> + u8 board_pba_number[9]; /* abs.ofs: 119 */
> + u8 reserved5[8];
--
Greetings Michael.
prev parent reply other threads:[~2008-03-06 18:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-06 18:40 [PATCH 0/2] iwlwifi driver updates Reinette Chatre
2008-03-06 18:40 ` [PATCH 1/2] iwlwifi: add iwl-core module Reinette Chatre
2008-03-06 18:40 ` [PATCH 2/2] iwlwifi: Moving EEPROM handling in iwlcore module Reinette Chatre
2008-03-06 18:46 ` Michael Buesch [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=200803061946.36591.mb@bu3sch.de \
--to=mb@bu3sch.de \
--cc=assaf.krauss@intel.com \
--cc=ipw3945-devel@lists.sourceforge.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=reinette.chatre@intel.com \
--cc=tomas.winkler@intel.com \
/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).