STRUCT CCW_DEV_ID(9)
β¨ struct ccw_dev_id(9) β¨
okay so bestie, we're in the Kernel API Manual today and the star of the show is struct ccw_dev_id β literally the unique identifier for ccw devices π
no cap, that's the whole vibe.
πΈ SYNOPSIS πΈ
like, here's the whole entire struct, and yes it's small but she's iconic:
struct ccw_dev_id {
u8 ssid;
u16 devno;
};
π Members π
okay bestie let's meet the two members, they're giving main character energy:
ssidβ the subchannel set id π¦devnoβ the device number β
π Description π
so here's the tea: this structure is not directly based on any hardware structure. like, not even a little. π
the hardware identifies a device by its device number and its subchannel β and that subchannel is in turn identified by its id. so to get a unique identifier for ccw devices across subchannel sets, struct ccw_dev_id has been introduced. periodt. π
π SEE ALSO π
- Kernel file
./arch/s390/include/asm/cio.hβ the home of it all, iykyk struct ccw1(9)struct ccw0(9)struct erw(9)struct erw_eadm(9)struct sublog(9)struct esw0(9)struct esw1(9)struct esw2(9)struct esw3(9)struct esw_eadm(9)struct irb(9)struct ciw(9)ccw_dev_id_is_equal(9)pathmask_to_pos(9)
bestie, this one's fully documented β no hidden bugs, no warnings, no dangerous caveats to scream about. we love a clean page π«Ά
πΈ okay that's the whole page, mwah π β this one lives at ./arch/s390/include/asm, dated October 2026, in the Kernel API Manual. go off, s390 girlies π§ββοΈπ
π¦ 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