Ignore:
Timestamp:
May 2, 2007, 9:13:43 AM (19 years ago)
Author:
Brendan Oakley
Message:

Merged 0.9.0beta6 to 0.9.0beta12. Fixed a few compilation errors.
Left include/sound/driver.h at beta9 until I figure out why it contains
so many modifications to sections that were removed in beta10.
Does not yet build. Needs more fixing.
Added a few new files that were in the copy Paul gave me to work from.

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  
    106106#include <linux/kernel.h>
    107107#include <linux/sched.h>
     108#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 7)
    108109#include <linux/malloc.h>
     110#else
     111#include <linux/slab.h>
     112#endif
    109113#include <linux/delay.h>
     114#include <linux/bitops.h>
    110115
    111116#include <linux/ioport.h>
     
    136141#endif
    137142#include "compat_22.h"
    138 #endif
     143#endif /* LINUX_2_2 */
     144
    139145#ifdef LINUX_2_3
    140146#include <linux/init.h>
     
    166172#define pci_alloc_consistent snd_pci_hack_alloc_consistent
    167173#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
    168178#endif
    169179
     
    180190#endif
    181191
     192#ifndef MODULE_LICENSE
     193#define MODULE_LICENSE(license)
    182194#ifndef PCI_D0
    183195#define PCI_D0     0
     
    227239#define schedule_work(w) snd_compat_schedule_work(w)
    228240
    229 /* Name change */
     241/* Typedef's */
    230242typedef struct timeval snd_timestamp_t;
    231243#ifndef TARGET_OS2
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/initval.h

    r32 r92  
    1 #ifndef __INITVAL_H
    2 #define __INITVAL_H
     1#ifndef __SOUND_INITVAL_H
     2#define __SOUND_INITVAL_H
    33
    44/*
     
    1818 *   You should have received a copy of the GNU General Public License
    1919 *   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
    2121 *
    2222 */
     
    7373#define SNDRV_DEFAULT_ENABLE    { 1,1,1,1,1,1,1,1 }
    7474#define SNDRV_DEFAULT_ENABLE_PNP        SNDRV_DEFAULT_ENABLE
     75#define SNDRV_DEFAULT_ENABLE_ISAPNP SNDRV_DEFAULT_ENABLE_PNP
    7576#define SNDRV_DEFAULT_PORT      { REPEAT_SNDRV(-1) }
    7677#define SNDRV_DEFAULT_IRQ       { REPEAT_SNDRV(SNDRV_AUTO_IRQ) }
     
    8586#define SNDRV_DEFAULT_STR       { [0 ... (SNDRV_CARDS-1)] = NULL }
    8687#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
    8794#define SNDRV_DEFAULT_PORT      { SNDRV_AUTO_PORT, [1 ... (SNDRV_CARDS-1)] = -1 }
    8895#define SNDRV_DEFAULT_IRQ       { [0 ... (SNDRV_CARDS-1)] = SNDRV_AUTO_IRQ }
     
    196203#endif
    197204
    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_H
    2 #define __PCM_PARAMS_H
     1#ifndef __SOUND_PCM_PARAMS_H
     2#define __SOUND_PCM_PARAMS_H
    33
    44/*
     
    1919 *   You should have received a copy of the GNU General Public License
    2020 *   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
    2222 *
    2323 */
     
    363363#undef assert
    364364
    365 #endif
     365#endif /* __SOUND_PCM_PARAMS_H */
     366
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/version.h

    r32 r92  
    22 *  Configuration header file for compilation of the ALSA driver
    33 */
     4#define CONFIG_SND_DATE "04-29-2007"
    45
    56#ifndef __ALSA_VERSION_H__
Note: See TracChangeset for help on using the changeset viewer.