FreeBSD Bugzilla – Attachment 178608 Details for
Bug 215862
Zynq/Zedboard USB driver can panic if it has trouble initializing phy.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch
patch.ehci_bug.txt (text/plain), 670 bytes, created by
Thomas Skibo
on 2017-01-07 20:38:32 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Thomas Skibo
Created:
2017-01-07 20:38:32 UTC
Size:
670 bytes
patch
obsolete
>Index: sys/arm/xilinx/zy7_ehci.c >=================================================================== >--- sys/arm/xilinx/zy7_ehci.c (revision 311651) >+++ sys/arm/xilinx/zy7_ehci.c (working copy) >@@ -325,13 +325,10 @@ > /* during module unload there are lots of children leftover */ > device_delete_children(dev); > >- sc->sc_flags &= ~EHCI_SCFLG_DONEINIT; >- >- if (sc->sc_irq_res && sc->sc_intr_hdl) >- /* call ehci_detach() after ehci_init() called after >- * successful bus_setup_intr(). >- */ >+ if ((sc->sc_flags & EHCI_SCFLG_DONEINIT) != 0) { > ehci_detach(sc); >+ sc->sc_flags &= ~EHCI_SCFLG_DONEINIT; >+ } > > if (sc->sc_irq_res) { > if (sc->sc_intr_hdl != NULL)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 215862
: 178608