FreeBSD Bugzilla – Attachment 173916 Details for
Bug 212021
xhci(4) broken with qemu-devel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix XHCI compatibility with QEMU
xhci.diff (text/plain), 797 bytes, created by
Hans Petter Selasky
on 2016-08-21 18:53:43 UTC
(
hide
)
Description:
Fix XHCI compatibility with QEMU
Filename:
MIME Type:
Creator:
Hans Petter Selasky
Created:
2016-08-21 18:53:43 UTC
Size:
797 bytes
patch
obsolete
>Index: sys/dev/usb/controller/xhci.c >=================================================================== >--- sys/dev/usb/controller/xhci.c (revision 304569) >+++ sys/dev/usb/controller/xhci.c (working copy) >@@ -1385,8 +1385,8 @@ > > hdev->state = XHCI_ST_ENABLED; > >- /* set configure mask to slot and EP0 */ >- xhci_configure_mask(udev, 3, 0); >+ /* set configure mask to slot */ >+ xhci_configure_mask(udev, 1, 0); > > /* configure input slot context structure */ > err = xhci_configure_device(udev); >@@ -1419,6 +1419,9 @@ > pepext->trb_running = 0; > USB_BUS_UNLOCK(udev->bus); > >+ /* set configure mask to slot and EP0 */ >+ xhci_configure_mask(udev, 3, 0); >+ > err = xhci_configure_endpoint(udev, > &udev->ctrl_ep_desc, pepext, > 0, 1, 1, 0, mps, mps, USB_EP_MODE_DEFAULT);
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212021
:
173901
|
173916
|
173956