FreeBSD Bugzilla – Attachment 227066 Details for
Bug 238235
Interrupt storms from USB bluetooth dongle
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Disable_ISOCHRONOUS_transfers.patch
disable.patch (text/plain), 1.63 KB, created by
Yuichiro NAITO
on 2021-08-10 02:12:24 UTC
(
hide
)
Description:
Disable_ISOCHRONOUS_transfers.patch
Filename:
MIME Type:
Creator:
Yuichiro NAITO
Created:
2021-08-10 02:12:24 UTC
Size:
1.63 KB
patch
obsolete
>diff --git a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c >index d641aadad60..e287f09a975 100644 >--- a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c >+++ b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c >@@ -324,7 +324,7 @@ static const struct usb_config ubt_config[UBT_N_TRANSFER] = > .callback = &ubt_ctrl_write_callback, > .timeout = 5000, /* 5 seconds */ > }, >- >+#if 0 > /* > * Interface #1 > */ >@@ -373,6 +373,7 @@ static const struct usb_config ubt_config[UBT_N_TRANSFER] = > .flags = { .short_xfer_ok = 1, }, > .callback = &ubt_isoc_write_callback, > }, >+#endif > }; > > /* >@@ -1532,7 +1533,7 @@ ubt_task(void *context, int pending) > > ubt_xfer_start(sc, UBT_IF_0_INTR_DT_RD); > ubt_xfer_start(sc, UBT_IF_0_BULK_DT_RD); >- >+#if 0 > /* > * Interface #1 > * Start both read and write isoc. transfers by default. >@@ -1544,7 +1545,7 @@ ubt_task(void *context, int pending) > ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_RD2); > ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_WR1); > ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_WR2); >- >+#endif > mtx_unlock(&sc->sc_if_mtx); > } > >diff --git a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h >index d5bf568a5ec..cd25fb673d0 100644 >--- a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h >+++ b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h >@@ -64,13 +64,13 @@ enum { > UBT_IF_0_BULK_DT_RD, > UBT_IF_0_INTR_DT_RD, > UBT_IF_0_CTRL_DT_WR, >- >+#if 0 > /* Interface #1 transfers */ > UBT_IF_1_ISOC_DT_RD1, > UBT_IF_1_ISOC_DT_RD2, > UBT_IF_1_ISOC_DT_WR1, > UBT_IF_1_ISOC_DT_WR2, >- >+#endif > UBT_N_TRANSFER, /* total number of transfers */ > }; >
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 238235
:
219809
| 227066 |
229968