[PATCH 13/91] staging: unisys: get rid of typedef for CHANNEL_CLIENTSTATE

2014-10-23 Thread Benjamin Romer
Remove the typedef for CHANNEL_CLIENTSTATE and just use enum channel_clientstate instead. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/channel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 05/91] staging: unisys: fix typedef for VMCALL_MONITOR_INTERFACE_METHOD_TUPLE

2014-10-23 Thread Benjamin Romer
Get rid of the typedef for VMCALL_MONITOR_INTERFACE_METHOD_TUPLE in favor of enum vmcall_monitor_interface_method_tuple. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/vmcallinterface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH 02/91] staging: unisys: fix indentation on vbuschannel_devinfo_to_string()

2014-10-23 Thread Benjamin Romer
Fix the parameter indentation for vbuschannel_devinfo_to_string(), in vbusdeviceinfo.h. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging

[PATCH 10/91] staging: unisys: remove channel mismatch macros

2014-10-23 Thread Benjamin Romer
Simplify the code in channel.h by removing CHANNEL_GUID_MISMATCH, CHANNEL_u64_MISMATCH, and CHANNEL_U32_MISMATCH, and printing the messages directly instead. The CamelCase names in the functions that used to use these macros will be fixed in a later patch. Signed-off-by: Benjamin Romer

[PATCH 03/91] staging: unisys: clean up extra parens in vbuschannel_devinfo_to_string

2014-10-23 Thread Benjamin Romer
Get rid of the unnecessary parenthesis in several assignments in vbuschannel_devinfo_to_string(). Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 46/91] staging: unisys: refactor CONTROLVM_MESSAGE_PACKET

2014-10-23 Thread Benjamin Romer
= platformNumber initChipset = init_chipset Options = options Test = test chipsetSelftest = chipset_selftest Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../include/channels/controlvmchannel.h| 165 - drivers/staging/unisys/include/uisutils.h | 3

[PATCH 34/91] staging: unisys: fix CamelCase constant names in controlframework.h

2014-10-23 Thread Benjamin Romer
Fix CamelCase names: SegmentStateRunning = segment_state_running SegmentStatePaused = segment_state_paused SegmentStateStandby = segment_state_standby Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../common-spar/include/channels/controlframework.h | 6 +++--- drivers/staging

[PATCH 28/91] staging: unisys: refactor visor_signalqueue_empty()

2014-10-23 Thread Benjamin Romer
Rename visor_signalqueue_empty() to spar_signalqueue_empty(), and fix CamelCase parameter names: pChannel = ch Queue = queue Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/channels/channel.c | 10 +- drivers/staging/unisys/common

[PATCH 65/91] staging: unisys: remove extra blank lines in diagchannel.h

2014-10-23 Thread Benjamin Romer
Take out the extra blank lines in diagchannel.h. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/diagchannel.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/channels/diagchannel.h b

[PATCH 00/91] staging: unisys: clean up include and common-spar

2014-10-23 Thread Benjamin Romer
that cannot be justified (string constants over 80 character limit, for instance). Benjamin Romer (91): staging: unisys: clean up bracing in vbuschannel_sanitize_buffer() staging: unisys: fix indentation on vbuschannel_devinfo_to_string() staging: unisys: clean up extra parens

[PATCH 66/91] staging: unisys: remove typedef from DIAG_CAUSE

2014-10-23 Thread Benjamin Romer
Remove the typedef from DIAG_CAUSE and just use enum diag_cause instead. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/diagchannel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisys

[PATCH 59/91] staging: unisys: refactor ULTRA_DIAG_CHANNEL_OK_CLIENT

2014-10-23 Thread Benjamin Romer
Rename this macro to SPAR_DIAG_CHANNEL_OK_CLIENT, fix the CamelCase parameter and get rid of the unused LogCtx parameter. pChannel = ch Fix the indentation and add a blank line after the macro definition so it looks nicer. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys

[PATCH 52/91] staging: unisys: remove typedef from CONTROLVM_MESSAGE

2014-10-23 Thread Benjamin Romer
Remove the typedef and use struct controlvm_message instead. Update all references. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../include/channels/controlvmchannel.h| 14 ++--- drivers/staging/unisys/uislib/uislib.c | 42 +++--- drivers/staging

[PATCH 49/91] staging: unisys: refactor CONTROLVM_PACKET_DEVICE_CONFIGURE

2014-10-23 Thread Benjamin Romer
Remove the typedef from CONTROLVM_PACKET_DEVICE_CONFIGURE, in favor of struct controlvm_packet_device_configure. Fix CamelCase names and update all references to modified names. busNo = bus_no devNo = dev_no Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar

[PATCH 38/91] staging: unisys: remove typedef CONTROLVM_ID

2014-10-23 Thread Benjamin Romer
Replace the typedef for CONTROLVM_ID with enum controlvm_id, and update all references to the old typedef. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../staging/unisys/common-spar/include/channels/controlvmchannel.h | 2 +- drivers/staging/unisys/include/uisutils.h

[PATCH 64/91] staging: unisys: remove typedef for DIAG_SEVERITY

2014-10-23 Thread Benjamin Romer
Get rid of the typedef for DIAG_SEVERITY and just use the enum diag_severity instead. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/diagchannel.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 32/91] staging: unisys: refactor ULTRA_check_channel_server()

2014-10-23 Thread Benjamin Romer
= expected_min_bytes actualBytes = actual_bytes Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar/include/channels/channel.h| 20 .../common-spar/include/channels/controlvmchannel.h | 5 + .../common-spar/include/channels/diagchannel.h

[PATCH 01/91] staging: unisys: clean up bracing in vbuschannel_sanitize_buffer()

2014-10-23 Thread Benjamin Romer
The bracing in vbuschannel_sanitize_buffer() in vbusdeviceinfo.h is messy. Clean these up. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH 09/91] staging: unisys: clean up stray blank lines in channel_guid.h

2014-10-23 Thread Benjamin Romer
Just remove extra blank lines in channel_guid.h. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/channel_guid.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/channels/channel_guid.h

[PATCH 37/91] staging: unisys: fix CamelCase in SPAR_CONTROLVM_CHANNEL_OK_CLIENT

2014-10-23 Thread Benjamin Romer
Fix CamelCase parameter name: pChannel = ch Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar/include/channels/controlvmchannel.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include

[PATCH 89/91] staging: unisys: refactor ULTRA_VBUS_CHANNEL_OK_SERVER

2014-10-23 Thread Benjamin Romer
Fix the name to SPAR_VBUS_CHANNEL_OK_SERVER and fix the CamelCase parameter: actualBytes = actual_bytes Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/vbuschannel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 77/91] staging: unisys: remove typedef from NET_TYPES

2014-10-23 Thread Benjamin Romer
Take out the typedef and just use enum net_types instead. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/unisys/common-spar

[PATCH 08/91] staging: unisys: fix CamelCase channel constants

2014-10-23 Thread Benjamin Romer
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../common-spar/include/channels/channel_guid.h| 24 +++--- .../common-spar/include/channels/iochannel.h | 12 +-- drivers/staging/unisys/uislib/uislib.c | 22 ++-- .../unisys

[PATCH 60/91] staging: unisys: refactor ULTRA_DIAG_CHANNEL_OK_SERVER

2014-10-23 Thread Benjamin Romer
Rename this macro to SPAR_DIAG_CHANNEL_OK_SERVER and fix the CamelCase parameter. ActualBytes = bytes Fix indentation and add a blank line after the macro for better readability. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../staging/unisys/common-spar/include/channels

[PATCH 14/91] staging: unisys: fix missing blank line after enum channel_clientstate

2014-10-23 Thread Benjamin Romer
The enumeration needs to have a blank line after it. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/channel.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/unisys/common-spar/include/channels/channel.h b

[PATCH 56/91] staging: unisys: refactor ULTRA_CONTROLVM_PARAMETERS_HEADER

2014-10-23 Thread Benjamin Romer
Revision = revision Reserved = reserved Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../include/channels/controlvmchannel.h| 48 ++--- drivers/staging/unisys/visorchipset/parser.c | 50 +++--- 2 files changed, 49 insertions(+), 49

[PATCH 67/91] staging: unisys: refactor DIAG_CHANNEL_PROTOCOL_HEADER

2014-10-23 Thread Benjamin Romer
-by: Benjamin Romer benjamin.ro...@unisys.com --- .../common-spar/include/channels/diagchannel.h | 23 +++--- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/channels/diagchannel.h b/drivers/staging/unisys/common-spar/include

[PATCH 41/91] staging: unisys: remove unused code from controlvmchannel.h

2014-10-23 Thread Benjamin Romer
Delete struct PciConfigHdr, struct ScsiId, struct WWID, struct VirtDiskInfo, enum CONTROLVM_ACTION, and enum ULTRA_TOOL_ACTIONS. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../include/channels/controlvmchannel.h| 63 -- 1 file changed, 63

[PATCH 39/91] staging: unisys: fix CamelCase names in struct irq_info

2014-10-23 Thread Benjamin Romer
Fix CamelCase names in structure, and references to them: sendInterruptHandle = send_irq_handle recvInterruptHandle = recv_irq_handle recvInterruptVector = recv_irq_vector recvInterruptShared = recv_irq_shared Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar

[PATCH 12/91] staging: unisys: remove typedef for CHANNEL_SERVERSTATE

2014-10-23 Thread Benjamin Romer
Remove the typedef for CHANNEL_SERVERSTATE and use enum channel_serverstate instead. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/channel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging

[PATCH 62/91] staging: unisys: refactor ULTRA_COMPONENT_TYPES

2014-10-23 Thread Benjamin Romer
Get rid of the typedef for ULTRA_COMPONENT_TYPES and use enum spar_component_types instead. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/diagchannel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 30/91] staging: unisys: refactor SignalInit Macro

2014-10-23 Thread Benjamin Romer
Rename SignalInit to spar_signal_init, and fix CamelCase names: VersionId = version Type = chtype Size = size SignalSize = signal_size oSignalBase = sig_base_offset MaxSignalSlots = max_slots MaxSignals = max_signals Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common

[PATCH 85/91] staging: unisys: refactor ULTRA_IO_CHANNEL_PROTOCOL

2014-10-23 Thread Benjamin Romer
-by: Benjamin Romer benjamin.ro...@unisys.com --- .../common-spar/include/channels/iochannel.h | 127 +++-- drivers/staging/unisys/uislib/uislib.c | 4 +- drivers/staging/unisys/virtpci/virtpci.c | 26 ++--- 3 files changed, 79 insertions(+), 78

[PATCH 16/91] staging: unisys: remove typedef for CHANNEL_HEADER

2014-10-23 Thread Benjamin Romer
Switch everywhere that CHANNEL_HEADER, pCHANNEL_HEADER, or ULTRA_CHANNEL_PROTOCOL was used, to struct channel_header. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/channels/channel.c | 10 +++-- drivers/staging/unisys/channels/chanstub.c | 4

[PATCH 91/91] staging: unisys: refactor struct struct ultra_vbus_channel_protocol

2014-10-23 Thread Benjamin Romer
Rename the struct to spar_vbus_channel_protocol. Fix CamelCase member names: ChannelHeader = channel_header HdrInfo = hdr_info ChpInfo = chp_info BusInfo = bus_info DevInfo = dev_info Update all references to use the changed names. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com

[PATCH 82/91] staging: unisys: fix CamelCase name in net_pkt_rcvpost

2014-10-23 Thread Benjamin Romer
Fix the CamelCase name in this struct: UniqueNum = unique_num Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/unisys/common-spar

[PATCH 68/91] staging: unisys: refactor ULTRA_DIAG_CHANNEL_PROTOCOL

2014-10-23 Thread Benjamin Romer
Get rid of the typedef and use struct spar_diag_channel_protocol instead. Fix CamelCase member names, and update references and comments to match. struct channel_header CommonChannelHeader; QueueHeader = queue_header DiagChannelHeader = diag_channel_header Events = events Signed-off-by: Benjamin

[PATCH 73/91] staging: unisys: remove unused macro ULTRA_VNIC_CHANNEL_OK_SERVER

2014-10-23 Thread Benjamin Romer
This macro isn't being used either, so delete it. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/channels

[PATCH 35/91] staging: unisys: refactor UltraControlvmChannelProtocolGuid

2014-10-23 Thread Benjamin Romer
rename UltraControlvmChannelProtocolGuid to spar_controlvm_channel_protocol_uuid, and change ULTRA_CONTROLVM_CHANNEL_PROTOCOL_GUID to SPAR_CONTROLVM_CHANNEL_PROTOCOL_UUID to match. Update references to the old name. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common

[PATCH 86/91] staging: unisys: remove unused code from iochannel.h

2014-10-23 Thread Benjamin Romer
-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../common-spar/include/channels/iochannel.h | 125 - 1 file changed, 125 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/channels/iochannel.h b/drivers/staging/unisys/common-spar/include/channels

[PATCH 71/91] staging: unisys: clean up CamelCase parameter in SPAR_VHBA_CHANNEL_OK_CLIENT

2014-10-23 Thread Benjamin Romer
Remove the unused logCtx parameter and fix CamelCase parameter name: pChannel = ch Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 ++-- drivers/staging/unisys/uislib/uislib.c | 2 +- 2

[PATCH 48/91] staging: unisys: refactor CONTROLVM_PACKET_DEVICE_CREATE

2014-10-23 Thread Benjamin Romer
= data_type_uuid devInstGuid = dev_inst_uuid Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../include/channels/controlvmchannel.h| 29 +-- drivers/staging/unisys/uislib/uislib.c | 56 +++--- .../unisys/visorchipset/visorchipset_main.c

[PATCH 47/91] staging: unisys: refactor CONTROLVM_MESSAGE_HEADER

2014-10-23 Thread Benjamin Romer
-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../include/channels/controlvmchannel.h| 40 +++-- drivers/staging/unisys/uislib/uislib.c | 40 ++--- drivers/staging/unisys/visorchipset/visorchipset.h | 12 +- .../unisys/visorchipset/visorchipset_main.c| 184

[PATCH 87/91] staging: unisys: clean up UltraVbusChannelProtocol

2014-10-23 Thread Benjamin Romer
Fix the CamelCase name: UltraVbusChannelProtocolGuid = spar_vbus_channel_protocol_uuid Update related macro names to match. Update references to changed names. Fix indentation in macros where names changed. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../common-spar/include

[PATCH 29/91] staging: unisys: fix symbol placement in spar_channel_client_acquire

2014-10-23 Thread Benjamin Romer
The belongs at the end of the previous line, not the start of the next one. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/channel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisys

[PATCH 36/91] staging: unisys: remove ULTRA_CONTROLVM_CHANNEL_OK_SERVER macro

2014-10-23 Thread Benjamin Romer
Nobody is using this macro, so remove it entirely. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../staging/unisys/common-spar/include/channels/controlvmchannel.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/channels

[PATCH 61/91] staging: unisys: refactor DIAG_EFI_TIME

2014-10-23 Thread Benjamin Romer
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../common-spar/include/channels/diagchannel.h | 28 +++--- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/channels/diagchannel.h b/drivers/staging/unisys

[PATCH 44/91] staging: unisys: fix CamelCase macro names in controlframework.h

2014-10-23 Thread Benjamin Romer
Fix CamelCase names: ULTRA_MEMORY_COUNT_Ki = ULTRA_MEMORY_COUNT_KI ULTRA_MEMORY_PAGE_Ki = ULTRA_MEMORY_PAGE_KI Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .gitignore| 4 .../staging/unisys/common-spar/include

[PATCH 24/91] staging: unisys: remove typedef SIGNAL_QUEUE_HEADER

2014-10-23 Thread Benjamin Romer
Get rid of the typedef for SIGNAL_QUEUE_HEADER and use struct signal_queue_header directly instead. Fix all references to the typedef to use the struct. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/channels/channel.c | 16 - .../unisys

[PATCH 04/91] staging: unisys: delete extra space character in vbuschannel_itoa()

2014-10-23 Thread Benjamin Romer
There's no need for that extra space in the typecast in vbuschannel_itoa(), so just delete it. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH 51/91] staging: unisys: refactor CONTROLVM_MESSAGE_DEVICE_CONFIGURE

2014-10-23 Thread Benjamin Romer
Remove the typedef from CONTROLVM_MESSAGE_DEVICE_CONFIGURE, replacing it with struct controlvm_message_device_configure. Fix CamelCase names and update all references. Header = header Packet = packet Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar/include

[PATCH 18/91] staging: unisys: clean up ULTRA_CHANNEL_SERVER_READY macro

2014-10-23 Thread Benjamin Romer
Simplify this macro so it is only one macro, rename it to SPAR_CHANNEL_SERVER_READY, and get rid of the CamelCase parameter name. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/channel.h | 5 ++--- drivers/staging/unisys/virtpci

[PATCH 15/91] staging: unisys: fix spacing in ULTRA_CHANNELCLI_STRING

2014-10-23 Thread Benjamin Romer
Remove all the extraneous spaces in typecasts in ULTRA_CHANNELCLI_STRING(). Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../staging/unisys/common-spar/include/channels/channel.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging

[PATCH 74/91] staging: unisys: remove unused macro ULTRA_VSWITCH_CHANNEL_OK_SERVER

2014-10-23 Thread Benjamin Romer
This macro isn't being used so take it out. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/channels

[PATCH 27/91] staging: unisys: refactor visor_signal_remove()

2014-10-23 Thread Benjamin Romer
Rename visor_signal_remove() to spar_signal_remove() and fix CamelCase parameter names: pChannel = ch Queue = queue pSignal = sig Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/channels/channel.c | 11 +-- drivers/staging/unisys

[PATCH 19/91] staging: unisys: fix ULTRA_SPAR_CHANNEL_CLIENT_CHK_TRANSITION macro

2014-10-23 Thread Benjamin Romer
Rename the macro to SPAR_CHANNEL_CLIENT_CHK_TRANSITION, and rename CamelCase parameters to: chanId = id logCtx = log Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/channel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH 21/91] staging: unisys: fix up ULTRA_CHANNEL_CLIENT_TRANSITION macro

2014-10-23 Thread Benjamin Romer
Rename the macro to SPAR_CHANNEL_CLIENT_TRANSITION, and fix CamelCase parameters: pChan = ch chanId = id logCtx = log Update all places the macro was used to call the new name. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar/include/channels/channel.h | 22

[PATCH 63/91] staging: unisys: refactor DIAG_CHANNEL_EVENT

2014-10-23 Thread Benjamin Romer
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../common-spar/include/channels/diagchannel.h | 54 +++--- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/channels/diagchannel.h b/drivers/staging/unisys

[PATCH 70/91] staging: unisys: fix typecast spacing in iochannel.h

2014-10-23 Thread Benjamin Romer
Fix all the spaces between typecasts and their targets in iochannel.h. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../common-spar/include/channels/iochannel.h | 26 +++--- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging

[PATCH 43/91] staging: unisys: fix CamelCase names in struct efi_spar_indication

2014-10-23 Thread Benjamin Romer
Fix CamelCase names and update all references to them: BootToFirmwareUI = boot_to_fw_ui ClearNvram = clear_nvram ClearCmos = clear_cmos BootToTool = boot_to_tool Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar/include/channels/controlvmchannel.h| 8

[PATCH 54/91] staging: unisys: refactor GUEST_DEVICES

2014-10-23 Thread Benjamin Romer
= console_channel PartitionIndex = partition_index Pad = pad Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../common-spar/include/channels/controlvmchannel.h | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include

[PATCH 40/91] staging: unisys: fix CamelCase names in struct pci_id

2014-10-23 Thread Benjamin Romer
Fix CamelCase names: Domain = domain Bus = bus Slot = slot Func = func Reserved = reserved Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar/include/channels/controlvmchannel.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 75/91] staging: unisys: fix parameters to macro SPAR_VNIC_CHANNEL_OK_CLIENT

2014-10-23 Thread Benjamin Romer
Remove the unused logCtx parameter and fix the CamelCase name: pChannel = ch Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 ++-- drivers/staging/unisys/uislib/uislib.c | 2 +- 2 files

[PATCH 17/91] staging: unisys: fix CamelCase names in struct channel_header

2014-10-23 Thread Benjamin Romer
RecoverChannel = recover_channel Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/channels/channel.c | 8 +- .../unisys/common-spar/include/channels/channel.h | 135 ++--- .../common-spar/include/channels/iochannel.h | 40 +++--- drivers

[PATCH 53/91] staging: unisys: refactor DEVICE_MAP

2014-10-23 Thread Benjamin Romer
Get rid of the typedef for DEVICE_MAP and use struct device_map instead. Fix CamelCase names. DeviceChannelSize = device_channel_size CA_Index = ca_index Reserved = reserved Reserved2 = reserved2 Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../include/channels/controlvmchannel.h

[PATCH 22/91] staging: unisys: refactor ULTRA_channel_client_acquire_os()

2014-10-23 Thread Benjamin Romer
Remove the unnecessary macro ULTRA_CHANNEL_CLIENT_ACQUIRE_OS for calling the function, and rename the function to spar_channel_client_acquire_os(). Get rid of unneeded parameters logCtx, file, and line, and Fix CamelCase names: pChannel = ch chanId = id pChan = hdr Signed-off-by: Benjamin Romer

[PATCH 90/91] staging: unisys: refactor ULTRA_VBUS_HEADERINFO

2014-10-23 Thread Benjamin Romer
= dev_info_offset Update all references to changed names. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../common-spar/include/channels/vbuschannel.h | 18 +- drivers/staging/unisys/virtpci/virtpci.c | 20 ++-- 2 files changed, 19 insertions

[PATCH 57/91] staging: unisys: fix misspelled word in controlvmchannel.h

2014-10-23 Thread Benjamin Romer
intrrupt should be interrupt in the comments in controlvmchannel.h. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/unisys

[PATCH 69/91] staging: unisys: clean up line spacing in iochannel.h

2014-10-23 Thread Benjamin Romer
Get rid of extra blank lines in iochannel.h Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../staging/unisys/common-spar/include/channels/iochannel.h | 12 1 file changed, 12 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/channels/iochannel.h b

[PATCH 25/91] staging: unisys: fix CamelCase in struct signal_queue_header

2014-10-23 Thread Benjamin Romer
Tail = tail Reserved1 = reserved1 Reserved2 = reserved2 ClientQueue = client_queue NumInterruptsReceived = num_irq_received NumEmptyCnt = num_empty ErrorFlags = errorflags Filler = filler Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/channels/channel.c

[PATCH 76/91] staging: unisys: remove unused macro SPAR_VSWITCH_CHANNEL_OK_CLIENT

2014-10-23 Thread Benjamin Romer
Nobody is using this one either... Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/channels/iochannel.h b/drivers

[PATCH 31/91] staging: unisys: refactor SignalRemoveAll()

2014-10-23 Thread Benjamin Romer
Rename SignalRemoveAll to spar_signal_remove_all(), and fix CamelCase names: pChannel = ch Queue = queue pSignal = sig signalCount = count Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/channels/channel.c| 16 .../unisys

[PATCH 81/91] staging: unisys: fix CamelCase names in struct sense_data

2014-10-23 Thread Benjamin Romer
CommandSpecificInformation = commmand_specific_information AdditionalSenseCode = additional_sense_code AdditionalSenseCodeQualifier = additional_sense_code_qualifier FieldReplaceableUnitCode = fru_code SenseKeySpecific = sense_key_specific Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com

[PATCH 78/91] staging: unisys: fix CamelCase in ETH_IS_LOCALLY_ADMINISTERED

2014-10-23 Thread Benjamin Romer
Fix the CamelCase parameter in this macro: Address = address Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisys/common-spar

[PATCH 80/91] staging: unisys: refactor enum VDISK_MGMT_TYPES

2014-10-23 Thread Benjamin Romer
Get rid of the typedef and use enum vdisk_mgmt_types instead. Reformat the enumeration names and update any references to use the enum directly. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 8 +--- drivers

[PATCH 20/91] staging: unisys: fix CamelCase in PathName_Last_N_Nodes()

2014-10-23 Thread Benjamin Romer
Fix CamelCase name: PathName_Last_N_Nodes = pathname_last_n_nodes Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar/include/channels/channel.h | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/unisys

[PATCH 45/91] staging: unisys: refactor ULTRA_CHIPSET_FEATURE enum

2014-10-23 Thread Benjamin Romer
Get rid of the typedef and use enum ultra_chipset_feature instead, and update all references to the enumeration. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../staging/unisys/common-spar/include/channels/controlvmchannel.h | 6 +++--- drivers/staging/unisys/visorchipset

[PATCH 26/91] staging: unisys: refactor ULTRA_check_channel_client()

2014-10-23 Thread Benjamin Romer
= SPAR_VSWITCH_CHANNEL_OK_CLIENT ULTRA_VBUS_CHANNEL_OK_CLIENT = SPAR_VBUS_CHANNEL_OK_CLIENT Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/channels/channel.c | 13 ++-- drivers/staging/unisys/channels/chanstub.c | 2 +- .../unisys/common-spar/include/channels/channel.h

[PATCH 55/91] staging: unisys: refactor SPAR_CONTROLVM_CHANNEL_PROTOCOL

2014-10-23 Thread Benjamin Romer
= response_msg EventMsg = event_msg EventAckMsg = event_ack_msg SavedCrashMsg = saved_crash_msg Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../include/channels/controlvmchannel.h| 156 ++--- drivers/staging/unisys/uislib/uislib.c | 4 +- drivers

[PATCH 84/91] staging: unisys: fix CamelCase in uiscmdrsp_disknotify

2014-10-23 Thread Benjamin Romer
Fix the CamelCase member of this structure: vHba = v_hba Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 2 +- drivers/staging/unisys/virthba/virthba.c| 2 +- 2 files changed, 2 insertions

[PATCH 72/91] staging: unisys: remove unused macro ULTRA_VHBA_CHANNEL_OK_SERVER

2014-10-23 Thread Benjamin Romer
This macro is not used so remove it. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/channels/iochannel.h

[PATCH 83/91] staging: unisys: fix CamelCase names in net_pkt_rcv

2014-10-23 Thread Benjamin Romer
Fix CamelCase names: UniqueNum = unique_num RcvsDroppedDelta = rcvs_dropped_delta Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging

[PATCH 11/91] staging: unisys: get rid of UltraLogEvent macro

2014-10-23 Thread Benjamin Romer
Remove the UltraLogEvent macro from channel.h, and fix all references so they call pr_info directly. CamelCase names used by functions that called UltraLogEvent will be fixed in later patches. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar/include/channels

[PATCH 33/91] staging: unisys: refactor ultra_segment_state

2014-10-23 Thread Benjamin Romer
Rename the struct to spar_segment_state and fix CamelCase names: Enabled = enabled Active = active Alive = alive Revoked = revoked Allocated = allocated Known = known Ready = ready Operating = operating Fix all references to modified names to use the new names. Signed-off-by: Benjamin Romer

[PATCH 42/91] staging: unisys: replace typedef ULTRA_EFI_SPAR_INDICATION

2014-10-23 Thread Benjamin Romer
Replace ULTRA_EFI_SPAR_INDICATION with struct efi_spar_indication, and update references to the old type. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar/include/channels/controlvmchannel.h| 8 drivers/staging/unisys/visorchipset

[PATCH 88/91] staging: unisys: fix parameters for SPAR_VBUS_CHANNEL_OK_CLIENT macro

2014-10-23 Thread Benjamin Romer
Remove the unused logCtx parameter and fix the CamelCase name: pChannel = ch Update calls to the macro to remove the unused second parameter. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar/include/channels/vbuschannel.h | 14 +++--- drivers

[PATCH 50/91] staging: unisys: refactor CONTROLVM_MESSAGE_DEVICE_CREATE

2014-10-23 Thread Benjamin Romer
Remove the typedef from CONTROLVM_MESSAGE_DEVICE_CREATE, in favor of struct controlvm_message_device_create, fix CamelCase names, and update all references. Header = header Packet = packet Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../unisys/common-spar/include/channels

[PATCH 79/91] staging: unisys: refactor TASK_MGMT_TYPES

2014-10-23 Thread Benjamin Romer
Get rid of the typedef and use enum task_mgmt_types in its place. Clean up the indentation of the enumeration values and update all use of the name to the new name. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- .../staging/unisys/common-spar/include/channels/iochannel.h | 12

[PATCH 4/4] staging: unisys: fix alignment in virtpci.h

2014-10-27 Thread Benjamin Romer
Clean up misaligned indentation in virtpci.h. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/virtpci/virtpci.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/unisys/virtpci/virtpci.h b/drivers/staging/unisys/virtpci

[PATCH 2/4] staging: unisys: get rid of typedef for VIRTPCI_DEV_TYPE

2014-10-27 Thread Benjamin Romer
Remove the typedef and use enum virtpc_dev_type instead. Update references. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/virtpci/virtpci.c | 3 ++- drivers/staging/unisys/virtpci/virtpci.h | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff

[PATCH 1/4] staging: unisys: fix CamelCase in net_adap_info

2014-10-27 Thread Benjamin Romer
Fix the CamelCase member name in this structure: zoneGuid = zone_uuid Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/virtpci/virtpci.c | 4 ++-- drivers/staging/unisys/virtpci/virtpci.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 3/4] staging: unisys: fix CamelCase members of virtpci_dev

2014-10-27 Thread Benjamin Romer
Fix CamelCase names in this structure: busNo = bus_no deviceNo = device_no Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/virthba/virthba.c | 28 ++-- drivers/staging/unisys/virtpci/virtpci.c | 15 +-- drivers/staging

[PATCH 0/4] cleanup in virtpci.h

2014-10-27 Thread Benjamin Romer
This patch series cleans up virtpci.h for checkpatch.pl errors, warnings, and strict checks. Benjamin Romer (4): staging: unisys: fix CamelCase in net_adap_info staging: unisys: get rid of typedef for VIRTPCI_DEV_TYPE staging: unisys: fix CamelCase members of virtpci_dev staging: unisys

[PATCH] staging: unisys: fix macro spacing in uisutils.h

2014-10-28 Thread Benjamin Romer
Add some space between the macros in uisutils.h for readability. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/include/uisutils.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/unisys/include/uisutils.h b/drivers/staging/unisys

[PATCH 00/24] staging: unisys: cleanup visorchipset.h

2014-10-31 Thread Benjamin Romer
This patch series eliminates all checkpatch.pl errors, warnings, and strict checks from the file visorchipset/visorchipset.h. Benjamin Romer (24): staging: unisys: get rid of VISORCHIPSET_STATE typedef staging: unisys: refactor VISORCHIPSET_ADDRESSTYPE staging: unisys: refactor

[PATCH 01/24] staging: unisys: get rid of VISORCHIPSET_STATE typedef

2014-10-31 Thread Benjamin Romer
Remove the typedef for VISORCHIPSET_STATE and replace it with enum visorchipset_state. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/visorchipset/visorchipset.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging

[PATCH 03/24] staging: unisys: refactor CRASH_OBJ_TYPE

2014-10-31 Thread Benjamin Romer
Remove the typedef from the enumeration and replace references to it with enum crash_obj_type. Fix CamelCase names: CRASH_dev = CRASH_DEV CRASH_bus = CRASH_BUS Update all references to changed names. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys

[PATCH 08/24] staging: unisys: refactor VISORCHIPSET_BUS_INFO

2014-10-31 Thread Benjamin Romer
references to changed names. Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/visorchipset/visorchipset.h | 31 +- .../unisys/visorchipset/visorchipset_main.c| 72 +++--- 2 files changed, 52 insertions(+), 51 deletions(-) diff

[PATCH 15/24] staging: unisys: fix CamelCase name in visorchipset_register_busdev_client()

2014-10-31 Thread Benjamin Romer
Fix CamelCase parameter: driverInfo = driver_info Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/visorchipset/visorchipset.h | 2 +- drivers/staging/unisys/visorchipset/visorchipset_main.c | 8 2 files changed, 5 insertions(+), 5 deletions

[PATCH 09/24] staging: unisys: fix CamelCase in findbus()

2014-10-31 Thread Benjamin Romer
Fix the CamelCase parameter name in findbus() in visorchipset.h. busNo = bus_no Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/visorchipset/visorchipset.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisys

  1   2   3   4   5   6   7   8   9   10   >