Changeset 290 for GPL/branches/alsa-resync1/alsa-kernel/include
- Timestamp:
- Feb 16, 2008, 7:40:20 AM (18 years ago)
- Location:
- GPL/branches/alsa-resync1/alsa-kernel/include/sound
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/alsa-resync1/alsa-kernel/include/sound/adriver.h
r281 r290 87 87 #include <asm/page.h> 88 88 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 3) 89 #define pci_set_dma_mask(pci, mask) pci->dma_mask = mask89 #define pci_set_dma_mask(pci, mask) (pci->dma_mask = mask, 0) 90 90 #endif 91 91 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 7) … … 157 157 #endif 158 158 159 #if defined(CONFIG_ISAPNP) || (defined(CONFIG_ISAPNP_MODULE) && defined(MODULE)) 160 #ifdef TARGET_OS2 161 #include "isapnp.h" 162 #else /* !TARGET_OS2 */ 163 #include <linux/isapnp.h> 164 #endif /* !TARGET_OS2 */ 165 #ifndef CONFIG_PNP 166 #define CONFIG_PNP 167 #endif 168 #if (defined(CONFIG_ISAPNP_KERNEL) && defined(ALSA_BUILD)) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 3, 30) && !defined(ALSA_BUILD)) 169 #define isapnp_dev pci_dev 170 #define isapnp_card pci_bus 171 #endif 172 #undef __ISAPNP__ 173 #define __ISAPNP__ 174 #else 159 /* isapnp support for 2.2 kernels */ 160 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0) 161 #undef CONFIG_ISAPNP 162 #ifdef CONFIG_SND_ISAPNP 163 #define CONFIG_ISAPNP 164 #endif 165 #endif 166 167 /* support of pnp compatible layer for 2.2/2.4 kernels */ 175 168 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0) 176 169 #undef CONFIG_PNP 170 #ifdef CONFIG_SND_PNP 171 #define CONFIG_PNP 177 172 #endif 178 173 #endif … … 288 283 289 284 #ifndef CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK 290 #define pci_set_consistent_dma_mask(p,x) pci_set_dma_mask(p,x) 285 #define pci_set_consistent_dma_mask(p,x) 0 /* success */ 286 #endif 287 288 /* sysfs */ 289 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 2) 290 struct class_simple; 291 static inline void class_simple_device_add(struct class_simple *class, int devnum, ...) { return; } 292 static inline void class_simple_device_remove(int devnum) { return; } 291 293 #endif 292 294 … … 298 300 #define ssleep(x) msleep((unsigned int)(x) * 1000) 299 301 #endif 302 #endif 303 304 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) 305 #define snd_card_set_dev(card,dev) /* no struct device */ 300 306 #endif 301 307 -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/compat_22.h
r281 r290 506 506 { restore_flags(flags); } 507 507 508 #ifndef CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK509 #define pci_set_consistent_dma_mask(p,x) pci_set_dma_mask(p,x)510 #endif511 512 508 struct completion { 513 509 unsigned int done; -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/config.h
r281 r290 175 175 #endif 176 176 177 #ifndef snd_card_set_dev178 #define snd_card_set_dev(card,devptr) ((card)->dev = (devptr))179 #endif180 181 177 /* for easier backward-porting */ 182 178 #if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE) -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/core.h
r260 r290 310 310 int snd_card_file_remove(struct snd_card *card, struct file *file); 311 311 312 #ifndef snd_card_set_dev 313 #define snd_card_set_dev(card,devptr) ((card)->dev = (devptr)) 314 #endif 315 312 316 /* device.c */ 313 317 … … 333 337 int snd_task_name(struct task_struct *task, char *name, size_t size); 334 338 #ifdef CONFIG_SND_VERBOSE_PRINTK 335 void snd_verbose_printk(const char *file, int line, const char *format, ...); 339 void snd_verbose_printk(const char *file, int line, const char *format, ...) 340 __attribute__ ((format (printf, 3, 4))); 336 341 #endif 337 342 #if defined(CONFIG_SND_DEBUG) && defined(CONFIG_SND_VERBOSE_PRINTK) 338 void snd_verbose_printd(const char *file, int line, const char *format, ...); 343 void snd_verbose_printd(const char *file, int line, const char *format, ...) 344 __attribute__ ((format (printf, 3, 4))); 339 345 #endif 340 346 -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/emu8000.h
r96 r290 114 114 void snd_emu8000_update_reverb_mode(emu8000_t *emu); 115 115 void snd_emu8000_update_equalizer(emu8000_t *emu); 116 int snd_emu8000_load_chorus_fx(emu8000_t *emu, int mode, const void *buf, long len);117 int snd_emu8000_load_reverb_fx(emu8000_t *emu, int mode, const void *buf, long len);116 int snd_emu8000_load_chorus_fx(emu8000_t *emu, int mode, const void __user *buf, long len); 117 int snd_emu8000_load_reverb_fx(emu8000_t *emu, int mode, const void __user *buf, long len); 118 118 119 119 #endif /* __SOUND_EMU8000_H */ -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/pcm.h
r61 r290 411 411 struct snd_info_entry *proc_xrun_debug_entry; 412 412 #endif 413 #ifdef CONFIG_SND_DEBUG 414 unsigned int xrun_debug: 1; 415 snd_info_entry_t *proc_xrun_debug_entry; 416 #endif 413 417 }; 414 418 -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/version.h
r281 r290 1 1 /* include/version.h. Generated by configure. */ 2 #define CONFIG_SND_VERSION "1.0. 1"2 #define CONFIG_SND_VERSION "1.0.2" 3 3 #define CONFIG_SND_DATE ""
Note:
See TracChangeset
for help on using the changeset viewer.
