ata_dev_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ata_dev_disable(9) β€” like, the ATA device disable page, bestie

okay so this is a page from the Kernel API Manual (ata_dev_disable(9)) and it's honestly short and sweet β€” main character energy in the sense that it does one thing and does it. Let's get into it 🫢


✨ NAME ✨

ata_dev_disable β€” literally just: disable an ATA device. that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

void ata_dev_disable (struct ata_device *dev );

no cap, that's the entire signature. void return, one pointer argument, done. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the ATA device you're about to disable. it's a struct ata_device *, so it's a pointer to the thing, not the thing itself. iykyk 😌

πŸ’– DESCRIPTION πŸ’–

Disable dev. that's it. that's the description. the manpage said what it said and it meant it ✨

Locking: EH context. so like, you gotta be in EH context when you call this β€” that's the rule, don't fight it πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/ata/libata-eh.c

and then a whole friend group of related pages, all of them (9), all of them living in libata-eh land β€” go say hi to all of them fr fr:

__ata_ehi_push_desc(9), ata_ehi_push_desc(9), ata_ehi_clear_desc(9), ata_port_desc(9), ata_port_pbar_desc(9), ata_internal_cmd_timeout(9), ata_internal_cmd_timed_out(9), ata_eh_acquire(9), ata_eh_release(9), ata_scsi_error(9), ata_scsi_cmd_error_handler(9), ata_scsi_port_error_handler(9), ata_port_wait_eh(9), ata_eh_set_pending(9), ata_qc_schedule_eh(9), ata_std_sched_eh(9), ata_std_end_eh(9), ata_port_schedule_eh(9), ata_link_abort(9), ata_port_abort(9), __ata_port_freeze(9), ata_port_freeze(9), ata_eh_freeze_port(9), ata_eh_thaw_port(9), ata_eh_qc_complete(9), ata_eh_qc_retry(9), ata_eh_detach_dev(9), ata_eh_about_to_do(9), ata_eh_done(9), ata_err_string(9), atapi_eh_tur(9), ata_eh_decide_disposition(9), ata_eh_request_sense(9), atapi_eh_request_sense(9), ata_eh_analyze_serror(9), ata_eh_analyze_tf(9), ata_eh_speed_down_verdict(9), ata_eh_speed_down(9), ata_eh_worth_retry(9), ata_eh_quiet(9), ata_eh_link_set_lpm(9), ata_eh_link_autopsy(9), ata_eh_autopsy(9), ata_get_cmd_name(9), ata_eh_link_report(9), ata_eh_report(9), ata_eh_set_mode(9), atapi_eh_clear_ua(9), ata_eh_maybe_retry_flush(9), ata_eh_recover(9), ata_eh_finish(9), ata_std_error_handler(9), ata_eh_handle_port_suspend(9), ata_eh_handle_port_resume(9)


lowkey the shortest manpage ever and honestly? iconic. one function, one argument, one job. periodt πŸ’€βœ¨

and that's the wrap, bestie 🧚 this page came out of ./drivers/ata and it's dated October 2026 β€” so yeah, mark your calendar, it's giving future energy πŸŒˆπŸ’œ

πŸ“¦ where this page comes from