diag210_get_dev_info(9)
π
diag210_get_dev_info β Kernel API Manual β¨
okay bestie, welcome to the Kernel API Manual entry for diag210_get_dev_info π this one's short and sweet but it's lowkey doing main character work down in s390 land, so let's get into it π¦
πΈ NAME πΈ
diag210_get_dev_info β grab device information via diag 0x210 β¨
π₯ SYNOPSIS π₯
int diag210_get_dev_info (struct ccw_device *cdev );
π ARGUMENTS π
cdevβ ccw device π (that's the channel-command-word device you're asking about, no cap)
β¨ DESCRIPTION β¨
okay so here's the whole vibe: this function returns zero on success, and non-zero otherwise π that's literally it, that's the tea π
so like β check the return value, bestie, that's the entire assignment π zero means slay, anything else means not slay π«Ά
π SEE ALSO π
- Kernel file
./drivers/s390/cio/device_id.cπ§ (yes, the file, go look at it, iykyk) diag210_to_senseid(9)ccw_device_sense_id_start(9)
fr fr go read device_id.c if you wanna see how the sausage gets made β it's giving essential lore π
β that's the whole page, bestie β brought to you by the fine folks in ./drivers/s390/cio, dated October 2026, and no i did not make that date up, it's literally right there π periodt π
π¦ 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