au6610.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * DVB USB Linux driver for Alcor Micro AU6610 DVB-T USB2.0.
  3. *
  4. * Copyright (C) 2006 Antti Palosaari <crope@iki.fi>
  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 of the License, or
  9. * (at your option) 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. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. */
  20. #ifndef _DVB_USB_AU6610_H_
  21. #define _DVB_USB_AU6610_H_
  22. #define DVB_USB_LOG_PREFIX "au6610"
  23. #include "dvb-usb.h"
  24. #define deb_info(args...) dprintk(dvb_usb_au6610_debug, 0x01, args)
  25. #define AU6610_REQ_I2C_WRITE 0x14
  26. #define AU6610_REQ_I2C_READ 0x13
  27. #define AU6610_REQ_USB_WRITE 0x16
  28. #define AU6610_REQ_USB_READ 0x15
  29. #define AU6610_USB_TIMEOUT 1000
  30. #define AU6610_ALTSETTING_COUNT 6
  31. #define AU6610_ALTSETTING 5
  32. #endif