diff options
Diffstat (limited to 'drivers/usb/wusbcore/wusbhc.h')
-rw-r--r-- | drivers/usb/wusbcore/wusbhc.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/usb/wusbcore/wusbhc.h b/drivers/usb/wusbcore/wusbhc.h index 3a2d09162e70..711b1952b114 100644 --- a/drivers/usb/wusbcore/wusbhc.h +++ b/drivers/usb/wusbcore/wusbhc.h | |||
@@ -69,6 +69,8 @@ | |||
69 | * zone 0. | 69 | * zone 0. |
70 | */ | 70 | */ |
71 | #define WUSB_CHANNEL_STOP_DELAY_MS 8 | 71 | #define WUSB_CHANNEL_STOP_DELAY_MS 8 |
72 | #define WUSB_RETRY_COUNT_MAX 15 | ||
73 | #define WUSB_RETRY_COUNT_INFINITE 0 | ||
72 | 74 | ||
73 | /** | 75 | /** |
74 | * Wireless USB device | 76 | * Wireless USB device |
@@ -252,6 +254,9 @@ struct wusbhc { | |||
252 | unsigned trust_timeout; /* in jiffies */ | 254 | unsigned trust_timeout; /* in jiffies */ |
253 | struct wusb_ckhdid chid; | 255 | struct wusb_ckhdid chid; |
254 | uint8_t phy_rate; | 256 | uint8_t phy_rate; |
257 | uint8_t dnts_num_slots; | ||
258 | uint8_t dnts_interval; | ||
259 | uint8_t retry_count; | ||
255 | struct wuie_host_info *wuie_host_info; | 260 | struct wuie_host_info *wuie_host_info; |
256 | 261 | ||
257 | struct mutex mutex; /* locks everything else */ | 262 | struct mutex mutex; /* locks everything else */ |
@@ -399,8 +404,6 @@ extern void wusbhc_rh_destroy(struct wusbhc *); | |||
399 | 404 | ||
400 | extern int wusbhc_rh_status_data(struct usb_hcd *, char *); | 405 | extern int wusbhc_rh_status_data(struct usb_hcd *, char *); |
401 | extern int wusbhc_rh_control(struct usb_hcd *, u16, u16, u16, char *, u16); | 406 | extern int wusbhc_rh_control(struct usb_hcd *, u16, u16, u16, char *, u16); |
402 | extern int wusbhc_rh_suspend(struct usb_hcd *); | ||
403 | extern int wusbhc_rh_resume(struct usb_hcd *); | ||
404 | extern int wusbhc_rh_start_port_reset(struct usb_hcd *, unsigned); | 407 | extern int wusbhc_rh_start_port_reset(struct usb_hcd *, unsigned); |
405 | 408 | ||
406 | /* MMC handling */ | 409 | /* MMC handling */ |