diff options
author | 2015-02-12 11:42:58 +0000 | |
---|---|---|
committer | 2015-02-12 11:42:58 +0000 | |
commit | 0f392f15a9ee03585c77bd51492bf86810f8b6a0 (patch) | |
tree | 6a33aa0af4c0ceebad45c3a97b52da661faabb33 | |
parent | Provide interface for external DMA address configuration. (diff) | |
download | wireguard-openbsd-0f392f15a9ee03585c77bd51492bf86810f8b6a0.tar.xz wireguard-openbsd-0f392f15a9ee03585c77bd51492bf86810f8b6a0.zip |
Fix typos.
-rw-r--r-- | sys/dev/usb/dwc2/dwc2_hcd.c | 10 | ||||
-rw-r--r-- | sys/dev/usb/dwc2/dwc2_hcd.h | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/usb/dwc2/dwc2_hcd.c b/sys/dev/usb/dwc2/dwc2_hcd.c index d07408ece31..383ded4d790 100644 --- a/sys/dev/usb/dwc2/dwc2_hcd.c +++ b/sys/dev/usb/dwc2/dwc2_hcd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwc2_hcd.c,v 1.13 2015/02/12 11:38:42 uebayasi Exp $ */ +/* $OpenBSD: dwc2_hcd.c,v 1.14 2015/02/12 11:42:58 uebayasi Exp $ */ /* $NetBSD: dwc2_hcd.c,v 1.15 2014/11/24 10:14:14 skrll Exp $ */ /* @@ -852,7 +852,7 @@ enum dwc2_transaction_type dwc2_hcd_select_transactions( struct dwc2_qh *qh; int num_channels; -#ifdef DWC2_DEBUG_SOF +#ifdef DWC2_DEBUG dev_vdbg(hsotg->dev, " Select Transactions\n"); #endif @@ -1284,7 +1284,7 @@ next: void dwc2_hcd_queue_transactions(struct dwc2_hsotg *hsotg, enum dwc2_transaction_type tr_type) { -#ifdef DWC2_DEBUG_SOF +#ifdef DWC2_DEBUG dev_vdbg(hsotg->dev, "Queue Transactions\n"); #endif /* Process host channels associated with periodic transfers */ @@ -1759,7 +1759,7 @@ int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg) { u32 hfnum = DWC2_READ_4(hsotg, HFNUM); -#ifdef DWC2_DEBUG_SOF +#ifdef DWC2_DEBUG dev_vdbg(hsotg->dev, "DWC OTG HCD GET FRAME NUMBER %d\n", (hfnum & HFNUM_FRNUM_MASK) >> HFNUM_FRNUM_SHIFT); #endif @@ -2165,7 +2165,7 @@ void dwc2_set_all_params(struct dwc2_core_params *params, int value) /* * Initializes the HCD. This function allocates memory for and initializes the - * STATIC parts of the usb_hcd and dwc2_hsotg structures. It also registers the + * static parts of the usb_hcd and dwc2_hsotg structures. It also registers the * USB bus with the core and calls the hc_driver->start() function. It returns * a negative error on failure. */ diff --git a/sys/dev/usb/dwc2/dwc2_hcd.h b/sys/dev/usb/dwc2/dwc2_hcd.h index 3fbf193bc4d..279a24b766e 100644 --- a/sys/dev/usb/dwc2/dwc2_hcd.h +++ b/sys/dev/usb/dwc2/dwc2_hcd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dwc2_hcd.h,v 1.10 2015/02/12 11:38:42 uebayasi Exp $ */ +/* $OpenBSD: dwc2_hcd.h,v 1.11 2015/02/12 11:42:58 uebayasi Exp $ */ /* $NetBSD: dwc2_hcd.h,v 1.9 2014/09/03 10:00:08 skrll Exp $ */ /* @@ -262,7 +262,7 @@ enum dwc2_transaction_type { * descriptor * @tt_buffer_dirty True if clear_tt_buffer_complete is pending * - * A Queue Head (QH) holds the STATIC characteristics of an endpoint and + * A Queue Head (QH) holds the static characteristics of an endpoint and * maintains a list of transfers (QTDs) for that endpoint. A QH structure may * be entered in either the non-periodic or periodic schedule. */ @@ -514,7 +514,7 @@ extern void dwc2_hcd_qh_free_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh); STATIC_INLINE bool dbg_hc(struct dwc2_host_chan *hc) { return true; } STATIC_INLINE bool dbg_qh(struct dwc2_qh *qh) { return true; } STATIC_INLINE bool dbg_perio(void) { return true; } -#else /* !CONFIG_USB_DWC2_DEBUG_PERIODIC */ +#else /* !DWC2_DEBUG */ STATIC_INLINE bool dbg_hc(struct dwc2_host_chan *hc) { return hc->ep_type == USB_ENDPOINT_XFER_BULK || |