Find an erratum for a device
#include <drvr/hwinfo.h> int hwitag_find_errata( unsigned hwi_off, unsigned *errata_idx );
libdrvr
Use the -l drvr option to qcc to link against this library.
You can use hwitag_find_errata()() to find one or more errata tags associated with the device at hwi_off in the hwinfo section of the syspage.
You can retrieve all errata by using the errata_idx parameter as follows:
By convention, startup sets the erratum value to the vendor's chosen erratum number as obtained from the errata documents. Some vendors don't necessarily use a unique erratum number, and so the startup and driver must agree on an erratum value.
The errata value, or -1 on error.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
hwi_find(), hwi_find_bus(), hwi_find_device(), hwi_find_devicebus(), hwi_find_num_units(), hwi_find_unit(), hwi_tag_find(), hwiattr_get(), hwiattr_get_*(), hwitag_find_busattr(), hwitag_find_clkfreq(), hwitag_find_ivec(), hwitag_find_nicaddr(), hwitag_find_phyaddr()