- Revert 44301
[reactos.git] / drivers / storage / port / buslogic / BT958dt.h
1 /*
2 * vmscsi-- Miniport driver for the Buslogic BT 958 SCSI Controller
3 * under Windows 2000/XP/Server 2003
4 *
5 * Based in parts on the buslogic driver for the same device
6 * available with the GNU Linux Operating System.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 */
22
23
24 #ifndef _BT958dt_h_
25 #define _BT958dt_h_
26
27 // BT958ExtendedSetupInfoGuid - BT958ExtendedSetupInfo
28 // BT958 Extended Setup Information (Operation Code 8Dh)
29 #define BT958Wmi_ExtendedSetupInfo_Guid \
30 { 0xcbd60d59,0xce49,0x4cf4, { 0xab,0x7a,0xde,0xc6,0xf4,0x98,0x8d,0x1a } }
31
32 DEFINE_GUID(BT958ExtendedSetupInfoGuid_GUID, \
33 0xcbd60d59,0xce49,0x4cf4,0xab,0x7a,0xde,0xc6,0xf4,0x98,0x8d,0x1a);
34
35
36 typedef struct _BT958ExtendedSetupInfo
37 {
38 //
39 UCHAR BusType;
40 #define BT958ExtendedSetupInfo_BusType_SIZE sizeof(UCHAR)
41 #define BT958ExtendedSetupInfo_BusType_ID 1
42
43 //
44 UCHAR BIOS_Address;
45 #define BT958ExtendedSetupInfo_BIOS_Address_SIZE sizeof(UCHAR)
46 #define BT958ExtendedSetupInfo_BIOS_Address_ID 2
47
48 //
49 USHORT ScatterGatherLimit;
50 #define BT958ExtendedSetupInfo_ScatterGatherLimit_SIZE sizeof(USHORT)
51 #define BT958ExtendedSetupInfo_ScatterGatherLimit_ID 3
52
53 //
54 UCHAR MailboxCount;
55 #define BT958ExtendedSetupInfo_MailboxCount_SIZE sizeof(UCHAR)
56 #define BT958ExtendedSetupInfo_MailboxCount_ID 4
57
58 //
59 ULONG BaseMailboxAddress;
60 #define BT958ExtendedSetupInfo_BaseMailboxAddress_SIZE sizeof(ULONG)
61 #define BT958ExtendedSetupInfo_BaseMailboxAddress_ID 5
62
63 //
64 BOOLEAN FastOnEISA;
65 #define BT958ExtendedSetupInfo_FastOnEISA_SIZE sizeof(BOOLEAN)
66 #define BT958ExtendedSetupInfo_FastOnEISA_ID 6
67
68 //
69 BOOLEAN LevelSensitiveInterrupt;
70 #define BT958ExtendedSetupInfo_LevelSensitiveInterrupt_SIZE sizeof(BOOLEAN)
71 #define BT958ExtendedSetupInfo_LevelSensitiveInterrupt_ID 7
72
73 //
74 UCHAR FirmwareRevision[3];
75 #define BT958ExtendedSetupInfo_FirmwareRevision_SIZE sizeof(UCHAR[3])
76 #define BT958ExtendedSetupInfo_FirmwareRevision_ID 8
77
78 //
79 BOOLEAN HostWideSCSI;
80 #define BT958ExtendedSetupInfo_HostWideSCSI_SIZE sizeof(BOOLEAN)
81 #define BT958ExtendedSetupInfo_HostWideSCSI_ID 9
82
83 //
84 BOOLEAN HostDifferentialSCSI;
85 #define BT958ExtendedSetupInfo_HostDifferentialSCSI_SIZE sizeof(BOOLEAN)
86 #define BT958ExtendedSetupInfo_HostDifferentialSCSI_ID 10
87
88 //
89 BOOLEAN HostSupportsSCAM;
90 #define BT958ExtendedSetupInfo_HostSupportsSCAM_SIZE sizeof(BOOLEAN)
91 #define BT958ExtendedSetupInfo_HostSupportsSCAM_ID 11
92
93 //
94 BOOLEAN HostUltraSCSI;
95 #define BT958ExtendedSetupInfo_HostUltraSCSI_SIZE sizeof(BOOLEAN)
96 #define BT958ExtendedSetupInfo_HostUltraSCSI_ID 12
97
98 //
99 BOOLEAN HostSmartTermination;
100 #define BT958ExtendedSetupInfo_HostSmartTermination_SIZE sizeof(BOOLEAN)
101 #define BT958ExtendedSetupInfo_HostSmartTermination_ID 13
102
103 } BT958ExtendedSetupInfo, *PBT958ExtendedSetupInfo;
104
105 #endif