diff options
author | Matt Jacob <mjacob@FreeBSD.org> | 2000-05-09 01:06:47 +0000 |
---|---|---|
committer | Matt Jacob <mjacob@FreeBSD.org> | 2000-05-09 01:06:47 +0000 |
commit | a96d513df90816922a9ea26a8d4875df51e54895 (patch) | |
tree | 3af8fe1f1d53965f111c7774d6cd5c95e49573a6 /sys/dev/isp/ispreg.h | |
parent | c41767dc4e2457c83e732d2c1a84326e28d1b313 (diff) |
Notes
Diffstat (limited to 'sys/dev/isp/ispreg.h')
-rw-r--r-- | sys/dev/isp/ispreg.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/dev/isp/ispreg.h b/sys/dev/isp/ispreg.h index 7ca0543009404..62ec7673b7000 100644 --- a/sys/dev/isp/ispreg.h +++ b/sys/dev/isp/ispreg.h @@ -887,7 +887,7 @@ #define ISP2100_NVRAM_RETRY_COUNT(c) (c)[16] #define ISP2100_NVRAM_RETRY_DELAY(c) (c)[17] -#define ISP2100_NVRAM_NODE_NAME(c) (\ +#define ISP2100_NVRAM_PORT_NAME(c) (\ (((u_int64_t)(c)[18]) << 56) | \ (((u_int64_t)(c)[19]) << 48) | \ (((u_int64_t)(c)[20]) << 40) | \ @@ -896,8 +896,19 @@ (((u_int64_t)(c)[23]) << 16) | \ (((u_int64_t)(c)[24]) << 8) | \ (((u_int64_t)(c)[25]) << 0)) + #define ISP2100_NVRAM_HARDLOOPID(c) (c)[26] +#define ISP2100_NVRAM_NODE_NAME(c) (\ + (((u_int64_t)(c)[30]) << 56) | \ + (((u_int64_t)(c)[31]) << 48) | \ + (((u_int64_t)(c)[32]) << 40) | \ + (((u_int64_t)(c)[33]) << 32) | \ + (((u_int64_t)(c)[34]) << 24) | \ + (((u_int64_t)(c)[35]) << 16) | \ + (((u_int64_t)(c)[36]) << 8) | \ + (((u_int64_t)(c)[37]) << 0)) + #define ISP2100_NVRAM_HBA_OPTIONS(c) (c)[70] #define ISP2100_NVRAM_HBA_DISABLE(c) ISPBSMX(c, 70, 0, 0x01) #define ISP2100_NVRAM_BIOS_DISABLE(c) ISPBSMX(c, 70, 1, 0x01) |