28 Feb
2014
28 Feb
'14
4:10 p.m.
At Sat, 01 Mar 2014 00:05:42 +0900, Takashi Sakamoto wrote:
Iwai-san,
(Feb 28 2014 15:51), Takashi Iwai wrote:
Now we may handle more than 32 cards, depending on Kconfig.
I can understand I should not use 'unsigned int' for bitmap of each card instances because in most architecture 'unsigned int' has just 32 bit width.
Use bitmap instead.
But I cannot understand this sentence.
I already use this 'devices_used' for bitmap. So I guess you did mean alternative ways like pointer array. For example: static struct snd_fireworks *devices_used[SNDRV_CARDS];
Can I request your explaination for this?
Just take a look at linux/bitmap.h :)
Takashi