aacreg.h (151330) | aacreg.h (174412) |
---|---|
1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2000-2001 Scott Long 4 * Copyright (c) 2000 BSDi 5 * Copyright (c) 2001 Adaptec, Inc. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2000-2001 Scott Long 4 * Copyright (c) 2000 BSDi 5 * Copyright (c) 2001 Adaptec, Inc. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $FreeBSD: head/sys/dev/aac/aacreg.h 151330 2005-10-14 16:22:45Z scottl $ | 29 * $FreeBSD: head/sys/dev/aac/aacreg.h 174412 2007-12-07 18:05:41Z emaste $ |
30 */ 31 32/* 33 * Data structures defining the interface between the driver and the Adaptec 34 * 'FSA' adapters. Note that many field names and comments here are taken 35 * verbatim from the Adaptec driver source in order to make comparing the 36 * two slightly easier. 37 */ --- 561 unchanged lines hidden (view full) --- 599 u_int32_t ClusterChannelMask; 600 u_int64_t SerialNumber; 601 AAC_BatteryPlatform batteryPlatform; 602 u_int32_t SupportedOptions; /* supported features of this 603 * controller */ 604 AAC_OemFlavor OemVariant; 605} __packed; 606 | 30 */ 31 32/* 33 * Data structures defining the interface between the driver and the Adaptec 34 * 'FSA' adapters. Note that many field names and comments here are taken 35 * verbatim from the Adaptec driver source in order to make comparing the 36 * two slightly easier. 37 */ --- 561 unchanged lines hidden (view full) --- 599 u_int32_t ClusterChannelMask; 600 u_int64_t SerialNumber; 601 AAC_BatteryPlatform batteryPlatform; 602 u_int32_t SupportedOptions; /* supported features of this 603 * controller */ 604 AAC_OemFlavor OemVariant; 605} __packed; 606 |
607/* 608 * Structure used to respond to a RequestSupplementAdapterInfo fib. 609 */ 610struct vpd_info { 611 u_int8_t AssemblyPn[8]; 612 u_int8_t FruPn[8]; 613 u_int8_t BatteryFruPn[8]; 614 u_int8_t EcVersionString[8]; 615 u_int8_t Tsid[12]; 616} __packed; 617 618#define MFG_PCBA_SERIAL_NUMBER_WIDTH 12 619#define MFG_WWN_WIDTH 8 620 621struct aac_supplement_adapter_info { 622 /* The assigned Adapter Type Text, extra byte for null termination */ 623 int8_t AdapterTypeText[17+1]; 624 /* Pad for the text above */ 625 int8_t Pad[2]; 626 /* Size in bytes of the memory that is flashed */ 627 u_int32_t FlashMemoryByteSize; 628 /* The assigned IMAGEID_xxx for this adapter */ 629 u_int32_t FlashImageId; 630 /* 631 * The maximum number of Phys available on a SATA/SAS 632 * Controller, 0 otherwise 633 */ 634 u_int32_t MaxNumberPorts; 635 /* Version of expansion area */ 636 u_int32_t Version; 637 u_int32_t FeatureBits; 638 u_int8_t SlotNumber; 639 u_int8_t ReservedPad0[3]; 640 u_int8_t BuildDate[12]; 641 /* The current number of Ports on a SAS controller, 0 otherwise */ 642 u_int32_t CurrentNumberPorts; 643 644 struct vpd_info VpdInfo; 645 646 /* Firmware Revision (Vmaj.min-dash.) */ 647 struct FsaRevision FlashFirmwareRevision; 648 u_int32_t RaidTypeMorphOptions; 649 /* Firmware's boot code Revision (Vmaj.min-dash.) */ 650 struct FsaRevision FlashFirmwareBootRevision; 651 /* PCBA serial no. from th MFG sector */ 652 u_int8_t MfgPcbaSerialNo[MFG_PCBA_SERIAL_NUMBER_WIDTH]; 653 /* WWN from the MFG sector */ 654 u_int8_t MfgWWNName[MFG_WWN_WIDTH]; 655 /* Growth Area for future expansion ((7*4) - 12 - 8)/4 = 2 words */ 656 u_int32_t ReservedGrowth[2]; 657} __packed; 658 |
|
607/* 608 * Monitor/Kernel interface. 609 */ 610 611/* 612 * Synchronous commands to the monitor/kernel. 613 */ 614#define AAC_MONKER_BREAKPOINT 0x04 --- 891 unchanged lines hidden --- | 659/* 660 * Monitor/Kernel interface. 661 */ 662 663/* 664 * Synchronous commands to the monitor/kernel. 665 */ 666#define AAC_MONKER_BREAKPOINT 0x04 --- 891 unchanged lines hidden --- |