Deleted Added
full compact
ofw_console.c (131916) ofw_console.c (132226)
1/*
2 * Copyright (C) 2001 Benno Rice.
3 * 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

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

19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
20 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
22 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
23 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */
25
26#include <sys/cdefs.h>
1/*
2 * Copyright (C) 2001 Benno Rice.
3 * 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

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

19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
20 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
22 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
23 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */
25
26#include <sys/cdefs.h>
27__FBSDID("$FreeBSD: head/sys/dev/ofw/ofw_console.c 131916 2004-07-10 21:07:44Z marcel $");
27__FBSDID("$FreeBSD: head/sys/dev/ofw/ofw_console.c 132226 2004-07-15 20:47:41Z phk $");
28
29#include "opt_comconsole.h"
30#include "opt_ofw.h"
31
32#include <sys/param.h>
33#include <sys/kdb.h>
34#include <sys/kernel.h>
35#include <sys/systm.h>

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

164
165 if (unit != 0) {
166 return (ENXIO);
167 }
168
169 /* XXX Should be replaced with callout_stop(9) */
170 untimeout(ofw_timeout, tp, ofw_timeouthandle);
171 ttyld_close(tp, flag);
28
29#include "opt_comconsole.h"
30#include "opt_ofw.h"
31
32#include <sys/param.h>
33#include <sys/kdb.h>
34#include <sys/kernel.h>
35#include <sys/systm.h>

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

164
165 if (unit != 0) {
166 return (ENXIO);
167 }
168
169 /* XXX Should be replaced with callout_stop(9) */
170 untimeout(ofw_timeout, tp, ofw_timeouthandle);
171 ttyld_close(tp, flag);
172 ttyclose(tp);
172 tty_close(tp);
173
174 return (0);
175}
176
177
178static int
179ofw_tty_param(struct tty *tp, struct termios *t)
180{

--- 135 unchanged lines hidden ---
173
174 return (0);
175}
176
177
178static int
179ofw_tty_param(struct tty *tp, struct termios *t)
180{

--- 135 unchanged lines hidden ---