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:
"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