From 2570bfc7ad479f4b39f513b64b818ed35c168706 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Mon, 21 Mar 2005 08:17:26 +0000 Subject: [PATCH] add HPET support add a wrapper for the HPET driver --- include/sound/asound.h | 1 + include/timer.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/sound/asound.h b/include/sound/asound.h index 45b9b64b..42c586ef 100644 --- a/include/sound/asound.h +++ b/include/sound/asound.h @@ -578,6 +578,7 @@ enum sndrv_timer_slave_class { /* global timers (device member) */ #define SNDRV_TIMER_GLOBAL_SYSTEM 0 #define SNDRV_TIMER_GLOBAL_RTC 1 +#define SNDRV_TIMER_GLOBAL_HPET 2 /* info flags */ #define SNDRV_TIMER_FLG_SLAVE (1<<0) /* cannot be controlled */ diff --git a/include/timer.h b/include/timer.h index b98527aa..86edd1e4 100644 --- a/include/timer.h +++ b/include/timer.h @@ -109,6 +109,8 @@ typedef struct _snd_timer_tread { #define SND_TIMER_GLOBAL_SYSTEM 0 /** global timer - RTC */ #define SND_TIMER_GLOBAL_RTC 1 +/** global timer - HPET */ +#define SND_TIMER_GLOBAL_HPET 2 /** timer open mode flag - non-blocking behaviour */ #define SND_TIMER_OPEN_NONBLOCK (1<<0) -- 2.47.1