Searched refs:vpd_rd (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_espc.c | 368 static inline uint8_t vpd_rd(npi_handle_t handle, uint32_t addr) in vpd_rd() function 402 if (vpd_rd(handle, ep) != 0x55 || in npi_espc_vpd_info_get() 403 vpd_rd(handle, ep + 1) != 0xaa) { in npi_espc_vpd_info_get() 407 vpd_rd(handle, ep), vpd_rd(handle, ep + 1))); in npi_espc_vpd_info_get() 412 ep = base + ((vpd_rd(handle, ep) << 8) | in npi_espc_vpd_info_get() 413 (vpd_rd(handle, ep + 1))); in npi_espc_vpd_info_get() 415 if ((vpd_rd(handle, ep) != 0x50) || in npi_espc_vpd_info_get() 416 (vpd_rd(handle, ep + 1) != 0x43) || in npi_espc_vpd_info_get() 417 (vpd_rd(handle, ep + 2) != 0x49) || in npi_espc_vpd_info_get() 418 (vpd_rd(handle, ep + 3) != 0x52)) { in npi_espc_vpd_info_get() [all …]
|