From nobody@FreeBSD.ORG Mon Jun 21 21:23:03 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 5478414ED4; Mon, 21 Jun 1999 21:23:03 -0700 (PDT)
Message-Id: <19990622042303.5478414ED4@hub.freebsd.org>
Date: Mon, 21 Jun 1999 21:23:03 -0700 (PDT)
From: davida@cs.uwm.edu
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: ProAudio Spectrum sound card broken model number reporting
X-Send-Pr-Version: www-1.0

>Number:         12333
>Category:       kern
>Synopsis:       ProAudio Spectrum sound card broken model number reporting
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 21 21:30:00 PDT 1999
>Closed-Date:    Wed May 23 14:12:53 PDT 2001
>Last-Modified:  Wed May 23 14:13:21 PDT 2001
>Originator:     George Davida
>Release:        3.2-19990609-STABLE
>Organization:
University of Wisconsin
>Environment:
FreeBSD huber.cs.uwm.edu 3.2-19990609-STABLE FreeBSD 3.2-19990609-STABLE #5: Fri Jun 18 09:42:32 CDT 1999     davida@huber.cs.uwm.edu:/usr/src/sys/compile/HUBER  i386

>Description:
On some ProAudio Spectrum cards, the model number is
not reporte correctly when queried. 
>How-To-Repeat:
Get a PAS card that is broken!
>Fix:
Apply the diff to pas2_card.c in /usr/src/sys/isa/sound
313,315d312
< #ifdef BROKEN_PAS_MODEL
<       pas_model= PAS_MODEL;
< #endif
327,329c324
< #ifdef BROKEN_PAS_MODEL
<       if (pas_model = PAS_MODEL ){
< #else                             
---
> 
331d325
< #endif

Also apply add these to the LINT file in 
/usr/src/sys/i386/conf
options        BROKEN_PAS_MODEL  # Set PAS model in next (fixes pas2_pcm.c)
options        "PAS_MODEL=3"     # fix pas2_pcm.c to force return model



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed May 23 14:12:53 PDT 2001 
State-Changed-Why:  
Overtaken by events. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12333 
>Unformatted:
