Added a few small changes and the tags generation changes.:wq

This commit is contained in:
mark 2002-06-24 16:18:42 +00:00
parent 6fa2e6e931
commit 495af7fbf6
2 changed files with 26 additions and 5 deletions

View file

@ -45,6 +45,8 @@
DIRS = src doc man etc
CTAGOPTS = --totals -I '__initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS'
help:
@echo "Pick one of the following targets:"
@echo -e "\tmake auto_config\t- automated configure"
@ -62,11 +64,12 @@ all:
mrproper: clean
rm -f config.out
rm -f tags.linux
clean:
touch config.mk config.new
set -e; for d in $(DIRS); do $(MAKE) -C $$d clean ; done
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
for i in *_obj; do if [ -d $$i ]; then rm -fr $$i; fi; done
rm -f config.mk config.new
rm -f src/include/wlan/version.h
@ -89,9 +92,26 @@ config:
@touch config.mk
@./Configure
tags: dummy
ctags `find . -name '*.[ch]' -o -name '*.mk' -o -name '[Mm]akefile'`
# ctags -R
tags: tags.linux dummy
if [ -r tags.linux ]; then cp tags.linux tags; fi
find . \
-name '*.[ch]' -o \
-name '*.mk' -o \
-iname 'Makefile' | \
xargs ctags -a $(CTAGOPTS)
tags.linux:
if [ -h linux ]; then \
find linux/include \
-type d \( -name 'asm-*' -o -name config \) \
-prune -o \
-name '*.h' -print | \
xargs ctags -a -f $@ $(CTAGOPTS) && \
find linux/kernel linux/drivers linux/mm linux/fs \
linux/net linux/ipc linux/lib linux/init \
-name '*.[ch]' | \
xargs ctags -a -f $@ $(CTAGOPTS); \
fi
dummy:

View file

@ -3678,7 +3678,8 @@ void hfa384x_int_rx(wlandevice_t *wlandev)
/* drop errors and whatnot in promisc mode */
if (( wlandev->netdev->flags & IFF_PROMISC ) &&
(HFA384x_RXSTATUS_ISFCSERR(rxdesc.status) || HFA384x_RXSTATUS_ISUNDECR(rxdesc.status)))
(HFA384x_RXSTATUS_ISFCSERR(rxdesc.status) ||
HFA384x_RXSTATUS_ISUNDECR(rxdesc.status)))
goto done;
#if 0