Pawel Worach wrote:
On Tue, Apr 29, 2008 at 11:36 PM, Sam Leffler <[EMAIL PROTECTED]> wrote:
sam         2008-04-29 21:36:17 UTC

 FreeBSD src repository


 Added files:
   sys/modules/iwn      Makefile

 Log:
 Intel 4965 wireless driver (derived from openbsd driver of the same name)


If using the module on a kernel without WITNESS the module doesn't
run-time link with:
link_elf_obj: symbol _mtx_assert undefined

Other than that, thanks a lot, the driver works fine!

Fix?

--- /sys/modules/iwn/Makefile   2008-04-29 23:36:17.000000000 +0200
+++ Makefile    2008-05-22 22:45:22.000000000 +0200
@@ -4,5 +4,5 @@

 KMOD    = if_iwn
 SRCS    = if_iwn.c opt_bdg.h device_if.h bus_if.h pci_if.h
-CFLAGS += -g -DWITNESS -DINVARIANT_SUPPORT -DINVARIANTS -I${.CURDIR}/../../
+CFLAGS += -g -I${.CURDIR}/../../
 .include <bsd.kmod.mk>


Thanks, never noticed it was there.

   Sam
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to