Changeset 92 for GPL/branches/alsa-resync1/alsa-kernel/include
- Timestamp:
- May 2, 2007, 9:13:43 AM (19 years ago)
- Location:
- GPL/branches/alsa-resync1/alsa-kernel/include/sound
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/alsa-resync1/alsa-kernel/include/sound/driver.h
r86 r92 106 106 #include <linux/kernel.h> 107 107 #include <linux/sched.h> 108 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 7) 108 109 #include <linux/malloc.h> 110 #else 111 #include <linux/slab.h> 112 #endif 109 113 #include <linux/delay.h> 114 #include <linux/bitops.h> 110 115 111 116 #include <linux/ioport.h> … … 136 141 #endif 137 142 #include "compat_22.h" 138 #endif 143 #endif /* LINUX_2_2 */ 144 139 145 #ifdef LINUX_2_3 140 146 #include <linux/init.h> … … 166 172 #define pci_alloc_consistent snd_pci_hack_alloc_consistent 167 173 #endif /* i386 or ppc */ 174 #ifndef list_for_each_safe 175 #define list_for_each_safe(pos, n, head) \ 176 for (pos = (head)->next, n = pos->next; pos != (head); pos = n, n = pos->next) 177 #endif 168 178 #endif 169 179 … … 180 190 #endif 181 191 192 #ifndef MODULE_LICENSE 193 #define MODULE_LICENSE(license) 182 194 #ifndef PCI_D0 183 195 #define PCI_D0 0 … … 227 239 #define schedule_work(w) snd_compat_schedule_work(w) 228 240 229 /* Name change*/241 /* Typedef's */ 230 242 typedef struct timeval snd_timestamp_t; 231 243 #ifndef TARGET_OS2 -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/initval.h
r32 r92 1 #ifndef __ INITVAL_H2 #define __ INITVAL_H1 #ifndef __SOUND_INITVAL_H 2 #define __SOUND_INITVAL_H 3 3 4 4 /* … … 18 18 * You should have received a copy of the GNU General Public License 19 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 21 * 22 22 */ … … 73 73 #define SNDRV_DEFAULT_ENABLE { 1,1,1,1,1,1,1,1 } 74 74 #define SNDRV_DEFAULT_ENABLE_PNP SNDRV_DEFAULT_ENABLE 75 #define SNDRV_DEFAULT_ENABLE_ISAPNP SNDRV_DEFAULT_ENABLE_PNP 75 76 #define SNDRV_DEFAULT_PORT { REPEAT_SNDRV(-1) } 76 77 #define SNDRV_DEFAULT_IRQ { REPEAT_SNDRV(SNDRV_AUTO_IRQ) } … … 85 86 #define SNDRV_DEFAULT_STR { [0 ... (SNDRV_CARDS-1)] = NULL } 86 87 #define SNDRV_DEFAULT_ENABLE { 1, [1 ... (SNDRV_CARDS-1)] = 0 } 88 #define SNDRV_DEFAULT_ENABLE_PNP { [0 ... (SNDRV_CARDS-1)] = 1 } 89 #ifdef __ISAPNP__ 90 #define SNDRV_DEFAULT_ENABLE_ISAPNP SNDRV_DEFAULT_ENABLE_PNP 91 #else 92 #define SNDRV_DEFAULT_ENABLE_ISAPNP SNDRV_DEFAULT_ENABLE 93 #endif 87 94 #define SNDRV_DEFAULT_PORT { SNDRV_AUTO_PORT, [1 ... (SNDRV_CARDS-1)] = -1 } 88 95 #define SNDRV_DEFAULT_IRQ { [0 ... (SNDRV_CARDS-1)] = SNDRV_AUTO_IRQ } … … 196 203 #endif 197 204 198 #endif /* __INITVAL_H */205 #endif /* __SOUND_INITVAL_H */ -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/pcm_params.h
r32 r92 1 #ifndef __ PCM_PARAMS_H2 #define __ PCM_PARAMS_H1 #ifndef __SOUND_PCM_PARAMS_H 2 #define __SOUND_PCM_PARAMS_H 3 3 4 4 /* … … 19 19 * You should have received a copy of the GNU General Public License 20 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 22 * 23 23 */ … … 363 363 #undef assert 364 364 365 #endif 365 #endif /* __SOUND_PCM_PARAMS_H */ 366 -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/version.h
r32 r92 2 2 * Configuration header file for compilation of the ALSA driver 3 3 */ 4 #define CONFIG_SND_DATE "04-29-2007" 4 5 5 6 #ifndef __ALSA_VERSION_H__
Note:
See TracChangeset
for help on using the changeset viewer.
