Skip to contentSkip to conversation

changes for ISA cards

DISCUSSION Takashi Iwai 3 participants 3 messages Feb 15, 2002 – Feb 17, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I now committed a small but basic change to cvs:
for buffer allocation of ISA drivers, pci_alloc_consistent() is used instead of ALSA's memory allocator. This will reduce the use of virt_to_bus() which will disappear in 2.5.x.

I beileve the current code should work - at least on my sbawe worked. But if you have any problems regarding to this change, please check pcm_memory.c and undefine ISA_USE_PCI_ALLOC at the beginning of the file. Then it takes back the old allocator.

Takashi

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#2 lore raw

Re: Problems with __BYTE_ORDER

Quoted 8 lines · Haroldo Gamal

Takashi,

The modification you made on alsa-kernel/include/asound.h carries one problem:

__BYTE_ORDER is not defined under linux/types.h. It makes a generation of
wrong SND_BIG_ENDIAN constant on i386 architecture.

Am I wrong?

Nope. I tried to fix this problem in CVS.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel