25 #include <linux/poll.h>
37 #define SNDRV_INFO_CONTENT_TEXT 0
38 #define SNDRV_INFO_CONTENT_DATA 1
51 unsigned short mode,
void **file_private_data);
53 unsigned short mode,
void *file_private_data);
61 void *file_private_data,
struct file *
file,
64 void *file_private_data,
struct file *
file,
93 #if defined(CONFIG_SND_OSSEMUL) && defined(CONFIG_PROC_FS)
97 #define snd_info_minor_register()
98 #define snd_info_minor_unregister()
102 #ifdef CONFIG_PROC_FS
105 #ifdef CONFIG_SND_OSSEMUL
109 #define snd_oss_root NULL
115 int snd_info_init(
void);
116 int snd_info_done(
void);
146 entry->c.text.read =
read;
149 int snd_info_check_reserved_words(
const char *
str);
153 #define snd_seq_root NULL
154 #define snd_oss_root NULL
157 static inline int snd_info_init(
void) {
return 0; }
158 static inline int snd_info_done(
void) {
return 0; }
161 static inline char *snd_info_get_str(
char *
dest,
char *
src,
int len) {
return NULL; }
166 static inline int snd_info_card_create(
struct snd_card *
card) {
return 0; }
167 static inline int snd_info_card_register(
struct snd_card *
card) {
return 0; }
168 static inline int snd_info_card_free(
struct snd_card *
card) {
return 0; }
169 static inline void snd_info_card_disconnect(
struct snd_card *
card) { }
170 static inline void snd_info_card_id_change(
struct snd_card *
card) { }
173 static inline int snd_card_proc_new(
struct snd_card *
card,
const char *
name,
179 static inline int snd_info_check_reserved_words(
const char *
str) {
return 1; }
187 #if defined(CONFIG_SND_OSSEMUL) && defined(CONFIG_PROC_FS)
189 #define SNDRV_OSS_INFO_DEV_AUDIO 0
190 #define SNDRV_OSS_INFO_DEV_SYNTH 1
191 #define SNDRV_OSS_INFO_DEV_MIDI 2
192 #define SNDRV_OSS_INFO_DEV_TIMERS 4
193 #define SNDRV_OSS_INFO_DEV_MIXERS 5
195 #define SNDRV_OSS_INFO_DEV_COUNT 6
197 int snd_oss_info_register(
int dev,
int num,
char *
string);
198 #define snd_oss_info_unregister(dev, num) snd_oss_info_register(dev, num, NULL)