A fifth iteration of the first steps of RNDIS consolidation. This version mainly address byte order issues found with sparse by Jussi Kivilinna, his fixes are folded into patch 1. At the end I have added Jussis patches cleaning up rndis_host and rndis_wlan based on top of this series. Jussi Kivilinna (4): rndis_host: cleanup: byteswap data from device instead of RNDIS_* defines rndis_wlan: cleanup: byteswap data from device instead of RNDIS_* defines rndis_host: cleanup: change oid from __le32 to u32 in rndis_query() rndis_wlan: cleanup: change oid from __le32 to u32 in various places Linus Walleij (13): usb/net: rndis: inline the cpu_to_le32() macro usb/net: rndis: break out <linux/rndis.h> defines usb/net: rndis: remove ambigous status codes usb/net: rndis: eliminate first set of duplicate OIDs usb/net: rndis: merge duplicate 802_* OIDs usb/net: rndis: delete surplus defines usb/net: rndis: group all status codes together usb/net: rndis: merge media type definitions usb/net: rndis: delete duplicate packet types usb/net: rndis: move and namespace PnP defines usb/net: rndis: merge command codes usb/net: rndis: fixup a few name prefixes usb/net: rndis: move bus message definition drivers/net/hyperv/hyperv_net.h | 290 +--------------------------- drivers/net/hyperv/rndis_filter.c | 46 +++--- drivers/net/usb/rndis_host.c | 83 ++++---- drivers/net/wireless/rndis_wlan.c | 361 +++++++++++++++++------------------ drivers/usb/gadget/f_rndis.c | 6 +- drivers/usb/gadget/ndis.h | 164 ---------------- drivers/usb/gadget/rndis.c | 271 +++++++++++++------------- drivers/usb/gadget/rndis.h | 48 +----- include/linux/rndis.h | 390 +++++++++++++++++++++++++++++++++++++ include/linux/usb/rndis_host.h | 66 +------ 10 files changed, 774 insertions(+), 951 deletions(-) create mode 100644 include/linux/rndis.h -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html