ENUM DEVICE_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ 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:

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