Changeset 679 for GPL/trunk/alsa-kernel/include/sound/mpu401.h
- Timestamp:
- Mar 18, 2021, 8:57:36 PM (4 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-linux-3.2.102 (added) merged: 611-614 /GPL/branches/uniaud32-next (added) merged: 615-678
- Property svn:mergeinfo changed
-
GPL/trunk/alsa-kernel/include/sound/mpu401.h
r399 r679 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 1 2 #ifndef __SOUND_MPU401_H 2 3 #define __SOUND_MPU401_H … … 5 6 * Header file for MPU-401 and compatible cards 6 7 * Copyright (c) by Jaroslav Kysela <perex@perex.cz> 7 *8 *9 * This program is free software; you can redistribute it and/or modify10 * it under the terms of the GNU General Public License as published by11 * the Free Software Foundation; either version 2 of the License, or12 * (at your option) any later version.13 *14 * This program is distributed in the hope that it will be useful,15 * but WITHOUT ANY WARRANTY; without even the implied warranty of16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the17 * GNU General Public License for more details.18 *19 * You should have received a copy of the GNU General Public License20 * along with this program; if not, write to the Free Software21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA22 *23 8 */ 24 9 25 #include "rawmidi.h"10 #include <sound/rawmidi.h> 26 11 #include <linux/interrupt.h> 27 12 … … 51 36 #define MPU401_INFO_MMIO (1 << 3) /* MMIO access */ 52 37 #define MPU401_INFO_TX_IRQ (1 << 4) /* independent TX irq */ 38 #define MPU401_INFO_IRQ_HOOK (1 << 5) /* mpu401 irq handler is called 39 from driver irq handler */ 53 40 #define MPU401_INFO_NO_ACK (1 << 6) /* No ACK cmd needed */ 41 #define MPU401_INFO_USE_TIMER (1 << 15) /* internal */ 54 42 55 43 #define MPU401_MODE_BIT_INPUT 0 … … 74 62 unsigned long cport; /* port + 1 (usually) */ 75 63 struct resource *res; /* port resource */ 76 int irq; /* IRQ number of MPU-401 chip (-1 = poll) */ 77 int irq_flags; 64 int irq; /* IRQ number of MPU-401 chip */ 78 65 79 66 unsigned long mode; /* MPU401_MODE_XXXX */ … … 132 119 unsigned int info_flags, 133 120 int irq, 134 int irq_flags,135 121 struct snd_rawmidi ** rrawmidi); 136 122
Note:
See TracChangeset
for help on using the changeset viewer.