Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 23:09:20 +0200 (CEST)
From:      Denis Bourez <denis@pyrhum.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/43898: Syntax error in /sys/i386/isa/pcibus.c
Message-ID:  <20021010210920.1A804A955@ted.pyrhum.net>

next in thread | raw e-mail | index | archive | help

>Number:         43898
>Category:       kern
>Synopsis:       Syntax error in /sys/i386/isa/pcibus.c
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 10 14:20:00 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021010210920.1A804A955>