ah.. and btw (sorry for the spam!) it would be nice if we could change
the behavior if the physmap function in the case of len=0.
the kernel interface has a nice property in this regard:
http://www.aoc.nrao.edu/~tjuerges/ALMA/Kernel/2.6.29.4/deviceiobook/re04.html
"If you want to get access to the complete BAR without checking for its
length first, pass 0."
i am not sure how the actual length is read out, but lspci shows it too
so it cant be that hard...
would you take a patch for that?
-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to