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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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;
Note: See TracChangeset for help on using the changeset viewer.