X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbcm53xx%2Fpatches-4.1%2F191-usb-xhci-add-Broadcom-specific-fake-doorbell.patch;h=8f1d8833f18f15fe00c6ef8daea67259c704b2fb;hb=3fc571cec426fbc7d2acde55e4bacb9a9beefa2f;hp=535bc697034d622692f7f964f53ad2a6390731e8;hpb=f3a184e6ccf20d78da069586a90b8d8437c6bbc5;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/target/linux/bcm53xx/patches-4.1/191-usb-xhci-add-Broadcom-specific-fake-doorbell.patch b/target/linux/bcm53xx/patches-4.1/191-usb-xhci-add-Broadcom-specific-fake-doorbell.patch index 535bc69703..8f1d8833f1 100644 --- a/target/linux/bcm53xx/patches-4.1/191-usb-xhci-add-Broadcom-specific-fake-doorbell.patch +++ b/target/linux/bcm53xx/patches-4.1/191-usb-xhci-add-Broadcom-specific-fake-doorbell.patch @@ -74,7 +74,7 @@ Signed-off-by: Hauke Mehrtens /* * Set the run bit and wait for the host to be running. */ -@@ -567,10 +600,25 @@ int xhci_init(struct usb_hcd *hcd) +@@ -568,10 +601,25 @@ int xhci_init(struct usb_hcd *hcd) static int xhci_run_finished(struct xhci_hcd *xhci) { @@ -103,7 +103,7 @@ Signed-off-by: Hauke Mehrtens xhci->shared_hcd->state = HC_STATE_RUNNING; xhci->cmd_ring_state = CMD_RING_STATE_RUNNING; -@@ -580,6 +628,9 @@ static int xhci_run_finished(struct xhci +@@ -581,6 +629,9 @@ static int xhci_run_finished(struct xhci xhci_dbg_trace(xhci, trace_xhci_dbg_init, "Finished xhci_run for USB3 roothub"); return 0; @@ -115,11 +115,11 @@ Signed-off-by: Hauke Mehrtens /* --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h -@@ -1571,6 +1571,7 @@ struct xhci_hcd { - #define XHCI_BROKEN_STREAMS (1 << 19) +@@ -1573,6 +1573,7 @@ struct xhci_hcd { #define XHCI_PME_STUCK_QUIRK (1 << 20) #define XHCI_SSIC_PORT_UNUSED (1 << 22) -+#define XHCI_FAKE_DOORBELL (1 << 23) + #define XHCI_NO_64BIT_SUPPORT (1 << 23) ++#define XHCI_FAKE_DOORBELL (1 << 24) unsigned int num_active_eps; unsigned int limit_active_eps; /* There are two roothubs to keep track of bus suspend info for */