FreeBSD/Linux Kernel Cross Reference
sys/chips/spans.c
1 /*
2 * Mach Operating System
3 * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the
9 * software, derivative works or modified versions, and any portions
10 * thereof, and that both notices appear in supporting documentation.
11 *
12 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15 *
16 * Carnegie Mellon requests users of this software to return to
17 *
18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie Mellon
24 * the rights to redistribute these changes.
25 */
26 /*
27 * HISTORY
28 * $Log: spans.c,v $
29 * Revision 2.2 93/08/10 15:18:53 mrt
30 * Grabbed from jcb's branch.
31 * [93/07/03 01:53:08 cmaeda]
32 *
33 *
34 */
35
36 /*** SPANS SIGNALING ***/
37
38 #ifndef STUB
39 #include <chips/spans.h>
40 #include <chips/tca100_if.h>
41 #else
42 #include "spans.h"
43 #include "tca100_if.h"
44 #endif
45
46 nw_result spans_initialize(int dev) {
47
48 #if !PERMANENT_VIRTUAL_CONNECTIONS
49 #endif
50
51 }
52
53
54 void spans_input(nw_buffer_t msg) {
55
56 #if !PERMANENT_VIRTUAL_CONNECTIONS
57 #endif
58
59 }
60
61 nw_result spans_open(nw_ep ep, nw_address_1 rem_addr_1,
62 nw_address_2 rem_addr_2, nw_ep remote_ep) {
63 nw_result rc;
64
65 #if PERMANENT_VIRTUAL_CONNECTIONS
66 rc = NW_FAILURE;
67 #else
68 #endif
69
70 return rc;
71 }
72
73 nw_result spans_accept(nw_ep ep, nw_buffer_t msg, nw_ep_t new_epp) {
74 nw_result rc;
75
76 #if PERMANENT_VIRTUAL_CONNECTIONS
77 rc = NW_FAILURE;
78 #else
79 #endif
80
81 return rc;
82 }
83
84 nw_result spans_close(nw_ep ep) {
85 nw_result rc;
86
87 tct[ep].rx_sar_header = 0;
88 rc = NW_SUCCESS;
89 return rc;
90 }
91
92 nw_result spans_add(nw_ep ep, nw_address_1 rem_addr_1,
93 nw_address_2 rem_addr_2, nw_ep remote_ep) {
94 nw_result rc;
95
96 #if PERMANENT_VIRTUAL_CONNECTIONS
97 rc = NW_FAILURE;
98 #else
99 #endif
100
101 return rc;
102 }
103
104 nw_result spans_drop(nw_ep ep, nw_address_1 rem_addr_1,
105 nw_address_2 rem_addr_2, nw_ep remote_ep) {
106 nw_result rc;
107
108 #if PERMANENT_VIRTUAL_CONNECTIONS
109 rc = NW_FAILURE;
110 #else
111 #endif
112
113 return rc;
114 }
115
116 void spans_timer_sweep() {
117
118 #if !PERMANENT_VIRTUAL_CONNECTIONS
119 #endif
120
121 }
122
123
Cache object: e5a6b1856bc611a0a3efac18f48eeeca
|