From: Romain D. <do...@ir...> - 2001-06-15 09:33:37
|
Hello, pm3fb use the 'request_mem_region' to be a good citizen in the linux driver world. But I have a chicken-and-egg problem I just found out: 1) if I detect memory *before* request_mem_region, I might write and read in conflicting memory space. That's what is done ATM. 2) if I detect memory *after* request_mem_region, I must request the whole 64 MB of aperture space, just in case... What is the proper behavior ? Or should I request 64 MB, detect memory, release 64 MB, request the real size ? TIA -- DOLBEAU Romain | l'histoire est entierement vraie, puisque ENS Cachan / Ker Lann | je l'ai imaginee d'un bout a l'autre do...@ir... | -- Boris Vian |