ohci_hcd_sa1111_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ohci_hcd_sa1111_remove(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes we're reading kernel docs for fun now, that's the vibe, main character energy fr 🫢


✨ NAME ✨

ohci_hcd_sa1111_remove β€” the shutdown processing moment for SA-1111-based HCDs, and honestly it's giving "closing shift" πŸŒ™


πŸŽ€ SYNOPSIS πŸŽ€

void ohci_hcd_sa1111_remove (struct sa1111_dev *dev );

like, that's the whole signature, no cap ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the USB Host Controller being removed πŸ’€ it's literally the thing getting yeeted out of the picture

🌸 DESCRIPTION 🌸

So here's the tea, bestie: this function reverses the effect of ohci_hcd_sa1111_probe β€” like the undo button, the "we're so back" in reverse 😭

And the way it does it? It first invokes the HCD's stop method. Stop first, then unwind. Order matters, periodt πŸ’…

fr fr, don't skip the stop-method step β€” it's the first thing that happens, not an afterthought πŸ“

πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./drivers/usb/host/ohci-sa1111.c πŸ‘‘
  • ohci_hcd_sa1111_probe(9) β€” the icon this one is undoing 🌈

🧚 sign-off 🧚

k byeee, this page lives in ./drivers/usb/host, it's dated October 2026, and it answers to the name ohci_hcd_sa1111_remove(9) β€” mwah, stay slay, drink water, read your kernel docs πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from