summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpt/mpt.h
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2006-07-16 06:05:44 +0000
committermjacob <mjacob@FreeBSD.org>2006-07-16 06:05:44 +0000
commit7841889a36f38eb91594ec6be24d7575d57b69e8 (patch)
tree0b36f99a66286a2bfa41e5e1ce04de3b6d601343 /sys/dev/mpt/mpt.h
parentcada3266ec712ab3cbcbace9df32a3924b21c31f (diff)
downloadFreeBSD-src-7841889a36f38eb91594ec6be24d7575d57b69e8.zip
FreeBSD-src-7841889a36f38eb91594ec6be24d7575d57b69e8.tar.gz
Add sysctl information about things like WWNN/WWPN.
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/mpt/mpt.h')
-rw-r--r--sys/dev/mpt/mpt.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/dev/mpt/mpt.h b/sys/dev/mpt/mpt.h
index 910305b..48fa2a8 100644
--- a/sys/dev/mpt/mpt.h
+++ b/sys/dev/mpt/mpt.h
@@ -560,6 +560,20 @@ struct mpt_softc {
#define mpt_fcport_speed cfg.fc._port_speed
} fc;
} cfg;
+#if __FreeBSD_version >= 500000
+ /*
+ * Device config information stored up for sysctl to access
+ */
+ union {
+ struct {
+ unsigned int initiator_id;
+ } spi;
+ struct {
+ char wwnn[19];
+ char wwpn[19];
+ } fc;
+ } scinfo;
+#endif
/* Controller Info for RAID information */
CONFIG_PAGE_IOC_2 * ioc_page2;
OpenPOWER on IntegriCloud