Ignore:
Timestamp:
Aug 27, 2007, 7:41:50 PM (18 years ago)
Author:
Brendan Oakley
Message:

Merged to ALSA 0.9.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/alsa-resync1/alsa-kernel/pci/cs4281.c

    r212 r250  
    2727#include <linux/pci.h>
    2828#include <linux/slab.h>
     29#ifndef TARGET_OS2 //TODO: Implement linux/gameport.h
     30#include <linux/gameport.h>
     31#endif /* TARGET_OS2 */
    2932#include <sound/core.h>
    3033#include <sound/control.h>
     
    3639#include <sound/initval.h>
    3740
    38 #ifndef LINUX_2_2
    39 #include <linux/gameport.h>
    40 #endif
    4141
    4242MODULE_AUTHOR("Jaroslav Kysela <perex@suse.cz>");
     
    12471247 */
    12481248
    1249 #ifndef LINUX_2_2
     1249#if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))
    12501250
    12511251typedef struct snd_cs4281_gameport {
     
    13421342static int snd_cs4281_free(cs4281_t *chip)
    13431343{
    1344 #ifndef LINUX_2_2
     1344#if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))
    13451345    if (chip->gameport) {
    13461346        gameport_unregister_port(&chip->gameport->info);
     
    17301730    chip->uartm |= CS4281_MODE_OUTPUT;
    17311731    chip->midcr |= BA0_MIDCR_TXE;
    1732     chip->midi_input = substream;
     1732        chip->midi_output = substream;
    17331733    if (!(chip->uartm & CS4281_MODE_INPUT)) {
    17341734        snd_cs4281_midi_reset(chip);
     
    19131913    /* EOI to the PCI part... reenables interrupts */
    19141914    snd_cs4281_pokeBA0(chip, BA0_HICR, BA0_HICR_EOI);
     1915
    19151916    return IRQ_HANDLED;
    19161917
     
    19911992        return err;
    19921993    }
    1993 #ifndef LINUX_2_2
     1994#ifndef TARGET_OS2
    19941995    snd_cs4281_gameport(chip);
    1995 #endif
     1996#endif /* !TARGET_OS2 */
    19961997    strcpy(card->driver, "CS4281");
    19971998    strcpy(card->shortname, "Cirrus Logic CS4281");
Note: See TracChangeset for help on using the changeset viewer.