ENUM DEV_TYPE(9)
π 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β1bit for data βDEV_X2β2bits for data βDEV_X4β4bits for data π₯DEV_X8β8bits for data π₯DEV_X16β16bits for data πDEV_X32β32bits for data πDEV_X64β64bits 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 assumingDEV_X32orDEV_X64show 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
- 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