atapi_eh_clear_ua(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… atapi_eh_clear_ua(9) β€” Kernel API Manual, but make it cute πŸ’…

okay so bestie, this is the atapi_eh_clear_ua(9) moment from the Kernel API Manual, and it's literally about clearing UNIT ATTENTION after reset. Let's get into it. πŸŽ€


🌸 NAME 🌸

  • atapi_eh_clear_ua β€” Clear ATAPI UNIT ATTENTION after reset.

✨ SYNOPSIS ✨

int atapi_eh_clear_ua (struct ata_device *dev );

🫢 ARGUMENTS 🫢

  • dev β€” the ATAPI device to clear UA for. That's the one, bestie. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

Resets and other operations can make an ATAPI device raise UNIT ATTENTION, which causes the next operation to fail. This function clears UA. Periodt. πŸ’…

LOCKING: EH context (may sleep). 😴

⭐ RETURN ⭐

0 on success, -errno on failure. That's the whole vibe. βœ…

πŸ‘‘ SEE ALSO πŸ‘‘

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

The reference squad, all here, no cap:


Footer moment: source/version is ./drivers/ata, dated October 2026, and the page is atapi_eh_clear_ua(9). Bye bestie, ily! πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from