initio_se2_wr(9)
πΎ initio_se2_wr(9) β bestie's guide to the Kernel API Manual πΈ
okay so this is a page from the Kernel API Manual, and it's about a lil function called initio_se2_wr. it lives waaaay down in the kernel's SCSI corner and honestly? it's giving "small but important" energy. let's get into it π«Ά
β¨ NAME β¨
initio_se2_wr β read E2PROM word
and yes, the NAME line literally says "read" while the function goes and writes stuff π not me pointing that out, but likeβ¦ the manpage said it, not me. anyway, that's what it says, so that's what we're telling you π
π SYNOPSIS π
void initio_se2_wr (unsigned long base , u8 addr , u16 val );
three args, no return value (void, she doesn't give anything back, she just does π
). copy it exactly, bestie, don't improvise.
π ARGUMENTS π
baseβ the base of the InitIO controller. like, where the whole controller situation starts. your home address for the hardware πaddrβ the address of the word in E2PROM. which lil word are we messing with πvalβ the value to write. the actual payload, the main character of this whole operation π
π DESCRIPTION π
so what does it do? it writes a word to the NV E2PROM device, periodt β¨
and when does it get used? when you're recovering from a problem with the NV. that's it, that's the whole vibe. it's the "oops, the NV is being weird, better write something to it" function π©Ή
lowkey a fix-it situation, so handle with care β it exists for recovery, not for casual Tuesday-night E2PROM crafting π
π¦ SEE ALSO π¦
this list is long, bestie, and every single one of these deserves a shoutout. the kernel file in question is ./drivers/scsi/initio.c, and from there we've got:
initio_se2_instr(9)initio_se2_ew_en(9)initio_se2_ew_ds(9)initio_se2_rd(9)initio_se2_rd_all(9)initio_se2_update_all(9)initio_read_eeprom(9)initio_stop_bm(9)initio_reset_scsi(9)initio_init(9)initio_alloc_scb(9)initio_release_scb(9)initio_next_state(9)initio_state_1(9)initio_state_2(9)initio_state_3(9)initio_state_4(9)initio_state_5(9)initio_state_6(9)initio_state_7(9)initio_xfer_data_in(9)initio_xfer_data_out(9)int_initio_scsi_rst(9)int_initio_resel(9)int_initio_bad_seq(9)initio_msgout_abort_targ(9)initio_msgout_abort_tag(9)initio_msgin(9)initio_bus_device_reset(9)i91u_intr(9)initio_build_scb(9)i91u_queuecommand_lck(9)i91u_bus_reset(9)i91u_biosparam(9)i91u_unmap_scb(9)initio_remove_one(9)
like, that's the whole friend group right there π they all showed up to the group chat, no one left on read π«Ά
and that's the page! this lil gem comes from ./drivers/scsi, dated October 2026, and the page itself is initio_se2_wr(9). go write some E2PROM words responsibly, bestie πβ¨
π¦ 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