Activates and deactivates the physical reset signal to the I/O adapter for systems supporting the Enhanced Error Handling (EEH) option.
#include <sys/pdiagex_dds.h> #include <sys/pdiag_def.h> int32 pdiag_set_slot_reset( char *device_instance )
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).
Parameter | Description |
---|---|
device_instance | Name of the device under test. |
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. |
The pdiag_set_eeh_option and pdiag_read_slot_reset subroutines.