gp8psk.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* DVB USB compliant Linux driver for the
  2. * - GENPIX 8pks/qpsk/DCII USB2.0 DVB-S module
  3. *
  4. * Copyright (C) 2006 Alan Nisota (alannisota@gmail.com)
  5. * Copyright (C) 2006,2007 Alan Nisota (alannisota@gmail.com)
  6. *
  7. * Thanks to GENPIX for the sample code used to implement this module.
  8. *
  9. * This module is based off the vp7045 and vp702x modules
  10. *
  11. * This program is free software; you can redistribute it and/or modify it
  12. * under the terms of the GNU General Public License as published by the Free
  13. * Software Foundation, version 2.
  14. *
  15. * see Documentation/dvb/README.dvb-usb for more information
  16. */
  17. #ifndef _DVB_USB_GP8PSK_H_
  18. #define _DVB_USB_GP8PSK_H_
  19. #define DVB_USB_LOG_PREFIX "gp8psk"
  20. #include "dvb-usb.h"
  21. extern int dvb_usb_gp8psk_debug;
  22. #define deb_info(args...) dprintk(dvb_usb_gp8psk_debug,0x01,args)
  23. #define deb_xfer(args...) dprintk(dvb_usb_gp8psk_debug,0x02,args)
  24. #define deb_rc(args...) dprintk(dvb_usb_gp8psk_debug,0x04,args)
  25. #define GET_USB_SPEED 0x07
  26. #define RESET_FX2 0x13
  27. #define FW_VERSION_READ 0x0B
  28. #define VENDOR_STRING_READ 0x0C
  29. #define PRODUCT_STRING_READ 0x0D
  30. #define FW_BCD_VERSION_READ 0x14
  31. #endif