Home
last modified time | relevance | path

Searched refs:TTYAUX_MAJOR (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/fs/proc/
Dproc_tty.c76 seq_printf(m, "%3d %7d ", TTYAUX_MAJOR, 0); in show_tty_driver()
79 seq_printf(m, "%3d %7d ", TTYAUX_MAJOR, 1); in show_tty_driver()
83 seq_printf(m, "%3d %7d ", TTYAUX_MAJOR, 2); in show_tty_driver()
/linux-2.6.39/drivers/char/
Dttyprintk.c189 ttyprintk_driver->major = TTYAUX_MAJOR; in ttyprintk_init()
206 rp = device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 3), NULL, in ttyprintk_init()
/linux-2.6.39/fs/devpts/
Dinode.c204 init_special_inode(inode, mode, MKDEV(TTYAUX_MAJOR, 2)); in mknod_ptmx()
523 BUG_ON(pts_inode->i_rdev == MKDEV(TTYAUX_MAJOR, PTMX_MINOR)); in devpts_get_tty()
546 BUG_ON(inode->i_rdev == MKDEV(TTYAUX_MAJOR, PTMX_MINOR)); in devpts_pty_kill()
/linux-2.6.39/include/linux/
Dmajor.h18 #define TTYAUX_MAJOR 5 macro
/linux-2.6.39/drivers/tty/
Dpty.c760 if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) || in unix98_pty_init()
761 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0) in unix98_pty_init()
763 device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 2), NULL, "ptmx"); in unix98_pty_init()
Dtty_io.c1820 if (device == MKDEV(TTYAUX_MAJOR, 0)) { in tty_open()
1844 if (device == MKDEV(TTYAUX_MAJOR, 1)) { in tty_open()
3234 if (dev->devt == MKDEV(TTYAUX_MAJOR, 0) || in tty_devnode()
3235 dev->devt == MKDEV(TTYAUX_MAJOR, 2)) in tty_devnode()
3298 if (cdev_add(&tty_cdev, MKDEV(TTYAUX_MAJOR, 0), 1) || in tty_init()
3299 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 0), 1, "/dev/tty") < 0) in tty_init()
3301 device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 0), NULL, "tty"); in tty_init()
3304 if (cdev_add(&console_cdev, MKDEV(TTYAUX_MAJOR, 1), 1) || in tty_init()
3305 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 1), 1, "/dev/console") < 0) in tty_init()
3307 consdev = device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 1), NULL, in tty_init()