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

Understanding the Diagnostic Subsystem for AIX

pdiag_set_slot_reset

Purpose

Activates and deactivates the physical reset signal to the I/O adapter for systems supporting the Enhanced Error Handling (EEH) option.

Syntax

#include <sys/pdiagex_dds.h>
#include <sys/pdiag_def.h>

int32 pdiag_set_slot_reset( char *device_instance )

Description

The pdiag_set_slot_reset subroutine resets a single PCI slot by activating and deactivating the slot specific physical reset signal line to the I/O adapter by issuing a Run-Time Abstraction Service (RTAS) call. All required timing parameters will be handled by this subroutine (such as the 100 millisecond minimum reset signal active time for PCI bus).

Parameters

Parameter Description
device_instance Name of the device under test.

Return Value

The pdiag_set_slot_reset subroutine returns one of the following values:

Return Code Description
-2 A software error occurred.
-1 A hardware error occurred.
0 The operation was successful.

Related Information

The pdiag_set_eeh_option and pdiag_read_slot_reset subroutines.

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