console.c (69851e4ab8feeb369119a44ddca430c0ee15f0d8) console.c (95713967ba52389f7cea75704d0cf048080ec218)
1/*
2 * arch/xtensa/platforms/iss/console.c
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 *
8 * Copyright (C) 2001-2005 Tensilica Inc.

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

47
48static void rs_close(struct tty_struct *tty, struct file * filp)
49{
50 if (tty->count == 1)
51 del_timer_sync(&serial_timer);
52}
53
54
1/*
2 * arch/xtensa/platforms/iss/console.c
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 *
8 * Copyright (C) 2001-2005 Tensilica Inc.

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

47
48static void rs_close(struct tty_struct *tty, struct file * filp)
49{
50 if (tty->count == 1)
51 del_timer_sync(&serial_timer);
52}
53
54
55static int rs_write(struct tty_struct * tty, const u8 *buf, int count)
55static ssize_t rs_write(struct tty_struct * tty, const u8 *buf, size_t count)
56{
57 /* see drivers/char/serialX.c to reference original version */
58
59 simc_write(1, buf, count);
60 return count;
61}
62
63static void rs_poll(struct timer_list *unused)

--- 136 unchanged lines hidden ---
56{
57 /* see drivers/char/serialX.c to reference original version */
58
59 simc_write(1, buf, count);
60 return count;
61}
62
63static void rs_poll(struct timer_list *unused)

--- 136 unchanged lines hidden ---