aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>1999-11-21 03:15:11 +0000
committerMatt Jacob <mjacob@FreeBSD.org>1999-11-21 03:15:11 +0000
commit6db20c3127630c1a3864077db347d70ea32a5b14 (patch)
tree87362a571ed0516f2b476ca815ab9cd990043f74 /sys
parent840e8002a043a77c2b103db4c45708e68128cca6 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isp/isp_freebsd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h
index 5b8020fff8e6..d2a0c99118ce 100644
--- a/sys/dev/isp/isp_freebsd.h
+++ b/sys/dev/isp/isp_freebsd.h
@@ -83,9 +83,9 @@
#define ISP_SCSI_XFER_T struct ccb_scsiio
struct isposinfo {
+ u_int64_t default_wwn;
char name[8];
int unit;
- int seed;
struct cam_sim *sim;
struct cam_path *path;
struct cam_sim *sim2;
@@ -210,7 +210,7 @@ extern void isp_uninit(struct ispsoftc *);
#define ISP_SWIZZLE_SNS_REQ(a, b)
#define ISP_UNSWIZZLE_SNS_RSP(a, b, c)
-#define IDPRINTF(lev, x) if (isp->isp_dblev >= lev) printf x
+#define IDPRINTF(lev, x) if (isp->isp_dblev >= (u_int8_t) lev) printf x
#define PRINTF printf
#define CFGPRINTF if (bootverbose || DFLT_DBLEVEL > 0) printf
@@ -218,7 +218,7 @@ extern void isp_uninit(struct ispsoftc *);
#define FC_FW_READY_DELAY (5 * 1000000)
#define DEFAULT_LOOPID(x) 109
-#define DEFAULT_WWN(x) (0x0000feeb00000000LL + (x)->isp_osinfo.seed)
+#define DEFAULT_WWN(x) (x)->isp_osinfo.default_wwn
#define INLINE __inline
#include <dev/isp/isp_inline.h>