opt_global.h for kernel modules

M. Warner Losh imp at bsdimp.com
Wed Jun 23 23:06:32 PDT 2004


In message: <20040623082114.GA35666 at net.in.tum.de>
            Joerg Wallerich <jw at net.in.tum.de> 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


More information about the freebsd-current mailing list