From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 24 16:23:21 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3239E1065673 for ; Mon, 24 Nov 2008 16:23:21 +0000 (UTC) (envelope-from ravi.murty@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 0B7B48FC0C for ; Mon, 24 Nov 2008 16:23:20 +0000 (UTC) (envelope-from ravi.murty@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2079191rvf.43 for ; Mon, 24 Nov 2008 08:23:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=houRYbTLa+ykwqOgas51jJ5wylkCl+fUcy36ycpgXcU=; b=jd0gKS6UJPOk6b7IAwcyfv5D9HjvvD/z1frsS8+eJ87wxsX5LSAn1/jj4Wkp8O0dVi q5BgNlxo2PHMoj6bw9RHX0Yk8dP1l724tX76fl3fuK43W8Tze4mVnIVhLfmTnmb9dC1f BJr8tYZCgxajKuhtNLM7a/27rLgwPGIXOEUR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=BqT+MDWFsJ8jmJ7NJTpMQvgsKqJYVKOZCFbMwH5yEO8gg9hG2LYCSv2Sea5YvmJxKT bkTIC1cPfkurqlpXLFDpnQFwFdTpJ9X+52RYvY5E/Og+gg0I+Vv1zXxb+POXN9Okdk4U AAcsduPhL+IGFD1si+WRCIiUSZqHBx8nU7khY= Received: by 10.141.53.20 with SMTP id f20mr1934262rvk.192.1227542396003; Mon, 24 Nov 2008 07:59:56 -0800 (PST) Received: by 10.140.251.14 with HTTP; Mon, 24 Nov 2008 07:59:55 -0800 (PST) Message-ID: <95b10a340811240759gf6eb4e9qd6fd06a92bc3bc63@mail.gmail.com> Date: Mon, 24 Nov 2008 07:59:55 -0800 From: "Ravi Murty" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: option pci X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 16:23:21 -0000 Hello All, I've been trying to turn off option PCI and several other options in the configuration file when I build my 8.0 kernel. For things like "option INET", I see a bunch of link errors and after looking at the head of the tree realized that the latest source code has some of the functions wrapped in ifdef INET and include the proper headers. For option PCI, nexus.c and some of the pci device functionalily call functions that are defined in msi.c which is optional while the files that call these functions are defined "standard". Is there an easy way to cleanly compile the kernel with option pci turned off? Thanks Ravi