*  - issued on the EventQueue queue (q #2) in the ControlVm channel
  *  - responded to on the EventAckQueue queue (q #3) in the ControlVm channel
  */
-typedef enum  {
+enum control_vm_id {
        CONTROLVM_INVALID = 0,
        /* SWITCH commands required Parameter: SwitchNumber  */
        /* BUS commands required Parameter: BusNumber  */
        CONTROLVM_CHIPSET_READY = 0x304,        /* CP --> SP */
        CONTROLVM_CHIPSET_SELFTEST = 0x305,     /* CP --> SP */
 
-} CONTROLVM_ID;
+};
 
 struct irq_info {
         /**< specifies interrupt info. It is used to send interrupts
  *  looking at the flags.response field.
  */
 typedef struct _CONTROLVM_MESSAGE_HEADER  {
-       u32 Id;         /* See CONTROLVM_ID. */
+       u32 Id;         /* See control_vm_id. */
        /* For requests, indicates the message type. */
        /* For responses, indicates the type of message we are responding to. */
 
 
 #endif
 int uislib_get_owned_pdest(struct uisscsi_dest *pdest);
 
-int uislib_send_event(CONTROLVM_ID id, CONTROLVM_MESSAGE_PACKET *event);
+int uislib_send_event(enum control_vm_id id, CONTROLVM_MESSAGE_PACKET *event);
 
 /* structure used by vhba & vnic to keep track of queue & thread info */
 struct chaninfo {
 
        uuid_le devInstGuid;
        VISORCHIPSET_STATE state;
        VISORCHIPSET_CHANNEL_INFO chanInfo;
-       u32 Reserved1;          /* CONTROLVM_ID */
+       u32 Reserved1;          /* control_vm_id */
        u64 Reserved2;
        u32 switchNo;           /* when devState.attached==1 */
        u32 internalPortNo;     /* when devState.attached==1 */
        u8 *authService3;
        u8 *securityContext;
        u64 Reserved;
-       u32 Reserved2;          /* CONTROLVM_ID */
+       u32 Reserved2;          /* control_vm_id */
        struct device dev;
        BOOL dev_exists;
        CONTROLVM_MESSAGE_HEADER pendingMsgHdr;
        u8 *ipGateway;
        u8 *ipDNS;
        u64 Reserved1;
-       u32 Reserved2;          /* CONTROLVM_ID */
+       u32 Reserved2;          /* control_vm_id */
        struct device dev;
        BOOL dev_exists;
        CONTROLVM_MESSAGE_HEADER pendingMsgHdr;
        u32 busNo;              /* valid only when state.attached == 1 */
        u32 devNo;              /* valid only when state.attached == 1 */
        u64 Reserved1;
-       u32 Reserved2;          /* CONTROLVM_ID */
+       u32 Reserved2;          /* control_vm_id */
        CONTROLVM_MESSAGE_HEADER pendingMsgHdr;
        MYPROCOBJECT *procObject;
 
 
 EXPORT_SYMBOL_GPL(visorchipset_save_message);
 
 static void
-bus_responder(CONTROLVM_ID cmdId, ulong busNo, int response)
+bus_responder(enum control_vm_id cmdId, ulong busNo, int response)
 {
        VISORCHIPSET_BUS_INFO *p = NULL;
        BOOL need_clear = FALSE;
 }
 
 static void
-device_changestate_responder(CONTROLVM_ID cmdId,
+device_changestate_responder(enum control_vm_id cmdId,
                             ulong busNo, ulong devNo, int response,
                             struct ultra_segment_state responseState)
 {
 }
 
 static void
-device_responder(CONTROLVM_ID cmdId, ulong busNo, ulong devNo, int response)
+device_responder(enum control_vm_id cmdId, ulong busNo, ulong devNo, int response)
 {
        VISORCHIPSET_DEVICE_INFO *p = NULL;
        BOOL need_clear = FALSE;