as102_usb_drv.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * Abilis Systems Single DVB-T Receiver
  3. * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
  4. * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2, or (at your option)
  9. * any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. */
  16. #ifndef _AS102_USB_DRV_H_
  17. #define _AS102_USB_DRV_H_
  18. #define AS102_USB_DEVICE_TX_CTRL_CMD 0xF1
  19. #define AS102_USB_DEVICE_RX_CTRL_CMD 0xF2
  20. /* define these values to match the supported devices */
  21. /* Abilis system: "TITAN" */
  22. #define AS102_REFERENCE_DESIGN "Abilis Systems DVB-Titan"
  23. #define AS102_USB_DEVICE_VENDOR_ID 0x1BA6
  24. #define AS102_USB_DEVICE_PID_0001 0x0001
  25. /* PCTV Systems: PCTV picoStick (74e) */
  26. #define AS102_PCTV_74E "PCTV Systems picoStick (74e)"
  27. #define PCTV_74E_USB_VID 0x2013
  28. #define PCTV_74E_USB_PID 0x0246
  29. /* Elgato: EyeTV DTT Deluxe */
  30. #define AS102_ELGATO_EYETV_DTT_NAME "Elgato EyeTV DTT Deluxe"
  31. #define ELGATO_EYETV_DTT_USB_VID 0x0fd9
  32. #define ELGATO_EYETV_DTT_USB_PID 0x002c
  33. /* nBox: nBox DVB-T Dongle */
  34. #define AS102_NBOX_DVBT_DONGLE_NAME "nBox DVB-T Dongle"
  35. #define NBOX_DVBT_DONGLE_USB_VID 0x0b89
  36. #define NBOX_DVBT_DONGLE_USB_PID 0x0007
  37. /* Sky Italia: Digital Key (green led) */
  38. #define AS102_SKY_IT_DIGITAL_KEY_NAME "Sky IT Digital Key (green led)"
  39. #define SKY_IT_DIGITAL_KEY_USB_VID 0x2137
  40. #define SKY_IT_DIGITAL_KEY_USB_PID 0x0001
  41. void as102_urb_stream_irq(struct urb *urb);
  42. struct as10x_usb_token_cmd_t {
  43. /* token cmd */
  44. struct as10x_cmd_t c;
  45. /* token response */
  46. struct as10x_cmd_t r;
  47. };
  48. #endif