1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * driver for the IPOCTAL boards
7 * Copyright (C) 2009-2012 CERN (www.cern.ch)
8 * Author: Nicolas Serafini, EIC2 SA
9 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
16 #define IPOCTAL_MAX_BOARDS 16
17 #define MAX_DEVICES (NR_CHANNELS * IPOCTAL_MAX_BOARDS)
20 * struct ipoctal_stats -- Stats since last reset
22 * @tx: Number of transmitted bytes
23 * @rx: Number of received bytes
24 * @overrun: Number of overrun errors
25 * @parity_err: Number of parity errors
26 * @framing_err: Number of framing errors
27 * @rcv_break: Number of break received
29 struct ipoctal_stats
{
32 unsigned long overrun_err
;
33 unsigned long parity_err
;
34 unsigned long framing_err
;
35 unsigned long rcv_break
;
38 #endif /* _IPOCTAL_H_ */