FreeBSD nfe driver for NVIDIA nForce network adapter

Pascal Hofstee caelian at gmail.com
Sat May 6 07:53:52 UTC 2006


On Sat, 2006-05-06 at 04:42 -0300, JoãoBR wrote:
> Shigeaki Tagashira wrote:
> hum, and this
> 
> #ifdef HAVE_KERNEL_OPTION_HEADERS
> #include "opt_device_polling.h"
> #endif

I noticed a few spots in the code that are essentially temporary
workarounds to the driver not being imported into the physical /usr/src
hierarchy.

The above quoted ifdef construct would be one of those. As soon as this
driver actually hits the actual /usr/src tree .. all these "shims" like
the current manual define of DEVICE_POLLING and similar constructs can
be removed.

But as long as we're building from a directory outside of /usr/src
proper ... constructs like the above quoted HAVE_KERNEL_OPTION_HEADERS
simply don't work as supposed to.

At least that's my understanding of it all :)

-- 
  Pascal Hofstee




More information about the freebsd-amd64 mailing list