Changeset 324

Show
Ignore:
Timestamp:
03/25/08 04:46:42 (8 months ago)
Author:
psmedley
Message:

Tidy ups + bump version number

Location:
GPL/branches/uniaud32-2.0
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-2.0/alsa-kernel/core/memalloc.c

    r305 r324  
    8989#ifdef CONFIG_SND_DEBUG 
    9090#define __ASTRING__(x) #x 
     91#ifndef TARGET_OS2 
    9192#define snd_assert(expr, args...) do {\ 
    9293        if (!(expr)) {\ 
     
    9697} while (0) 
    9798#else 
    98 #ifndef TARGET_OS2 
    99 #define snd_assert(expr, args...) /**/ 
    100 #else 
    10199#define snd_assert(expr, retval) \ 
    102100        if (!(expr)) {\ 
     
    104102                ##retval;\ 
    105103        } 
     104#endif 
     105#else 
     106#ifndef TARGET_OS2 
     107#define snd_assert(expr, args...) /**/ 
     108#else 
     109#define snd_assert(expr, retval) (void)(expr) 
    106110#endif 
    107111#endif 
  • GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/core.h

    r317 r324  
    415415 * not checked. 
    416416 */ 
     417#ifndef TARGET_OS2 
    417418#define snd_assert(expr, args...) do {                                  \ 
    418419        if (unlikely(!(expr))) {                                        \ 
     
    422423        }                                                               \ 
    423424} while (0) 
    424  
    425 #define snd_BUG() do {                          \ 
    426         snd_printk(KERN_ERR "BUG?\n");          \ 
    427         dump_stack();                           \ 
    428 } while (0) 
    429  
    430 #else /* !CONFIG_SND_DEBUG */ 
    431  
    432 #ifndef TARGET_OS2 
    433 #define snd_printd(fmt, args...)        /* nothing */ 
    434 #define snd_assert(expr, args...)       (void)(expr) 
    435 #else 
    436 #define snd_printd snd_printk 
     425#else 
    437426#define snd_assert(expr, retval) \ 
    438427        if (!(expr)) {\ 
     
    440429                ##retval;\ 
    441430        } 
     431#endif 
     432#define snd_BUG() do {                          \ 
     433        snd_printk(KERN_ERR "BUG?\n");          \ 
     434        dump_stack();                           \ 
     435} while (0) 
     436 
     437#else /* !CONFIG_SND_DEBUG */ 
     438 
     439#ifndef TARGET_OS2 
     440#define snd_printd(fmt, args...)        /* nothing */ 
     441#define snd_assert(expr, args...)       (void)(expr) 
     442#else 
     443#define snd_printd snd_printk 
     444#define snd_assert(expr, retval)        (void)(expr) 
    442445#endif 
    443446#define snd_BUG()                       /* nothing */ 
  • GPL/branches/uniaud32-2.0/include/version.h

    r316 r324  
    1414#define VENDOR_NAME             "Netlabs" 
    1515#define PRODUCT_TIMESTAMP       20080325L       // YYYYMMDD 
    16 #define UNIAUD_VERSION          "1.9.0-" 
     16#define UNIAUD_VERSION          "1.9.1" 
    1717#define ALSA_VERSION            "1.0.16" 
    1818  
    1919  
    20 #define RM_VERSION              190 
     20#define RM_VERSION              191 
    2121#define RM_DRIVER_NAME          "UNIAUD32.SYS" 
    2222#define RM_DRIVER_DESCRIPTION   "OS/2 Universal Audio 32 Driver" 
  • GPL/branches/uniaud32-2.0/lib32/sound.c

    r320 r324  
    10611061    ret = pHandle->file.f_op->ioctl(&pHandle->inode, &pHandle->file, SNDRV_PCM_IOCTL_STATUS, (ULONG)__Stack32ToFlat(&status)); 
    10621062    if ( ((status.state != SNDRV_PCM_STATE_PREPARED) && 
     1063          (status.state != SNDRV_PCM_STATE_SETUP) && 
    10631064          (status.state != SNDRV_PCM_STATE_RUNNING) && 
    10641065          (status.state != SNDRV_PCM_STATE_DRAINING))) { 
  • GPL/branches/uniaud32-2.0/uniaud.inc

    r308 r324  
    77# BUILDVERSION must be 3 parts, and only numbers like 5.44.108 
    88# It is best that 2'nd number is always 2 digits, eg at least 10 
    9 BUILDVERSION = 1.9.0 
     9BUILDVERSION = 1.9.1 
    1010 
    1111# Fixpack version