Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cypress_atacb.c File Reference
#include <linux/module.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_eh.h>
#include <linux/ata.h>
#include "usb.h"
#include "protocol.h"
#include "scsiglue.h"
#include "debug.h"
#include "unusual_cypress.h"

Go to the source code of this file.

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 ("SAT support for Cypress USB/ATA bridges with ATACB")
 
 MODULE_AUTHOR ("Matthieu Castet <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (usb, cypress_usb_ids)
 
 module_usb_driver (cypress_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 57 of file cypress_atacb.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 57 of file cypress_atacb.c.

Function Documentation

MODULE_AUTHOR ( "Matthieu Castet <[email protected]>"  )
MODULE_DESCRIPTION ( "SAT support for Cypress USB/ATA bridges with ATACB"  )
MODULE_DEVICE_TABLE ( usb  ,
cypress_usb_ids   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( cypress_driver  )