diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2010-02-11 21:33:40 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2010-02-11 21:33:40 +0000 |
commit | 1256414e337b9bc8e596a3624d648d768a18bcd9 (patch) | |
tree | 64b9c30651ad906ee2ba8db3c5383540b4b8e684 | |
parent | 8f57591a1f77dc939ec406ed3ca3ea098b9696ac (diff) |
"unmute" GPIO 0 on all Dell machines with IDT 92HD71B7 codecs.
desilences E4300 for drahn@. ok drahn@
-rw-r--r-- | sys/dev/pci/azalia_codec.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c index b632bc05961..18a2cc3faef 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.140 2010/02/01 05:43:21 jakemsr Exp $ */ +/* $OpenBSD: azalia_codec.c,v 1.141 2010/02/11 21:33:39 jakemsr Exp $ */ /* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */ /*- @@ -178,10 +178,7 @@ azalia_codec_init_vtbl(codec_t *this) break; case 0x111d76b2: this->name = "IDT 92HD71B7"; - if (this->subid == 0x02631028 || /* DELL_E5500 */ - this->subid == 0x02501028 || /* DELL_M4400 */ - this->subid == 0x02331028 || /* DELL_E6400 */ - this->subid == 0x024f1028) { /* DELL_E6500 */ + if ((this->subid & 0x0000ffff) == 0x00001028) { /* DELL */ this->qrks |= AZ_QRK_GPIO_UNMUTE_0; } break; |