| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /** |
|---|
| 2 | 3 | * ipoctal.h |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * Copyright (C) 2009-2012 CERN (www.cern.ch) |
|---|
| 7 | 8 | * Author: Nicolas Serafini, EIC2 SA |
|---|
| 8 | 9 | * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com> |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 11 | | - * under the terms of the GNU General Public License as published by the Free |
|---|
| 12 | | - * Software Foundation; version 2 of the License. |
|---|
| 13 | 10 | */ |
|---|
| 14 | 11 | |
|---|
| 15 | 12 | #ifndef _IPOCTAL_H_ |
|---|
| .. | .. |
|---|
| 18 | 15 | #define NR_CHANNELS 8 |
|---|
| 19 | 16 | #define IPOCTAL_MAX_BOARDS 16 |
|---|
| 20 | 17 | #define MAX_DEVICES (NR_CHANNELS * IPOCTAL_MAX_BOARDS) |
|---|
| 21 | | -#define RELEVANT_IFLAG(iflag) ((iflag) & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK)) |
|---|
| 22 | 18 | |
|---|
| 23 | 19 | /** |
|---|
| 24 | 20 | * struct ipoctal_stats -- Stats since last reset |
|---|