Patent ID: 8621112

Claim:
A computer program product for obtaining input/output (I/O) hardware information, said computer program product comprising: a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: providing to an operating system an indication of one or more adapter functions accessible to the operating system, the providing comprising: obtaining, by a processor of a computing environment, a list of one or more adapter functions of an I/O configuration accessible to the operating system, said list including one or more function handles corresponding to the one or more adapter functions; and using a function handle of the one or more function handles to obtain one or more attributes regarding the adapter function identified by the function handle, the function handle usable by one or more instructions to access the adapter function corresponding to the function handle, and wherein the function handle includes an enable indicator to indicate whether the function handle associated with the adapter function is enabled, a function number to be used to access a data structure to obtain at least one attribute of the one or more attributes, and an instance number to indicate a particular instance of the function handle.