At Fri, 6 Oct 2006 13:36:51 +0200 (CEST), Jaroslav Kysela wrote: > > On Fri, 6 Oct 2006, Takashi Iwai wrote: > > > At Fri, 06 Oct 2006 11:15:04 +0200, > > Clemens Ladisch wrote: > > > > > > Jaroslav Kysela wrote: > > > > I would like to propose to add prealloc_max proc file to give a > > > > hint, what's the maximum allowed DMA buffer size in bytes: > > > > > > You mean, users are not supposed to do a binary search with > > > the prealloc file? ;-) > > > > > > > ... > > > > > > Looks good. > > > > > > > > > BTW: Shouldn't all(?) these proc files eventually go to sysfs? > > > > There is already a function to add a sysfs file > > (snd_add_device_sysfs_file()), so it must be pretty easy. > > Yes and no. An layer for concrete device/substream should be added. Right, it's missing. > Anyway, actually we can move most of values from proc to sysfs for 2.6. > Any problems with it? Proc files for showing information are OK, but controlling the driver over proc file isn't a recommended way on 2.6 kernel. That's what sysfs is for. Anyway it's no big deal but just TODO. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel