iPXE
|
IBM BladeCenter Open Fabric Manager (BOFM) tests. More...
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <ipxe/uaccess.h>
#include <ipxe/init.h>
#include <ipxe/pci.h>
#include <ipxe/ethernet.h>
#include <ipxe/bofm.h>
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
void | bofm_test (struct pci_device *pci) |
Perform BOFM test. More... | |
static void | bofm_test_init (void) |
Perform BOFM test at initialisation time. More... | |
struct init_fn bofm_test_init_fn | __init_fn (INIT_NORMAL) |
BOFM test initialisation function. More... | |
Variables | |
struct { | |
struct bofm_global_header header | |
struct bofm_section_header en_header | |
struct bofm_en en | |
struct bofm_section_header done | |
} | bofmtab_harvest |
Harvest test table. More... | |
struct { | |
struct bofm_global_header header | |
struct bofm_section_header en_header | |
struct bofm_en en | |
struct bofm_section_header done | |
} | bofmtab_update |
Update test table. More... | |
IBM BladeCenter Open Fabric Manager (BOFM) tests.
Definition in file bofm_test.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
void bofm_test | ( | struct pci_device * | pci | ) |
Perform BOFM test.
pci | PCI device |
Definition at line 105 of file bofm_test.c.
References bofm(), BOFM_EN_CSM_SUCCESS, BOFM_EN_HVST, bofmtab_harvest, bofmtab_update, pci_device::busdevfn, DBG_HDA, eth_ntoa(), PCI_ARGS, PCI_FMT, printf(), and virt_to_user().
Referenced by bofm_test_init().
|
static |
Perform BOFM test at initialisation time.
Definition at line 143 of file bofm_test.c.
References bofm_test(), busdevfn, memset(), PCI_ARGS, PCI_FMT, pci_init(), pci_read_config(), printf(), rc, and strerror().
struct init_fn bofm_test_init_fn __init_fn | ( | INIT_NORMAL | ) |
BOFM test initialisation function.
struct bofm_global_header header |
Definition at line 43 of file bofm_test.c.
struct bofm_section_header en_header |
Definition at line 44 of file bofm_test.c.
struct bofm_en en |
Definition at line 45 of file bofm_test.c.
struct bofm_section_header done |
Definition at line 46 of file bofm_test.c.
Referenced by alloc_memblock(), aoecmd_rx(), arp_rx(), ath5k_eeprom_read_modes(), ath5k_get_chan_pcal_surrounding_piers(), ath5k_get_rate_pcal_data(), ath5k_hw_gainf_calibrate(), ath5k_hw_rf511x_calibrate(), ath5k_hw_rf_gainf_adjust(), ath5k_hw_update_tx_triglevel(), ath5k_init(), bnxt_service_cq(), bnxt_service_nq(), dhcp_tx(), dhcpv6_rx(), dm96xx_intr_complete(), dns_xfer_deliver(), execv(), fc_els_rx(), fc_ns_query(), fc_ns_query_deliver(), fc_xchg_rx(), fc_xchg_tx(), fcoe_deliver(), fcoe_fip_rx(), fcoe_rx(), fcpcmd_recv_rddata(), fcpcmd_recv_rsp(), fcpcmd_recv_xfer_rdy(), hub_complete(), icmpv6_rx(), isapnpbus_probe(), iscsi_socket_deliver(), nfs_deliver(), nfs_mount_deliver(), nfs_pm_deliver(), parse_uri(), peerblk_raw_close(), peerblk_retrieval_close(), readline_history(), rtl818x_handle_rx(), sec80211_detect_ie(), sky2_tx_complete(), smscusb_intr_complete(), stp_rx(), tftp_rx(), tftp_rx_data(), tftp_rx_oack(), tg3_phy_autoneg_cfg(), tls_cipherstream_deliver(), tls_plainstream_deliver(), udp_rx(), undinet_poll(), undinet_transmit(), and xferbuf_deliver().
struct { ... } bofmtab_harvest |
Harvest test table.
Referenced by bofm_test().
struct { ... } bofmtab_update |
Update test table.
Referenced by bofm_test().