Commit Graph

334 Commits

Author SHA1 Message Date
skrll 33e89ce9f4 Zeroise the whole urb including the iso_descs array 2013-11-19 10:07:11 +00:00
skrll ab5615267b Correct the interval assignment for isoc and intr transfers. 2013-11-19 07:50:01 +00:00
skrll 7ed47d18d5 Use PRIxBUSADDR in DPRINTF. Problem pointed out by kiyohara. 2013-11-19 07:45:42 +00:00
alnsn f192c5171a Report an error if SLJIT_CACHE_FLUSH isn't defined by machine/sljitarch.h. 2013-11-18 07:13:13 +00:00
skrll 810860c8c1 Simplify variable assignment and avoid gcc warnings. 2013-11-14 12:41:46 +00:00
skrll 67d31eff3d Remove unused variable. 2013-11-14 12:40:51 +00:00
skrll f52524456d Make CONFIG_USB_DWC2_DEBUG_PERIODIC compile. 2013-11-12 15:13:14 +00:00
skrll 735b653763 Don't always define DWC2_DEBUG 2013-11-01 15:03:39 +00:00
mrg 7ba5ff78a9 move variable definition/set inside the same #ifdef of the usage. 2013-11-01 06:42:23 +00:00
skrll 738c9dbd7c Be strictly correct about chan->xfer_dma assignment and avoid calling
DMAADDR on fully transfered data phase of a control transfer.

Without this change the KASSERT(offset < dma->block->size) in usb_dmaaddr
would fire.

Found by anon when testing athn(4).
2013-10-22 16:37:08 +00:00
skrll 62e93a5632 Remove unused usbd_xfer_handle from dwc2_pipe. (missed commit) 2013-10-22 12:57:40 +00:00
skrll cd79003d3d Remove unused usbd_xfer_handle from dwc2_pipe. 2013-10-22 09:42:20 +00:00
skrll ff3d395db7 Minor cleanup. 2013-10-22 09:30:04 +00:00
skrll 3216ed5b41 Remove daft KASSERTs 2013-10-22 09:23:34 +00:00
christos a2f33b7a58 ifdef kernel used only variable 2013-10-20 17:14:05 +00:00
christos 767345987a remove unused variables 2013-10-17 21:15:18 +00:00
christos b94bb9347c define a new macro that does not declare variables used in output. 2013-10-17 21:15:00 +00:00
christos 86aec73c13 annotate some unused variables the authors want to keep 2013-10-17 21:14:05 +00:00
christos e61d329a40 __USE a debugging variable 2013-10-17 21:12:56 +00:00
skrll 76f6e570b2 Make this compile for more option combinations. 2013-10-15 07:38:37 +00:00
skrll 69486ccf02 Translate ENODEV to USBD_INVAL 2013-10-15 07:37:54 +00:00
skrll 77e4628c8c Print the client_id (lwp address) as hex and avoid stack overflow. Use
snprintf while here.

Fixes PR/48287
2013-10-13 07:46:26 +00:00
skrll 77db6ccfaa Better instructions 2013-10-05 07:00:41 +00:00
skrll 244c883ef8 Merge conflicts. 2013-10-05 06:51:43 +00:00
skrll bfe4e9e245 At least attempt to handle USBD_DEFAULT_INTERVAL. 2013-10-02 22:53:23 +00:00
skrll 33ebc33e66 A small code simplification 2013-10-02 22:48:51 +00:00
skrll 5774832cb2 Pass any error from dwc2_device_start upwards. 2013-10-02 22:45:10 +00:00
skrll 99508dcf0a Some core configurations cannot support LS traffic on a FS root port.
Fix adapted from the github.com/raspberrypi driver.
2013-10-02 11:36:27 +00:00
skrll c9daadd9cd First pass at isoc transfer support - seems to work. More testing
required.
2013-09-27 22:03:01 +00:00
skrll 759305b881 Tidyup dwc2_host_is_b_hnp_enabled 2013-09-27 21:56:05 +00:00
skrll e5ed6def73 Missed a sc->sc_intr_lock to hsotg->lock change from earlier commit. 2013-09-27 21:50:45 +00:00
skrll 1023b2854b Improve a couple of DPRINTFs 2013-09-27 21:42:42 +00:00
skrll 852b18f9e8 Use the hsotg->lock spin lock solely 2013-09-27 21:39:34 +00:00
skrll cb22e5243a Resolve conflicts 2013-09-25 06:19:22 +00:00
skrll 51dac8c00c Import dwc2 2013-09-25 2013-09-25 05:41:15 +00:00
skrll cfa7ca70ad Improve a couple of DPRINTFs 2013-09-21 13:17:00 +00:00
skrll 52b375a163 Clean up semaphore initialisation. 2013-09-20 09:05:53 +00:00
skrll aa4ef11d7e Track waiters/clients via lwp pointer and not pid. 2013-09-19 15:13:43 +00:00
skrll 57f93fe2e4 Use the common list.h 2013-09-19 14:43:39 +00:00
skrll ab66887646 Call {lmutex,_sema)_destroy appropriately 2013-09-19 13:51:44 +00:00
rmind cb633e2d0c Add bpf_filter_ext() to use with BPF COP, restore bpf_filter() as it was
originally to preserve compatibility.  Similarly, add bpf_validate_ext()
which takes bpf_ctx_t.
2013-09-18 23:34:55 +00:00
martin 7c59522dbb Remove unused variable 2013-09-15 09:38:28 +00:00
joerg 0c1143e0a4 Mark mach64_set_dma_eol as unused. 2013-09-14 12:39:28 +00:00
joerg 6f627b4ea2 Use __KERNEL_RCSID. 2013-09-14 12:39:09 +00:00
martin ee129994cf Fix return value of ipf_sync_nat 2013-09-14 12:18:06 +00:00
martin 9e58a5046a Remove unused variables 2013-09-14 12:06:19 +00:00
martin 1e30f2d6cd Remove a few unused variables, ifdef others like their use 2013-09-14 12:03:10 +00:00
martin 9a3cf38a1f Remove unused variables 2013-09-14 11:51:47 +00:00
martin d07fab0561 Remove unused variable 2013-09-14 11:41:45 +00:00
martin e6cb94a704 Remove unused variable and ifdef another like their use 2013-09-14 11:39:08 +00:00