diff options
author | Paul Richards <paul@FreeBSD.org> | 1993-10-24 04:27:00 +0000 |
---|---|---|
committer | Paul Richards <paul@FreeBSD.org> | 1993-10-24 04:27:00 +0000 |
commit | 568eb51a2666e512cfe1cc666502305345e72d69 (patch) | |
tree | 2c63e8d984986b95f993e271bd593a40586224ca /sys/i386/isa/if_isreg.h | |
parent | e597e9115dd80412d3660732097874e8d0aaa042 (diff) | |
download | src-568eb51a2666e512cfe1cc666502305345e72d69.tar.gz src-568eb51a2666e512cfe1cc666502305345e72d69.zip |
Moved allocation of memory into is_attach so that malloc gets
called once when card is attached. Solved problem with driver
getting hosed when a reset takes place.
Removed init_block array -- now part of malloced memory. No more
static declarations left.
Added code so that debug ioctl actually does something.
ifconfig is0 debug will now switch on debugging code.
Other general cleanups.
Notes
Notes:
svn path=/head/; revision=664
Diffstat (limited to 'sys/i386/isa/if_isreg.h')
-rw-r--r-- | sys/i386/isa/if_isreg.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/i386/isa/if_isreg.h b/sys/i386/isa/if_isreg.h index 5e69064d9bfb..4dbca17e44d9 100644 --- a/sys/i386/isa/if_isreg.h +++ b/sys/i386/isa/if_isreg.h @@ -11,9 +11,19 @@ * of this software, nor does the author assume any responsibility * for damages incurred with its use. * - * $Id$ + * $Id: if_isreg.h,v 1.2 1993/10/16 13:45:55 rgrimes Exp $ */ +/* + * Initialize multicast address hashing registers to accept + * all multicasts (only used when in promiscuous mode) + */ +#if NBPFILTER > 0 +#define MULTI_INIT_ADDR 0xff +#else +#define MULTI_INIT_ADDR 0 +#endif + /* Declarations specific to this driver */ #define NTBUF 2 #define TLEN 1 |