From owner-freebsd-questions Thu Oct 10 18:49:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A95F37B401 for ; Thu, 10 Oct 2002 18:49:54 -0700 (PDT) Received: from dev.bsdnerds.org (lsanca2-ar31-4-33-246-189.lsanca2.dsl-verizon.net [4.33.246.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DCCC43EAA for ; Thu, 10 Oct 2002 18:49:53 -0700 (PDT) (envelope-from tr0n@dev.bsdnerds.org) Received: from dev.bsdnerds.org (tr0n@localhost [127.0.0.1]) by dev.bsdnerds.org (8.12.6/8.12.6) with ESMTP id g9B1oIJs005514 for ; Thu, 10 Oct 2002 18:50:19 -0700 (PDT) (envelope-from tr0n@dev.bsdnerds.org) Received: (from tr0n@localhost) by dev.bsdnerds.org (8.12.6/8.12.6/Submit) id g9B1o61u005510; Thu, 10 Oct 2002 18:50:06 -0700 (PDT) Subject: 4.7 pcibus.c compile error From: Mega Tr0n Reply-To: tr0n@bsdnerds.org To: freebsd-questions@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 10 Oct 2002 18:49:59 -0700 Message-Id: <1034300999.18932.4.camel@dev.bsdnerds.org> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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