summaryrefslogtreecommitdiffstats
path: root/drivers/usb/microtek.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-04-05 04:55:58 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-04-05 04:55:58 +0000
commit74a9f2e1b4d3ab45a9f72cb5b556c9f521524ab3 (patch)
tree7c4cdb103ab1b388c9852a88bd6fb1e73eba0b5c /drivers/usb/microtek.h
parentee6374c8b0d333c08061c6a97bc77090d7461225 (diff)
Merge with Linux 2.4.3.
Note that mingetty does no longer work with serial console, you have to switch to another getty like getty_ps. This commit also includes a fix for a setitimer bug which did prevent getty_ps from working on older kernels.
Diffstat (limited to 'drivers/usb/microtek.h')
-rw-r--r--drivers/usb/microtek.h22
1 files changed, 5 insertions, 17 deletions
diff --git a/drivers/usb/microtek.h b/drivers/usb/microtek.h
index 8dcf734d3..c5d3f174b 100644
--- a/drivers/usb/microtek.h
+++ b/drivers/usb/microtek.h
@@ -21,20 +21,8 @@ struct mts_transfer_context
void* data;
unsigned data_length;
int data_pipe;
+ int fragment;
- enum {
- mts_con_none,
- mts_con_command,
- mts_con_data,
- mts_con_status,
- mts_con_error,
- mts_con_done
- }
- state;
-
- atomic_t do_abort; /* when != 0 URB completion routines will
- return straightaway */
-
u8 status; /* status returned from ep_response after command completion */
};
@@ -44,18 +32,18 @@ struct mts_desc {
struct mts_desc *prev;
struct usb_device *usb_dev;
-
+
int interface;
/* Endpoint addresses */
u8 ep_out;
u8 ep_response;
u8 ep_image;
-
+
struct Scsi_Host * host;
Scsi_Host_Template ctempl;
int host_number;
-
+
struct semaphore lock;
struct urb urb;
@@ -68,5 +56,5 @@ struct mts_desc {
#define MTS_EP_IMAGE 0x3
#define MTS_EP_TOTAL 0x3
-#define MTS_SCSI_ERR_MASK ~0x3fu
+#define MTS_SCSI_ERR_MASK ~0x3fu