[flashrom] [PATCH 6/8] use getpagesize() to determine physmap's length in nicintel_spi.c

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Sun May 29 23:38:18 CEST 2011


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




More information about the flashrom mailing list