tty_tty.c (f83880518b12341c0e6c9decc990ade59c9eb911) tty_tty.c (fb919e4d5a2c1baca52ac70d1064f140fffdda71)
1/*-
2 * Copyright (c) 1982, 1986, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 27 unchanged lines hidden (view full) ---

36
37/*
38 * Indirect driver for controlling tty.
39 */
40
41#include <sys/param.h>
42#include <sys/systm.h>
43#include <sys/conf.h>
1/*-
2 * Copyright (c) 1982, 1986, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 27 unchanged lines hidden (view full) ---

36
37/*
38 * Indirect driver for controlling tty.
39 */
40
41#include <sys/param.h>
42#include <sys/systm.h>
43#include <sys/conf.h>
44#include <sys/kernel.h>
44#include <sys/lock.h>
45#include <sys/proc.h>
46#include <sys/ttycom.h>
47#include <sys/vnode.h>
45#include <sys/lock.h>
46#include <sys/proc.h>
47#include <sys/ttycom.h>
48#include <sys/vnode.h>
48#include <sys/kernel.h>
49
50static d_open_t cttyopen;
51static d_read_t cttyread;
52static d_write_t cttywrite;
53static d_ioctl_t cttyioctl;
54static d_poll_t cttypoll;
55
56#define CDEV_MAJOR 1

--- 144 unchanged lines hidden ---
49
50static d_open_t cttyopen;
51static d_read_t cttyread;
52static d_write_t cttywrite;
53static d_ioctl_t cttyioctl;
54static d_poll_t cttypoll;
55
56#define CDEV_MAJOR 1

--- 144 unchanged lines hidden ---