b43-dev.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Question about SPROM Readout
@ 2010-12-10 22:06 Larry Finger
  2010-12-11  8:47 ` Michael Büsch
  0 siblings, 1 reply; 4+ messages in thread
From: Larry Finger @ 2010-12-10 22:06 UTC (permalink / raw)
  To: b43-dev

On the box with the SPROM located at 0x0800 rather than 0x1000, a readout cycle
dumps data from whatever core happens to be mapped in the region 0x0 - 0xFFF. As
this is usually not the ChipCommon core, the SPROM dump is usually garbage.
Similarly, an SPROM write would overwrite lots of things.

I see several possible fixes and would like to get a sense of what you think is
best:

(1) Change the code to map ChipCommon before doing any SPROM dumps or saves. I
first tried this and crashed the driver - I'm not sure what I did wrong.

(2) Assume that the need to change SPROM contents is probably past and return an
error message if anyone tries to dump or rewrite for such a card.

(3) Save the SPROM image from the initial read and echo it for a dump, and error
on an attempted rewrite.

(4) Whatever I missed.

Thanks,

Larry

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

end of thread, other threads:[~2010-12-11 17:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-10 22:06 Question about SPROM Readout Larry Finger
2010-12-11  8:47 ` Michael Büsch
2010-12-11 17:39   ` Larry Finger
2010-12-11 17:49     ` Michael Büsch

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