Update of /cvsroot/alsa/alsa-kernel/include
In directory sc8-pr-cvs1:/tmp/cvs-serv10067/include

Modified Files:
        sb.h ymfpci.h 
Log Message:
- removed joystick control from the card control API.
  added joystick (or joystick_port) module option instead.
- updated documents for this joystick fix.
- moved resource management for ALS4000 from sb-common header
  to the als4000 local code.


Index: sb.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/include/sb.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sb.h        16 May 2003 08:40:01 -0000      1.12
+++ sb.h        14 Oct 2003 13:59:19 -0000      1.13
@@ -63,8 +63,6 @@
 struct _snd_sb {
        unsigned long port;             /* base port of DSP chip */
        struct resource *res_port;
-       unsigned long alt_port;         /* alternate port (ALS4000) */
-       struct resource *res_alt_port;
        unsigned long mpu_port;         /* MPU port for SB DSP 4.0+ */
        int irq;                        /* IRQ number of DSP chip */
        int dma8;                       /* 8-bit DMA */
@@ -72,6 +70,7 @@
        unsigned short version;         /* version of DSP chip */
        enum sb_hw_type hardware;       /* see to SB_HW_XXXX */
 
+       unsigned long alt_port;         /* alternate port (ALS4000) */
        struct pci_dev *pci;            /* ALS4000 */
 
        unsigned int open;              /* see to SB_OPEN_XXXX for sb8 */

Index: ymfpci.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/include/ymfpci.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ymfpci.h    7 Oct 2003 10:03:23 -0000       1.11
+++ ymfpci.h    14 Oct 2003 13:59:20 -0000      1.12
@@ -312,8 +312,6 @@
 
        unsigned short old_legacy_ctrl;
 #if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)
-       unsigned int joystick_port;
-       struct semaphore joystick_mutex;
        struct resource *joystick_res;
        struct gameport gameport;
 #endif
@@ -392,9 +390,6 @@
 int snd_ymfpci_pcm_4ch(ymfpci_t *chip, int device, snd_pcm_t **rpcm);
 int snd_ymfpci_mixer(ymfpci_t *chip, int rear_switch);
 int snd_ymfpci_timer(ymfpci_t *chip, int device);
-#if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)
-int snd_ymfpci_joystick(ymfpci_t *chip);
-#endif
 
 int snd_ymfpci_voice_alloc(ymfpci_t *chip, ymfpci_voice_type_t type, int pair, 
ymfpci_voice_t **rvoice);
 int snd_ymfpci_voice_free(ymfpci_t *chip, ymfpci_voice_t *pvoice);
@@ -402,6 +397,10 @@
 #ifdef CONFIG_PM
 void snd_ymfpci_suspend(ymfpci_t *chip);
 void snd_ymfpci_resume(ymfpci_t *chip);
+#endif
+
+#if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))
+#define SUPPORT_JOYSTICK
 #endif
 
 #endif /* __SOUND_YMFPCI_H */



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to