Author: ekohl
Date: Sun Jan 10 22:39:25 2016
New Revision: 70574
URL:
http://svn.reactos.org/svn/reactos?rev=70574&view=rev
Log:
[SCSIPORT]
Fix indentation! No code changes!
Modified:
trunk/reactos/drivers/storage/scsiport/scsiport_int.h
Modified: trunk/reactos/drivers/storage/scsiport/scsiport_int.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/scsiport_int.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/scsiport/scsiport_int.h [iso-8859-1] Sun Jan 10 22:39:25
2016
@@ -51,10 +51,10 @@
typedef enum _SCSI_PORT_TIMER_STATES
{
- IDETimerIdle,
- IDETimerCmdWait,
- IDETimerResetWaitForBusyNegate,
- IDETimerResetWaitForDrdyAssert
+ IDETimerIdle,
+ IDETimerCmdWait,
+ IDETimerResetWaitForBusyNegate,
+ IDETimerResetWaitForDrdyAssert
} SCSI_PORT_TIMER_STATES;
typedef struct _CONFIGURATION_INFO
@@ -80,12 +80,12 @@
typedef struct _SCSI_PORT_DEVICE_BASE
{
- LIST_ENTRY List;
-
- PVOID MappedAddress;
- ULONG NumberOfBytes;
- SCSI_PHYSICAL_ADDRESS IoAddress;
- ULONG SystemIoBusNumber;
+ LIST_ENTRY List;
+
+ PVOID MappedAddress;
+ ULONG NumberOfBytes;
+ SCSI_PHYSICAL_ADDRESS IoAddress;
+ ULONG SystemIoBusNumber;
} SCSI_PORT_DEVICE_BASE, *PSCSI_PORT_DEVICE_BASE;
typedef struct _SCSI_SG_ADDRESS
@@ -116,38 +116,38 @@
typedef struct _SCSI_PORT_LUN_EXTENSION
{
- UCHAR PathId;
- UCHAR TargetId;
- UCHAR Lun;
-
- ULONG Flags;
-
- struct _SCSI_PORT_LUN_EXTENSION *Next;
-
- BOOLEAN DeviceClaimed;
- PDEVICE_OBJECT DeviceObject;
-
- INQUIRYDATA InquiryData;
-
- KDEVICE_QUEUE DeviceQueue;
- ULONG SortKey;
- ULONG QueueCount;
- ULONG MaxQueueCount;
-
- ULONG AttemptCount;
- LONG RequestTimeout;
-
- PIRP BusyRequest;
- PIRP PendingRequest;
-
- struct _SCSI_PORT_LUN_EXTENSION *ReadyLun;
- struct _SCSI_PORT_LUN_EXTENSION *CompletedAbortRequests;
-
- SCSI_REQUEST_BLOCK_INFO SrbInfo;
-
- /* More data? */
-
- UCHAR MiniportLunExtension[1]; /* must be the last entry */
+ UCHAR PathId;
+ UCHAR TargetId;
+ UCHAR Lun;
+
+ ULONG Flags;
+
+ struct _SCSI_PORT_LUN_EXTENSION *Next;
+
+ BOOLEAN DeviceClaimed;
+ PDEVICE_OBJECT DeviceObject;
+
+ INQUIRYDATA InquiryData;
+
+ KDEVICE_QUEUE DeviceQueue;
+ ULONG SortKey;
+ ULONG QueueCount;
+ ULONG MaxQueueCount;
+
+ ULONG AttemptCount;
+ LONG RequestTimeout;
+
+ PIRP BusyRequest;
+ PIRP PendingRequest;
+
+ struct _SCSI_PORT_LUN_EXTENSION *ReadyLun;
+ struct _SCSI_PORT_LUN_EXTENSION *CompletedAbortRequests;
+
+ SCSI_REQUEST_BLOCK_INFO SrbInfo;
+
+ /* More data? */
+
+ UCHAR MiniportLunExtension[1]; /* must be the last entry */
} SCSI_PORT_LUN_EXTENSION, *PSCSI_PORT_LUN_EXTENSION;
/* Structures for inquiries support */
@@ -206,94 +206,94 @@
typedef struct _SCSI_PORT_DEVICE_EXTENSION
{
- ULONG Length;
- ULONG MiniPortExtensionSize;
- PPORT_CONFIGURATION_INFORMATION PortConfig;
- PBUSES_CONFIGURATION_INFORMATION BusesConfig;
- PVOID NonCachedExtension;
- ULONG PortNumber;
-
- LONG ActiveRequestCounter;
- ULONG SrbFlags;
- ULONG Flags;
-
- ULONG BusNum;
- ULONG MaxTargedIds;
- ULONG MaxLunCount;
-
- KSPIN_LOCK IrqLock; /* Used when there are 2 irqs */
- ULONG SequenceNumber; /* Global sequence number for packets */
- KSPIN_LOCK SpinLock;
- PKINTERRUPT Interrupt[2];
- PIRP CurrentIrp;
- ULONG IrpFlags;
-
- SCSI_PORT_TIMER_STATES TimerState;
- LONG TimerCount;
-
- KTIMER MiniportTimer;
- KDPC MiniportTimerDpc;
-
- PMAPPED_ADDRESS MappedAddressList;
-
- ULONG LunExtensionSize;
- PSCSI_PORT_LUN_EXTENSION LunExtensionList[LUS_NUMBER];
-
- SCSI_PORT_INTERRUPT_DATA InterruptData;
-
- /* SRB extension stuff*/
- ULONG SrbExtensionSize;
- PVOID SrbExtensionBuffer;
- PVOID FreeSrbExtensions;
-
- /* SRB information */
- PSCSI_REQUEST_BLOCK_INFO SrbInfo;
- PSCSI_REQUEST_BLOCK_INFO FreeSrbInfo;
- ULONG SrbDataCount;
-
- IO_SCSI_CAPABILITIES PortCapabilities;
-
- PDEVICE_OBJECT DeviceObject;
- PCONTROLLER_OBJECT ControllerObject;
-
- PHW_INITIALIZE HwInitialize;
- PHW_STARTIO HwStartIo;
- PHW_INTERRUPT HwInterrupt;
- PHW_RESET_BUS HwResetBus;
- PHW_DMA_STARTED HwDmaStarted;
- PHW_TIMER HwScsiTimer;
-
- PSCSI_REQUEST_BLOCK OriginalSrb;
- SCSI_REQUEST_BLOCK InternalSrb;
- SENSE_DATA InternalSenseData;
-
- /* DMA related stuff */
- PADAPTER_OBJECT AdapterObject;
- ULONG MapRegisterCount;
- BOOLEAN MapBuffers;
- BOOLEAN MapRegisters;
- PVOID MapRegisterBase;
-
- /* Features */
- BOOLEAN CachesData;
- BOOLEAN SupportsTaggedQueuing;
- BOOLEAN SupportsAutoSense;
- BOOLEAN MultipleReqsPerLun;
- BOOLEAN ReceiveEvent;
-
- PHYSICAL_ADDRESS PhysicalAddress;
- ULONG CommonBufferLength;
- ULONG InterruptLevel[2];
- ULONG IoAddress;
-
- BOOLEAN NeedSrbExtensionAlloc;
- BOOLEAN NeedSrbDataAlloc;
-
- ULONG RequestsNumber;
-
- ULONG InterruptCount;
-
- UCHAR MiniPortDeviceExtension[1]; /* must be the last entry */
+ ULONG Length;
+ ULONG MiniPortExtensionSize;
+ PPORT_CONFIGURATION_INFORMATION PortConfig;
+ PBUSES_CONFIGURATION_INFORMATION BusesConfig;
+ PVOID NonCachedExtension;
+ ULONG PortNumber;
+
+ LONG ActiveRequestCounter;
+ ULONG SrbFlags;
+ ULONG Flags;
+
+ ULONG BusNum;
+ ULONG MaxTargedIds;
+ ULONG MaxLunCount;
+
+ KSPIN_LOCK IrqLock; /* Used when there are 2 irqs */
+ ULONG SequenceNumber; /* Global sequence number for packets */
+ KSPIN_LOCK SpinLock;
+ PKINTERRUPT Interrupt[2];
+ PIRP CurrentIrp;
+ ULONG IrpFlags;
+
+ SCSI_PORT_TIMER_STATES TimerState;
+ LONG TimerCount;
+
+ KTIMER MiniportTimer;
+ KDPC MiniportTimerDpc;
+
+ PMAPPED_ADDRESS MappedAddressList;
+
+ ULONG LunExtensionSize;
+ PSCSI_PORT_LUN_EXTENSION LunExtensionList[LUS_NUMBER];
+
+ SCSI_PORT_INTERRUPT_DATA InterruptData;
+
+ /* SRB extension stuff*/
+ ULONG SrbExtensionSize;
+ PVOID SrbExtensionBuffer;
+ PVOID FreeSrbExtensions;
+
+ /* SRB information */
+ PSCSI_REQUEST_BLOCK_INFO SrbInfo;
+ PSCSI_REQUEST_BLOCK_INFO FreeSrbInfo;
+ ULONG SrbDataCount;
+
+ IO_SCSI_CAPABILITIES PortCapabilities;
+
+ PDEVICE_OBJECT DeviceObject;
+ PCONTROLLER_OBJECT ControllerObject;
+
+ PHW_INITIALIZE HwInitialize;
+ PHW_STARTIO HwStartIo;
+ PHW_INTERRUPT HwInterrupt;
+ PHW_RESET_BUS HwResetBus;
+ PHW_DMA_STARTED HwDmaStarted;
+ PHW_TIMER HwScsiTimer;
+
+ PSCSI_REQUEST_BLOCK OriginalSrb;
+ SCSI_REQUEST_BLOCK InternalSrb;
+ SENSE_DATA InternalSenseData;
+
+ /* DMA related stuff */
+ PADAPTER_OBJECT AdapterObject;
+ ULONG MapRegisterCount;
+ BOOLEAN MapBuffers;
+ BOOLEAN MapRegisters;
+ PVOID MapRegisterBase;
+
+ /* Features */
+ BOOLEAN CachesData;
+ BOOLEAN SupportsTaggedQueuing;
+ BOOLEAN SupportsAutoSense;
+ BOOLEAN MultipleReqsPerLun;
+ BOOLEAN ReceiveEvent;
+
+ PHYSICAL_ADDRESS PhysicalAddress;
+ ULONG CommonBufferLength;
+ ULONG InterruptLevel[2];
+ ULONG IoAddress;
+
+ BOOLEAN NeedSrbExtensionAlloc;
+ BOOLEAN NeedSrbDataAlloc;
+
+ ULONG RequestsNumber;
+
+ ULONG InterruptCount;
+
+ UCHAR MiniPortDeviceExtension[1]; /* must be the last entry */
} SCSI_PORT_DEVICE_EXTENSION, *PSCSI_PORT_DEVICE_EXTENSION;
typedef struct _RESETBUS_PARAMS