[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Understanding the Diagnostic Subsystem for AIX

insert_frub

Purpose

Updates FRU Bucket.

Syntax

#include    <diag/tm_input.h>
#include    <diag/da.h>
 
long insert_frub ( tminput, frub )
struct tm_input *tminput;
struct fru_bucket *frub;

Description

The insert_frub subroutine gets a device's FRU name and source number from the Customized Device object class and places them into a structure of type fru_bucket. The calling routine specifies through the fru_flag member of the FRU Bucket structure whether the FRU name is for device x or the FRU parent of x.

Parameters

Parameter Description
tminput Identifies the device x (specifically, tminput.dname).
frub Pointer to the FRU Bucket structure to be updated.

This function should be called before addfrub.

Return Value

Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]