STRUCT CCW_DEV_ID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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