adutux.c (39fe5434cb9de5da40510028b17b96bc4eb312b3) adutux.c (f6c1ceaa3844b7a7787816cc97d15b9fea8b0909)
1/*
2 * adutux - driver for ADU devices from Ontrak Control Systems
3 * This is an experimental driver. Use at your own risk.
4 * This driver is not supported by Ontrak Control Systems.
5 *
6 * Copyright (c) 2003 John Homppi (SCO, leave this notice here)
7 *
8 * This program is free software; you can redistribute it and/or

--- 174 unchanged lines hidden (view full) ---

183
184 dbg(4," %s : enter, status %d", __FUNCTION__, status);
185 adu_debug_data(5, __FUNCTION__, urb->actual_length,
186 urb->transfer_buffer);
187
188 spin_lock(&dev->buflock);
189
190 if (status != 0) {
1/*
2 * adutux - driver for ADU devices from Ontrak Control Systems
3 * This is an experimental driver. Use at your own risk.
4 * This driver is not supported by Ontrak Control Systems.
5 *
6 * Copyright (c) 2003 John Homppi (SCO, leave this notice here)
7 *
8 * This program is free software; you can redistribute it and/or

--- 174 unchanged lines hidden (view full) ---

183
184 dbg(4," %s : enter, status %d", __FUNCTION__, status);
185 adu_debug_data(5, __FUNCTION__, urb->actual_length,
186 urb->transfer_buffer);
187
188 spin_lock(&dev->buflock);
189
190 if (status != 0) {
191 if ((status != -ENOENT) && (status != -ECONNRESET)) {
191 if ((status != -ENOENT) && (status != -ECONNRESET) &&
192 (status != -ESHUTDOWN)) {
192 dbg(1," %s : nonzero status received: %d",
193 __FUNCTION__, status);
194 }
195 goto exit;
196 }
197
198 if (urb->actual_length > 0 && dev->interrupt_in_buffer[0] != 0x00) {
199 if (dev->read_buffer_length <

--- 704 unchanged lines hidden ---
193 dbg(1," %s : nonzero status received: %d",
194 __FUNCTION__, status);
195 }
196 goto exit;
197 }
198
199 if (urb->actual_length > 0 && dev->interrupt_in_buffer[0] != 0x00) {
200 if (dev->read_buffer_length <

--- 704 unchanged lines hidden ---