Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2004 10:25:07 -0500 (EST)
From:      Josh Elsasser <jre@vineyard.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/61730: Patch: add pci id for via 8237 to pcm driver
Message-ID:  <20040122152507.A0CAE98@jade.elsasser.org>
Resent-Message-ID: <200401221530.i0MFUEQw081907@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61730
>Category:       kern
>Synopsis:       Patch: add pci id for via 8237 to pcm driver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 22 07:30:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Josh Elsasser
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD jade.elsasser.org 5.2-CURRENT FreeBSD 5.2-CURRENT #9: Wed Jan 14 17:47:17 EST 2004 joshe@jade.elsasser.org:/usr/local/obj/usr/src/sys/JADE i386


	
>Description:
	The VIA 8237 chip is not probed by the pcm driver.

>How-To-Repeat:
	Boot on a system containing such a sound chip, such as an Asus
A7V600 motherboard, and observe the lack of a /dev/dsp.

>Fix:

--- sys/dev/sound/pci/via8233.c.orig	Tue Sep  2 13:30:37 2003
+++ sys/dev/sound/pci/via8233.c	Wed Jan 14 15:56:50 2004
@@ -53,6 +53,7 @@
 #define VIA8233_REV_ID_8233	0x30
 #define VIA8233_REV_ID_8233A	0x40
 #define VIA8233_REV_ID_8235	0x50
+#define VIA8233_REV_ID_8237	0x60
 
 #define SEGS_PER_CHAN	2			/* Segments per channel */
 #define NDXSCHANS	4			/* No of DXS channels */
@@ -634,6 +635,9 @@
 			return 0;
 		case VIA8233_REV_ID_8235:
 			device_set_desc(dev, "VIA VT8235");
+			return 0;
+		case VIA8233_REV_ID_8237:
+			device_set_desc(dev, "VIA VT8237");
 			return 0;
 		default:
 			device_set_desc(dev, "VIA VT8233X");	/* Unknown */
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040122152507.A0CAE98>