blob: e34bd94c266b913d15b4635ea799927e3c32bb7b [file] [log] [blame]
Daniel Scheller4771d832018-06-19 14:50:09 -04001/* SPDX-License-Identifier: GPL-2.0 */
Daniel Scheller69716932017-08-12 07:55:54 -04002/*
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.
Daniel Scheller69716932017-08-12 07:55:54 -040017 */
18
19#ifndef _DDBRIDGE_HW_H_
20#define _DDBRIDGE_HW_H_
21
22#include "ddbridge.h"
23
24/******************************************************************************/
25
Daniel Scheller66cc3d92017-08-20 06:41:11 -040026#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
Daniel Scheller66cc3d92017-08-20 06:41:11 -040040const struct ddb_info *get_ddb_info(u16 vendor, u16 device,
41 u16 subvendor, u16 subdevice);
42
Daniel Scheller69716932017-08-12 07:55:54 -040043#endif /* _DDBRIDGE_HW_H */