add HPET support

add a wrapper for the HPET driver
This commit is contained in:
Clemens Ladisch 2005-03-21 08:17:26 +00:00
parent 231d55e537
commit 2570bfc7ad
2 changed files with 3 additions and 0 deletions

View File

@ -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 */

View File

@ -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)