ReactOS 0.4.16-dev-112-g52265ae
|
Go to the source code of this file.
Classes | |
struct | BusLogic_FetchHostAdapterLocalRAMRequest |
struct | BusLogic_PCIHostAdapterInformation |
struct | BusLogic_BoardID |
struct | BusLogic_TargetFlags |
struct | BusLogic_ByteCounter |
struct | BusLogic_TargetStatistics |
struct | BusLogic_Configuration |
struct | BusLogic_SynchronousValue |
struct | BusLogic_SetupInformation |
struct | BusLogic_ExtendedSetupInformation |
struct | BusLogic_AutoSCSIData |
struct | BusLogic_ScatterGatherSegment |
struct | BusLogic_CCB |
struct | BusLogic_OutgoingMailbox |
struct | BusLogic_IncomingMailbox |
struct | _NONCACHED_EXTENSION |
struct | BusLogic_HostAdapter |
struct | _HW_DEVICE_EXTENSION |
struct | SCSI_Inquiry |
struct | BusLogic_WmiExtendedSetupInformation |
union | BusLogic_ControlRegister |
union | BusLogic_StatusRegister |
union | BusLogic_InterruptRegister |
union | BusLogic_GeometryRegister |
struct | BusLogic_ExtendedMailboxRequest |
Variables | |
static BusLogic_HostAdapterBusType_T | BusLogic_HostAdapterBusTypes [] |
#define BusLogic_AggressiveRoundRobinMode 0 |
Definition at line 105 of file BusLogic958.h.
#define BusLogic_Allocate14Bytes 0x00 |
Definition at line 109 of file BusLogic958.h.
#define BusLogic_AutoSCSI_BaseOffset 64 |
Definition at line 94 of file BusLogic958.h.
#define BusLogic_BIOS_BaseOffset 0 |
Definition at line 93 of file BusLogic958.h.
#define BusLogic_CDB_MaxLength 12 |
Definition at line 97 of file BusLogic958.h.
#define BusLogic_CommandParameterRegisterOffset 1 |
Definition at line 949 of file BusLogic958.h.
#define BusLogic_ControlRegisterOffset 0 |
Definition at line 947 of file BusLogic958.h.
#define BusLogic_DataInRegisterOffset 1 |
Definition at line 950 of file BusLogic958.h.
#define BusLogic_DefaultBusSettleTime 2 |
Definition at line 78 of file BusLogic958.h.
#define BusLogic_DisableAutoReqSense 0x01 |
Definition at line 110 of file BusLogic958.h.
#define BusLogic_GeometryRegisterOffset 3 |
Definition at line 952 of file BusLogic958.h.
#define BusLogic_InterruptRegisterOffset 2 |
Definition at line 951 of file BusLogic958.h.
#define BUSLOGIC_MAXIMUM_TAGS 128 |
Definition at line 67 of file BusLogic958.h.
#define BusLogic_MaxLogicalUnits 32 |
Definition at line 84 of file BusLogic958.h.
#define BusLogic_MaxMailboxes 211 |
Definition at line 90 of file BusLogic958.h.
#define BusLogic_MaxTaggedQueueDepth 128 |
Definition at line 72 of file BusLogic958.h.
#define BusLogic_MaxTargetDevices 16 |
Definition at line 81 of file BusLogic958.h.
#define BusLogic_ScatterGatherLimit 128 |
Definition at line 102 of file BusLogic958.h.
#define BusLogic_SizeBuckets 10 |
Definition at line 248 of file BusLogic958.h.
#define BusLogic_StatusRegisterOffset 0 |
Definition at line 948 of file BusLogic958.h.
#define BusLogic_StrictRoundRobinMode 1 |
Definition at line 106 of file BusLogic958.h.
#define ERROR 1 |
Definition at line 55 of file BusLogic958.h.
Definition at line 58 of file BusLogic958.h.
#define MAX_SG_LIMIT BusLogic_ScatterGatherLimit |
Definition at line 103 of file BusLogic958.h.
#define MAX_TRANSFER_SIZE 64 * 1024 |
Definition at line 61 of file BusLogic958.h.
#define SG_SUPPORT 1 |
Definition at line 63 of file BusLogic958.h.
#define TAG_QUEUING 1 |
Definition at line 65 of file BusLogic958.h.
#define TRACE 3 |
Definition at line 57 of file BusLogic958.h.
#define WARNING 2 |
Definition at line 56 of file BusLogic958.h.
typedef struct BusLogic_BoardID BusLogic_BoardID_T |
typedef unsigned int BusLogic_BusAddress_T |
Definition at line 172 of file BusLogic958.h.
typedef unsigned int BusLogic_ByteCount_T |
Definition at line 184 of file BusLogic958.h.
typedef struct BusLogic_CCB BusLogic_CCB_T |
typedef unsigned int BusLogic_CommandSizeBuckets_T[BusLogic_SizeBuckets] |
Definition at line 257 of file BusLogic958.h.
typedef union BusLogic_ControlRegister BusLogic_ControlRegister_T |
Definition at line 178 of file BusLogic958.h.
Definition at line 181 of file BusLogic958.h.
typedef union BusLogic_GeometryRegister BusLogic_GeometryRegister_T |
typedef UCHAR BusLogic_HostAdapterModelNumber_T[5] |
Definition at line 175 of file BusLogic958.h.
typedef UCHAR BusLogic_InstalledDevices8_T[8] |
Definition at line 1109 of file BusLogic958.h.
typedef unsigned short BusLogic_InstalledDevices_T |
Definition at line 1115 of file BusLogic958.h.
typedef union BusLogic_InterruptRegister BusLogic_InterruptRegister_T |
typedef UCHAR BusLogic_RequestedReplyLength_T |
Definition at line 169 of file BusLogic958.h.
typedef union BusLogic_StatusRegister BusLogic_StatusRegister_T |
typedef UCHAR BusLogic_SynchronousPeriod_T[BusLogic_MaxTargetDevices] |
Definition at line 1103 of file BusLogic958.h.
typedef BusLogic_SynchronousValue_T BusLogic_SynchronousValues8_T[8] |
Definition at line 310 of file BusLogic958.h.
typedef struct BusLogic_CCB * PBuslogic_CCB_T |
typedef struct _HW_DEVICE_EXTENSION * PHW_DEVICE_EXTENSION |
typedef struct _NONCACHED_EXTENSION * PNONCACHED_EXTENSION |
typedef UCHAR SCSI_CDB_T[BusLogic_CDB_MaxLength] |
Definition at line 537 of file BusLogic958.h.
typedef struct SCSI_Inquiry SCSI_Inquiry_T |
Enumerator | |
---|---|
BusLogic_OutgoingMailboxFree | |
BusLogic_MailboxStartCommand | |
BusLogic_MailboxAbortCommand |
Definition at line 437 of file BusLogic958.h.
Enumerator | |
---|---|
BusLogic_BIOS_Disk_Not_Installed | |
BusLogic_BIOS_Disk_Installed_64x32 | |
BusLogic_BIOS_Disk_Installed_128x32 | |
BusLogic_BIOS_Disk_Installed_255x63 |
Definition at line 1005 of file BusLogic958.h.
Enumerator | |
---|---|
BusLogic_InitiatorCCB | |
BusLogic_TargetCCB | |
BusLogic_InitiatorCCB_ScatterGather | |
BusLogic_InitiatorCCB_ResidualDataLength | |
BusLogic_InitiatorCCB_ScatterGatherResidual | |
BusLogic_BusDeviceReset |
Definition at line 459 of file BusLogic958.h.
Enumerator | |
---|---|
BusLogic_CCB_Free | |
BusLogic_CCB_Active | |
BusLogic_CCB_Completed | |
BusLogic_CCB_Reset |
Definition at line 540 of file BusLogic958.h.
Definition at line 448 of file BusLogic958.h.
Enumerator | |
---|---|
BusLogic_UncheckedDataTransfer | |
BusLogic_DataInLengthChecked | |
BusLogic_DataOutLengthChecked | |
BusLogic_NoDataTransfer |
Definition at line 471 of file BusLogic958.h.
Enumerator | |
---|---|
BusLogic_Unknown_Bus | |
BusLogic_ISA_Bus | |
BusLogic_EISA_Bus | |
BusLogic_PCI_Bus | |
BusLogic_VESA_Bus | |
BusLogic_MCA_Bus |
Definition at line 645 of file BusLogic958.h.
Definition at line 482 of file BusLogic958.h.
Enumerator | |
---|---|
BusLogic_MultiMaster | |
BusLogic_FlashPoint |
Definition at line 638 of file BusLogic958.h.
Enumerator | |
---|---|
BusLogic_IO_330 | |
BusLogic_IO_334 | |
BusLogic_IO_230 | |
BusLogic_IO_234 | |
BusLogic_IO_130 | |
BusLogic_IO_134 | |
BusLogic_IO_Disable | |
BusLogic_IO_Disable2 |
Definition at line 196 of file BusLogic958.h.
Definition at line 117 of file BusLogic958.h.
Enumerator | |
---|---|
BusLogic_SimpleQueueTag | |
BusLogic_HeadOfQueueTag | |
BusLogic_OrderedQueueTag | |
BusLogic_ReservedQT |
Definition at line 520 of file BusLogic958.h.
Enumerator | |
---|---|
BusLogic_LegacyLUNFormatCCB | |
BusLogic_ExtendedLUNFormatCCB |
Definition at line 1128 of file BusLogic958.h.
Enumerator | |
---|---|
BusLogic_OperationGood | |
BusLogic_CheckCondition | |
BusLogic_DeviceBusy |
Definition at line 512 of file BusLogic958.h.
SCSI_ADAPTER_CONTROL_STATUS NTAPI BT958HwAdapterControl | ( | IN PVOID | HwDeviceExtension, |
IN SCSI_ADAPTER_CONTROL_TYPE | ControlType, | ||
IN PVOID | Parameters | ||
) |
Definition at line 2651 of file BusLogic958.c.
Referenced by DriverEntry().
ULONG NTAPI BT958HwFindAdapter | ( | IN PVOID | HwDeviceExtension, |
IN PVOID | Context, | ||
IN PVOID | BusInformation, | ||
IN PCHAR | ArgumentString, | ||
IN OUT PPORT_CONFIGURATION_INFORMATION | ConfigInfo, | ||
OUT PBOOLEAN | Again | ||
) |
Definition at line 173 of file BusLogic958.c.
Referenced by DriverEntry().
Definition at line 2620 of file BusLogic958.c.
Referenced by BT958HwAdapterControl(), and DriverEntry().
Definition at line 1973 of file BusLogic958.c.
Referenced by DriverEntry().
Definition at line 2448 of file BusLogic958.c.
Referenced by BT958HwInterrupt(), BT958HwStartIO(), and DriverEntry().
Definition at line 1458 of file BusLogic958.c.
Referenced by DriverEntry().
void BT958WmiInitialize | ( | IN PHW_DEVICE_EXTENSION | HwDeviceExtension | ) |
Definition at line 52 of file wmi.c.
BOOLEAN BusLogic_CheckHostAdapter | ( | BusLogic_HostAdapter_T * | HostAdapter | ) |
Definition at line 569 of file BusLogic958.c.
Referenced by Buslogic_InitBT958().
int BusLogic_Command | ( | BusLogic_HostAdapter_T * | HostAdapter, |
BusLogic_OperationCode_T | OperationCode, | ||
void * | ParameterData, | ||
int | ParameterLength, | ||
void * | ReplyData, | ||
int | ReplyLength | ||
) |
Definition at line 606 of file BusLogic958.c.
Referenced by BT958HwAdapterControl(), BT958HwInitialize(), BT958ReadExtendedSetupInfo(), BusLogic_CheckHostAdapter(), Buslogic_InitBT958(), BusLogic_InitializeHostAdapter(), BusLogic_ReadHostAdapterConfiguration(), and BusLogic_TargetDeviceInquiry().
UCHAR BusLogic_ComputeResultCode | ( | BusLogic_HostAdapter_T * | HostAdapter, |
BusLogic_HostAdapterStatus_T | HostAdapterStatus, | ||
BusLogic_TargetDeviceStatus_T | TargetDeviceStatus, | ||
UCHAR | SenseDataLength | ||
) |
Definition at line 2309 of file BusLogic958.c.
Referenced by BusLogic_ProcessCompletedCCBs().
|
static |
Definition at line 1049 of file BusLogic958.h.
Referenced by BusLogic_HardwareResetHostAdapter().
BOOLEAN BusLogic_HardwareResetHostAdapter | ( | BusLogic_HostAdapter_T * | HostAdapter, |
BOOLEAN | HardReset | ||
) |
Definition at line 470 of file BusLogic958.c.
Referenced by BT958HwAdapterControl(), BT958HwResetBus(), and Buslogic_InitBT958().
|
static |
Definition at line 1139 of file BusLogic958.h.
Referenced by BusLogic_QueueCommand().
Definition at line 1179 of file BusLogic958.h.
Referenced by BusLogic_ProcessCompletedCCBs(), and BusLogic_SendBusDeviceReset().
|
static |
Definition at line 1152 of file BusLogic958.h.
Referenced by BusLogic_QueueCommand().
BOOLEAN Buslogic_InitBT958 | ( | PHW_DEVICE_EXTENSION | deviceExtension, |
PPORT_CONFIGURATION_INFORMATION | ConfigInfo | ||
) |
Definition at line 316 of file BusLogic958.c.
Referenced by BT958HwFindAdapter().
BOOLEAN BusLogic_InitializeHostAdapter | ( | PHW_DEVICE_EXTENSION | deviceExtension, |
PPORT_CONFIGURATION_INFORMATION | ConfigInfo | ||
) |
Definition at line 1175 of file BusLogic958.c.
Referenced by BT958HwAdapterControl(), BT958HwResetBus(), and Buslogic_InitBT958().
|
static |
Definition at line 1028 of file BusLogic958.h.
Referenced by BT958HwInterrupt(), and BusLogic_Command().
BOOLEAN BusLogic_ProbeHostAdapter | ( | BusLogic_HostAdapter_T * | HostAdapter | ) |
Definition at line 416 of file BusLogic958.c.
Referenced by Buslogic_InitBT958().
void BusLogic_ProcessCompletedCCBs | ( | PHW_DEVICE_EXTENSION | deviceExtension | ) |
Definition at line 2139 of file BusLogic958.c.
Referenced by BT958HwInterrupt().
int BusLogic_QueueCommand | ( | IN PVOID | HwDeviceExtension, |
IN PSCSI_REQUEST_BLOCK | Srb, | ||
IN PBuslogic_CCB_T | ccb | ||
) |
void BusLogic_QueueCompletedCCB | ( | PHW_DEVICE_EXTENSION | deviceExtension, |
BusLogic_CCB_T * | CCB | ||
) |
Definition at line 2108 of file BusLogic958.c.
Referenced by BusLogic_ScanIncomingMailboxes().
|
static |
Definition at line 1077 of file BusLogic958.h.
Referenced by BusLogic_Command(), and BusLogic_HardwareResetHostAdapter().
|
static |
Definition at line 1071 of file BusLogic958.h.
Referenced by BusLogic_ProbeHostAdapter(), and BusLogic_ReadHostAdapterConfiguration().
BOOLEAN BusLogic_ReadHostAdapterConfiguration | ( | BusLogic_HostAdapter_T * | HostAdapter | ) |
save it in the Host Adapter structure. The BIOS is disabled if the
Definition at line 833 of file BusLogic958.c.
Referenced by Buslogic_InitBT958().
|
static |
Definition at line 1065 of file BusLogic958.h.
Referenced by BT958HwInterrupt(), BusLogic_Command(), and BusLogic_ProbeHostAdapter().
|
static |
Definition at line 1059 of file BusLogic958.h.
Referenced by BusLogic_Command(), BusLogic_HardwareResetHostAdapter(), and BusLogic_ProbeHostAdapter().
void BusLogic_ScanIncomingMailboxes | ( | PHW_DEVICE_EXTENSION | deviceExtension | ) |
Definition at line 2048 of file BusLogic958.c.
Referenced by BT958HwInterrupt().
BOOLEAN BusLogic_SendBusDeviceReset | ( | IN PVOID | HwDeviceExtension, |
PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 2535 of file BusLogic958.c.
Referenced by BT958HwStartIO().
|
static |
Definition at line 1039 of file BusLogic958.h.
Referenced by BusLogic_Command(), and BusLogic_HardwareResetHostAdapter().
|
static |
Definition at line 1094 of file BusLogic958.h.
Referenced by BusLogic_WriteOutgoingMailbox().
BOOLEAN BusLogic_TargetDeviceInquiry | ( | BusLogic_HostAdapter_T * | HostAdapter | ) |
Definition at line 1316 of file BusLogic958.c.
Referenced by Buslogic_InitBT958().
|
static |
Definition at line 1083 of file BusLogic958.h.
Referenced by BusLogic_Command(), and BusLogic_StartMailboxCommand().
BOOLEAN BusLogic_WriteOutgoingMailbox | ( | PHW_DEVICE_EXTENSION | deviceExtension, |
BusLogic_ActionCode_T | ActionCode, | ||
BusLogic_CCB_T * | CCB | ||
) |
Definition at line 1679 of file BusLogic958.c.
Referenced by BT958HwStartIO(), and BusLogic_SendBusDeviceReset().
Definition at line 6177 of file atapi.c.
Definition at line 930 of file BusLogic958.h.
Referenced by BusLogic_ReadDataInRegister(), BusLogic_ReadGeometryRegister(), BusLogic_ReadInterruptRegister(), and BusLogic_ReadStatusRegister().
Definition at line 936 of file BusLogic958.h.
Referenced by BusLogic_HardReset(), BusLogic_InterruptReset(), BusLogic_SoftReset(), and BusLogic_WriteCommandParameterRegister().
|
static |
Definition at line 659 of file BusLogic958.h.
Referenced by BusLogic_ReadHostAdapterConfiguration().