Deleted Added
full compact
ispreg.h (39235) ispreg.h (41518)
1/* $Id: ispreg.h,v 1.6 1998/09/08 01:09:46 mjacob Exp $ */
1/* $Id: ispreg.h,v 1.6 1998/09/08 01:09:46 mjacob Exp mjacob $ */
2/* ispreg.h 1.7 */
2/*
3 * Machine Independent (well, as best as possible) register
4 * definitions for Qlogic ISP SCSI adapters.
5 *
6 *---------------------------------------
7 * Copyright (c) 1997 by Matthew Jacob
8 * NASA/Ames Research Center
9 * All rights reserved.

--- 655 unchanged lines hidden (view full) ---

665 (((u_int64_t)(c)[18]) << 56) | \
666 (((u_int64_t)(c)[19]) << 48) | \
667 (((u_int64_t)(c)[20]) << 40) | \
668 (((u_int64_t)(c)[21]) << 32) | \
669 (((u_int64_t)(c)[22]) << 24) | \
670 (((u_int64_t)(c)[23]) << 16) | \
671 (((u_int64_t)(c)[24]) << 8) | \
672 (((u_int64_t)(c)[25]) << 0))
3/*
4 * Machine Independent (well, as best as possible) register
5 * definitions for Qlogic ISP SCSI adapters.
6 *
7 *---------------------------------------
8 * Copyright (c) 1997 by Matthew Jacob
9 * NASA/Ames Research Center
10 * All rights reserved.

--- 655 unchanged lines hidden (view full) ---

666 (((u_int64_t)(c)[18]) << 56) | \
667 (((u_int64_t)(c)[19]) << 48) | \
668 (((u_int64_t)(c)[20]) << 40) | \
669 (((u_int64_t)(c)[21]) << 32) | \
670 (((u_int64_t)(c)[22]) << 24) | \
671 (((u_int64_t)(c)[23]) << 16) | \
672 (((u_int64_t)(c)[24]) << 8) | \
673 (((u_int64_t)(c)[25]) << 0))
673#define ISP2100_NVRAM_HARDLOOPID(c) (c)[24]
674#define ISP2100_NVRAM_HARDLOOPID(c) (c)[26]
674
675#define ISP2100_NVRAM_HBA_DISABLE(c) ISPBSMX(c, 70, 0, 0x01)
676#define ISP2100_NVRAM_BIOS_DISABLE(c) ISPBSMX(c, 70, 1, 0x01)
677#define ISP2100_NVRAM_LUN_DISABLE(c) ISPBSMX(c, 70, 2, 0x01)
678#define ISP2100_NVRAM_ENABLE_SELECT_BOOT(c) ISPBSMX(c, 70, 3, 0x01)
679#define ISP2100_NVRAM_DISABLE_CODELOAD(c) ISPBSMX(c, 70, 4, 0x01)
680#define ISP2100_NVRAM_SET_CACHELINESZ(c) ISPBSMX(c, 70, 5, 0x01)
681

--- 12 unchanged lines hidden ---
675
676#define ISP2100_NVRAM_HBA_DISABLE(c) ISPBSMX(c, 70, 0, 0x01)
677#define ISP2100_NVRAM_BIOS_DISABLE(c) ISPBSMX(c, 70, 1, 0x01)
678#define ISP2100_NVRAM_LUN_DISABLE(c) ISPBSMX(c, 70, 2, 0x01)
679#define ISP2100_NVRAM_ENABLE_SELECT_BOOT(c) ISPBSMX(c, 70, 3, 0x01)
680#define ISP2100_NVRAM_DISABLE_CODELOAD(c) ISPBSMX(c, 70, 4, 0x01)
681#define ISP2100_NVRAM_SET_CACHELINESZ(c) ISPBSMX(c, 70, 5, 0x01)
682

--- 12 unchanged lines hidden ---