/[openvortex]/alsa/alsa-kernel/include/ymfpci.h
ViewVC logotype

Diff of /alsa/alsa-kernel/include/ymfpci.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by vizard, Sat May 31 02:35:10 2003 UTC revision 1.3 by vizard, Mon Aug 11 00:06:39 2003 UTC
# Line 25  Line 25 
25  #include "pcm.h"  #include "pcm.h"
26  #include "rawmidi.h"  #include "rawmidi.h"
27  #include "ac97_codec.h"  #include "ac97_codec.h"
28    #include <linux/gameport.h>
29    
30  #ifndef PCI_VENDOR_ID_YAMAHA  #ifndef PCI_VENDOR_ID_YAMAHA
31  #define PCI_VENDOR_ID_YAMAHA            0x1073  #define PCI_VENDOR_ID_YAMAHA            0x1073
# Line 309  struct _snd_ymfpci { Line 310  struct _snd_ymfpci {
310          struct resource *mpu_res;          struct resource *mpu_res;
311    
312          unsigned short old_legacy_ctrl;          unsigned short old_legacy_ctrl;
313    #if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)
314          unsigned int joystick_port;          unsigned int joystick_port;
315            struct semaphore joystick_mutex;
316            struct resource *joystick_res;
317            struct gameport gameport;
318    #endif
319    
320          void *work_ptr;          void *work_ptr;
321          dma_addr_t work_ptr_addr;          dma_addr_t work_ptr_addr;
# Line 383  int snd_ymfpci_pcm2(ymfpci_t *chip, int Line 389  int snd_ymfpci_pcm2(ymfpci_t *chip, int
389  int snd_ymfpci_pcm_spdif(ymfpci_t *chip, int device, snd_pcm_t **rpcm);  int snd_ymfpci_pcm_spdif(ymfpci_t *chip, int device, snd_pcm_t **rpcm);
390  int snd_ymfpci_pcm_4ch(ymfpci_t *chip, int device, snd_pcm_t **rpcm);  int snd_ymfpci_pcm_4ch(ymfpci_t *chip, int device, snd_pcm_t **rpcm);
391  int snd_ymfpci_mixer(ymfpci_t *chip, int rear_switch);  int snd_ymfpci_mixer(ymfpci_t *chip, int rear_switch);
392    #if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)
393  int snd_ymfpci_joystick(ymfpci_t *chip);  int snd_ymfpci_joystick(ymfpci_t *chip);
394    #endif
395    
396  int snd_ymfpci_voice_alloc(ymfpci_t *chip, ymfpci_voice_type_t type, int pair, ymfpci_voice_t **rvoice);  int snd_ymfpci_voice_alloc(ymfpci_t *chip, ymfpci_voice_type_t type, int pair, ymfpci_voice_t **rvoice);
397  int snd_ymfpci_voice_free(ymfpci_t *chip, ymfpci_voice_t *pvoice);  int snd_ymfpci_voice_free(ymfpci_t *chip, ymfpci_voice_t *pvoice);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26