Subject: kern/5079: src/sys/isa/sbdsp.c exports property with upper-case name
To: None <gnats-bugs@gnats.netbsd.org>
From: Soren S. Jorvang <soren@t.dk>
List: netbsd-bugs
Date: 02/27/1998 20:25:13
>Number:         5079
>Category:       kern
>Synopsis:       src/sys/isa/sbdsp.c exports property with upper-case name
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 27 11:35:00 1998
>Last-Modified:
>Originator:     Soren S. Jorvang
>Organization:
>Release:        NetBSD-current 19980227
>Environment:
System: NetBSD 1.3D


>Description:
[This is really a test of which PRs are let through to
netbsd-bugs :-)]

src/sys/dev/isa/sbdsp.c exports a mixer field called 'AGC'.
Other sysctl-style fields are lower-case. 


>How-To-Repeat:
sb0 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5
sb0: Creative ViBRA16S PnP Audio: dsp v4.13
audio0 at sb0

$ mixerctl -a
[...]
inputs.AGC=off


>Fix:
--- /sys/dev/isa/sbdsp.c	Sat Jan 31 19:55:51 1998
+++ sbdsp.c	Fri Feb 27 20:18:24 1998
@@ -2176,3 +2176,3 @@
 		dip->prev = dip->next = AUDIO_MIXER_LAST;
-		strcpy(dip->label.name, "AGC");
+		strcpy(dip->label.name, "agc");
 		dip->un.e.num_mem = 2;
>Audit-Trail:
>Unformatted: