2 * caddy.c -- esd VME8349 support for "missing" access modes in TSI148.
3 * Copyright (c) 2009 esd gmbh.
5 * Reinhard Arlt <reinhard.arlt@esd-electronics.com>
7 * SPDX-License-Identifier: GPL-2.0+
14 #define ANSWER_SIZE 1024
15 #define CADDY_MAGIC "esd vme8349 V1.0"
22 CADDY_CMD_IO_WRITE_16
,
23 CADDY_CMD_IO_WRITE_32
,
24 CADDY_CMD_CONFIG_READ_8
,
25 CADDY_CMD_CONFIG_READ_16
,
26 CADDY_CMD_CONFIG_READ_32
,
27 CADDY_CMD_CONFIG_WRITE_8
,
28 CADDY_CMD_CONFIG_WRITE_16
,
29 CADDY_CMD_CONFIG_WRITE_32
,
46 struct caddy_interface
{
52 struct caddy_cmd cmd
[CMD_SIZE
];
57 struct caddy_answer answer
[CMD_SIZE
];
60 #endif /* of __CADDY_H__ */