ENUM DEVICE_STATE(9)
π enum device_state(9) β like, the TUR device state era π
okay so bestie, welcome to Kernel API Manual, entry enum device_state(9). yes it's a whole enum, yes it's iconic, no we're not skipping anything. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
enum device_state β literally the TUR device state. that's it, that's the vibe. π¦
πΈ SYNOPSIS πΈ
enum device_state {
DEVICE_RETRY ,
DEVICE_ERROR ,
DEVICE_READY
};
π Constants π
DEVICE_RETRYβ the device is giving "need to retry the TUR". so likeβ¦ run it back, bestie πDEVICE_ERRORβ TUR returned an error, so do not add this device. it's not coming to the party πDEVICE_READYβ the device can be added. slay, it made it, main character energy π
π SEE ALSO π
Kernel file ./drivers/message/fusion/mptsas.c β that's the home base, the source of truth, the origin story π
and the whole friend group, periodt:
mptsas_find_portinfo_by_sas_address(9)mptsas_add_device_component(9)mptsas_add_device_component_by_fw(9)mptsas_add_device_component_starget_ir(9)mptsas_add_device_component_starget(9)mptsas_del_device_component_by_os(9)mptsas_del_device_components(9)mptsas_find_vtarget(9)mptsas_target_reset(9)mptsas_target_reset_queue(9)mptsas_schedule_target_reset(9)mptsas_taskmgmt_complete(9)mptsas_ioc_reset(9)mptsas_add_end_device(9)mptsas_del_end_device(9)mptsas_firmware_event_work(9)mptsas_eh_timed_out(9)mptsas_exp_repmanufacture_info(9)mptsas_delete_expander_siblings(9)mptsas_expander_delete(9)mptsas_send_expander_event(9)mptsas_expander_add(9)mptsas_probe_expanders(9)mptsas_scan_sas_topology(9)mptsas_find_phyinfo_by_phys_disk_num(9)mptsas_issue_tm(9)mptsas_broadcast_primitive_work(9)
like, the whole roster. iykyk πβ¨
ok that's the page!! no cap, every constant, every function, nothing skipped π
so this little icon came from ./drivers/message/fusion, dated October 2026 β that's the source, that's the version, that's the sign-off, mwah π enum device_state(9) out ππΈ
π¦ 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