hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/drivers/net/usb/zaurus.c
....@@ -1,19 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2002 Pavel Machek <pavel@ucw.cz>
34 * Copyright (C) 2002-2005 by David Brownell
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License as published by
7
- * the Free Software Foundation; either version 2 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
175 */
186
197 // #define DEBUG // error path messages, extra info
....@@ -301,9 +289,23 @@
301289 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
302290 | USB_DEVICE_ID_MATCH_DEVICE,
303291 .idVendor = 0x04DD,
292
+ .idProduct = 0x8005, /* A-300 */
293
+ ZAURUS_FAKE_INTERFACE,
294
+ .driver_info = (unsigned long)&bogus_mdlm_info,
295
+}, {
296
+ .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
297
+ | USB_DEVICE_ID_MATCH_DEVICE,
298
+ .idVendor = 0x04DD,
304299 .idProduct = 0x8006, /* B-500/SL-5600 */
305300 ZAURUS_MASTER_INTERFACE,
306301 .driver_info = ZAURUS_PXA_INFO,
302
+}, {
303
+ .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
304
+ | USB_DEVICE_ID_MATCH_DEVICE,
305
+ .idVendor = 0x04DD,
306
+ .idProduct = 0x8006, /* B-500/SL-5600 */
307
+ ZAURUS_FAKE_INTERFACE,
308
+ .driver_info = (unsigned long)&bogus_mdlm_info,
307309 }, {
308310 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
309311 | USB_DEVICE_ID_MATCH_DEVICE,
....@@ -313,6 +315,13 @@
313315 .driver_info = ZAURUS_PXA_INFO,
314316 }, {
315317 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
318
+ | USB_DEVICE_ID_MATCH_DEVICE,
319
+ .idVendor = 0x04DD,
320
+ .idProduct = 0x8007, /* C-700 */
321
+ ZAURUS_FAKE_INTERFACE,
322
+ .driver_info = (unsigned long)&bogus_mdlm_info,
323
+}, {
324
+ .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
316325 | USB_DEVICE_ID_MATCH_DEVICE,
317326 .idVendor = 0x04DD,
318327 .idProduct = 0x9031, /* C-750 C-760 */