This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Tue May 28 22:11:27 2024 Received: from listserv.funet.fi (listserv.funet.fi [128.214.248.27]) by herbie.ucs.indiana.edu (8.9.3/8.9.3) with ESMTP id UAA05195 for ; Mon, 13 Sep 1999 20:26:44 -0500 (EST) Received: from vger.rutgers.edu ([128.6.190.2]:64065 "EHLO vger.rutgers.edu") by listserv.funet.fi with ESMTP id ; Tue, 14 Sep 1999 04:25:32 +0300 Received: by vger.rutgers.edu via listexpand id ; Mon, 13 Sep 1999 21:24:08 -0400 Received: by vger.rutgers.edu id ; Mon, 13 Sep 1999 21:23:23 -0400 Received: from viruswall.tc.fluke.com ([206.138.179.196]:2130 "HELO viruswall.tc.fluke.com") by vger.rutgers.edu with SMTP id ; Mon, 13 Sep 1999 21:17:50 -0400 Received: from 129.196.184.7 by viruswall.tc.fluke.com (InterScan E-Mail VirusWall NT); Mon, 13 Sep 1999 18:20:40 -0800 Received: from dd.tc.fluke.com (root@dd.tc.fluke.com [129.196.148.100]) by mailhub.tc.fluke.com (8.9.3/8.9.1) with ESMTP id SAA12055; Mon, 13 Sep 1999 18:17:48 -0700 (PDT) Received: from localhost (dcd@localhost [127.0.0.1]) by dd.tc.fluke.com (8.8.5/8.6.12) with ESMTP id SAA05120; Mon, 13 Sep 1999 18:17:46 -0700 Date: Mon, 13 Sep 1999 18:17:46 -0700 (PDT) From: David Dyck To: linux-kernel@vger.rutgers.edu Cc: Alan Cox Subject: bug in linux-2.2.13pre7, arch/i386/kernel/setup.c doesn't compile if CONFIG_PCI without CONFIG_PCI_QUIRKS, invalid lvalue in assignment Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-kernel@vger.rutgers.edu Precedence: bulk X-Loop: majordomo@vger.rutgers.edu X-Orcpt: rfc822;linux-kernel-outgoing-dig arch/i386/kernel/setup.c doesn't compile if CONFIG_PCI without CONFIG_PCI_QUIRKS A workaround would be to define CONFIG_PCI_QUIRKS The code in ./arch/i386/kernel/setup.c needs to check if CONFIG_PCI_QUIRKS is defined before assigning to isa_dma_bridge_buggy on line 642. I'd send a patch, but I don't know the best solution yet. I just know that I had CONFIG_PCI=y # CONFIG_PCI_QUIRKS is not set in .config and got the following error Perhaps the #ifdef should have been for CONFIG_PCI_QUIRKS instead of CONFIG_PCI or what exactly should be done when the kernel detects the Cyrix MediaGX magic needs to be applied but since CONFIG_PCI_QUIRKS wasn't defined the kernel can't set isa_dma_bridge_buggy (a constant 0) to 1, include/asm-i386/dma.h #ifdef CONFIG_PCI_QUIRKS extern int isa_dma_bridge_buggy; #else #define isa_dma_bridge_buggy (0) #endif  gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o setup.o setup.c setup.c: In function `cyrix_model': setup.c:642: invalid lvalue in assignment make[1]: *** [setup.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.2.13pre7/arch/i386/kernel' make: *** [_dir_arch/i386/kernel] Error 2 dd:linux-2.2.13pre7$ g CONFIG_PCI_QUIRKS .co* # CONFIG_PCI_QUIRKS is not set !h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/