From owner-freebsd-current@FreeBSD.ORG Thu Jun 24 06:06:32 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E24116A4CE for ; Thu, 24 Jun 2004 06:06:32 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BF4C43D5A for ; Thu, 24 Jun 2004 06:06:32 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.11/8.12.11) with ESMTP id i5O65I3L097643; Thu, 24 Jun 2004 00:05:18 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 24 Jun 2004 00:05:29 -0600 (MDT) Message-Id: <20040624.000529.66167439.imp@bsdimp.com> To: jw@net.in.tum.de From: "M. Warner Losh" In-Reply-To: <20040623082114.GA35666@net.in.tum.de> References: <20040623082114.GA35666@net.in.tum.de> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: opt_global.h for kernel modules X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 06:06:32 -0000 In message: <20040623082114.GA35666@net.in.tum.de> Joerg Wallerich writes: : Hi, : : while trying to enable device polling in the nge NIC : driver I found that the device polling code is not : activated in the driver, if it's compiled as KLD. : After a bit of digging I found, that 'options DEVICE_POLLING' : leads to a define in opt_global.h, but this hedaer file is : not included when building KLDs. : : In this case this leads to different behavior of the driver : depending on it being build as KLD or not. : : Is this intentional? It should be. It is for me. Warner