All of lore.kernel.org
 help / color / mirror / Atom feed
* request_mem_region size
@ 2004-05-14  9:58 Giuliano Pochini
  2004-05-14 10:06 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Giuliano Pochini @ 2004-05-14  9:58 UTC (permalink / raw)
  To: alsa-devel


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: request_mem_region size
  2004-05-14  9:58 request_mem_region size Giuliano Pochini
@ 2004-05-14 10:06 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2004-05-14 10:06 UTC (permalink / raw)
  To: Giuliano Pochini; +Cc: alsa-devel

At Fri, 14 May 2004 11:58:37 +0200 (CEST),
Giuliano Pochini wrote:
> 
> 
> 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 ?

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-14 10:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-14  9:58 request_mem_region size Giuliano Pochini
2004-05-14 10:06 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.