ispreg.h (60218) | ispreg.h (61769) |
---|---|
1/* $FreeBSD: head/sys/dev/isp/ispreg.h 60218 2000-05-09 01:06:47Z mjacob $ */ | 1/* $FreeBSD: head/sys/dev/isp/ispreg.h 61769 2000-06-18 04:43:55Z mjacob $ */ |
2/* 3 * Machine Independent (well, as best as possible) register 4 * definitions for Qlogic ISP SCSI adapters. 5 * 6 * Copyright (c) 1997, 1998, 1999 by Matthew Jacob 7 * NASA/Ames Research Center 8 * All rights reserved. 9 * --- 684 unchanged lines hidden (view full) --- 694 */ 695 696#define ISP1080_NVRAM_SIZE 256 697 698#define ISP1080_NVRAM_VERSION(c) ISP_NVRAM_VERSION(c) 699 700/* Offset 5 */ 701/* | 2/* 3 * Machine Independent (well, as best as possible) register 4 * definitions for Qlogic ISP SCSI adapters. 5 * 6 * Copyright (c) 1997, 1998, 1999 by Matthew Jacob 7 * NASA/Ames Research Center 8 * All rights reserved. 9 * --- 684 unchanged lines hidden (view full) --- 694 */ 695 696#define ISP1080_NVRAM_SIZE 256 697 698#define ISP1080_NVRAM_VERSION(c) ISP_NVRAM_VERSION(c) 699 700/* Offset 5 */ 701/* |
702 uint8_t bios_configuration_mode :2; 703 uint8_t bios_disable :1; 704 uint8_t selectable_scsi_boot_enable :1; 705 uint8_t cd_rom_boot_enable :1; 706 uint8_t disable_loading_risc_code :1; 707 uint8_t enable_64bit_addressing :1; 708 uint8_t unused_7 :1; | 702 u_int8_t bios_configuration_mode :2; 703 u_int8_t bios_disable :1; 704 u_int8_t selectable_scsi_boot_enable :1; 705 u_int8_t cd_rom_boot_enable :1; 706 u_int8_t disable_loading_risc_code :1; 707 u_int8_t enable_64bit_addressing :1; 708 u_int8_t unused_7 :1; |
709 */ 710 711/* Offsets 6, 7 */ 712/* | 709 */ 710 711/* Offsets 6, 7 */ 712/* |
713 uint8_t boot_lun_number :5; 714 uint8_t scsi_bus_number :1; 715 uint8_t unused_6 :1; 716 uint8_t unused_7 :1; 717 uint8_t boot_target_number :4; 718 uint8_t unused_12 :1; 719 uint8_t unused_13 :1; 720 uint8_t unused_14 :1; 721 uint8_t unused_15 :1; | 713 u_int8_t boot_lun_number :5; 714 u_int8_t scsi_bus_number :1; 715 u_int8_t unused_6 :1; 716 u_int8_t unused_7 :1; 717 u_int8_t boot_target_number :4; 718 u_int8_t unused_12 :1; 719 u_int8_t unused_13 :1; 720 u_int8_t unused_14 :1; 721 u_int8_t unused_15 :1; |
722 */ 723 724#define ISP1080_NVRAM_HBA_ENABLE(c) ISPBSMX(c, 16, 3, 0x01) 725 726#define ISP1080_NVRAM_BURST_ENABLE(c) ISPBSMX(c, 16, 1, 0x01) 727#define ISP1080_NVRAM_FIFO_THRESHOLD(c) ISPBSMX(c, 16, 4, 0x0f) 728 729#define ISP1080_NVRAM_AUTO_TERM_SUPPORT(c) ISPBSMX(c, 17, 7, 0x01) --- 203 unchanged lines hidden --- | 722 */ 723 724#define ISP1080_NVRAM_HBA_ENABLE(c) ISPBSMX(c, 16, 3, 0x01) 725 726#define ISP1080_NVRAM_BURST_ENABLE(c) ISPBSMX(c, 16, 1, 0x01) 727#define ISP1080_NVRAM_FIFO_THRESHOLD(c) ISPBSMX(c, 16, 4, 0x0f) 728 729#define ISP1080_NVRAM_AUTO_TERM_SUPPORT(c) ISPBSMX(c, 17, 7, 0x01) --- 203 unchanged lines hidden --- |