From owner-svn-src-all@FreeBSD.ORG Thu Oct 30 17:54:20 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FCB51065678; Thu, 30 Oct 2008 17:54:20 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4EEE48FC26; Thu, 30 Oct 2008 17:54:20 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id m9UHsKCc057923; Thu, 30 Oct 2008 17:54:20 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id m9UHsKIi057922; Thu, 30 Oct 2008 17:54:20 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <200810301754.m9UHsKIi057922@svn.freebsd.org> From: Alexander Motin Date: Thu, 30 Oct 2008 17:54:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184483 - head/sys/dev/sound/pci/hda X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2008 17:54:20 -0000 Author: mav Date: Thu Oct 30 17:54:20 2008 New Revision: 184483 URL: http://svn.freebsd.org/changeset/base/184483 Log: Add quirk to set GPIO2 to enable internal speaker on Dell Vostro 1400. Tested by: Sergio Veloso Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c ============================================================================== --- head/sys/dev/sound/pci/hda/hdac.c Thu Oct 30 17:47:57 2008 (r184482) +++ head/sys/dev/sound/pci/hda/hdac.c Thu Oct 30 17:54:20 2008 (r184483) @@ -83,7 +83,7 @@ #include "mixer_if.h" -#define HDA_DRV_TEST_REV "20081024_0114" +#define HDA_DRV_TEST_REV "20081030_0115" SND_DECLARE_FILE("$FreeBSD$"); @@ -204,6 +204,7 @@ SND_DECLARE_FILE("$FreeBSD$"); #define DELL_VENDORID 0x1028 #define DELL_D630_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x01f9) #define DELL_D820_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x01cc) +#define DELL_V1400_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x0227) #define DELL_V1500_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x0228) #define DELL_I1300_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x01c9) #define DELL_XPSM1210_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x01d7) @@ -4427,6 +4428,8 @@ static const struct { HDA_QUIRK_GPIO0 | HDA_QUIRK_GPIO1, 0 }, { DELL_D630_SUBVENDOR, HDA_CODEC_STAC9205X, HDA_QUIRK_GPIO0, 0 }, + { DELL_V1400_SUBVENDOR, HDA_CODEC_STAC9228X, + HDA_QUIRK_GPIO2, 0 }, { DELL_V1500_SUBVENDOR, HDA_CODEC_STAC9205X, HDA_QUIRK_GPIO0, 0 }, { HDA_MATCH_ALL, HDA_CODEC_AD1988,