From denis@pyrhum.net  Thu Oct 10 14:11:29 2002
Return-Path: <denis@pyrhum.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BBB3237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 10 Oct 2002 14:11:29 -0700 (PDT)
Received: from ted.pyrhum.net (ALagny-102-1-5-180.abo.wanadoo.fr [81.48.105.180])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DEBBD43E9E
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 10 Oct 2002 14:11:28 -0700 (PDT)
	(envelope-from denis@pyrhum.net)
Received: by ted.pyrhum.net (Postfix, from userid 1001)
	id 1A804A955; Thu, 10 Oct 2002 23:09:20 +0200 (CEST)
Message-Id: <20021010210920.1A804A955@ted.pyrhum.net>
Date: Thu, 10 Oct 2002 23:09:20 +0200 (CEST)
From: Denis Bourez <denis@pyrhum.net>
Reply-To: Denis Bourez <denis@pyrhum.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Syntax error in /sys/i386/isa/pcibus.c
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43898
>Category:       kern
>Synopsis:       Syntax error in /sys/i386/isa/pcibus.c
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    iwasaki
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 10 14:20:00 PDT 2002
>Closed-Date:    Thu Oct 10 16:01:44 PDT 2002
>Last-Modified:  Thu Oct 10 16:01:44 PDT 2002
>Originator:     Denis Bourez
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD ted.pyrhum.net 4.7-STABLE FreeBSD 4.7-STABLE #2: Thu Oct 10 22:55:31 CEST 2002 root@ted.pyrhum.net:/usr/src/sys/compile/TED i386


	
>Description:
In i386/isa/pcibus.c file: missing ":" in CASE statements at lines #216 and #218 lead to 
kernel compilation error
	
>How-To-Repeat:

        case 0x00171166
                /* FALLTHROUGH */
        case 0x01011166
                s = "ServerWorks host to PCI bridge(unknown chipset)";
                *busnum = pci_cfgread(cfg, 0x44, 1);
                break;

	
>Fix:
add ":" at the end of lines #216 and #218 in file i386/isa/pcibus.c :

        case 0x00171166:
                /* FALLTHROUGH */
        case 0x01011166:
                s = "ServerWorks host to PCI bridge(unknown chipset)";
                *busnum = pci_cfgread(cfg, 0x44, 1);
                break;

	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Thu Oct 10 15:59:33 PDT 2002 
State-Changed-Why:  

Thanks for submitting a bug report.  It appears that what you 
describe has been fixed by the following commit: 

: revision 1.57.2.10 
: date: 2002/10/10 18:25:28;  author: iwasaki;  state: Exp;  lines: +2 -2 
: Oops, it seems I've forgiven some ':'. 
: 
: Submitted by:   Nephtali <aurelien.nephtali@wanadoo.fr> 


Responsible-Changed-From-To: freebsd-bugs->iwasaki 
Responsible-Changed-By: keramida 
Responsible-Changed-When: Thu Oct 10 15:59:33 PDT 2002 
Responsible-Changed-Why:  
Mitsuru IWASAKI took care of this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43898 
>Unformatted:
