- Kai Germaschewski: ISDN update (including Makefiles)
[davej-history.git] / include / linux / rocket.h
blob2019d4d35bbd095bde33bf9ea8eb274de83bbae9
1 /*
2 * This file contains the exported interface of the rocket driver to
3 * its configuration program.
4 */
6 struct rocket_config {
7 int line;
8 int flags;
9 int closing_wait;
10 int close_delay;
11 int port;
12 int reserved[32];
15 struct rocket_ports {
16 int tty_major;
17 int callout_major;
18 int port_bitmap[4];
19 int reserved[32];
23 * Rocketport flags
25 #define ROCKET_CALLOUT_NOHUP 0x00000001
26 #define ROCKET_FORCE_CD 0x00000002
27 #define ROCKET_HUP_NOTIFY 0x00000004
28 #define ROCKET_SPLIT_TERMIOS 0x00000008
29 #define ROCKET_SPD_MASK 0x00000070
30 #define ROCKET_SPD_HI 0x00000010 /* Use 56000 instead of 38400 bps */
31 #define ROCKET_SPD_VHI 0x00000020 /* Use 115200 instead of 38400 bps*/
32 #define ROCKET_SPD_SHI 0x00000030 /* Use 230400 instead of 38400 bps*/
33 #define ROCKET_SPD_WARP 0x00000040 /* Use 460800 instead of 38400 bps*/
34 #define ROCKET_SAK 0x00000080
35 #define ROCKET_SESSION_LOCKOUT 0x00000100
36 #define ROCKET_PGRP_LOCKOUT 0x00000200
38 #define ROCKET_FLAGS 0x000003FF
40 #define ROCKET_USR_MASK 0x0071 /* Legal flags that non-privileged
41 * users can set or reset */
44 * For closing_wait and closing_wait2
46 #define ROCKET_CLOSING_WAIT_NONE 65535
47 #define ROCKET_CLOSING_WAIT_INF 0
50 * Rocketport ioctls -- "RP"
52 #define RCKP_GET_STRUCT 0x00525001
53 #define RCKP_GET_CONFIG 0x00525002
54 #define RCKP_SET_CONFIG 0x00525003
55 #define RCKP_GET_PORTS 0x00525004