Subject: kern/5289: Another SB-compatible PnP ID.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nathanw@MIT.EDU>
List: netbsd-bugs
Date: 04/12/1998 23:33:41
>Number: 5289
>Category: kern
>Synopsis: Another SB-compatible PnP ID.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Apr 12 20:35:00 1998
>Last-Modified:
>Originator: Nathan J. Williams
>Organization:
Massachvsetts Institvte of Technology
>Release: NetBSD-current of 1998/4/12
>Environment:
System: NetBSD road-runner.mit.edu 1.3E NetBSD 1.3E (ROAD-RUNNER) #101: Wed Apr 1 03:48:48 EST 1998 nathanw@road-runner.mit.edu:/u1/usr/src/sys/arch/i386/compile/ROAD-RUNNER i386
>Description:
I've got a system with Yet Another PnP Sound Card that NetBSD doesn't
know about. Adding the line below let NetBSD recognize it and the sound device
works.
>How-To-Repeat:
Boot a NetBSD-1.3.1 - NetBSD-1.3E kernel on a Dell Dimension XPS D266
and watch the kernel emit:
isapnp0: <OPL3-SA3 Snd System, YMH0021, , > port 0x240/16,0xe80/8,0x388/8,0x300/2,0x100/2 irq 5 drq 0,0 not configured
>Fix:
Apply the patch below and watch the same machine instead emit:
sb1 at isapnp0 port 0x240/16,0xe80/8,0x3 88/8,0x300/2,0x100/2 irq 5 drq 0,0
sb1: OPL3-SA3 Snd System : dsp v3.01
audio1 at sb1
Much happier.
*** sb_isapnp.c.old Sun Apr 12 23:24:02 1998
--- sb_isapnp.c Sun Apr 12 23:24:05 1998
***************
*** 100,105 ****
--- 100,106 ----
strcmp(ipa->ipa_devlogic, "CTL0045") && /* SB AWE64 Value */
strcmp(ipa->ipa_devlogic, "ESS1868") &&
strcmp(ipa->ipa_devlogic, "OPT9250") && /* Televideo card, Opti */
+ strcmp(ipa->ipa_devlogic, "YMH0021") && /* OPL3-SA3 */
strcmp(ipa->ipa_devcompat, "PNPB000") && /* generic SB 1.5 */
strcmp(ipa->ipa_devcompat, "PNPB001") && /* generic SB 2.0 */
strcmp(ipa->ipa_devcompat, "PNPB002") && /* generic SB Pro */
>Audit-Trail:
>Unformatted: