diff options
Diffstat (limited to 'drivers/block/DAC960.c')
-rw-r--r-- | drivers/block/DAC960.c | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c index 8d81a3a64c07..6ad28dfb1469 100644 --- a/drivers/block/DAC960.c +++ b/drivers/block/DAC960.c | |||
@@ -177,7 +177,7 @@ static void DAC960_AnnounceDriver(DAC960_Controller_T *Controller) | |||
177 | DAC960_Failure prints a standardized error message, and then returns false. | 177 | DAC960_Failure prints a standardized error message, and then returns false. |
178 | */ | 178 | */ |
179 | 179 | ||
180 | static boolean DAC960_Failure(DAC960_Controller_T *Controller, | 180 | static bool DAC960_Failure(DAC960_Controller_T *Controller, |
181 | unsigned char *ErrorMessage) | 181 | unsigned char *ErrorMessage) |
182 | { | 182 | { |
183 | DAC960_Error("While configuring DAC960 PCI RAID Controller at\n", | 183 | DAC960_Error("While configuring DAC960 PCI RAID Controller at\n", |
@@ -206,7 +206,7 @@ static boolean DAC960_Failure(DAC960_Controller_T *Controller, | |||
206 | that are passed in. | 206 | that are passed in. |
207 | */ | 207 | */ |
208 | 208 | ||
209 | static boolean init_dma_loaf(struct pci_dev *dev, struct dma_loaf *loaf, | 209 | static bool init_dma_loaf(struct pci_dev *dev, struct dma_loaf *loaf, |
210 | size_t len) | 210 | size_t len) |
211 | { | 211 | { |
212 | void *cpu_addr; | 212 | void *cpu_addr; |
@@ -250,7 +250,7 @@ static void free_dma_loaf(struct pci_dev *dev, struct dma_loaf *loaf_handle) | |||
250 | failure. | 250 | failure. |
251 | */ | 251 | */ |
252 | 252 | ||
253 | static boolean DAC960_CreateAuxiliaryStructures(DAC960_Controller_T *Controller) | 253 | static bool DAC960_CreateAuxiliaryStructures(DAC960_Controller_T *Controller) |
254 | { | 254 | { |
255 | int CommandAllocationLength, CommandAllocationGroupSize; | 255 | int CommandAllocationLength, CommandAllocationGroupSize; |
256 | int CommandsRemaining = 0, CommandIdentifier, CommandGroupByteCount; | 256 | int CommandsRemaining = 0, CommandIdentifier, CommandGroupByteCount; |
@@ -790,7 +790,7 @@ static void DAC960_ExecuteCommand(DAC960_Command_T *Command) | |||
790 | on failure. | 790 | on failure. |
791 | */ | 791 | */ |
792 | 792 | ||
793 | static boolean DAC960_V1_ExecuteType3(DAC960_Controller_T *Controller, | 793 | static bool DAC960_V1_ExecuteType3(DAC960_Controller_T *Controller, |
794 | DAC960_V1_CommandOpcode_T CommandOpcode, | 794 | DAC960_V1_CommandOpcode_T CommandOpcode, |
795 | dma_addr_t DataDMA) | 795 | dma_addr_t DataDMA) |
796 | { | 796 | { |
@@ -814,7 +814,7 @@ static boolean DAC960_V1_ExecuteType3(DAC960_Controller_T *Controller, | |||
814 | on failure. | 814 | on failure. |
815 | */ | 815 | */ |
816 | 816 | ||
817 | static boolean DAC960_V1_ExecuteType3B(DAC960_Controller_T *Controller, | 817 | static bool DAC960_V1_ExecuteType3B(DAC960_Controller_T *Controller, |
818 | DAC960_V1_CommandOpcode_T CommandOpcode, | 818 | DAC960_V1_CommandOpcode_T CommandOpcode, |
819 | unsigned char CommandOpcode2, | 819 | unsigned char CommandOpcode2, |
820 | dma_addr_t DataDMA) | 820 | dma_addr_t DataDMA) |
@@ -840,7 +840,7 @@ static boolean DAC960_V1_ExecuteType3B(DAC960_Controller_T *Controller, | |||
840 | on failure. | 840 | on failure. |
841 | */ | 841 | */ |
842 | 842 | ||
843 | static boolean DAC960_V1_ExecuteType3D(DAC960_Controller_T *Controller, | 843 | static bool DAC960_V1_ExecuteType3D(DAC960_Controller_T *Controller, |
844 | DAC960_V1_CommandOpcode_T CommandOpcode, | 844 | DAC960_V1_CommandOpcode_T CommandOpcode, |
845 | unsigned char Channel, | 845 | unsigned char Channel, |
846 | unsigned char TargetID, | 846 | unsigned char TargetID, |
@@ -870,7 +870,7 @@ static boolean DAC960_V1_ExecuteType3D(DAC960_Controller_T *Controller, | |||
870 | Return data in The controller's HealthStatusBuffer, which is dma-able memory | 870 | Return data in The controller's HealthStatusBuffer, which is dma-able memory |
871 | */ | 871 | */ |
872 | 872 | ||
873 | static boolean DAC960_V2_GeneralInfo(DAC960_Controller_T *Controller) | 873 | static bool DAC960_V2_GeneralInfo(DAC960_Controller_T *Controller) |
874 | { | 874 | { |
875 | DAC960_Command_T *Command = DAC960_AllocateCommand(Controller); | 875 | DAC960_Command_T *Command = DAC960_AllocateCommand(Controller); |
876 | DAC960_V2_CommandMailbox_T *CommandMailbox = &Command->V2.CommandMailbox; | 876 | DAC960_V2_CommandMailbox_T *CommandMailbox = &Command->V2.CommandMailbox; |
@@ -908,7 +908,7 @@ static boolean DAC960_V2_GeneralInfo(DAC960_Controller_T *Controller) | |||
908 | memory buffer. | 908 | memory buffer. |
909 | */ | 909 | */ |
910 | 910 | ||
911 | static boolean DAC960_V2_NewControllerInfo(DAC960_Controller_T *Controller) | 911 | static bool DAC960_V2_NewControllerInfo(DAC960_Controller_T *Controller) |
912 | { | 912 | { |
913 | DAC960_Command_T *Command = DAC960_AllocateCommand(Controller); | 913 | DAC960_Command_T *Command = DAC960_AllocateCommand(Controller); |
914 | DAC960_V2_CommandMailbox_T *CommandMailbox = &Command->V2.CommandMailbox; | 914 | DAC960_V2_CommandMailbox_T *CommandMailbox = &Command->V2.CommandMailbox; |
@@ -946,7 +946,7 @@ static boolean DAC960_V2_NewControllerInfo(DAC960_Controller_T *Controller) | |||
946 | Data is returned in the controller's V2.NewLogicalDeviceInformation | 946 | Data is returned in the controller's V2.NewLogicalDeviceInformation |
947 | */ | 947 | */ |
948 | 948 | ||
949 | static boolean DAC960_V2_NewLogicalDeviceInfo(DAC960_Controller_T *Controller, | 949 | static bool DAC960_V2_NewLogicalDeviceInfo(DAC960_Controller_T *Controller, |
950 | unsigned short LogicalDeviceNumber) | 950 | unsigned short LogicalDeviceNumber) |
951 | { | 951 | { |
952 | DAC960_Command_T *Command = DAC960_AllocateCommand(Controller); | 952 | DAC960_Command_T *Command = DAC960_AllocateCommand(Controller); |
@@ -997,7 +997,7 @@ static boolean DAC960_V2_NewLogicalDeviceInfo(DAC960_Controller_T *Controller, | |||
997 | 997 | ||
998 | */ | 998 | */ |
999 | 999 | ||
1000 | static boolean DAC960_V2_NewPhysicalDeviceInfo(DAC960_Controller_T *Controller, | 1000 | static bool DAC960_V2_NewPhysicalDeviceInfo(DAC960_Controller_T *Controller, |
1001 | unsigned char Channel, | 1001 | unsigned char Channel, |
1002 | unsigned char TargetID, | 1002 | unsigned char TargetID, |
1003 | unsigned char LogicalUnit) | 1003 | unsigned char LogicalUnit) |
@@ -1082,7 +1082,7 @@ static void DAC960_V2_ConstructNewUnitSerialNumber( | |||
1082 | memory buffer. | 1082 | memory buffer. |
1083 | */ | 1083 | */ |
1084 | 1084 | ||
1085 | static boolean DAC960_V2_NewInquiryUnitSerialNumber(DAC960_Controller_T *Controller, | 1085 | static bool DAC960_V2_NewInquiryUnitSerialNumber(DAC960_Controller_T *Controller, |
1086 | int Channel, int TargetID, int LogicalUnit) | 1086 | int Channel, int TargetID, int LogicalUnit) |
1087 | { | 1087 | { |
1088 | DAC960_Command_T *Command; | 1088 | DAC960_Command_T *Command; |
@@ -1110,7 +1110,7 @@ static boolean DAC960_V2_NewInquiryUnitSerialNumber(DAC960_Controller_T *Control | |||
1110 | success and false on failure. | 1110 | success and false on failure. |
1111 | */ | 1111 | */ |
1112 | 1112 | ||
1113 | static boolean DAC960_V2_DeviceOperation(DAC960_Controller_T *Controller, | 1113 | static bool DAC960_V2_DeviceOperation(DAC960_Controller_T *Controller, |
1114 | DAC960_V2_IOCTL_Opcode_T IOCTL_Opcode, | 1114 | DAC960_V2_IOCTL_Opcode_T IOCTL_Opcode, |
1115 | DAC960_V2_OperationDevice_T | 1115 | DAC960_V2_OperationDevice_T |
1116 | OperationDevice) | 1116 | OperationDevice) |
@@ -1142,7 +1142,7 @@ static boolean DAC960_V2_DeviceOperation(DAC960_Controller_T *Controller, | |||
1142 | other dma mapped memory. | 1142 | other dma mapped memory. |
1143 | */ | 1143 | */ |
1144 | 1144 | ||
1145 | static boolean DAC960_V1_EnableMemoryMailboxInterface(DAC960_Controller_T | 1145 | static bool DAC960_V1_EnableMemoryMailboxInterface(DAC960_Controller_T |
1146 | *Controller) | 1146 | *Controller) |
1147 | { | 1147 | { |
1148 | void __iomem *ControllerBaseAddress = Controller->BaseAddress; | 1148 | void __iomem *ControllerBaseAddress = Controller->BaseAddress; |
@@ -1348,7 +1348,7 @@ skip_mailboxes: | |||
1348 | the structures that are contained in that region. | 1348 | the structures that are contained in that region. |
1349 | */ | 1349 | */ |
1350 | 1350 | ||
1351 | static boolean DAC960_V2_EnableMemoryMailboxInterface(DAC960_Controller_T | 1351 | static bool DAC960_V2_EnableMemoryMailboxInterface(DAC960_Controller_T |
1352 | *Controller) | 1352 | *Controller) |
1353 | { | 1353 | { |
1354 | void __iomem *ControllerBaseAddress = Controller->BaseAddress; | 1354 | void __iomem *ControllerBaseAddress = Controller->BaseAddress; |
@@ -1526,7 +1526,7 @@ static boolean DAC960_V2_EnableMemoryMailboxInterface(DAC960_Controller_T | |||
1526 | from DAC960 V1 Firmware Controllers and initializes the Controller structure. | 1526 | from DAC960 V1 Firmware Controllers and initializes the Controller structure. |
1527 | */ | 1527 | */ |
1528 | 1528 | ||
1529 | static boolean DAC960_V1_ReadControllerConfiguration(DAC960_Controller_T | 1529 | static bool DAC960_V1_ReadControllerConfiguration(DAC960_Controller_T |
1530 | *Controller) | 1530 | *Controller) |
1531 | { | 1531 | { |
1532 | DAC960_V1_Enquiry2_T *Enquiry2; | 1532 | DAC960_V1_Enquiry2_T *Enquiry2; |
@@ -1767,7 +1767,7 @@ static boolean DAC960_V1_ReadControllerConfiguration(DAC960_Controller_T | |||
1767 | from DAC960 V2 Firmware Controllers and initializes the Controller structure. | 1767 | from DAC960 V2 Firmware Controllers and initializes the Controller structure. |
1768 | */ | 1768 | */ |
1769 | 1769 | ||
1770 | static boolean DAC960_V2_ReadControllerConfiguration(DAC960_Controller_T | 1770 | static bool DAC960_V2_ReadControllerConfiguration(DAC960_Controller_T |
1771 | *Controller) | 1771 | *Controller) |
1772 | { | 1772 | { |
1773 | DAC960_V2_ControllerInfo_T *ControllerInfo = | 1773 | DAC960_V2_ControllerInfo_T *ControllerInfo = |
@@ -1898,7 +1898,7 @@ static boolean DAC960_V2_ReadControllerConfiguration(DAC960_Controller_T | |||
1898 | for Controller. | 1898 | for Controller. |
1899 | */ | 1899 | */ |
1900 | 1900 | ||
1901 | static boolean DAC960_ReportControllerConfiguration(DAC960_Controller_T | 1901 | static bool DAC960_ReportControllerConfiguration(DAC960_Controller_T |
1902 | *Controller) | 1902 | *Controller) |
1903 | { | 1903 | { |
1904 | DAC960_Info("Configuring Mylex %s PCI RAID Controller\n", | 1904 | DAC960_Info("Configuring Mylex %s PCI RAID Controller\n", |
@@ -1947,7 +1947,7 @@ static boolean DAC960_ReportControllerConfiguration(DAC960_Controller_T | |||
1947 | Controller. | 1947 | Controller. |
1948 | */ | 1948 | */ |
1949 | 1949 | ||
1950 | static boolean DAC960_V1_ReadDeviceConfiguration(DAC960_Controller_T | 1950 | static bool DAC960_V1_ReadDeviceConfiguration(DAC960_Controller_T |
1951 | *Controller) | 1951 | *Controller) |
1952 | { | 1952 | { |
1953 | struct dma_loaf local_dma; | 1953 | struct dma_loaf local_dma; |
@@ -2095,7 +2095,7 @@ static boolean DAC960_V1_ReadDeviceConfiguration(DAC960_Controller_T | |||
2095 | device connected to Controller. | 2095 | device connected to Controller. |
2096 | */ | 2096 | */ |
2097 | 2097 | ||
2098 | static boolean DAC960_V2_ReadDeviceConfiguration(DAC960_Controller_T | 2098 | static bool DAC960_V2_ReadDeviceConfiguration(DAC960_Controller_T |
2099 | *Controller) | 2099 | *Controller) |
2100 | { | 2100 | { |
2101 | unsigned char Channel = 0, TargetID = 0, LogicalUnit = 0; | 2101 | unsigned char Channel = 0, TargetID = 0, LogicalUnit = 0; |
@@ -2219,7 +2219,7 @@ static void DAC960_SanitizeInquiryData(DAC960_SCSI_Inquiry_T | |||
2219 | Information for DAC960 V1 Firmware Controllers. | 2219 | Information for DAC960 V1 Firmware Controllers. |
2220 | */ | 2220 | */ |
2221 | 2221 | ||
2222 | static boolean DAC960_V1_ReportDeviceConfiguration(DAC960_Controller_T | 2222 | static bool DAC960_V1_ReportDeviceConfiguration(DAC960_Controller_T |
2223 | *Controller) | 2223 | *Controller) |
2224 | { | 2224 | { |
2225 | int LogicalDriveNumber, Channel, TargetID; | 2225 | int LogicalDriveNumber, Channel, TargetID; |
@@ -2316,7 +2316,7 @@ static boolean DAC960_V1_ReportDeviceConfiguration(DAC960_Controller_T | |||
2316 | Information for DAC960 V2 Firmware Controllers. | 2316 | Information for DAC960 V2 Firmware Controllers. |
2317 | */ | 2317 | */ |
2318 | 2318 | ||
2319 | static boolean DAC960_V2_ReportDeviceConfiguration(DAC960_Controller_T | 2319 | static bool DAC960_V2_ReportDeviceConfiguration(DAC960_Controller_T |
2320 | *Controller) | 2320 | *Controller) |
2321 | { | 2321 | { |
2322 | int PhysicalDeviceIndex, LogicalDriveNumber; | 2322 | int PhysicalDeviceIndex, LogicalDriveNumber; |
@@ -2501,7 +2501,7 @@ static boolean DAC960_V2_ReportDeviceConfiguration(DAC960_Controller_T | |||
2501 | associated with Controller. | 2501 | associated with Controller. |
2502 | */ | 2502 | */ |
2503 | 2503 | ||
2504 | static boolean DAC960_RegisterBlockDevice(DAC960_Controller_T *Controller) | 2504 | static bool DAC960_RegisterBlockDevice(DAC960_Controller_T *Controller) |
2505 | { | 2505 | { |
2506 | int MajorNumber = DAC960_MAJOR + Controller->ControllerNumber; | 2506 | int MajorNumber = DAC960_MAJOR + Controller->ControllerNumber; |
2507 | int n; | 2507 | int n; |
@@ -2582,7 +2582,7 @@ static void DAC960_ComputeGenericDiskInfo(DAC960_Controller_T *Controller) | |||
2582 | It returns true for fatal errors and false otherwise. | 2582 | It returns true for fatal errors and false otherwise. |
2583 | */ | 2583 | */ |
2584 | 2584 | ||
2585 | static boolean DAC960_ReportErrorStatus(DAC960_Controller_T *Controller, | 2585 | static bool DAC960_ReportErrorStatus(DAC960_Controller_T *Controller, |
2586 | unsigned char ErrorStatus, | 2586 | unsigned char ErrorStatus, |
2587 | unsigned char Parameter0, | 2587 | unsigned char Parameter0, |
2588 | unsigned char Parameter1) | 2588 | unsigned char Parameter1) |
@@ -3048,7 +3048,7 @@ Failure: | |||
3048 | DAC960_InitializeController initializes Controller. | 3048 | DAC960_InitializeController initializes Controller. |
3049 | */ | 3049 | */ |
3050 | 3050 | ||
3051 | static boolean | 3051 | static bool |
3052 | DAC960_InitializeController(DAC960_Controller_T *Controller) | 3052 | DAC960_InitializeController(DAC960_Controller_T *Controller) |
3053 | { | 3053 | { |
3054 | if (DAC960_ReadControllerConfiguration(Controller) && | 3054 | if (DAC960_ReadControllerConfiguration(Controller) && |
@@ -3445,8 +3445,8 @@ static void DAC960_RequestFunction(struct request_queue *RequestQueue) | |||
3445 | individual Buffer. | 3445 | individual Buffer. |
3446 | */ | 3446 | */ |
3447 | 3447 | ||
3448 | static inline boolean DAC960_ProcessCompletedRequest(DAC960_Command_T *Command, | 3448 | static inline bool DAC960_ProcessCompletedRequest(DAC960_Command_T *Command, |
3449 | boolean SuccessfulIO) | 3449 | bool SuccessfulIO) |
3450 | { | 3450 | { |
3451 | struct request *Request = Command->Request; | 3451 | struct request *Request = Command->Request; |
3452 | int UpToDate; | 3452 | int UpToDate; |
@@ -3572,7 +3572,7 @@ static void DAC960_V1_ProcessCompletedCommand(DAC960_Command_T *Command) | |||
3572 | else if (CommandType == DAC960_ReadRetryCommand || | 3572 | else if (CommandType == DAC960_ReadRetryCommand || |
3573 | CommandType == DAC960_WriteRetryCommand) | 3573 | CommandType == DAC960_WriteRetryCommand) |
3574 | { | 3574 | { |
3575 | boolean normal_completion; | 3575 | bool normal_completion; |
3576 | #ifdef FORCE_RETRY_FAILURE_DEBUG | 3576 | #ifdef FORCE_RETRY_FAILURE_DEBUG |
3577 | static int retry_count = 1; | 3577 | static int retry_count = 1; |
3578 | #endif | 3578 | #endif |
@@ -4659,7 +4659,7 @@ static void DAC960_V2_ProcessCompletedCommand(DAC960_Command_T *Command) | |||
4659 | else if (CommandType == DAC960_ReadRetryCommand || | 4659 | else if (CommandType == DAC960_ReadRetryCommand || |
4660 | CommandType == DAC960_WriteRetryCommand) | 4660 | CommandType == DAC960_WriteRetryCommand) |
4661 | { | 4661 | { |
4662 | boolean normal_completion; | 4662 | bool normal_completion; |
4663 | 4663 | ||
4664 | #ifdef FORCE_RETRY_FAILURE_DEBUG | 4664 | #ifdef FORCE_RETRY_FAILURE_DEBUG |
4665 | static int retry_count = 1; | 4665 | static int retry_count = 1; |
@@ -5632,7 +5632,7 @@ static void DAC960_MonitoringTimerFunction(unsigned long TimerData) | |||
5632 | &Controller->V2.ControllerInformation; | 5632 | &Controller->V2.ControllerInformation; |
5633 | unsigned int StatusChangeCounter = | 5633 | unsigned int StatusChangeCounter = |
5634 | Controller->V2.HealthStatusBuffer->StatusChangeCounter; | 5634 | Controller->V2.HealthStatusBuffer->StatusChangeCounter; |
5635 | boolean ForceMonitoringCommand = false; | 5635 | bool ForceMonitoringCommand = false; |
5636 | if (time_after(jiffies, Controller->SecondaryMonitoringTime | 5636 | if (time_after(jiffies, Controller->SecondaryMonitoringTime |
5637 | + DAC960_SecondaryMonitoringInterval)) | 5637 | + DAC960_SecondaryMonitoringInterval)) |
5638 | { | 5638 | { |
@@ -5696,7 +5696,7 @@ static void DAC960_MonitoringTimerFunction(unsigned long TimerData) | |||
5696 | necessary. It returns true if there is enough room and false otherwise. | 5696 | necessary. It returns true if there is enough room and false otherwise. |
5697 | */ | 5697 | */ |
5698 | 5698 | ||
5699 | static boolean DAC960_CheckStatusBuffer(DAC960_Controller_T *Controller, | 5699 | static bool DAC960_CheckStatusBuffer(DAC960_Controller_T *Controller, |
5700 | unsigned int ByteCount) | 5700 | unsigned int ByteCount) |
5701 | { | 5701 | { |
5702 | unsigned char *NewStatusBuffer; | 5702 | unsigned char *NewStatusBuffer; |
@@ -5744,7 +5744,7 @@ static void DAC960_Message(DAC960_MessageLevel_T MessageLevel, | |||
5744 | ...) | 5744 | ...) |
5745 | { | 5745 | { |
5746 | static unsigned char Buffer[DAC960_LineBufferSize]; | 5746 | static unsigned char Buffer[DAC960_LineBufferSize]; |
5747 | static boolean BeginningOfLine = true; | 5747 | static bool BeginningOfLine = true; |
5748 | va_list Arguments; | 5748 | va_list Arguments; |
5749 | int Length = 0; | 5749 | int Length = 0; |
5750 | va_start(Arguments, Controller); | 5750 | va_start(Arguments, Controller); |
@@ -5837,7 +5837,7 @@ static void DAC960_Message(DAC960_MessageLevel_T MessageLevel, | |||
5837 | Channel and TargetID and returns true on success and false on failure. | 5837 | Channel and TargetID and returns true on success and false on failure. |
5838 | */ | 5838 | */ |
5839 | 5839 | ||
5840 | static boolean DAC960_ParsePhysicalDevice(DAC960_Controller_T *Controller, | 5840 | static bool DAC960_ParsePhysicalDevice(DAC960_Controller_T *Controller, |
5841 | char *UserCommandString, | 5841 | char *UserCommandString, |
5842 | unsigned char *Channel, | 5842 | unsigned char *Channel, |
5843 | unsigned char *TargetID) | 5843 | unsigned char *TargetID) |
@@ -5870,7 +5870,7 @@ static boolean DAC960_ParsePhysicalDevice(DAC960_Controller_T *Controller, | |||
5870 | returns true on success and false on failure. | 5870 | returns true on success and false on failure. |
5871 | */ | 5871 | */ |
5872 | 5872 | ||
5873 | static boolean DAC960_ParseLogicalDrive(DAC960_Controller_T *Controller, | 5873 | static bool DAC960_ParseLogicalDrive(DAC960_Controller_T *Controller, |
5874 | char *UserCommandString, | 5874 | char *UserCommandString, |
5875 | unsigned char *LogicalDriveNumber) | 5875 | unsigned char *LogicalDriveNumber) |
5876 | { | 5876 | { |
@@ -5951,7 +5951,7 @@ static void DAC960_V1_SetDeviceState(DAC960_Controller_T *Controller, | |||
5951 | Controllers. | 5951 | Controllers. |
5952 | */ | 5952 | */ |
5953 | 5953 | ||
5954 | static boolean DAC960_V1_ExecuteUserCommand(DAC960_Controller_T *Controller, | 5954 | static bool DAC960_V1_ExecuteUserCommand(DAC960_Controller_T *Controller, |
5955 | unsigned char *UserCommand) | 5955 | unsigned char *UserCommand) |
5956 | { | 5956 | { |
5957 | DAC960_Command_T *Command; | 5957 | DAC960_Command_T *Command; |
@@ -6166,7 +6166,7 @@ failure: | |||
6166 | on failure. | 6166 | on failure. |
6167 | */ | 6167 | */ |
6168 | 6168 | ||
6169 | static boolean DAC960_V2_TranslatePhysicalDevice(DAC960_Command_T *Command, | 6169 | static bool DAC960_V2_TranslatePhysicalDevice(DAC960_Command_T *Command, |
6170 | unsigned char Channel, | 6170 | unsigned char Channel, |
6171 | unsigned char TargetID, | 6171 | unsigned char TargetID, |
6172 | unsigned short | 6172 | unsigned short |
@@ -6213,7 +6213,7 @@ static boolean DAC960_V2_TranslatePhysicalDevice(DAC960_Command_T *Command, | |||
6213 | Controllers. | 6213 | Controllers. |
6214 | */ | 6214 | */ |
6215 | 6215 | ||
6216 | static boolean DAC960_V2_ExecuteUserCommand(DAC960_Controller_T *Controller, | 6216 | static bool DAC960_V2_ExecuteUserCommand(DAC960_Controller_T *Controller, |
6217 | unsigned char *UserCommand) | 6217 | unsigned char *UserCommand) |
6218 | { | 6218 | { |
6219 | DAC960_Command_T *Command; | 6219 | DAC960_Command_T *Command; |