View | Details | Raw Unified | Return to bug 238235 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c (-3 / +4 lines)
Lines 324-330 static const struct usb_config ubt_config[UBT_N_TRANSFER] = Link Here
324
		.callback =	&ubt_ctrl_write_callback,
324
		.callback =	&ubt_ctrl_write_callback,
325
		.timeout =	5000,	/* 5 seconds */
325
		.timeout =	5000,	/* 5 seconds */
326
	},
326
	},
327
327
#if 0
328
	/*
328
	/*
329
	 * Interface #1
329
	 * Interface #1
330
 	 */
330
 	 */
Lines 373-378 static const struct usb_config ubt_config[UBT_N_TRANSFER] = Link Here
373
		.flags =	{ .short_xfer_ok = 1, },
373
		.flags =	{ .short_xfer_ok = 1, },
374
		.callback =	&ubt_isoc_write_callback,
374
		.callback =	&ubt_isoc_write_callback,
375
	},
375
	},
376
#endif
376
};
377
};
377
378
378
/*
379
/*
Lines 1532-1538 ubt_task(void *context, int pending) Link Here
1532
1533
1533
		ubt_xfer_start(sc, UBT_IF_0_INTR_DT_RD);
1534
		ubt_xfer_start(sc, UBT_IF_0_INTR_DT_RD);
1534
		ubt_xfer_start(sc, UBT_IF_0_BULK_DT_RD);
1535
		ubt_xfer_start(sc, UBT_IF_0_BULK_DT_RD);
1535
1536
#if 0
1536
		/*
1537
		/*
1537
		 * Interface #1
1538
		 * Interface #1
1538
		 * Start both read and write isoc. transfers by default.
1539
		 * Start both read and write isoc. transfers by default.
Lines 1544-1550 ubt_task(void *context, int pending) Link Here
1544
		ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_RD2);
1545
		ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_RD2);
1545
		ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_WR1);
1546
		ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_WR1);
1546
		ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_WR2);
1547
		ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_WR2);
1547
1548
#endif
1548
		mtx_unlock(&sc->sc_if_mtx);
1549
		mtx_unlock(&sc->sc_if_mtx);
1549
	}
1550
	}
1550
1551
(-)b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h (-2 / +2 lines)
Lines 64-76 enum { Link Here
64
	UBT_IF_0_BULK_DT_RD,
64
	UBT_IF_0_BULK_DT_RD,
65
	UBT_IF_0_INTR_DT_RD,
65
	UBT_IF_0_INTR_DT_RD,
66
	UBT_IF_0_CTRL_DT_WR,
66
	UBT_IF_0_CTRL_DT_WR,
67
	
67
#if 0
68
	/* Interface #1 transfers */
68
	/* Interface #1 transfers */
69
	UBT_IF_1_ISOC_DT_RD1,
69
	UBT_IF_1_ISOC_DT_RD1,
70
	UBT_IF_1_ISOC_DT_RD2,
70
	UBT_IF_1_ISOC_DT_RD2,
71
	UBT_IF_1_ISOC_DT_WR1,
71
	UBT_IF_1_ISOC_DT_WR1,
72
	UBT_IF_1_ISOC_DT_WR2,
72
	UBT_IF_1_ISOC_DT_WR2,
73
73
#endif
74
	UBT_N_TRANSFER,		/* total number of transfers */
74
	UBT_N_TRANSFER,		/* total number of transfers */
75
};
75
};
76
76

Return to bug 238235