diff options
author | imp <imp@FreeBSD.org> | 2002-04-04 21:40:37 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-04-04 21:40:37 +0000 |
commit | f2332be5f1aea18fe855332c7d362b667236b59a (patch) | |
tree | 37a83e29860b4663ad1e3e36f61179e2b07eab02 /sys/dev/wi/if_wivar.h | |
parent | a74c71d7cd207a74d1a201cb8b58253e42e412bf (diff) | |
download | FreeBSD-src-f2332be5f1aea18fe855332c7d362b667236b59a.zip FreeBSD-src-f2332be5f1aea18fe855332c7d362b667236b59a.tar.gz |
MFNetBSD:
wi.c 1.64: Table driven IDs (ichiro)
1.59: Don't use magic numbers (ichiro)
Also, added Sony, Lucent Embedded Ids and fix minor bugs for lucent
cards (and submit those changes back to ichiro-san)
Obtained from: NetBSD
Diffstat (limited to 'sys/dev/wi/if_wivar.h')
-rw-r--r-- | sys/dev/wi/if_wivar.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/dev/wi/if_wivar.h b/sys/dev/wi/if_wivar.h index 876c613..d86f0b7 100644 --- a/sys/dev/wi/if_wivar.h +++ b/sys/dev/wi/if_wivar.h @@ -112,9 +112,10 @@ struct wi_softc { bus_space_tag_t wi_bmemtag; void * wi_intrhand; int sc_firmware_type; -#define WI_LUCENT 0 -#define WI_INTERSIL 1 -#define WI_SYMBOL 2 +#define WI_NOTYPE 0 +#define WI_LUCENT 1 +#define WI_INTERSIL 2 +#define WI_SYMBOL 3 int sc_pri_firmware_ver; /* Primary firmware */ int sc_sta_firmware_ver; /* Station firmware */ int sc_enabled; @@ -177,6 +178,12 @@ struct wi_softc { }; +struct wi_card_ident { + u_int16_t card_id; + char *card_name; + u_int8_t firm_type; +}; + #define WI_LOCK(_sc) #define WI_UNLOCK(_sc) |