Reverted driver/net/mlx_ipoib to clean master state

This commit is contained in:
Michael Brown
2007-09-18 07:07:04 +01:00
parent 148055dd79
commit 0f60150c44
19 changed files with 384 additions and 3107 deletions
+8 -43
View File
@@ -22,6 +22,14 @@
#include "cmdif_priv.h"
#include "mt25218.h"
/*
* cmd_sys_dis
*/
static int cmd_sys_dis(void)
{
return 0;
}
/*
* cmd_write_mgm
*/
@@ -317,24 +325,6 @@ static int cmd_map_icm_aux(struct map_icm_st *map_icm_aux_p)
return rc;
}
/*
* cmd_unmap_icm_aux
*/
static int cmd_unmap_icm_aux(void)
{
int rc;
command_fields_t cmd_desc;
memset(&cmd_desc, 0, sizeof cmd_desc);
cmd_desc.opcode = MEMFREE_CMD_UNMAP_ICM_AUX;
rc = cmd_invoke(&cmd_desc);
return rc;
}
/*
* cmd_map_icm
*/
@@ -381,31 +371,6 @@ static int cmd_map_icm(struct map_icm_st *map_icm_p)
return rc;
}
/*
* cmd_unmap_icm
*/
static int cmd_unmap_icm(struct map_icm_st *map_icm_p)
{
int rc;
command_fields_t cmd_desc;
__u32 iprm[2];
memset(&cmd_desc, 0, sizeof cmd_desc);
cmd_desc.opcode = MEMFREE_CMD_UNMAP_ICM;
iprm[0] = map_icm_p->vpm_arr[0].va_h;
iprm[1] = map_icm_p->vpm_arr[0].va_l;
cmd_desc.in_param = iprm;
cmd_desc.in_trans = TRANS_IMMEDIATE;
cmd_desc.input_modifier = 1 << map_icm_p->vpm_arr[0].log2_size;
rc = cmd_invoke(&cmd_desc);
return rc;
}
/*
* cmd_query_dev_lim
*/