NetBSD Problem Report #16382

Received: (qmail 18237 invoked from network); 17 Apr 2002 00:38:26 -0000
Message-Id: <20020417003826.1854.qmail@qmail.endersgame.net>
Date: 17 Apr 2002 00:38:26 -0000
From: dive@endersgame.net
Reply-To: dive@endersgame.net
To: gnats-bugs@gnats.netbsd.org
Subject: typo in sys/dev/mii/acphy.c
X-Send-Pr-Version: 3.95

>Number:         16382
>Category:       kern
>Synopsis:       Typo in sys/dev/mii/acphy.c (of instead of if)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 17 00:39:00 +0000 2002
>Closed-Date:    Wed Apr 17 09:18:37 +0000 2002
>Last-Modified:  Wed Apr 17 09:18:37 +0000 2002
>Originator:     Sean Davis
>Release:        NetBSD 1.5ZC
>Organization:
/~\ The ASCII                         Sean Davis
\ / Ribbon Campaign                    aka dive
 X  Against HTML
/ \ Email!               http://eros.endersgame.net:8000/~dive
>Environment:
System: NetBSD eros.endersgame.net 1.5ZC NetBSD 1.5ZC (EROS) #317: Mon Apr 15 19:52:55 EDT 2002 dive@eros.endersgame.net:/disk2/a/cvs/netbsd-current/src/sys/arch/i386/compile/EROS i386
Architecture: i386
Machine: i386
>Description:
at line 221 of acphy.c:
		* The media status bits are only valid of autonegotiation
		* has completed (or it's disabled)

note that this typo does not affect whether the driver compiles or works or
not, that's why I submitted it under change-request rather than sw-bug.
>How-To-Repeat:
>Fix:
--- acphy.c.orig	Tue Apr 16 20:34:03 2002
+++ acphy.c	Tue Apr 16 20:34:19 2002
@@ -218,7 +218,7 @@

 	if (bmcr & BMCR_AUTOEN) {
 		/*
-		 * The media status bits are only valid of autonegotiation
+		 * The media status bits are only valid if autonegotiation
 		 * has completed (or it's disabled).
 		 */
 		if ((bmsr & BMSR_ACOMP) == 0) {
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wiz 
State-Changed-When: Wed Apr 17 02:18:31 PDT 2002 
State-Changed-Why:  
Fixed, thanks. 
>Unformatted:
 sources as of 20020416

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.