Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2004 10:21:14 +0200
From:      Joerg Wallerich <jw@net.in.tum.de>
To:        freebsd-current@freebsd.org
Subject:   opt_global.h for kernel modules
Message-ID:  <20040623082114.GA35666@net.in.tum.de>

next in thread | raw e-mail | index | archive | help
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?


Cheers,
Joerg

-- 
----------------------------------------------------------------
- Joerg Wallerich                     - jw@net.in.tum.de       -
- Technische Universitaet Muenchen                             -
----------------------------------------------------------------



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