diff options
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/ac97.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/ic/ac97.h b/sys/dev/ic/ac97.h index b7de3048098..f4630678f1e 100644 --- a/sys/dev/ic/ac97.h +++ b/sys/dev/ic/ac97.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ac97.h,v 1.12 2002/04/08 01:43:13 frantzen Exp $ */ +/* $OpenBSD: ac97.h,v 1.13 2002/05/21 08:42:03 espie Exp $ */ /* * Copyright (c) 1999 Constantine Sapuntzakis @@ -32,6 +32,12 @@ struct ac97_codec_if; /* * This is the interface used to attach the AC97 compliant CODEC. */ +enum ac97_host_flags { + AC97_HOST_DONT_READ = 0x1, + AC97_HOST_DONT_READANY = 0x2, + AC97_HOST_SWAPPED_CHANNELS = 0x4 +}; + struct ac97_host_if { void *arg; @@ -40,12 +46,6 @@ struct ac97_host_if { int (*write)(void *arg, u_int8_t reg, u_int16_t val); void (*reset)(void *arg); - enum ac97_host_flags { - AC97_HOST_DONT_READ = 0x1, - AC97_HOST_DONT_READANY = 0x2, - AC97_HOST_SWAPPED_CHANNELS = 0x4 - }; - enum ac97_host_flags (*flags)(void *arg); }; |