* Re: Messages produced by cfi_probe.c and cfi_cmdset_0001.c
2000-08-03 15:47 Messages produced by cfi_probe.c and cfi_cmdset_0001.c David Vrabel
@ 2000-08-03 15:47 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2000-08-03 15:47 UTC (permalink / raw)
To: David Vrabel; +Cc: mtd
dvrabel@arcom.co.uk said:
> cfi_probe.c and cfi_cmdset_0001.c both produce large quantities of
> output when probing. (eg all of the CFI query data). Is is necessary?
> Can I remove it (comment it out,#ifdef, debug only messages etc.)?
It's only there because it came long before the actual access routines, and
it make me happy to think that the code could do something useful :)
By all means, wrap it in #if 0
> Also, in cfi_cmdset_0001.c in cfi_intelext_write_{2_by_8,1_by_16}_buffe
> rs() we always write a full buffer even if we have less than a buffer
> to write. This affects performace (particularly when writing short
> <32byte buffers). Is there a reason why this is done like this?
Laziness. Please do fix it.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Messages produced by cfi_probe.c and cfi_cmdset_0001.c
@ 2000-08-03 15:47 David Vrabel
2000-08-03 15:47 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: David Vrabel @ 2000-08-03 15:47 UTC (permalink / raw)
To: mtd
Hi,
cfi_probe.c and cfi_cmdset_0001.c both produce large quantities of
output when probing. (eg all of the CFI query data). Is is necessary?
Can I remove it (comment it out,#ifdef, debug only messages etc.)?
Also, in cfi_cmdset_0001.c in
cfi_intelext_write_{2_by_8,1_by_16}_buffers() we always write a full
buffer even if we have less than a buffer to write. This affects
performace (particularly when writing short <32byte buffers). Is there
a reason why this is done like this?
David Vrabel
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-08-03 15:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-03 15:47 Messages produced by cfi_probe.c and cfi_cmdset_0001.c David Vrabel
2000-08-03 15:47 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox