Changeset 130
- Timestamp:
- Jun 12, 2007, 11:32:16 PM (18 years ago)
- Location:
- GPL/trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/core/seq/seq_timer.c
r34 r130 55 55 tick->resolution += s; 56 56 } 57 if (tick->resolution <= 0)57 if (tick->resolution == 0) 58 58 tick->resolution = 1; 59 59 snd_seq_timer_update_tick(tick, 0); -
GPL/trunk/alsa-kernel/include/sound/emu10k1.h
r84 r130 1520 1520 int snd_emu10k1_fx8010_new(struct snd_emu10k1 *emu, int device, struct snd_hwdep ** rhwdep); 1521 1521 1522 irqreturn_t snd_emu10k1_interrupt(int irq, void *dev_id );1522 irqreturn_t snd_emu10k1_interrupt(int irq, void *dev_id, struct pt_regs *); 1523 1523 1524 1524 void snd_emu10k1_voice_init(struct snd_emu10k1 * emu, int voice); -
GPL/trunk/alsa-kernel/pci/ac97/ac97_codec.c
r86 r130 1931 1931 } 1932 1932 1933 #if 0 // fixme to be gone? 1933 1934 /* stop no dev release warning */ 1934 1935 static void ac97_device_release(struct device * dev) 1935 1936 { 1936 1937 } 1938 #endif // fixme to be gone? 1937 1939 1938 1940 /* register ac97 codec to bus */ 1939 1941 static int snd_ac97_dev_register(struct snd_device *device) 1940 1942 { 1941 #if 0 1943 #if 0 // fixme to be gone? 1942 1944 struct snd_ac97 *ac97 = device->device_data; 1943 1945 int err; … … 1954 1956 return err; 1955 1957 } 1956 #endif 1958 #endif // fixme to be gone? 1957 1959 return 0; 1958 1960 } -
GPL/trunk/alsa-kernel/pci/ac97/ac97_patch.c
r86 r130 2081 2081 unsigned short val; 2082 2082 2083 if (ucontrol->value.enumerated.item[0] > 3 2084 || ucontrol->value.enumerated.item[0] < 0) 2083 // if (ucontrol->value.enumerated.item[0] > 3 // 12 Jun 07 SHL 2084 // || ucontrol->value.enumerated.item[0] < 0) // 12 Jun 07 SHL 2085 if (ucontrol->value.enumerated.item[0] > 3) 2085 2086 return -EINVAL; 2086 2087 val = ctrl2reg[ucontrol->value.enumerated.item[0]] -
GPL/trunk/alsa-kernel/pci/emu10k1/emu10k1x.c
r84 r130 780 780 } 781 781 782 static irqreturn_t snd_emu10k1x_interrupt(int irq, void *dev_id )782 static irqreturn_t snd_emu10k1x_interrupt(int irq, void *dev_id, struct pt_regs *unused) 783 783 { 784 784 unsigned int status; -
GPL/trunk/alsa-kernel/pci/emu10k1/emuproc.c
r34 r130 176 176 177 177 struct snd_emu10k1 *emu = entry->private_data; 178 unsigned int val ;178 unsigned int val = 0; // 11 Jun 07 SHL fixme to know why not used 179 179 int nefx = emu->audigy ? 64 : 32; 180 180 char **outputs = emu->audigy ? audigy_outs : creative_outs; -
GPL/trunk/alsa-kernel/pci/emu10k1/irq.c
r84 r130 32 32 #include <sound/emu10k1.h> 33 33 34 irqreturn_t snd_emu10k1_interrupt(int irq, void *dev_id )34 irqreturn_t snd_emu10k1_interrupt(int irq, void *dev_id, struct pt_regs *notused) 35 35 { 36 36 struct snd_emu10k1 *emu = dev_id; -
GPL/trunk/alsa-kernel/pci/hda/hda_intel.c
r86 r130 398 398 * Compiler should optimize and eliminate the code if dma_addr_t is 32bit 399 399 */ 400 #define upper_32bit(addr) (sizeof(addr) > 4 ? (u32)(( addr) >> 32) : (u32)0)400 #define upper_32bit(addr) (sizeof(addr) > 4 ? (u32)(((unsigned long long)addr) >> 32) : (u32)0) 401 401 402 402 static int azx_acquire_irq(struct azx *chip, int do_disconnect); -
GPL/trunk/include/dbgos2.h
r32 r130 42 42 #define dprintf3(a) if(DebugLevel > 2) DPE a 43 43 #define DebugInt3() ; //_asm int 3; 44 #else 44 #else // #ifndef DEBUG 45 45 #define dprintf(a) 46 46 #define dprintf2(a) 47 47 #define dprintf3(a) 48 48 #define DebugInt3() ; 49 #endif 49 #endif // if DEBUG 50 50 51 51 #endif //__COMMDBG_H__ -
GPL/trunk/include/linux/sched.h
r128 r130 44 44 void schedule(void); 45 45 46 // 12 Jun 07 SHL Drop superfluous near 46 47 extern int request_irq(unsigned int, 47 int ( near*handler)(int, void *, struct pt_regs *),48 int (*handler)(int, void *, struct pt_regs *), 48 49 unsigned long, const char *, void *); 49 50 extern void free_irq(unsigned int, void *); -
GPL/trunk/include/ossidc32.h
r127 r130 32 32 #endif 33 33 34 //16 bits pdd calls this during init. OSS_InitDriver calls init_module 35 int MyDevBlock(ULONG id, ULONG tout, char flag); 36 34 37 //32 bits IDC procedures 35 //16 bits pdd calls this during init. OSS_InitDriver calls init_module36 extern int MyDevBlock(ULONG id, ULONG tout, char flag);37 38 OSSRET OSS32_Initialize(); 38 39 OSSRET OSS32_Shutdown(); 40 41 int OSS32_CloseUNI16(void); // 12 Jun 07 SHL 42 39 43 OSSRET OSS32_QueryDevCaps(ULONG deviceid, POSS32_DEVCAPS pDevCaps); 40 44 OSSRET OSS32_QueryNames(ULONG deviceid, char *pszDeviceName, ULONG cbDeviceName, -
GPL/trunk/lib32/sound.c
r86 r130 57 57 58 58 //OSS32 to ALSA datatype conversion table 59 static OSSToALSADataType[OSS32_PCM_MAX_FORMATS] = {59 static int OSSToALSADataType[OSS32_PCM_MAX_FORMATS] = { 60 60 /* OSS32_PCM_FORMAT_S8 */ SNDRV_PCM_FORMAT_S8, //signed 8 bits sample 61 61 /* OSS32_PCM_FORMAT_U8 */ SNDRV_PCM_FORMAT_U8, //unsigned 8 bits sample … … 592 592 //****************************************************************************** 593 593 //****************************************************************************** 594 594 595 OSSRET OSS32_WaveClose(OSSSTREAMID streamid) 595 596 {
Note:
See TracChangeset
for help on using the changeset viewer.