staging: unisys: visorbus: Remove unused values from guestlinuxdebug
authorBryan Thompson <bryan.thompson@unisys.com>
Thu, 1 Dec 2016 06:31:11 +0000 (01:31 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Dec 2016 08:58:48 +0000 (09:58 +0100)
Remove guestlinuxdebug enum values that are no longer being used and
renumber remaining values accordingly.

Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/vmcallinterface.h

index 23b00f2..65eb924 100644 (file)
@@ -118,100 +118,43 @@ struct vmcall_io_controlvm_addr_params {
 /******* INFO ON ISSUE_POSTCODE_LINUX() BELOW *******/
 enum driver_pc {               /* POSTCODE driver identifier tuples */
        /* visorbus driver files */
-       VISOR_BUS_PC = 0xB0,
-       VISOR_BUS_PC_businst_attr_c = 0xB1,
-       VISOR_BUS_PC_channel_attr_c = 0xB2,
-       VISOR_BUS_PC_devmajorminor_attr_c = 0xB3,
-       VISOR_BUS_PC_visorbus_main_c = 0xB4,
-       VISOR_BUS_PC_visorchipset_c = 0xB5,
-       /* visorclientbus driver files */
-       VISOR_CLIENT_BUS_PC = 0xC0,
-       VISOR_CLIENT_BUS_PC_visorclientbus_main_c = 0xC1,
-       /* virt hba driver files */
-       VIRT_HBA_PC = 0xC2,
-       VIRT_HBA_PC_virthba_c = 0xC3,
-       /* virtpci driver files */
-       VIRT_PCI_PC = 0xC4,
-       VIRT_PCI_PC_virtpci_c = 0xC5,
-       /* virtnic driver files */
-       VIRT_NIC_PC = 0xC6,
-       VIRT_NIC_P_virtnic_c = 0xC7,
-       /* uislib driver files */
-       UISLIB_PC = 0xD0,
-       UISLIB_PC_uislib_c = 0xD1,
-       UISLIB_PC_uisqueue_c = 0xD2,
-       /* 0xD3 RESERVED */
-       UISLIB_PC_uisutils_c = 0xD4,
+       VISOR_BUS_PC = 0xF0,
+       VISOR_BUS_PC_visorbus_main_c = 0xFF,
+       VISOR_BUS_PC_visorchipset_c = 0xFE,
 };
 
 enum event_pc {                        /* POSTCODE event identifier tuples */
-       ATTACH_PORT_ENTRY_PC = 0x001,
-       ATTACH_PORT_FAILURE_PC = 0x002,
-       ATTACH_PORT_SUCCESS_PC = 0x003,
-       BUS_FAILURE_PC = 0x004,
-       BUS_CREATE_ENTRY_PC = 0x005,
-       BUS_CREATE_FAILURE_PC = 0x006,
-       BUS_CREATE_EXIT_PC = 0x007,
-       BUS_CONFIGURE_ENTRY_PC = 0x008,
-       BUS_CONFIGURE_FAILURE_PC = 0x009,
-       BUS_CONFIGURE_EXIT_PC = 0x00A,
-       CHIPSET_INIT_ENTRY_PC = 0x00B,
-       CHIPSET_INIT_SUCCESS_PC = 0x00C,
-       CHIPSET_INIT_FAILURE_PC = 0x00D,
-       CHIPSET_INIT_EXIT_PC = 0x00E,
-       CREATE_WORKQUEUE_PC = 0x00F,
-       CREATE_WORKQUEUE_FAILED_PC = 0x0A0,
-       CONTROLVM_INIT_FAILURE_PC = 0x0A1,
-       DEVICE_CREATE_ENTRY_PC = 0x0A2,
-       DEVICE_CREATE_FAILURE_PC = 0x0A3,
-       DEVICE_CREATE_SUCCESS_PC = 0x0A4,
-       DEVICE_CREATE_EXIT_PC = 0x0A5,
-       DEVICE_ADD_PC = 0x0A6,
-       DEVICE_REGISTER_FAILURE_PC = 0x0A7,
-       DEVICE_CHANGESTATE_ENTRY_PC = 0x0A8,
-       DEVICE_CHANGESTATE_FAILURE_PC = 0x0A9,
-       DEVICE_CHANGESTATE_EXIT_PC = 0x0AA,
-       DRIVER_ENTRY_PC = 0x0AB,
-       DRIVER_EXIT_PC = 0x0AC,
-       MALLOC_FAILURE_PC = 0x0AD,
-       QUEUE_DELAYED_WORK_PC = 0x0AE,
-       /* 0x0B7 RESERVED */
-       VBUS_CHANNEL_ENTRY_PC = 0x0B8,
-       VBUS_CHANNEL_FAILURE_PC = 0x0B9,
-       VBUS_CHANNEL_EXIT_PC = 0x0BA,
-       VHBA_CREATE_ENTRY_PC = 0x0BB,
-       VHBA_CREATE_FAILURE_PC = 0x0BC,
-       VHBA_CREATE_EXIT_PC = 0x0BD,
-       VHBA_CREATE_SUCCESS_PC = 0x0BE,
-       VHBA_COMMAND_HANDLER_PC = 0x0BF,
-       VHBA_PROBE_ENTRY_PC = 0x0C0,
-       VHBA_PROBE_FAILURE_PC = 0x0C1,
-       VHBA_PROBE_EXIT_PC = 0x0C2,
-       VNIC_CREATE_ENTRY_PC = 0x0C3,
-       VNIC_CREATE_FAILURE_PC = 0x0C4,
-       VNIC_CREATE_SUCCESS_PC = 0x0C5,
-       VNIC_PROBE_ENTRY_PC = 0x0C6,
-       VNIC_PROBE_FAILURE_PC = 0x0C7,
-       VNIC_PROBE_EXIT_PC = 0x0C8,
-       VPCI_CREATE_ENTRY_PC = 0x0C9,
-       VPCI_CREATE_FAILURE_PC = 0x0CA,
-       VPCI_CREATE_EXIT_PC = 0x0CB,
-       VPCI_PROBE_ENTRY_PC = 0x0CC,
-       VPCI_PROBE_FAILURE_PC = 0x0CD,
-       VPCI_PROBE_EXIT_PC = 0x0CE,
-       CRASH_DEV_ENTRY_PC = 0x0CF,
-       CRASH_DEV_EXIT_PC = 0x0D0,
-       CRASH_DEV_HADDR_NULL = 0x0D1,
-       CRASH_DEV_CONTROLVM_NULL = 0x0D2,
-       CRASH_DEV_RD_BUS_FAIULRE_PC = 0x0D3,
-       CRASH_DEV_RD_DEV_FAIULRE_PC = 0x0D4,
-       CRASH_DEV_BUS_NULL_FAILURE_PC = 0x0D5,
-       CRASH_DEV_DEV_NULL_FAILURE_PC = 0x0D6,
-       CRASH_DEV_CTRL_RD_FAILURE_PC = 0x0D7,
-       CRASH_DEV_COUNT_FAILURE_PC = 0x0D8,
-       SAVE_MSG_BUS_FAILURE_PC = 0x0D9,
-       SAVE_MSG_DEV_FAILURE_PC = 0x0DA,
-       CALLHOME_INIT_FAILURE_PC = 0x0DB
+       BUS_CREATE_ENTRY_PC = 0x001,
+       BUS_CREATE_FAILURE_PC = 0x002,
+       BUS_CREATE_EXIT_PC = 0x003,
+       BUS_CONFIGURE_ENTRY_PC = 0x004,
+       BUS_CONFIGURE_FAILURE_PC = 0x005,
+       BUS_CONFIGURE_EXIT_PC = 0x006,
+       CHIPSET_INIT_ENTRY_PC = 0x007,
+       CHIPSET_INIT_SUCCESS_PC = 0x008,
+       CHIPSET_INIT_FAILURE_PC = 0x009,
+       CHIPSET_INIT_EXIT_PC = 0x00A,
+       CONTROLVM_INIT_FAILURE_PC = 0x00B,
+       DEVICE_CREATE_ENTRY_PC = 0x00C,
+       DEVICE_CREATE_FAILURE_PC = 0x00D,
+       DEVICE_CREATE_SUCCESS_PC = 0x00E,
+       DEVICE_CREATE_EXIT_PC = 0x00F,
+       DEVICE_ADD_PC = 0x010,
+       DEVICE_REGISTER_FAILURE_PC = 0x011,
+       DEVICE_CHANGESTATE_FAILURE_PC = 0x012,
+       DRIVER_ENTRY_PC = 0x013,
+       DRIVER_EXIT_PC = 0x014,
+       MALLOC_FAILURE_PC = 0x015,
+       CRASH_DEV_ENTRY_PC = 0x016,
+       CRASH_DEV_EXIT_PC = 0x017,
+       CRASH_DEV_RD_BUS_FAIULRE_PC = 0x018,
+       CRASH_DEV_RD_DEV_FAIULRE_PC = 0x019,
+       CRASH_DEV_BUS_NULL_FAILURE_PC = 0x01A,
+       CRASH_DEV_DEV_NULL_FAILURE_PC = 0x01B,
+       CRASH_DEV_CTRL_RD_FAILURE_PC = 0x01C,
+       CRASH_DEV_COUNT_FAILURE_PC = 0x01D,
+       SAVE_MSG_BUS_FAILURE_PC = 0x01E,
+       SAVE_MSG_DEV_FAILURE_PC = 0x01F,
 };
 
 #define POSTCODE_SEVERITY_ERR DIAG_SEVERITY_ERR