qla2x00_nvram_request(9)
π qla2x00_nvram_request β the Kernel API Manual page you didn't know you needed
okay bestie, so this one lives in the Kernel API Manual (yes, section 9, the ~cool~ one) and it's literally called qla2x00_nvram_request. let's get into it β¨
πΈ NAME πΈ
qla2x00_nvram_request β Sends read command to NVRAM and gets data from NVRAM. that's the whole vibe, no cap π
π SYNOPSIS π
uint16_t qla2x00_nvram_request (struct qla_hw_data *ha , uint32_t nv_cmd
);
π¦ ARGUMENTS π¦
haβ HA context. that's your hardware hangout spot, the context it all happens in π«Άnv_cmdβ NVRAM command. the actual instruction you're sending over there π
β DESCRIPTION β
alright so here are the bit definitions for the NVRAM command, laid out like the main character it is π
- Bit 26 = start bit
- Bit 25, 24 = opcode
- Bit 23-16 = address
- Bit 15-0 = write data
and what does it give you back? Returns the word read from nvram addr. that's the payoff, slay π
π₯ SEE ALSO π₯
the whole friend group, fr fr β Kernel file ./drivers/scsi/qla2xxx/qla_sup.c plus:
qla29xx_get_flt_layout(9)qla29xx_get_fdt_info(9)qla29xx_get_flash_region(9)set_segment_bits(9)set_chunk_bits(9)qla29xx_write_optrom_data(9)qla29xx_read_optrom_data(9)qla29xx_mpi_optrom_data(9)qla2x00_lock_nvram_access(9)qla2x00_unlock_nvram_access(9)qla2x00_nv_write(9)qla2x00_get_nvram_word(9)qla2x00_nv_deselect(9)qla2x00_write_nvram_word(9)qla2x00_clear_nvram_protection(9)qla2x00_flash_enable(9)qla2x00_flash_disable(9)qla2x00_read_flash_byte(9)qla2x00_write_flash_byte(9)qla2x00_poll_flash(9)qla2x00_program_flash_address(9)qla2x00_erase_flash(9)qla2x00_erase_flash_sector(9)qla2x00_get_flash_manufacturer(9)qla2x00_get_fcode_version(9)
ngl the flash/NVRAM girlies are a whole ecosystem, so go read the whole squad if you're poking at qla_sup.c π§
k that's the page!! it came from ./drivers/scsi/qla2xxx and it's dated October 2026 β remember us fondly, mwah ππβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms