summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi/if_wivar.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-07-28 17:00:37 +0000
committerimp <imp@FreeBSD.org>2008-07-28 17:00:37 +0000
commit0c7c769464c641777d634b959d37a2f19a2ff375 (patch)
treefc43dd0254e67f74f54c83bf3741198c6801dd35 /sys/dev/wi/if_wivar.h
parent69cc3c8c8a5923af3dc96036837feb98bc94f202 (diff)
downloadFreeBSD-src-0c7c769464c641777d634b959d37a2f19a2ff375.zip
FreeBSD-src-0c7c769464c641777d634b959d37a2f19a2ff375.tar.gz
Export the hardware type (as number and name), the secondary firmware
revision and (on Prism cards) the primary firmware revision via sysctl. Move the printing of this information under bootverbose, since it is relatively easy to get to it now.
Diffstat (limited to 'sys/dev/wi/if_wivar.h')
-rw-r--r--sys/dev/wi/if_wivar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/wi/if_wivar.h b/sys/dev/wi/if_wivar.h
index a3e9e66..a66c74b 100644
--- a/sys/dev/wi/if_wivar.h
+++ b/sys/dev/wi/if_wivar.h
@@ -87,6 +87,8 @@ struct wi_softc {
#define WI_SYMBOL 3
int sc_pri_firmware_ver; /* Primary firmware */
int sc_sta_firmware_ver; /* Station firmware */
+ unsigned int sc_nic_id; /* Type of NIC */
+ char * sc_nic_name;
int wi_bus_type; /* Bus attachment type */
struct resource * local;
OpenPOWER on IntegriCloud