ENUM DEV_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum dev_type(9) β€” a Kernel API Manual moment ✨

okay bestie, so this page is literally titled enum dev_type(9) and it lives in the Kernel API Manual, and it's about one thing and one thing only: the type of memory DRAM chips used at the stick πŸŽ€. that's the whole vibe. let's get into it.


🌸 NAME 🌸

enum dev_type β€” describes the type of memory DRAM chips used at the stick πŸ’–


✨ SYNOPSIS ✨

enum dev_type {
    DEV_UNKNOWN ,
    DEV_X1 ,
    DEV_X2 ,
    DEV_X4 ,
    DEV_X8 ,
    DEV_X16 ,
    DEV_X32 ,
    DEV_X64

};

πŸ¦‹ Constants πŸ¦‹

okay so every single member of the enum, no skips, periodt:

  • DEV_UNKNOWN β€” can't be determined, or the MC doesn't support detecting it 😭 (it's giving "we tried", and honestly that's valid)
  • DEV_X1 β€” 1 bit for data ⭐
  • DEV_X2 β€” 2 bits for data ⭐
  • DEV_X4 β€” 4 bits for data πŸ”₯
  • DEV_X8 β€” 8 bits for data πŸ”₯
  • DEV_X16 β€” 16 bits for data πŸ‘‘
  • DEV_X32 β€” 32 bits for data πŸ‘‘
  • DEV_X64 β€” 64 bits for data πŸ’€

πŸŽ€ Description πŸŽ€

typical values are x4 and x8. that's it, that's the whole description, and honestly? iconic. the rest of the enum is just there doing background character work 🧚

ngl bestie, this one's short β€” but every member counts, so don't go assuming DEV_X32 or DEV_X64 show up in real life just because they're in the enum πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./include/linux/edac.h β€” and the whole extended friend group πŸ’œ:

  • enum hw_event_mc_err_type(9)
  • enum mem_type(9)
  • enum edac_type(9)
  • enum scrub_type(9)
  • enum edac_mc_layer_type(9)
  • struct edac_mc_layer(9)
  • struct rank_info(9)
  • struct edac_raw_error_desc(9)
  • edac_get_dimm(9)
  • struct edac_scrub_ops(9)
  • struct edac_ecs_ops(9)
  • struct edac_mem_repair_ops(9)

go read them, slay πŸ’…


and that's a wrap, bestie β€” this page came to you from ./include/linux, dated October 2026, straight out of the Kernel API Manual. mwah πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from