request_mem_region size
I get the size to be passed to request_mem_region() with pci_resource_len(). But that size sometimes (depends on the card) is several MBs, while the hw registers are just a few bytes above the base address. Is it ok using a fixed length ?
--
Giuliano.
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
At Fri, 14 May 2004 11:58:37 +0200 (CEST),
Quoted 7 lines · Giuliano Pochini
I get the size to be passed to
request_mem_region()withpci_resource_len(). But that size sometimes (depends on the card) is several MBs, while the hw registers are just a few bytes above the base address. Is it ok using a fixed length ?
no problem as long as it doesn't exceed.
you can reserve the partial areas.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click