Update of /cvsroot/alsa/alsa-driver/acore
In directory sc8-pr-cvs1:/tmp/cvs-serv31485/acore
Modified Files:
timer.patch
Log Message:
fixed the compilation with suse 9.0 kernel (supporting variable HZ).
Index: timer.patch
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/timer.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- timer.patch 30 May 2003 13:37:41 -0000 1.1
+++ timer.patch 17 Oct 2003 15:41:19 -0000 1.2
@@ -1,5 +1,14 @@
--- timer.c 2003-05-30 15:33:01.000000000 +0200
+++ timer.c.old 2003-05-30 15:32:56.000000000 +0200
+@@ -969,7 +969,7 @@
+ static struct _snd_timer_hardware snd_timer_system =
+ {
+ .flags = SNDRV_TIMER_HW_FIRST | SNDRV_TIMER_HW_TASKLET,
+- .resolution = 1000000000L / HZ,
++ // .resolution = 1000000000L / HZ,
+ .ticks = 10000000L,
+ .start = snd_timer_s_start,
+ .stop = snd_timer_s_stop
@@ -1733,7 +1733,9 @@
static struct file_operations snd_timer_f_ops =
@@ -10,3 +19,11 @@
.read = snd_timer_user_read,
.open = snd_timer_user_open,
.release = snd_timer_user_release,
+@@ -1779,6 +1781,7 @@
+ int err;
+ snd_info_entry_t *entry;
+
++ snd_timer_system.resolution = 1000000000L / HZ;
+ #ifdef SNDRV_OSS_INFO_DEV_TIMERS
+ snd_oss_info_register(SNDRV_OSS_INFO_DEV_TIMERS, SNDRV_CARDS - 1, "system
timer");
+ #endif
-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise
Linux in the Boardroom; in the Front Office; & in the Server Room
http://www.enterpriselinuxforum.com
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog