karma.c (9a64e8e0ace51b309fdcff4b4754b3649250382a) | karma.c (f61870ee6f8cc77a844e22f26c58028078df7167) |
---|---|
1/* Driver for Rio Karma 2 * 3 * (c) 2006 Bob Copeland <me@bobcopeland.com> 4 * (c) 2006 Keith Bennett <keith@mcs.st-and.ac.uk> 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by the 8 * Free Software Foundation; either version 2, or (at your option) any --- 43 unchanged lines hidden (view full) --- 52 53/* 54 * The table of devices 55 */ 56#define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \ 57 vendorName, productName, useProtocol, useTransport, \ 58 initFunction, flags) \ 59{ USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \ | 1/* Driver for Rio Karma 2 * 3 * (c) 2006 Bob Copeland <me@bobcopeland.com> 4 * (c) 2006 Keith Bennett <keith@mcs.st-and.ac.uk> 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by the 8 * Free Software Foundation; either version 2, or (at your option) any --- 43 unchanged lines hidden (view full) --- 52 53/* 54 * The table of devices 55 */ 56#define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \ 57 vendorName, productName, useProtocol, useTransport, \ 58 initFunction, flags) \ 59{ USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \ |
60 .driver_info = (flags)|(USB_US_TYPE_STOR<<24) } | 60 .driver_info = (flags) } |
61 62static struct usb_device_id karma_usb_ids[] = { 63# include "unusual_karma.h" 64 { } /* Terminating entry */ 65}; 66MODULE_DEVICE_TABLE(usb, karma_usb_ids); 67 68#undef UNUSUAL_DEV --- 168 unchanged lines hidden --- | 61 62static struct usb_device_id karma_usb_ids[] = { 63# include "unusual_karma.h" 64 { } /* Terminating entry */ 65}; 66MODULE_DEVICE_TABLE(usb, karma_usb_ids); 67 68#undef UNUSUAL_DEV --- 168 unchanged lines hidden --- |