Changeset 598 for GPL/trunk/alsa-kernel/drivers/serial-u16550.c
- Timestamp:
- Apr 3, 2017, 4:51:56 PM (8 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
-
Property svn:mergeinfo
set to
/GPL/branches/uniaud32-2.1.x merged eligible
-
Property svn:mergeinfo
set to
-
GPL/trunk/alsa-kernel/drivers/serial-u16550.c
r587 r598 37 37 #include <linux/slab.h> 38 38 #include <linux/ioport.h> 39 #include <linux/module .h>39 #include <linux/moduleparam.h> 40 40 #include <sound/core.h> 41 41 #include <sound/rawmidi.h> … … 70 70 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 71 71 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ 72 static boolenable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */72 static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */ 73 73 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x3f8,0x2f8,0x3e8,0x2e8 */ 74 74 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 3,4,5,7,9,10,11,14,15 */ … … 78 78 static int ins[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; /* 1 to 16 */ 79 79 static int adaptor[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = SNDRV_SERIAL_SOUNDCANVAS}; 80 static booldroponfull[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS -1)] = SNDRV_SERIAL_NORMALBUFF };80 static int droponfull[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS -1)] = SNDRV_SERIAL_NORMALBUFF }; 81 81 82 82 module_param_array(index, int, NULL, 0444); … … 817 817 if (irq >= 0 && irq != SNDRV_AUTO_IRQ) { 818 818 if (request_irq(irq, snd_uart16550_interrupt, 819 0, "Serial MIDI", uart)) {819 IRQF_DISABLED, "Serial MIDI", uart)) { 820 820 snd_printk(KERN_WARNING 821 821 "irq %d busy. Using Polling.\n", irq);
Note:
See TracChangeset
for help on using the changeset viewer.