summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2009-01-05 08:06:56 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2009-01-05 08:06:56 +0000
commit95a861c353499f09538424e36f176fe1b3a60b2e (patch)
treeed53e4b52b1748e0e85f8974efeb6b454711c238 /sys/dev/pci
parent945aa8749b920060b1fa63bc18e348f33afb0b57 (diff)
no longer needed codec specific code
tested by danh@, thanks!
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/azalia_codec.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index 2f6327838b8..89b3e845c62 100644
--- a/sys/dev/pci/azalia_codec.c
+++ b/sys/dev/pci/azalia_codec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia_codec.c,v 1.109 2009/01/05 07:55:34 jakemsr Exp $ */
+/* $OpenBSD: azalia_codec.c,v 1.110 2009/01/05 08:06:55 jakemsr Exp $ */
/* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */
/*-
@@ -89,7 +89,6 @@ void azalia_devinfo_offon(mixer_devinfo_t *);
void azalia_pin_config_ov(widget_t *, int, int);
int azalia_gpio_unmute(codec_t *, int);
-int azalia_ad1984_mixer_init(codec_t *);
int azalia_alc88x_init_widget(const codec_t *, widget_t *, nid_t);
int azalia_stac9221_init_widget(const codec_t *, widget_t *, nid_t);
int azalia_stac7661_mixer_init(codec_t *);
@@ -175,7 +174,6 @@ azalia_codec_init_vtbl(codec_t *this)
break;
case 0x11d41984:
this->name = "Analog Devices AD1984";
- this->mixer_init = azalia_ad1984_mixer_init;
break;
case 0x11d41988:
this->name = "Analog Devices AD1988A";
@@ -2146,22 +2144,6 @@ azalia_codec_gpio_quirks(codec_t *this)
* codec specific functions
* ---------------------------------------------------------------- */
-/* Analog Devices AD1984 */
-int
-azalia_ad1984_mixer_init(codec_t *this)
-{
- mixer_ctrl_t mc;
-
- azalia_generic_mixer_init(this);
-
- mc.dev = -1;
- mc.type = AUDIO_MIXER_ENUM;
- mc.un.ord = 1;
- /* connect headphones to output of first DAC */
- azalia_generic_mixer_set(this, 0x22, MI_TARGET_CONNLIST, &mc);
- return 0;
-}
-
/* Realtek ALC88x */
int
azalia_alc88x_init_widget(const codec_t *this, widget_t *w, nid_t nid)