What causes bus_alloc_resource() to fail?

Alexander Leidinger Alexander at Leidinger.net
Wed Jul 12 07:13:21 UTC 2006


Quoting Daniel Eischen <eischen at vigrid.com> (from Wed, 12 Jul 2006  
00:07:11 -0400 (EDT)):

> I'm trying to add support for an ICH7-based audio device, but
> bus_alloc_resource_any() is failing when it tries to allocate
> the memory IO space.

My answer is off-topic to your question, but on-topic to what you try  
to achieve.

Are you sure the ICH7-based audio device is using the ac97 interface  
and not the HDA interface (hardware development decission, can't be  
changed with software)? If you are not sure I suggest to try to get  
this information somewhere. If it is using the HDA interface, your  
approach will never work. I suggest to have a look into the  
multimedia@ archive and search for HDA mails in this case.

Bye,
Alexander.

-- 
  Michelle: I can't find a vanishing cream that doesn't make me  
actually vanish.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



More information about the freebsd-current mailing list