mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 05:24:12 +08:00
8fa7fd74ef
This commit changes prefix for some of the USB mass storage class related macros (ie. USB_SC_ for subclass and USB_PR_ for class). Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
37 lines
1.3 KiB
C
37 lines
1.3 KiB
C
/* Unusual Devices File for the Maxtor OneTouch USB hard drive's button
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2, or (at your option) any
|
|
* later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*/
|
|
|
|
#if defined(CONFIG_USB_STORAGE_ONETOUCH) || \
|
|
defined(CONFIG_USB_STORAGE_ONETOUCH_MODULE)
|
|
|
|
/* Submitted by: Nick Sillik <n.sillik@temple.edu>
|
|
* Needed for OneTouch extension to usb-storage
|
|
*/
|
|
UNUSUAL_DEV( 0x0d49, 0x7000, 0x0000, 0x9999,
|
|
"Maxtor",
|
|
"OneTouch External Harddrive",
|
|
USB_SC_DEVICE, USB_PR_DEVICE, onetouch_connect_input,
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x0d49, 0x7010, 0x0000, 0x9999,
|
|
"Maxtor",
|
|
"OneTouch External Harddrive",
|
|
USB_SC_DEVICE, USB_PR_DEVICE, onetouch_connect_input,
|
|
0),
|
|
|
|
#endif /* defined(CONFIG_USB_STORAGE_ONETOUCH) || ... */
|