From: Ivo van Doorn <ivdoorn@gmail.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: netdev@vger.kernel.org
Subject: [PATCH 04/26] rt2x00: EEPROM 93Cx6
Date: Sun, 3 Dec 2006 19:19:05 +0100 [thread overview]
Message-ID: <200612031919.05228.IvDoorn@gmail.com> (raw)
rt2400pci, rt2500pci and rt61pci share exactly the
same code for the eeprom reading. The only difference
is that rt61pci has a slightly different register reading
approach. In any case we have a lot of duplicate code.
Create a new module eeprom_93cx6 inside the rt2x00 folder
and make rt2x00 use that.
As a bonus the entire eeprom is read into an array
to optimize eeprom usage. This also enables dummy eeprom
writing where the temporary buffer can be manipulated by
the user without permanently harming the eeprom.
This feature should have been enabled through ethtool,
but 3 days after this patch ethtool was removed from
d80211. This feature will be used when debugfs has been
implemented.
Signed-off-by Ivo van Doorn <IvDoorn@gmail.com>
---
http://www.mendiosus.nl/rt2x00/04_eeprom.diff
next reply other threads:[~2006-12-03 18:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-03 18:19 Ivo van Doorn [this message]
2006-12-03 18:39 ` [PATCH 04/26] rt2x00: EEPROM 93Cx6 Michael Wu
2006-12-03 18:45 ` Ivo van Doorn
2006-12-08 18:56 ` Ivo van Doorn
2006-12-09 2:00 ` Michael Wu
2006-12-09 13:05 ` Ivo Van Doorn
2006-12-13 15:44 ` Lennart Sorensen
2006-12-13 16:47 ` Ivo van Doorn
2006-12-13 17:05 ` Lennart Sorensen
2006-12-13 17:17 ` Ivo van Doorn
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=200612031919.05228.IvDoorn@gmail.com \
--to=ivdoorn@gmail.com \
--cc=linville@tuxdriver.com \
--cc=netdev@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).