Subject: compile problems: ath.c assumes bpf on 3.0.1?
To: None <netbsd-users@netbsd.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 07/01/2006 09:23:43
Trying to build a 3.0.1 kernel without bpf, ath wouldn't compile:

/usr/src/sys/dev/ic/ath.c:2769: warning: implicit declaration of function
`bpf_m tap'
/usr/src/sys/dev/ic/ath.c:2780: warning: implicit declaration of function
`bpf_m tap2'

It looks to me like the lines 2768-2782 should be conditional on
NBPFILTER>0.

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb