110 February 2002
2
31) This release reformats the files according to kernel linux-c
4conventions. If you do not have kernel linux-c mode configured
5for your version of emacs, add the following to your .emacs file.
6
7(defun linux-c-mode ()
8 "C mode with adjusted defaults for use with the Linux kernel."
9 (interactive)
10 (c-mode)
11 (c-set-style "K&R")
12 (setq c-basic-offset 8))
13
14Then you will be able to manually invoke linux-c-mode as a Meta-X
15command.
16
17The line
18
19/* -*- linux-c -*- */
20
21that is now found at the top of each C source file automatically puts
22the buffer into linux-c-mode when emacs opens the file for editing.
23
242) The following network ioctl have been removed
25
26#define SAB8253XSETMAC (SIOCDEVPRIVATE + 5 + 2)
27#define SAB8253XGETMAC (SIOCDEVPRIVATE + 5 + 3)
28
29along with the PSEUDOMAC structure and references to this structure.
30
31The following standard ioctls provide the same functionality.
32
33#define SIOCSIFHWADDR 0x8924 /* set hardware address */
34#define SIOCGIFHWADDR 0x8927 /* Get hardware address */
35
36The 8253xmac tool has been removed. To start the ASLX sab8253x
37network interface, you should use a command like the following with
38the substitutions appropriate to your environment.
39
40ifconfig 8253x006 hw ether 000000030405 test1
41
42You should substitute for 8253x006 the network interface that you are
43using. For 000000030405 you should substitute the MAC address that
44you desire to use. For test1 you should substitute the host name or
45host IP address that you wish to use for this interface.
46
473) As many functions and non-local variables as possible have been
48declared static in order to prevent name space polution.
49
504) Support has been added for programmatic selection of signaling
51interface for the Aurora WAN multiserver 3500 series extension boards.
52
53Ports associated with this cards can be programmed via the
54
55#define ATIS_IOCSSIGMODE _IOW(ATIS_MAGIC_IOC,6,unsigned int)
56
57ioctl to have either RS232, RS422, RS449, RS530, V.35 or no (=off)
58physical layer signaling.
59
60The program 8253xmode.c has been added to demonstrate the use
61of this set ioctl as well as the associated get ioctl.
62
63#define ATIS_IOCGSIGMODE _IOW(ATIS_MAGIC_IOC,7,unsigned int)
64
65The program is invoked as follows.
66
678253xmode /dev/ttyS* mode
68
69where mode is 232, 442, 449, 530, v.35 or off.
70
71The proc file has been modified to show information associated with
72the signaling state.
73
74martillo@ylith:~ > cat /proc/tty/driver/auraserial
75serinfo:2.01N driver:1.22
76TTY MAJOR = 4, CUA MAJOR = 5, STTY MAJOR = 254.
77128: port 0: sab82538: v3: chip 0: ATI 8520P: bus 2: slot 10: NR: close: NOPRG
78129: port 1: sab82538: v3: chip 0: ATI 8520P: bus 2: slot 10: NR: openA: NOPRG
79130: port 2: sab82538: v3: chip 0: ATI 8520P: bus 2: slot 10: NR: openA: NOPRG
80131: port 3: sab82538: v3: chip 0: ATI 8520P: bus 2: slot 10: NR: close: NOPRG
81132: port 4: sab82538: v3: chip 0: ATI 8520P: bus 2: slot 10: NR: close: NOPRG
82133: port 5: sab82538: v3: chip 0: ATI 8520P: bus 2: slot 10: NR: openS: NOPRG
83134: port 6: sab82538: v3: chip 0: ATI 8520P: bus 2: slot 10: NR: close: NOPRG
84135: port 7: sab82538: v3: chip 0: ATI 8520P: bus 2: slot 10: NR: close: NOPRG
85136: port 0: sab82538: v2: chip 0: ATI WANMS: bus 2: slot 11: NR: openA: RS232
86137: port 1: sab82538: v2: chip 0: ATI WANMS: bus 2: slot 11: NR: openA: RS232
87138: port 2: sab82538: v2: chip 0: ATI WANMS: bus 2: slot 11: NR: openA: RS232
88139: port 3: sab82538: v2: chip 0: ATI WANMS: bus 2: slot 11: NR: close: RS232
89140: port 4: sab82538: v2: chip 0: ATI WANMS: bus 2: slot 11: NR: close: RS232
90141: port 5: sab82538: v2: chip 0: ATI WANMS: bus 2: slot 11: NR: close: RS232
91142: port 6: sab82538: v2: chip 0: ATI WANMS: bus 2: slot 11: NR: close: RS232
92143: port 7: sab82538: v2: chip 0: ATI WANMS: bus 2: slot 11: NR: close: RS232
93144: port 0: sab82538: v2: chip 1: ATI WANMS: bus 2: slot 11: NR: openA: RS232
94145: port 1: sab82538: v2: chip 1: ATI WANMS: bus 2: slot 11: NR: close: RS232
95146: port 2: sab82538: v2: chip 1: ATI WANMS: bus 2: slot 11: NR: close: RS232
96147: port 3: sab82538: v2: chip 1: ATI WANMS: bus 2: slot 11: NR: close: RS232
97148: port 4: sab82538: v2: chip 1: ATI WANMS: bus 2: slot 11: NR: close: RS530
98149: port 5: sab82538: v2: chip 1: ATI WANMS: bus 2: slot 11: NR: close: RS232
99150: port 6: sab82538: v2: chip 1: ATI WANMS: bus 2: slot 11: NR: close: RS232
100151: port 7: sab82538: v2: chip 1: ATI WANMS: bus 2: slot 11: NR: openA: RS232
101152: port 0: sab82538: v2: chip 2: ATI WANMS: bus 2: slot 11: NR: openA: RS232
102153: port 1: sab82538: v2: chip 2: ATI WANMS: bus 2: slot 11: NR: close: RS232
103154: port 2: sab82538: v2: chip 2: ATI WANMS: bus 2: slot 11: NR: close: RS232
104155: port 3: sab82538: v2: chip 2: ATI WANMS: bus 2: slot 11: NR: close: RS232
105156: port 4: sab82538: v2: chip 2: ATI WANMS: bus 2: slot 11: NR: close: RS232
106157: port 5: sab82538: v2: chip 2: ATI WANMS: bus 2: slot 11: NR: close: RS232
107158: port 6: sab82538: v2: chip 2: ATI WANMS: bus 2: slot 11: NR: close: RS232
108159: port 7: sab82538: v2: chip 2: ATI WANMS: bus 2: slot 11: NR: openA: RS232
109160: port 0: sab82538: v2: chip 3: ATI WANMS: bus 2: slot 11: NR: close: RS232
110161: port 1: sab82538: v2: chip 3: ATI WANMS: bus 2: slot 11: NR: close: RS232
111162: port 2: sab82538: v2: chip 3: ATI WANMS: bus 2: slot 11: NR: close: RS232
112163: port 3: sab82538: v2: chip 3: ATI WANMS: bus 2: slot 11: NR: close: RS232
113164: port 4: sab82538: v2: chip 3: ATI WANMS: bus 2: slot 11: NR: close: RS232
114165: port 5: sab82538: v2: chip 3: ATI WANMS: bus 2: slot 11: NR: close: RS232
115166: port 6: sab82538: v2: chip 3: ATI WANMS: bus 2: slot 11: NR: close: RS232
116167: port 7: sab82538: v2: chip 3: ATI WANMS: bus 2: slot 11: NR: close: RS232
117168: port 0: sab82538: v2: chip 4: ATI WANMS: bus 2: slot 11: NR: openA: RS232
118169: port 1: sab82538: v2: chip 4: ATI WANMS: bus 2: slot 11: NR: close: RS232
119170: port 2: sab82538: v2: chip 4: ATI WANMS: bus 2: slot 11: NR: close: RS232
120171: port 3: sab82538: v2: chip 4: ATI WANMS: bus 2: slot 11: NR: close: RS232
121172: port 4: sab82538: v2: chip 4: ATI WANMS: bus 2: slot 11: NR: close: RS232
122173: port 5: sab82538: v2: chip 4: ATI WANMS: bus 2: slot 11: NR: close: RS232
123174: port 6: sab82538: v2: chip 4: ATI WANMS: bus 2: slot 11: NR: close: RS232
124175: port 7: sab82538: v2: chip 4: ATI WANMS: bus 2: slot 11: NR: close: RS232
125176: port 0: sab82538: v2: chip 5: ATI WANMS: bus 2: slot 11: NR: close: RS232
126177: port 1: sab82538: v2: chip 5: ATI WANMS: bus 2: slot 11: NR: close: RS232
127178: port 2: sab82538: v2: chip 5: ATI WANMS: bus 2: slot 11: NR: close: RS232
128179: port 3: sab82538: v2: chip 5: ATI WANMS: bus 2: slot 11: NR: close: RS232
129180: port 4: sab82538: v2: chip 5: ATI WANMS: bus 2: slot 11: NR: close: RS232
130181: port 5: sab82538: v2: chip 5: ATI WANMS: bus 2: slot 11: NR: close: RS232
131182: port 6: sab82538: v2: chip 5: ATI WANMS: bus 2: slot 11: NR: close: RS232
132183: port 7: sab82538: v2: chip 5: ATI WANMS: bus 2: slot 11: NR: close: RS232
133184: port 0: sab82538: v2: chip 6: ATI WANMS: bus 2: slot 11: NR: openA: RS232
134185: port 1: sab82538: v2: chip 6: ATI WANMS: bus 2: slot 11: NR: close: RS232
135186: port 2: sab82538: v2: chip 6: ATI WANMS: bus 2: slot 11: NR: close: RS232
136187: port 3: sab82538: v2: chip 6: ATI WANMS: bus 2: slot 11: NR: close: RS232
137188: port 4: sab82538: v2: chip 6: ATI WANMS: bus 2: slot 11: NR: close: RS232
138189: port 5: sab82538: v2: chip 6: ATI WANMS: bus 2: slot 11: NR: close: RS232
139190: port 6: sab82538: v2: chip 6: ATI WANMS: bus 2: slot 11: NR: close: RS232
140191: port 7: sab82538: v2: chip 6: ATI WANMS: bus 2: slot 11: NR: close: RS232
141192: port 0: sab82538: v2: chip 7: ATI WANMS: bus 2: slot 11: NR: close: RS232
142193: port 1: sab82538: v2: chip 7: ATI WANMS: bus 2: slot 11: NR: close: RS232
143194: port 2: sab82538: v2: chip 7: ATI WANMS: bus 2: slot 11: NR: close: RS232
144195: port 3: sab82538: v2: chip 7: ATI WANMS: bus 2: slot 11: NR: close: RS232
145196: port 4: sab82538: v2: chip 7: ATI WANMS: bus 2: slot 11: NR: close: RS232
146197: port 5: sab82538: v2: chip 7: ATI WANMS: bus 2: slot 11: NR: close: RS232
147198: port 6: sab82538: v2: chip 7: ATI WANMS: bus 2: slot 11: NR: close: RS232
148199: port 7: sab82538: v2: chip 7: ATI WANMS: bus 2: slot 11: NR: openA: RS232
149
150The above file indicates the minor device number, port number relative
151to chip, chip type, chip version number, chip number (meaningful for
1524X20 and multichannel servers), interface type, bus number, slot
153number, port availability (AO = asynchronous only, NR = No
154Restrictions, or NA = Not Available), status (closed, open
155Synchronous, open Asynchronous, open Character, or open Network), and
156signaling type (NOPRG = not selectable programmatically; other
157possibilities inclue OFF, RS232, RS442, RS449, RS530 and V.35).
158
159Note that by default ports come up in RS232 mode.
160
161The following module parameter has been added.
162
163MODULE_PARM(sab8253x_default_sp502_mode, "i");
164
165The asynchronous TTY functionality can immediately be used without
166extra configuration. [Note that immediate use of the WMS3500 products
167is possible because the default value of sab8253x_default_sp502_mode
168is SP502_RS232_MODE (== 1). If a different default mode is needed, it
169can be set as options in the /etc/modules.conf file. OFF = 0.
170RS232 = 1, RS422 = 2, RS485 = 3, RS449 = 4, EIA530 = 5 and V.35 = 6, as
171defined in 8253xioc.h.]
172
1735) I added a readme.txt an an overview of the driver sab8253xov.txt
174and the functional and design specifications (sab8253xfs.txt and
175sab8253xds.txt) to the patch. The functional and design
176specifications were blindly exported to text from the html versions.
177
178The documents are more nicely formated at
179
180http://www.telfordtools.com/sab8253x/sab8253xfs.html
181
182and
183
184http://www.telfordtools.com/sab8253x/sab8253xfs.html
185
186