Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
jumpshot.c File Reference
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include "usb.h"
#include "transport.h"
#include "protocol.h"
#include "debug.h"
#include "unusual_jumpshot.h"

Go to the source code of this file.

Data Structures

struct  jumpshot_info
 

Macros

#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)
 

Functions

 MODULE_DESCRIPTION ("Driver for Lexar \"Jumpshot\" Compact Flash reader")
 
 MODULE_AUTHOR ("Jimmie Mayfield <mayfield+usb@sackheads.org>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (usb, jumpshot_usb_ids)
 
 module_usb_driver (jumpshot_driver)
 

Macro Definition Documentation

#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), \
.driver_info = (flags) }

Definition at line 85 of file jumpshot.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 85 of file jumpshot.c.

Function Documentation

MODULE_AUTHOR ( "Jimmie Mayfield <mayfield+usb@sackheads.org>"  )
MODULE_DESCRIPTION ( "Driver for Lexar \"Jumpshot\" Compact Flash reader"  )
MODULE_DEVICE_TABLE ( usb  ,
jumpshot_usb_ids   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( jumpshot_driver  )