ddbridge-hw.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * ddbridge-hw.h: Digital Devices bridge hardware maps
  3. *
  4. * Copyright (C) 2010-2017 Digital Devices GmbH
  5. * Ralph Metzler <rjkm@metzlerbros.de>
  6. * Marcus Metzler <mocm@metzlerbros.de>
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License
  10. * version 2 only, as published by the Free Software Foundation.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. */
  18. #ifndef _DDBRIDGE_HW_H_
  19. #define _DDBRIDGE_HW_H_
  20. #include "ddbridge.h"
  21. /******************************************************************************/
  22. #define DDVID 0xdd01 /* Digital Devices Vendor ID */
  23. /******************************************************************************/
  24. struct ddb_device_id {
  25. u16 vendor;
  26. u16 device;
  27. u16 subvendor;
  28. u16 subdevice;
  29. const struct ddb_info *info;
  30. };
  31. /******************************************************************************/
  32. const struct ddb_info *get_ddb_info(u16 vendor, u16 device,
  33. u16 subvendor, u16 subdevice);
  34. #endif /* _DDBRIDGE_HW_H */