STRUCT FW_CDEV_EVENT_BUS_RESET(9)
π struct fw_cdev_event_bus_reset β Kernel API Manual, section 9 β¨
okay bestie, welcome to the Kernel API Manual (section 9), and today's main character is struct fw_cdev_event_bus_reset π. this is the whole page, no skipping, we're eating every crumb π
πΈ NAME πΈ
struct fw_cdev_event_bus_reset β the event that gets sent when a bus reset happened β¨ literally the "hey girl the bus just reset" notification π
π¦ SYNOPSIS π¦
struct fw_cdev_event_bus_reset {
__u64 closure;
__u32 type;
__u32 node_id;
__u32 local_node_id;
__u32 bm_node_id;
__u32 irm_node_id;
__u32 root_node_id;
__u32 generation;
};
that's the whole struct, look at her π eight fields, all accounted for, no crumbs left behind π«Ά
π Members π
okay so every single field gets its moment, no member left on read π
closureβ seefw_cdev_event_common; you set this yourself with theFW_CDEV_IOC_GET_INFOioctl π₯typeβ seefw_cdev_event_common; this one is alwaysFW_CDEV_EVENT_BUS_RESETperiodt πnode_idβ the brand-new node ID of this node βlocal_node_idβ node ID of the local node, i.e. of the controller πbm_node_idβ node ID of the bus manager π§irm_node_idβ node ID of the iso resource manager πroot_node_idβ node ID of the root node πΈgenerationβ the new bus generation, fresh out the oven π
β¨ Description β¨
so like, this event shows up when the bus that the device belongs to goes through a bus reset π« it's carrying the tea about the new bus configuration β things like the new node ID for this device, the new root ID, and other stuff like that π«Ά
β οΈ heads up bestie: ifbm_node_idis0xffffright after bus reset, it can be reread by anFW_CDEV_IOC_GET_INFOioctl after bus manager selection was finished π and ngl, kernels with ABI version < 4 do not setbm_node_idat all π so don't come for her, she simply didn't fill that field in π
π₯ SEE ALSO π₯
all the siblings, the whole family reunion, every single one of them π«Ά (source: kernel file ./include/uapi/linux/firewire-cdev.h)
struct fw_cdev_event_common(9)struct fw_cdev_event_response(9)struct fw_cdev_event_response2(9)struct fw_cdev_event_request(9)struct fw_cdev_event_request2(9)struct fw_cdev_event_request3(9)struct fw_cdev_event_iso_interrupt(9)struct fw_cdev_event_iso_interrupt_mc(9)struct fw_cdev_event_iso_resource(9)struct fw_cdev_event_phy_packet(9)struct fw_cdev_event_phy_packet2(9)union fw_cdev_event(9)struct fw_cdev_get_info(9)struct fw_cdev_send_request(9)struct fw_cdev_send_response(9)struct fw_cdev_allocate(9)struct fw_cdev_deallocate(9)struct fw_cdev_initiate_bus_reset(9)struct fw_cdev_add_descriptor(9)struct fw_cdev_remove_descriptor(9)struct fw_cdev_create_iso_context(9)struct fw_cdev_set_iso_channels(9)struct fw_cdev_iso_packet(9)struct fw_cdev_queue_iso(9)struct fw_cdev_start_iso(9)struct fw_cdev_stop_iso(9)struct fw_cdev_flush_iso(9)struct fw_cdev_get_cycle_timer(9)struct fw_cdev_get_cycle_timer2(9)struct fw_cdev_allocate_iso_resource(9)struct fw_cdev_send_stream_packet(9)struct fw_cdev_send_phy_packet(9)struct fw_cdev_receive_phy_packets(9)
π and that's the whole page bestie, we ate and left zero crumbs π
this iconic little number came to you from <pink>./include/uapi/linux</pink>, dated October 2026, and yes the title is still struct fw_cdev_event_bus_reset(9) because she's the moment, she's the main character, 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