#include <linux/usb.h>
#include <linux/usb_usual.h>
#include <linux/blkdev.h>
#include <linux/completion.h>
#include <linux/mutex.h>
#include <linux/cdrom.h>
#include <linux/kernel.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_devinfo.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_host.h>
Go to the source code of this file.
#define DRIVER_VERSION "v1.04" |
#define FLIDX_SG_ACTIVE 1 /* current_sg is in use */ |
#define FLIDX_TIMED_OUT 5 /* SCSI midlayer timed out */ |
#define FLIDX_URB_ACTIVE 0 /* current_urb is in use */ |
#define POLLING_IN_THREAD |
#define RCV_BULK_PIPE |
( |
|
chip | ) |
((chip)->usb->recv_bulk_pipe) |
#define RCV_CTRL_PIPE |
( |
|
chip | ) |
((chip)->usb->recv_ctrl_pipe) |
#define RCV_INTR_PIPE |
( |
|
chip | ) |
((chip)->usb->recv_intr_pipe) |
#define RTS51X_CTL_THREAD "rts5139-control" |
#define RTS51X_IOBUF_SIZE 1024 |
#define RTS51X_NAME "rts5139" |
#define RTS51X_POLLING_THREAD "rts5139-polling" |
#define rts51x_reset_resume NULL |
#define rts51x_resume NULL |
#define rts51x_suspend NULL |
#define scsi_lock |
( |
|
host | ) |
spin_lock_irq(host->host_lock) |
#define scsi_unlock |
( |
|
host | ) |
spin_unlock_irq(host->host_lock) |
#define SND_BULK_PIPE |
( |
|
chip | ) |
((chip)->usb->send_bulk_pipe) |
#define SND_CTRL_PIPE |
( |
|
chip | ) |
((chip)->usb->send_ctrl_pipe) |
#define wait_timeout_x |
( |
|
task_state, |
|
|
|
msecs |
|
) |
| |
Value:do { \
set_current_state((task_state)); \
schedule_timeout((msecs) *
HZ / 1000); \
} while (0)
Definition at line 55 of file rts51x.h.
- Enumerator:
TO_XFER_BUF |
|
FROM_XFER_BUF |
|
TO_XFER_BUF |
|
FROM_XFER_BUF |
|
TO_XFER_BUF |
|
FROM_XFER_BUF |
|
TO_XFER_BUF |
|
FROM_XFER_BUF |
|
Definition at line 178 of file rts51x.h.
struct usb_driver rts51x_driver |