Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* alsa-driver-1.0.0pre3 with linux-2.2.25: pci_name?
@ 2003-11-26 23:45 Ted
  2003-11-27 13:30 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Ted @ 2003-11-26 23:45 UTC (permalink / raw)
  To: alsa-devel; +Cc: Ted

Hello,

Takashi Iwai <tiwai@suse.de> wrote on Tue, 25 Nov 2003:
> right now the ALSA 1.0.0pre3 packages are released.
[...]
> The 2.2 kernel is still not tested well.  If you can test it, please
> let us know.

alsa-driver-1.0.0pre3/acore/pci_compat_22.c:line 371, refers to

	char *pci_name(struct pci_dev *)

which does not appear in the linux-2.2.x kernels.

In linux-2.4.x/include/linux/pci.h, struct pci_dev includes a
slot_name entry that doesn't appear in the linux-2.2.25 version.

Without fully appreciating the code, the alsa-driver successfully
builds by changing acore/pci_compat_22.c: line 371, like this

-		pci_name(pdev));
+		res_name);

Unfortunately, the snd-interwave modules fails to load afterwards.
The temporary fix above is surely not the cause of this, but I'll
say more in a separate message.

Ted.
-- 
Ted <ted@nowtsfree.freeserve.co.uk>
   http://www.nowtsfree.freeserve.co.uk


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

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

end of thread, other threads:[~2003-11-27 13:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-26 23:45 alsa-driver-1.0.0pre3 with linux-2.2.25: pci_name? Ted
2003-11-27 13:30 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox