NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/59180 CVS commit: src/sys
The following reply was made to PR port-amd64/59180; it has been noted by GNATS.
From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/59180 CVS commit: src/sys
Date: Mon, 31 Mar 2025 14:45:57 +0000
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.
Home |
Main Index |
Thread Index |
Old Index