#include <linux/module.h>
#include <linux/slab.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#include "usb.h"
#include "transport.h"
#include "debug.h"
#include "unusual_karma.h"
Go to the source code of this file.
|
#define | RIO_PREFIX "RIOP\x00" |
|
#define | RIO_PREFIX_LEN 5 |
|
#define | RIO_SEND_LEN 40 |
|
#define | RIO_RECV_LEN 0x200 |
|
#define | RIO_ENTER_STORAGE 0x1 |
|
#define | RIO_LEAVE_STORAGE 0x2 |
|
#define | RIO_RESET 0xC |
|
#define | UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, vendorName, productName, useProtocol, useTransport, initFunction, flags) |
|
#define | UNUSUAL_DEV(idVendor, idProduct, bcdDeviceMin, bcdDeviceMax, vendor_name, product_name, use_protocol, use_transport, init_function, Flags) |
|
#define RIO_ENTER_STORAGE 0x1 |
#define RIO_LEAVE_STORAGE 0x2 |
#define RIO_PREFIX "RIOP\x00" |
#define RIO_RECV_LEN 0x200 |
#define UNUSUAL_DEV |
( |
|
id_vendor, |
|
|
|
id_product, |
|
|
|
bcdDeviceMin, |
|
|
|
bcdDeviceMax, |
|
|
|
vendorName, |
|
|
|
productName, |
|
|
|
useProtocol, |
|
|
|
useTransport, |
|
|
|
initFunction, |
|
|
|
flags |
|
) |
| |
Value:{ USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \
Definition at line 73 of file karma.c.
#define UNUSUAL_DEV |
( |
|
idVendor, |
|
|
|
idProduct, |
|
|
|
bcdDeviceMin, |
|
|
|
bcdDeviceMax, |
|
|
|
vendor_name, |
|
|
|
product_name, |
|
|
|
use_protocol, |
|
|
|
use_transport, |
|
|
|
init_function, |
|
|
|
Flags |
|
) |
| |
Value:{ \
.vendorName = vendor_name, \
.productName = product_name, \
.useProtocol = use_protocol, \
.useTransport = use_transport, \
.initFunction = init_function, \
}
Definition at line 73 of file karma.c.
MODULE_DESCRIPTION |
( |
"Driver for Rio Karma" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
karma_usb_ids |
|
|
) |
| |
module_usb_driver |
( |
karma_driver |
| ) |
|