All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] backports: add definition for USB_SPEED_SUPER_PLUS
@ 2016-06-05  9:30 Arend van Spriel
  2016-06-05  9:30 ` [PATCH 2/2] backports: patches: update devcoredump patch Arend van Spriel
  2016-07-10 21:16 ` [PATCH 1/2] backports: add definition for USB_SPEED_SUPER_PLUS Hauke Mehrtens
  0 siblings, 2 replies; 10+ messages in thread
From: Arend van Spriel @ 2016-06-05  9:30 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: backports, Arend van Spriel

Speed definition for usb3.1 has been added in 4.6 kernel. Add
definiton for older kernels.

Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
---
 backport/backport-include/linux/usb/ch9.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/backport/backport-include/linux/usb/ch9.h b/backport/backport-include/linux/usb/ch9.h
index 135e24c..c42fc30 100644
--- a/backport/backport-include/linux/usb/ch9.h
+++ b/backport/backport-include/linux/usb/ch9.h
@@ -21,4 +21,8 @@ static inline int usb_endpoint_maxp(const struct usb_endpoint_descriptor *epd)
 }
 #endif /* < 3.2 */
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,6,0)
+#define USB_SPEED_SUPER_PLUS	(USB_SPEED_SUPER + 1)
+#endif /* < 4.6 */
+
 #endif /* __BACKPORT__LINUX_USB_CH9_H */
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-07-15 10:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-05  9:30 [PATCH 1/2] backports: add definition for USB_SPEED_SUPER_PLUS Arend van Spriel
2016-06-05  9:30 ` [PATCH 2/2] backports: patches: update devcoredump patch Arend van Spriel
2016-06-05 15:00   ` Johannes Berg
2016-06-06  8:58     ` Arend Van Spriel
2016-06-06  9:00       ` Johannes Berg
2016-06-06  9:10         ` Arend Van Spriel
2016-06-06  9:12           ` Johannes Berg
2016-06-06  9:35             ` Arend Van Spriel
2016-07-10 21:16 ` [PATCH 1/2] backports: add definition for USB_SPEED_SUPER_PLUS Hauke Mehrtens
2016-07-15 10:56   ` Arend Van Spriel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.