Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
32 lines
1.2 KiB
C
32 lines
1.2 KiB
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/* $Id: isdn_divertif.h,v 1.4.6.1 2001/09/23 22:25:05 kai Exp $
|
|
*
|
|
* Header for the diversion supplementary interface for i4l.
|
|
*
|
|
* Author Werner Cornelius (werner@titro.de)
|
|
* Copyright by Werner Cornelius (werner@titro.de)
|
|
*
|
|
* This software may be used and distributed according to the terms
|
|
* of the GNU General Public License, incorporated herein by reference.
|
|
*
|
|
*/
|
|
|
|
#ifndef _UAPI_LINUX_ISDN_DIVERTIF_H
|
|
#define _UAPI_LINUX_ISDN_DIVERTIF_H
|
|
|
|
/***********************************************************/
|
|
/* magic value is also used to control version information */
|
|
/***********************************************************/
|
|
#define DIVERT_IF_MAGIC 0x25873401
|
|
#define DIVERT_CMD_REG 0x00 /* register command */
|
|
#define DIVERT_CMD_REL 0x01 /* release command */
|
|
#define DIVERT_NO_ERR 0x00 /* return value no error */
|
|
#define DIVERT_CMD_ERR 0x01 /* invalid cmd */
|
|
#define DIVERT_VER_ERR 0x02 /* magic/version invalid */
|
|
#define DIVERT_REG_ERR 0x03 /* module already registered */
|
|
#define DIVERT_REL_ERR 0x04 /* module not registered */
|
|
#define DIVERT_REG_NAME isdn_register_divert
|
|
|
|
|
|
#endif /* _UAPI_LINUX_ISDN_DIVERTIF_H */
|