File: hwc_tty.h

package info (click to toggle)
kernel-source-2.2.19 2.2.19.1-4woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 92,100 kB
  • ctags: 276,892
  • sloc: ansic: 1,710,384; asm: 58,709; makefile: 10,198; sh: 2,398; perl: 907; tcl: 570; lisp: 218; cpp: 186; awk: 133; sed: 72
file content (30 lines) | stat: -rw-r--r-- 683 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 *  drivers/s390/char/hwc_tty.h
 *    interface to the HWC-terminal driver
 *
 *  S390 version
 *    Copyright (C) 2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
 *    Author(s): Martin Peschke <peschke@fh-brandenburg.de>
 */

#ifndef __HWC_TTY_H__
#define __HWC_TTY_H__

#include <linux/ioctl.h>

#define HWC_TTY_MAX_CNTL_SIZE	20

typedef struct {
	unsigned char intr_char[HWC_TTY_MAX_CNTL_SIZE];
	unsigned char intr_char_size;
} hwc_tty_ioctl_t;

static hwc_tty_ioctl_t _ioctl;

#define HWC_TTY_IOCTL_LETTER 'B'

#define TIOCHWCTTYSINTRC _IOW(HWC_TTY_IOCTL_LETTER, 40, _ioctl.intr_char)

#define TIOCHWCTTYGINTRC _IOR(HWC_TTY_IOCTL_LETTER, 41, _ioctl.intr_char)

#endif