blob: 7c142419419c0ec8d64c48beceb8495ca9abb7fc [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/*
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
19#ifndef _DDBRIDGE_HW_H_
20#define _DDBRIDGE_HW_H_
21
22#include "ddbridge.h"
23
24/******************************************************************************/
25
26#define DDVID 0xdd01 /* Digital Devices Vendor ID */
27
28/******************************************************************************/
29
30struct ddb_device_id {
31 u16 vendor;
32 u16 device;
33 u16 subvendor;
34 u16 subdevice;
35 const struct ddb_info *info;
36};
37
38/******************************************************************************/
39
40const struct ddb_info *get_ddb_info(u16 vendor, u16 device,
41 u16 subvendor, u16 subdevice);
42
43#endif /* _DDBRIDGE_HW_H */