Ignore:
Timestamp:
Jan 23, 2007, 10:34:32 PM (19 years ago)
Author:
vladest
Message:

Added missed files
Applied latest modifications of ALSA
Reworked sharing strategy between MMOS2 and UNIAUD API

Location:
GPL/trunk/alsa-kernel/include/sound
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/include/sound/ac97_codec.h

    r77 r86  
    3232#include "info.h"
    3333
    34 #define CONFIG_SND_AC97_POWER_SAVE /* experimental !!! */
    3534/*
    3635 *  AC'97 codec registers
     
    376375#define AC97_SCAP_NO_SPDIF      (1<<9)  /* don't build SPDIF controls */
    377376#define AC97_SCAP_EAPD_LED      (1<<10) /* EAPD as mute LED */
     377#define AC97_SCAP_POWER_SAVE    (1<<11) /* capable for aggresive power-saving */
    378378
    379379/* ac97->flags */
     
    425425
    426426struct snd_ac97_bus_ops {
    427         void (*reset) (struct snd_ac97 *ac97);
     427    void (*reset) (struct snd_ac97 *ac97);
     428    void (*warm_reset)(struct snd_ac97 *ac97);
    428429        void (*write) (struct snd_ac97 *ac97, unsigned short reg, unsigned short val);
    429430        unsigned short (*read) (struct snd_ac97 *ac97, unsigned short reg);
     
    501502                        unsigned short id[3];           // codec IDs (lower 16-bit word)
    502503                        unsigned short pcmreg[3];       // PCM registers
    503                         unsigned short codec_cfg[3];    // CODEC_CFG bits
     504                        unsigned short codec_cfg[3];    // CODEC_CFG bits
     505                        unsigned char swap_mic_linein;  // AD1986/AD1986A only
    504506                } ad18xx;
    505507                unsigned int dev_flags;         /* device specific */
  • GPL/trunk/alsa-kernel/include/sound/config.h

    r34 r86  
    204204};
    205205
     206/* PCI quirk list helper */
     207struct snd_pci_quirk {
     208        unsigned short subvendor;       /* PCI subvendor ID */
     209        unsigned short subdevice;       /* PCI subdevice ID */
     210        int value;                      /* value */
     211#ifdef CONFIG_SND_DEBUG_DETECT
     212        const char *name;               /* name of the device (optional) */
     213#endif
     214};
     215
     216#define _SND_PCI_QUIRK_ID(vend,dev) \
     217        .subvendor = (vend), .subdevice = (dev)
     218#define SND_PCI_QUIRK_ID(vend,dev) {_SND_PCI_QUIRK_ID(vend, dev)}
     219#ifdef CONFIG_SND_DEBUG_DETECT
     220#define SND_PCI_QUIRK(vend,dev,xname,val) \
     221        {_SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname)}
     222#else
     223#define SND_PCI_QUIRK(vend,dev,xname,val) \
     224        {_SND_PCI_QUIRK_ID(vend, dev), .value = (val)}
     225#endif
     226
     227const struct snd_pci_quirk *
     228snd_pci_quirk_lookup(struct pci_dev *pci, const struct snd_pci_quirk *list);
     229
    206230/* misc.c */
    207231struct resource;
  • GPL/trunk/alsa-kernel/include/sound/driver.h

    r85 r86  
    753753#endif
    754754
     755static inline int snd_pci_enable_msi(struct pci_dev *dev) { return -1; }
     756#undef pci_enable_msi
     757#define pci_enable_msi(dev) snd_pci_enable_msi(dev)
     758#undef pci_disable_msi
     759#define pci_disable_msi(dev)
     760
     761#undef pci_intx
     762#define pci_intx(pci,x)
     763
     764
    755765#endif                          /* __DRIVER_H */
Note: See TracChangeset for help on using the changeset viewer.