isd200.c (9a64e8e0ace51b309fdcff4b4754b3649250382a) | isd200.c (f61870ee6f8cc77a844e22f26c58028078df7167) |
---|---|
1/* Transport & Protocol Driver for In-System Design, Inc. ISD200 ASIC 2 * 3 * Current development and maintenance: 4 * (C) 2001-2002 Björn Stenberg (bjorn@haxx.se) 5 * 6 * Developed with the assistance of: 7 * (C) 2002 Alan Stern <stern@rowland.org> 8 * --- 60 unchanged lines hidden (view full) --- 69 70/* 71 * The table of devices 72 */ 73#define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \ 74 vendorName, productName, useProtocol, useTransport, \ 75 initFunction, flags) \ 76{ USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \ | 1/* Transport & Protocol Driver for In-System Design, Inc. ISD200 ASIC 2 * 3 * Current development and maintenance: 4 * (C) 2001-2002 Björn Stenberg (bjorn@haxx.se) 5 * 6 * Developed with the assistance of: 7 * (C) 2002 Alan Stern <stern@rowland.org> 8 * --- 60 unchanged lines hidden (view full) --- 69 70/* 71 * The table of devices 72 */ 73#define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \ 74 vendorName, productName, useProtocol, useTransport, \ 75 initFunction, flags) \ 76{ USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \ |
77 .driver_info = (flags)|(USB_US_TYPE_STOR<<24) } | 77 .driver_info = (flags) } |
78 79static struct usb_device_id isd200_usb_ids[] = { 80# include "unusual_isd200.h" 81 { } /* Terminating entry */ 82}; 83MODULE_DEVICE_TABLE(usb, isd200_usb_ids); 84 85#undef UNUSUAL_DEV | 78 79static struct usb_device_id isd200_usb_ids[] = { 80# include "unusual_isd200.h" 81 { } /* Terminating entry */ 82}; 83MODULE_DEVICE_TABLE(usb, isd200_usb_ids); 84 85#undef UNUSUAL_DEV |
86#undef USUAL_DEV | |
87 88/* 89 * The flags table 90 */ 91#define UNUSUAL_DEV(idVendor, idProduct, bcdDeviceMin, bcdDeviceMax, \ 92 vendor_name, product_name, use_protocol, use_transport, \ 93 init_function, Flags) \ 94{ \ --- 5 unchanged lines hidden (view full) --- 100} 101 102static struct us_unusual_dev isd200_unusual_dev_list[] = { 103# include "unusual_isd200.h" 104 { } /* Terminating entry */ 105}; 106 107#undef UNUSUAL_DEV | 86 87/* 88 * The flags table 89 */ 90#define UNUSUAL_DEV(idVendor, idProduct, bcdDeviceMin, bcdDeviceMax, \ 91 vendor_name, product_name, use_protocol, use_transport, \ 92 init_function, Flags) \ 93{ \ --- 5 unchanged lines hidden (view full) --- 99} 100 101static struct us_unusual_dev isd200_unusual_dev_list[] = { 102# include "unusual_isd200.h" 103 { } /* Terminating entry */ 104}; 105 106#undef UNUSUAL_DEV |
108#undef USUAL_DEV | |
109 | 107 |
110 | |
111/* Timeout defines (in Seconds) */ 112 113#define ISD200_ENUM_BSY_TIMEOUT 35 114#define ISD200_ENUM_DETECT_TIMEOUT 30 115#define ISD200_DEFAULT_TIMEOUT 30 116 117/* device flags */ 118#define DF_ATA_DEVICE 0x0001 --- 1454 unchanged lines hidden --- | 108/* Timeout defines (in Seconds) */ 109 110#define ISD200_ENUM_BSY_TIMEOUT 35 111#define ISD200_ENUM_DETECT_TIMEOUT 30 112#define ISD200_DEFAULT_TIMEOUT 30 113 114/* device flags */ 115#define DF_ATA_DEVICE 0x0001 --- 1454 unchanged lines hidden --- |