24 #include <linux/kernel.h>
25 #include <linux/module.h>
33 #define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \
34 vendorName, productName, useProtocol, useTransport, \
35 initFunction, flags) \
36 { USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \
37 .driver_info = (flags) }
39 #define COMPLIANT_DEV UNUSUAL_DEV
41 #define USUAL_DEV(useProto, useTrans) \
42 { USB_INTERFACE_INFO(USB_CLASS_MASS_STORAGE, useProto, useTrans) }
61 #define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \
62 vendorName, productName, useProtocol, useTransport, \
63 initFunction, flags) \
67 .bcdmin = bcdDeviceMin, \
68 .bcdmax = bcdDeviceMax, \
93 struct usb_device *
udev;
97 udev = interface_to_usbdev(intf);
102 for (p = ignore_ids; p->
vid; ++
p) {
103 if (p->
vid == vid && p->
pid == pid &&