Skip site navigation (1)Skip section navigation (2)
Date:      10 Oct 2002 18:49:59 -0700
From:      Mega Tr0n <tr0n@dev.bsdnerds.org>
To:        freebsd-questions@freebsd.org
Subject:   4.7 pcibus.c compile error
Message-ID:  <1034300999.18932.4.camel@dev.bsdnerds.org>

next in thread | raw e-mail | index | archive | help
I cvsuped this morning when i heard that 4.7 went gold, but had a
compile error in the pcibus.c 



i386/isa/pcibus.c
/usr/src/sys/i386/isa/pcibus.c: In function `nexus_pcib_is_host_bridge':
/usr/src/sys/i386/isa/pcibus.c:218: syntax error before `case'
*** Error code 1


i looked at the file and found that the case statement was missing some
colons. here is the correct format for that chunk of code. Sorry if its
be fixed already, but thought i'd share

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

Justin

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




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