netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 04/26] rt2x00: EEPROM 93Cx6
@ 2006-12-03 18:19 Ivo van Doorn
  2006-12-03 18:39 ` Michael Wu
  0 siblings, 1 reply; 10+ messages in thread
From: Ivo van Doorn @ 2006-12-03 18:19 UTC (permalink / raw)
  To: John W. Linville; +Cc: netdev

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-12-13 17:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-03 18:19 [PATCH 04/26] rt2x00: EEPROM 93Cx6 Ivo van Doorn
2006-12-03 18:39 ` 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

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).