/* __vxge_hw_device_id_get This routine returns sets the device id and revision numbers into the device structure  */
void __vxge_hw_device_id_get(struct __vxge_hw_device *hldev)
/* __vxge_hw_device_id_get This routine returns sets the device id and revision numbers into the device structure  */
void __vxge_hw_device_id_get(struct __vxge_hw_device *hldev)
{
	u64 val64;
	val64 = readq(&hldev->common_reg->titan_asic_id);
	hldev->device_id =
		(u16)VXGE_HW_TITAN_ASIC_ID_GET_INITIAL_DEVICE_ID(val64);
	hldev->major_revision =
		(u8)VXGE_HW_TITAN_ASIC_ID_GET_INITIAL_MAJOR_REVISION(val64);
	hldev->minor_revision =
		(u8)VXGE_HW_TITAN_ASIC_ID_GET_INITIAL_MINOR_REVISION(val64);
	return;
}