From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Hammerfall (hdsp) initialization problem Date: Tue, 27 Jul 2004 18:30:15 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <1090607568.17750.7.camel@modemcable182.55-70-69.mc.videotron.ca> <20040724100520.26b4ac8f@laptop> <1090734488.3156.2.camel@modemcable182.55-70-69.mc.videotron.ca> <1090754189.15178.8.camel@localhost> <1090944426.4065.10.camel@modemcable182.55-70-69.mc.videotron.ca> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1090944426.4065.10.camel@modemcable182.55-70-69.mc.videotron.ca> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Jean-Marc Valin Cc: Thomas Charbonnel , Tim Blechmann , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 27 Jul 2004 12:07:06 -0400, Jean-Marc Valin wrote: > > > The problem is that you have to know the PCI pointer to call > > dma_alloc_coherent() correctly beforehand. Otherwise you'll get only > > ZONE_DMA under 16MB region. > > Still, there must be *something* that can be done, no? What are other > OSs doing about that? I mean, the card manual doesn't say "if you insert > this card after boot, it won't work", so I don't see why ALSA > fundamentally couldn't support hot-plugging cards. Of course hotplug is supported (how can you read above in such a way?) The question is only the memory preallocation for the cardbus device. hdsp driver and/or memalloc.c should be changed to handle properly the buffer preservation after replugging. Most likely the pci device pointer is changed after replug. Can anyone check whether pci_dev pointer is changed at each time? Takashi ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click