diff options
author | Shraddha Barke <shraddha.6596@gmail.com> | 2016-03-05 19:25:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-12 06:09:09 (GMT) |
commit | 3765dc92cb1ce1615538216c7870fcfbc026c714 (patch) | |
tree | 438587ecfbdb35d6bac8eeb60f06cee0e1450bd0 /drivers/staging/gdm72xx/usb_ids.h | |
parent | e0a2d503a96b97d6478c5b00f4d3e3446f7b95e8 (diff) | |
download | linux-3765dc92cb1ce1615538216c7870fcfbc026c714.tar.xz |
Staging: gdm72xx: Remove gdm72xx driver
Remove support for gdm72xx driver from the kernel since Wimax is dead.
[1] http://www.networkworld.com/article/2220370/4g/wimax-is-dead.html
[2] http://www.androidcentral.com/sprint-confirms-wimax-shutdown-november-6-2015
Chrome OS can distribute this driver alongside their library.
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm72xx/usb_ids.h')
-rw-r--r-- | drivers/staging/gdm72xx/usb_ids.h | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/drivers/staging/gdm72xx/usb_ids.h b/drivers/staging/gdm72xx/usb_ids.h deleted file mode 100644 index 84a6d68..0000000 --- a/drivers/staging/gdm72xx/usb_ids.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved. - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -#ifndef __GDM72XX_USB_IDS_H__ -#define __GDM72XX_USB_IDS_H__ - -/*You can replace vendor-ID as yours.*/ -#define GCT_VID 0x1076 - -/*You can replace product-ID as yours.*/ -#define GCT_PID1 0x7e00 -#define GCT_PID2 0x7f00 - -#define USB_DEVICE_ID_MATCH_DEVICE_INTERFACE \ - (USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_CLASS) - -#define USB_DEVICE_INTF(vend, prod, intf) \ - .match_flags = USB_DEVICE_ID_MATCH_DEVICE_INTERFACE, \ - .idVendor = (vend), .idProduct = (prod), .bInterfaceClass = (intf) - -#define EMERGENCY_PID 0x720f -#define BL_PID_MASK 0xffc0 - -#define USB_DEVICE_BOOTLOADER(vid, pid) \ - {USB_DEVICE((vid), ((pid) & BL_PID_MASK) | B_DOWNLOAD)} - -#define USB_DEVICE_BOOTLOADER_DRV(vid, pid) \ - {USB_DEVICE((vid), ((pid) & BL_PID_MASK) | B_DOWNLOAD | B_DIFF_DL_DRV)} - -#define USB_DEVICE_CDC_DATA(vid, pid) \ - {USB_DEVICE_INTF((vid), (pid), USB_CLASS_CDC_DATA)} - -static const struct usb_device_id id_table[] = { - USB_DEVICE_BOOTLOADER(GCT_VID, GCT_PID1), - USB_DEVICE_BOOTLOADER_DRV(GCT_VID, GCT_PID1), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x1), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x2), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x3), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x4), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x5), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x6), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x7), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x8), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x9), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0xa), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0xb), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0xc), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0xd), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0xe), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0xf), - - USB_DEVICE_BOOTLOADER(GCT_VID, GCT_PID2), - USB_DEVICE_BOOTLOADER_DRV(GCT_VID, GCT_PID2), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x1), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x2), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x3), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x4), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x5), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x6), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x7), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x8), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x9), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0xa), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0xb), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0xc), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0xd), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0xe), - USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0xf), - - {USB_DEVICE(GCT_VID, EMERGENCY_PID)}, - { } -}; - -#endif /* __GDM72XX_USB_IDS_H__ */ |