/* SPDX-License-Identifier: GPL-2.0 */ /* * hdlcdrv.h -- HDLC packet radio network driver. * The Linux soundcard driver for 1200 baud and 9600 baud packet radio * (C) 1996-1998 by Thomas Sailer, HB9JNX/AE4WA
*/ #ifndef _HDLCDRV_H #define _HDLCDRV_H
#define HDLCDRV_MAGIC 0x5ac6e778 #define HDLCDRV_HDLCBUFFER 32 /* should be a power of 2 for speed reasons */ #define HDLCDRV_BITBUFFER 256 /* should be a power of 2 for speed reasons */ #undef HDLCDRV_LOOPBACK /* define for HDLC debugging purposes */ #define HDLCDRV_DEBUG
/* maximum packet length, excluding CRC */ #define HDLCDRV_MAXFLEN 400
/* -------------------------------------------------------------------- */ /* * Information that need to be kept for each driver.
*/
struct hdlcdrv_ops { /* * first some informations needed by the hdlcdrv routines
*/ constchar *drvname; constchar *drvinfo; /* * the routines called by the hdlcdrv routines
*/ int (*open)(struct net_device *); int (*close)(struct net_device *); int (*ioctl)(struct net_device *, void __user *, struct hdlcdrv_ioctl *, int);
};
struct hdlcdrv_state { int magic; int opened;
conststruct hdlcdrv_ops *ops;
struct { int bitrate;
} par;
struct hdlcdrv_pttoutput { int dma2; int seriobase; int pariobase; int midiiobase; unsignedint flags;
} ptt_out;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.