kmod if_alc in 8-CURRENT

Matthias Apitz guru at unixarea.de
Fri Oct 22 07:50:08 UTC 2010


El día Friday, October 22, 2010 a las 09:14:03AM +0200, Matthias Apitz escribió:

> # make
> Warning: Object directory not changed from original
> /usr/src/sys/modules/alc
> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
> -nostdinc   -I. -I@ -I@/contrib/altq -finli
> ne-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000 -fno-common  -mno-align-long
> -strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse
> -mno-sse2 -mno-sse3 -ffreestanding -fsta
> ck-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls
> -Wnested-externs -Wstrict-prototype
> s  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
> -Wno-pointer-sign -fformat-extensions 
> -c /usr/src/sys/modules/alc/../../dev/alc/if_alc.c
> cc1: warnings being treated as errors
> /usr/src/sys/modules/alc/../../dev/alc/if_alc.c: In function
> 'alc_rxfilter':
> /usr/src/sys/modules/alc/../../dev/alc/if_alc.c:3465: warning: implicit
> declaration of function 'if_maddr_rl
> ock'
> /usr/src/sys/modules/alc/../../dev/alc/if_alc.c:3465: warning: nested
> extern declaration of 'if_maddr_rlock'
> /usr/src/sys/modules/alc/../../dev/alc/if_alc.c:3473: warning: implicit
> declaration of function 'if_maddr_ru
> nlock'
> /usr/src/sys/modules/alc/../../dev/alc/if_alc.c:3473: warning: nested
> extern declaration of 'if_maddr_runloc
> k'
> *** Error code 1

The change was introduced with rev. 1.2 of the driver:

revision 1.2
date: 2009/06/26 11:45:06;  author: rwatson;  state: Exp;  lines: +2 -2
SVN rev 195049 on 2009-06-26 11:45:06Z by rwatson

Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/
IF_ADDR_UNLOCK() across network device drivers when accessing the
per-interface multicast address list, if_multiaddrs.  This will
allow us to change the locking strategy without affecting our driver
programming interface or binary interface.

and I checked out RELENG_8_0_0_RELEASE (revision: 1.3.2.2.2.1)

will Cc: the author to see what I should do with my 8-CURRENT from May
2009 to get support for this NIC;

Thanks

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at unixarea.de> - w http://www.unixarea.de/


More information about the freebsd-hackers mailing list