1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * ddbridge-hw.h: Digital Devices bridge hardware maps
4  *
5  * Copyright (C) 2010-2017 Digital Devices GmbH
6  *                         Ralph Metzler <rjkm@metzlerbros.de>
7  *                         Marcus Metzler <mocm@metzlerbros.de>
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License
11  * version 2 only, as published by the Free Software Foundation.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
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 
30 struct 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 
40 const struct ddb_info *get_ddb_info(u16 vendor, u16 device,
41 				    u16 subvendor, u16 subdevice);
42 
43 #endif /* _DDBRIDGE_HW_H */
44