Module Name: src Committed By: riastradh Date: Mon Mar 31 14:45:57 UTC 2025
Modified Files: src/sys/arch/mips/ralink: ralink_ehci.c src/sys/dev/cardbus: ehci_cardbus.c src/sys/dev/pci: usb_pci.c Log Message: ehci(4): Make usb_*_rem work as noop on zero-initialized input. This way, if some *hci_attach function fails before usb_*_add, the caller need not maintain boolean state to decide whether to call usb_*_rem on detach -- it'll just work without extra effort. Cleanup in preparation for: PR port-amd64/59180: System reboots instead of shutting down To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/mips/ralink/ralink_ehci.c cvs rdiff -u -r1.38 -r1.39 src/sys/dev/cardbus/ehci_cardbus.c cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/usb_pci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.