1. NAME

i2o_cntxt_list_add - Append a pointer to context list and return a id

2. SYNOPSIS

u32 i2o_cntxt_list_add(struct i2o_controller *  c , void *  ptr );

3. ARGUMENTS

c
    controller to which the context list belong

ptr
    pointer to add to the context list

4. DESCRIPTION

Because the context field in I2O is only 32-bit large, on 64-bit the pointer is to large to fit in the context field. The i2o_cntxt_list functions therefore map pointers to context fields.

Returns context id > 0 on success or 0 on failure.

5. COPYRIGHT