Deleted Added
full compact
rp.c (131981) rp.c (132226)
1/*
2 * Copyright (c) Comtrol Corporation <support@comtrol.com>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted prodived that the follwoing conditions
7 * are met.
8 * 1. Redistributions of source code must retain the above copyright

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

27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 */
33
34#include <sys/cdefs.h>
1/*
2 * Copyright (c) Comtrol Corporation <support@comtrol.com>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted prodived that the follwoing conditions
7 * are met.
8 * 1. Redistributions of source code must retain the above copyright

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

27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 */
33
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: head/sys/dev/rp/rp.c 131981 2004-07-11 15:18:39Z phk $");
35__FBSDID("$FreeBSD: head/sys/dev/rp/rp.c 132226 2004-07-15 20:47:41Z phk $");
36
37/*
38 * rp.c - for RocketPort FreeBSD
39 */
40
41#include "opt_compat.h"
42
43#include <sys/param.h>

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

1133 tp = rp->rp_tty;
1134
1135 oldspl = spltty();
1136 ttyld_close(tp, flag);
1137 ttyldoptim(tp);
1138 rphardclose(rp);
1139
1140 tp->t_state &= ~TS_BUSY;
36
37/*
38 * rp.c - for RocketPort FreeBSD
39 */
40
41#include "opt_compat.h"
42
43#include <sys/param.h>

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

1133 tp = rp->rp_tty;
1134
1135 oldspl = spltty();
1136 ttyld_close(tp, flag);
1137 ttyldoptim(tp);
1138 rphardclose(rp);
1139
1140 tp->t_state &= ~TS_BUSY;
1141 ttyclose(tp);
1141 tty_close(tp);
1142
1143 splx(oldspl);
1144
1145 device_unbusy(rp->rp_ctlp->dev);
1146
1147 return(0);
1148}
1149

--- 505 unchanged lines hidden ---
1142
1143 splx(oldspl);
1144
1145 device_unbusy(rp->rp_ctlp->dev);
1146
1147 return(0);
1148}
1149

--- 505 unchanged lines hidden ---