| 1 | #ifndef __ALSA_CONFIG_H__
|
|---|
| 2 | #define __ALSA_CONFIG_H__
|
|---|
| 3 |
|
|---|
| 4 | /*
|
|---|
| 5 | * Configuration header file for compilation of the ALSA driver
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 | #include <linux/version.h>
|
|---|
| 10 | #include <linux/types.h>
|
|---|
| 11 | #include <linux/fcntl.h>
|
|---|
| 12 | #include <linux/signal.h>
|
|---|
| 13 | #include <linux/kdev_t.h>
|
|---|
| 14 | #include <linux/wait.h>
|
|---|
| 15 | #include <linux/list.h>
|
|---|
| 16 | #include <linux/init.h>
|
|---|
| 17 | #include <linux/dcache.h>
|
|---|
| 18 | #include <linux/vmalloc.h>
|
|---|
| 19 | #include <linux/tqueue.h>
|
|---|
| 20 | #include <linux/time.h>
|
|---|
| 21 | #include <linux/timer.h>
|
|---|
| 22 | #include <linux/stat.h>
|
|---|
| 23 | #include <linux/major.h>
|
|---|
| 24 | #include <linux/fs.h>
|
|---|
| 25 | #include <linux/err.h>
|
|---|
| 26 | #include <linux/gfp.h>
|
|---|
| 27 | #include <linux/workqueue.h>
|
|---|
| 28 | #include <linux/byteorder/little_endian.h>
|
|---|
| 29 | #include <linux/lockdep.h>
|
|---|
| 30 | #include <linux/string.h>
|
|---|
| 31 | #include <asm/ioctl.h>
|
|---|
| 32 | #include <asm/hardirq.h>
|
|---|
| 33 | #include <asm/processor.h>
|
|---|
| 34 | #include <asm/siginfo.h>
|
|---|
| 35 | #include <dbgos2.h>
|
|---|
| 36 | #include <limits.h>
|
|---|
| 37 | #include <sys/cdefs.h>
|
|---|
| 38 | #include <stdio.h>
|
|---|
| 39 | #include <linux/config.h>
|
|---|
| 40 | #include <linux/module.h>
|
|---|
| 41 | #include <linux/utsname.h>
|
|---|
| 42 | #include <linux/errno.h>
|
|---|
| 43 | #include <linux/kernel.h>
|
|---|
| 44 | #include <linux/sched.h>
|
|---|
| 45 | #include <linux/malloc.h>
|
|---|
| 46 | #include <linux/delay.h>
|
|---|
| 47 | #include <linux/ioport.h>
|
|---|
| 48 | #include <asm/io.h>
|
|---|
| 49 | #include <asm/irq.h>
|
|---|
| 50 | #include <asm/segment.h>
|
|---|
| 51 | #include <asm/uaccess.h>
|
|---|
| 52 | #include <asm/system.h>
|
|---|
| 53 | #include <asm/string.h>
|
|---|
| 54 | #include <linux/pci.h>
|
|---|
| 55 | #include <linux/interrupt.h>
|
|---|
| 56 | #include <linux/pagemap.h>
|
|---|
| 57 | #include <linux/fs.h>
|
|---|
| 58 | #include <linux/fcntl.h>
|
|---|
| 59 | #include <linux/vmalloc.h>
|
|---|
| 60 | #include <linux/poll.h>
|
|---|
| 61 | #include <linux/reboot.h>
|
|---|
| 62 | #include <linux/init.h>
|
|---|
| 63 | #include <linux/lockdep.h>
|
|---|
| 64 | #include <linux/smp_lock.h>
|
|---|
| 65 | #include <linux/dma-mapping.h>
|
|---|
| 66 | #include "compat_22.h"
|
|---|
| 67 |
|
|---|
| 68 | #include <sound/asound.h>
|
|---|
| 69 | #include <sound/asoundef.h>
|
|---|
| 70 |
|
|---|
| 71 | /*
|
|---|
| 72 | * ==========================================================================
|
|---|
| 73 | */
|
|---|
| 74 |
|
|---|
| 75 | #define ATTRIBUTE_UNUSED
|
|---|
| 76 | #define CONFIG_HAS_DMA
|
|---|
| 77 | #define CONFIG_HAVE_KZALLOC
|
|---|
| 78 | #define CONFIG_HAVE_KCALLOC
|
|---|
| 79 | #define CONFIG_HAVE_KSTRDUP
|
|---|
| 80 | #define CONFIG_HAVE_MSLEEP
|
|---|
| 81 | #define CONFIG_HAVE_PCI_DEV_PRESENT
|
|---|
| 82 | #define CONFIG_PCI
|
|---|
| 83 | #define CONFIG_PM
|
|---|
| 84 | #define CONFIG_PROC_FS
|
|---|
| 85 | #ifdef DEBUG
|
|---|
| 86 | #define CONFIG_SND_DEBUG_DETECT
|
|---|
| 87 | #define CONFIG_SND_DEBUG_VERBOSE
|
|---|
| 88 | #endif
|
|---|
| 89 | #define CONFIG_SND_DMA_SGBUF
|
|---|
| 90 | #define CONFIG_SND_HDA_CODEC_ANALOG
|
|---|
| 91 | #define CONFIG_SND_HDA_CODEC_ATIHDMI
|
|---|
| 92 | #define CONFIG_SND_HDA_CODEC_CONEXANT
|
|---|
| 93 | #define CONFIG_SND_HDA_CODEC_CMEDIA
|
|---|
| 94 | #define CONFIG_SND_HDA_CODEC_REALTEK
|
|---|
| 95 | #define CONFIG_SND_HDA_CODEC_SIGMATEL
|
|---|
| 96 | #define CONFIG_SND_HDA_CODEC_SI3054
|
|---|
| 97 | #define CONFIG_SND_HDA_CODEC_VIA
|
|---|
| 98 | #define CONFIG_SND_HDA_GENERIC
|
|---|
| 99 | #define CONFIG_SND_HDA_HWDEP
|
|---|
| 100 | #define CONFIG_SND_OSSEMUL
|
|---|
| 101 | #define CONFIG_SND_PCM_OSS
|
|---|
| 102 | #define CONFIG_SND_SEQUENCER
|
|---|
| 103 | #define CONFIG_SOUND
|
|---|
| 104 | #define CONFIG_SYSFS_DEPRECATED
|
|---|
| 105 | #define PCI_NEW_SUSPEND
|
|---|
| 106 | #define SNDRV_LITTLE_ENDIAN
|
|---|
| 107 |
|
|---|
| 108 |
|
|---|
| 109 | /* Still need to work out where the following really belong */
|
|---|
| 110 | #undef interrupt
|
|---|
| 111 | #define __builtin_return_address(a) 0
|
|---|
| 112 | #define __builtin_expect(x, expected_value) (x)
|
|---|
| 113 | #define BUG_ON(x) /* nothing */
|
|---|
| 114 | #define assert(a)
|
|---|
| 115 |
|
|---|
| 116 | #endif //__ALSA_CONFIG_H__
|
|---|
| 117 |
|
|---|