X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fsound%2Ftrident.h;h=255a5cbe6016cd77bc28f3281014d0fec5f9379c;hb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;hp=d0e100f5e15383bc0c01a6a671f526040ccf4003;hpb=c449269f45c2cdf53af08c8d0af37472f66539d9;p=linux-2.6.git diff --git a/include/sound/trident.h b/include/sound/trident.h index d0e100f5e..255a5cbe6 100644 --- a/include/sound/trident.h +++ b/include/sound/trident.h @@ -54,13 +54,6 @@ #define TRIDENT_DEVICE_ID_NX ((PCI_VENDOR_ID_TRIDENT<<16)|PCI_DEVICE_ID_TRIDENT_4DWAVE_NX) #define TRIDENT_DEVICE_ID_SI7018 ((PCI_VENDOR_ID_SI<<16)|PCI_DEVICE_ID_SI_7018) -/* Trident chipsets have 1GB memory limit */ -#ifdef __alpha__ -#define TRIDENT_DMA_TYPE SNDRV_DMA_TYPE_PCI_16MB -#else -#define TRIDENT_DMA_TYPE SNDRV_DMA_TYPE_PCI -#endif - #define SNDRV_SEQ_DEV_ID_TRIDENT "trident-synth" #define SNDRV_TRIDENT_VOICE_TYPE_PCM 0 @@ -486,12 +479,6 @@ int snd_trident_free_pages(trident_t *trident, snd_util_memblk_t *blk); snd_util_memblk_t *snd_trident_synth_alloc(trident_t *trident, unsigned int size); int snd_trident_synth_free(trident_t *trident, snd_util_memblk_t *blk); int snd_trident_synth_bzero(trident_t *trident, snd_util_memblk_t *blk, int offset, int size); -int snd_trident_synth_copy_from_user(trident_t *trident, snd_util_memblk_t *blk, int offset, const char *data, int size); - -/* Power Management */ -#ifdef CONFIG_PM -void snd_trident_suspend(trident_t *trident); -void snd_trident_resume(trident_t *trident); -#endif +int snd_trident_synth_copy_from_user(trident_t *trident, snd_util_memblk_t *blk, int offset, const char __user *data, int size); #endif /* __SOUND_TRIDENT_H */