OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [linux/] [baycom.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
/*
2
 * The Linux BAYCOM driver for the Baycom serial 1200 baud modem
3
 * and the parallel 9600 baud modem
4
 * (C) 1996 by Thomas Sailer, HB9JNX
5
 */
6
 
7
#ifndef _BAYCOM_H
8
#define _BAYCOM_H
9
 
10
#include <linux/sockios.h>
11
#include <linux/if_ether.h>
12
 
13
/* -------------------------------------------------------------------- */
14
/*
15
 * structs for the IOCTL commands
16
 */
17
 
18
struct baycom_debug_data {
19
        unsigned long debug1;
20
        unsigned long debug2;
21
        long debug3;
22
};
23
 
24
struct baycom_ioctl {
25
        int cmd;
26
        union {
27
                struct baycom_debug_data dbg;
28
        } data;
29
};
30
 
31
/* -------------------------------------------------------------------- */
32
 
33
/*
34
 * ioctl values change for baycom
35
 */
36
#define BAYCOMCTL_GETDEBUG       0x92
37
 
38
/* -------------------------------------------------------------------- */
39
 
40
#endif /* _BAYCOM_H */
41
 
42
/* --------------------------------------------------------------------- */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.