diff options
Diffstat (limited to 'include/sound/ac97_codec.h')
-rw-r--r-- | include/sound/ac97_codec.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h index 2433e279e071..1309c12b8f71 100644 --- a/include/sound/ac97_codec.h +++ b/include/sound/ac97_codec.h | |||
@@ -437,6 +437,7 @@ struct snd_ac97_build_ops { | |||
437 | void (*suspend) (ac97_t *ac97); | 437 | void (*suspend) (ac97_t *ac97); |
438 | void (*resume) (ac97_t *ac97); | 438 | void (*resume) (ac97_t *ac97); |
439 | #endif | 439 | #endif |
440 | void (*update_jacks) (ac97_t *ac97); /* for jack-sharing */ | ||
440 | }; | 441 | }; |
441 | 442 | ||
442 | struct _snd_ac97_bus_ops { | 443 | struct _snd_ac97_bus_ops { |
@@ -516,6 +517,9 @@ struct _snd_ac97 { | |||
516 | } ad18xx; | 517 | } ad18xx; |
517 | unsigned int dev_flags; /* device specific */ | 518 | unsigned int dev_flags; /* device specific */ |
518 | } spec; | 519 | } spec; |
520 | /* jack-sharing info */ | ||
521 | unsigned char indep_surround; | ||
522 | unsigned char channel_mode; | ||
519 | }; | 523 | }; |
520 | 524 | ||
521 | /* conditions */ | 525 | /* conditions */ |
@@ -569,8 +573,8 @@ enum { | |||
569 | }; | 573 | }; |
570 | 574 | ||
571 | struct ac97_quirk { | 575 | struct ac97_quirk { |
572 | unsigned short vendor; /* PCI vendor id */ | 576 | unsigned short subvendor; /* PCI subsystem vendor id */ |
573 | unsigned short device; /* PCI device id */ | 577 | unsigned short subdevice; /* PCI sybsystem device id */ |
574 | unsigned short mask; /* device id bit mask, 0 = accept all */ | 578 | unsigned short mask; /* device id bit mask, 0 = accept all */ |
575 | unsigned int codec_id; /* codec id (if any), 0 = accept all */ | 579 | unsigned int codec_id; /* codec id (if any), 0 = accept all */ |
576 | const char *name; /* name shown as info */ | 580 | const char *name; /* name shown as info */ |