Ignore:
Timestamp:
Mar 18, 2021, 8:57:36 PM (4 years ago)
Author:
David Azarewicz
Message:

Merge changes from Paul's uniaud32next branch.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/include/sound/mpu401.h

    r399 r679  
     1/* SPDX-License-Identifier: GPL-2.0-or-later */
    12#ifndef __SOUND_MPU401_H
    23#define __SOUND_MPU401_H
     
    56 *  Header file for MPU-401 and compatible cards
    67 *  Copyright (c) by Jaroslav Kysela <perex@perex.cz>
    7  *
    8  *
    9  *   This program is free software; you can redistribute it and/or modify
    10  *   it under the terms of the GNU General Public License as published by
    11  *   the Free Software Foundation; either version 2 of the License, or
    12  *   (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 of
    16  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    17  *   GNU General Public License for more details.
    18  *
    19  *   You should have received a copy of the GNU General Public License
    20  *   along with this program; if not, write to the Free Software
    21  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
    22  *
    238 */
    249
    25 #include "rawmidi.h"
     10#include <sound/rawmidi.h>
    2611#include <linux/interrupt.h>
    2712
     
    5136#define MPU401_INFO_MMIO        (1 << 3)        /* MMIO access */
    5237#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 */
    5340#define MPU401_INFO_NO_ACK      (1 << 6)        /* No ACK cmd needed */
     41#define MPU401_INFO_USE_TIMER   (1 << 15)       /* internal */
    5442
    5543#define MPU401_MODE_BIT_INPUT           0
     
    7462        unsigned long cport;            /* port + 1 (usually) */
    7563        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 */
    7865
    7966        unsigned long mode;             /* MPU401_MODE_XXXX */
     
    132119                        unsigned int info_flags,
    133120                        int irq,
    134                         int irq_flags,
    135121                        struct snd_rawmidi ** rrawmidi);
    136122
Note: See TracChangeset for help on using the changeset viewer.