diff options
Diffstat (limited to 'drivers/usb/gadget/rndis.h')
| -rw-r--r-- | drivers/usb/gadget/rndis.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/usb/gadget/rndis.h b/drivers/usb/gadget/rndis.h index 95b4c6326100..2956608be751 100644 --- a/drivers/usb/gadget/rndis.h +++ b/drivers/usb/gadget/rndis.h | |||
| @@ -1,15 +1,15 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * RNDIS Definitions for Remote NDIS | 2 | * RNDIS Definitions for Remote NDIS |
| 3 | * | 3 | * |
| 4 | * Version: $Id: rndis.h,v 1.15 2004/03/25 21:33:46 robert Exp $ | 4 | * Version: $Id: rndis.h,v 1.15 2004/03/25 21:33:46 robert Exp $ |
| 5 | * | 5 | * |
| 6 | * Authors: Benedikt Spranger, Pengutronix | 6 | * Authors: Benedikt Spranger, Pengutronix |
| 7 | * Robert Schwebel, Pengutronix | 7 | * Robert Schwebel, Pengutronix |
| 8 | * | 8 | * |
| 9 | * This program is free software; you can redistribute it and/or | 9 | * This program is free software; you can redistribute it and/or |
| 10 | * modify it under the terms of the GNU General Public License | 10 | * modify it under the terms of the GNU General Public License |
| 11 | * version 2, as published by the Free Software Foundation. | 11 | * version 2, as published by the Free Software Foundation. |
| 12 | * | 12 | * |
| 13 | * This software was originally developed in conformance with | 13 | * This software was originally developed in conformance with |
| 14 | * Microsoft's Remote NDIS Specification License Agreement. | 14 | * Microsoft's Remote NDIS Specification License Agreement. |
| 15 | */ | 15 | */ |
| @@ -34,7 +34,7 @@ | |||
| 34 | #define RNDIS_STATUS_MEDIA_CONNECT 0x4001000BU /* Device connected */ | 34 | #define RNDIS_STATUS_MEDIA_CONNECT 0x4001000BU /* Device connected */ |
| 35 | #define RNDIS_STATUS_MEDIA_DISCONNECT 0x4001000CU /* Device disconnected */ | 35 | #define RNDIS_STATUS_MEDIA_DISCONNECT 0x4001000CU /* Device disconnected */ |
| 36 | /* For all not specified status messages: | 36 | /* For all not specified status messages: |
| 37 | * RNDIS_STATUS_Xxx -> NDIS_STATUS_Xxx | 37 | * RNDIS_STATUS_Xxx -> NDIS_STATUS_Xxx |
| 38 | */ | 38 | */ |
| 39 | 39 | ||
| 40 | /* Message Set for Connectionless (802.3) Devices */ | 40 | /* Message Set for Connectionless (802.3) Devices */ |
| @@ -69,7 +69,7 @@ | |||
| 69 | #define OID_PNP_ENABLE_WAKE_UP 0xFD010106 | 69 | #define OID_PNP_ENABLE_WAKE_UP 0xFD010106 |
| 70 | 70 | ||
| 71 | 71 | ||
| 72 | typedef struct rndis_init_msg_type | 72 | typedef struct rndis_init_msg_type |
| 73 | { | 73 | { |
| 74 | __le32 MessageType; | 74 | __le32 MessageType; |
| 75 | __le32 MessageLength; | 75 | __le32 MessageLength; |
| @@ -234,12 +234,12 @@ typedef struct rndis_params | |||
| 234 | 234 | ||
| 235 | const u8 *host_mac; | 235 | const u8 *host_mac; |
| 236 | u16 *filter; | 236 | u16 *filter; |
| 237 | struct net_device *dev; | 237 | struct net_device *dev; |
| 238 | struct net_device_stats *stats; | 238 | struct net_device_stats *stats; |
| 239 | 239 | ||
| 240 | u32 vendorID; | 240 | u32 vendorID; |
| 241 | const char *vendorDescr; | 241 | const char *vendorDescr; |
| 242 | int (*ack) (struct net_device *); | 242 | int (*ack) (struct net_device *); |
| 243 | struct list_head resp_queue; | 243 | struct list_head resp_queue; |
| 244 | } rndis_params; | 244 | } rndis_params; |
| 245 | 245 | ||
| @@ -250,7 +250,7 @@ void rndis_deregister (int configNr); | |||
| 250 | int rndis_set_param_dev (u8 configNr, struct net_device *dev, | 250 | int rndis_set_param_dev (u8 configNr, struct net_device *dev, |
| 251 | struct net_device_stats *stats, | 251 | struct net_device_stats *stats, |
| 252 | u16 *cdc_filter); | 252 | u16 *cdc_filter); |
| 253 | int rndis_set_param_vendor (u8 configNr, u32 vendorID, | 253 | int rndis_set_param_vendor (u8 configNr, u32 vendorID, |
| 254 | const char *vendorDescr); | 254 | const char *vendorDescr); |
| 255 | int rndis_set_param_medium (u8 configNr, u32 medium, u32 speed); | 255 | int rndis_set_param_medium (u8 configNr, u32 medium, u32 speed); |
| 256 | void rndis_add_hdr (struct sk_buff *skb); | 256 | void rndis_add_hdr (struct sk_buff *skb); |
