diff options
400 files changed, 15982 insertions, 20681 deletions
@@ -2475,13 +2475,9 @@ S: Potsdam, New York 13676 | |||
2475 | S: USA | 2475 | S: USA |
2476 | 2476 | ||
2477 | N: Dave Neuer | 2477 | N: Dave Neuer |
2478 | E: dneuer@innovation-charter.com | 2478 | E: dave.neuer@pobox.com |
2479 | E: mr_fred_smoothie@yahoo.com | ||
2480 | D: Helped implement support for Compaq's H31xx series iPAQs | 2479 | D: Helped implement support for Compaq's H31xx series iPAQs |
2481 | D: Other mostly minor tweaks & bugfixes | 2480 | D: Other mostly minor tweaks & bugfixes |
2482 | S: 325 E. Main St., Suite 3 | ||
2483 | S: Carnegie, PA 15105 | ||
2484 | S: USA | ||
2485 | 2481 | ||
2486 | N: Michael Neuffer | 2482 | N: Michael Neuffer |
2487 | E: mike@i-Connect.Net | 2483 | E: mike@i-Connect.Net |
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index e69b3d2e7884..87da3478fada 100644 --- a/Documentation/DocBook/Makefile +++ b/Documentation/DocBook/Makefile | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | DOCBOOKS := wanbook.xml z8530book.xml mcabook.xml videobook.xml \ | 9 | DOCBOOKS := wanbook.xml z8530book.xml mcabook.xml videobook.xml \ |
10 | kernel-hacking.xml kernel-locking.xml deviceiobook.xml \ | 10 | kernel-hacking.xml kernel-locking.xml deviceiobook.xml \ |
11 | procfs-guide.xml writing_usb_driver.xml scsidrivers.xml \ | 11 | procfs-guide.xml writing_usb_driver.xml \ |
12 | sis900.xml kernel-api.xml journal-api.xml lsm.xml usb.xml \ | 12 | sis900.xml kernel-api.xml journal-api.xml lsm.xml usb.xml \ |
13 | gadget.xml libata.xml mtdnand.xml librs.xml | 13 | gadget.xml libata.xml mtdnand.xml librs.xml |
14 | 14 | ||
diff --git a/Documentation/DocBook/scsidrivers.tmpl b/Documentation/DocBook/scsidrivers.tmpl deleted file mode 100644 index d058e65daf19..000000000000 --- a/Documentation/DocBook/scsidrivers.tmpl +++ /dev/null | |||
@@ -1,193 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" | ||
3 | "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []> | ||
4 | |||
5 | <book id="scsidrivers"> | ||
6 | <bookinfo> | ||
7 | <title>SCSI Subsystem Interfaces</title> | ||
8 | |||
9 | <authorgroup> | ||
10 | <author> | ||
11 | <firstname>Douglas</firstname> | ||
12 | <surname>Gilbert</surname> | ||
13 | <affiliation> | ||
14 | <address> | ||
15 | <email>dgilbert@interlog.com</email> | ||
16 | </address> | ||
17 | </affiliation> | ||
18 | </author> | ||
19 | </authorgroup> | ||
20 | <pubdate>2003-08-11</pubdate> | ||
21 | |||
22 | <copyright> | ||
23 | <year>2002</year> | ||
24 | <year>2003</year> | ||
25 | <holder>Douglas Gilbert</holder> | ||
26 | </copyright> | ||
27 | |||
28 | <legalnotice> | ||
29 | <para> | ||
30 | This documentation is free software; you can redistribute | ||
31 | it and/or modify it under the terms of the GNU General Public | ||
32 | License as published by the Free Software Foundation; either | ||
33 | version 2 of the License, or (at your option) any later | ||
34 | version. | ||
35 | </para> | ||
36 | |||
37 | <para> | ||
38 | This program is distributed in the hope that it will be | ||
39 | useful, but WITHOUT ANY WARRANTY; without even the implied | ||
40 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
41 | See the GNU General Public License for more details. | ||
42 | </para> | ||
43 | |||
44 | <para> | ||
45 | You should have received a copy of the GNU General Public | ||
46 | License along with this program; if not, write to the Free | ||
47 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
48 | MA 02111-1307 USA | ||
49 | </para> | ||
50 | |||
51 | <para> | ||
52 | For more details see the file COPYING in the source | ||
53 | distribution of Linux. | ||
54 | </para> | ||
55 | </legalnotice> | ||
56 | |||
57 | </bookinfo> | ||
58 | |||
59 | <toc></toc> | ||
60 | |||
61 | <chapter id="intro"> | ||
62 | <title>Introduction</title> | ||
63 | <para> | ||
64 | This document outlines the interface between the Linux scsi mid level | ||
65 | and lower level drivers. Lower level drivers are variously called HBA | ||
66 | (host bus adapter) drivers, host drivers (HD) or pseudo adapter drivers. | ||
67 | The latter alludes to the fact that a lower level driver may be a | ||
68 | bridge to another IO subsystem (and the "ide-scsi" driver is an example | ||
69 | of this). There can be many lower level drivers active in a running | ||
70 | system, but only one per hardware type. For example, the aic7xxx driver | ||
71 | controls adaptec controllers based on the 7xxx chip series. Most lower | ||
72 | level drivers can control one or more scsi hosts (a.k.a. scsi initiators). | ||
73 | </para> | ||
74 | <para> | ||
75 | This document can been found in an ASCII text file in the linux kernel | ||
76 | source: <filename>Documentation/scsi/scsi_mid_low_api.txt</filename> . | ||
77 | It currently hold a little more information than this document. The | ||
78 | <filename>drivers/scsi/hosts.h</filename> and <filename> | ||
79 | drivers/scsi/scsi.h</filename> headers contain descriptions of members | ||
80 | of important structures for the scsi subsystem. | ||
81 | </para> | ||
82 | </chapter> | ||
83 | |||
84 | <chapter id="driver-struct"> | ||
85 | <title>Driver structure</title> | ||
86 | <para> | ||
87 | Traditionally a lower level driver for the scsi subsystem has been | ||
88 | at least two files in the drivers/scsi directory. For example, a | ||
89 | driver called "xyz" has a header file "xyz.h" and a source file | ||
90 | "xyz.c". [Actually there is no good reason why this couldn't all | ||
91 | be in one file.] Some drivers that have been ported to several operating | ||
92 | systems (e.g. aic7xxx which has separate files for generic and | ||
93 | OS-specific code) have more than two files. Such drivers tend to have | ||
94 | their own directory under the drivers/scsi directory. | ||
95 | </para> | ||
96 | <para> | ||
97 | scsi_module.c is normally included at the end of a lower | ||
98 | level driver. For it to work a declaration like this is needed before | ||
99 | it is included: | ||
100 | <programlisting> | ||
101 | static Scsi_Host_Template driver_template = DRIVER_TEMPLATE; | ||
102 | /* DRIVER_TEMPLATE should contain pointers to supported interface | ||
103 | functions. Scsi_Host_Template is defined hosts.h */ | ||
104 | #include "scsi_module.c" | ||
105 | </programlisting> | ||
106 | </para> | ||
107 | <para> | ||
108 | The scsi_module.c assumes the name "driver_template" is appropriately | ||
109 | defined. It contains 2 functions: | ||
110 | <orderedlist> | ||
111 | <listitem><para> | ||
112 | init_this_scsi_driver() called during builtin and module driver | ||
113 | initialization: invokes mid level's scsi_register_host() | ||
114 | </para></listitem> | ||
115 | <listitem><para> | ||
116 | exit_this_scsi_driver() called during closedown: invokes | ||
117 | mid level's scsi_unregister_host() | ||
118 | </para></listitem> | ||
119 | </orderedlist> | ||
120 | </para> | ||
121 | <para> | ||
122 | When a new, lower level driver is being added to Linux, the following | ||
123 | files (all found in the drivers/scsi directory) will need some attention: | ||
124 | Makefile, Config.help and Config.in . It is probably best to look at what | ||
125 | an existing lower level driver does in this regard. | ||
126 | </para> | ||
127 | </chapter> | ||
128 | |||
129 | <chapter id="intfunctions"> | ||
130 | <title>Interface Functions</title> | ||
131 | !EDocumentation/scsi/scsi_mid_low_api.txt | ||
132 | </chapter> | ||
133 | |||
134 | <chapter id="locks"> | ||
135 | <title>Locks</title> | ||
136 | <para> | ||
137 | Each Scsi_Host instance has a spin_lock called Scsi_Host::default_lock | ||
138 | which is initialized in scsi_register() [found in hosts.c]. Within the | ||
139 | same function the Scsi_Host::host_lock pointer is initialized to point | ||
140 | at default_lock with the scsi_assign_lock() function. Thereafter | ||
141 | lock and unlock operations performed by the mid level use the | ||
142 | Scsi_Host::host_lock pointer. | ||
143 | </para> | ||
144 | <para> | ||
145 | Lower level drivers can override the use of Scsi_Host::default_lock by | ||
146 | using scsi_assign_lock(). The earliest opportunity to do this would | ||
147 | be in the detect() function after it has invoked scsi_register(). It | ||
148 | could be replaced by a coarser grain lock (e.g. per driver) or a | ||
149 | lock of equal granularity (i.e. per host). Using finer grain locks | ||
150 | (e.g. per scsi device) may be possible by juggling locks in | ||
151 | queuecommand(). | ||
152 | </para> | ||
153 | </chapter> | ||
154 | |||
155 | <chapter id="changes"> | ||
156 | <title>Changes since lk 2.4 series</title> | ||
157 | <para> | ||
158 | io_request_lock has been replaced by several finer grained locks. The lock | ||
159 | relevant to lower level drivers is Scsi_Host::host_lock and there is one | ||
160 | per scsi host. | ||
161 | </para> | ||
162 | <para> | ||
163 | The older error handling mechanism has been removed. This means the | ||
164 | lower level interface functions abort() and reset() have been removed. | ||
165 | </para> | ||
166 | <para> | ||
167 | In the 2.4 series the scsi subsystem configuration descriptions were | ||
168 | aggregated with the configuration descriptions from all other Linux | ||
169 | subsystems in the Documentation/Configure.help file. In the 2.5 series, | ||
170 | the scsi subsystem now has its own (much smaller) drivers/scsi/Config.help | ||
171 | file. | ||
172 | </para> | ||
173 | </chapter> | ||
174 | |||
175 | <chapter id="credits"> | ||
176 | <title>Credits</title> | ||
177 | <para> | ||
178 | The following people have contributed to this document: | ||
179 | <orderedlist> | ||
180 | <listitem><para> | ||
181 | Mike Anderson <email>andmike@us.ibm.com</email> | ||
182 | </para></listitem> | ||
183 | <listitem><para> | ||
184 | James Bottomley <email>James.Bottomley@steeleye.com</email> | ||
185 | </para></listitem> | ||
186 | <listitem><para> | ||
187 | Patrick Mansfield <email>patmans@us.ibm.com</email> | ||
188 | </para></listitem> | ||
189 | </orderedlist> | ||
190 | </para> | ||
191 | </chapter> | ||
192 | |||
193 | </book> | ||
diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches index 9838d32b2fe7..4d35562b1cf9 100644 --- a/Documentation/SubmittingPatches +++ b/Documentation/SubmittingPatches | |||
@@ -271,7 +271,7 @@ patch, which certifies that you wrote it or otherwise have the right to | |||
271 | pass it on as a open-source patch. The rules are pretty simple: if you | 271 | pass it on as a open-source patch. The rules are pretty simple: if you |
272 | can certify the below: | 272 | can certify the below: |
273 | 273 | ||
274 | Developer's Certificate of Origin 1.0 | 274 | Developer's Certificate of Origin 1.1 |
275 | 275 | ||
276 | By making a contribution to this project, I certify that: | 276 | By making a contribution to this project, I certify that: |
277 | 277 | ||
@@ -291,6 +291,12 @@ can certify the below: | |||
291 | person who certified (a), (b) or (c) and I have not modified | 291 | person who certified (a), (b) or (c) and I have not modified |
292 | it. | 292 | it. |
293 | 293 | ||
294 | (d) I understand and agree that this project and the contribution | ||
295 | are public and that a record of the contribution (including all | ||
296 | personal information I submit with it, including my sign-off) is | ||
297 | maintained indefinitely and may be redistributed consistent with | ||
298 | this project or the open source license(s) involved. | ||
299 | |||
294 | then you just add a line saying | 300 | then you just add a line saying |
295 | 301 | ||
296 | Signed-off-by: Random J Developer <random@developer.org> | 302 | Signed-off-by: Random J Developer <random@developer.org> |
diff --git a/Documentation/networking/vortex.txt b/Documentation/networking/vortex.txt index fa12a9e4abdd..80e1cb19609f 100644 --- a/Documentation/networking/vortex.txt +++ b/Documentation/networking/vortex.txt | |||
@@ -12,7 +12,7 @@ Don is no longer the prime maintainer of this version of the driver. | |||
12 | Please report problems to one or more of: | 12 | Please report problems to one or more of: |
13 | 13 | ||
14 | Andrew Morton <andrewm@uow.edu.au> | 14 | Andrew Morton <andrewm@uow.edu.au> |
15 | Netdev mailing list <netdev@oss.sgi.com> | 15 | Netdev mailing list <netdev@vger.kernel.org> |
16 | Linux kernel mailing list <linux-kernel@vger.kernel.org> | 16 | Linux kernel mailing list <linux-kernel@vger.kernel.org> |
17 | 17 | ||
18 | Please note the 'Reporting and Diagnosing Problems' section at the end | 18 | Please note the 'Reporting and Diagnosing Problems' section at the end |
diff --git a/Documentation/scsi/ChangeLog.megaraid b/Documentation/scsi/ChangeLog.megaraid index a9356c63b800..5331d91432c7 100644 --- a/Documentation/scsi/ChangeLog.megaraid +++ b/Documentation/scsi/ChangeLog.megaraid | |||
@@ -1,3 +1,69 @@ | |||
1 | Release Date : Mon Mar 07 12:27:22 EST 2005 - Seokmann Ju <sju@lsil.com> | ||
2 | Current Version : 2.20.4.6 (scsi module), 2.20.2.6 (cmm module) | ||
3 | Older Version : 2.20.4.5 (scsi module), 2.20.2.5 (cmm module) | ||
4 | |||
5 | 1. Added IOCTL backward compatibility. | ||
6 | Convert megaraid_mm driver to new compat_ioctl entry points. | ||
7 | I don't have easy access to hardware, so only compile tested. | ||
8 | - Signed-off-by:Andi Kleen <ak@muc.de> | ||
9 | |||
10 | 2. megaraid_mbox fix: wrong order of arguments in memset() | ||
11 | That, BTW, shows why cross-builds are useful-the only indication of | ||
12 | problem had been a new warning showing up in sparse output on alpha | ||
13 | build (number of exceeding 256 got truncated). | ||
14 | - Signed-off-by: Al Viro | ||
15 | <viro@parcelfarce.linux.theplanet.co.uk> | ||
16 | |||
17 | 3. Convert pci_module_init to pci_register_driver | ||
18 | Convert from pci_module_init to pci_register_driver | ||
19 | (from:http://kerneljanitors.org/TODO) | ||
20 | - Signed-off-by: Domen Puncer <domen@coderock.org> | ||
21 | |||
22 | 4. Use the pre defined DMA mask constants from dma-mapping.h | ||
23 | Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h when calling | ||
24 | pci_set_dma_mask() or pci_set_consistend_dma_mask(). See | ||
25 | http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for more | ||
26 | details. | ||
27 | Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> | ||
28 | Signed-off-by: Domen Puncer <domen@coderock.org> | ||
29 | |||
30 | 5. Remove SSID checking for Dobson, Lindsay, and Verde based products. | ||
31 | Checking the SSVID/SSID for controllers which have Dobson, Lindsay, | ||
32 | and Verde is unnecessary because device ID has been assigned by LSI | ||
33 | and it is unique value. So, all controllers with these IOPs have to be | ||
34 | supported by the driver regardless SSVID/SSID. | ||
35 | |||
36 | 6. Date Thu, 27 Jan 2005 04:31:09 +0100 | ||
37 | From Herbert Poetzl <> | ||
38 | Subject RFC: assert_spin_locked() for 2.6 | ||
39 | |||
40 | Greetings! | ||
41 | |||
42 | overcautious programming will kill your kernel ;) | ||
43 | ever thought about checking a spin_lock or even | ||
44 | asserting that it must be held (maybe just for | ||
45 | spinlock debugging?) ... | ||
46 | |||
47 | there are several checks present in the kernel | ||
48 | where somebody does a variation on the following: | ||
49 | |||
50 | BUG_ON(!spin_is_locked(&some_lock)); | ||
51 | |||
52 | so what's wrong about that? nothing, unless you | ||
53 | compile the code with CONFIG_DEBUG_SPINLOCK but | ||
54 | without CONFIG_SMP ... in which case the BUG() | ||
55 | will kill your kernel ... | ||
56 | |||
57 | maybe it's not advised to make such assertions, | ||
58 | but here is a solution which works for me ... | ||
59 | (compile tested for sh, x86_64 and x86, boot/run | ||
60 | tested for x86 only) | ||
61 | |||
62 | best, | ||
63 | Herbert | ||
64 | |||
65 | - Herbert Poetzl <herbert@13thfloor.at>, Thu, 27 Jan 2005 | ||
66 | |||
1 | Release Date : Thu Feb 03 12:27:22 EST 2005 - Seokmann Ju <sju@lsil.com> | 67 | Release Date : Thu Feb 03 12:27:22 EST 2005 - Seokmann Ju <sju@lsil.com> |
2 | Current Version : 2.20.4.5 (scsi module), 2.20.2.5 (cmm module) | 68 | Current Version : 2.20.4.5 (scsi module), 2.20.2.5 (cmm module) |
3 | Older Version : 2.20.4.4 (scsi module), 2.20.2.4 (cmm module) | 69 | Older Version : 2.20.4.4 (scsi module), 2.20.2.4 (cmm module) |
diff --git a/Documentation/scsi/scsi-changer.txt b/Documentation/scsi/scsi-changer.txt new file mode 100644 index 000000000000..c132687b017a --- /dev/null +++ b/Documentation/scsi/scsi-changer.txt | |||
@@ -0,0 +1,180 @@ | |||
1 | |||
2 | README for the SCSI media changer driver | ||
3 | ======================================== | ||
4 | |||
5 | This is a driver for SCSI Medium Changer devices, which are listed | ||
6 | with "Type: Medium Changer" in /proc/scsi/scsi. | ||
7 | |||
8 | This is for *real* Jukeboxes. It is *not* supported to work with | ||
9 | common small CD-ROM changers, neither one-lun-per-slot SCSI changers | ||
10 | nor IDE drives. | ||
11 | |||
12 | Userland tools available from here: | ||
13 | http://linux.bytesex.org/misc/changer.html | ||
14 | |||
15 | |||
16 | General Information | ||
17 | ------------------- | ||
18 | |||
19 | First some words about how changers work: A changer has 2 (possibly | ||
20 | more) SCSI ID's. One for the changer device which controls the robot, | ||
21 | and one for the device which actually reads and writes the data. The | ||
22 | later may be anything, a MOD, a CD-ROM, a tape or whatever. For the | ||
23 | changer device this is a "don't care", he *only* shuffles around the | ||
24 | media, nothing else. | ||
25 | |||
26 | |||
27 | The SCSI changer model is complex, compared to - for example - IDE-CD | ||
28 | changers. But it allows to handle nearly all possible cases. It knows | ||
29 | 4 different types of changer elements: | ||
30 | |||
31 | media transport - this one shuffles around the media, i.e. the | ||
32 | transport arm. Also known as "picker". | ||
33 | storage - a slot which can hold a media. | ||
34 | import/export - the same as above, but is accessable from outside, | ||
35 | i.e. there the operator (you !) can use this to | ||
36 | fill in and remove media from the changer. | ||
37 | Sometimes named "mailslot". | ||
38 | data transfer - this is the device which reads/writes, i.e. the | ||
39 | CD-ROM / Tape / whatever drive. | ||
40 | |||
41 | None of these is limited to one: A huge Jukebox could have slots for | ||
42 | 123 CD-ROM's, 5 CD-ROM readers (and therefore 6 SCSI ID's: the changer | ||
43 | and each CD-ROM) and 2 transport arms. No problem to handle. | ||
44 | |||
45 | |||
46 | How it is implemented | ||
47 | --------------------- | ||
48 | |||
49 | I implemented the driver as character device driver with a NetBSD-like | ||
50 | ioctl interface. Just grabbed NetBSD's header file and one of the | ||
51 | other linux SCSI device drivers as starting point. The interface | ||
52 | should be source code compatible with NetBSD. So if there is any | ||
53 | software (anybody knows ???) which supports a BSDish changer driver, | ||
54 | it should work with this driver too. | ||
55 | |||
56 | Over time a few more ioctls where added, volume tag support for example | ||
57 | wasn't covered by the NetBSD ioctl API. | ||
58 | |||
59 | |||
60 | Current State | ||
61 | ------------- | ||
62 | |||
63 | Support for more than one transport arm is not implemented yet (and | ||
64 | nobody asked for it so far...). | ||
65 | |||
66 | I test and use the driver myself with a 35 slot cdrom jukebox from | ||
67 | Grundig. I got some reports telling it works ok with tape autoloaders | ||
68 | (Exabyte, HP and DEC). Some People use this driver with amanda. It | ||
69 | works fine with small (11 slots) and a huge (4 MOs, 88 slots) | ||
70 | magneto-optical Jukebox. Probably with lots of other changers too, most | ||
71 | (but not all :-) people mail me only if it does *not* work... | ||
72 | |||
73 | I don't have any device lists, neither black-list nor white-list. Thus | ||
74 | it is quite useless to ask me whenever a specific device is supported or | ||
75 | not. In theory every changer device which supports the SCSI-2 media | ||
76 | changer command set should work out-of-the-box with this driver. If it | ||
77 | doesn't, it is a bug. Either within the driver or within the firmware | ||
78 | of the changer device. | ||
79 | |||
80 | |||
81 | Using it | ||
82 | -------- | ||
83 | |||
84 | This is a character device with major number is 86, so use | ||
85 | "mknod /dev/sch0 c 86 0" to create the special file for the driver. | ||
86 | |||
87 | If the module finds the changer, it prints some messages about the | ||
88 | device [ try "dmesg" if you don't see anything ] and should show up in | ||
89 | /proc/devices. If not.... some changers use ID ? / LUN 0 for the | ||
90 | device and ID ? / LUN 1 for the robot mechanism. But Linux does *not* | ||
91 | look for LUN's other than 0 as default, becauce there are to many | ||
92 | broken devices. So you can try: | ||
93 | |||
94 | 1) echo "scsi add-single-device 0 0 ID 1" > /proc/scsi/scsi | ||
95 | (replace ID with the SCSI-ID of the device) | ||
96 | 2) boot the kernel with "max_scsi_luns=1" on the command line | ||
97 | (append="max_scsi_luns=1" in lilo.conf should do the trick) | ||
98 | |||
99 | |||
100 | Trouble? | ||
101 | -------- | ||
102 | |||
103 | If you insmod the driver with "insmod debug=1", it will be verbose and | ||
104 | prints a lot of stuff to the syslog. Compiling the kernel with | ||
105 | CONFIG_SCSI_CONSTANTS=y improves the quality of the error messages alot | ||
106 | because the kernel will translate the error codes into human-readable | ||
107 | strings then. | ||
108 | |||
109 | You can display these messages with the dmesg command (or check the | ||
110 | logfiles). If you email me some question becauce of a problem with the | ||
111 | driver, please include these messages. | ||
112 | |||
113 | |||
114 | Insmod options | ||
115 | -------------- | ||
116 | |||
117 | debug=0/1 | ||
118 | Enable debug messages (see above, default: 0). | ||
119 | |||
120 | verbose=0/1 | ||
121 | Be verbose (default: 1). | ||
122 | |||
123 | init=0/1 | ||
124 | Send INITIALIZE ELEMENT STATUS command to the changer | ||
125 | at insmod time (default: 1). | ||
126 | |||
127 | timeout_init=<seconds> | ||
128 | timeout for the INITIALIZE ELEMENT STATUS command | ||
129 | (default: 3600). | ||
130 | |||
131 | timeout_move=<seconds> | ||
132 | timeout for all other commands (default: 120). | ||
133 | |||
134 | dt_id=<id1>,<id2>,... | ||
135 | dt_lun=<lun1>,<lun2>,... | ||
136 | These two allow to specify the SCSI ID and LUN for the data | ||
137 | transfer elements. You likely don't need this as the jukebox | ||
138 | should provide this information. But some devices don't ... | ||
139 | |||
140 | vendor_firsts= | ||
141 | vendor_counts= | ||
142 | vendor_labels= | ||
143 | These insmod options can be used to tell the driver that there | ||
144 | are some vendor-specific element types. Grundig for example | ||
145 | does this. Some jukeboxes have a printer to label fresh burned | ||
146 | CDs, which is addressed as element 0xc000 (type 5). To tell the | ||
147 | driver about this vendor-specific element, use this: | ||
148 | $ insmod ch \ | ||
149 | vendor_firsts=0xc000 \ | ||
150 | vendor_counts=1 \ | ||
151 | vendor_labels=printer | ||
152 | All three insmod options accept up to four comma-separated | ||
153 | values, this way you can configure the element types 5-8. | ||
154 | You likely need the SCSI specs for the device in question to | ||
155 | find the correct values as they are not covered by the SCSI-2 | ||
156 | standard. | ||
157 | |||
158 | |||
159 | Credits | ||
160 | ------- | ||
161 | |||
162 | I wrote this driver using the famous mailing-patches-around-the-world | ||
163 | method. With (more or less) help from: | ||
164 | |||
165 | Daniel Moehwald <moehwald@hdg.de> | ||
166 | Dane Jasper <dane@sonic.net> | ||
167 | R. Scott Bailey <sbailey@dsddi.eds.com> | ||
168 | Jonathan Corbet <corbet@lwn.net> | ||
169 | |||
170 | Special thanks go to | ||
171 | Martin Kuehne <martin.kuehne@bnbt.de> | ||
172 | for a old, second-hand (but full functional) cdrom jukebox which I use | ||
173 | to develop/test driver and tools now. | ||
174 | |||
175 | Have fun, | ||
176 | |||
177 | Gerd | ||
178 | |||
179 | -- | ||
180 | Gerd Knorr <kraxel@bytesex.org> | ||
diff --git a/Documentation/scsi/scsi_mid_low_api.txt b/Documentation/scsi/scsi_mid_low_api.txt index e41703d7d24d..da176c95d0fb 100644 --- a/Documentation/scsi/scsi_mid_low_api.txt +++ b/Documentation/scsi/scsi_mid_low_api.txt | |||
@@ -936,8 +936,7 @@ Details: | |||
936 | * | 936 | * |
937 | * Returns SUCCESS if command aborted else FAILED | 937 | * Returns SUCCESS if command aborted else FAILED |
938 | * | 938 | * |
939 | * Locks: struct Scsi_Host::host_lock held (with irqsave) on entry | 939 | * Locks: None held |
940 | * and assumed to be held on return. | ||
941 | * | 940 | * |
942 | * Calling context: kernel thread | 941 | * Calling context: kernel thread |
943 | * | 942 | * |
@@ -955,8 +954,7 @@ Details: | |||
955 | * | 954 | * |
956 | * Returns SUCCESS if command aborted else FAILED | 955 | * Returns SUCCESS if command aborted else FAILED |
957 | * | 956 | * |
958 | * Locks: struct Scsi_Host::host_lock held (with irqsave) on entry | 957 | * Locks: None held |
959 | * and assumed to be held on return. | ||
960 | * | 958 | * |
961 | * Calling context: kernel thread | 959 | * Calling context: kernel thread |
962 | * | 960 | * |
@@ -974,8 +972,7 @@ Details: | |||
974 | * | 972 | * |
975 | * Returns SUCCESS if command aborted else FAILED | 973 | * Returns SUCCESS if command aborted else FAILED |
976 | * | 974 | * |
977 | * Locks: struct Scsi_Host::host_lock held (with irqsave) on entry | 975 | * Locks: None held |
978 | * and assumed to be held on return. | ||
979 | * | 976 | * |
980 | * Calling context: kernel thread | 977 | * Calling context: kernel thread |
981 | * | 978 | * |
@@ -993,8 +990,7 @@ Details: | |||
993 | * | 990 | * |
994 | * Returns SUCCESS if command aborted else FAILED | 991 | * Returns SUCCESS if command aborted else FAILED |
995 | * | 992 | * |
996 | * Locks: struct Scsi_Host::host_lock held (with irqsave) on entry | 993 | * Locks: None held |
997 | * and assumed to be held on return. | ||
998 | * | 994 | * |
999 | * Calling context: kernel thread | 995 | * Calling context: kernel thread |
1000 | * | 996 | * |
diff --git a/MAINTAINERS b/MAINTAINERS index 65ad8251e4bc..86ba94f16e83 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -73,7 +73,7 @@ S: Status, one of the following: | |||
73 | 3C359 NETWORK DRIVER | 73 | 3C359 NETWORK DRIVER |
74 | P: Mike Phillips | 74 | P: Mike Phillips |
75 | M: mikep@linuxtr.net | 75 | M: mikep@linuxtr.net |
76 | L: netdev@oss.sgi.com | 76 | L: netdev@vger.kernel.org |
77 | L: linux-tr@linuxtr.net | 77 | L: linux-tr@linuxtr.net |
78 | W: http://www.linuxtr.net | 78 | W: http://www.linuxtr.net |
79 | S: Maintained | 79 | S: Maintained |
@@ -81,13 +81,13 @@ S: Maintained | |||
81 | 3C505 NETWORK DRIVER | 81 | 3C505 NETWORK DRIVER |
82 | P: Philip Blundell | 82 | P: Philip Blundell |
83 | M: philb@gnu.org | 83 | M: philb@gnu.org |
84 | L: netdev@oss.sgi.com | 84 | L: netdev@vger.kernel.org |
85 | S: Maintained | 85 | S: Maintained |
86 | 86 | ||
87 | 3CR990 NETWORK DRIVER | 87 | 3CR990 NETWORK DRIVER |
88 | P: David Dillow | 88 | P: David Dillow |
89 | M: dave@thedillows.org | 89 | M: dave@thedillows.org |
90 | L: netdev@oss.sgi.com | 90 | L: netdev@vger.kernel.org |
91 | S: Maintained | 91 | S: Maintained |
92 | 92 | ||
93 | 3W-XXXX ATA-RAID CONTROLLER DRIVER | 93 | 3W-XXXX ATA-RAID CONTROLLER DRIVER |
@@ -130,7 +130,7 @@ S: Maintained | |||
130 | 8169 10/100/1000 GIGABIT ETHERNET DRIVER | 130 | 8169 10/100/1000 GIGABIT ETHERNET DRIVER |
131 | P: Francois Romieu | 131 | P: Francois Romieu |
132 | M: romieu@fr.zoreil.com | 132 | M: romieu@fr.zoreil.com |
133 | L: netdev@oss.sgi.com | 133 | L: netdev@vger.kernel.org |
134 | S: Maintained | 134 | S: Maintained |
135 | 135 | ||
136 | 8250/16?50 (AND CLONE UARTS) SERIAL DRIVER | 136 | 8250/16?50 (AND CLONE UARTS) SERIAL DRIVER |
@@ -143,7 +143,7 @@ S: Maintained | |||
143 | 8390 NETWORK DRIVERS [WD80x3/SMC-ELITE, SMC-ULTRA, NE2000, 3C503, etc.] | 143 | 8390 NETWORK DRIVERS [WD80x3/SMC-ELITE, SMC-ULTRA, NE2000, 3C503, etc.] |
144 | P: Paul Gortmaker | 144 | P: Paul Gortmaker |
145 | M: p_gortmaker@yahoo.com | 145 | M: p_gortmaker@yahoo.com |
146 | L: netdev@oss.sgi.com | 146 | L: netdev@vger.kernel.org |
147 | S: Maintained | 147 | S: Maintained |
148 | 148 | ||
149 | A2232 SERIAL BOARD DRIVER | 149 | A2232 SERIAL BOARD DRIVER |
@@ -332,7 +332,7 @@ S: Maintained | |||
332 | 332 | ||
333 | ARPD SUPPORT | 333 | ARPD SUPPORT |
334 | P: Jonathan Layes | 334 | P: Jonathan Layes |
335 | L: netdev@oss.sgi.com | 335 | L: netdev@vger.kernel.org |
336 | S: Maintained | 336 | S: Maintained |
337 | 337 | ||
338 | ASUS ACPI EXTRAS DRIVER | 338 | ASUS ACPI EXTRAS DRIVER |
@@ -706,7 +706,7 @@ S: Orphaned | |||
706 | 706 | ||
707 | DIGI RIGHTSWITCH NETWORK DRIVER | 707 | DIGI RIGHTSWITCH NETWORK DRIVER |
708 | P: Rick Richardson | 708 | P: Rick Richardson |
709 | L: netdev@oss.sgi.com | 709 | L: netdev@vger.kernel.org |
710 | W: http://www.digi.com | 710 | W: http://www.digi.com |
711 | S: Orphaned | 711 | S: Orphaned |
712 | 712 | ||
@@ -812,7 +812,7 @@ S: Maintained | |||
812 | ETHEREXPRESS-16 NETWORK DRIVER | 812 | ETHEREXPRESS-16 NETWORK DRIVER |
813 | P: Philip Blundell | 813 | P: Philip Blundell |
814 | M: philb@gnu.org | 814 | M: philb@gnu.org |
815 | L: netdev@oss.sgi.com | 815 | L: netdev@vger.kernel.org |
816 | S: Maintained | 816 | S: Maintained |
817 | 817 | ||
818 | ETHERNET BRIDGE | 818 | ETHERNET BRIDGE |
@@ -875,7 +875,7 @@ S: Maintained | |||
875 | FRAME RELAY DLCI/FRAD (Sangoma drivers too) | 875 | FRAME RELAY DLCI/FRAD (Sangoma drivers too) |
876 | P: Mike McLagan | 876 | P: Mike McLagan |
877 | M: mike.mclagan@linux.org | 877 | M: mike.mclagan@linux.org |
878 | L: netdev@oss.sgi.com | 878 | L: netdev@vger.kernel.org |
879 | S: Maintained | 879 | S: Maintained |
880 | 880 | ||
881 | FREEVXFS FILESYSTEM | 881 | FREEVXFS FILESYSTEM |
@@ -1215,7 +1215,7 @@ S: Maintained | |||
1215 | IPX NETWORK LAYER | 1215 | IPX NETWORK LAYER |
1216 | P: Arnaldo Carvalho de Melo | 1216 | P: Arnaldo Carvalho de Melo |
1217 | M: acme@conectiva.com.br | 1217 | M: acme@conectiva.com.br |
1218 | L: netdev@oss.sgi.com | 1218 | L: netdev@vger.kernel.org |
1219 | S: Maintained | 1219 | S: Maintained |
1220 | 1220 | ||
1221 | IRDA SUBSYSTEM | 1221 | IRDA SUBSYSTEM |
@@ -1482,7 +1482,7 @@ MARVELL MV64340 ETHERNET DRIVER | |||
1482 | P: Manish Lachwani | 1482 | P: Manish Lachwani |
1483 | M: Manish_Lachwani@pmc-sierra.com | 1483 | M: Manish_Lachwani@pmc-sierra.com |
1484 | L: linux-mips@linux-mips.org | 1484 | L: linux-mips@linux-mips.org |
1485 | L: netdev@oss.sgi.com | 1485 | L: netdev@vger.kernel.org |
1486 | S: Supported | 1486 | S: Supported |
1487 | 1487 | ||
1488 | MATROX FRAMEBUFFER DRIVER | 1488 | MATROX FRAMEBUFFER DRIVER |
@@ -1592,13 +1592,13 @@ P: Andrew Morton | |||
1592 | M: akpm@osdl.org | 1592 | M: akpm@osdl.org |
1593 | P: Jeff Garzik | 1593 | P: Jeff Garzik |
1594 | M: jgarzik@pobox.com | 1594 | M: jgarzik@pobox.com |
1595 | L: netdev@oss.sgi.com | 1595 | L: netdev@vger.kernel.org |
1596 | S: Maintained | 1596 | S: Maintained |
1597 | 1597 | ||
1598 | NETWORKING [GENERAL] | 1598 | NETWORKING [GENERAL] |
1599 | P: Networking Team | 1599 | P: Networking Team |
1600 | M: netdev@oss.sgi.com | 1600 | M: netdev@vger.kernel.org |
1601 | L: netdev@oss.sgi.com | 1601 | L: netdev@vger.kernel.org |
1602 | S: Maintained | 1602 | S: Maintained |
1603 | 1603 | ||
1604 | NETWORKING [IPv4/IPv6] | 1604 | NETWORKING [IPv4/IPv6] |
@@ -1614,7 +1614,7 @@ P: Hideaki YOSHIFUJI | |||
1614 | M: yoshfuji@linux-ipv6.org | 1614 | M: yoshfuji@linux-ipv6.org |
1615 | P: Patrick McHardy | 1615 | P: Patrick McHardy |
1616 | M: kaber@coreworks.de | 1616 | M: kaber@coreworks.de |
1617 | L: netdev@oss.sgi.com | 1617 | L: netdev@vger.kernel.org |
1618 | S: Maintained | 1618 | S: Maintained |
1619 | 1619 | ||
1620 | IPVS | 1620 | IPVS |
@@ -1634,7 +1634,7 @@ NI5010 NETWORK DRIVER | |||
1634 | P: Jan-Pascal van Best and Andreas Mohr | 1634 | P: Jan-Pascal van Best and Andreas Mohr |
1635 | M: Jan-Pascal van Best <jvbest@qv3pluto.leidenuniv.nl> | 1635 | M: Jan-Pascal van Best <jvbest@qv3pluto.leidenuniv.nl> |
1636 | M: Andreas Mohr <100.30936@germany.net> | 1636 | M: Andreas Mohr <100.30936@germany.net> |
1637 | L: netdev@oss.sgi.com | 1637 | L: netdev@vger.kernel.org |
1638 | S: Maintained | 1638 | S: Maintained |
1639 | 1639 | ||
1640 | NINJA SCSI-3 / NINJA SCSI-32Bi (16bit/CardBus) PCMCIA SCSI HOST ADAPTER DRIVER | 1640 | NINJA SCSI-3 / NINJA SCSI-32Bi (16bit/CardBus) PCMCIA SCSI HOST ADAPTER DRIVER |
@@ -1676,7 +1676,7 @@ P: Peter De Shrijver | |||
1676 | M: p2@ace.ulyssis.student.kuleuven.ac.be | 1676 | M: p2@ace.ulyssis.student.kuleuven.ac.be |
1677 | P: Mike Phillips | 1677 | P: Mike Phillips |
1678 | M: mikep@linuxtr.net | 1678 | M: mikep@linuxtr.net |
1679 | L: netdev@oss.sgi.com | 1679 | L: netdev@vger.kernel.org |
1680 | L: linux-tr@linuxtr.net | 1680 | L: linux-tr@linuxtr.net |
1681 | W: http://www.linuxtr.net | 1681 | W: http://www.linuxtr.net |
1682 | S: Maintained | 1682 | S: Maintained |
@@ -1783,7 +1783,7 @@ S: Unmaintained | |||
1783 | PCNET32 NETWORK DRIVER | 1783 | PCNET32 NETWORK DRIVER |
1784 | P: Thomas Bogendörfer | 1784 | P: Thomas Bogendörfer |
1785 | M: tsbogend@alpha.franken.de | 1785 | M: tsbogend@alpha.franken.de |
1786 | L: netdev@oss.sgi.com | 1786 | L: netdev@vger.kernel.org |
1787 | S: Maintained | 1787 | S: Maintained |
1788 | 1788 | ||
1789 | PHRAM MTD DRIVER | 1789 | PHRAM MTD DRIVER |
@@ -1795,7 +1795,7 @@ S: Maintained | |||
1795 | POSIX CLOCKS and TIMERS | 1795 | POSIX CLOCKS and TIMERS |
1796 | P: George Anzinger | 1796 | P: George Anzinger |
1797 | M: george@mvista.com | 1797 | M: george@mvista.com |
1798 | L: netdev@oss.sgi.com | 1798 | L: netdev@vger.kernel.org |
1799 | S: Supported | 1799 | S: Supported |
1800 | 1800 | ||
1801 | PNP SUPPORT | 1801 | PNP SUPPORT |
@@ -1830,7 +1830,7 @@ S: Supported | |||
1830 | PRISM54 WIRELESS DRIVER | 1830 | PRISM54 WIRELESS DRIVER |
1831 | P: Prism54 Development Team | 1831 | P: Prism54 Development Team |
1832 | M: prism54-private@prism54.org | 1832 | M: prism54-private@prism54.org |
1833 | L: netdev@oss.sgi.com | 1833 | L: netdev@vger.kernel.org |
1834 | W: http://prism54.org | 1834 | W: http://prism54.org |
1835 | S: Maintained | 1835 | S: Maintained |
1836 | 1836 | ||
@@ -2047,7 +2047,7 @@ SIS 900/7016 FAST ETHERNET DRIVER | |||
2047 | P: Daniele Venzano | 2047 | P: Daniele Venzano |
2048 | M: venza@brownhat.org | 2048 | M: venza@brownhat.org |
2049 | W: http://www.brownhat.org/sis900.html | 2049 | W: http://www.brownhat.org/sis900.html |
2050 | L: netdev@oss.sgi.com | 2050 | L: netdev@vger.kernel.org |
2051 | S: Maintained | 2051 | S: Maintained |
2052 | 2052 | ||
2053 | SIS FRAMEBUFFER DRIVER | 2053 | SIS FRAMEBUFFER DRIVER |
@@ -2106,7 +2106,7 @@ S: Maintained | |||
2106 | SONIC NETWORK DRIVER | 2106 | SONIC NETWORK DRIVER |
2107 | P: Thomas Bogendoerfer | 2107 | P: Thomas Bogendoerfer |
2108 | M: tsbogend@alpha.franken.de | 2108 | M: tsbogend@alpha.franken.de |
2109 | L: netdev@oss.sgi.com | 2109 | L: netdev@vger.kernel.org |
2110 | S: Maintained | 2110 | S: Maintained |
2111 | 2111 | ||
2112 | SONY VAIO CONTROL DEVICE DRIVER | 2112 | SONY VAIO CONTROL DEVICE DRIVER |
@@ -2163,7 +2163,7 @@ S: Supported | |||
2163 | SPX NETWORK LAYER | 2163 | SPX NETWORK LAYER |
2164 | P: Jay Schulist | 2164 | P: Jay Schulist |
2165 | M: jschlst@samba.org | 2165 | M: jschlst@samba.org |
2166 | L: netdev@oss.sgi.com | 2166 | L: netdev@vger.kernel.org |
2167 | S: Supported | 2167 | S: Supported |
2168 | 2168 | ||
2169 | SRM (Alpha) environment access | 2169 | SRM (Alpha) environment access |
@@ -2242,7 +2242,7 @@ S: Maintained | |||
2242 | TOKEN-RING NETWORK DRIVER | 2242 | TOKEN-RING NETWORK DRIVER |
2243 | P: Mike Phillips | 2243 | P: Mike Phillips |
2244 | M: mikep@linuxtr.net | 2244 | M: mikep@linuxtr.net |
2245 | L: netdev@oss.sgi.com | 2245 | L: netdev@vger.kernel.org |
2246 | L: linux-tr@linuxtr.net | 2246 | L: linux-tr@linuxtr.net |
2247 | W: http://www.linuxtr.net | 2247 | W: http://www.linuxtr.net |
2248 | S: Maintained | 2248 | S: Maintained |
@@ -1,7 +1,7 @@ | |||
1 | VERSION = 2 | 1 | VERSION = 2 |
2 | PATCHLEVEL = 6 | 2 | PATCHLEVEL = 6 |
3 | SUBLEVEL = 12 | 3 | SUBLEVEL = 12 |
4 | EXTRAVERSION =-rc5 | 4 | EXTRAVERSION = |
5 | NAME=Woozy Numbat | 5 | NAME=Woozy Numbat |
6 | 6 | ||
7 | # *DOCUMENTATION* | 7 | # *DOCUMENTATION* |
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index bf397a9f8ac2..475950c8a831 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -497,7 +497,7 @@ source "drivers/cpufreq/Kconfig" | |||
497 | 497 | ||
498 | config CPU_FREQ_SA1100 | 498 | config CPU_FREQ_SA1100 |
499 | bool | 499 | bool |
500 | depends on CPU_FREQ && (SA1100_LART || SA1100_PLEB) | 500 | depends on CPU_FREQ && (SA1100_H3100 || SA1100_H3600 || SA1100_H3800 || SA1100_LART || SA1100_PLEB || SA1100_BADGE4 || SA1100_HACKKIT) |
501 | default y | 501 | default y |
502 | 502 | ||
503 | config CPU_FREQ_SA1110 | 503 | config CPU_FREQ_SA1110 |
@@ -689,7 +689,9 @@ source "drivers/block/Kconfig" | |||
689 | 689 | ||
690 | source "drivers/acorn/block/Kconfig" | 690 | source "drivers/acorn/block/Kconfig" |
691 | 691 | ||
692 | if ARCH_CLPS7500 || ARCH_IOP3XX || ARCH_IXP4XX || ARCH_L7200 || ARCH_LH7A40X || ARCH_PXA || ARCH_RPC || ARCH_S3C2410 || ARCH_SA1100 || ARCH_SHARK || FOOTBRIDGE | 692 | if PCMCIA || ARCH_CLPS7500 || ARCH_IOP3XX || ARCH_IXP4XX \ |
693 | || ARCH_L7200 || ARCH_LH7A40X || ARCH_PXA || ARCH_RPC \ | ||
694 | || ARCH_S3C2410 || ARCH_SA1100 || ARCH_SHARK || FOOTBRIDGE | ||
693 | source "drivers/ide/Kconfig" | 695 | source "drivers/ide/Kconfig" |
694 | endif | 696 | endif |
695 | 697 | ||
diff --git a/arch/arm/boot/compressed/head-xscale.S b/arch/arm/boot/compressed/head-xscale.S index 665bd2c20743..d3fe2533907e 100644 --- a/arch/arm/boot/compressed/head-xscale.S +++ b/arch/arm/boot/compressed/head-xscale.S | |||
@@ -47,3 +47,10 @@ __XScale_start: | |||
47 | orr r7, r7, #(MACH_TYPE_GTWX5715 & 0xff00) | 47 | orr r7, r7, #(MACH_TYPE_GTWX5715 & 0xff00) |
48 | #endif | 48 | #endif |
49 | 49 | ||
50 | #ifdef CONFIG_ARCH_IXP2000 | ||
51 | mov r1, #-1 | ||
52 | mov r0, #0xd6000000 | ||
53 | str r1, [r0, #0x14] | ||
54 | str r1, [r0, #0x18] | ||
55 | #endif | ||
56 | |||
diff --git a/arch/arm/configs/badge4_defconfig b/arch/arm/configs/badge4_defconfig index 2b4059d2f8e4..5d92af975d87 100644 --- a/arch/arm/configs/badge4_defconfig +++ b/arch/arm/configs/badge4_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc1-bk2 | 3 | # Linux kernel version: 2.6.12-rc6-git3 |
4 | # Sat Mar 26 21:32:26 2005 | 4 | # Thu Jun 9 19:00:50 2005 |
5 | # | 5 | # |
6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -16,6 +16,7 @@ CONFIG_GENERIC_IOMAP=y | |||
16 | CONFIG_EXPERIMENTAL=y | 16 | CONFIG_EXPERIMENTAL=y |
17 | CONFIG_CLEAN_COMPILE=y | 17 | CONFIG_CLEAN_COMPILE=y |
18 | CONFIG_BROKEN_ON_SMP=y | 18 | CONFIG_BROKEN_ON_SMP=y |
19 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
19 | 20 | ||
20 | # | 21 | # |
21 | # General setup | 22 | # General setup |
@@ -34,6 +35,8 @@ CONFIG_EMBEDDED=y | |||
34 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
35 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
36 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
37 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
38 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
39 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -109,7 +112,6 @@ CONFIG_CPU_ABRT_EV4=y | |||
109 | CONFIG_CPU_CACHE_V4WB=y | 112 | CONFIG_CPU_CACHE_V4WB=y |
110 | CONFIG_CPU_CACHE_VIVT=y | 113 | CONFIG_CPU_CACHE_VIVT=y |
111 | CONFIG_CPU_TLB_V4WB=y | 114 | CONFIG_CPU_TLB_V4WB=y |
112 | CONFIG_CPU_MINICACHE=y | ||
113 | 115 | ||
114 | # | 116 | # |
115 | # Processor Features | 117 | # Processor Features |
@@ -122,6 +124,7 @@ CONFIG_FORCE_MAX_ZONEORDER=9 | |||
122 | # Bus support | 124 | # Bus support |
123 | # | 125 | # |
124 | CONFIG_ISA=y | 126 | CONFIG_ISA=y |
127 | CONFIG_ISA_DMA_API=y | ||
125 | 128 | ||
126 | # | 129 | # |
127 | # PCCARD (PCMCIA/CardBus) support | 130 | # PCCARD (PCMCIA/CardBus) support |
@@ -131,6 +134,7 @@ CONFIG_ISA=y | |||
131 | # | 134 | # |
132 | # Kernel Features | 135 | # Kernel Features |
133 | # | 136 | # |
137 | # CONFIG_SMP is not set | ||
134 | # CONFIG_PREEMPT is not set | 138 | # CONFIG_PREEMPT is not set |
135 | CONFIG_DISCONTIGMEM=y | 139 | CONFIG_DISCONTIGMEM=y |
136 | # CONFIG_LEDS is not set | 140 | # CONFIG_LEDS is not set |
@@ -152,12 +156,14 @@ CONFIG_CPU_FREQ_TABLE=y | |||
152 | # CONFIG_CPU_FREQ_DEBUG is not set | 156 | # CONFIG_CPU_FREQ_DEBUG is not set |
153 | CONFIG_CPU_FREQ_STAT=y | 157 | CONFIG_CPU_FREQ_STAT=y |
154 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set | 158 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set |
155 | CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y | 159 | # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set |
156 | # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set | 160 | CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y |
157 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | 161 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y |
158 | # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set | 162 | # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set |
159 | # CONFIG_CPU_FREQ_GOV_USERSPACE is not set | 163 | CONFIG_CPU_FREQ_GOV_USERSPACE=y |
160 | # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set | 164 | # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set |
165 | # CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set | ||
166 | CONFIG_CPU_FREQ_SA1100=y | ||
161 | 167 | ||
162 | # | 168 | # |
163 | # Floating point emulation | 169 | # Floating point emulation |
@@ -294,7 +300,6 @@ CONFIG_PARPORT_NOT_PC=y | |||
294 | # | 300 | # |
295 | # Block devices | 301 | # Block devices |
296 | # | 302 | # |
297 | # CONFIG_BLK_DEV_FD is not set | ||
298 | # CONFIG_BLK_DEV_XD is not set | 303 | # CONFIG_BLK_DEV_XD is not set |
299 | # CONFIG_PARIDE is not set | 304 | # CONFIG_PARIDE is not set |
300 | # CONFIG_BLK_DEV_COW_COMMON is not set | 305 | # CONFIG_BLK_DEV_COW_COMMON is not set |
@@ -428,7 +433,6 @@ CONFIG_NET=y | |||
428 | # | 433 | # |
429 | CONFIG_PACKET=y | 434 | CONFIG_PACKET=y |
430 | # CONFIG_PACKET_MMAP is not set | 435 | # CONFIG_PACKET_MMAP is not set |
431 | # CONFIG_NETLINK_DEV is not set | ||
432 | CONFIG_UNIX=y | 436 | CONFIG_UNIX=y |
433 | # CONFIG_NET_KEY is not set | 437 | # CONFIG_NET_KEY is not set |
434 | CONFIG_INET=y | 438 | CONFIG_INET=y |
@@ -526,6 +530,7 @@ CONFIG_IRDA_ULTRA=y | |||
526 | # CONFIG_SMC_IRCC_FIR is not set | 530 | # CONFIG_SMC_IRCC_FIR is not set |
527 | # CONFIG_ALI_FIR is not set | 531 | # CONFIG_ALI_FIR is not set |
528 | CONFIG_SA1100_FIR=y | 532 | CONFIG_SA1100_FIR=y |
533 | # CONFIG_VIA_FIR is not set | ||
529 | CONFIG_BT=m | 534 | CONFIG_BT=m |
530 | CONFIG_BT_L2CAP=m | 535 | CONFIG_BT_L2CAP=m |
531 | # CONFIG_BT_SCO is not set | 536 | # CONFIG_BT_SCO is not set |
@@ -618,7 +623,6 @@ CONFIG_NET_WIRELESS=y | |||
618 | # | 623 | # |
619 | # CONFIG_SERIO is not set | 624 | # CONFIG_SERIO is not set |
620 | # CONFIG_GAMEPORT is not set | 625 | # CONFIG_GAMEPORT is not set |
621 | CONFIG_SOUND_GAMEPORT=y | ||
622 | 626 | ||
623 | # | 627 | # |
624 | # Character devices | 628 | # Character devices |
@@ -687,7 +691,6 @@ CONFIG_RTC=m | |||
687 | # | 691 | # |
688 | # TPM devices | 692 | # TPM devices |
689 | # | 693 | # |
690 | # CONFIG_TCG_TPM is not set | ||
691 | 694 | ||
692 | # | 695 | # |
693 | # I2C support | 696 | # I2C support |
@@ -736,6 +739,7 @@ CONFIG_I2C_ELEKTOR=m | |||
736 | # CONFIG_SENSORS_LM85 is not set | 739 | # CONFIG_SENSORS_LM85 is not set |
737 | # CONFIG_SENSORS_LM87 is not set | 740 | # CONFIG_SENSORS_LM87 is not set |
738 | # CONFIG_SENSORS_LM90 is not set | 741 | # CONFIG_SENSORS_LM90 is not set |
742 | # CONFIG_SENSORS_LM92 is not set | ||
739 | # CONFIG_SENSORS_MAX1619 is not set | 743 | # CONFIG_SENSORS_MAX1619 is not set |
740 | # CONFIG_SENSORS_PC87360 is not set | 744 | # CONFIG_SENSORS_PC87360 is not set |
741 | # CONFIG_SENSORS_SMSC47B397 is not set | 745 | # CONFIG_SENSORS_SMSC47B397 is not set |
@@ -747,6 +751,7 @@ CONFIG_I2C_ELEKTOR=m | |||
747 | # | 751 | # |
748 | # Other I2C Chip support | 752 | # Other I2C Chip support |
749 | # | 753 | # |
754 | # CONFIG_SENSORS_DS1337 is not set | ||
750 | # CONFIG_SENSORS_EEPROM is not set | 755 | # CONFIG_SENSORS_EEPROM is not set |
751 | # CONFIG_SENSORS_PCF8574 is not set | 756 | # CONFIG_SENSORS_PCF8574 is not set |
752 | # CONFIG_SENSORS_PCF8591 is not set | 757 | # CONFIG_SENSORS_PCF8591 is not set |
@@ -871,7 +876,6 @@ CONFIG_USB_PRINTER=m | |||
871 | # | 876 | # |
872 | CONFIG_USB_STORAGE=y | 877 | CONFIG_USB_STORAGE=y |
873 | CONFIG_USB_STORAGE_DEBUG=y | 878 | CONFIG_USB_STORAGE_DEBUG=y |
874 | # CONFIG_USB_STORAGE_RW_DETECT is not set | ||
875 | # CONFIG_USB_STORAGE_DATAFAB is not set | 879 | # CONFIG_USB_STORAGE_DATAFAB is not set |
876 | # CONFIG_USB_STORAGE_FREECOM is not set | 880 | # CONFIG_USB_STORAGE_FREECOM is not set |
877 | # CONFIG_USB_STORAGE_ISD200 is not set | 881 | # CONFIG_USB_STORAGE_ISD200 is not set |
@@ -954,9 +958,11 @@ CONFIG_USB_USS720=m | |||
954 | # | 958 | # |
955 | CONFIG_USB_SERIAL=m | 959 | CONFIG_USB_SERIAL=m |
956 | CONFIG_USB_SERIAL_GENERIC=y | 960 | CONFIG_USB_SERIAL_GENERIC=y |
961 | # CONFIG_USB_SERIAL_AIRPRIME is not set | ||
957 | CONFIG_USB_SERIAL_BELKIN=m | 962 | CONFIG_USB_SERIAL_BELKIN=m |
958 | CONFIG_USB_SERIAL_WHITEHEAT=m | 963 | CONFIG_USB_SERIAL_WHITEHEAT=m |
959 | CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m | 964 | CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m |
965 | # CONFIG_USB_SERIAL_CP2101 is not set | ||
960 | # CONFIG_USB_SERIAL_CYPRESS_M8 is not set | 966 | # CONFIG_USB_SERIAL_CYPRESS_M8 is not set |
961 | CONFIG_USB_SERIAL_EMPEG=m | 967 | CONFIG_USB_SERIAL_EMPEG=m |
962 | CONFIG_USB_SERIAL_FTDI_SIO=m | 968 | CONFIG_USB_SERIAL_FTDI_SIO=m |
@@ -985,6 +991,7 @@ CONFIG_USB_SERIAL_KEYSPAN=m | |||
985 | # CONFIG_USB_SERIAL_KOBIL_SCT is not set | 991 | # CONFIG_USB_SERIAL_KOBIL_SCT is not set |
986 | CONFIG_USB_SERIAL_MCT_U232=m | 992 | CONFIG_USB_SERIAL_MCT_U232=m |
987 | CONFIG_USB_SERIAL_PL2303=m | 993 | CONFIG_USB_SERIAL_PL2303=m |
994 | # CONFIG_USB_SERIAL_HP4X is not set | ||
988 | # CONFIG_USB_SERIAL_SAFE is not set | 995 | # CONFIG_USB_SERIAL_SAFE is not set |
989 | # CONFIG_USB_SERIAL_TI is not set | 996 | # CONFIG_USB_SERIAL_TI is not set |
990 | CONFIG_USB_SERIAL_CYBERJACK=m | 997 | CONFIG_USB_SERIAL_CYBERJACK=m |
diff --git a/arch/arm/configs/h3600_defconfig b/arch/arm/configs/h3600_defconfig index b4e297dd54b2..b9de07de80fe 100644 --- a/arch/arm/configs/h3600_defconfig +++ b/arch/arm/configs/h3600_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc1-bk2 | 3 | # Linux kernel version: 2.6.12-rc4 |
4 | # Mon Mar 28 00:02:26 2005 | 4 | # Thu Jun 9 01:59:03 2005 |
5 | # | 5 | # |
6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -16,6 +16,7 @@ CONFIG_GENERIC_IOMAP=y | |||
16 | CONFIG_EXPERIMENTAL=y | 16 | CONFIG_EXPERIMENTAL=y |
17 | CONFIG_CLEAN_COMPILE=y | 17 | CONFIG_CLEAN_COMPILE=y |
18 | CONFIG_BROKEN_ON_SMP=y | 18 | CONFIG_BROKEN_ON_SMP=y |
19 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
19 | 20 | ||
20 | # | 21 | # |
21 | # General setup | 22 | # General setup |
@@ -33,6 +34,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
33 | # CONFIG_EMBEDDED is not set | 34 | # CONFIG_EMBEDDED is not set |
34 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
35 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 36 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
37 | CONFIG_PRINTK=y | ||
38 | CONFIG_BUG=y | ||
36 | CONFIG_BASE_FULL=y | 39 | CONFIG_BASE_FULL=y |
37 | CONFIG_FUTEX=y | 40 | CONFIG_FUTEX=y |
38 | CONFIG_EPOLL=y | 41 | CONFIG_EPOLL=y |
@@ -120,6 +123,7 @@ CONFIG_CPU_MINICACHE=y | |||
120 | # Bus support | 123 | # Bus support |
121 | # | 124 | # |
122 | CONFIG_ISA=y | 125 | CONFIG_ISA=y |
126 | CONFIG_ISA_DMA_API=y | ||
123 | 127 | ||
124 | # | 128 | # |
125 | # PCCARD (PCMCIA/CardBus) support | 129 | # PCCARD (PCMCIA/CardBus) support |
@@ -138,6 +142,7 @@ CONFIG_PCMCIA_SA1100=y | |||
138 | # | 142 | # |
139 | # Kernel Features | 143 | # Kernel Features |
140 | # | 144 | # |
145 | # CONFIG_SMP is not set | ||
141 | # CONFIG_PREEMPT is not set | 146 | # CONFIG_PREEMPT is not set |
142 | CONFIG_DISCONTIGMEM=y | 147 | CONFIG_DISCONTIGMEM=y |
143 | # CONFIG_LEDS is not set | 148 | # CONFIG_LEDS is not set |
@@ -159,12 +164,13 @@ CONFIG_CPU_FREQ_TABLE=y | |||
159 | # CONFIG_CPU_FREQ_DEBUG is not set | 164 | # CONFIG_CPU_FREQ_DEBUG is not set |
160 | CONFIG_CPU_FREQ_STAT=y | 165 | CONFIG_CPU_FREQ_STAT=y |
161 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set | 166 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set |
162 | CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y | 167 | # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set |
163 | # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set | 168 | CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y |
164 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | 169 | # CONFIG_CPU_FREQ_GOV_PERFORMANCE is not set |
165 | # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set | 170 | # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set |
166 | # CONFIG_CPU_FREQ_GOV_USERSPACE is not set | 171 | CONFIG_CPU_FREQ_GOV_USERSPACE=y |
167 | # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set | 172 | # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set |
173 | CONFIG_CPU_FREQ_SA1100=y | ||
168 | 174 | ||
169 | # | 175 | # |
170 | # Floating point emulation | 176 | # Floating point emulation |
@@ -298,7 +304,6 @@ CONFIG_MTD_SA1100=y | |||
298 | # | 304 | # |
299 | # Block devices | 305 | # Block devices |
300 | # | 306 | # |
301 | # CONFIG_BLK_DEV_FD is not set | ||
302 | # CONFIG_BLK_DEV_XD is not set | 307 | # CONFIG_BLK_DEV_XD is not set |
303 | # CONFIG_BLK_DEV_COW_COMMON is not set | 308 | # CONFIG_BLK_DEV_COW_COMMON is not set |
304 | CONFIG_BLK_DEV_LOOP=m | 309 | CONFIG_BLK_DEV_LOOP=m |
@@ -379,7 +384,6 @@ CONFIG_NET=y | |||
379 | # Networking options | 384 | # Networking options |
380 | # | 385 | # |
381 | # CONFIG_PACKET is not set | 386 | # CONFIG_PACKET is not set |
382 | # CONFIG_NETLINK_DEV is not set | ||
383 | CONFIG_UNIX=y | 387 | CONFIG_UNIX=y |
384 | # CONFIG_NET_KEY is not set | 388 | # CONFIG_NET_KEY is not set |
385 | CONFIG_INET=y | 389 | CONFIG_INET=y |
@@ -476,6 +480,7 @@ CONFIG_IRCOMM=m | |||
476 | # CONFIG_SMC_IRCC_FIR is not set | 480 | # CONFIG_SMC_IRCC_FIR is not set |
477 | # CONFIG_ALI_FIR is not set | 481 | # CONFIG_ALI_FIR is not set |
478 | CONFIG_SA1100_FIR=m | 482 | CONFIG_SA1100_FIR=m |
483 | # CONFIG_VIA_FIR is not set | ||
479 | # CONFIG_BT is not set | 484 | # CONFIG_BT is not set |
480 | CONFIG_NETDEVICES=y | 485 | CONFIG_NETDEVICES=y |
481 | # CONFIG_DUMMY is not set | 486 | # CONFIG_DUMMY is not set |
@@ -647,7 +652,6 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
647 | # | 652 | # |
648 | # TPM devices | 653 | # TPM devices |
649 | # | 654 | # |
650 | # CONFIG_TCG_TPM is not set | ||
651 | 655 | ||
652 | # | 656 | # |
653 | # I2C support | 657 | # I2C support |
@@ -676,9 +680,11 @@ CONFIG_FB_CFB_FILLRECT=y | |||
676 | CONFIG_FB_CFB_COPYAREA=y | 680 | CONFIG_FB_CFB_COPYAREA=y |
677 | CONFIG_FB_CFB_IMAGEBLIT=y | 681 | CONFIG_FB_CFB_IMAGEBLIT=y |
678 | CONFIG_FB_SOFT_CURSOR=y | 682 | CONFIG_FB_SOFT_CURSOR=y |
683 | # CONFIG_FB_MACMODES is not set | ||
679 | # CONFIG_FB_MODE_HELPERS is not set | 684 | # CONFIG_FB_MODE_HELPERS is not set |
680 | # CONFIG_FB_TILEBLITTING is not set | 685 | # CONFIG_FB_TILEBLITTING is not set |
681 | CONFIG_FB_SA1100=y | 686 | CONFIG_FB_SA1100=y |
687 | # CONFIG_FB_S1D13XXX is not set | ||
682 | # CONFIG_FB_VIRTUAL is not set | 688 | # CONFIG_FB_VIRTUAL is not set |
683 | 689 | ||
684 | # | 690 | # |
diff --git a/arch/arm/configs/hackkit_defconfig b/arch/arm/configs/hackkit_defconfig index 6987c8c5ddb4..fb41a36a5a68 100644 --- a/arch/arm/configs/hackkit_defconfig +++ b/arch/arm/configs/hackkit_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc1-bk2 | 3 | # Linux kernel version: 2.6.12-rc6-git3 |
4 | # Mon Mar 28 00:22:34 2005 | 4 | # Thu Jun 9 20:58:58 2005 |
5 | # | 5 | # |
6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -16,6 +16,7 @@ CONFIG_GENERIC_IOMAP=y | |||
16 | CONFIG_EXPERIMENTAL=y | 16 | CONFIG_EXPERIMENTAL=y |
17 | CONFIG_CLEAN_COMPILE=y | 17 | CONFIG_CLEAN_COMPILE=y |
18 | CONFIG_BROKEN_ON_SMP=y | 18 | CONFIG_BROKEN_ON_SMP=y |
19 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
19 | 20 | ||
20 | # | 21 | # |
21 | # General setup | 22 | # General setup |
@@ -34,6 +35,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
34 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
35 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
36 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
37 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
38 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
39 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -109,7 +112,6 @@ CONFIG_CPU_ABRT_EV4=y | |||
109 | CONFIG_CPU_CACHE_V4WB=y | 112 | CONFIG_CPU_CACHE_V4WB=y |
110 | CONFIG_CPU_CACHE_VIVT=y | 113 | CONFIG_CPU_CACHE_VIVT=y |
111 | CONFIG_CPU_TLB_V4WB=y | 114 | CONFIG_CPU_TLB_V4WB=y |
112 | CONFIG_CPU_MINICACHE=y | ||
113 | 115 | ||
114 | # | 116 | # |
115 | # Processor Features | 117 | # Processor Features |
@@ -119,6 +121,7 @@ CONFIG_CPU_MINICACHE=y | |||
119 | # Bus support | 121 | # Bus support |
120 | # | 122 | # |
121 | CONFIG_ISA=y | 123 | CONFIG_ISA=y |
124 | CONFIG_ISA_DMA_API=y | ||
122 | 125 | ||
123 | # | 126 | # |
124 | # PCCARD (PCMCIA/CardBus) support | 127 | # PCCARD (PCMCIA/CardBus) support |
@@ -128,6 +131,7 @@ CONFIG_ISA=y | |||
128 | # | 131 | # |
129 | # Kernel Features | 132 | # Kernel Features |
130 | # | 133 | # |
134 | # CONFIG_SMP is not set | ||
131 | # CONFIG_PREEMPT is not set | 135 | # CONFIG_PREEMPT is not set |
132 | CONFIG_DISCONTIGMEM=y | 136 | CONFIG_DISCONTIGMEM=y |
133 | CONFIG_LEDS=y | 137 | CONFIG_LEDS=y |
@@ -151,12 +155,14 @@ CONFIG_CPU_FREQ_TABLE=y | |||
151 | # CONFIG_CPU_FREQ_DEBUG is not set | 155 | # CONFIG_CPU_FREQ_DEBUG is not set |
152 | CONFIG_CPU_FREQ_STAT=y | 156 | CONFIG_CPU_FREQ_STAT=y |
153 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set | 157 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set |
154 | CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y | 158 | # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set |
155 | # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set | 159 | CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y |
156 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | 160 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y |
157 | # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set | 161 | # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set |
158 | # CONFIG_CPU_FREQ_GOV_USERSPACE is not set | 162 | CONFIG_CPU_FREQ_GOV_USERSPACE=y |
159 | # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set | 163 | # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set |
164 | # CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set | ||
165 | CONFIG_CPU_FREQ_SA1100=y | ||
160 | 166 | ||
161 | # | 167 | # |
162 | # Floating point emulation | 168 | # Floating point emulation |
@@ -280,7 +286,6 @@ CONFIG_MTD_CFI_UTIL=y | |||
280 | # | 286 | # |
281 | # Block devices | 287 | # Block devices |
282 | # | 288 | # |
283 | # CONFIG_BLK_DEV_FD is not set | ||
284 | # CONFIG_BLK_DEV_XD is not set | 289 | # CONFIG_BLK_DEV_XD is not set |
285 | # CONFIG_BLK_DEV_COW_COMMON is not set | 290 | # CONFIG_BLK_DEV_COW_COMMON is not set |
286 | # CONFIG_BLK_DEV_LOOP is not set | 291 | # CONFIG_BLK_DEV_LOOP is not set |
@@ -338,7 +343,6 @@ CONFIG_NET=y | |||
338 | # | 343 | # |
339 | CONFIG_PACKET=y | 344 | CONFIG_PACKET=y |
340 | # CONFIG_PACKET_MMAP is not set | 345 | # CONFIG_PACKET_MMAP is not set |
341 | # CONFIG_NETLINK_DEV is not set | ||
342 | CONFIG_UNIX=y | 346 | CONFIG_UNIX=y |
343 | # CONFIG_NET_KEY is not set | 347 | # CONFIG_NET_KEY is not set |
344 | CONFIG_INET=y | 348 | CONFIG_INET=y |
@@ -484,7 +488,6 @@ CONFIG_SERIO=y | |||
484 | CONFIG_SERIO_SERPORT=y | 488 | CONFIG_SERIO_SERPORT=y |
485 | # CONFIG_SERIO_RAW is not set | 489 | # CONFIG_SERIO_RAW is not set |
486 | # CONFIG_GAMEPORT is not set | 490 | # CONFIG_GAMEPORT is not set |
487 | CONFIG_SOUND_GAMEPORT=y | ||
488 | 491 | ||
489 | # | 492 | # |
490 | # Character devices | 493 | # Character devices |
@@ -533,7 +536,6 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
533 | # | 536 | # |
534 | # TPM devices | 537 | # TPM devices |
535 | # | 538 | # |
536 | # CONFIG_TCG_TPM is not set | ||
537 | 539 | ||
538 | # | 540 | # |
539 | # I2C support | 541 | # I2C support |
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S index 4eb36155dc93..e14278d59882 100644 --- a/arch/arm/kernel/entry-armv.S +++ b/arch/arm/kernel/entry-armv.S | |||
@@ -269,7 +269,7 @@ __pabt_svc: | |||
269 | add r5, sp, #S_PC | 269 | add r5, sp, #S_PC |
270 | ldmia r7, {r2 - r4} @ Get USR pc, cpsr | 270 | ldmia r7, {r2 - r4} @ Get USR pc, cpsr |
271 | 271 | ||
272 | #if __LINUX_ARM_ARCH__ < 6 | 272 | #if __LINUX_ARM_ARCH__ < 6 && !defined(CONFIG_NEEDS_SYSCALL_FOR_CMPXCHG) |
273 | @ make sure our user space atomic helper is aborted | 273 | @ make sure our user space atomic helper is aborted |
274 | cmp r2, #VIRT_OFFSET | 274 | cmp r2, #VIRT_OFFSET |
275 | bichs r3, r3, #PSR_Z_BIT | 275 | bichs r3, r3, #PSR_Z_BIT |
@@ -616,11 +616,17 @@ __kuser_helper_start: | |||
616 | 616 | ||
617 | __kuser_cmpxchg: @ 0xffff0fc0 | 617 | __kuser_cmpxchg: @ 0xffff0fc0 |
618 | 618 | ||
619 | #if __LINUX_ARM_ARCH__ < 6 | 619 | #if defined(CONFIG_NEEDS_SYSCALL_FOR_CMPXCHG) |
620 | 620 | ||
621 | #ifdef CONFIG_SMP /* sanity check */ | 621 | /* |
622 | #error "CONFIG_SMP on a machine supporting pre-ARMv6 processors?" | 622 | * Poor you. No fast solution possible... |
623 | #endif | 623 | * The kernel itself must perform the operation. |
624 | * A special ghost syscall is used for that (see traps.c). | ||
625 | */ | ||
626 | swi #0x9ffff0 | ||
627 | mov pc, lr | ||
628 | |||
629 | #elif __LINUX_ARM_ARCH__ < 6 | ||
624 | 630 | ||
625 | /* | 631 | /* |
626 | * Theory of operation: | 632 | * Theory of operation: |
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 14df16b983f4..45d2a032d890 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c | |||
@@ -464,6 +464,55 @@ asmlinkage int arm_syscall(int no, struct pt_regs *regs) | |||
464 | #endif | 464 | #endif |
465 | return 0; | 465 | return 0; |
466 | 466 | ||
467 | #ifdef CONFIG_NEEDS_SYSCALL_FOR_CMPXCHG | ||
468 | /* | ||
469 | * Atomically store r1 in *r2 if *r2 is equal to r0 for user space. | ||
470 | * Return zero in r0 if *MEM was changed or non-zero if no exchange | ||
471 | * happened. Also set the user C flag accordingly. | ||
472 | * If access permissions have to be fixed up then non-zero is | ||
473 | * returned and the operation has to be re-attempted. | ||
474 | * | ||
475 | * *NOTE*: This is a ghost syscall private to the kernel. Only the | ||
476 | * __kuser_cmpxchg code in entry-armv.S should be aware of its | ||
477 | * existence. Don't ever use this from user code. | ||
478 | */ | ||
479 | case 0xfff0: | ||
480 | { | ||
481 | extern void do_DataAbort(unsigned long addr, unsigned int fsr, | ||
482 | struct pt_regs *regs); | ||
483 | unsigned long val; | ||
484 | unsigned long addr = regs->ARM_r2; | ||
485 | struct mm_struct *mm = current->mm; | ||
486 | pgd_t *pgd; pmd_t *pmd; pte_t *pte; | ||
487 | |||
488 | regs->ARM_cpsr &= ~PSR_C_BIT; | ||
489 | spin_lock(&mm->page_table_lock); | ||
490 | pgd = pgd_offset(mm, addr); | ||
491 | if (!pgd_present(*pgd)) | ||
492 | goto bad_access; | ||
493 | pmd = pmd_offset(pgd, addr); | ||
494 | if (!pmd_present(*pmd)) | ||
495 | goto bad_access; | ||
496 | pte = pte_offset_map(pmd, addr); | ||
497 | if (!pte_present(*pte) || !pte_write(*pte)) | ||
498 | goto bad_access; | ||
499 | val = *(unsigned long *)addr; | ||
500 | val -= regs->ARM_r0; | ||
501 | if (val == 0) { | ||
502 | *(unsigned long *)addr = regs->ARM_r1; | ||
503 | regs->ARM_cpsr |= PSR_C_BIT; | ||
504 | } | ||
505 | spin_unlock(&mm->page_table_lock); | ||
506 | return val; | ||
507 | |||
508 | bad_access: | ||
509 | spin_unlock(&mm->page_table_lock); | ||
510 | /* simulate a read access fault */ | ||
511 | do_DataAbort(addr, 15 + (1 << 11), regs); | ||
512 | return -1; | ||
513 | } | ||
514 | #endif | ||
515 | |||
467 | default: | 516 | default: |
468 | /* Calls 9f00xx..9f07ff are defined to return -ENOSYS | 517 | /* Calls 9f00xx..9f07ff are defined to return -ENOSYS |
469 | if not implemented, rather than raising SIGILL. This | 518 | if not implemented, rather than raising SIGILL. This |
diff --git a/arch/arm/lib/io-writesw-armv4.S b/arch/arm/lib/io-writesw-armv4.S index 6d1d7c27806e..5e240e452af6 100644 --- a/arch/arm/lib/io-writesw-armv4.S +++ b/arch/arm/lib/io-writesw-armv4.S | |||
@@ -87,9 +87,9 @@ ENTRY(__raw_writesw) | |||
87 | subs r2, r2, #2 | 87 | subs r2, r2, #2 |
88 | orr ip, ip, r3, push_hbyte1 | 88 | orr ip, ip, r3, push_hbyte1 |
89 | strh ip, [r0] | 89 | strh ip, [r0] |
90 | bpl 2b | 90 | bpl 1b |
91 | 91 | ||
92 | 3: tst r2, #1 | 92 | tst r2, #1 |
93 | 2: movne ip, r3, lsr #8 | 93 | 3: movne ip, r3, lsr #8 |
94 | strneh ip, [r0] | 94 | strneh ip, [r0] |
95 | mov pc, lr | 95 | mov pc, lr |
diff --git a/arch/arm/mach-integrator/integrator_cp.c b/arch/arm/mach-integrator/integrator_cp.c index 3b948e8c2751..e0a01eef0993 100644 --- a/arch/arm/mach-integrator/integrator_cp.c +++ b/arch/arm/mach-integrator/integrator_cp.c | |||
@@ -83,7 +83,6 @@ static struct map_desc intcp_io_desc[] __initdata = { | |||
83 | { IO_ADDRESS(INTEGRATOR_UART1_BASE), INTEGRATOR_UART1_BASE, SZ_4K, MT_DEVICE }, | 83 | { IO_ADDRESS(INTEGRATOR_UART1_BASE), INTEGRATOR_UART1_BASE, SZ_4K, MT_DEVICE }, |
84 | { IO_ADDRESS(INTEGRATOR_DBG_BASE), INTEGRATOR_DBG_BASE, SZ_4K, MT_DEVICE }, | 84 | { IO_ADDRESS(INTEGRATOR_DBG_BASE), INTEGRATOR_DBG_BASE, SZ_4K, MT_DEVICE }, |
85 | { IO_ADDRESS(INTEGRATOR_GPIO_BASE), INTEGRATOR_GPIO_BASE, SZ_4K, MT_DEVICE }, | 85 | { IO_ADDRESS(INTEGRATOR_GPIO_BASE), INTEGRATOR_GPIO_BASE, SZ_4K, MT_DEVICE }, |
86 | { 0xfc900000, 0xc9000000, SZ_4K, MT_DEVICE }, | ||
87 | { 0xfca00000, 0xca000000, SZ_4K, MT_DEVICE }, | 86 | { 0xfca00000, 0xca000000, SZ_4K, MT_DEVICE }, |
88 | { 0xfcb00000, 0xcb000000, SZ_4K, MT_DEVICE }, | 87 | { 0xfcb00000, 0xcb000000, SZ_4K, MT_DEVICE }, |
89 | }; | 88 | }; |
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index dd012d6e2f5c..f2c9e0d2b24b 100644 --- a/arch/arm/mach-pxa/lubbock.c +++ b/arch/arm/mach-pxa/lubbock.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | #include <linux/device.h> | 17 | #include <linux/device.h> |
18 | #include <linux/sysdev.h> | ||
18 | #include <linux/major.h> | 19 | #include <linux/major.h> |
19 | #include <linux/fb.h> | 20 | #include <linux/fb.h> |
20 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
@@ -106,6 +107,35 @@ static void __init lubbock_init_irq(void) | |||
106 | set_irq_type(IRQ_GPIO(0), IRQT_FALLING); | 107 | set_irq_type(IRQ_GPIO(0), IRQT_FALLING); |
107 | } | 108 | } |
108 | 109 | ||
110 | #ifdef CONFIG_PM | ||
111 | |||
112 | static int lubbock_irq_resume(struct sys_device *dev) | ||
113 | { | ||
114 | LUB_IRQ_MASK_EN = lubbock_irq_enabled; | ||
115 | return 0; | ||
116 | } | ||
117 | |||
118 | static struct sysdev_class lubbock_irq_sysclass = { | ||
119 | set_kset_name("cpld_irq"), | ||
120 | .resume = lubbock_irq_resume, | ||
121 | }; | ||
122 | |||
123 | static struct sys_device lubbock_irq_device = { | ||
124 | .cls = &lubbock_irq_sysclass, | ||
125 | }; | ||
126 | |||
127 | static int __init lubbock_irq_device_init(void) | ||
128 | { | ||
129 | int ret = sysdev_class_register(&lubbock_irq_sysclass); | ||
130 | if (ret == 0) | ||
131 | ret = sysdev_register(&lubbock_irq_device); | ||
132 | return ret; | ||
133 | } | ||
134 | |||
135 | device_initcall(lubbock_irq_device_init); | ||
136 | |||
137 | #endif | ||
138 | |||
109 | static int lubbock_udc_is_connected(void) | 139 | static int lubbock_udc_is_connected(void) |
110 | { | 140 | { |
111 | return (LUB_MISC_RD & (1 << 9)) == 0; | 141 | return (LUB_MISC_RD & (1 << 9)) == 0; |
diff --git a/arch/arm/mach-pxa/mainstone.c b/arch/arm/mach-pxa/mainstone.c index 3f952237ae3d..9896afca751f 100644 --- a/arch/arm/mach-pxa/mainstone.c +++ b/arch/arm/mach-pxa/mainstone.c | |||
@@ -15,6 +15,7 @@ | |||
15 | 15 | ||
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | #include <linux/device.h> | 17 | #include <linux/device.h> |
18 | #include <linux/sysdev.h> | ||
18 | #include <linux/interrupt.h> | 19 | #include <linux/interrupt.h> |
19 | #include <linux/sched.h> | 20 | #include <linux/sched.h> |
20 | #include <linux/bitops.h> | 21 | #include <linux/bitops.h> |
@@ -62,7 +63,6 @@ static struct irqchip mainstone_irq_chip = { | |||
62 | .unmask = mainstone_unmask_irq, | 63 | .unmask = mainstone_unmask_irq, |
63 | }; | 64 | }; |
64 | 65 | ||
65 | |||
66 | static void mainstone_irq_handler(unsigned int irq, struct irqdesc *desc, | 66 | static void mainstone_irq_handler(unsigned int irq, struct irqdesc *desc, |
67 | struct pt_regs *regs) | 67 | struct pt_regs *regs) |
68 | { | 68 | { |
@@ -100,6 +100,35 @@ static void __init mainstone_init_irq(void) | |||
100 | set_irq_type(IRQ_GPIO(0), IRQT_FALLING); | 100 | set_irq_type(IRQ_GPIO(0), IRQT_FALLING); |
101 | } | 101 | } |
102 | 102 | ||
103 | #ifdef CONFIG_PM | ||
104 | |||
105 | static int mainstone_irq_resume(struct sys_device *dev) | ||
106 | { | ||
107 | MST_INTMSKENA = mainstone_irq_enabled; | ||
108 | return 0; | ||
109 | } | ||
110 | |||
111 | static struct sysdev_class mainstone_irq_sysclass = { | ||
112 | set_kset_name("cpld_irq"), | ||
113 | .resume = mainstone_irq_resume, | ||
114 | }; | ||
115 | |||
116 | static struct sys_device mainstone_irq_device = { | ||
117 | .cls = &mainstone_irq_sysclass, | ||
118 | }; | ||
119 | |||
120 | static int __init mainstone_irq_device_init(void) | ||
121 | { | ||
122 | int ret = sysdev_class_register(&mainstone_irq_sysclass); | ||
123 | if (ret == 0) | ||
124 | ret = sysdev_register(&mainstone_irq_device); | ||
125 | return ret; | ||
126 | } | ||
127 | |||
128 | device_initcall(mainstone_irq_device_init); | ||
129 | |||
130 | #endif | ||
131 | |||
103 | 132 | ||
104 | static struct resource smc91x_resources[] = { | 133 | static struct resource smc91x_resources[] = { |
105 | [0] = { | 134 | [0] = { |
@@ -304,6 +333,15 @@ static void __init mainstone_map_io(void) | |||
304 | PWER = 0xC0000002; | 333 | PWER = 0xC0000002; |
305 | PRER = 0x00000002; | 334 | PRER = 0x00000002; |
306 | PFER = 0x00000002; | 335 | PFER = 0x00000002; |
336 | /* for use I SRAM as framebuffer. */ | ||
337 | PSLR |= 0xF04; | ||
338 | PCFR = 0x66; | ||
339 | /* For Keypad wakeup. */ | ||
340 | KPC &=~KPC_ASACT; | ||
341 | KPC |=KPC_AS; | ||
342 | PKWR = 0x000FD000; | ||
343 | /* Need read PKWR back after set it. */ | ||
344 | PKWR; | ||
307 | } | 345 | } |
308 | 346 | ||
309 | MACHINE_START(MAINSTONE, "Intel HCDDBBVA0 Development Platform (aka Mainstone)") | 347 | MACHINE_START(MAINSTONE, "Intel HCDDBBVA0 Development Platform (aka Mainstone)") |
diff --git a/arch/arm/mach-pxa/pm.c b/arch/arm/mach-pxa/pm.c index 82a4bf34c251..9799fe80df23 100644 --- a/arch/arm/mach-pxa/pm.c +++ b/arch/arm/mach-pxa/pm.c | |||
@@ -29,9 +29,6 @@ | |||
29 | */ | 29 | */ |
30 | #undef DEBUG | 30 | #undef DEBUG |
31 | 31 | ||
32 | extern void pxa_cpu_suspend(void); | ||
33 | extern void pxa_cpu_resume(void); | ||
34 | |||
35 | #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x | 32 | #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x |
36 | #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x] | 33 | #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x] |
37 | 34 | ||
@@ -63,6 +60,12 @@ enum { SLEEP_SAVE_START = 0, | |||
63 | SLEEP_SAVE_ICMR, | 60 | SLEEP_SAVE_ICMR, |
64 | SLEEP_SAVE_CKEN, | 61 | SLEEP_SAVE_CKEN, |
65 | 62 | ||
63 | #ifdef CONFIG_PXA27x | ||
64 | SLEEP_SAVE_MDREFR, | ||
65 | SLEEP_SAVE_PWER, SLEEP_SAVE_PCFR, SLEEP_SAVE_PRER, | ||
66 | SLEEP_SAVE_PFER, SLEEP_SAVE_PKWR, | ||
67 | #endif | ||
68 | |||
66 | SLEEP_SAVE_CKSUM, | 69 | SLEEP_SAVE_CKSUM, |
67 | 70 | ||
68 | SLEEP_SAVE_SIZE | 71 | SLEEP_SAVE_SIZE |
@@ -75,9 +78,7 @@ static int pxa_pm_enter(suspend_state_t state) | |||
75 | unsigned long checksum = 0; | 78 | unsigned long checksum = 0; |
76 | struct timespec delta, rtc; | 79 | struct timespec delta, rtc; |
77 | int i; | 80 | int i; |
78 | 81 | extern void pxa_cpu_pm_enter(suspend_state_t state); | |
79 | if (state != PM_SUSPEND_MEM) | ||
80 | return -EINVAL; | ||
81 | 82 | ||
82 | #ifdef CONFIG_IWMMXT | 83 | #ifdef CONFIG_IWMMXT |
83 | /* force any iWMMXt context to ram **/ | 84 | /* force any iWMMXt context to ram **/ |
@@ -100,16 +101,17 @@ static int pxa_pm_enter(suspend_state_t state) | |||
100 | SAVE(GAFR2_L); SAVE(GAFR2_U); | 101 | SAVE(GAFR2_L); SAVE(GAFR2_U); |
101 | 102 | ||
102 | #ifdef CONFIG_PXA27x | 103 | #ifdef CONFIG_PXA27x |
104 | SAVE(MDREFR); | ||
103 | SAVE(GPLR3); SAVE(GPDR3); SAVE(GRER3); SAVE(GFER3); SAVE(PGSR3); | 105 | SAVE(GPLR3); SAVE(GPDR3); SAVE(GRER3); SAVE(GFER3); SAVE(PGSR3); |
104 | SAVE(GAFR3_L); SAVE(GAFR3_U); | 106 | SAVE(GAFR3_L); SAVE(GAFR3_U); |
107 | SAVE(PWER); SAVE(PCFR); SAVE(PRER); | ||
108 | SAVE(PFER); SAVE(PKWR); | ||
105 | #endif | 109 | #endif |
106 | 110 | ||
107 | SAVE(ICMR); | 111 | SAVE(ICMR); |
108 | ICMR = 0; | 112 | ICMR = 0; |
109 | 113 | ||
110 | SAVE(CKEN); | 114 | SAVE(CKEN); |
111 | CKEN = 0; | ||
112 | |||
113 | SAVE(PSTR); | 115 | SAVE(PSTR); |
114 | 116 | ||
115 | /* Note: wake up source are set up in each machine specific files */ | 117 | /* Note: wake up source are set up in each machine specific files */ |
@@ -123,16 +125,13 @@ static int pxa_pm_enter(suspend_state_t state) | |||
123 | /* Clear sleep reset status */ | 125 | /* Clear sleep reset status */ |
124 | RCSR = RCSR_SMR; | 126 | RCSR = RCSR_SMR; |
125 | 127 | ||
126 | /* set resume return address */ | ||
127 | PSPR = virt_to_phys(pxa_cpu_resume); | ||
128 | |||
129 | /* before sleeping, calculate and save a checksum */ | 128 | /* before sleeping, calculate and save a checksum */ |
130 | for (i = 0; i < SLEEP_SAVE_SIZE - 1; i++) | 129 | for (i = 0; i < SLEEP_SAVE_SIZE - 1; i++) |
131 | checksum += sleep_save[i]; | 130 | checksum += sleep_save[i]; |
132 | sleep_save[SLEEP_SAVE_CKSUM] = checksum; | 131 | sleep_save[SLEEP_SAVE_CKSUM] = checksum; |
133 | 132 | ||
134 | /* *** go zzz *** */ | 133 | /* *** go zzz *** */ |
135 | pxa_cpu_suspend(); | 134 | pxa_cpu_pm_enter(state); |
136 | 135 | ||
137 | /* after sleeping, validate the checksum */ | 136 | /* after sleeping, validate the checksum */ |
138 | checksum = 0; | 137 | checksum = 0; |
@@ -145,7 +144,7 @@ static int pxa_pm_enter(suspend_state_t state) | |||
145 | LUB_HEXLED = 0xbadbadc5; | 144 | LUB_HEXLED = 0xbadbadc5; |
146 | #endif | 145 | #endif |
147 | while (1) | 146 | while (1) |
148 | pxa_cpu_suspend(); | 147 | pxa_cpu_pm_enter(state); |
149 | } | 148 | } |
150 | 149 | ||
151 | /* ensure not to come back here if it wasn't intended */ | 150 | /* ensure not to come back here if it wasn't intended */ |
@@ -162,8 +161,11 @@ static int pxa_pm_enter(suspend_state_t state) | |||
162 | RESTORE(PGSR0); RESTORE(PGSR1); RESTORE(PGSR2); | 161 | RESTORE(PGSR0); RESTORE(PGSR1); RESTORE(PGSR2); |
163 | 162 | ||
164 | #ifdef CONFIG_PXA27x | 163 | #ifdef CONFIG_PXA27x |
164 | RESTORE(MDREFR); | ||
165 | RESTORE(GAFR3_L); RESTORE(GAFR3_U); RESTORE_GPLEVEL(3); | 165 | RESTORE(GAFR3_L); RESTORE(GAFR3_U); RESTORE_GPLEVEL(3); |
166 | RESTORE(GPDR3); RESTORE(GRER3); RESTORE(GFER3); RESTORE(PGSR3); | 166 | RESTORE(GPDR3); RESTORE(GRER3); RESTORE(GFER3); RESTORE(PGSR3); |
167 | RESTORE(PWER); RESTORE(PCFR); RESTORE(PRER); | ||
168 | RESTORE(PFER); RESTORE(PKWR); | ||
167 | #endif | 169 | #endif |
168 | 170 | ||
169 | PSSR = PSSR_RDH | PSSR_PH; | 171 | PSSR = PSSR_RDH | PSSR_PH; |
@@ -197,7 +199,9 @@ unsigned long sleep_phys_sp(void *sp) | |||
197 | */ | 199 | */ |
198 | static int pxa_pm_prepare(suspend_state_t state) | 200 | static int pxa_pm_prepare(suspend_state_t state) |
199 | { | 201 | { |
200 | return 0; | 202 | extern int pxa_cpu_pm_prepare(suspend_state_t state); |
203 | |||
204 | return pxa_cpu_pm_prepare(state); | ||
201 | } | 205 | } |
202 | 206 | ||
203 | /* | 207 | /* |
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c index e887b7175ef3..7869c3b4e62f 100644 --- a/arch/arm/mach-pxa/pxa25x.c +++ b/arch/arm/mach-pxa/pxa25x.c | |||
@@ -16,6 +16,7 @@ | |||
16 | * initialization stuff for PXA machines which can be overridden later if | 16 | * initialization stuff for PXA machines which can be overridden later if |
17 | * need be. | 17 | * need be. |
18 | */ | 18 | */ |
19 | #include <linux/config.h> | ||
19 | #include <linux/module.h> | 20 | #include <linux/module.h> |
20 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
21 | #include <linux/init.h> | 22 | #include <linux/init.h> |
@@ -102,3 +103,35 @@ unsigned int get_lcdclk_frequency_10khz(void) | |||
102 | } | 103 | } |
103 | 104 | ||
104 | EXPORT_SYMBOL(get_lcdclk_frequency_10khz); | 105 | EXPORT_SYMBOL(get_lcdclk_frequency_10khz); |
106 | |||
107 | #ifdef CONFIG_PM | ||
108 | |||
109 | int pxa_cpu_pm_prepare(suspend_state_t state) | ||
110 | { | ||
111 | switch (state) { | ||
112 | case PM_SUSPEND_MEM: | ||
113 | break; | ||
114 | default: | ||
115 | return -EINVAL; | ||
116 | } | ||
117 | |||
118 | return 0; | ||
119 | } | ||
120 | |||
121 | void pxa_cpu_pm_enter(suspend_state_t state) | ||
122 | { | ||
123 | extern void pxa_cpu_suspend(unsigned int); | ||
124 | extern void pxa_cpu_resume(void); | ||
125 | |||
126 | CKEN = 0; | ||
127 | |||
128 | switch (state) { | ||
129 | case PM_SUSPEND_MEM: | ||
130 | /* set resume return address */ | ||
131 | PSPR = virt_to_phys(pxa_cpu_resume); | ||
132 | pxa_cpu_suspend(3); | ||
133 | break; | ||
134 | } | ||
135 | } | ||
136 | |||
137 | #endif | ||
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index 7e863afefb53..893964fb9659 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c | |||
@@ -120,6 +120,42 @@ EXPORT_SYMBOL(get_clk_frequency_khz); | |||
120 | EXPORT_SYMBOL(get_memclk_frequency_10khz); | 120 | EXPORT_SYMBOL(get_memclk_frequency_10khz); |
121 | EXPORT_SYMBOL(get_lcdclk_frequency_10khz); | 121 | EXPORT_SYMBOL(get_lcdclk_frequency_10khz); |
122 | 122 | ||
123 | #ifdef CONFIG_PM | ||
124 | |||
125 | int pxa_cpu_pm_prepare(suspend_state_t state) | ||
126 | { | ||
127 | switch (state) { | ||
128 | case PM_SUSPEND_MEM: | ||
129 | return 0; | ||
130 | default: | ||
131 | return -EINVAL; | ||
132 | } | ||
133 | } | ||
134 | |||
135 | void pxa_cpu_pm_enter(suspend_state_t state) | ||
136 | { | ||
137 | extern void pxa_cpu_standby(void); | ||
138 | extern void pxa_cpu_suspend(unsigned int); | ||
139 | extern void pxa_cpu_resume(void); | ||
140 | |||
141 | CKEN = CKEN22_MEMC | CKEN9_OSTIMER; | ||
142 | |||
143 | /* ensure voltage-change sequencer not initiated, which hangs */ | ||
144 | PCFR &= ~PCFR_FVC; | ||
145 | |||
146 | /* Clear edge-detect status register. */ | ||
147 | PEDR = 0xDF12FE1B; | ||
148 | |||
149 | switch (state) { | ||
150 | case PM_SUSPEND_MEM: | ||
151 | /* set resume return address */ | ||
152 | PSPR = virt_to_phys(pxa_cpu_resume); | ||
153 | pxa_cpu_suspend(3); | ||
154 | break; | ||
155 | } | ||
156 | } | ||
157 | |||
158 | #endif | ||
123 | 159 | ||
124 | /* | 160 | /* |
125 | * device registration specific to PXA27x. | 161 | * device registration specific to PXA27x. |
diff --git a/arch/arm/mach-s3c2410/dma.c b/arch/arm/mach-s3c2410/dma.c index bc229fab86d4..c7c28890d406 100644 --- a/arch/arm/mach-s3c2410/dma.c +++ b/arch/arm/mach-s3c2410/dma.c | |||
@@ -785,6 +785,10 @@ int s3c2410_dma_free(dmach_t channel, s3c2410_dma_client_t *client) | |||
785 | chan->client = NULL; | 785 | chan->client = NULL; |
786 | chan->in_use = 0; | 786 | chan->in_use = 0; |
787 | 787 | ||
788 | if (chan->irq_claimed) | ||
789 | free_irq(chan->irq, (void *)chan); | ||
790 | chan->irq_claimed = 0; | ||
791 | |||
788 | local_irq_restore(flags); | 792 | local_irq_restore(flags); |
789 | 793 | ||
790 | return 0; | 794 | return 0; |
diff --git a/arch/arm/mach-sa1100/Kconfig b/arch/arm/mach-sa1100/Kconfig index 50cde576dadf..6923316b3d0d 100644 --- a/arch/arm/mach-sa1100/Kconfig +++ b/arch/arm/mach-sa1100/Kconfig | |||
@@ -150,7 +150,7 @@ config SA1100_SSP | |||
150 | 150 | ||
151 | config H3600_SLEEVE | 151 | config H3600_SLEEVE |
152 | tristate "Compaq iPAQ Handheld sleeve support" | 152 | tristate "Compaq iPAQ Handheld sleeve support" |
153 | depends on SA1100_H3600 | 153 | depends on SA1100_H3100 || SA1100_H3600 |
154 | help | 154 | help |
155 | Choose this option to enable support for extension packs (sleeves) | 155 | Choose this option to enable support for extension packs (sleeves) |
156 | for the Compaq iPAQ H3XXX series of handheld computers. This option | 156 | for the Compaq iPAQ H3XXX series of handheld computers. This option |
diff --git a/arch/arm/mach-versatile/core.c b/arch/arm/mach-versatile/core.c index 554e1bd30d6e..302c2a7b9b63 100644 --- a/arch/arm/mach-versatile/core.c +++ b/arch/arm/mach-versatile/core.c | |||
@@ -543,7 +543,7 @@ static void versatile_clcd_enable(struct clcd_fb *fb) | |||
543 | val |= SYS_CLCD_MODE_5551; | 543 | val |= SYS_CLCD_MODE_5551; |
544 | break; | 544 | break; |
545 | case 6: | 545 | case 6: |
546 | val |= SYS_CLCD_MODE_565_BLSB; | 546 | val |= SYS_CLCD_MODE_565_RLSB; |
547 | break; | 547 | break; |
548 | case 8: | 548 | case 8: |
549 | val |= SYS_CLCD_MODE_888; | 549 | val |= SYS_CLCD_MODE_888; |
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 48bac7da8c70..3fefb43c67f7 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
@@ -228,7 +228,6 @@ config CPU_SA1100 | |||
228 | select CPU_CACHE_V4WB | 228 | select CPU_CACHE_V4WB |
229 | select CPU_CACHE_VIVT | 229 | select CPU_CACHE_VIVT |
230 | select CPU_TLB_V4WB | 230 | select CPU_TLB_V4WB |
231 | select CPU_MINICACHE | ||
232 | 231 | ||
233 | # XScale | 232 | # XScale |
234 | config CPU_XSCALE | 233 | config CPU_XSCALE |
@@ -239,7 +238,6 @@ config CPU_XSCALE | |||
239 | select CPU_ABRT_EV5T | 238 | select CPU_ABRT_EV5T |
240 | select CPU_CACHE_VIVT | 239 | select CPU_CACHE_VIVT |
241 | select CPU_TLB_V4WBI | 240 | select CPU_TLB_V4WBI |
242 | select CPU_MINICACHE | ||
243 | 241 | ||
244 | # ARMv6 | 242 | # ARMv6 |
245 | config CPU_V6 | 243 | config CPU_V6 |
@@ -345,11 +343,6 @@ config CPU_TLB_V4WBI | |||
345 | config CPU_TLB_V6 | 343 | config CPU_TLB_V6 |
346 | bool | 344 | bool |
347 | 345 | ||
348 | config CPU_MINICACHE | ||
349 | bool | ||
350 | help | ||
351 | Processor has a minicache. | ||
352 | |||
353 | comment "Processor Features" | 346 | comment "Processor Features" |
354 | 347 | ||
355 | config ARM_THUMB | 348 | config ARM_THUMB |
@@ -429,3 +422,11 @@ config HAS_TLS_REG | |||
429 | assume directly accessing that register and always obtain the | 422 | assume directly accessing that register and always obtain the |
430 | expected value only on ARMv7 and above. | 423 | expected value only on ARMv7 and above. |
431 | 424 | ||
425 | config NEEDS_SYSCALL_FOR_CMPXCHG | ||
426 | bool | ||
427 | default y if SMP && (CPU_32v5 || CPU_32v4 || CPU_32v3) | ||
428 | help | ||
429 | SMP on a pre-ARMv6 processor? Well OK then. | ||
430 | Forget about fast user space cmpxchg support. | ||
431 | It is just not possible. | ||
432 | |||
diff --git a/arch/arm/mm/Makefile b/arch/arm/mm/Makefile index ccf316c11e02..59f47d4c2dfe 100644 --- a/arch/arm/mm/Makefile +++ b/arch/arm/mm/Makefile | |||
@@ -31,8 +31,6 @@ obj-$(CONFIG_CPU_COPY_V6) += copypage-v6.o mmu.o | |||
31 | obj-$(CONFIG_CPU_SA1100) += copypage-v4mc.o | 31 | obj-$(CONFIG_CPU_SA1100) += copypage-v4mc.o |
32 | obj-$(CONFIG_CPU_XSCALE) += copypage-xscale.o | 32 | obj-$(CONFIG_CPU_XSCALE) += copypage-xscale.o |
33 | 33 | ||
34 | obj-$(CONFIG_CPU_MINICACHE) += minicache.o | ||
35 | |||
36 | obj-$(CONFIG_CPU_TLB_V3) += tlb-v3.o | 34 | obj-$(CONFIG_CPU_TLB_V3) += tlb-v3.o |
37 | obj-$(CONFIG_CPU_TLB_V4WT) += tlb-v4.o | 35 | obj-$(CONFIG_CPU_TLB_V4WT) += tlb-v4.o |
38 | obj-$(CONFIG_CPU_TLB_V4WB) += tlb-v4wb.o | 36 | obj-$(CONFIG_CPU_TLB_V4WB) += tlb-v4wb.o |
diff --git a/arch/arm/mm/copypage-xscale.S b/arch/arm/mm/copypage-xscale.S deleted file mode 100644 index bb277316ef52..000000000000 --- a/arch/arm/mm/copypage-xscale.S +++ /dev/null | |||
@@ -1,113 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/lib/copypage-xscale.S | ||
3 | * | ||
4 | * Copyright (C) 2001 Russell King | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | #include <linux/linkage.h> | ||
11 | #include <linux/init.h> | ||
12 | #include <asm/constants.h> | ||
13 | |||
14 | /* | ||
15 | * General note: | ||
16 | * We don't really want write-allocate cache behaviour for these functions | ||
17 | * since that will just eat through 8K of the cache. | ||
18 | */ | ||
19 | |||
20 | .text | ||
21 | .align 5 | ||
22 | /* | ||
23 | * XScale optimised copy_user_page | ||
24 | * r0 = destination | ||
25 | * r1 = source | ||
26 | * r2 = virtual user address of ultimate destination page | ||
27 | * | ||
28 | * The source page may have some clean entries in the cache already, but we | ||
29 | * can safely ignore them - break_cow() will flush them out of the cache | ||
30 | * if we eventually end up using our copied page. | ||
31 | * | ||
32 | * What we could do is use the mini-cache to buffer reads from the source | ||
33 | * page. We rely on the mini-cache being smaller than one page, so we'll | ||
34 | * cycle through the complete cache anyway. | ||
35 | */ | ||
36 | ENTRY(xscale_mc_copy_user_page) | ||
37 | stmfd sp!, {r4, r5, lr} | ||
38 | mov r5, r0 | ||
39 | mov r0, r1 | ||
40 | bl map_page_minicache | ||
41 | mov r1, r5 | ||
42 | mov lr, #PAGE_SZ/64-1 | ||
43 | |||
44 | /* | ||
45 | * Strangely enough, best performance is achieved | ||
46 | * when prefetching destination as well. (NP) | ||
47 | */ | ||
48 | pld [r0, #0] | ||
49 | pld [r0, #32] | ||
50 | pld [r1, #0] | ||
51 | pld [r1, #32] | ||
52 | |||
53 | 1: pld [r0, #64] | ||
54 | pld [r0, #96] | ||
55 | pld [r1, #64] | ||
56 | pld [r1, #96] | ||
57 | |||
58 | 2: ldrd r2, [r0], #8 | ||
59 | ldrd r4, [r0], #8 | ||
60 | mov ip, r1 | ||
61 | strd r2, [r1], #8 | ||
62 | ldrd r2, [r0], #8 | ||
63 | strd r4, [r1], #8 | ||
64 | ldrd r4, [r0], #8 | ||
65 | strd r2, [r1], #8 | ||
66 | strd r4, [r1], #8 | ||
67 | mcr p15, 0, ip, c7, c10, 1 @ clean D line | ||
68 | ldrd r2, [r0], #8 | ||
69 | mcr p15, 0, ip, c7, c6, 1 @ invalidate D line | ||
70 | ldrd r4, [r0], #8 | ||
71 | mov ip, r1 | ||
72 | strd r2, [r1], #8 | ||
73 | ldrd r2, [r0], #8 | ||
74 | strd r4, [r1], #8 | ||
75 | ldrd r4, [r0], #8 | ||
76 | strd r2, [r1], #8 | ||
77 | strd r4, [r1], #8 | ||
78 | mcr p15, 0, ip, c7, c10, 1 @ clean D line | ||
79 | subs lr, lr, #1 | ||
80 | mcr p15, 0, ip, c7, c6, 1 @ invalidate D line | ||
81 | bgt 1b | ||
82 | beq 2b | ||
83 | |||
84 | ldmfd sp!, {r4, r5, pc} | ||
85 | |||
86 | .align 5 | ||
87 | /* | ||
88 | * XScale optimised clear_user_page | ||
89 | * r0 = destination | ||
90 | * r1 = virtual user address of ultimate destination page | ||
91 | */ | ||
92 | ENTRY(xscale_mc_clear_user_page) | ||
93 | mov r1, #PAGE_SZ/32 | ||
94 | mov r2, #0 | ||
95 | mov r3, #0 | ||
96 | 1: mov ip, r0 | ||
97 | strd r2, [r0], #8 | ||
98 | strd r2, [r0], #8 | ||
99 | strd r2, [r0], #8 | ||
100 | strd r2, [r0], #8 | ||
101 | mcr p15, 0, ip, c7, c10, 1 @ clean D line | ||
102 | subs r1, r1, #1 | ||
103 | mcr p15, 0, ip, c7, c6, 1 @ invalidate D line | ||
104 | bne 1b | ||
105 | mov pc, lr | ||
106 | |||
107 | __INITDATA | ||
108 | |||
109 | .type xscale_mc_user_fns, #object | ||
110 | ENTRY(xscale_mc_user_fns) | ||
111 | .long xscale_mc_clear_user_page | ||
112 | .long xscale_mc_copy_user_page | ||
113 | .size xscale_mc_user_fns, . - xscale_mc_user_fns | ||
diff --git a/arch/arm/mm/copypage-xscale.c b/arch/arm/mm/copypage-xscale.c new file mode 100644 index 000000000000..42a6ee255ce0 --- /dev/null +++ b/arch/arm/mm/copypage-xscale.c | |||
@@ -0,0 +1,131 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/lib/copypage-xscale.S | ||
3 | * | ||
4 | * Copyright (C) 1995-2005 Russell King | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * This handles the mini data cache, as found on SA11x0 and XScale | ||
11 | * processors. When we copy a user page page, we map it in such a way | ||
12 | * that accesses to this page will not touch the main data cache, but | ||
13 | * will be cached in the mini data cache. This prevents us thrashing | ||
14 | * the main data cache on page faults. | ||
15 | */ | ||
16 | #include <linux/init.h> | ||
17 | #include <linux/mm.h> | ||
18 | |||
19 | #include <asm/page.h> | ||
20 | #include <asm/pgtable.h> | ||
21 | #include <asm/tlbflush.h> | ||
22 | |||
23 | /* | ||
24 | * 0xffff8000 to 0xffffffff is reserved for any ARM architecture | ||
25 | * specific hacks for copying pages efficiently. | ||
26 | */ | ||
27 | #define COPYPAGE_MINICACHE 0xffff8000 | ||
28 | |||
29 | #define minicache_pgprot __pgprot(L_PTE_PRESENT | L_PTE_YOUNG | \ | ||
30 | L_PTE_CACHEABLE) | ||
31 | |||
32 | #define TOP_PTE(x) pte_offset_kernel(top_pmd, x) | ||
33 | |||
34 | static DEFINE_SPINLOCK(minicache_lock); | ||
35 | |||
36 | /* | ||
37 | * XScale mini-dcache optimised copy_user_page | ||
38 | * | ||
39 | * We flush the destination cache lines just before we write the data into the | ||
40 | * corresponding address. Since the Dcache is read-allocate, this removes the | ||
41 | * Dcache aliasing issue. The writes will be forwarded to the write buffer, | ||
42 | * and merged as appropriate. | ||
43 | */ | ||
44 | static void __attribute__((naked)) | ||
45 | mc_copy_user_page(void *from, void *to) | ||
46 | { | ||
47 | /* | ||
48 | * Strangely enough, best performance is achieved | ||
49 | * when prefetching destination as well. (NP) | ||
50 | */ | ||
51 | asm volatile( | ||
52 | "stmfd sp!, {r4, r5, lr} \n\ | ||
53 | mov lr, %2 \n\ | ||
54 | pld [r0, #0] \n\ | ||
55 | pld [r0, #32] \n\ | ||
56 | pld [r1, #0] \n\ | ||
57 | pld [r1, #32] \n\ | ||
58 | 1: pld [r0, #64] \n\ | ||
59 | pld [r0, #96] \n\ | ||
60 | pld [r1, #64] \n\ | ||
61 | pld [r1, #96] \n\ | ||
62 | 2: ldrd r2, [r0], #8 \n\ | ||
63 | ldrd r4, [r0], #8 \n\ | ||
64 | mov ip, r1 \n\ | ||
65 | strd r2, [r1], #8 \n\ | ||
66 | ldrd r2, [r0], #8 \n\ | ||
67 | strd r4, [r1], #8 \n\ | ||
68 | ldrd r4, [r0], #8 \n\ | ||
69 | strd r2, [r1], #8 \n\ | ||
70 | strd r4, [r1], #8 \n\ | ||
71 | mcr p15, 0, ip, c7, c10, 1 @ clean D line\n\ | ||
72 | ldrd r2, [r0], #8 \n\ | ||
73 | mcr p15, 0, ip, c7, c6, 1 @ invalidate D line\n\ | ||
74 | ldrd r4, [r0], #8 \n\ | ||
75 | mov ip, r1 \n\ | ||
76 | strd r2, [r1], #8 \n\ | ||
77 | ldrd r2, [r0], #8 \n\ | ||
78 | strd r4, [r1], #8 \n\ | ||
79 | ldrd r4, [r0], #8 \n\ | ||
80 | strd r2, [r1], #8 \n\ | ||
81 | strd r4, [r1], #8 \n\ | ||
82 | mcr p15, 0, ip, c7, c10, 1 @ clean D line\n\ | ||
83 | subs lr, lr, #1 \n\ | ||
84 | mcr p15, 0, ip, c7, c6, 1 @ invalidate D line\n\ | ||
85 | bgt 1b \n\ | ||
86 | beq 2b \n\ | ||
87 | ldmfd sp!, {r4, r5, pc} " | ||
88 | : | ||
89 | : "r" (from), "r" (to), "I" (PAGE_SIZE / 64 - 1)); | ||
90 | } | ||
91 | |||
92 | void xscale_mc_copy_user_page(void *kto, const void *kfrom, unsigned long vaddr) | ||
93 | { | ||
94 | spin_lock(&minicache_lock); | ||
95 | |||
96 | set_pte(TOP_PTE(COPYPAGE_MINICACHE), pfn_pte(__pa(kfrom) >> PAGE_SHIFT, minicache_pgprot)); | ||
97 | flush_tlb_kernel_page(COPYPAGE_MINICACHE); | ||
98 | |||
99 | mc_copy_user_page((void *)COPYPAGE_MINICACHE, kto); | ||
100 | |||
101 | spin_unlock(&minicache_lock); | ||
102 | } | ||
103 | |||
104 | /* | ||
105 | * XScale optimised clear_user_page | ||
106 | */ | ||
107 | void __attribute__((naked)) | ||
108 | xscale_mc_clear_user_page(void *kaddr, unsigned long vaddr) | ||
109 | { | ||
110 | asm volatile( | ||
111 | "mov r1, %0 \n\ | ||
112 | mov r2, #0 \n\ | ||
113 | mov r3, #0 \n\ | ||
114 | 1: mov ip, r0 \n\ | ||
115 | strd r2, [r0], #8 \n\ | ||
116 | strd r2, [r0], #8 \n\ | ||
117 | strd r2, [r0], #8 \n\ | ||
118 | strd r2, [r0], #8 \n\ | ||
119 | mcr p15, 0, ip, c7, c10, 1 @ clean D line\n\ | ||
120 | subs r1, r1, #1 \n\ | ||
121 | mcr p15, 0, ip, c7, c6, 1 @ invalidate D line\n\ | ||
122 | bne 1b \n\ | ||
123 | mov pc, lr" | ||
124 | : | ||
125 | : "I" (PAGE_SIZE / 32)); | ||
126 | } | ||
127 | |||
128 | struct cpu_user_fns xscale_mc_user_fns __initdata = { | ||
129 | .cpu_clear_user_page = xscale_mc_clear_user_page, | ||
130 | .cpu_copy_user_page = xscale_mc_copy_user_page, | ||
131 | }; | ||
diff --git a/arch/arm/mm/minicache.c b/arch/arm/mm/minicache.c deleted file mode 100644 index dedf2ab01b2a..000000000000 --- a/arch/arm/mm/minicache.c +++ /dev/null | |||
@@ -1,73 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mm/minicache.c | ||
3 | * | ||
4 | * Copyright (C) 2001 Russell King | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * This handles the mini data cache, as found on SA11x0 and XScale | ||
11 | * processors. When we copy a user page page, we map it in such a way | ||
12 | * that accesses to this page will not touch the main data cache, but | ||
13 | * will be cached in the mini data cache. This prevents us thrashing | ||
14 | * the main data cache on page faults. | ||
15 | */ | ||
16 | #include <linux/init.h> | ||
17 | #include <linux/mm.h> | ||
18 | |||
19 | #include <asm/page.h> | ||
20 | #include <asm/pgtable.h> | ||
21 | #include <asm/tlbflush.h> | ||
22 | |||
23 | /* | ||
24 | * 0xffff8000 to 0xffffffff is reserved for any ARM architecture | ||
25 | * specific hacks for copying pages efficiently. | ||
26 | */ | ||
27 | #define minicache_address (0xffff8000) | ||
28 | #define minicache_pgprot __pgprot(L_PTE_PRESENT | L_PTE_YOUNG | \ | ||
29 | L_PTE_CACHEABLE) | ||
30 | |||
31 | static pte_t *minicache_pte; | ||
32 | |||
33 | /* | ||
34 | * Note that this is intended to be called only from the copy_user_page | ||
35 | * asm code; anything else will require special locking to prevent the | ||
36 | * mini-cache space being re-used. (Note: probably preempt unsafe). | ||
37 | * | ||
38 | * We rely on the fact that the minicache is 2K, and we'll be pushing | ||
39 | * 4K of data through it, so we don't actually have to specifically | ||
40 | * flush the minicache when we change the mapping. | ||
41 | * | ||
42 | * Note also: assert(PAGE_OFFSET <= virt < high_memory). | ||
43 | * Unsafe: preempt, kmap. | ||
44 | */ | ||
45 | unsigned long map_page_minicache(unsigned long virt) | ||
46 | { | ||
47 | set_pte(minicache_pte, pfn_pte(__pa(virt) >> PAGE_SHIFT, minicache_pgprot)); | ||
48 | flush_tlb_kernel_page(minicache_address); | ||
49 | |||
50 | return minicache_address; | ||
51 | } | ||
52 | |||
53 | static int __init minicache_init(void) | ||
54 | { | ||
55 | pgd_t *pgd; | ||
56 | pmd_t *pmd; | ||
57 | |||
58 | spin_lock(&init_mm.page_table_lock); | ||
59 | |||
60 | pgd = pgd_offset_k(minicache_address); | ||
61 | pmd = pmd_alloc(&init_mm, pgd, minicache_address); | ||
62 | if (!pmd) | ||
63 | BUG(); | ||
64 | minicache_pte = pte_alloc_kernel(&init_mm, pmd, minicache_address); | ||
65 | if (!minicache_pte) | ||
66 | BUG(); | ||
67 | |||
68 | spin_unlock(&init_mm.page_table_lock); | ||
69 | |||
70 | return 0; | ||
71 | } | ||
72 | |||
73 | core_initcall(minicache_init); | ||
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile index 0fbcfe00dd8d..51ecd512603d 100644 --- a/arch/i386/kernel/Makefile +++ b/arch/i386/kernel/Makefile | |||
@@ -43,7 +43,7 @@ obj-$(CONFIG_SCx200) += scx200.o | |||
43 | # Note: kbuild does not track this dependency due to usage of .incbin | 43 | # Note: kbuild does not track this dependency due to usage of .incbin |
44 | $(obj)/vsyscall.o: $(obj)/vsyscall-int80.so $(obj)/vsyscall-sysenter.so | 44 | $(obj)/vsyscall.o: $(obj)/vsyscall-int80.so $(obj)/vsyscall-sysenter.so |
45 | targets += $(foreach F,int80 sysenter,vsyscall-$F.o vsyscall-$F.so) | 45 | targets += $(foreach F,int80 sysenter,vsyscall-$F.o vsyscall-$F.so) |
46 | targets += vsyscall.lds | 46 | targets += vsyscall-note.o vsyscall.lds |
47 | 47 | ||
48 | # The DSO images are built using a special linker script. | 48 | # The DSO images are built using a special linker script. |
49 | quiet_cmd_syscall = SYSCALL $@ | 49 | quiet_cmd_syscall = SYSCALL $@ |
diff --git a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c index 45641a872550..0ff65abcd56c 100644 --- a/arch/i386/kernel/apm.c +++ b/arch/i386/kernel/apm.c | |||
@@ -1222,6 +1222,7 @@ static int suspend(int vetoable) | |||
1222 | 1222 | ||
1223 | save_processor_state(); | 1223 | save_processor_state(); |
1224 | err = set_system_power_state(APM_STATE_SUSPEND); | 1224 | err = set_system_power_state(APM_STATE_SUSPEND); |
1225 | ignore_normal_resume = 1; | ||
1225 | restore_processor_state(); | 1226 | restore_processor_state(); |
1226 | 1227 | ||
1227 | local_irq_disable(); | 1228 | local_irq_disable(); |
@@ -1229,7 +1230,6 @@ static int suspend(int vetoable) | |||
1229 | spin_lock(&i8253_lock); | 1230 | spin_lock(&i8253_lock); |
1230 | reinit_timer(); | 1231 | reinit_timer(); |
1231 | set_time(); | 1232 | set_time(); |
1232 | ignore_normal_resume = 1; | ||
1233 | 1233 | ||
1234 | spin_unlock(&i8253_lock); | 1234 | spin_unlock(&i8253_lock); |
1235 | write_sequnlock(&xtime_lock); | 1235 | write_sequnlock(&xtime_lock); |
diff --git a/arch/ia64/kernel/fsys.S b/arch/ia64/kernel/fsys.S index 4f3cdef75797..962b6c4e32b5 100644 --- a/arch/ia64/kernel/fsys.S +++ b/arch/ia64/kernel/fsys.S | |||
@@ -460,9 +460,9 @@ EX(.fail_efault, ld8 r14=[r33]) // r14 <- *set | |||
460 | ;; | 460 | ;; |
461 | 461 | ||
462 | st8 [r2]=r14 // update current->blocked with new mask | 462 | st8 [r2]=r14 // update current->blocked with new mask |
463 | cmpxchg4.acq r14=[r9],r18,ar.ccv // current->thread_info->flags <- r18 | 463 | cmpxchg4.acq r8=[r9],r18,ar.ccv // current->thread_info->flags <- r18 |
464 | ;; | 464 | ;; |
465 | cmp.ne p6,p0=r17,r14 // update failed? | 465 | cmp.ne p6,p0=r17,r8 // update failed? |
466 | (p6) br.cond.spnt.few 1b // yes -> retry | 466 | (p6) br.cond.spnt.few 1b // yes -> retry |
467 | 467 | ||
468 | #ifdef CONFIG_SMP | 468 | #ifdef CONFIG_SMP |
diff --git a/arch/ia64/kernel/module.c b/arch/ia64/kernel/module.c index febc091c2f02..f1aca7cffd12 100644 --- a/arch/ia64/kernel/module.c +++ b/arch/ia64/kernel/module.c | |||
@@ -825,14 +825,16 @@ apply_relocate_add (Elf64_Shdr *sechdrs, const char *strtab, unsigned int symind | |||
825 | * XXX Should have an arch-hook for running this after final section | 825 | * XXX Should have an arch-hook for running this after final section |
826 | * addresses have been selected... | 826 | * addresses have been selected... |
827 | */ | 827 | */ |
828 | /* See if gp can cover the entire core module: */ | 828 | uint64_t gp; |
829 | uint64_t gp = (uint64_t) mod->module_core + MAX_LTOFF / 2; | 829 | if (mod->core_size > MAX_LTOFF) |
830 | if (mod->core_size >= MAX_LTOFF) | ||
831 | /* | 830 | /* |
832 | * This takes advantage of fact that SHF_ARCH_SMALL gets allocated | 831 | * This takes advantage of fact that SHF_ARCH_SMALL gets allocated |
833 | * at the end of the module. | 832 | * at the end of the module. |
834 | */ | 833 | */ |
835 | gp = (uint64_t) mod->module_core + mod->core_size - MAX_LTOFF / 2; | 834 | gp = mod->core_size - MAX_LTOFF / 2; |
835 | else | ||
836 | gp = mod->core_size / 2; | ||
837 | gp = (uint64_t) mod->module_core + ((gp + 7) & -8); | ||
836 | mod->arch.gp = gp; | 838 | mod->arch.gp = gp; |
837 | DEBUGP("%s: placing gp at 0x%lx\n", __FUNCTION__, gp); | 839 | DEBUGP("%s: placing gp at 0x%lx\n", __FUNCTION__, gp); |
838 | } | 840 | } |
diff --git a/arch/ia64/kernel/ptrace.c b/arch/ia64/kernel/ptrace.c index 08c8a5eb25ab..575a8f657b31 100644 --- a/arch/ia64/kernel/ptrace.c +++ b/arch/ia64/kernel/ptrace.c | |||
@@ -635,11 +635,17 @@ ia64_flush_fph (struct task_struct *task) | |||
635 | { | 635 | { |
636 | struct ia64_psr *psr = ia64_psr(ia64_task_regs(task)); | 636 | struct ia64_psr *psr = ia64_psr(ia64_task_regs(task)); |
637 | 637 | ||
638 | /* | ||
639 | * Prevent migrating this task while | ||
640 | * we're fiddling with the FPU state | ||
641 | */ | ||
642 | preempt_disable(); | ||
638 | if (ia64_is_local_fpu_owner(task) && psr->mfh) { | 643 | if (ia64_is_local_fpu_owner(task) && psr->mfh) { |
639 | psr->mfh = 0; | 644 | psr->mfh = 0; |
640 | task->thread.flags |= IA64_THREAD_FPH_VALID; | 645 | task->thread.flags |= IA64_THREAD_FPH_VALID; |
641 | ia64_save_fpu(&task->thread.fph[0]); | 646 | ia64_save_fpu(&task->thread.fph[0]); |
642 | } | 647 | } |
648 | preempt_enable(); | ||
643 | } | 649 | } |
644 | 650 | ||
645 | /* | 651 | /* |
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index b7e6b4cb374b..d14692e0920a 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c | |||
@@ -720,7 +720,8 @@ cpu_init (void) | |||
720 | ia64_set_kr(IA64_KR_PT_BASE, __pa(ia64_imva(empty_zero_page))); | 720 | ia64_set_kr(IA64_KR_PT_BASE, __pa(ia64_imva(empty_zero_page))); |
721 | 721 | ||
722 | /* | 722 | /* |
723 | * Initialize default control register to defer all speculative faults. The | 723 | * Initialize default control register to defer speculative faults except |
724 | * for those arising from TLB misses, which are not deferred. The | ||
724 | * kernel MUST NOT depend on a particular setting of these bits (in other words, | 725 | * kernel MUST NOT depend on a particular setting of these bits (in other words, |
725 | * the kernel must have recovery code for all speculative accesses). Turn on | 726 | * the kernel must have recovery code for all speculative accesses). Turn on |
726 | * dcr.lc as per recommendation by the architecture team. Most IA-32 apps | 727 | * dcr.lc as per recommendation by the architecture team. Most IA-32 apps |
diff --git a/arch/ia64/kernel/traps.c b/arch/ia64/kernel/traps.c index e82ad78081b3..1861173bd4f6 100644 --- a/arch/ia64/kernel/traps.c +++ b/arch/ia64/kernel/traps.c | |||
@@ -111,6 +111,24 @@ ia64_bad_break (unsigned long break_num, struct pt_regs *regs) | |||
111 | siginfo_t siginfo; | 111 | siginfo_t siginfo; |
112 | int sig, code; | 112 | int sig, code; |
113 | 113 | ||
114 | /* break.b always sets cr.iim to 0, which causes problems for | ||
115 | * debuggers. Get the real break number from the original instruction, | ||
116 | * but only for kernel code. User space break.b is left alone, to | ||
117 | * preserve the existing behaviour. All break codings have the same | ||
118 | * format, so there is no need to check the slot type. | ||
119 | */ | ||
120 | if (break_num == 0 && !user_mode(regs)) { | ||
121 | struct ia64_psr *ipsr = ia64_psr(regs); | ||
122 | unsigned long *bundle = (unsigned long *)regs->cr_iip; | ||
123 | unsigned long slot; | ||
124 | switch (ipsr->ri) { | ||
125 | case 0: slot = (bundle[0] >> 5); break; | ||
126 | case 1: slot = (bundle[0] >> 46) | (bundle[1] << 18); break; | ||
127 | default: slot = (bundle[1] >> 23); break; | ||
128 | } | ||
129 | break_num = ((slot >> 36 & 1) << 20) | (slot >> 6 & 0xfffff); | ||
130 | } | ||
131 | |||
114 | /* SIGILL, SIGFPE, SIGSEGV, and SIGBUS want these field initialized: */ | 132 | /* SIGILL, SIGFPE, SIGSEGV, and SIGBUS want these field initialized: */ |
115 | siginfo.si_addr = (void __user *) (regs->cr_iip + ia64_psr(regs)->ri); | 133 | siginfo.si_addr = (void __user *) (regs->cr_iip + ia64_psr(regs)->ri); |
116 | siginfo.si_imm = break_num; | 134 | siginfo.si_imm = break_num; |
@@ -202,13 +220,21 @@ disabled_fph_fault (struct pt_regs *regs) | |||
202 | 220 | ||
203 | /* first, grant user-level access to fph partition: */ | 221 | /* first, grant user-level access to fph partition: */ |
204 | psr->dfh = 0; | 222 | psr->dfh = 0; |
223 | |||
224 | /* | ||
225 | * Make sure that no other task gets in on this processor | ||
226 | * while we're claiming the FPU | ||
227 | */ | ||
228 | preempt_disable(); | ||
205 | #ifndef CONFIG_SMP | 229 | #ifndef CONFIG_SMP |
206 | { | 230 | { |
207 | struct task_struct *fpu_owner | 231 | struct task_struct *fpu_owner |
208 | = (struct task_struct *)ia64_get_kr(IA64_KR_FPU_OWNER); | 232 | = (struct task_struct *)ia64_get_kr(IA64_KR_FPU_OWNER); |
209 | 233 | ||
210 | if (ia64_is_local_fpu_owner(current)) | 234 | if (ia64_is_local_fpu_owner(current)) { |
235 | preempt_enable_no_resched(); | ||
211 | return; | 236 | return; |
237 | } | ||
212 | 238 | ||
213 | if (fpu_owner) | 239 | if (fpu_owner) |
214 | ia64_flush_fph(fpu_owner); | 240 | ia64_flush_fph(fpu_owner); |
@@ -226,6 +252,7 @@ disabled_fph_fault (struct pt_regs *regs) | |||
226 | */ | 252 | */ |
227 | psr->mfh = 1; | 253 | psr->mfh = 1; |
228 | } | 254 | } |
255 | preempt_enable_no_resched(); | ||
229 | } | 256 | } |
230 | 257 | ||
231 | static inline int | 258 | static inline int |
diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c index 547785e3cba2..4eb2f52b87a1 100644 --- a/arch/ia64/mm/init.c +++ b/arch/ia64/mm/init.c | |||
@@ -305,8 +305,9 @@ setup_gate (void) | |||
305 | struct page *page; | 305 | struct page *page; |
306 | 306 | ||
307 | /* | 307 | /* |
308 | * Map the gate page twice: once read-only to export the ELF headers etc. and once | 308 | * Map the gate page twice: once read-only to export the ELF |
309 | * execute-only page to enable privilege-promotion via "epc": | 309 | * headers etc. and once execute-only page to enable |
310 | * privilege-promotion via "epc": | ||
310 | */ | 311 | */ |
311 | page = virt_to_page(ia64_imva(__start_gate_section)); | 312 | page = virt_to_page(ia64_imva(__start_gate_section)); |
312 | put_kernel_page(page, GATE_ADDR, PAGE_READONLY); | 313 | put_kernel_page(page, GATE_ADDR, PAGE_READONLY); |
@@ -315,6 +316,20 @@ setup_gate (void) | |||
315 | put_kernel_page(page, GATE_ADDR + PAGE_SIZE, PAGE_GATE); | 316 | put_kernel_page(page, GATE_ADDR + PAGE_SIZE, PAGE_GATE); |
316 | #else | 317 | #else |
317 | put_kernel_page(page, GATE_ADDR + PERCPU_PAGE_SIZE, PAGE_GATE); | 318 | put_kernel_page(page, GATE_ADDR + PERCPU_PAGE_SIZE, PAGE_GATE); |
319 | /* Fill in the holes (if any) with read-only zero pages: */ | ||
320 | { | ||
321 | unsigned long addr; | ||
322 | |||
323 | for (addr = GATE_ADDR + PAGE_SIZE; | ||
324 | addr < GATE_ADDR + PERCPU_PAGE_SIZE; | ||
325 | addr += PAGE_SIZE) | ||
326 | { | ||
327 | put_kernel_page(ZERO_PAGE(0), addr, | ||
328 | PAGE_READONLY); | ||
329 | put_kernel_page(ZERO_PAGE(0), addr + PERCPU_PAGE_SIZE, | ||
330 | PAGE_READONLY); | ||
331 | } | ||
332 | } | ||
318 | #endif | 333 | #endif |
319 | ia64_patch_gate(); | 334 | ia64_patch_gate(); |
320 | } | 335 | } |
diff --git a/arch/ia64/sn/kernel/setup.c b/arch/ia64/sn/kernel/setup.c index e64cb8175f7a..44bfc7f318cb 100644 --- a/arch/ia64/sn/kernel/setup.c +++ b/arch/ia64/sn/kernel/setup.c | |||
@@ -222,7 +222,7 @@ void __init early_sn_setup(void) | |||
222 | 222 | ||
223 | extern int platform_intr_list[]; | 223 | extern int platform_intr_list[]; |
224 | extern nasid_t master_nasid; | 224 | extern nasid_t master_nasid; |
225 | static int shub_1_1_found __initdata; | 225 | static int __initdata shub_1_1_found = 0; |
226 | 226 | ||
227 | /* | 227 | /* |
228 | * sn_check_for_wars | 228 | * sn_check_for_wars |
@@ -251,7 +251,7 @@ static void __init sn_check_for_wars(void) | |||
251 | } else { | 251 | } else { |
252 | for_each_online_node(cnode) { | 252 | for_each_online_node(cnode) { |
253 | if (is_shub_1_1(cnodeid_to_nasid(cnode))) | 253 | if (is_shub_1_1(cnodeid_to_nasid(cnode))) |
254 | sn_hub_info->shub_1_1_found = 1; | 254 | shub_1_1_found = 1; |
255 | } | 255 | } |
256 | } | 256 | } |
257 | } | 257 | } |
diff --git a/arch/m68k/configs/amiga_defconfig b/arch/m68k/configs/amiga_defconfig index 7dbf997ff205..5649fbae430e 100644 --- a/arch/m68k/configs/amiga_defconfig +++ b/arch/m68k/configs/amiga_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc2-m68k | 3 | # Linux kernel version: 2.6.12-rc6-m68k |
4 | # Tue Apr 5 14:05:59 2005 | 4 | # Tue Jun 7 20:34:23 2005 |
5 | # | 5 | # |
6 | CONFIG_M68K=y | 6 | CONFIG_M68K=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -35,6 +35,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
35 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
36 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
38 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
39 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
40 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -135,7 +137,6 @@ CONFIG_PARPORT_1284=y | |||
135 | # | 137 | # |
136 | CONFIG_AMIGA_FLOPPY=y | 138 | CONFIG_AMIGA_FLOPPY=y |
137 | CONFIG_AMIGA_Z2RAM=y | 139 | CONFIG_AMIGA_Z2RAM=y |
138 | # CONFIG_BLK_DEV_XD is not set | ||
139 | # CONFIG_PARIDE is not set | 140 | # CONFIG_PARIDE is not set |
140 | # CONFIG_BLK_DEV_COW_COMMON is not set | 141 | # CONFIG_BLK_DEV_COW_COMMON is not set |
141 | CONFIG_BLK_DEV_LOOP=y | 142 | CONFIG_BLK_DEV_LOOP=y |
@@ -223,17 +224,12 @@ CONFIG_SCSI_CONSTANTS=y | |||
223 | # | 224 | # |
224 | # SCSI low-level drivers | 225 | # SCSI low-level drivers |
225 | # | 226 | # |
226 | # CONFIG_SCSI_7000FASST is not set | ||
227 | # CONFIG_SCSI_AHA152X is not set | 227 | # CONFIG_SCSI_AHA152X is not set |
228 | # CONFIG_SCSI_AHA1542 is not set | ||
229 | # CONFIG_SCSI_AIC7XXX_OLD is not set | 228 | # CONFIG_SCSI_AIC7XXX_OLD is not set |
230 | # CONFIG_SCSI_IN2000 is not set | 229 | # CONFIG_SCSI_IN2000 is not set |
231 | # CONFIG_SCSI_SATA is not set | 230 | # CONFIG_SCSI_SATA is not set |
232 | # CONFIG_SCSI_BUSLOGIC is not set | ||
233 | # CONFIG_SCSI_DTC3280 is not set | 231 | # CONFIG_SCSI_DTC3280 is not set |
234 | # CONFIG_SCSI_EATA is not set | ||
235 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | 232 | # CONFIG_SCSI_FUTURE_DOMAIN is not set |
236 | # CONFIG_SCSI_GDTH is not set | ||
237 | # CONFIG_SCSI_GENERIC_NCR5380 is not set | 233 | # CONFIG_SCSI_GENERIC_NCR5380 is not set |
238 | # CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set | 234 | # CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set |
239 | # CONFIG_SCSI_PPA is not set | 235 | # CONFIG_SCSI_PPA is not set |
@@ -244,7 +240,6 @@ CONFIG_SCSI_CONSTANTS=y | |||
244 | # CONFIG_SCSI_QLOGIC_FAS is not set | 240 | # CONFIG_SCSI_QLOGIC_FAS is not set |
245 | # CONFIG_SCSI_SYM53C416 is not set | 241 | # CONFIG_SCSI_SYM53C416 is not set |
246 | # CONFIG_SCSI_T128 is not set | 242 | # CONFIG_SCSI_T128 is not set |
247 | # CONFIG_SCSI_U14_34F is not set | ||
248 | # CONFIG_SCSI_DEBUG is not set | 243 | # CONFIG_SCSI_DEBUG is not set |
249 | CONFIG_A3000_SCSI=y | 244 | CONFIG_A3000_SCSI=y |
250 | CONFIG_A2091_SCSI=y | 245 | CONFIG_A2091_SCSI=y |
@@ -492,7 +487,6 @@ CONFIG_HYDRA=m | |||
492 | CONFIG_ZORRO8390=m | 487 | CONFIG_ZORRO8390=m |
493 | CONFIG_APNE=m | 488 | CONFIG_APNE=m |
494 | # CONFIG_NET_VENDOR_3COM is not set | 489 | # CONFIG_NET_VENDOR_3COM is not set |
495 | # CONFIG_LANCE is not set | ||
496 | # CONFIG_NET_VENDOR_SMC is not set | 490 | # CONFIG_NET_VENDOR_SMC is not set |
497 | # CONFIG_NET_VENDOR_RACAL is not set | 491 | # CONFIG_NET_VENDOR_RACAL is not set |
498 | # CONFIG_AT1700 is not set | 492 | # CONFIG_AT1700 is not set |
@@ -620,7 +614,6 @@ CONFIG_SERIO_SERPORT=m | |||
620 | # CONFIG_SERIO_PARKBD is not set | 614 | # CONFIG_SERIO_PARKBD is not set |
621 | # CONFIG_SERIO_RAW is not set | 615 | # CONFIG_SERIO_RAW is not set |
622 | # CONFIG_GAMEPORT is not set | 616 | # CONFIG_GAMEPORT is not set |
623 | CONFIG_SOUND_GAMEPORT=y | ||
624 | 617 | ||
625 | # | 618 | # |
626 | # Character devices | 619 | # Character devices |
diff --git a/arch/m68k/configs/apollo_defconfig b/arch/m68k/configs/apollo_defconfig index 505a2968e604..63024b0b7ac3 100644 --- a/arch/m68k/configs/apollo_defconfig +++ b/arch/m68k/configs/apollo_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc2-m68k | 3 | # Linux kernel version: 2.6.12-rc6-m68k |
4 | # Tue Apr 5 14:06:00 2005 | 4 | # Tue Jun 7 20:34:27 2005 |
5 | # | 5 | # |
6 | CONFIG_M68K=y | 6 | CONFIG_M68K=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -35,6 +35,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
35 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
36 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
38 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
39 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
40 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -497,7 +499,6 @@ CONFIG_SERIO_SERPORT=m | |||
497 | CONFIG_SERIO_LIBPS2=m | 499 | CONFIG_SERIO_LIBPS2=m |
498 | # CONFIG_SERIO_RAW is not set | 500 | # CONFIG_SERIO_RAW is not set |
499 | # CONFIG_GAMEPORT is not set | 501 | # CONFIG_GAMEPORT is not set |
500 | CONFIG_SOUND_GAMEPORT=y | ||
501 | 502 | ||
502 | # | 503 | # |
503 | # Character devices | 504 | # Character devices |
diff --git a/arch/m68k/configs/atari_defconfig b/arch/m68k/configs/atari_defconfig index 617aa73c3250..6433da2d2ce2 100644 --- a/arch/m68k/configs/atari_defconfig +++ b/arch/m68k/configs/atari_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc2-m68k | 3 | # Linux kernel version: 2.6.12-rc6-m68k |
4 | # Tue Apr 5 14:06:18 2005 | 4 | # Tue Jun 7 20:34:32 2005 |
5 | # | 5 | # |
6 | CONFIG_M68K=y | 6 | CONFIG_M68K=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -35,6 +35,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
35 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
36 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
38 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
39 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
40 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -531,7 +533,6 @@ CONFIG_SERIO_SERPORT=y | |||
531 | CONFIG_SERIO_LIBPS2=y | 533 | CONFIG_SERIO_LIBPS2=y |
532 | # CONFIG_SERIO_RAW is not set | 534 | # CONFIG_SERIO_RAW is not set |
533 | # CONFIG_GAMEPORT is not set | 535 | # CONFIG_GAMEPORT is not set |
534 | CONFIG_SOUND_GAMEPORT=y | ||
535 | 536 | ||
536 | # | 537 | # |
537 | # Character devices | 538 | # Character devices |
diff --git a/arch/m68k/configs/bvme6000_defconfig b/arch/m68k/configs/bvme6000_defconfig index b501db51d9ec..da2a23a21463 100644 --- a/arch/m68k/configs/bvme6000_defconfig +++ b/arch/m68k/configs/bvme6000_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc2-m68k | 3 | # Linux kernel version: 2.6.12-rc6-m68k |
4 | # Tue Apr 5 14:06:19 2005 | 4 | # Tue Jun 7 20:34:37 2005 |
5 | # | 5 | # |
6 | CONFIG_M68K=y | 6 | CONFIG_M68K=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -35,6 +35,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
35 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
36 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
38 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
39 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
40 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -496,7 +498,6 @@ CONFIG_SERIO_SERPORT=m | |||
496 | CONFIG_SERIO_LIBPS2=m | 498 | CONFIG_SERIO_LIBPS2=m |
497 | # CONFIG_SERIO_RAW is not set | 499 | # CONFIG_SERIO_RAW is not set |
498 | # CONFIG_GAMEPORT is not set | 500 | # CONFIG_GAMEPORT is not set |
499 | CONFIG_SOUND_GAMEPORT=y | ||
500 | 501 | ||
501 | # | 502 | # |
502 | # Character devices | 503 | # Character devices |
diff --git a/arch/m68k/configs/hp300_defconfig b/arch/m68k/configs/hp300_defconfig index 2bf6cef4f2b2..51251883adf8 100644 --- a/arch/m68k/configs/hp300_defconfig +++ b/arch/m68k/configs/hp300_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc2-m68k | 3 | # Linux kernel version: 2.6.12-rc6-m68k |
4 | # Tue Apr 5 14:06:21 2005 | 4 | # Tue Jun 7 20:34:41 2005 |
5 | # | 5 | # |
6 | CONFIG_M68K=y | 6 | CONFIG_M68K=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -35,6 +35,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
35 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
36 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
38 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
39 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
40 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -498,7 +500,6 @@ CONFIG_SERIO_SERPORT=m | |||
498 | CONFIG_SERIO_LIBPS2=m | 500 | CONFIG_SERIO_LIBPS2=m |
499 | # CONFIG_SERIO_RAW is not set | 501 | # CONFIG_SERIO_RAW is not set |
500 | # CONFIG_GAMEPORT is not set | 502 | # CONFIG_GAMEPORT is not set |
501 | CONFIG_SOUND_GAMEPORT=y | ||
502 | 503 | ||
503 | # | 504 | # |
504 | # Character devices | 505 | # Character devices |
diff --git a/arch/m68k/configs/mac_defconfig b/arch/m68k/configs/mac_defconfig index 7074f856820c..15b80abfe94a 100644 --- a/arch/m68k/configs/mac_defconfig +++ b/arch/m68k/configs/mac_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc2-m68k | 3 | # Linux kernel version: 2.6.12-rc6-m68k |
4 | # Tue Apr 5 14:06:24 2005 | 4 | # Tue Jun 7 20:34:45 2005 |
5 | # | 5 | # |
6 | CONFIG_M68K=y | 6 | CONFIG_M68K=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -35,6 +35,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
35 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
36 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
38 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
39 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
40 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -540,7 +542,6 @@ CONFIG_SERIO_SERPORT=m | |||
540 | CONFIG_SERIO_LIBPS2=m | 542 | CONFIG_SERIO_LIBPS2=m |
541 | # CONFIG_SERIO_RAW is not set | 543 | # CONFIG_SERIO_RAW is not set |
542 | # CONFIG_GAMEPORT is not set | 544 | # CONFIG_GAMEPORT is not set |
543 | CONFIG_SOUND_GAMEPORT=y | ||
544 | 545 | ||
545 | # | 546 | # |
546 | # Character devices | 547 | # Character devices |
diff --git a/arch/m68k/configs/mvme147_defconfig b/arch/m68k/configs/mvme147_defconfig index 61f09bc4846a..f0d5534f6830 100644 --- a/arch/m68k/configs/mvme147_defconfig +++ b/arch/m68k/configs/mvme147_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc2-m68k | 3 | # Linux kernel version: 2.6.12-rc6-m68k |
4 | # Tue Apr 5 14:06:28 2005 | 4 | # Tue Jun 7 20:34:50 2005 |
5 | # | 5 | # |
6 | CONFIG_M68K=y | 6 | CONFIG_M68K=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -35,6 +35,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
35 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
36 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
38 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
39 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
40 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -498,7 +500,6 @@ CONFIG_SERIO_SERPORT=m | |||
498 | CONFIG_SERIO_LIBPS2=m | 500 | CONFIG_SERIO_LIBPS2=m |
499 | # CONFIG_SERIO_RAW is not set | 501 | # CONFIG_SERIO_RAW is not set |
500 | # CONFIG_GAMEPORT is not set | 502 | # CONFIG_GAMEPORT is not set |
501 | CONFIG_SOUND_GAMEPORT=y | ||
502 | 503 | ||
503 | # | 504 | # |
504 | # Character devices | 505 | # Character devices |
diff --git a/arch/m68k/configs/mvme16x_defconfig b/arch/m68k/configs/mvme16x_defconfig index 69c01004ec41..1d5c46ff3c81 100644 --- a/arch/m68k/configs/mvme16x_defconfig +++ b/arch/m68k/configs/mvme16x_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc2-m68k | 3 | # Linux kernel version: 2.6.12-rc6-m68k |
4 | # Tue Apr 5 14:06:31 2005 | 4 | # Tue Jun 7 20:34:53 2005 |
5 | # | 5 | # |
6 | CONFIG_M68K=y | 6 | CONFIG_M68K=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -35,6 +35,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
35 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
36 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
38 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
39 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
40 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -497,7 +499,6 @@ CONFIG_SERIO_SERPORT=m | |||
497 | CONFIG_SERIO_LIBPS2=m | 499 | CONFIG_SERIO_LIBPS2=m |
498 | # CONFIG_SERIO_RAW is not set | 500 | # CONFIG_SERIO_RAW is not set |
499 | # CONFIG_GAMEPORT is not set | 501 | # CONFIG_GAMEPORT is not set |
500 | CONFIG_SOUND_GAMEPORT=y | ||
501 | 502 | ||
502 | # | 503 | # |
503 | # Character devices | 504 | # Character devices |
diff --git a/arch/m68k/configs/q40_defconfig b/arch/m68k/configs/q40_defconfig index 550ec26006c1..856238634d42 100644 --- a/arch/m68k/configs/q40_defconfig +++ b/arch/m68k/configs/q40_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc2-m68k | 3 | # Linux kernel version: 2.6.12-rc6-m68k |
4 | # Tue Apr 5 14:06:34 2005 | 4 | # Tue Jun 7 20:34:58 2005 |
5 | # | 5 | # |
6 | CONFIG_M68K=y | 6 | CONFIG_M68K=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -35,6 +35,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
35 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
36 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
38 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
39 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
40 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -125,7 +127,6 @@ CONFIG_FW_LOADER=m | |||
125 | # Block devices | 127 | # Block devices |
126 | # | 128 | # |
127 | # CONFIG_BLK_DEV_FD is not set | 129 | # CONFIG_BLK_DEV_FD is not set |
128 | # CONFIG_BLK_DEV_XD is not set | ||
129 | # CONFIG_BLK_DEV_COW_COMMON is not set | 130 | # CONFIG_BLK_DEV_COW_COMMON is not set |
130 | CONFIG_BLK_DEV_LOOP=y | 131 | CONFIG_BLK_DEV_LOOP=y |
131 | CONFIG_BLK_DEV_CRYPTOLOOP=m | 132 | CONFIG_BLK_DEV_CRYPTOLOOP=m |
@@ -210,17 +211,12 @@ CONFIG_SCSI_CONSTANTS=y | |||
210 | # | 211 | # |
211 | # SCSI low-level drivers | 212 | # SCSI low-level drivers |
212 | # | 213 | # |
213 | # CONFIG_SCSI_7000FASST is not set | ||
214 | # CONFIG_SCSI_AHA152X is not set | 214 | # CONFIG_SCSI_AHA152X is not set |
215 | # CONFIG_SCSI_AHA1542 is not set | ||
216 | # CONFIG_SCSI_AIC7XXX_OLD is not set | 215 | # CONFIG_SCSI_AIC7XXX_OLD is not set |
217 | # CONFIG_SCSI_IN2000 is not set | 216 | # CONFIG_SCSI_IN2000 is not set |
218 | # CONFIG_SCSI_SATA is not set | 217 | # CONFIG_SCSI_SATA is not set |
219 | # CONFIG_SCSI_BUSLOGIC is not set | ||
220 | # CONFIG_SCSI_DTC3280 is not set | 218 | # CONFIG_SCSI_DTC3280 is not set |
221 | # CONFIG_SCSI_EATA is not set | ||
222 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | 219 | # CONFIG_SCSI_FUTURE_DOMAIN is not set |
223 | # CONFIG_SCSI_GDTH is not set | ||
224 | # CONFIG_SCSI_GENERIC_NCR5380 is not set | 220 | # CONFIG_SCSI_GENERIC_NCR5380 is not set |
225 | # CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set | 221 | # CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set |
226 | # CONFIG_SCSI_NCR53C406A is not set | 222 | # CONFIG_SCSI_NCR53C406A is not set |
@@ -229,7 +225,6 @@ CONFIG_SCSI_CONSTANTS=y | |||
229 | # CONFIG_SCSI_QLOGIC_FAS is not set | 225 | # CONFIG_SCSI_QLOGIC_FAS is not set |
230 | # CONFIG_SCSI_SYM53C416 is not set | 226 | # CONFIG_SCSI_SYM53C416 is not set |
231 | # CONFIG_SCSI_T128 is not set | 227 | # CONFIG_SCSI_T128 is not set |
232 | # CONFIG_SCSI_U14_34F is not set | ||
233 | # CONFIG_SCSI_DEBUG is not set | 228 | # CONFIG_SCSI_DEBUG is not set |
234 | 229 | ||
235 | # | 230 | # |
@@ -466,7 +461,6 @@ CONFIG_EQUALIZER=m | |||
466 | CONFIG_NET_ETHERNET=y | 461 | CONFIG_NET_ETHERNET=y |
467 | CONFIG_MII=m | 462 | CONFIG_MII=m |
468 | # CONFIG_NET_VENDOR_3COM is not set | 463 | # CONFIG_NET_VENDOR_3COM is not set |
469 | # CONFIG_LANCE is not set | ||
470 | # CONFIG_NET_VENDOR_SMC is not set | 464 | # CONFIG_NET_VENDOR_SMC is not set |
471 | # CONFIG_NET_VENDOR_RACAL is not set | 465 | # CONFIG_NET_VENDOR_RACAL is not set |
472 | # CONFIG_AT1700 is not set | 466 | # CONFIG_AT1700 is not set |
@@ -570,7 +564,6 @@ CONFIG_SERIO_Q40KBD=m | |||
570 | CONFIG_SERIO_LIBPS2=m | 564 | CONFIG_SERIO_LIBPS2=m |
571 | # CONFIG_SERIO_RAW is not set | 565 | # CONFIG_SERIO_RAW is not set |
572 | # CONFIG_GAMEPORT is not set | 566 | # CONFIG_GAMEPORT is not set |
573 | CONFIG_SOUND_GAMEPORT=y | ||
574 | 567 | ||
575 | # | 568 | # |
576 | # Character devices | 569 | # Character devices |
diff --git a/arch/m68k/configs/sun3_defconfig b/arch/m68k/configs/sun3_defconfig index 5b5a619645aa..af903b5c5708 100644 --- a/arch/m68k/configs/sun3_defconfig +++ b/arch/m68k/configs/sun3_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc2-m68k | 3 | # Linux kernel version: 2.6.12-rc6-m68k |
4 | # Tue Apr 5 14:06:37 2005 | 4 | # Tue Jun 7 20:35:02 2005 |
5 | # | 5 | # |
6 | CONFIG_M68K=y | 6 | CONFIG_M68K=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -35,6 +35,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
35 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
36 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
38 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
39 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
40 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -171,7 +173,6 @@ CONFIG_SCSI_CONSTANTS=y | |||
171 | # | 173 | # |
172 | # CONFIG_SCSI_SATA is not set | 174 | # CONFIG_SCSI_SATA is not set |
173 | # CONFIG_SCSI_DEBUG is not set | 175 | # CONFIG_SCSI_DEBUG is not set |
174 | CONFIG_SUN3_SCSI=y | ||
175 | 176 | ||
176 | # | 177 | # |
177 | # Multi-device support (RAID and LVM) | 178 | # Multi-device support (RAID and LVM) |
@@ -487,7 +488,6 @@ CONFIG_SERIO_SERPORT=m | |||
487 | CONFIG_SERIO_LIBPS2=m | 488 | CONFIG_SERIO_LIBPS2=m |
488 | # CONFIG_SERIO_RAW is not set | 489 | # CONFIG_SERIO_RAW is not set |
489 | # CONFIG_GAMEPORT is not set | 490 | # CONFIG_GAMEPORT is not set |
490 | CONFIG_SOUND_GAMEPORT=y | ||
491 | 491 | ||
492 | # | 492 | # |
493 | # Character devices | 493 | # Character devices |
diff --git a/arch/m68k/configs/sun3x_defconfig b/arch/m68k/configs/sun3x_defconfig index 704e42344cba..997143b7928a 100644 --- a/arch/m68k/configs/sun3x_defconfig +++ b/arch/m68k/configs/sun3x_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc2-m68k | 3 | # Linux kernel version: 2.6.12-rc6-m68k |
4 | # Tue Apr 5 14:06:40 2005 | 4 | # Tue Jun 7 20:35:06 2005 |
5 | # | 5 | # |
6 | CONFIG_M68K=y | 6 | CONFIG_M68K=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -35,6 +35,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
35 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
36 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
38 | CONFIG_BASE_FULL=y | 40 | CONFIG_BASE_FULL=y |
39 | CONFIG_FUTEX=y | 41 | CONFIG_FUTEX=y |
40 | CONFIG_EPOLL=y | 42 | CONFIG_EPOLL=y |
@@ -497,7 +499,6 @@ CONFIG_SERIO_SERPORT=m | |||
497 | CONFIG_SERIO_LIBPS2=m | 499 | CONFIG_SERIO_LIBPS2=m |
498 | # CONFIG_SERIO_RAW is not set | 500 | # CONFIG_SERIO_RAW is not set |
499 | # CONFIG_GAMEPORT is not set | 501 | # CONFIG_GAMEPORT is not set |
500 | CONFIG_SOUND_GAMEPORT=y | ||
501 | 502 | ||
502 | # | 503 | # |
503 | # Character devices | 504 | # Character devices |
diff --git a/arch/m68k/defconfig b/arch/m68k/defconfig index 5b2296ecba82..7d935e48a9a8 100644 --- a/arch/m68k/defconfig +++ b/arch/m68k/defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc2-m68k | 3 | # Linux kernel version: 2.6.12-rc6-m68k |
4 | # Tue Apr 5 14:05:31 2005 | 4 | # Tue Jun 7 20:34:17 2005 |
5 | # | 5 | # |
6 | CONFIG_M68K=y | 6 | CONFIG_M68K=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -33,6 +33,8 @@ CONFIG_KOBJECT_UEVENT=y | |||
33 | # CONFIG_EMBEDDED is not set | 33 | # CONFIG_EMBEDDED is not set |
34 | CONFIG_KALLSYMS=y | 34 | CONFIG_KALLSYMS=y |
35 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 35 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
36 | CONFIG_PRINTK=y | ||
37 | CONFIG_BUG=y | ||
36 | CONFIG_BASE_FULL=y | 38 | CONFIG_BASE_FULL=y |
37 | CONFIG_FUTEX=y | 39 | CONFIG_FUTEX=y |
38 | CONFIG_EPOLL=y | 40 | CONFIG_EPOLL=y |
@@ -355,7 +357,6 @@ CONFIG_SERIO_SERPORT=y | |||
355 | CONFIG_SERIO_LIBPS2=y | 357 | CONFIG_SERIO_LIBPS2=y |
356 | # CONFIG_SERIO_RAW is not set | 358 | # CONFIG_SERIO_RAW is not set |
357 | # CONFIG_GAMEPORT is not set | 359 | # CONFIG_GAMEPORT is not set |
358 | CONFIG_SOUND_GAMEPORT=y | ||
359 | 360 | ||
360 | # | 361 | # |
361 | # Character devices | 362 | # Character devices |
diff --git a/arch/ppc/kernel/cputable.c b/arch/ppc/kernel/cputable.c index 8aa5e8c69009..d44b7dc5390a 100644 --- a/arch/ppc/kernel/cputable.c +++ b/arch/ppc/kernel/cputable.c | |||
@@ -838,6 +838,17 @@ struct cpu_spec cpu_specs[] = { | |||
838 | .icache_bsize = 32, | 838 | .icache_bsize = 32, |
839 | .dcache_bsize = 32, | 839 | .dcache_bsize = 32, |
840 | }, | 840 | }, |
841 | { /* 405EP */ | ||
842 | .pvr_mask = 0xffff0000, | ||
843 | .pvr_value = 0x51210000, | ||
844 | .cpu_name = "405EP", | ||
845 | .cpu_features = CPU_FTR_SPLIT_ID_CACHE | | ||
846 | CPU_FTR_USE_TB, | ||
847 | .cpu_user_features = PPC_FEATURE_32 | | ||
848 | PPC_FEATURE_HAS_MMU | PPC_FEATURE_HAS_4xxMAC, | ||
849 | .icache_bsize = 32, | ||
850 | .dcache_bsize = 32, | ||
851 | }, | ||
841 | 852 | ||
842 | #endif /* CONFIG_40x */ | 853 | #endif /* CONFIG_40x */ |
843 | #ifdef CONFIG_44x | 854 | #ifdef CONFIG_44x |
diff --git a/arch/ppc/kernel/misc.S b/arch/ppc/kernel/misc.S index e4f1615ec13f..7329ef177a18 100644 --- a/arch/ppc/kernel/misc.S +++ b/arch/ppc/kernel/misc.S | |||
@@ -619,7 +619,7 @@ _GLOBAL(flush_instruction_cache) | |||
619 | _GLOBAL(flush_icache_range) | 619 | _GLOBAL(flush_icache_range) |
620 | BEGIN_FTR_SECTION | 620 | BEGIN_FTR_SECTION |
621 | blr /* for 601, do nothing */ | 621 | blr /* for 601, do nothing */ |
622 | END_FTR_SECTION_IFSET(PPC_FEATURE_UNIFIED_CACHE) | 622 | END_FTR_SECTION_IFCLR(CPU_FTR_SPLIT_ID_CACHE) |
623 | li r5,L1_CACHE_LINE_SIZE-1 | 623 | li r5,L1_CACHE_LINE_SIZE-1 |
624 | andc r3,r3,r5 | 624 | andc r3,r3,r5 |
625 | subf r4,r3,r4 | 625 | subf r4,r3,r4 |
@@ -736,7 +736,7 @@ _GLOBAL(flush_dcache_all) | |||
736 | _GLOBAL(__flush_dcache_icache) | 736 | _GLOBAL(__flush_dcache_icache) |
737 | BEGIN_FTR_SECTION | 737 | BEGIN_FTR_SECTION |
738 | blr /* for 601, do nothing */ | 738 | blr /* for 601, do nothing */ |
739 | END_FTR_SECTION_IFSET(PPC_FEATURE_UNIFIED_CACHE) | 739 | END_FTR_SECTION_IFCLR(CPU_FTR_SPLIT_ID_CACHE) |
740 | rlwinm r3,r3,0,0,19 /* Get page base address */ | 740 | rlwinm r3,r3,0,0,19 /* Get page base address */ |
741 | li r4,4096/L1_CACHE_LINE_SIZE /* Number of lines in a page */ | 741 | li r4,4096/L1_CACHE_LINE_SIZE /* Number of lines in a page */ |
742 | mtctr r4 | 742 | mtctr r4 |
@@ -764,7 +764,7 @@ END_FTR_SECTION_IFSET(PPC_FEATURE_UNIFIED_CACHE) | |||
764 | _GLOBAL(__flush_dcache_icache_phys) | 764 | _GLOBAL(__flush_dcache_icache_phys) |
765 | BEGIN_FTR_SECTION | 765 | BEGIN_FTR_SECTION |
766 | blr /* for 601, do nothing */ | 766 | blr /* for 601, do nothing */ |
767 | END_FTR_SECTION_IFSET(PPC_FEATURE_UNIFIED_CACHE) | 767 | END_FTR_SECTION_IFCLR(CPU_FTR_SPLIT_ID_CACHE) |
768 | mfmsr r10 | 768 | mfmsr r10 |
769 | rlwinm r0,r10,0,28,26 /* clear DR */ | 769 | rlwinm r0,r10,0,28,26 /* clear DR */ |
770 | mtmsr r0 | 770 | mtmsr r0 |
diff --git a/arch/ppc/platforms/pmac_cpufreq.c b/arch/ppc/platforms/pmac_cpufreq.c index 937f46df711e..5fdd4f607a40 100644 --- a/arch/ppc/platforms/pmac_cpufreq.c +++ b/arch/ppc/platforms/pmac_cpufreq.c | |||
@@ -83,7 +83,7 @@ static u32 frequency_gpio; | |||
83 | static u32 slew_done_gpio; | 83 | static u32 slew_done_gpio; |
84 | static int no_schedule; | 84 | static int no_schedule; |
85 | static int has_cpu_l2lve; | 85 | static int has_cpu_l2lve; |
86 | 86 | static int is_pmu_based; | |
87 | 87 | ||
88 | /* There are only two frequency states for each processor. Values | 88 | /* There are only two frequency states for each processor. Values |
89 | * are in kHz for the time being. | 89 | * are in kHz for the time being. |
@@ -463,7 +463,7 @@ static int __pmac pmac_cpufreq_suspend(struct cpufreq_policy *policy, u32 state) | |||
463 | */ | 463 | */ |
464 | no_schedule = 1; | 464 | no_schedule = 1; |
465 | sleep_freq = cur_freq; | 465 | sleep_freq = cur_freq; |
466 | if (cur_freq == low_freq) | 466 | if (cur_freq == low_freq && !is_pmu_based) |
467 | do_set_cpu_speed(CPUFREQ_HIGH, 0); | 467 | do_set_cpu_speed(CPUFREQ_HIGH, 0); |
468 | return 0; | 468 | return 0; |
469 | } | 469 | } |
@@ -588,6 +588,7 @@ static int __pmac pmac_cpufreq_init_MacRISC3(struct device_node *cpunode) | |||
588 | return 1; | 588 | return 1; |
589 | hi_freq = (*value) / 1000; | 589 | hi_freq = (*value) / 1000; |
590 | set_speed_proc = pmu_set_cpu_speed; | 590 | set_speed_proc = pmu_set_cpu_speed; |
591 | is_pmu_based = 1; | ||
591 | 592 | ||
592 | return 0; | 593 | return 0; |
593 | } | 594 | } |
@@ -692,6 +693,7 @@ static int __init pmac_cpufreq_setup(void) | |||
692 | hi_freq = cur_freq; | 693 | hi_freq = cur_freq; |
693 | low_freq = 400000; | 694 | low_freq = 400000; |
694 | set_speed_proc = pmu_set_cpu_speed; | 695 | set_speed_proc = pmu_set_cpu_speed; |
696 | is_pmu_based = 1; | ||
695 | } | 697 | } |
696 | /* Else check for TiPb 400 & 500 */ | 698 | /* Else check for TiPb 400 & 500 */ |
697 | else if (machine_is_compatible("PowerBook3,2")) { | 699 | else if (machine_is_compatible("PowerBook3,2")) { |
@@ -703,6 +705,7 @@ static int __init pmac_cpufreq_setup(void) | |||
703 | hi_freq = cur_freq; | 705 | hi_freq = cur_freq; |
704 | low_freq = 300000; | 706 | low_freq = 300000; |
705 | set_speed_proc = pmu_set_cpu_speed; | 707 | set_speed_proc = pmu_set_cpu_speed; |
708 | is_pmu_based = 1; | ||
706 | } | 709 | } |
707 | /* Else check for 750FX */ | 710 | /* Else check for 750FX */ |
708 | else if (PVR_VER(mfspr(SPRN_PVR)) == 0x7000) | 711 | else if (PVR_VER(mfspr(SPRN_PVR)) == 0x7000) |
diff --git a/arch/ppc64/boot/prom.c b/arch/ppc64/boot/prom.c index 7b607d1862cb..d5218b15824e 100644 --- a/arch/ppc64/boot/prom.c +++ b/arch/ppc64/boot/prom.c | |||
@@ -11,6 +11,23 @@ | |||
11 | #include <linux/string.h> | 11 | #include <linux/string.h> |
12 | #include <linux/ctype.h> | 12 | #include <linux/ctype.h> |
13 | 13 | ||
14 | extern __u32 __div64_32(unsigned long long *dividend, __u32 divisor); | ||
15 | |||
16 | /* The unnecessary pointer compare is there | ||
17 | * to check for type safety (n must be 64bit) | ||
18 | */ | ||
19 | # define do_div(n,base) ({ \ | ||
20 | __u32 __base = (base); \ | ||
21 | __u32 __rem; \ | ||
22 | (void)(((typeof((n)) *)0) == ((unsigned long long *)0)); \ | ||
23 | if (((n) >> 32) == 0) { \ | ||
24 | __rem = (__u32)(n) % __base; \ | ||
25 | (n) = (__u32)(n) / __base; \ | ||
26 | } else \ | ||
27 | __rem = __div64_32(&(n), __base); \ | ||
28 | __rem; \ | ||
29 | }) | ||
30 | |||
14 | int (*prom)(void *); | 31 | int (*prom)(void *); |
15 | 32 | ||
16 | void *chosen_handle; | 33 | void *chosen_handle; |
@@ -352,7 +369,7 @@ static int skip_atoi(const char **s) | |||
352 | #define SPECIAL 32 /* 0x */ | 369 | #define SPECIAL 32 /* 0x */ |
353 | #define LARGE 64 /* use 'ABCDEF' instead of 'abcdef' */ | 370 | #define LARGE 64 /* use 'ABCDEF' instead of 'abcdef' */ |
354 | 371 | ||
355 | static char * number(char * str, long num, int base, int size, int precision, int type) | 372 | static char * number(char * str, unsigned long long num, int base, int size, int precision, int type) |
356 | { | 373 | { |
357 | char c,sign,tmp[66]; | 374 | char c,sign,tmp[66]; |
358 | const char *digits="0123456789abcdefghijklmnopqrstuvwxyz"; | 375 | const char *digits="0123456789abcdefghijklmnopqrstuvwxyz"; |
@@ -367,9 +384,9 @@ static char * number(char * str, long num, int base, int size, int precision, in | |||
367 | c = (type & ZEROPAD) ? '0' : ' '; | 384 | c = (type & ZEROPAD) ? '0' : ' '; |
368 | sign = 0; | 385 | sign = 0; |
369 | if (type & SIGN) { | 386 | if (type & SIGN) { |
370 | if (num < 0) { | 387 | if ((signed long long)num < 0) { |
371 | sign = '-'; | 388 | sign = '-'; |
372 | num = -num; | 389 | num = - (signed long long)num; |
373 | size--; | 390 | size--; |
374 | } else if (type & PLUS) { | 391 | } else if (type & PLUS) { |
375 | sign = '+'; | 392 | sign = '+'; |
@@ -389,8 +406,7 @@ static char * number(char * str, long num, int base, int size, int precision, in | |||
389 | if (num == 0) | 406 | if (num == 0) |
390 | tmp[i++]='0'; | 407 | tmp[i++]='0'; |
391 | else while (num != 0) { | 408 | else while (num != 0) { |
392 | tmp[i++] = digits[num % base]; | 409 | tmp[i++] = digits[do_div(num, base)]; |
393 | num /= base; | ||
394 | } | 410 | } |
395 | if (i > precision) | 411 | if (i > precision) |
396 | precision = i; | 412 | precision = i; |
@@ -426,7 +442,7 @@ int sprintf(char * buf, const char *fmt, ...); | |||
426 | int vsprintf(char *buf, const char *fmt, va_list args) | 442 | int vsprintf(char *buf, const char *fmt, va_list args) |
427 | { | 443 | { |
428 | int len; | 444 | int len; |
429 | unsigned long num; | 445 | unsigned long long num; |
430 | int i, base; | 446 | int i, base; |
431 | char * str; | 447 | char * str; |
432 | const char *s; | 448 | const char *s; |
diff --git a/arch/ppc64/configs/g5_defconfig b/arch/ppc64/configs/g5_defconfig index 0f90df0b3f9c..1eb33398648e 100644 --- a/arch/ppc64/configs/g5_defconfig +++ b/arch/ppc64/configs/g5_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.11 | 3 | # Linux kernel version: 2.6.12-rc6 |
4 | # Thu Mar 10 16:47:04 2005 | 4 | # Tue Jun 14 16:59:20 2005 |
5 | # | 5 | # |
6 | CONFIG_64BIT=y | 6 | CONFIG_64BIT=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -11,7 +11,7 @@ CONFIG_GENERIC_ISA_DMA=y | |||
11 | CONFIG_HAVE_DEC_LOCK=y | 11 | CONFIG_HAVE_DEC_LOCK=y |
12 | CONFIG_EARLY_PRINTK=y | 12 | CONFIG_EARLY_PRINTK=y |
13 | CONFIG_COMPAT=y | 13 | CONFIG_COMPAT=y |
14 | CONFIG_FRAME_POINTER=y | 14 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y |
15 | CONFIG_FORCE_MAX_ZONEORDER=13 | 15 | CONFIG_FORCE_MAX_ZONEORDER=13 |
16 | 16 | ||
17 | # | 17 | # |
@@ -20,6 +20,7 @@ CONFIG_FORCE_MAX_ZONEORDER=13 | |||
20 | CONFIG_EXPERIMENTAL=y | 20 | CONFIG_EXPERIMENTAL=y |
21 | CONFIG_CLEAN_COMPILE=y | 21 | CONFIG_CLEAN_COMPILE=y |
22 | CONFIG_LOCK_KERNEL=y | 22 | CONFIG_LOCK_KERNEL=y |
23 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
23 | 24 | ||
24 | # | 25 | # |
25 | # General setup | 26 | # General setup |
@@ -31,19 +32,20 @@ CONFIG_POSIX_MQUEUE=y | |||
31 | # CONFIG_BSD_PROCESS_ACCT is not set | 32 | # CONFIG_BSD_PROCESS_ACCT is not set |
32 | CONFIG_SYSCTL=y | 33 | CONFIG_SYSCTL=y |
33 | # CONFIG_AUDIT is not set | 34 | # CONFIG_AUDIT is not set |
34 | CONFIG_LOG_BUF_SHIFT=17 | ||
35 | CONFIG_HOTPLUG=y | 35 | CONFIG_HOTPLUG=y |
36 | CONFIG_KOBJECT_UEVENT=y | 36 | CONFIG_KOBJECT_UEVENT=y |
37 | CONFIG_IKCONFIG=y | 37 | CONFIG_IKCONFIG=y |
38 | CONFIG_IKCONFIG_PROC=y | 38 | CONFIG_IKCONFIG_PROC=y |
39 | # CONFIG_CPUSETS is not set | ||
39 | # CONFIG_EMBEDDED is not set | 40 | # CONFIG_EMBEDDED is not set |
40 | CONFIG_KALLSYMS=y | 41 | CONFIG_KALLSYMS=y |
41 | # CONFIG_KALLSYMS_ALL is not set | 42 | # CONFIG_KALLSYMS_ALL is not set |
42 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 43 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
44 | CONFIG_PRINTK=y | ||
45 | CONFIG_BUG=y | ||
43 | CONFIG_BASE_FULL=y | 46 | CONFIG_BASE_FULL=y |
44 | CONFIG_FUTEX=y | 47 | CONFIG_FUTEX=y |
45 | CONFIG_EPOLL=y | 48 | CONFIG_EPOLL=y |
46 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
47 | CONFIG_SHMEM=y | 49 | CONFIG_SHMEM=y |
48 | CONFIG_CC_ALIGN_FUNCTIONS=0 | 50 | CONFIG_CC_ALIGN_FUNCTIONS=0 |
49 | CONFIG_CC_ALIGN_LABELS=0 | 51 | CONFIG_CC_ALIGN_LABELS=0 |
@@ -87,6 +89,8 @@ CONFIG_NR_CPUS=2 | |||
87 | # CONFIG_SCHED_SMT is not set | 89 | # CONFIG_SCHED_SMT is not set |
88 | # CONFIG_PREEMPT is not set | 90 | # CONFIG_PREEMPT is not set |
89 | CONFIG_GENERIC_HARDIRQS=y | 91 | CONFIG_GENERIC_HARDIRQS=y |
92 | CONFIG_SECCOMP=y | ||
93 | CONFIG_ISA_DMA_API=y | ||
90 | 94 | ||
91 | # | 95 | # |
92 | # General setup | 96 | # General setup |
@@ -97,6 +101,7 @@ CONFIG_BINFMT_ELF=y | |||
97 | # CONFIG_BINFMT_MISC is not set | 101 | # CONFIG_BINFMT_MISC is not set |
98 | CONFIG_PCI_LEGACY_PROC=y | 102 | CONFIG_PCI_LEGACY_PROC=y |
99 | CONFIG_PCI_NAMES=y | 103 | CONFIG_PCI_NAMES=y |
104 | # CONFIG_PCI_DEBUG is not set | ||
100 | # CONFIG_HOTPLUG_CPU is not set | 105 | # CONFIG_HOTPLUG_CPU is not set |
101 | 106 | ||
102 | # | 107 | # |
@@ -105,10 +110,6 @@ CONFIG_PCI_NAMES=y | |||
105 | # CONFIG_PCCARD is not set | 110 | # CONFIG_PCCARD is not set |
106 | 111 | ||
107 | # | 112 | # |
108 | # PC-card bridges | ||
109 | # | ||
110 | |||
111 | # | ||
112 | # PCI Hotplug Support | 113 | # PCI Hotplug Support |
113 | # | 114 | # |
114 | # CONFIG_HOTPLUG_PCI is not set | 115 | # CONFIG_HOTPLUG_PCI is not set |
@@ -293,7 +294,6 @@ CONFIG_SCSI_SATA_SVW=y | |||
293 | # CONFIG_SCSI_BUSLOGIC is not set | 294 | # CONFIG_SCSI_BUSLOGIC is not set |
294 | # CONFIG_SCSI_DMX3191D is not set | 295 | # CONFIG_SCSI_DMX3191D is not set |
295 | # CONFIG_SCSI_EATA is not set | 296 | # CONFIG_SCSI_EATA is not set |
296 | # CONFIG_SCSI_EATA_PIO is not set | ||
297 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | 297 | # CONFIG_SCSI_FUTURE_DOMAIN is not set |
298 | # CONFIG_SCSI_GDTH is not set | 298 | # CONFIG_SCSI_GDTH is not set |
299 | # CONFIG_SCSI_IPS is not set | 299 | # CONFIG_SCSI_IPS is not set |
@@ -301,7 +301,6 @@ CONFIG_SCSI_SATA_SVW=y | |||
301 | # CONFIG_SCSI_INIA100 is not set | 301 | # CONFIG_SCSI_INIA100 is not set |
302 | # CONFIG_SCSI_SYM53C8XX_2 is not set | 302 | # CONFIG_SCSI_SYM53C8XX_2 is not set |
303 | # CONFIG_SCSI_IPR is not set | 303 | # CONFIG_SCSI_IPR is not set |
304 | # CONFIG_SCSI_QLOGIC_ISP is not set | ||
305 | # CONFIG_SCSI_QLOGIC_FC is not set | 304 | # CONFIG_SCSI_QLOGIC_FC is not set |
306 | # CONFIG_SCSI_QLOGIC_1280 is not set | 305 | # CONFIG_SCSI_QLOGIC_1280 is not set |
307 | CONFIG_SCSI_QLA2XXX=y | 306 | CONFIG_SCSI_QLA2XXX=y |
@@ -310,6 +309,7 @@ CONFIG_SCSI_QLA2XXX=y | |||
310 | # CONFIG_SCSI_QLA2300 is not set | 309 | # CONFIG_SCSI_QLA2300 is not set |
311 | # CONFIG_SCSI_QLA2322 is not set | 310 | # CONFIG_SCSI_QLA2322 is not set |
312 | # CONFIG_SCSI_QLA6312 is not set | 311 | # CONFIG_SCSI_QLA6312 is not set |
312 | # CONFIG_SCSI_LPFC is not set | ||
313 | # CONFIG_SCSI_DC395x is not set | 313 | # CONFIG_SCSI_DC395x is not set |
314 | # CONFIG_SCSI_DC390T is not set | 314 | # CONFIG_SCSI_DC390T is not set |
315 | # CONFIG_SCSI_DEBUG is not set | 315 | # CONFIG_SCSI_DEBUG is not set |
@@ -332,6 +332,7 @@ CONFIG_DM_CRYPT=m | |||
332 | CONFIG_DM_SNAPSHOT=m | 332 | CONFIG_DM_SNAPSHOT=m |
333 | CONFIG_DM_MIRROR=m | 333 | CONFIG_DM_MIRROR=m |
334 | CONFIG_DM_ZERO=m | 334 | CONFIG_DM_ZERO=m |
335 | # CONFIG_DM_MULTIPATH is not set | ||
335 | 336 | ||
336 | # | 337 | # |
337 | # Fusion MPT device support | 338 | # Fusion MPT device support |
@@ -394,7 +395,6 @@ CONFIG_NET=y | |||
394 | # | 395 | # |
395 | CONFIG_PACKET=y | 396 | CONFIG_PACKET=y |
396 | # CONFIG_PACKET_MMAP is not set | 397 | # CONFIG_PACKET_MMAP is not set |
397 | # CONFIG_NETLINK_DEV is not set | ||
398 | CONFIG_UNIX=y | 398 | CONFIG_UNIX=y |
399 | CONFIG_NET_KEY=m | 399 | CONFIG_NET_KEY=m |
400 | CONFIG_INET=y | 400 | CONFIG_INET=y |
@@ -564,6 +564,8 @@ CONFIG_E1000=y | |||
564 | # CONFIG_R8169 is not set | 564 | # CONFIG_R8169 is not set |
565 | # CONFIG_SK98LIN is not set | 565 | # CONFIG_SK98LIN is not set |
566 | CONFIG_TIGON3=m | 566 | CONFIG_TIGON3=m |
567 | # CONFIG_BNX2 is not set | ||
568 | # CONFIG_MV643XX_ETH is not set | ||
567 | 569 | ||
568 | # | 570 | # |
569 | # Ethernet (10000 Mbit) | 571 | # Ethernet (10000 Mbit) |
@@ -631,18 +633,6 @@ CONFIG_INPUT_EVDEV=y | |||
631 | # CONFIG_INPUT_EVBUG is not set | 633 | # CONFIG_INPUT_EVBUG is not set |
632 | 634 | ||
633 | # | 635 | # |
634 | # Input I/O drivers | ||
635 | # | ||
636 | # CONFIG_GAMEPORT is not set | ||
637 | CONFIG_SOUND_GAMEPORT=y | ||
638 | CONFIG_SERIO=y | ||
639 | # CONFIG_SERIO_I8042 is not set | ||
640 | # CONFIG_SERIO_SERPORT is not set | ||
641 | # CONFIG_SERIO_CT82C710 is not set | ||
642 | # CONFIG_SERIO_PCIPS2 is not set | ||
643 | # CONFIG_SERIO_RAW is not set | ||
644 | |||
645 | # | ||
646 | # Input Device Drivers | 636 | # Input Device Drivers |
647 | # | 637 | # |
648 | CONFIG_INPUT_KEYBOARD=y | 638 | CONFIG_INPUT_KEYBOARD=y |
@@ -660,6 +650,16 @@ CONFIG_INPUT_MOUSE=y | |||
660 | # CONFIG_INPUT_MISC is not set | 650 | # CONFIG_INPUT_MISC is not set |
661 | 651 | ||
662 | # | 652 | # |
653 | # Hardware I/O ports | ||
654 | # | ||
655 | CONFIG_SERIO=y | ||
656 | # CONFIG_SERIO_I8042 is not set | ||
657 | # CONFIG_SERIO_SERPORT is not set | ||
658 | # CONFIG_SERIO_PCIPS2 is not set | ||
659 | # CONFIG_SERIO_RAW is not set | ||
660 | # CONFIG_GAMEPORT is not set | ||
661 | |||
662 | # | ||
663 | # Character devices | 663 | # Character devices |
664 | # | 664 | # |
665 | CONFIG_VT=y | 665 | CONFIG_VT=y |
@@ -676,6 +676,7 @@ CONFIG_HW_CONSOLE=y | |||
676 | # Non-8250 serial port support | 676 | # Non-8250 serial port support |
677 | # | 677 | # |
678 | # CONFIG_SERIAL_PMACZILOG is not set | 678 | # CONFIG_SERIAL_PMACZILOG is not set |
679 | # CONFIG_SERIAL_JSM is not set | ||
679 | CONFIG_UNIX98_PTYS=y | 680 | CONFIG_UNIX98_PTYS=y |
680 | CONFIG_LEGACY_PTYS=y | 681 | CONFIG_LEGACY_PTYS=y |
681 | CONFIG_LEGACY_PTY_COUNT=256 | 682 | CONFIG_LEGACY_PTY_COUNT=256 |
@@ -698,9 +699,12 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
698 | # | 699 | # |
699 | # Ftape, the floppy tape device driver | 700 | # Ftape, the floppy tape device driver |
700 | # | 701 | # |
702 | CONFIG_AGP=m | ||
703 | CONFIG_AGP_UNINORTH=m | ||
701 | # CONFIG_DRM is not set | 704 | # CONFIG_DRM is not set |
702 | CONFIG_RAW_DRIVER=y | 705 | CONFIG_RAW_DRIVER=y |
703 | CONFIG_MAX_RAW_DEVS=256 | 706 | CONFIG_MAX_RAW_DEVS=256 |
707 | # CONFIG_HANGCHECK_TIMER is not set | ||
704 | 708 | ||
705 | # | 709 | # |
706 | # TPM devices | 710 | # TPM devices |
@@ -730,12 +734,11 @@ CONFIG_I2C_ALGOBIT=y | |||
730 | # CONFIG_I2C_AMD8111 is not set | 734 | # CONFIG_I2C_AMD8111 is not set |
731 | # CONFIG_I2C_I801 is not set | 735 | # CONFIG_I2C_I801 is not set |
732 | # CONFIG_I2C_I810 is not set | 736 | # CONFIG_I2C_I810 is not set |
737 | # CONFIG_I2C_PIIX4 is not set | ||
733 | # CONFIG_I2C_ISA is not set | 738 | # CONFIG_I2C_ISA is not set |
734 | CONFIG_I2C_KEYWEST=y | 739 | CONFIG_I2C_KEYWEST=y |
735 | # CONFIG_I2C_MPC is not set | ||
736 | # CONFIG_I2C_NFORCE2 is not set | 740 | # CONFIG_I2C_NFORCE2 is not set |
737 | # CONFIG_I2C_PARPORT_LIGHT is not set | 741 | # CONFIG_I2C_PARPORT_LIGHT is not set |
738 | # CONFIG_I2C_PIIX4 is not set | ||
739 | # CONFIG_I2C_PROSAVAGE is not set | 742 | # CONFIG_I2C_PROSAVAGE is not set |
740 | # CONFIG_I2C_SAVAGE4 is not set | 743 | # CONFIG_I2C_SAVAGE4 is not set |
741 | # CONFIG_SCx200_ACB is not set | 744 | # CONFIG_SCx200_ACB is not set |
@@ -772,6 +775,7 @@ CONFIG_I2C_KEYWEST=y | |||
772 | # CONFIG_SENSORS_LM85 is not set | 775 | # CONFIG_SENSORS_LM85 is not set |
773 | # CONFIG_SENSORS_LM87 is not set | 776 | # CONFIG_SENSORS_LM87 is not set |
774 | # CONFIG_SENSORS_LM90 is not set | 777 | # CONFIG_SENSORS_LM90 is not set |
778 | # CONFIG_SENSORS_LM92 is not set | ||
775 | # CONFIG_SENSORS_MAX1619 is not set | 779 | # CONFIG_SENSORS_MAX1619 is not set |
776 | # CONFIG_SENSORS_PC87360 is not set | 780 | # CONFIG_SENSORS_PC87360 is not set |
777 | # CONFIG_SENSORS_SMSC47B397 is not set | 781 | # CONFIG_SENSORS_SMSC47B397 is not set |
@@ -785,6 +789,7 @@ CONFIG_I2C_KEYWEST=y | |||
785 | # | 789 | # |
786 | # Other I2C Chip support | 790 | # Other I2C Chip support |
787 | # | 791 | # |
792 | # CONFIG_SENSORS_DS1337 is not set | ||
788 | # CONFIG_SENSORS_EEPROM is not set | 793 | # CONFIG_SENSORS_EEPROM is not set |
789 | # CONFIG_SENSORS_PCF8574 is not set | 794 | # CONFIG_SENSORS_PCF8574 is not set |
790 | # CONFIG_SENSORS_PCF8591 is not set | 795 | # CONFIG_SENSORS_PCF8591 is not set |
@@ -817,6 +822,11 @@ CONFIG_I2C_KEYWEST=y | |||
817 | # Graphics support | 822 | # Graphics support |
818 | # | 823 | # |
819 | CONFIG_FB=y | 824 | CONFIG_FB=y |
825 | CONFIG_FB_CFB_FILLRECT=y | ||
826 | CONFIG_FB_CFB_COPYAREA=y | ||
827 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
828 | CONFIG_FB_SOFT_CURSOR=y | ||
829 | CONFIG_FB_MACMODES=y | ||
820 | CONFIG_FB_MODE_HELPERS=y | 830 | CONFIG_FB_MODE_HELPERS=y |
821 | CONFIG_FB_TILEBLITTING=y | 831 | CONFIG_FB_TILEBLITTING=y |
822 | # CONFIG_FB_CIRRUS is not set | 832 | # CONFIG_FB_CIRRUS is not set |
@@ -830,6 +840,7 @@ CONFIG_FB_OF=y | |||
830 | # CONFIG_FB_ASILIANT is not set | 840 | # CONFIG_FB_ASILIANT is not set |
831 | # CONFIG_FB_IMSTT is not set | 841 | # CONFIG_FB_IMSTT is not set |
832 | # CONFIG_FB_VGA16 is not set | 842 | # CONFIG_FB_VGA16 is not set |
843 | # CONFIG_FB_NVIDIA is not set | ||
833 | CONFIG_FB_RIVA=y | 844 | CONFIG_FB_RIVA=y |
834 | # CONFIG_FB_RIVA_I2C is not set | 845 | # CONFIG_FB_RIVA_I2C is not set |
835 | # CONFIG_FB_RIVA_DEBUG is not set | 846 | # CONFIG_FB_RIVA_DEBUG is not set |
@@ -847,6 +858,7 @@ CONFIG_FB_RADEON_I2C=y | |||
847 | # CONFIG_FB_3DFX is not set | 858 | # CONFIG_FB_3DFX is not set |
848 | # CONFIG_FB_VOODOO1 is not set | 859 | # CONFIG_FB_VOODOO1 is not set |
849 | # CONFIG_FB_TRIDENT is not set | 860 | # CONFIG_FB_TRIDENT is not set |
861 | # CONFIG_FB_S1D13XXX is not set | ||
850 | # CONFIG_FB_VIRTUAL is not set | 862 | # CONFIG_FB_VIRTUAL is not set |
851 | 863 | ||
852 | # | 864 | # |
@@ -880,6 +892,8 @@ CONFIG_LCD_DEVICE=y | |||
880 | # | 892 | # |
881 | # USB support | 893 | # USB support |
882 | # | 894 | # |
895 | CONFIG_USB_ARCH_HAS_HCD=y | ||
896 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
883 | CONFIG_USB=y | 897 | CONFIG_USB=y |
884 | # CONFIG_USB_DEBUG is not set | 898 | # CONFIG_USB_DEBUG is not set |
885 | 899 | ||
@@ -890,8 +904,6 @@ CONFIG_USB_DEVICEFS=y | |||
890 | # CONFIG_USB_BANDWIDTH is not set | 904 | # CONFIG_USB_BANDWIDTH is not set |
891 | # CONFIG_USB_DYNAMIC_MINORS is not set | 905 | # CONFIG_USB_DYNAMIC_MINORS is not set |
892 | # CONFIG_USB_OTG is not set | 906 | # CONFIG_USB_OTG is not set |
893 | CONFIG_USB_ARCH_HAS_HCD=y | ||
894 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
895 | 907 | ||
896 | # | 908 | # |
897 | # USB Host Controller Drivers | 909 | # USB Host Controller Drivers |
@@ -917,7 +929,6 @@ CONFIG_USB_PRINTER=y | |||
917 | # | 929 | # |
918 | CONFIG_USB_STORAGE=y | 930 | CONFIG_USB_STORAGE=y |
919 | # CONFIG_USB_STORAGE_DEBUG is not set | 931 | # CONFIG_USB_STORAGE_DEBUG is not set |
920 | CONFIG_USB_STORAGE_RW_DETECT=y | ||
921 | CONFIG_USB_STORAGE_DATAFAB=y | 932 | CONFIG_USB_STORAGE_DATAFAB=y |
922 | CONFIG_USB_STORAGE_FREECOM=y | 933 | CONFIG_USB_STORAGE_FREECOM=y |
923 | CONFIG_USB_STORAGE_ISD200=y | 934 | CONFIG_USB_STORAGE_ISD200=y |
@@ -1004,8 +1015,10 @@ CONFIG_USB_MON=y | |||
1004 | # | 1015 | # |
1005 | CONFIG_USB_SERIAL=m | 1016 | CONFIG_USB_SERIAL=m |
1006 | CONFIG_USB_SERIAL_GENERIC=y | 1017 | CONFIG_USB_SERIAL_GENERIC=y |
1018 | # CONFIG_USB_SERIAL_AIRPRIME is not set | ||
1007 | CONFIG_USB_SERIAL_BELKIN=m | 1019 | CONFIG_USB_SERIAL_BELKIN=m |
1008 | CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m | 1020 | CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m |
1021 | # CONFIG_USB_SERIAL_CP2101 is not set | ||
1009 | CONFIG_USB_SERIAL_CYPRESS_M8=m | 1022 | CONFIG_USB_SERIAL_CYPRESS_M8=m |
1010 | CONFIG_USB_SERIAL_EMPEG=m | 1023 | CONFIG_USB_SERIAL_EMPEG=m |
1011 | CONFIG_USB_SERIAL_FTDI_SIO=m | 1024 | CONFIG_USB_SERIAL_FTDI_SIO=m |
@@ -1034,6 +1047,7 @@ CONFIG_USB_SERIAL_KLSI=m | |||
1034 | CONFIG_USB_SERIAL_KOBIL_SCT=m | 1047 | CONFIG_USB_SERIAL_KOBIL_SCT=m |
1035 | CONFIG_USB_SERIAL_MCT_U232=m | 1048 | CONFIG_USB_SERIAL_MCT_U232=m |
1036 | CONFIG_USB_SERIAL_PL2303=m | 1049 | CONFIG_USB_SERIAL_PL2303=m |
1050 | # CONFIG_USB_SERIAL_HP4X is not set | ||
1037 | CONFIG_USB_SERIAL_SAFE=m | 1051 | CONFIG_USB_SERIAL_SAFE=m |
1038 | CONFIG_USB_SERIAL_SAFE_PADDED=y | 1052 | CONFIG_USB_SERIAL_SAFE_PADDED=y |
1039 | CONFIG_USB_SERIAL_TI=m | 1053 | CONFIG_USB_SERIAL_TI=m |
@@ -1270,11 +1284,13 @@ CONFIG_OPROFILE=y | |||
1270 | # | 1284 | # |
1271 | # Kernel hacking | 1285 | # Kernel hacking |
1272 | # | 1286 | # |
1287 | # CONFIG_PRINTK_TIME is not set | ||
1273 | CONFIG_DEBUG_KERNEL=y | 1288 | CONFIG_DEBUG_KERNEL=y |
1274 | CONFIG_MAGIC_SYSRQ=y | 1289 | CONFIG_MAGIC_SYSRQ=y |
1275 | # CONFIG_PRINTK_TIME is not set | 1290 | CONFIG_LOG_BUF_SHIFT=17 |
1276 | # CONFIG_SCHEDSTATS is not set | 1291 | # CONFIG_SCHEDSTATS is not set |
1277 | # CONFIG_DEBUG_SLAB is not set | 1292 | # CONFIG_DEBUG_SLAB is not set |
1293 | # CONFIG_DEBUG_SPINLOCK is not set | ||
1278 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1294 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1279 | # CONFIG_DEBUG_KOBJECT is not set | 1295 | # CONFIG_DEBUG_KOBJECT is not set |
1280 | # CONFIG_DEBUG_INFO is not set | 1296 | # CONFIG_DEBUG_INFO is not set |
diff --git a/arch/ppc64/configs/iSeries_defconfig b/arch/ppc64/configs/iSeries_defconfig index a39e9d2e25da..f6a2b99afd63 100644 --- a/arch/ppc64/configs/iSeries_defconfig +++ b/arch/ppc64/configs/iSeries_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.11-rc3-bk6 | 3 | # Linux kernel version: 2.6.12-rc6 |
4 | # Wed Feb 9 23:34:52 2005 | 4 | # Tue Jun 14 17:01:28 2005 |
5 | # | 5 | # |
6 | CONFIG_64BIT=y | 6 | CONFIG_64BIT=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -11,7 +11,7 @@ CONFIG_GENERIC_ISA_DMA=y | |||
11 | CONFIG_HAVE_DEC_LOCK=y | 11 | CONFIG_HAVE_DEC_LOCK=y |
12 | CONFIG_EARLY_PRINTK=y | 12 | CONFIG_EARLY_PRINTK=y |
13 | CONFIG_COMPAT=y | 13 | CONFIG_COMPAT=y |
14 | CONFIG_FRAME_POINTER=y | 14 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y |
15 | CONFIG_FORCE_MAX_ZONEORDER=13 | 15 | CONFIG_FORCE_MAX_ZONEORDER=13 |
16 | 16 | ||
17 | # | 17 | # |
@@ -20,6 +20,7 @@ CONFIG_FORCE_MAX_ZONEORDER=13 | |||
20 | CONFIG_EXPERIMENTAL=y | 20 | CONFIG_EXPERIMENTAL=y |
21 | CONFIG_CLEAN_COMPILE=y | 21 | CONFIG_CLEAN_COMPILE=y |
22 | CONFIG_LOCK_KERNEL=y | 22 | CONFIG_LOCK_KERNEL=y |
23 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
23 | 24 | ||
24 | # | 25 | # |
25 | # General setup | 26 | # General setup |
@@ -30,24 +31,29 @@ CONFIG_SYSVIPC=y | |||
30 | CONFIG_POSIX_MQUEUE=y | 31 | CONFIG_POSIX_MQUEUE=y |
31 | # CONFIG_BSD_PROCESS_ACCT is not set | 32 | # CONFIG_BSD_PROCESS_ACCT is not set |
32 | CONFIG_SYSCTL=y | 33 | CONFIG_SYSCTL=y |
33 | CONFIG_LOG_BUF_SHIFT=17 | 34 | CONFIG_AUDIT=y |
35 | CONFIG_AUDITSYSCALL=y | ||
34 | CONFIG_HOTPLUG=y | 36 | CONFIG_HOTPLUG=y |
35 | CONFIG_KOBJECT_UEVENT=y | 37 | CONFIG_KOBJECT_UEVENT=y |
36 | CONFIG_IKCONFIG=y | 38 | CONFIG_IKCONFIG=y |
37 | CONFIG_IKCONFIG_PROC=y | 39 | CONFIG_IKCONFIG_PROC=y |
40 | # CONFIG_CPUSETS is not set | ||
38 | # CONFIG_EMBEDDED is not set | 41 | # CONFIG_EMBEDDED is not set |
39 | CONFIG_KALLSYMS=y | 42 | CONFIG_KALLSYMS=y |
40 | # CONFIG_KALLSYMS_ALL is not set | 43 | # CONFIG_KALLSYMS_ALL is not set |
41 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 44 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
45 | CONFIG_PRINTK=y | ||
46 | CONFIG_BUG=y | ||
47 | CONFIG_BASE_FULL=y | ||
42 | CONFIG_FUTEX=y | 48 | CONFIG_FUTEX=y |
43 | CONFIG_EPOLL=y | 49 | CONFIG_EPOLL=y |
44 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
45 | CONFIG_SHMEM=y | 50 | CONFIG_SHMEM=y |
46 | CONFIG_CC_ALIGN_FUNCTIONS=0 | 51 | CONFIG_CC_ALIGN_FUNCTIONS=0 |
47 | CONFIG_CC_ALIGN_LABELS=0 | 52 | CONFIG_CC_ALIGN_LABELS=0 |
48 | CONFIG_CC_ALIGN_LOOPS=0 | 53 | CONFIG_CC_ALIGN_LOOPS=0 |
49 | CONFIG_CC_ALIGN_JUMPS=0 | 54 | CONFIG_CC_ALIGN_JUMPS=0 |
50 | # CONFIG_TINY_SHMEM is not set | 55 | # CONFIG_TINY_SHMEM is not set |
56 | CONFIG_BASE_SMALL=0 | ||
51 | 57 | ||
52 | # | 58 | # |
53 | # Loadable module support | 59 | # Loadable module support |
@@ -79,6 +85,8 @@ CONFIG_NR_CPUS=32 | |||
79 | CONFIG_GENERIC_HARDIRQS=y | 85 | CONFIG_GENERIC_HARDIRQS=y |
80 | CONFIG_MSCHUNKS=y | 86 | CONFIG_MSCHUNKS=y |
81 | CONFIG_LPARCFG=y | 87 | CONFIG_LPARCFG=y |
88 | CONFIG_SECCOMP=y | ||
89 | CONFIG_ISA_DMA_API=y | ||
82 | 90 | ||
83 | # | 91 | # |
84 | # General setup | 92 | # General setup |
@@ -89,6 +97,7 @@ CONFIG_BINFMT_ELF=y | |||
89 | # CONFIG_BINFMT_MISC is not set | 97 | # CONFIG_BINFMT_MISC is not set |
90 | CONFIG_PCI_LEGACY_PROC=y | 98 | CONFIG_PCI_LEGACY_PROC=y |
91 | CONFIG_PCI_NAMES=y | 99 | CONFIG_PCI_NAMES=y |
100 | # CONFIG_PCI_DEBUG is not set | ||
92 | 101 | ||
93 | # | 102 | # |
94 | # PCCARD (PCMCIA/CardBus) support | 103 | # PCCARD (PCMCIA/CardBus) support |
@@ -96,10 +105,6 @@ CONFIG_PCI_NAMES=y | |||
96 | # CONFIG_PCCARD is not set | 105 | # CONFIG_PCCARD is not set |
97 | 106 | ||
98 | # | 107 | # |
99 | # PC-card bridges | ||
100 | # | ||
101 | |||
102 | # | ||
103 | # PCI Hotplug Support | 108 | # PCI Hotplug Support |
104 | # | 109 | # |
105 | # CONFIG_HOTPLUG_PCI is not set | 110 | # CONFIG_HOTPLUG_PCI is not set |
@@ -210,7 +215,6 @@ CONFIG_SCSI_FC_ATTRS=y | |||
210 | # CONFIG_SCSI_BUSLOGIC is not set | 215 | # CONFIG_SCSI_BUSLOGIC is not set |
211 | # CONFIG_SCSI_DMX3191D is not set | 216 | # CONFIG_SCSI_DMX3191D is not set |
212 | # CONFIG_SCSI_EATA is not set | 217 | # CONFIG_SCSI_EATA is not set |
213 | # CONFIG_SCSI_EATA_PIO is not set | ||
214 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | 218 | # CONFIG_SCSI_FUTURE_DOMAIN is not set |
215 | # CONFIG_SCSI_GDTH is not set | 219 | # CONFIG_SCSI_GDTH is not set |
216 | # CONFIG_SCSI_IPS is not set | 220 | # CONFIG_SCSI_IPS is not set |
@@ -219,7 +223,6 @@ CONFIG_SCSI_IBMVSCSI=m | |||
219 | # CONFIG_SCSI_INIA100 is not set | 223 | # CONFIG_SCSI_INIA100 is not set |
220 | # CONFIG_SCSI_SYM53C8XX_2 is not set | 224 | # CONFIG_SCSI_SYM53C8XX_2 is not set |
221 | # CONFIG_SCSI_IPR is not set | 225 | # CONFIG_SCSI_IPR is not set |
222 | # CONFIG_SCSI_QLOGIC_ISP is not set | ||
223 | # CONFIG_SCSI_QLOGIC_FC is not set | 226 | # CONFIG_SCSI_QLOGIC_FC is not set |
224 | # CONFIG_SCSI_QLOGIC_1280 is not set | 227 | # CONFIG_SCSI_QLOGIC_1280 is not set |
225 | CONFIG_SCSI_QLA2XXX=y | 228 | CONFIG_SCSI_QLA2XXX=y |
@@ -228,6 +231,7 @@ CONFIG_SCSI_QLA2XXX=y | |||
228 | # CONFIG_SCSI_QLA2300 is not set | 231 | # CONFIG_SCSI_QLA2300 is not set |
229 | # CONFIG_SCSI_QLA2322 is not set | 232 | # CONFIG_SCSI_QLA2322 is not set |
230 | # CONFIG_SCSI_QLA6312 is not set | 233 | # CONFIG_SCSI_QLA6312 is not set |
234 | # CONFIG_SCSI_LPFC is not set | ||
231 | # CONFIG_SCSI_DC395x is not set | 235 | # CONFIG_SCSI_DC395x is not set |
232 | # CONFIG_SCSI_DC390T is not set | 236 | # CONFIG_SCSI_DC390T is not set |
233 | # CONFIG_SCSI_DEBUG is not set | 237 | # CONFIG_SCSI_DEBUG is not set |
@@ -250,6 +254,7 @@ CONFIG_DM_CRYPT=m | |||
250 | CONFIG_DM_SNAPSHOT=m | 254 | CONFIG_DM_SNAPSHOT=m |
251 | CONFIG_DM_MIRROR=m | 255 | CONFIG_DM_MIRROR=m |
252 | CONFIG_DM_ZERO=m | 256 | CONFIG_DM_ZERO=m |
257 | # CONFIG_DM_MULTIPATH is not set | ||
253 | 258 | ||
254 | # | 259 | # |
255 | # Fusion MPT device support | 260 | # Fusion MPT device support |
@@ -280,7 +285,6 @@ CONFIG_NET=y | |||
280 | # | 285 | # |
281 | CONFIG_PACKET=y | 286 | CONFIG_PACKET=y |
282 | # CONFIG_PACKET_MMAP is not set | 287 | # CONFIG_PACKET_MMAP is not set |
283 | # CONFIG_NETLINK_DEV is not set | ||
284 | CONFIG_UNIX=y | 288 | CONFIG_UNIX=y |
285 | CONFIG_NET_KEY=m | 289 | CONFIG_NET_KEY=m |
286 | CONFIG_INET=y | 290 | CONFIG_INET=y |
@@ -445,7 +449,6 @@ CONFIG_PCNET32=y | |||
445 | # CONFIG_DGRS is not set | 449 | # CONFIG_DGRS is not set |
446 | # CONFIG_EEPRO100 is not set | 450 | # CONFIG_EEPRO100 is not set |
447 | CONFIG_E100=y | 451 | CONFIG_E100=y |
448 | # CONFIG_E100_NAPI is not set | ||
449 | # CONFIG_FEALNX is not set | 452 | # CONFIG_FEALNX is not set |
450 | # CONFIG_NATSEMI is not set | 453 | # CONFIG_NATSEMI is not set |
451 | # CONFIG_NE2K_PCI is not set | 454 | # CONFIG_NE2K_PCI is not set |
@@ -471,6 +474,7 @@ CONFIG_E1000=m | |||
471 | # CONFIG_SK98LIN is not set | 474 | # CONFIG_SK98LIN is not set |
472 | # CONFIG_VIA_VELOCITY is not set | 475 | # CONFIG_VIA_VELOCITY is not set |
473 | # CONFIG_TIGON3 is not set | 476 | # CONFIG_TIGON3 is not set |
477 | # CONFIG_BNX2 is not set | ||
474 | 478 | ||
475 | # | 479 | # |
476 | # Ethernet (10000 Mbit) | 480 | # Ethernet (10000 Mbit) |
@@ -539,14 +543,6 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | |||
539 | # CONFIG_INPUT_EVBUG is not set | 543 | # CONFIG_INPUT_EVBUG is not set |
540 | 544 | ||
541 | # | 545 | # |
542 | # Input I/O drivers | ||
543 | # | ||
544 | # CONFIG_GAMEPORT is not set | ||
545 | CONFIG_SOUND_GAMEPORT=y | ||
546 | # CONFIG_SERIO is not set | ||
547 | # CONFIG_SERIO_I8042 is not set | ||
548 | |||
549 | # | ||
550 | # Input Device Drivers | 546 | # Input Device Drivers |
551 | # | 547 | # |
552 | # CONFIG_INPUT_KEYBOARD is not set | 548 | # CONFIG_INPUT_KEYBOARD is not set |
@@ -556,6 +552,12 @@ CONFIG_SOUND_GAMEPORT=y | |||
556 | # CONFIG_INPUT_MISC is not set | 552 | # CONFIG_INPUT_MISC is not set |
557 | 553 | ||
558 | # | 554 | # |
555 | # Hardware I/O ports | ||
556 | # | ||
557 | # CONFIG_SERIO is not set | ||
558 | # CONFIG_GAMEPORT is not set | ||
559 | |||
560 | # | ||
559 | # Character devices | 561 | # Character devices |
560 | # | 562 | # |
561 | # CONFIG_SERIAL_NONSTANDARD is not set | 563 | # CONFIG_SERIAL_NONSTANDARD is not set |
@@ -570,6 +572,7 @@ CONFIG_SOUND_GAMEPORT=y | |||
570 | # | 572 | # |
571 | CONFIG_SERIAL_CORE=m | 573 | CONFIG_SERIAL_CORE=m |
572 | CONFIG_SERIAL_ICOM=m | 574 | CONFIG_SERIAL_ICOM=m |
575 | # CONFIG_SERIAL_JSM is not set | ||
573 | CONFIG_UNIX98_PTYS=y | 576 | CONFIG_UNIX98_PTYS=y |
574 | CONFIG_LEGACY_PTYS=y | 577 | CONFIG_LEGACY_PTYS=y |
575 | CONFIG_LEGACY_PTY_COUNT=256 | 578 | CONFIG_LEGACY_PTY_COUNT=256 |
@@ -592,9 +595,16 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
592 | # | 595 | # |
593 | # Ftape, the floppy tape device driver | 596 | # Ftape, the floppy tape device driver |
594 | # | 597 | # |
598 | # CONFIG_AGP is not set | ||
595 | # CONFIG_DRM is not set | 599 | # CONFIG_DRM is not set |
596 | CONFIG_RAW_DRIVER=y | 600 | CONFIG_RAW_DRIVER=y |
597 | CONFIG_MAX_RAW_DEVS=256 | 601 | CONFIG_MAX_RAW_DEVS=256 |
602 | # CONFIG_HANGCHECK_TIMER is not set | ||
603 | |||
604 | # | ||
605 | # TPM devices | ||
606 | # | ||
607 | # CONFIG_TCG_TPM is not set | ||
598 | 608 | ||
599 | # | 609 | # |
600 | # I2C support | 610 | # I2C support |
@@ -633,13 +643,9 @@ CONFIG_MAX_RAW_DEVS=256 | |||
633 | # | 643 | # |
634 | # USB support | 644 | # USB support |
635 | # | 645 | # |
636 | # CONFIG_USB is not set | ||
637 | CONFIG_USB_ARCH_HAS_HCD=y | 646 | CONFIG_USB_ARCH_HAS_HCD=y |
638 | CONFIG_USB_ARCH_HAS_OHCI=y | 647 | CONFIG_USB_ARCH_HAS_OHCI=y |
639 | 648 | # CONFIG_USB is not set | |
640 | # | ||
641 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information | ||
642 | # | ||
643 | 649 | ||
644 | # | 650 | # |
645 | # USB Gadget Support | 651 | # USB Gadget Support |
@@ -848,10 +854,13 @@ CONFIG_OPROFILE=y | |||
848 | # | 854 | # |
849 | # Kernel hacking | 855 | # Kernel hacking |
850 | # | 856 | # |
857 | # CONFIG_PRINTK_TIME is not set | ||
851 | CONFIG_DEBUG_KERNEL=y | 858 | CONFIG_DEBUG_KERNEL=y |
852 | CONFIG_MAGIC_SYSRQ=y | 859 | CONFIG_MAGIC_SYSRQ=y |
860 | CONFIG_LOG_BUF_SHIFT=17 | ||
853 | # CONFIG_SCHEDSTATS is not set | 861 | # CONFIG_SCHEDSTATS is not set |
854 | # CONFIG_DEBUG_SLAB is not set | 862 | # CONFIG_DEBUG_SLAB is not set |
863 | # CONFIG_DEBUG_SPINLOCK is not set | ||
855 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 864 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
856 | # CONFIG_DEBUG_KOBJECT is not set | 865 | # CONFIG_DEBUG_KOBJECT is not set |
857 | # CONFIG_DEBUG_INFO is not set | 866 | # CONFIG_DEBUG_INFO is not set |
@@ -881,6 +890,7 @@ CONFIG_CRYPTO_SHA1=m | |||
881 | CONFIG_CRYPTO_SHA256=m | 890 | CONFIG_CRYPTO_SHA256=m |
882 | CONFIG_CRYPTO_SHA512=m | 891 | CONFIG_CRYPTO_SHA512=m |
883 | CONFIG_CRYPTO_WP512=m | 892 | CONFIG_CRYPTO_WP512=m |
893 | CONFIG_CRYPTO_TGR192=m | ||
884 | CONFIG_CRYPTO_DES=y | 894 | CONFIG_CRYPTO_DES=y |
885 | CONFIG_CRYPTO_BLOWFISH=m | 895 | CONFIG_CRYPTO_BLOWFISH=m |
886 | CONFIG_CRYPTO_TWOFISH=m | 896 | CONFIG_CRYPTO_TWOFISH=m |
diff --git a/arch/ppc64/configs/maple_defconfig b/arch/ppc64/configs/maple_defconfig index cf527501915c..8051b0f47b6f 100644 --- a/arch/ppc64/configs/maple_defconfig +++ b/arch/ppc64/configs/maple_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.11-rc3-bk6 | 3 | # Linux kernel version: 2.6.12-rc6 |
4 | # Wed Feb 9 23:34:53 2005 | 4 | # Tue Jun 14 17:12:48 2005 |
5 | # | 5 | # |
6 | CONFIG_64BIT=y | 6 | CONFIG_64BIT=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -11,7 +11,7 @@ CONFIG_GENERIC_ISA_DMA=y | |||
11 | CONFIG_HAVE_DEC_LOCK=y | 11 | CONFIG_HAVE_DEC_LOCK=y |
12 | CONFIG_EARLY_PRINTK=y | 12 | CONFIG_EARLY_PRINTK=y |
13 | CONFIG_COMPAT=y | 13 | CONFIG_COMPAT=y |
14 | CONFIG_FRAME_POINTER=y | 14 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y |
15 | CONFIG_FORCE_MAX_ZONEORDER=13 | 15 | CONFIG_FORCE_MAX_ZONEORDER=13 |
16 | 16 | ||
17 | # | 17 | # |
@@ -20,6 +20,7 @@ CONFIG_FORCE_MAX_ZONEORDER=13 | |||
20 | CONFIG_EXPERIMENTAL=y | 20 | CONFIG_EXPERIMENTAL=y |
21 | CONFIG_CLEAN_COMPILE=y | 21 | CONFIG_CLEAN_COMPILE=y |
22 | CONFIG_LOCK_KERNEL=y | 22 | CONFIG_LOCK_KERNEL=y |
23 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
23 | 24 | ||
24 | # | 25 | # |
25 | # General setup | 26 | # General setup |
@@ -30,24 +31,28 @@ CONFIG_SYSVIPC=y | |||
30 | CONFIG_POSIX_MQUEUE=y | 31 | CONFIG_POSIX_MQUEUE=y |
31 | # CONFIG_BSD_PROCESS_ACCT is not set | 32 | # CONFIG_BSD_PROCESS_ACCT is not set |
32 | CONFIG_SYSCTL=y | 33 | CONFIG_SYSCTL=y |
33 | CONFIG_LOG_BUF_SHIFT=17 | 34 | # CONFIG_AUDIT is not set |
34 | # CONFIG_HOTPLUG is not set | 35 | # CONFIG_HOTPLUG is not set |
35 | CONFIG_KOBJECT_UEVENT=y | 36 | CONFIG_KOBJECT_UEVENT=y |
36 | CONFIG_IKCONFIG=y | 37 | CONFIG_IKCONFIG=y |
37 | CONFIG_IKCONFIG_PROC=y | 38 | CONFIG_IKCONFIG_PROC=y |
39 | # CONFIG_CPUSETS is not set | ||
38 | # CONFIG_EMBEDDED is not set | 40 | # CONFIG_EMBEDDED is not set |
39 | CONFIG_KALLSYMS=y | 41 | CONFIG_KALLSYMS=y |
40 | CONFIG_KALLSYMS_ALL=y | 42 | CONFIG_KALLSYMS_ALL=y |
41 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 43 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
44 | CONFIG_PRINTK=y | ||
45 | CONFIG_BUG=y | ||
46 | CONFIG_BASE_FULL=y | ||
42 | CONFIG_FUTEX=y | 47 | CONFIG_FUTEX=y |
43 | CONFIG_EPOLL=y | 48 | CONFIG_EPOLL=y |
44 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
45 | CONFIG_SHMEM=y | 49 | CONFIG_SHMEM=y |
46 | CONFIG_CC_ALIGN_FUNCTIONS=0 | 50 | CONFIG_CC_ALIGN_FUNCTIONS=0 |
47 | CONFIG_CC_ALIGN_LABELS=0 | 51 | CONFIG_CC_ALIGN_LABELS=0 |
48 | CONFIG_CC_ALIGN_LOOPS=0 | 52 | CONFIG_CC_ALIGN_LOOPS=0 |
49 | CONFIG_CC_ALIGN_JUMPS=0 | 53 | CONFIG_CC_ALIGN_JUMPS=0 |
50 | # CONFIG_TINY_SHMEM is not set | 54 | # CONFIG_TINY_SHMEM is not set |
55 | CONFIG_BASE_SMALL=0 | ||
51 | 56 | ||
52 | # | 57 | # |
53 | # Loadable module support | 58 | # Loadable module support |
@@ -84,6 +89,8 @@ CONFIG_NR_CPUS=2 | |||
84 | # CONFIG_SCHED_SMT is not set | 89 | # CONFIG_SCHED_SMT is not set |
85 | # CONFIG_PREEMPT is not set | 90 | # CONFIG_PREEMPT is not set |
86 | CONFIG_GENERIC_HARDIRQS=y | 91 | CONFIG_GENERIC_HARDIRQS=y |
92 | CONFIG_SECCOMP=y | ||
93 | CONFIG_ISA_DMA_API=y | ||
87 | 94 | ||
88 | # | 95 | # |
89 | # General setup | 96 | # General setup |
@@ -94,6 +101,7 @@ CONFIG_BINFMT_ELF=y | |||
94 | # CONFIG_BINFMT_MISC is not set | 101 | # CONFIG_BINFMT_MISC is not set |
95 | CONFIG_PCI_LEGACY_PROC=y | 102 | CONFIG_PCI_LEGACY_PROC=y |
96 | CONFIG_PCI_NAMES=y | 103 | CONFIG_PCI_NAMES=y |
104 | # CONFIG_PCI_DEBUG is not set | ||
97 | 105 | ||
98 | # | 106 | # |
99 | # PCCARD (PCMCIA/CardBus) support | 107 | # PCCARD (PCMCIA/CardBus) support |
@@ -101,10 +109,6 @@ CONFIG_PCI_NAMES=y | |||
101 | # CONFIG_PCCARD is not set | 109 | # CONFIG_PCCARD is not set |
102 | 110 | ||
103 | # | 111 | # |
104 | # PC-card bridges | ||
105 | # | ||
106 | |||
107 | # | ||
108 | # PCI Hotplug Support | 112 | # PCI Hotplug Support |
109 | # | 113 | # |
110 | # CONFIG_HOTPLUG_PCI is not set | 114 | # CONFIG_HOTPLUG_PCI is not set |
@@ -261,7 +265,6 @@ CONFIG_NET=y | |||
261 | # | 265 | # |
262 | CONFIG_PACKET=y | 266 | CONFIG_PACKET=y |
263 | CONFIG_PACKET_MMAP=y | 267 | CONFIG_PACKET_MMAP=y |
264 | # CONFIG_NETLINK_DEV is not set | ||
265 | CONFIG_UNIX=y | 268 | CONFIG_UNIX=y |
266 | # CONFIG_NET_KEY is not set | 269 | # CONFIG_NET_KEY is not set |
267 | CONFIG_INET=y | 270 | CONFIG_INET=y |
@@ -376,6 +379,8 @@ CONFIG_E1000=y | |||
376 | # CONFIG_SK98LIN is not set | 379 | # CONFIG_SK98LIN is not set |
377 | # CONFIG_VIA_VELOCITY is not set | 380 | # CONFIG_VIA_VELOCITY is not set |
378 | # CONFIG_TIGON3 is not set | 381 | # CONFIG_TIGON3 is not set |
382 | # CONFIG_BNX2 is not set | ||
383 | # CONFIG_MV643XX_ETH is not set | ||
379 | 384 | ||
380 | # | 385 | # |
381 | # Ethernet (10000 Mbit) | 386 | # Ethernet (10000 Mbit) |
@@ -432,14 +437,6 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1200 | |||
432 | # CONFIG_INPUT_EVBUG is not set | 437 | # CONFIG_INPUT_EVBUG is not set |
433 | 438 | ||
434 | # | 439 | # |
435 | # Input I/O drivers | ||
436 | # | ||
437 | # CONFIG_GAMEPORT is not set | ||
438 | CONFIG_SOUND_GAMEPORT=y | ||
439 | # CONFIG_SERIO is not set | ||
440 | # CONFIG_SERIO_I8042 is not set | ||
441 | |||
442 | # | ||
443 | # Input Device Drivers | 440 | # Input Device Drivers |
444 | # | 441 | # |
445 | # CONFIG_INPUT_KEYBOARD is not set | 442 | # CONFIG_INPUT_KEYBOARD is not set |
@@ -449,6 +446,12 @@ CONFIG_SOUND_GAMEPORT=y | |||
449 | # CONFIG_INPUT_MISC is not set | 446 | # CONFIG_INPUT_MISC is not set |
450 | 447 | ||
451 | # | 448 | # |
449 | # Hardware I/O ports | ||
450 | # | ||
451 | # CONFIG_SERIO is not set | ||
452 | # CONFIG_GAMEPORT is not set | ||
453 | |||
454 | # | ||
452 | # Character devices | 455 | # Character devices |
453 | # | 456 | # |
454 | CONFIG_VT=y | 457 | CONFIG_VT=y |
@@ -469,7 +472,7 @@ CONFIG_SERIAL_8250_NR_UARTS=4 | |||
469 | # | 472 | # |
470 | CONFIG_SERIAL_CORE=y | 473 | CONFIG_SERIAL_CORE=y |
471 | CONFIG_SERIAL_CORE_CONSOLE=y | 474 | CONFIG_SERIAL_CORE_CONSOLE=y |
472 | # CONFIG_SERIAL_PMACZILOG is not set | 475 | # CONFIG_SERIAL_JSM is not set |
473 | CONFIG_UNIX98_PTYS=y | 476 | CONFIG_UNIX98_PTYS=y |
474 | CONFIG_LEGACY_PTYS=y | 477 | CONFIG_LEGACY_PTYS=y |
475 | CONFIG_LEGACY_PTY_COUNT=256 | 478 | CONFIG_LEGACY_PTY_COUNT=256 |
@@ -492,8 +495,15 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
492 | # | 495 | # |
493 | # Ftape, the floppy tape device driver | 496 | # Ftape, the floppy tape device driver |
494 | # | 497 | # |
498 | # CONFIG_AGP is not set | ||
495 | # CONFIG_DRM is not set | 499 | # CONFIG_DRM is not set |
496 | # CONFIG_RAW_DRIVER is not set | 500 | # CONFIG_RAW_DRIVER is not set |
501 | # CONFIG_HANGCHECK_TIMER is not set | ||
502 | |||
503 | # | ||
504 | # TPM devices | ||
505 | # | ||
506 | # CONFIG_TCG_TPM is not set | ||
497 | 507 | ||
498 | # | 508 | # |
499 | # I2C support | 509 | # I2C support |
@@ -518,8 +528,8 @@ CONFIG_I2C_ALGOBIT=y | |||
518 | CONFIG_I2C_AMD8111=y | 528 | CONFIG_I2C_AMD8111=y |
519 | # CONFIG_I2C_I801 is not set | 529 | # CONFIG_I2C_I801 is not set |
520 | # CONFIG_I2C_I810 is not set | 530 | # CONFIG_I2C_I810 is not set |
531 | # CONFIG_I2C_PIIX4 is not set | ||
521 | # CONFIG_I2C_ISA is not set | 532 | # CONFIG_I2C_ISA is not set |
522 | # CONFIG_I2C_MPC is not set | ||
523 | # CONFIG_I2C_NFORCE2 is not set | 533 | # CONFIG_I2C_NFORCE2 is not set |
524 | # CONFIG_I2C_PARPORT_LIGHT is not set | 534 | # CONFIG_I2C_PARPORT_LIGHT is not set |
525 | # CONFIG_I2C_PROSAVAGE is not set | 535 | # CONFIG_I2C_PROSAVAGE is not set |
@@ -545,7 +555,9 @@ CONFIG_I2C_AMD8111=y | |||
545 | # CONFIG_SENSORS_ASB100 is not set | 555 | # CONFIG_SENSORS_ASB100 is not set |
546 | # CONFIG_SENSORS_DS1621 is not set | 556 | # CONFIG_SENSORS_DS1621 is not set |
547 | # CONFIG_SENSORS_FSCHER is not set | 557 | # CONFIG_SENSORS_FSCHER is not set |
558 | # CONFIG_SENSORS_FSCPOS is not set | ||
548 | # CONFIG_SENSORS_GL518SM is not set | 559 | # CONFIG_SENSORS_GL518SM is not set |
560 | # CONFIG_SENSORS_GL520SM is not set | ||
549 | # CONFIG_SENSORS_IT87 is not set | 561 | # CONFIG_SENSORS_IT87 is not set |
550 | # CONFIG_SENSORS_LM63 is not set | 562 | # CONFIG_SENSORS_LM63 is not set |
551 | # CONFIG_SENSORS_LM75 is not set | 563 | # CONFIG_SENSORS_LM75 is not set |
@@ -556,9 +568,11 @@ CONFIG_I2C_AMD8111=y | |||
556 | # CONFIG_SENSORS_LM85 is not set | 568 | # CONFIG_SENSORS_LM85 is not set |
557 | # CONFIG_SENSORS_LM87 is not set | 569 | # CONFIG_SENSORS_LM87 is not set |
558 | # CONFIG_SENSORS_LM90 is not set | 570 | # CONFIG_SENSORS_LM90 is not set |
571 | # CONFIG_SENSORS_LM92 is not set | ||
559 | # CONFIG_SENSORS_MAX1619 is not set | 572 | # CONFIG_SENSORS_MAX1619 is not set |
560 | # CONFIG_SENSORS_PC87360 is not set | 573 | # CONFIG_SENSORS_PC87360 is not set |
561 | # CONFIG_SENSORS_SMSC47B397 is not set | 574 | # CONFIG_SENSORS_SMSC47B397 is not set |
575 | # CONFIG_SENSORS_SIS5595 is not set | ||
562 | # CONFIG_SENSORS_SMSC47M1 is not set | 576 | # CONFIG_SENSORS_SMSC47M1 is not set |
563 | # CONFIG_SENSORS_VIA686A is not set | 577 | # CONFIG_SENSORS_VIA686A is not set |
564 | # CONFIG_SENSORS_W83781D is not set | 578 | # CONFIG_SENSORS_W83781D is not set |
@@ -568,6 +582,7 @@ CONFIG_I2C_AMD8111=y | |||
568 | # | 582 | # |
569 | # Other I2C Chip support | 583 | # Other I2C Chip support |
570 | # | 584 | # |
585 | # CONFIG_SENSORS_DS1337 is not set | ||
571 | # CONFIG_SENSORS_EEPROM is not set | 586 | # CONFIG_SENSORS_EEPROM is not set |
572 | # CONFIG_SENSORS_PCF8574 is not set | 587 | # CONFIG_SENSORS_PCF8574 is not set |
573 | # CONFIG_SENSORS_PCF8591 is not set | 588 | # CONFIG_SENSORS_PCF8591 is not set |
@@ -615,6 +630,8 @@ CONFIG_DUMMY_CONSOLE=y | |||
615 | # | 630 | # |
616 | # USB support | 631 | # USB support |
617 | # | 632 | # |
633 | CONFIG_USB_ARCH_HAS_HCD=y | ||
634 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
618 | CONFIG_USB=y | 635 | CONFIG_USB=y |
619 | # CONFIG_USB_DEBUG is not set | 636 | # CONFIG_USB_DEBUG is not set |
620 | 637 | ||
@@ -625,8 +642,6 @@ CONFIG_USB_DEVICEFS=y | |||
625 | # CONFIG_USB_BANDWIDTH is not set | 642 | # CONFIG_USB_BANDWIDTH is not set |
626 | # CONFIG_USB_DYNAMIC_MINORS is not set | 643 | # CONFIG_USB_DYNAMIC_MINORS is not set |
627 | # CONFIG_USB_OTG is not set | 644 | # CONFIG_USB_OTG is not set |
628 | CONFIG_USB_ARCH_HAS_HCD=y | ||
629 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
630 | 645 | ||
631 | # | 646 | # |
632 | # USB Host Controller Drivers | 647 | # USB Host Controller Drivers |
@@ -635,6 +650,8 @@ CONFIG_USB_EHCI_HCD=y | |||
635 | CONFIG_USB_EHCI_SPLIT_ISO=y | 650 | CONFIG_USB_EHCI_SPLIT_ISO=y |
636 | CONFIG_USB_EHCI_ROOT_HUB_TT=y | 651 | CONFIG_USB_EHCI_ROOT_HUB_TT=y |
637 | CONFIG_USB_OHCI_HCD=y | 652 | CONFIG_USB_OHCI_HCD=y |
653 | # CONFIG_USB_OHCI_BIG_ENDIAN is not set | ||
654 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
638 | CONFIG_USB_UHCI_HCD=y | 655 | CONFIG_USB_UHCI_HCD=y |
639 | # CONFIG_USB_SL811_HCD is not set | 656 | # CONFIG_USB_SL811_HCD is not set |
640 | 657 | ||
@@ -688,6 +705,7 @@ CONFIG_USB_HIDINPUT=y | |||
688 | CONFIG_USB_PEGASUS=y | 705 | CONFIG_USB_PEGASUS=y |
689 | # CONFIG_USB_RTL8150 is not set | 706 | # CONFIG_USB_RTL8150 is not set |
690 | # CONFIG_USB_USBNET is not set | 707 | # CONFIG_USB_USBNET is not set |
708 | CONFIG_USB_MON=y | ||
691 | 709 | ||
692 | # | 710 | # |
693 | # USB port drivers | 711 | # USB port drivers |
@@ -699,8 +717,10 @@ CONFIG_USB_PEGASUS=y | |||
699 | CONFIG_USB_SERIAL=y | 717 | CONFIG_USB_SERIAL=y |
700 | # CONFIG_USB_SERIAL_CONSOLE is not set | 718 | # CONFIG_USB_SERIAL_CONSOLE is not set |
701 | CONFIG_USB_SERIAL_GENERIC=y | 719 | CONFIG_USB_SERIAL_GENERIC=y |
720 | # CONFIG_USB_SERIAL_AIRPRIME is not set | ||
702 | # CONFIG_USB_SERIAL_BELKIN is not set | 721 | # CONFIG_USB_SERIAL_BELKIN is not set |
703 | # CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set | 722 | # CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set |
723 | # CONFIG_USB_SERIAL_CP2101 is not set | ||
704 | CONFIG_USB_SERIAL_CYPRESS_M8=m | 724 | CONFIG_USB_SERIAL_CYPRESS_M8=m |
705 | # CONFIG_USB_SERIAL_EMPEG is not set | 725 | # CONFIG_USB_SERIAL_EMPEG is not set |
706 | # CONFIG_USB_SERIAL_FTDI_SIO is not set | 726 | # CONFIG_USB_SERIAL_FTDI_SIO is not set |
@@ -729,6 +749,7 @@ CONFIG_USB_SERIAL_KEYSPAN_USA49WLC=y | |||
729 | # CONFIG_USB_SERIAL_KOBIL_SCT is not set | 749 | # CONFIG_USB_SERIAL_KOBIL_SCT is not set |
730 | # CONFIG_USB_SERIAL_MCT_U232 is not set | 750 | # CONFIG_USB_SERIAL_MCT_U232 is not set |
731 | # CONFIG_USB_SERIAL_PL2303 is not set | 751 | # CONFIG_USB_SERIAL_PL2303 is not set |
752 | # CONFIG_USB_SERIAL_HP4X is not set | ||
732 | # CONFIG_USB_SERIAL_SAFE is not set | 753 | # CONFIG_USB_SERIAL_SAFE is not set |
733 | CONFIG_USB_SERIAL_TI=m | 754 | CONFIG_USB_SERIAL_TI=m |
734 | # CONFIG_USB_SERIAL_CYBERJACK is not set | 755 | # CONFIG_USB_SERIAL_CYBERJACK is not set |
@@ -750,6 +771,7 @@ CONFIG_USB_EZUSB=y | |||
750 | # CONFIG_USB_PHIDGETKIT is not set | 771 | # CONFIG_USB_PHIDGETKIT is not set |
751 | # CONFIG_USB_PHIDGETSERVO is not set | 772 | # CONFIG_USB_PHIDGETSERVO is not set |
752 | # CONFIG_USB_IDMOUSE is not set | 773 | # CONFIG_USB_IDMOUSE is not set |
774 | # CONFIG_USB_SISUSBVGA is not set | ||
753 | # CONFIG_USB_TEST is not set | 775 | # CONFIG_USB_TEST is not set |
754 | 776 | ||
755 | # | 777 | # |
@@ -936,10 +958,13 @@ CONFIG_NLS_UTF8=y | |||
936 | # | 958 | # |
937 | # Kernel hacking | 959 | # Kernel hacking |
938 | # | 960 | # |
961 | # CONFIG_PRINTK_TIME is not set | ||
939 | CONFIG_DEBUG_KERNEL=y | 962 | CONFIG_DEBUG_KERNEL=y |
940 | CONFIG_MAGIC_SYSRQ=y | 963 | CONFIG_MAGIC_SYSRQ=y |
964 | CONFIG_LOG_BUF_SHIFT=17 | ||
941 | # CONFIG_SCHEDSTATS is not set | 965 | # CONFIG_SCHEDSTATS is not set |
942 | CONFIG_DEBUG_SLAB=y | 966 | CONFIG_DEBUG_SLAB=y |
967 | # CONFIG_DEBUG_SPINLOCK is not set | ||
943 | CONFIG_DEBUG_SPINLOCK_SLEEP=y | 968 | CONFIG_DEBUG_SPINLOCK_SLEEP=y |
944 | # CONFIG_DEBUG_KOBJECT is not set | 969 | # CONFIG_DEBUG_KOBJECT is not set |
945 | # CONFIG_DEBUG_INFO is not set | 970 | # CONFIG_DEBUG_INFO is not set |
@@ -971,6 +996,7 @@ CONFIG_CRYPTO_MD5=y | |||
971 | # CONFIG_CRYPTO_SHA256 is not set | 996 | # CONFIG_CRYPTO_SHA256 is not set |
972 | # CONFIG_CRYPTO_SHA512 is not set | 997 | # CONFIG_CRYPTO_SHA512 is not set |
973 | # CONFIG_CRYPTO_WP512 is not set | 998 | # CONFIG_CRYPTO_WP512 is not set |
999 | # CONFIG_CRYPTO_TGR192 is not set | ||
974 | CONFIG_CRYPTO_DES=y | 1000 | CONFIG_CRYPTO_DES=y |
975 | # CONFIG_CRYPTO_BLOWFISH is not set | 1001 | # CONFIG_CRYPTO_BLOWFISH is not set |
976 | # CONFIG_CRYPTO_TWOFISH is not set | 1002 | # CONFIG_CRYPTO_TWOFISH is not set |
diff --git a/arch/ppc64/configs/pSeries_defconfig b/arch/ppc64/configs/pSeries_defconfig index 4fecf237d5c9..3eb5ef25d3a3 100644 --- a/arch/ppc64/configs/pSeries_defconfig +++ b/arch/ppc64/configs/pSeries_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.11-rc3-bk6 | 3 | # Linux kernel version: 2.6.12-rc6 |
4 | # Wed Feb 9 23:34:54 2005 | 4 | # Tue Jun 14 17:13:47 2005 |
5 | # | 5 | # |
6 | CONFIG_64BIT=y | 6 | CONFIG_64BIT=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -11,7 +11,7 @@ CONFIG_GENERIC_ISA_DMA=y | |||
11 | CONFIG_HAVE_DEC_LOCK=y | 11 | CONFIG_HAVE_DEC_LOCK=y |
12 | CONFIG_EARLY_PRINTK=y | 12 | CONFIG_EARLY_PRINTK=y |
13 | CONFIG_COMPAT=y | 13 | CONFIG_COMPAT=y |
14 | CONFIG_FRAME_POINTER=y | 14 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y |
15 | CONFIG_FORCE_MAX_ZONEORDER=13 | 15 | CONFIG_FORCE_MAX_ZONEORDER=13 |
16 | 16 | ||
17 | # | 17 | # |
@@ -20,6 +20,7 @@ CONFIG_FORCE_MAX_ZONEORDER=13 | |||
20 | CONFIG_EXPERIMENTAL=y | 20 | CONFIG_EXPERIMENTAL=y |
21 | CONFIG_CLEAN_COMPILE=y | 21 | CONFIG_CLEAN_COMPILE=y |
22 | CONFIG_LOCK_KERNEL=y | 22 | CONFIG_LOCK_KERNEL=y |
23 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
23 | 24 | ||
24 | # | 25 | # |
25 | # General setup | 26 | # General setup |
@@ -30,24 +31,29 @@ CONFIG_SYSVIPC=y | |||
30 | CONFIG_POSIX_MQUEUE=y | 31 | CONFIG_POSIX_MQUEUE=y |
31 | # CONFIG_BSD_PROCESS_ACCT is not set | 32 | # CONFIG_BSD_PROCESS_ACCT is not set |
32 | CONFIG_SYSCTL=y | 33 | CONFIG_SYSCTL=y |
33 | CONFIG_LOG_BUF_SHIFT=17 | 34 | CONFIG_AUDIT=y |
35 | CONFIG_AUDITSYSCALL=y | ||
34 | CONFIG_HOTPLUG=y | 36 | CONFIG_HOTPLUG=y |
35 | CONFIG_KOBJECT_UEVENT=y | 37 | CONFIG_KOBJECT_UEVENT=y |
36 | CONFIG_IKCONFIG=y | 38 | CONFIG_IKCONFIG=y |
37 | CONFIG_IKCONFIG_PROC=y | 39 | CONFIG_IKCONFIG_PROC=y |
40 | CONFIG_CPUSETS=y | ||
38 | # CONFIG_EMBEDDED is not set | 41 | # CONFIG_EMBEDDED is not set |
39 | CONFIG_KALLSYMS=y | 42 | CONFIG_KALLSYMS=y |
40 | CONFIG_KALLSYMS_ALL=y | 43 | CONFIG_KALLSYMS_ALL=y |
41 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 44 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
45 | CONFIG_PRINTK=y | ||
46 | CONFIG_BUG=y | ||
47 | CONFIG_BASE_FULL=y | ||
42 | CONFIG_FUTEX=y | 48 | CONFIG_FUTEX=y |
43 | CONFIG_EPOLL=y | 49 | CONFIG_EPOLL=y |
44 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
45 | CONFIG_SHMEM=y | 50 | CONFIG_SHMEM=y |
46 | CONFIG_CC_ALIGN_FUNCTIONS=0 | 51 | CONFIG_CC_ALIGN_FUNCTIONS=0 |
47 | CONFIG_CC_ALIGN_LABELS=0 | 52 | CONFIG_CC_ALIGN_LABELS=0 |
48 | CONFIG_CC_ALIGN_LOOPS=0 | 53 | CONFIG_CC_ALIGN_LOOPS=0 |
49 | CONFIG_CC_ALIGN_JUMPS=0 | 54 | CONFIG_CC_ALIGN_JUMPS=0 |
50 | # CONFIG_TINY_SHMEM is not set | 55 | # CONFIG_TINY_SHMEM is not set |
56 | CONFIG_BASE_SMALL=0 | ||
51 | 57 | ||
52 | # | 58 | # |
53 | # Loadable module support | 59 | # Loadable module support |
@@ -89,9 +95,12 @@ CONFIG_SCHED_SMT=y | |||
89 | CONFIG_EEH=y | 95 | CONFIG_EEH=y |
90 | CONFIG_GENERIC_HARDIRQS=y | 96 | CONFIG_GENERIC_HARDIRQS=y |
91 | CONFIG_PPC_RTAS=y | 97 | CONFIG_PPC_RTAS=y |
98 | CONFIG_RTAS_PROC=y | ||
92 | CONFIG_RTAS_FLASH=m | 99 | CONFIG_RTAS_FLASH=m |
93 | CONFIG_SCANLOG=m | 100 | CONFIG_SCANLOG=m |
94 | CONFIG_LPARCFG=y | 101 | CONFIG_LPARCFG=y |
102 | CONFIG_SECCOMP=y | ||
103 | CONFIG_ISA_DMA_API=y | ||
95 | 104 | ||
96 | # | 105 | # |
97 | # General setup | 106 | # General setup |
@@ -102,6 +111,7 @@ CONFIG_BINFMT_ELF=y | |||
102 | # CONFIG_BINFMT_MISC is not set | 111 | # CONFIG_BINFMT_MISC is not set |
103 | CONFIG_PCI_LEGACY_PROC=y | 112 | CONFIG_PCI_LEGACY_PROC=y |
104 | CONFIG_PCI_NAMES=y | 113 | CONFIG_PCI_NAMES=y |
114 | # CONFIG_PCI_DEBUG is not set | ||
105 | CONFIG_HOTPLUG_CPU=y | 115 | CONFIG_HOTPLUG_CPU=y |
106 | 116 | ||
107 | # | 117 | # |
@@ -110,10 +120,6 @@ CONFIG_HOTPLUG_CPU=y | |||
110 | # CONFIG_PCCARD is not set | 120 | # CONFIG_PCCARD is not set |
111 | 121 | ||
112 | # | 122 | # |
113 | # PC-card bridges | ||
114 | # | ||
115 | |||
116 | # | ||
117 | # PCI Hotplug Support | 123 | # PCI Hotplug Support |
118 | # | 124 | # |
119 | CONFIG_HOTPLUG_PCI=m | 125 | CONFIG_HOTPLUG_PCI=m |
@@ -147,11 +153,10 @@ CONFIG_FW_LOADER=y | |||
147 | # | 153 | # |
148 | CONFIG_PARPORT=m | 154 | CONFIG_PARPORT=m |
149 | CONFIG_PARPORT_PC=m | 155 | CONFIG_PARPORT_PC=m |
150 | CONFIG_PARPORT_PC_CML1=m | ||
151 | # CONFIG_PARPORT_SERIAL is not set | 156 | # CONFIG_PARPORT_SERIAL is not set |
152 | # CONFIG_PARPORT_PC_FIFO is not set | 157 | # CONFIG_PARPORT_PC_FIFO is not set |
153 | # CONFIG_PARPORT_PC_SUPERIO is not set | 158 | # CONFIG_PARPORT_PC_SUPERIO is not set |
154 | # CONFIG_PARPORT_OTHER is not set | 159 | # CONFIG_PARPORT_GSC is not set |
155 | # CONFIG_PARPORT_1284 is not set | 160 | # CONFIG_PARPORT_1284 is not set |
156 | 161 | ||
157 | # | 162 | # |
@@ -293,7 +298,6 @@ CONFIG_SCSI_ISCSI_ATTRS=m | |||
293 | # CONFIG_SCSI_BUSLOGIC is not set | 298 | # CONFIG_SCSI_BUSLOGIC is not set |
294 | # CONFIG_SCSI_DMX3191D is not set | 299 | # CONFIG_SCSI_DMX3191D is not set |
295 | # CONFIG_SCSI_EATA is not set | 300 | # CONFIG_SCSI_EATA is not set |
296 | # CONFIG_SCSI_EATA_PIO is not set | ||
297 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | 301 | # CONFIG_SCSI_FUTURE_DOMAIN is not set |
298 | # CONFIG_SCSI_GDTH is not set | 302 | # CONFIG_SCSI_GDTH is not set |
299 | # CONFIG_SCSI_IPS is not set | 303 | # CONFIG_SCSI_IPS is not set |
@@ -310,7 +314,6 @@ CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 | |||
310 | CONFIG_SCSI_IPR=y | 314 | CONFIG_SCSI_IPR=y |
311 | CONFIG_SCSI_IPR_TRACE=y | 315 | CONFIG_SCSI_IPR_TRACE=y |
312 | CONFIG_SCSI_IPR_DUMP=y | 316 | CONFIG_SCSI_IPR_DUMP=y |
313 | # CONFIG_SCSI_QLOGIC_ISP is not set | ||
314 | # CONFIG_SCSI_QLOGIC_FC is not set | 317 | # CONFIG_SCSI_QLOGIC_FC is not set |
315 | # CONFIG_SCSI_QLOGIC_1280 is not set | 318 | # CONFIG_SCSI_QLOGIC_1280 is not set |
316 | CONFIG_SCSI_QLA2XXX=y | 319 | CONFIG_SCSI_QLA2XXX=y |
@@ -319,6 +322,7 @@ CONFIG_SCSI_QLA22XX=m | |||
319 | CONFIG_SCSI_QLA2300=m | 322 | CONFIG_SCSI_QLA2300=m |
320 | CONFIG_SCSI_QLA2322=m | 323 | CONFIG_SCSI_QLA2322=m |
321 | CONFIG_SCSI_QLA6312=m | 324 | CONFIG_SCSI_QLA6312=m |
325 | CONFIG_SCSI_LPFC=m | ||
322 | # CONFIG_SCSI_DC395x is not set | 326 | # CONFIG_SCSI_DC395x is not set |
323 | # CONFIG_SCSI_DC390T is not set | 327 | # CONFIG_SCSI_DC390T is not set |
324 | # CONFIG_SCSI_DEBUG is not set | 328 | # CONFIG_SCSI_DEBUG is not set |
@@ -341,6 +345,8 @@ CONFIG_DM_CRYPT=m | |||
341 | CONFIG_DM_SNAPSHOT=m | 345 | CONFIG_DM_SNAPSHOT=m |
342 | CONFIG_DM_MIRROR=m | 346 | CONFIG_DM_MIRROR=m |
343 | CONFIG_DM_ZERO=m | 347 | CONFIG_DM_ZERO=m |
348 | CONFIG_DM_MULTIPATH=m | ||
349 | CONFIG_DM_MULTIPATH_EMC=m | ||
344 | 350 | ||
345 | # | 351 | # |
346 | # Fusion MPT device support | 352 | # Fusion MPT device support |
@@ -371,7 +377,6 @@ CONFIG_NET=y | |||
371 | # | 377 | # |
372 | CONFIG_PACKET=y | 378 | CONFIG_PACKET=y |
373 | # CONFIG_PACKET_MMAP is not set | 379 | # CONFIG_PACKET_MMAP is not set |
374 | # CONFIG_NETLINK_DEV is not set | ||
375 | CONFIG_UNIX=y | 380 | CONFIG_UNIX=y |
376 | CONFIG_NET_KEY=m | 381 | CONFIG_NET_KEY=m |
377 | CONFIG_INET=y | 382 | CONFIG_INET=y |
@@ -539,7 +544,6 @@ CONFIG_PCNET32=y | |||
539 | # CONFIG_DGRS is not set | 544 | # CONFIG_DGRS is not set |
540 | # CONFIG_EEPRO100 is not set | 545 | # CONFIG_EEPRO100 is not set |
541 | CONFIG_E100=y | 546 | CONFIG_E100=y |
542 | # CONFIG_E100_NAPI is not set | ||
543 | # CONFIG_FEALNX is not set | 547 | # CONFIG_FEALNX is not set |
544 | # CONFIG_NATSEMI is not set | 548 | # CONFIG_NATSEMI is not set |
545 | # CONFIG_NE2K_PCI is not set | 549 | # CONFIG_NE2K_PCI is not set |
@@ -565,6 +569,8 @@ CONFIG_E1000=y | |||
565 | # CONFIG_SK98LIN is not set | 569 | # CONFIG_SK98LIN is not set |
566 | # CONFIG_VIA_VELOCITY is not set | 570 | # CONFIG_VIA_VELOCITY is not set |
567 | CONFIG_TIGON3=y | 571 | CONFIG_TIGON3=y |
572 | # CONFIG_BNX2 is not set | ||
573 | # CONFIG_MV643XX_ETH is not set | ||
568 | 574 | ||
569 | # | 575 | # |
570 | # Ethernet (10000 Mbit) | 576 | # Ethernet (10000 Mbit) |
@@ -636,20 +642,6 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | |||
636 | # CONFIG_INPUT_EVBUG is not set | 642 | # CONFIG_INPUT_EVBUG is not set |
637 | 643 | ||
638 | # | 644 | # |
639 | # Input I/O drivers | ||
640 | # | ||
641 | # CONFIG_GAMEPORT is not set | ||
642 | CONFIG_SOUND_GAMEPORT=y | ||
643 | CONFIG_SERIO=y | ||
644 | CONFIG_SERIO_I8042=y | ||
645 | # CONFIG_SERIO_SERPORT is not set | ||
646 | # CONFIG_SERIO_CT82C710 is not set | ||
647 | # CONFIG_SERIO_PARKBD is not set | ||
648 | # CONFIG_SERIO_PCIPS2 is not set | ||
649 | CONFIG_SERIO_LIBPS2=y | ||
650 | # CONFIG_SERIO_RAW is not set | ||
651 | |||
652 | # | ||
653 | # Input Device Drivers | 645 | # Input Device Drivers |
654 | # | 646 | # |
655 | CONFIG_INPUT_KEYBOARD=y | 647 | CONFIG_INPUT_KEYBOARD=y |
@@ -669,6 +661,18 @@ CONFIG_INPUT_PCSPKR=m | |||
669 | # CONFIG_INPUT_UINPUT is not set | 661 | # CONFIG_INPUT_UINPUT is not set |
670 | 662 | ||
671 | # | 663 | # |
664 | # Hardware I/O ports | ||
665 | # | ||
666 | CONFIG_SERIO=y | ||
667 | CONFIG_SERIO_I8042=y | ||
668 | # CONFIG_SERIO_SERPORT is not set | ||
669 | # CONFIG_SERIO_PARKBD is not set | ||
670 | # CONFIG_SERIO_PCIPS2 is not set | ||
671 | CONFIG_SERIO_LIBPS2=y | ||
672 | # CONFIG_SERIO_RAW is not set | ||
673 | # CONFIG_GAMEPORT is not set | ||
674 | |||
675 | # | ||
672 | # Character devices | 676 | # Character devices |
673 | # | 677 | # |
674 | CONFIG_VT=y | 678 | CONFIG_VT=y |
@@ -689,8 +693,8 @@ CONFIG_SERIAL_8250_NR_UARTS=4 | |||
689 | # | 693 | # |
690 | CONFIG_SERIAL_CORE=y | 694 | CONFIG_SERIAL_CORE=y |
691 | CONFIG_SERIAL_CORE_CONSOLE=y | 695 | CONFIG_SERIAL_CORE_CONSOLE=y |
692 | # CONFIG_SERIAL_PMACZILOG is not set | ||
693 | CONFIG_SERIAL_ICOM=m | 696 | CONFIG_SERIAL_ICOM=m |
697 | # CONFIG_SERIAL_JSM is not set | ||
694 | CONFIG_UNIX98_PTYS=y | 698 | CONFIG_UNIX98_PTYS=y |
695 | CONFIG_LEGACY_PTYS=y | 699 | CONFIG_LEGACY_PTYS=y |
696 | CONFIG_LEGACY_PTY_COUNT=256 | 700 | CONFIG_LEGACY_PTY_COUNT=256 |
@@ -718,9 +722,16 @@ CONFIG_HVCS=m | |||
718 | # | 722 | # |
719 | # Ftape, the floppy tape device driver | 723 | # Ftape, the floppy tape device driver |
720 | # | 724 | # |
725 | # CONFIG_AGP is not set | ||
721 | # CONFIG_DRM is not set | 726 | # CONFIG_DRM is not set |
722 | CONFIG_RAW_DRIVER=y | 727 | CONFIG_RAW_DRIVER=y |
723 | CONFIG_MAX_RAW_DEVS=1024 | 728 | CONFIG_MAX_RAW_DEVS=1024 |
729 | # CONFIG_HANGCHECK_TIMER is not set | ||
730 | |||
731 | # | ||
732 | # TPM devices | ||
733 | # | ||
734 | # CONFIG_TCG_TPM is not set | ||
724 | 735 | ||
725 | # | 736 | # |
726 | # I2C support | 737 | # I2C support |
@@ -745,8 +756,8 @@ CONFIG_I2C_ALGOBIT=y | |||
745 | # CONFIG_I2C_AMD8111 is not set | 756 | # CONFIG_I2C_AMD8111 is not set |
746 | # CONFIG_I2C_I801 is not set | 757 | # CONFIG_I2C_I801 is not set |
747 | # CONFIG_I2C_I810 is not set | 758 | # CONFIG_I2C_I810 is not set |
759 | # CONFIG_I2C_PIIX4 is not set | ||
748 | # CONFIG_I2C_ISA is not set | 760 | # CONFIG_I2C_ISA is not set |
749 | # CONFIG_I2C_MPC is not set | ||
750 | # CONFIG_I2C_NFORCE2 is not set | 761 | # CONFIG_I2C_NFORCE2 is not set |
751 | # CONFIG_I2C_PARPORT is not set | 762 | # CONFIG_I2C_PARPORT is not set |
752 | # CONFIG_I2C_PARPORT_LIGHT is not set | 763 | # CONFIG_I2C_PARPORT_LIGHT is not set |
@@ -773,7 +784,9 @@ CONFIG_I2C_ALGOBIT=y | |||
773 | # CONFIG_SENSORS_ASB100 is not set | 784 | # CONFIG_SENSORS_ASB100 is not set |
774 | # CONFIG_SENSORS_DS1621 is not set | 785 | # CONFIG_SENSORS_DS1621 is not set |
775 | # CONFIG_SENSORS_FSCHER is not set | 786 | # CONFIG_SENSORS_FSCHER is not set |
787 | # CONFIG_SENSORS_FSCPOS is not set | ||
776 | # CONFIG_SENSORS_GL518SM is not set | 788 | # CONFIG_SENSORS_GL518SM is not set |
789 | # CONFIG_SENSORS_GL520SM is not set | ||
777 | # CONFIG_SENSORS_IT87 is not set | 790 | # CONFIG_SENSORS_IT87 is not set |
778 | # CONFIG_SENSORS_LM63 is not set | 791 | # CONFIG_SENSORS_LM63 is not set |
779 | # CONFIG_SENSORS_LM75 is not set | 792 | # CONFIG_SENSORS_LM75 is not set |
@@ -784,9 +797,11 @@ CONFIG_I2C_ALGOBIT=y | |||
784 | # CONFIG_SENSORS_LM85 is not set | 797 | # CONFIG_SENSORS_LM85 is not set |
785 | # CONFIG_SENSORS_LM87 is not set | 798 | # CONFIG_SENSORS_LM87 is not set |
786 | # CONFIG_SENSORS_LM90 is not set | 799 | # CONFIG_SENSORS_LM90 is not set |
800 | # CONFIG_SENSORS_LM92 is not set | ||
787 | # CONFIG_SENSORS_MAX1619 is not set | 801 | # CONFIG_SENSORS_MAX1619 is not set |
788 | # CONFIG_SENSORS_PC87360 is not set | 802 | # CONFIG_SENSORS_PC87360 is not set |
789 | # CONFIG_SENSORS_SMSC47B397 is not set | 803 | # CONFIG_SENSORS_SMSC47B397 is not set |
804 | # CONFIG_SENSORS_SIS5595 is not set | ||
790 | # CONFIG_SENSORS_SMSC47M1 is not set | 805 | # CONFIG_SENSORS_SMSC47M1 is not set |
791 | # CONFIG_SENSORS_VIA686A is not set | 806 | # CONFIG_SENSORS_VIA686A is not set |
792 | # CONFIG_SENSORS_W83781D is not set | 807 | # CONFIG_SENSORS_W83781D is not set |
@@ -796,6 +811,7 @@ CONFIG_I2C_ALGOBIT=y | |||
796 | # | 811 | # |
797 | # Other I2C Chip support | 812 | # Other I2C Chip support |
798 | # | 813 | # |
814 | # CONFIG_SENSORS_DS1337 is not set | ||
799 | # CONFIG_SENSORS_EEPROM is not set | 815 | # CONFIG_SENSORS_EEPROM is not set |
800 | # CONFIG_SENSORS_PCF8574 is not set | 816 | # CONFIG_SENSORS_PCF8574 is not set |
801 | # CONFIG_SENSORS_PCF8591 is not set | 817 | # CONFIG_SENSORS_PCF8591 is not set |
@@ -828,8 +844,13 @@ CONFIG_I2C_ALGOBIT=y | |||
828 | # Graphics support | 844 | # Graphics support |
829 | # | 845 | # |
830 | CONFIG_FB=y | 846 | CONFIG_FB=y |
847 | CONFIG_FB_CFB_FILLRECT=y | ||
848 | CONFIG_FB_CFB_COPYAREA=y | ||
849 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
850 | CONFIG_FB_SOFT_CURSOR=y | ||
851 | CONFIG_FB_MACMODES=y | ||
831 | CONFIG_FB_MODE_HELPERS=y | 852 | CONFIG_FB_MODE_HELPERS=y |
832 | # CONFIG_FB_TILEBLITTING is not set | 853 | CONFIG_FB_TILEBLITTING=y |
833 | # CONFIG_FB_CIRRUS is not set | 854 | # CONFIG_FB_CIRRUS is not set |
834 | # CONFIG_FB_PM2 is not set | 855 | # CONFIG_FB_PM2 is not set |
835 | # CONFIG_FB_CYBER2000 is not set | 856 | # CONFIG_FB_CYBER2000 is not set |
@@ -838,6 +859,7 @@ CONFIG_FB_OF=y | |||
838 | # CONFIG_FB_ASILIANT is not set | 859 | # CONFIG_FB_ASILIANT is not set |
839 | # CONFIG_FB_IMSTT is not set | 860 | # CONFIG_FB_IMSTT is not set |
840 | # CONFIG_FB_VGA16 is not set | 861 | # CONFIG_FB_VGA16 is not set |
862 | # CONFIG_FB_NVIDIA is not set | ||
841 | # CONFIG_FB_RIVA is not set | 863 | # CONFIG_FB_RIVA is not set |
842 | CONFIG_FB_MATROX=y | 864 | CONFIG_FB_MATROX=y |
843 | CONFIG_FB_MATROX_MILLENIUM=y | 865 | CONFIG_FB_MATROX_MILLENIUM=y |
@@ -858,6 +880,7 @@ CONFIG_FB_RADEON_I2C=y | |||
858 | # CONFIG_FB_3DFX is not set | 880 | # CONFIG_FB_3DFX is not set |
859 | # CONFIG_FB_VOODOO1 is not set | 881 | # CONFIG_FB_VOODOO1 is not set |
860 | # CONFIG_FB_TRIDENT is not set | 882 | # CONFIG_FB_TRIDENT is not set |
883 | # CONFIG_FB_S1D13XXX is not set | ||
861 | # CONFIG_FB_VIRTUAL is not set | 884 | # CONFIG_FB_VIRTUAL is not set |
862 | 885 | ||
863 | # | 886 | # |
@@ -891,6 +914,8 @@ CONFIG_LCD_DEVICE=y | |||
891 | # | 914 | # |
892 | # USB support | 915 | # USB support |
893 | # | 916 | # |
917 | CONFIG_USB_ARCH_HAS_HCD=y | ||
918 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
894 | CONFIG_USB=y | 919 | CONFIG_USB=y |
895 | # CONFIG_USB_DEBUG is not set | 920 | # CONFIG_USB_DEBUG is not set |
896 | 921 | ||
@@ -901,8 +926,6 @@ CONFIG_USB_DEVICEFS=y | |||
901 | # CONFIG_USB_BANDWIDTH is not set | 926 | # CONFIG_USB_BANDWIDTH is not set |
902 | # CONFIG_USB_DYNAMIC_MINORS is not set | 927 | # CONFIG_USB_DYNAMIC_MINORS is not set |
903 | # CONFIG_USB_OTG is not set | 928 | # CONFIG_USB_OTG is not set |
904 | CONFIG_USB_ARCH_HAS_HCD=y | ||
905 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
906 | 929 | ||
907 | # | 930 | # |
908 | # USB Host Controller Drivers | 931 | # USB Host Controller Drivers |
@@ -911,6 +934,8 @@ CONFIG_USB_EHCI_HCD=y | |||
911 | # CONFIG_USB_EHCI_SPLIT_ISO is not set | 934 | # CONFIG_USB_EHCI_SPLIT_ISO is not set |
912 | # CONFIG_USB_EHCI_ROOT_HUB_TT is not set | 935 | # CONFIG_USB_EHCI_ROOT_HUB_TT is not set |
913 | CONFIG_USB_OHCI_HCD=y | 936 | CONFIG_USB_OHCI_HCD=y |
937 | # CONFIG_USB_OHCI_BIG_ENDIAN is not set | ||
938 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
914 | # CONFIG_USB_UHCI_HCD is not set | 939 | # CONFIG_USB_UHCI_HCD is not set |
915 | # CONFIG_USB_SL811_HCD is not set | 940 | # CONFIG_USB_SL811_HCD is not set |
916 | 941 | ||
@@ -926,12 +951,11 @@ CONFIG_USB_OHCI_HCD=y | |||
926 | # | 951 | # |
927 | CONFIG_USB_STORAGE=y | 952 | CONFIG_USB_STORAGE=y |
928 | # CONFIG_USB_STORAGE_DEBUG is not set | 953 | # CONFIG_USB_STORAGE_DEBUG is not set |
929 | # CONFIG_USB_STORAGE_RW_DETECT is not set | ||
930 | # CONFIG_USB_STORAGE_DATAFAB is not set | 954 | # CONFIG_USB_STORAGE_DATAFAB is not set |
931 | # CONFIG_USB_STORAGE_FREECOM is not set | 955 | # CONFIG_USB_STORAGE_FREECOM is not set |
932 | # CONFIG_USB_STORAGE_ISD200 is not set | 956 | # CONFIG_USB_STORAGE_ISD200 is not set |
933 | # CONFIG_USB_STORAGE_DPCM is not set | 957 | # CONFIG_USB_STORAGE_DPCM is not set |
934 | # CONFIG_USB_STORAGE_HP8200e is not set | 958 | # CONFIG_USB_STORAGE_USBAT is not set |
935 | # CONFIG_USB_STORAGE_SDDR09 is not set | 959 | # CONFIG_USB_STORAGE_SDDR09 is not set |
936 | # CONFIG_USB_STORAGE_SDDR55 is not set | 960 | # CONFIG_USB_STORAGE_SDDR55 is not set |
937 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | 961 | # CONFIG_USB_STORAGE_JUMPSHOT is not set |
@@ -975,6 +999,7 @@ CONFIG_USB_HIDDEV=y | |||
975 | # CONFIG_USB_PEGASUS is not set | 999 | # CONFIG_USB_PEGASUS is not set |
976 | # CONFIG_USB_RTL8150 is not set | 1000 | # CONFIG_USB_RTL8150 is not set |
977 | # CONFIG_USB_USBNET is not set | 1001 | # CONFIG_USB_USBNET is not set |
1002 | CONFIG_USB_MON=y | ||
978 | 1003 | ||
979 | # | 1004 | # |
980 | # USB port drivers | 1005 | # USB port drivers |
@@ -1000,6 +1025,7 @@ CONFIG_USB_HIDDEV=y | |||
1000 | # CONFIG_USB_PHIDGETKIT is not set | 1025 | # CONFIG_USB_PHIDGETKIT is not set |
1001 | # CONFIG_USB_PHIDGETSERVO is not set | 1026 | # CONFIG_USB_PHIDGETSERVO is not set |
1002 | # CONFIG_USB_IDMOUSE is not set | 1027 | # CONFIG_USB_IDMOUSE is not set |
1028 | # CONFIG_USB_SISUSBVGA is not set | ||
1003 | # CONFIG_USB_TEST is not set | 1029 | # CONFIG_USB_TEST is not set |
1004 | 1030 | ||
1005 | # | 1031 | # |
@@ -1208,10 +1234,13 @@ CONFIG_OPROFILE=y | |||
1208 | # | 1234 | # |
1209 | # Kernel hacking | 1235 | # Kernel hacking |
1210 | # | 1236 | # |
1237 | # CONFIG_PRINTK_TIME is not set | ||
1211 | CONFIG_DEBUG_KERNEL=y | 1238 | CONFIG_DEBUG_KERNEL=y |
1212 | CONFIG_MAGIC_SYSRQ=y | 1239 | CONFIG_MAGIC_SYSRQ=y |
1240 | CONFIG_LOG_BUF_SHIFT=17 | ||
1213 | # CONFIG_SCHEDSTATS is not set | 1241 | # CONFIG_SCHEDSTATS is not set |
1214 | # CONFIG_DEBUG_SLAB is not set | 1242 | # CONFIG_DEBUG_SLAB is not set |
1243 | # CONFIG_DEBUG_SPINLOCK is not set | ||
1215 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1244 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1216 | # CONFIG_DEBUG_KOBJECT is not set | 1245 | # CONFIG_DEBUG_KOBJECT is not set |
1217 | # CONFIG_DEBUG_INFO is not set | 1246 | # CONFIG_DEBUG_INFO is not set |
@@ -1243,6 +1272,7 @@ CONFIG_CRYPTO_SHA1=m | |||
1243 | CONFIG_CRYPTO_SHA256=m | 1272 | CONFIG_CRYPTO_SHA256=m |
1244 | CONFIG_CRYPTO_SHA512=m | 1273 | CONFIG_CRYPTO_SHA512=m |
1245 | CONFIG_CRYPTO_WP512=m | 1274 | CONFIG_CRYPTO_WP512=m |
1275 | CONFIG_CRYPTO_TGR192=m | ||
1246 | CONFIG_CRYPTO_DES=y | 1276 | CONFIG_CRYPTO_DES=y |
1247 | CONFIG_CRYPTO_BLOWFISH=m | 1277 | CONFIG_CRYPTO_BLOWFISH=m |
1248 | CONFIG_CRYPTO_TWOFISH=m | 1278 | CONFIG_CRYPTO_TWOFISH=m |
diff --git a/arch/ppc64/defconfig b/arch/ppc64/defconfig index 537b1cc82eab..2f31bf3046f9 100644 --- a/arch/ppc64/defconfig +++ b/arch/ppc64/defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.11-rc3-bk6 | 3 | # Linux kernel version: 2.6.12-rc5-git9 |
4 | # Wed Feb 9 23:34:51 2005 | 4 | # Sun Jun 5 09:26:47 2005 |
5 | # | 5 | # |
6 | CONFIG_64BIT=y | 6 | CONFIG_64BIT=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -11,7 +11,7 @@ CONFIG_GENERIC_ISA_DMA=y | |||
11 | CONFIG_HAVE_DEC_LOCK=y | 11 | CONFIG_HAVE_DEC_LOCK=y |
12 | CONFIG_EARLY_PRINTK=y | 12 | CONFIG_EARLY_PRINTK=y |
13 | CONFIG_COMPAT=y | 13 | CONFIG_COMPAT=y |
14 | CONFIG_FRAME_POINTER=y | 14 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y |
15 | CONFIG_FORCE_MAX_ZONEORDER=13 | 15 | CONFIG_FORCE_MAX_ZONEORDER=13 |
16 | 16 | ||
17 | # | 17 | # |
@@ -20,6 +20,7 @@ CONFIG_FORCE_MAX_ZONEORDER=13 | |||
20 | CONFIG_EXPERIMENTAL=y | 20 | CONFIG_EXPERIMENTAL=y |
21 | CONFIG_CLEAN_COMPILE=y | 21 | CONFIG_CLEAN_COMPILE=y |
22 | CONFIG_LOCK_KERNEL=y | 22 | CONFIG_LOCK_KERNEL=y |
23 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
23 | 24 | ||
24 | # | 25 | # |
25 | # General setup | 26 | # General setup |
@@ -30,24 +31,28 @@ CONFIG_SYSVIPC=y | |||
30 | CONFIG_POSIX_MQUEUE=y | 31 | CONFIG_POSIX_MQUEUE=y |
31 | # CONFIG_BSD_PROCESS_ACCT is not set | 32 | # CONFIG_BSD_PROCESS_ACCT is not set |
32 | CONFIG_SYSCTL=y | 33 | CONFIG_SYSCTL=y |
33 | CONFIG_LOG_BUF_SHIFT=17 | 34 | # CONFIG_AUDIT is not set |
34 | CONFIG_HOTPLUG=y | 35 | CONFIG_HOTPLUG=y |
35 | CONFIG_KOBJECT_UEVENT=y | 36 | CONFIG_KOBJECT_UEVENT=y |
36 | CONFIG_IKCONFIG=y | 37 | CONFIG_IKCONFIG=y |
37 | CONFIG_IKCONFIG_PROC=y | 38 | CONFIG_IKCONFIG_PROC=y |
39 | CONFIG_CPUSETS=y | ||
38 | # CONFIG_EMBEDDED is not set | 40 | # CONFIG_EMBEDDED is not set |
39 | CONFIG_KALLSYMS=y | 41 | CONFIG_KALLSYMS=y |
40 | # CONFIG_KALLSYMS_ALL is not set | 42 | # CONFIG_KALLSYMS_ALL is not set |
41 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 43 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
44 | CONFIG_PRINTK=y | ||
45 | CONFIG_BUG=y | ||
46 | CONFIG_BASE_FULL=y | ||
42 | CONFIG_FUTEX=y | 47 | CONFIG_FUTEX=y |
43 | CONFIG_EPOLL=y | 48 | CONFIG_EPOLL=y |
44 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
45 | CONFIG_SHMEM=y | 49 | CONFIG_SHMEM=y |
46 | CONFIG_CC_ALIGN_FUNCTIONS=0 | 50 | CONFIG_CC_ALIGN_FUNCTIONS=0 |
47 | CONFIG_CC_ALIGN_LABELS=0 | 51 | CONFIG_CC_ALIGN_LABELS=0 |
48 | CONFIG_CC_ALIGN_LOOPS=0 | 52 | CONFIG_CC_ALIGN_LOOPS=0 |
49 | CONFIG_CC_ALIGN_JUMPS=0 | 53 | CONFIG_CC_ALIGN_JUMPS=0 |
50 | # CONFIG_TINY_SHMEM is not set | 54 | # CONFIG_TINY_SHMEM is not set |
55 | CONFIG_BASE_SMALL=0 | ||
51 | 56 | ||
52 | # | 57 | # |
53 | # Loadable module support | 58 | # Loadable module support |
@@ -91,9 +96,12 @@ CONFIG_DISCONTIGMEM=y | |||
91 | CONFIG_EEH=y | 96 | CONFIG_EEH=y |
92 | CONFIG_GENERIC_HARDIRQS=y | 97 | CONFIG_GENERIC_HARDIRQS=y |
93 | CONFIG_PPC_RTAS=y | 98 | CONFIG_PPC_RTAS=y |
99 | CONFIG_RTAS_PROC=y | ||
94 | CONFIG_RTAS_FLASH=m | 100 | CONFIG_RTAS_FLASH=m |
95 | CONFIG_SCANLOG=m | 101 | CONFIG_SCANLOG=m |
96 | CONFIG_LPARCFG=y | 102 | CONFIG_LPARCFG=y |
103 | CONFIG_SECCOMP=y | ||
104 | CONFIG_ISA_DMA_API=y | ||
97 | 105 | ||
98 | # | 106 | # |
99 | # General setup | 107 | # General setup |
@@ -104,6 +112,7 @@ CONFIG_BINFMT_ELF=y | |||
104 | CONFIG_BINFMT_MISC=m | 112 | CONFIG_BINFMT_MISC=m |
105 | # CONFIG_PCI_LEGACY_PROC is not set | 113 | # CONFIG_PCI_LEGACY_PROC is not set |
106 | # CONFIG_PCI_NAMES is not set | 114 | # CONFIG_PCI_NAMES is not set |
115 | # CONFIG_PCI_DEBUG is not set | ||
107 | CONFIG_HOTPLUG_CPU=y | 116 | CONFIG_HOTPLUG_CPU=y |
108 | 117 | ||
109 | # | 118 | # |
@@ -112,10 +121,6 @@ CONFIG_HOTPLUG_CPU=y | |||
112 | # CONFIG_PCCARD is not set | 121 | # CONFIG_PCCARD is not set |
113 | 122 | ||
114 | # | 123 | # |
115 | # PC-card bridges | ||
116 | # | ||
117 | |||
118 | # | ||
119 | # PCI Hotplug Support | 124 | # PCI Hotplug Support |
120 | # | 125 | # |
121 | CONFIG_HOTPLUG_PCI=m | 126 | CONFIG_HOTPLUG_PCI=m |
@@ -149,11 +154,10 @@ CONFIG_FW_LOADER=y | |||
149 | # | 154 | # |
150 | CONFIG_PARPORT=m | 155 | CONFIG_PARPORT=m |
151 | CONFIG_PARPORT_PC=m | 156 | CONFIG_PARPORT_PC=m |
152 | CONFIG_PARPORT_PC_CML1=m | ||
153 | # CONFIG_PARPORT_SERIAL is not set | 157 | # CONFIG_PARPORT_SERIAL is not set |
154 | # CONFIG_PARPORT_PC_FIFO is not set | 158 | # CONFIG_PARPORT_PC_FIFO is not set |
155 | # CONFIG_PARPORT_PC_SUPERIO is not set | 159 | # CONFIG_PARPORT_PC_SUPERIO is not set |
156 | # CONFIG_PARPORT_OTHER is not set | 160 | # CONFIG_PARPORT_GSC is not set |
157 | # CONFIG_PARPORT_1284 is not set | 161 | # CONFIG_PARPORT_1284 is not set |
158 | 162 | ||
159 | # | 163 | # |
@@ -301,6 +305,7 @@ CONFIG_SCSI_SATA_SVW=y | |||
301 | # CONFIG_SCSI_ATA_PIIX is not set | 305 | # CONFIG_SCSI_ATA_PIIX is not set |
302 | # CONFIG_SCSI_SATA_NV is not set | 306 | # CONFIG_SCSI_SATA_NV is not set |
303 | # CONFIG_SCSI_SATA_PROMISE is not set | 307 | # CONFIG_SCSI_SATA_PROMISE is not set |
308 | # CONFIG_SCSI_SATA_QSTOR is not set | ||
304 | # CONFIG_SCSI_SATA_SX4 is not set | 309 | # CONFIG_SCSI_SATA_SX4 is not set |
305 | # CONFIG_SCSI_SATA_SIL is not set | 310 | # CONFIG_SCSI_SATA_SIL is not set |
306 | # CONFIG_SCSI_SATA_SIS is not set | 311 | # CONFIG_SCSI_SATA_SIS is not set |
@@ -310,7 +315,6 @@ CONFIG_SCSI_SATA_SVW=y | |||
310 | # CONFIG_SCSI_BUSLOGIC is not set | 315 | # CONFIG_SCSI_BUSLOGIC is not set |
311 | # CONFIG_SCSI_DMX3191D is not set | 316 | # CONFIG_SCSI_DMX3191D is not set |
312 | # CONFIG_SCSI_EATA is not set | 317 | # CONFIG_SCSI_EATA is not set |
313 | # CONFIG_SCSI_EATA_PIO is not set | ||
314 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | 318 | # CONFIG_SCSI_FUTURE_DOMAIN is not set |
315 | # CONFIG_SCSI_GDTH is not set | 319 | # CONFIG_SCSI_GDTH is not set |
316 | # CONFIG_SCSI_IPS is not set | 320 | # CONFIG_SCSI_IPS is not set |
@@ -327,7 +331,6 @@ CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 | |||
327 | CONFIG_SCSI_IPR=y | 331 | CONFIG_SCSI_IPR=y |
328 | CONFIG_SCSI_IPR_TRACE=y | 332 | CONFIG_SCSI_IPR_TRACE=y |
329 | CONFIG_SCSI_IPR_DUMP=y | 333 | CONFIG_SCSI_IPR_DUMP=y |
330 | # CONFIG_SCSI_QLOGIC_ISP is not set | ||
331 | # CONFIG_SCSI_QLOGIC_FC is not set | 334 | # CONFIG_SCSI_QLOGIC_FC is not set |
332 | # CONFIG_SCSI_QLOGIC_1280 is not set | 335 | # CONFIG_SCSI_QLOGIC_1280 is not set |
333 | CONFIG_SCSI_QLA2XXX=y | 336 | CONFIG_SCSI_QLA2XXX=y |
@@ -336,6 +339,7 @@ CONFIG_SCSI_QLA22XX=m | |||
336 | CONFIG_SCSI_QLA2300=m | 339 | CONFIG_SCSI_QLA2300=m |
337 | CONFIG_SCSI_QLA2322=m | 340 | CONFIG_SCSI_QLA2322=m |
338 | CONFIG_SCSI_QLA6312=m | 341 | CONFIG_SCSI_QLA6312=m |
342 | CONFIG_SCSI_LPFC=m | ||
339 | # CONFIG_SCSI_DC395x is not set | 343 | # CONFIG_SCSI_DC395x is not set |
340 | # CONFIG_SCSI_DC390T is not set | 344 | # CONFIG_SCSI_DC390T is not set |
341 | CONFIG_SCSI_DEBUG=m | 345 | CONFIG_SCSI_DEBUG=m |
@@ -358,6 +362,8 @@ CONFIG_DM_CRYPT=m | |||
358 | CONFIG_DM_SNAPSHOT=m | 362 | CONFIG_DM_SNAPSHOT=m |
359 | CONFIG_DM_MIRROR=m | 363 | CONFIG_DM_MIRROR=m |
360 | CONFIG_DM_ZERO=m | 364 | CONFIG_DM_ZERO=m |
365 | CONFIG_DM_MULTIPATH=m | ||
366 | CONFIG_DM_MULTIPATH_EMC=m | ||
361 | 367 | ||
362 | # | 368 | # |
363 | # Fusion MPT device support | 369 | # Fusion MPT device support |
@@ -405,6 +411,7 @@ CONFIG_IEEE1394_AMDTP=m | |||
405 | # | 411 | # |
406 | CONFIG_ADB=y | 412 | CONFIG_ADB=y |
407 | CONFIG_ADB_PMU=y | 413 | CONFIG_ADB_PMU=y |
414 | CONFIG_PMAC_SMU=y | ||
408 | # CONFIG_PMAC_PBOOK is not set | 415 | # CONFIG_PMAC_PBOOK is not set |
409 | # CONFIG_PMAC_BACKLIGHT is not set | 416 | # CONFIG_PMAC_BACKLIGHT is not set |
410 | # CONFIG_INPUT_ADBHID is not set | 417 | # CONFIG_INPUT_ADBHID is not set |
@@ -420,7 +427,6 @@ CONFIG_NET=y | |||
420 | # | 427 | # |
421 | CONFIG_PACKET=y | 428 | CONFIG_PACKET=y |
422 | # CONFIG_PACKET_MMAP is not set | 429 | # CONFIG_PACKET_MMAP is not set |
423 | # CONFIG_NETLINK_DEV is not set | ||
424 | CONFIG_UNIX=y | 430 | CONFIG_UNIX=y |
425 | CONFIG_NET_KEY=m | 431 | CONFIG_NET_KEY=m |
426 | CONFIG_INET=y | 432 | CONFIG_INET=y |
@@ -588,7 +594,6 @@ CONFIG_PCNET32=y | |||
588 | # CONFIG_DGRS is not set | 594 | # CONFIG_DGRS is not set |
589 | # CONFIG_EEPRO100 is not set | 595 | # CONFIG_EEPRO100 is not set |
590 | CONFIG_E100=y | 596 | CONFIG_E100=y |
591 | # CONFIG_E100_NAPI is not set | ||
592 | # CONFIG_FEALNX is not set | 597 | # CONFIG_FEALNX is not set |
593 | # CONFIG_NATSEMI is not set | 598 | # CONFIG_NATSEMI is not set |
594 | # CONFIG_NE2K_PCI is not set | 599 | # CONFIG_NE2K_PCI is not set |
@@ -614,6 +619,8 @@ CONFIG_E1000=y | |||
614 | # CONFIG_SK98LIN is not set | 619 | # CONFIG_SK98LIN is not set |
615 | # CONFIG_VIA_VELOCITY is not set | 620 | # CONFIG_VIA_VELOCITY is not set |
616 | CONFIG_TIGON3=y | 621 | CONFIG_TIGON3=y |
622 | # CONFIG_BNX2 is not set | ||
623 | # CONFIG_MV643XX_ETH is not set | ||
617 | 624 | ||
618 | # | 625 | # |
619 | # Ethernet (10000 Mbit) | 626 | # Ethernet (10000 Mbit) |
@@ -683,20 +690,6 @@ CONFIG_INPUT_EVDEV=m | |||
683 | # CONFIG_INPUT_EVBUG is not set | 690 | # CONFIG_INPUT_EVBUG is not set |
684 | 691 | ||
685 | # | 692 | # |
686 | # Input I/O drivers | ||
687 | # | ||
688 | # CONFIG_GAMEPORT is not set | ||
689 | CONFIG_SOUND_GAMEPORT=y | ||
690 | CONFIG_SERIO=y | ||
691 | CONFIG_SERIO_I8042=y | ||
692 | # CONFIG_SERIO_SERPORT is not set | ||
693 | # CONFIG_SERIO_CT82C710 is not set | ||
694 | # CONFIG_SERIO_PARKBD is not set | ||
695 | # CONFIG_SERIO_PCIPS2 is not set | ||
696 | CONFIG_SERIO_LIBPS2=y | ||
697 | # CONFIG_SERIO_RAW is not set | ||
698 | |||
699 | # | ||
700 | # Input Device Drivers | 693 | # Input Device Drivers |
701 | # | 694 | # |
702 | CONFIG_INPUT_KEYBOARD=y | 695 | CONFIG_INPUT_KEYBOARD=y |
@@ -716,6 +709,18 @@ CONFIG_INPUT_PCSPKR=m | |||
716 | # CONFIG_INPUT_UINPUT is not set | 709 | # CONFIG_INPUT_UINPUT is not set |
717 | 710 | ||
718 | # | 711 | # |
712 | # Hardware I/O ports | ||
713 | # | ||
714 | CONFIG_SERIO=y | ||
715 | CONFIG_SERIO_I8042=y | ||
716 | # CONFIG_SERIO_SERPORT is not set | ||
717 | # CONFIG_SERIO_PARKBD is not set | ||
718 | # CONFIG_SERIO_PCIPS2 is not set | ||
719 | CONFIG_SERIO_LIBPS2=y | ||
720 | # CONFIG_SERIO_RAW is not set | ||
721 | # CONFIG_GAMEPORT is not set | ||
722 | |||
723 | # | ||
719 | # Character devices | 724 | # Character devices |
720 | # | 725 | # |
721 | CONFIG_VT=y | 726 | CONFIG_VT=y |
@@ -738,6 +743,7 @@ CONFIG_SERIAL_CORE=y | |||
738 | CONFIG_SERIAL_CORE_CONSOLE=y | 743 | CONFIG_SERIAL_CORE_CONSOLE=y |
739 | # CONFIG_SERIAL_PMACZILOG is not set | 744 | # CONFIG_SERIAL_PMACZILOG is not set |
740 | CONFIG_SERIAL_ICOM=m | 745 | CONFIG_SERIAL_ICOM=m |
746 | CONFIG_SERIAL_JSM=m | ||
741 | CONFIG_UNIX98_PTYS=y | 747 | CONFIG_UNIX98_PTYS=y |
742 | CONFIG_LEGACY_PTYS=y | 748 | CONFIG_LEGACY_PTYS=y |
743 | CONFIG_LEGACY_PTY_COUNT=256 | 749 | CONFIG_LEGACY_PTY_COUNT=256 |
@@ -766,9 +772,16 @@ CONFIG_HVCS=m | |||
766 | # | 772 | # |
767 | # Ftape, the floppy tape device driver | 773 | # Ftape, the floppy tape device driver |
768 | # | 774 | # |
775 | # CONFIG_AGP is not set | ||
769 | # CONFIG_DRM is not set | 776 | # CONFIG_DRM is not set |
770 | CONFIG_RAW_DRIVER=y | 777 | CONFIG_RAW_DRIVER=y |
771 | CONFIG_MAX_RAW_DEVS=256 | 778 | CONFIG_MAX_RAW_DEVS=256 |
779 | # CONFIG_HANGCHECK_TIMER is not set | ||
780 | |||
781 | # | ||
782 | # TPM devices | ||
783 | # | ||
784 | # CONFIG_TCG_TPM is not set | ||
772 | 785 | ||
773 | # | 786 | # |
774 | # I2C support | 787 | # I2C support |
@@ -793,9 +806,9 @@ CONFIG_I2C_ALGOBIT=y | |||
793 | CONFIG_I2C_AMD8111=y | 806 | CONFIG_I2C_AMD8111=y |
794 | # CONFIG_I2C_I801 is not set | 807 | # CONFIG_I2C_I801 is not set |
795 | # CONFIG_I2C_I810 is not set | 808 | # CONFIG_I2C_I810 is not set |
809 | # CONFIG_I2C_PIIX4 is not set | ||
796 | # CONFIG_I2C_ISA is not set | 810 | # CONFIG_I2C_ISA is not set |
797 | CONFIG_I2C_KEYWEST=y | 811 | CONFIG_I2C_KEYWEST=y |
798 | # CONFIG_I2C_MPC is not set | ||
799 | # CONFIG_I2C_NFORCE2 is not set | 812 | # CONFIG_I2C_NFORCE2 is not set |
800 | # CONFIG_I2C_PARPORT is not set | 813 | # CONFIG_I2C_PARPORT is not set |
801 | # CONFIG_I2C_PARPORT_LIGHT is not set | 814 | # CONFIG_I2C_PARPORT_LIGHT is not set |
@@ -822,7 +835,9 @@ CONFIG_I2C_KEYWEST=y | |||
822 | # CONFIG_SENSORS_ASB100 is not set | 835 | # CONFIG_SENSORS_ASB100 is not set |
823 | # CONFIG_SENSORS_DS1621 is not set | 836 | # CONFIG_SENSORS_DS1621 is not set |
824 | # CONFIG_SENSORS_FSCHER is not set | 837 | # CONFIG_SENSORS_FSCHER is not set |
838 | # CONFIG_SENSORS_FSCPOS is not set | ||
825 | # CONFIG_SENSORS_GL518SM is not set | 839 | # CONFIG_SENSORS_GL518SM is not set |
840 | # CONFIG_SENSORS_GL520SM is not set | ||
826 | # CONFIG_SENSORS_IT87 is not set | 841 | # CONFIG_SENSORS_IT87 is not set |
827 | # CONFIG_SENSORS_LM63 is not set | 842 | # CONFIG_SENSORS_LM63 is not set |
828 | # CONFIG_SENSORS_LM75 is not set | 843 | # CONFIG_SENSORS_LM75 is not set |
@@ -833,9 +848,11 @@ CONFIG_I2C_KEYWEST=y | |||
833 | # CONFIG_SENSORS_LM85 is not set | 848 | # CONFIG_SENSORS_LM85 is not set |
834 | # CONFIG_SENSORS_LM87 is not set | 849 | # CONFIG_SENSORS_LM87 is not set |
835 | # CONFIG_SENSORS_LM90 is not set | 850 | # CONFIG_SENSORS_LM90 is not set |
851 | # CONFIG_SENSORS_LM92 is not set | ||
836 | # CONFIG_SENSORS_MAX1619 is not set | 852 | # CONFIG_SENSORS_MAX1619 is not set |
837 | # CONFIG_SENSORS_PC87360 is not set | 853 | # CONFIG_SENSORS_PC87360 is not set |
838 | # CONFIG_SENSORS_SMSC47B397 is not set | 854 | # CONFIG_SENSORS_SMSC47B397 is not set |
855 | # CONFIG_SENSORS_SIS5595 is not set | ||
839 | # CONFIG_SENSORS_SMSC47M1 is not set | 856 | # CONFIG_SENSORS_SMSC47M1 is not set |
840 | # CONFIG_SENSORS_VIA686A is not set | 857 | # CONFIG_SENSORS_VIA686A is not set |
841 | # CONFIG_SENSORS_W83781D is not set | 858 | # CONFIG_SENSORS_W83781D is not set |
@@ -845,6 +862,7 @@ CONFIG_I2C_KEYWEST=y | |||
845 | # | 862 | # |
846 | # Other I2C Chip support | 863 | # Other I2C Chip support |
847 | # | 864 | # |
865 | # CONFIG_SENSORS_DS1337 is not set | ||
848 | # CONFIG_SENSORS_EEPROM is not set | 866 | # CONFIG_SENSORS_EEPROM is not set |
849 | # CONFIG_SENSORS_PCF8574 is not set | 867 | # CONFIG_SENSORS_PCF8574 is not set |
850 | # CONFIG_SENSORS_PCF8591 is not set | 868 | # CONFIG_SENSORS_PCF8591 is not set |
@@ -877,6 +895,11 @@ CONFIG_I2C_KEYWEST=y | |||
877 | # Graphics support | 895 | # Graphics support |
878 | # | 896 | # |
879 | CONFIG_FB=y | 897 | CONFIG_FB=y |
898 | CONFIG_FB_CFB_FILLRECT=y | ||
899 | CONFIG_FB_CFB_COPYAREA=y | ||
900 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
901 | CONFIG_FB_SOFT_CURSOR=y | ||
902 | CONFIG_FB_MACMODES=y | ||
880 | CONFIG_FB_MODE_HELPERS=y | 903 | CONFIG_FB_MODE_HELPERS=y |
881 | CONFIG_FB_TILEBLITTING=y | 904 | CONFIG_FB_TILEBLITTING=y |
882 | # CONFIG_FB_CIRRUS is not set | 905 | # CONFIG_FB_CIRRUS is not set |
@@ -890,9 +913,8 @@ CONFIG_FB_OF=y | |||
890 | # CONFIG_FB_ASILIANT is not set | 913 | # CONFIG_FB_ASILIANT is not set |
891 | # CONFIG_FB_IMSTT is not set | 914 | # CONFIG_FB_IMSTT is not set |
892 | # CONFIG_FB_VGA16 is not set | 915 | # CONFIG_FB_VGA16 is not set |
893 | CONFIG_FB_RIVA=y | 916 | # CONFIG_FB_NVIDIA is not set |
894 | CONFIG_FB_RIVA_I2C=y | 917 | # CONFIG_FB_RIVA is not set |
895 | # CONFIG_FB_RIVA_DEBUG is not set | ||
896 | CONFIG_FB_MATROX=y | 918 | CONFIG_FB_MATROX=y |
897 | CONFIG_FB_MATROX_MILLENIUM=y | 919 | CONFIG_FB_MATROX_MILLENIUM=y |
898 | CONFIG_FB_MATROX_MYSTIQUE=y | 920 | CONFIG_FB_MATROX_MYSTIQUE=y |
@@ -913,6 +935,7 @@ CONFIG_FB_RADEON_I2C=y | |||
913 | # CONFIG_FB_3DFX is not set | 935 | # CONFIG_FB_3DFX is not set |
914 | # CONFIG_FB_VOODOO1 is not set | 936 | # CONFIG_FB_VOODOO1 is not set |
915 | # CONFIG_FB_TRIDENT is not set | 937 | # CONFIG_FB_TRIDENT is not set |
938 | # CONFIG_FB_S1D13XXX is not set | ||
916 | # CONFIG_FB_VIRTUAL is not set | 939 | # CONFIG_FB_VIRTUAL is not set |
917 | 940 | ||
918 | # | 941 | # |
@@ -946,6 +969,8 @@ CONFIG_LCD_DEVICE=y | |||
946 | # | 969 | # |
947 | # USB support | 970 | # USB support |
948 | # | 971 | # |
972 | CONFIG_USB_ARCH_HAS_HCD=y | ||
973 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
949 | CONFIG_USB=y | 974 | CONFIG_USB=y |
950 | # CONFIG_USB_DEBUG is not set | 975 | # CONFIG_USB_DEBUG is not set |
951 | 976 | ||
@@ -956,8 +981,6 @@ CONFIG_USB_DEVICEFS=y | |||
956 | # CONFIG_USB_BANDWIDTH is not set | 981 | # CONFIG_USB_BANDWIDTH is not set |
957 | # CONFIG_USB_DYNAMIC_MINORS is not set | 982 | # CONFIG_USB_DYNAMIC_MINORS is not set |
958 | # CONFIG_USB_OTG is not set | 983 | # CONFIG_USB_OTG is not set |
959 | CONFIG_USB_ARCH_HAS_HCD=y | ||
960 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
961 | 984 | ||
962 | # | 985 | # |
963 | # USB Host Controller Drivers | 986 | # USB Host Controller Drivers |
@@ -966,6 +989,8 @@ CONFIG_USB_EHCI_HCD=y | |||
966 | # CONFIG_USB_EHCI_SPLIT_ISO is not set | 989 | # CONFIG_USB_EHCI_SPLIT_ISO is not set |
967 | # CONFIG_USB_EHCI_ROOT_HUB_TT is not set | 990 | # CONFIG_USB_EHCI_ROOT_HUB_TT is not set |
968 | CONFIG_USB_OHCI_HCD=y | 991 | CONFIG_USB_OHCI_HCD=y |
992 | # CONFIG_USB_OHCI_BIG_ENDIAN is not set | ||
993 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
969 | # CONFIG_USB_UHCI_HCD is not set | 994 | # CONFIG_USB_UHCI_HCD is not set |
970 | # CONFIG_USB_SL811_HCD is not set | 995 | # CONFIG_USB_SL811_HCD is not set |
971 | 996 | ||
@@ -981,12 +1006,11 @@ CONFIG_USB_OHCI_HCD=y | |||
981 | # | 1006 | # |
982 | CONFIG_USB_STORAGE=m | 1007 | CONFIG_USB_STORAGE=m |
983 | # CONFIG_USB_STORAGE_DEBUG is not set | 1008 | # CONFIG_USB_STORAGE_DEBUG is not set |
984 | CONFIG_USB_STORAGE_RW_DETECT=y | ||
985 | # CONFIG_USB_STORAGE_DATAFAB is not set | 1009 | # CONFIG_USB_STORAGE_DATAFAB is not set |
986 | # CONFIG_USB_STORAGE_FREECOM is not set | 1010 | # CONFIG_USB_STORAGE_FREECOM is not set |
987 | # CONFIG_USB_STORAGE_ISD200 is not set | 1011 | # CONFIG_USB_STORAGE_ISD200 is not set |
988 | # CONFIG_USB_STORAGE_DPCM is not set | 1012 | # CONFIG_USB_STORAGE_DPCM is not set |
989 | # CONFIG_USB_STORAGE_HP8200e is not set | 1013 | # CONFIG_USB_STORAGE_USBAT is not set |
990 | # CONFIG_USB_STORAGE_SDDR09 is not set | 1014 | # CONFIG_USB_STORAGE_SDDR09 is not set |
991 | # CONFIG_USB_STORAGE_SDDR55 is not set | 1015 | # CONFIG_USB_STORAGE_SDDR55 is not set |
992 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | 1016 | # CONFIG_USB_STORAGE_JUMPSHOT is not set |
@@ -1030,6 +1054,7 @@ CONFIG_USB_HIDDEV=y | |||
1030 | CONFIG_USB_PEGASUS=y | 1054 | CONFIG_USB_PEGASUS=y |
1031 | # CONFIG_USB_RTL8150 is not set | 1055 | # CONFIG_USB_RTL8150 is not set |
1032 | # CONFIG_USB_USBNET is not set | 1056 | # CONFIG_USB_USBNET is not set |
1057 | # CONFIG_USB_MON is not set | ||
1033 | 1058 | ||
1034 | # | 1059 | # |
1035 | # USB port drivers | 1060 | # USB port drivers |
@@ -1055,6 +1080,7 @@ CONFIG_USB_PEGASUS=y | |||
1055 | # CONFIG_USB_PHIDGETKIT is not set | 1080 | # CONFIG_USB_PHIDGETKIT is not set |
1056 | # CONFIG_USB_PHIDGETSERVO is not set | 1081 | # CONFIG_USB_PHIDGETSERVO is not set |
1057 | # CONFIG_USB_IDMOUSE is not set | 1082 | # CONFIG_USB_IDMOUSE is not set |
1083 | # CONFIG_USB_SISUSBVGA is not set | ||
1058 | # CONFIG_USB_TEST is not set | 1084 | # CONFIG_USB_TEST is not set |
1059 | 1085 | ||
1060 | # | 1086 | # |
@@ -1276,10 +1302,13 @@ CONFIG_OPROFILE=y | |||
1276 | # | 1302 | # |
1277 | # Kernel hacking | 1303 | # Kernel hacking |
1278 | # | 1304 | # |
1305 | # CONFIG_PRINTK_TIME is not set | ||
1279 | CONFIG_DEBUG_KERNEL=y | 1306 | CONFIG_DEBUG_KERNEL=y |
1280 | CONFIG_MAGIC_SYSRQ=y | 1307 | CONFIG_MAGIC_SYSRQ=y |
1308 | CONFIG_LOG_BUF_SHIFT=17 | ||
1281 | # CONFIG_SCHEDSTATS is not set | 1309 | # CONFIG_SCHEDSTATS is not set |
1282 | # CONFIG_DEBUG_SLAB is not set | 1310 | # CONFIG_DEBUG_SLAB is not set |
1311 | # CONFIG_DEBUG_SPINLOCK is not set | ||
1283 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1312 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1284 | # CONFIG_DEBUG_KOBJECT is not set | 1313 | # CONFIG_DEBUG_KOBJECT is not set |
1285 | # CONFIG_DEBUG_INFO is not set | 1314 | # CONFIG_DEBUG_INFO is not set |
@@ -1311,6 +1340,7 @@ CONFIG_CRYPTO_SHA1=m | |||
1311 | CONFIG_CRYPTO_SHA256=m | 1340 | CONFIG_CRYPTO_SHA256=m |
1312 | CONFIG_CRYPTO_SHA512=m | 1341 | CONFIG_CRYPTO_SHA512=m |
1313 | CONFIG_CRYPTO_WP512=m | 1342 | CONFIG_CRYPTO_WP512=m |
1343 | CONFIG_CRYPTO_TGR192=m | ||
1314 | CONFIG_CRYPTO_DES=y | 1344 | CONFIG_CRYPTO_DES=y |
1315 | CONFIG_CRYPTO_BLOWFISH=m | 1345 | CONFIG_CRYPTO_BLOWFISH=m |
1316 | CONFIG_CRYPTO_TWOFISH=m | 1346 | CONFIG_CRYPTO_TWOFISH=m |
diff --git a/arch/ppc64/kernel/kprobes.c b/arch/ppc64/kernel/kprobes.c index 103daaf73573..e950a2058a19 100644 --- a/arch/ppc64/kernel/kprobes.c +++ b/arch/ppc64/kernel/kprobes.c | |||
@@ -45,12 +45,17 @@ static struct pt_regs jprobe_saved_regs; | |||
45 | 45 | ||
46 | int arch_prepare_kprobe(struct kprobe *p) | 46 | int arch_prepare_kprobe(struct kprobe *p) |
47 | { | 47 | { |
48 | int ret = 0; | ||
48 | kprobe_opcode_t insn = *p->addr; | 49 | kprobe_opcode_t insn = *p->addr; |
49 | 50 | ||
50 | if (IS_MTMSRD(insn) || IS_RFID(insn)) | 51 | if ((unsigned long)p->addr & 0x03) { |
51 | /* cannot put bp on RFID/MTMSRD */ | 52 | printk("Attempt to register kprobe at an unaligned address\n"); |
52 | return 1; | 53 | ret = -EINVAL; |
53 | return 0; | 54 | } else if (IS_MTMSRD(insn) || IS_RFID(insn)) { |
55 | printk("Cannot register a kprobe on rfid or mtmsrd\n"); | ||
56 | ret = -EINVAL; | ||
57 | } | ||
58 | return ret; | ||
54 | } | 59 | } |
55 | 60 | ||
56 | void arch_copy_kprobe(struct kprobe *p) | 61 | void arch_copy_kprobe(struct kprobe *p) |
@@ -172,8 +177,6 @@ static void resume_execution(struct kprobe *p, struct pt_regs *regs) | |||
172 | ret = emulate_step(regs, p->ainsn.insn[0]); | 177 | ret = emulate_step(regs, p->ainsn.insn[0]); |
173 | if (ret == 0) | 178 | if (ret == 0) |
174 | regs->nip = (unsigned long)p->addr + 4; | 179 | regs->nip = (unsigned long)p->addr + 4; |
175 | |||
176 | regs->msr &= ~MSR_SE; | ||
177 | } | 180 | } |
178 | 181 | ||
179 | static inline int post_kprobe_handler(struct pt_regs *regs) | 182 | static inline int post_kprobe_handler(struct pt_regs *regs) |
@@ -210,6 +213,7 @@ static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) | |||
210 | 213 | ||
211 | if (kprobe_status & KPROBE_HIT_SS) { | 214 | if (kprobe_status & KPROBE_HIT_SS) { |
212 | resume_execution(current_kprobe, regs); | 215 | resume_execution(current_kprobe, regs); |
216 | regs->msr &= ~MSR_SE; | ||
213 | regs->msr |= kprobe_saved_msr; | 217 | regs->msr |= kprobe_saved_msr; |
214 | 218 | ||
215 | unlock_kprobes(); | 219 | unlock_kprobes(); |
@@ -233,8 +237,6 @@ int kprobe_exceptions_notify(struct notifier_block *self, unsigned long val, | |||
233 | */ | 237 | */ |
234 | preempt_disable(); | 238 | preempt_disable(); |
235 | switch (val) { | 239 | switch (val) { |
236 | case DIE_IABR_MATCH: | ||
237 | case DIE_DABR_MATCH: | ||
238 | case DIE_BPT: | 240 | case DIE_BPT: |
239 | if (kprobe_handler(args->regs)) | 241 | if (kprobe_handler(args->regs)) |
240 | ret = NOTIFY_STOP; | 242 | ret = NOTIFY_STOP; |
diff --git a/arch/ppc64/kernel/misc.S b/arch/ppc64/kernel/misc.S index b944717c1dbd..e3c73b3425dc 100644 --- a/arch/ppc64/kernel/misc.S +++ b/arch/ppc64/kernel/misc.S | |||
@@ -792,7 +792,7 @@ _GLOBAL(sys_call_table32) | |||
792 | .llong .compat_sys_newstat | 792 | .llong .compat_sys_newstat |
793 | .llong .compat_sys_newlstat | 793 | .llong .compat_sys_newlstat |
794 | .llong .compat_sys_newfstat | 794 | .llong .compat_sys_newfstat |
795 | .llong .sys_uname | 795 | .llong .sys32_uname |
796 | .llong .sys_ni_syscall /* 110 old iopl syscall */ | 796 | .llong .sys_ni_syscall /* 110 old iopl syscall */ |
797 | .llong .sys_vhangup | 797 | .llong .sys_vhangup |
798 | .llong .sys_ni_syscall /* old idle syscall */ | 798 | .llong .sys_ni_syscall /* old idle syscall */ |
diff --git a/arch/ppc64/kernel/sys_ppc32.c b/arch/ppc64/kernel/sys_ppc32.c index 7cf7a9600025..9c8e317c598d 100644 --- a/arch/ppc64/kernel/sys_ppc32.c +++ b/arch/ppc64/kernel/sys_ppc32.c | |||
@@ -791,31 +791,6 @@ asmlinkage int sys32_pciconfig_iobase(u32 which, u32 in_bus, u32 in_devfn) | |||
791 | } | 791 | } |
792 | 792 | ||
793 | 793 | ||
794 | asmlinkage int ppc64_newuname(struct new_utsname __user * name) | ||
795 | { | ||
796 | int errno = sys_newuname(name); | ||
797 | |||
798 | if (current->personality == PER_LINUX32 && !errno) { | ||
799 | if(copy_to_user(name->machine, "ppc\0\0", 8)) { | ||
800 | errno = -EFAULT; | ||
801 | } | ||
802 | } | ||
803 | return errno; | ||
804 | } | ||
805 | |||
806 | asmlinkage int ppc64_personality(unsigned long personality) | ||
807 | { | ||
808 | int ret; | ||
809 | if (current->personality == PER_LINUX32 && personality == PER_LINUX) | ||
810 | personality = PER_LINUX32; | ||
811 | ret = sys_personality(personality); | ||
812 | if (ret == PER_LINUX32) | ||
813 | ret = PER_LINUX; | ||
814 | return ret; | ||
815 | } | ||
816 | |||
817 | |||
818 | |||
819 | /* Note: it is necessary to treat mode as an unsigned int, | 794 | /* Note: it is necessary to treat mode as an unsigned int, |
820 | * with the corresponding cast to a signed int to insure that the | 795 | * with the corresponding cast to a signed int to insure that the |
821 | * proper conversion (sign extension) between the register representation of a signed int (msr in 32-bit mode) | 796 | * proper conversion (sign extension) between the register representation of a signed int (msr in 32-bit mode) |
@@ -1158,26 +1133,47 @@ asmlinkage long sys32_sysctl(struct __sysctl_args32 __user *args) | |||
1158 | } | 1133 | } |
1159 | #endif | 1134 | #endif |
1160 | 1135 | ||
1136 | asmlinkage int sys32_uname(struct old_utsname __user * name) | ||
1137 | { | ||
1138 | int err = 0; | ||
1139 | |||
1140 | down_read(&uts_sem); | ||
1141 | if (copy_to_user(name, &system_utsname, sizeof(*name))) | ||
1142 | err = -EFAULT; | ||
1143 | up_read(&uts_sem); | ||
1144 | if (!err && personality(current->personality) == PER_LINUX32) { | ||
1145 | /* change "ppc64" to "ppc" */ | ||
1146 | if (__put_user(0, name->machine + 3) | ||
1147 | || __put_user(0, name->machine + 4)) | ||
1148 | err = -EFAULT; | ||
1149 | } | ||
1150 | return err; | ||
1151 | } | ||
1152 | |||
1161 | asmlinkage int sys32_olduname(struct oldold_utsname __user * name) | 1153 | asmlinkage int sys32_olduname(struct oldold_utsname __user * name) |
1162 | { | 1154 | { |
1163 | int error; | 1155 | int error; |
1164 | 1156 | ||
1165 | if (!name) | ||
1166 | return -EFAULT; | ||
1167 | if (!access_ok(VERIFY_WRITE,name,sizeof(struct oldold_utsname))) | 1157 | if (!access_ok(VERIFY_WRITE,name,sizeof(struct oldold_utsname))) |
1168 | return -EFAULT; | 1158 | return -EFAULT; |
1169 | 1159 | ||
1170 | down_read(&uts_sem); | 1160 | down_read(&uts_sem); |
1171 | error = __copy_to_user(&name->sysname,&system_utsname.sysname,__OLD_UTS_LEN); | 1161 | error = __copy_to_user(&name->sysname,&system_utsname.sysname,__OLD_UTS_LEN); |
1172 | error -= __put_user(0,name->sysname+__OLD_UTS_LEN); | 1162 | error |= __put_user(0,name->sysname+__OLD_UTS_LEN); |
1173 | error -= __copy_to_user(&name->nodename,&system_utsname.nodename,__OLD_UTS_LEN); | 1163 | error |= __copy_to_user(&name->nodename,&system_utsname.nodename,__OLD_UTS_LEN); |
1174 | error -= __put_user(0,name->nodename+__OLD_UTS_LEN); | 1164 | error |= __put_user(0,name->nodename+__OLD_UTS_LEN); |
1175 | error -= __copy_to_user(&name->release,&system_utsname.release,__OLD_UTS_LEN); | 1165 | error |= __copy_to_user(&name->release,&system_utsname.release,__OLD_UTS_LEN); |
1176 | error -= __put_user(0,name->release+__OLD_UTS_LEN); | 1166 | error |= __put_user(0,name->release+__OLD_UTS_LEN); |
1177 | error -= __copy_to_user(&name->version,&system_utsname.version,__OLD_UTS_LEN); | 1167 | error |= __copy_to_user(&name->version,&system_utsname.version,__OLD_UTS_LEN); |
1178 | error -= __put_user(0,name->version+__OLD_UTS_LEN); | 1168 | error |= __put_user(0,name->version+__OLD_UTS_LEN); |
1179 | error -= __copy_to_user(&name->machine,&system_utsname.machine,__OLD_UTS_LEN); | 1169 | error |= __copy_to_user(&name->machine,&system_utsname.machine,__OLD_UTS_LEN); |
1180 | error = __put_user(0,name->machine+__OLD_UTS_LEN); | 1170 | error |= __put_user(0,name->machine+__OLD_UTS_LEN); |
1171 | if (personality(current->personality) == PER_LINUX32) { | ||
1172 | /* change "ppc64" to "ppc" */ | ||
1173 | error |= __put_user(0, name->machine + 3); | ||
1174 | error |= __put_user(0, name->machine + 4); | ||
1175 | } | ||
1176 | |||
1181 | up_read(&uts_sem); | 1177 | up_read(&uts_sem); |
1182 | 1178 | ||
1183 | error = error ? -EFAULT : 0; | 1179 | error = error ? -EFAULT : 0; |
diff --git a/arch/ppc64/kernel/syscalls.c b/arch/ppc64/kernel/syscalls.c index f2865ff8d2f9..a8cbb202b8cd 100644 --- a/arch/ppc64/kernel/syscalls.c +++ b/arch/ppc64/kernel/syscalls.c | |||
@@ -199,24 +199,33 @@ out: | |||
199 | return ret; | 199 | return ret; |
200 | } | 200 | } |
201 | 201 | ||
202 | static int __init set_fakeppc(char *str) | 202 | long ppc64_personality(unsigned long personality) |
203 | { | 203 | { |
204 | if (*str) | 204 | long ret; |
205 | return 0; | 205 | |
206 | init_task.personality = PER_LINUX32; | 206 | if (personality(current->personality) == PER_LINUX32 |
207 | return 1; | 207 | && personality == PER_LINUX) |
208 | personality = PER_LINUX32; | ||
209 | ret = sys_personality(personality); | ||
210 | if (ret == PER_LINUX32) | ||
211 | ret = PER_LINUX; | ||
212 | return ret; | ||
208 | } | 213 | } |
209 | __setup("fakeppc", set_fakeppc); | ||
210 | 214 | ||
211 | asmlinkage int sys_uname(struct old_utsname __user * name) | 215 | long ppc64_newuname(struct new_utsname __user * name) |
212 | { | 216 | { |
213 | int err = -EFAULT; | 217 | int err = 0; |
214 | 218 | ||
215 | down_read(&uts_sem); | 219 | down_read(&uts_sem); |
216 | if (name && !copy_to_user(name, &system_utsname, sizeof (*name))) | 220 | if (copy_to_user(name, &system_utsname, sizeof(*name))) |
217 | err = 0; | 221 | err = -EFAULT; |
218 | up_read(&uts_sem); | 222 | up_read(&uts_sem); |
219 | 223 | if (!err && personality(current->personality) == PER_LINUX32) { | |
224 | /* change ppc64 to ppc */ | ||
225 | if (__put_user(0, name->machine + 3) | ||
226 | || __put_user(0, name->machine + 4)) | ||
227 | err = -EFAULT; | ||
228 | } | ||
220 | return err; | 229 | return err; |
221 | } | 230 | } |
222 | 231 | ||
diff --git a/arch/s390/appldata/appldata_base.c b/arch/s390/appldata/appldata_base.c index 01ae1964c938..c067435bae45 100644 --- a/arch/s390/appldata/appldata_base.c +++ b/arch/s390/appldata/appldata_base.c | |||
@@ -28,6 +28,7 @@ | |||
28 | //#include <linux/kernel_stat.h> | 28 | //#include <linux/kernel_stat.h> |
29 | #include <linux/notifier.h> | 29 | #include <linux/notifier.h> |
30 | #include <linux/cpu.h> | 30 | #include <linux/cpu.h> |
31 | #include <linux/workqueue.h> | ||
31 | 32 | ||
32 | #include "appldata.h" | 33 | #include "appldata.h" |
33 | 34 | ||
@@ -133,9 +134,12 @@ static int appldata_interval = APPLDATA_CPU_INTERVAL; | |||
133 | static int appldata_timer_active; | 134 | static int appldata_timer_active; |
134 | 135 | ||
135 | /* | 136 | /* |
136 | * Tasklet | 137 | * Work queue |
137 | */ | 138 | */ |
138 | static struct tasklet_struct appldata_tasklet_struct; | 139 | static struct workqueue_struct *appldata_wq; |
140 | static void appldata_work_fn(void *data); | ||
141 | static DECLARE_WORK(appldata_work, appldata_work_fn, NULL); | ||
142 | |||
139 | 143 | ||
140 | /* | 144 | /* |
141 | * Ops list | 145 | * Ops list |
@@ -144,11 +148,11 @@ static DEFINE_SPINLOCK(appldata_ops_lock); | |||
144 | static LIST_HEAD(appldata_ops_list); | 148 | static LIST_HEAD(appldata_ops_list); |
145 | 149 | ||
146 | 150 | ||
147 | /************************* timer, tasklet, DIAG ******************************/ | 151 | /*************************** timer, work, DIAG *******************************/ |
148 | /* | 152 | /* |
149 | * appldata_timer_function() | 153 | * appldata_timer_function() |
150 | * | 154 | * |
151 | * schedule tasklet and reschedule timer | 155 | * schedule work and reschedule timer |
152 | */ | 156 | */ |
153 | static void appldata_timer_function(unsigned long data, struct pt_regs *regs) | 157 | static void appldata_timer_function(unsigned long data, struct pt_regs *regs) |
154 | { | 158 | { |
@@ -157,22 +161,22 @@ static void appldata_timer_function(unsigned long data, struct pt_regs *regs) | |||
157 | atomic_read(&appldata_expire_count)); | 161 | atomic_read(&appldata_expire_count)); |
158 | if (atomic_dec_and_test(&appldata_expire_count)) { | 162 | if (atomic_dec_and_test(&appldata_expire_count)) { |
159 | atomic_set(&appldata_expire_count, num_online_cpus()); | 163 | atomic_set(&appldata_expire_count, num_online_cpus()); |
160 | tasklet_schedule((struct tasklet_struct *) data); | 164 | queue_work(appldata_wq, (struct work_struct *) data); |
161 | } | 165 | } |
162 | } | 166 | } |
163 | 167 | ||
164 | /* | 168 | /* |
165 | * appldata_tasklet_function() | 169 | * appldata_work_fn() |
166 | * | 170 | * |
167 | * call data gathering function for each (active) module | 171 | * call data gathering function for each (active) module |
168 | */ | 172 | */ |
169 | static void appldata_tasklet_function(unsigned long data) | 173 | static void appldata_work_fn(void *data) |
170 | { | 174 | { |
171 | struct list_head *lh; | 175 | struct list_head *lh; |
172 | struct appldata_ops *ops; | 176 | struct appldata_ops *ops; |
173 | int i; | 177 | int i; |
174 | 178 | ||
175 | P_DEBUG(" -= Tasklet =-\n"); | 179 | P_DEBUG(" -= Work Queue =-\n"); |
176 | i = 0; | 180 | i = 0; |
177 | spin_lock(&appldata_ops_lock); | 181 | spin_lock(&appldata_ops_lock); |
178 | list_for_each(lh, &appldata_ops_list) { | 182 | list_for_each(lh, &appldata_ops_list) { |
@@ -231,7 +235,7 @@ static int appldata_diag(char record_nr, u16 function, unsigned long buffer, | |||
231 | : "=d" (ry) : "d" (&(appldata_parameter_list)) : "cc"); | 235 | : "=d" (ry) : "d" (&(appldata_parameter_list)) : "cc"); |
232 | return (int) ry; | 236 | return (int) ry; |
233 | } | 237 | } |
234 | /********************** timer, tasklet, DIAG <END> ***************************/ | 238 | /************************ timer, work, DIAG <END> ****************************/ |
235 | 239 | ||
236 | 240 | ||
237 | /****************************** /proc stuff **********************************/ | 241 | /****************************** /proc stuff **********************************/ |
@@ -411,7 +415,7 @@ appldata_generic_handler(ctl_table *ctl, int write, struct file *filp, | |||
411 | struct list_head *lh; | 415 | struct list_head *lh; |
412 | 416 | ||
413 | found = 0; | 417 | found = 0; |
414 | spin_lock_bh(&appldata_ops_lock); | 418 | spin_lock(&appldata_ops_lock); |
415 | list_for_each(lh, &appldata_ops_list) { | 419 | list_for_each(lh, &appldata_ops_list) { |
416 | tmp_ops = list_entry(lh, struct appldata_ops, list); | 420 | tmp_ops = list_entry(lh, struct appldata_ops, list); |
417 | if (&tmp_ops->ctl_table[2] == ctl) { | 421 | if (&tmp_ops->ctl_table[2] == ctl) { |
@@ -419,15 +423,15 @@ appldata_generic_handler(ctl_table *ctl, int write, struct file *filp, | |||
419 | } | 423 | } |
420 | } | 424 | } |
421 | if (!found) { | 425 | if (!found) { |
422 | spin_unlock_bh(&appldata_ops_lock); | 426 | spin_unlock(&appldata_ops_lock); |
423 | return -ENODEV; | 427 | return -ENODEV; |
424 | } | 428 | } |
425 | ops = ctl->data; | 429 | ops = ctl->data; |
426 | if (!try_module_get(ops->owner)) { // protect this function | 430 | if (!try_module_get(ops->owner)) { // protect this function |
427 | spin_unlock_bh(&appldata_ops_lock); | 431 | spin_unlock(&appldata_ops_lock); |
428 | return -ENODEV; | 432 | return -ENODEV; |
429 | } | 433 | } |
430 | spin_unlock_bh(&appldata_ops_lock); | 434 | spin_unlock(&appldata_ops_lock); |
431 | 435 | ||
432 | if (!*lenp || *ppos) { | 436 | if (!*lenp || *ppos) { |
433 | *lenp = 0; | 437 | *lenp = 0; |
@@ -451,10 +455,11 @@ appldata_generic_handler(ctl_table *ctl, int write, struct file *filp, | |||
451 | return -EFAULT; | 455 | return -EFAULT; |
452 | } | 456 | } |
453 | 457 | ||
454 | spin_lock_bh(&appldata_ops_lock); | 458 | spin_lock(&appldata_ops_lock); |
455 | if ((buf[0] == '1') && (ops->active == 0)) { | 459 | if ((buf[0] == '1') && (ops->active == 0)) { |
456 | if (!try_module_get(ops->owner)) { // protect tasklet | 460 | // protect work queue callback |
457 | spin_unlock_bh(&appldata_ops_lock); | 461 | if (!try_module_get(ops->owner)) { |
462 | spin_unlock(&appldata_ops_lock); | ||
458 | module_put(ops->owner); | 463 | module_put(ops->owner); |
459 | return -ENODEV; | 464 | return -ENODEV; |
460 | } | 465 | } |
@@ -485,7 +490,7 @@ appldata_generic_handler(ctl_table *ctl, int write, struct file *filp, | |||
485 | } | 490 | } |
486 | module_put(ops->owner); | 491 | module_put(ops->owner); |
487 | } | 492 | } |
488 | spin_unlock_bh(&appldata_ops_lock); | 493 | spin_unlock(&appldata_ops_lock); |
489 | out: | 494 | out: |
490 | *lenp = len; | 495 | *lenp = len; |
491 | *ppos += len; | 496 | *ppos += len; |
@@ -529,7 +534,7 @@ int appldata_register_ops(struct appldata_ops *ops) | |||
529 | } | 534 | } |
530 | memset(ops->ctl_table, 0, 4*sizeof(struct ctl_table)); | 535 | memset(ops->ctl_table, 0, 4*sizeof(struct ctl_table)); |
531 | 536 | ||
532 | spin_lock_bh(&appldata_ops_lock); | 537 | spin_lock(&appldata_ops_lock); |
533 | list_for_each(lh, &appldata_ops_list) { | 538 | list_for_each(lh, &appldata_ops_list) { |
534 | tmp_ops = list_entry(lh, struct appldata_ops, list); | 539 | tmp_ops = list_entry(lh, struct appldata_ops, list); |
535 | P_DEBUG("register_ops loop: %i) name = %s, ctl = %i\n", | 540 | P_DEBUG("register_ops loop: %i) name = %s, ctl = %i\n", |
@@ -541,18 +546,18 @@ int appldata_register_ops(struct appldata_ops *ops) | |||
541 | APPLDATA_PROC_NAME_LENGTH) == 0) { | 546 | APPLDATA_PROC_NAME_LENGTH) == 0) { |
542 | P_ERROR("Name \"%s\" already registered!\n", ops->name); | 547 | P_ERROR("Name \"%s\" already registered!\n", ops->name); |
543 | kfree(ops->ctl_table); | 548 | kfree(ops->ctl_table); |
544 | spin_unlock_bh(&appldata_ops_lock); | 549 | spin_unlock(&appldata_ops_lock); |
545 | return -EBUSY; | 550 | return -EBUSY; |
546 | } | 551 | } |
547 | if (tmp_ops->ctl_nr == ops->ctl_nr) { | 552 | if (tmp_ops->ctl_nr == ops->ctl_nr) { |
548 | P_ERROR("ctl_nr %i already registered!\n", ops->ctl_nr); | 553 | P_ERROR("ctl_nr %i already registered!\n", ops->ctl_nr); |
549 | kfree(ops->ctl_table); | 554 | kfree(ops->ctl_table); |
550 | spin_unlock_bh(&appldata_ops_lock); | 555 | spin_unlock(&appldata_ops_lock); |
551 | return -EBUSY; | 556 | return -EBUSY; |
552 | } | 557 | } |
553 | } | 558 | } |
554 | list_add(&ops->list, &appldata_ops_list); | 559 | list_add(&ops->list, &appldata_ops_list); |
555 | spin_unlock_bh(&appldata_ops_lock); | 560 | spin_unlock(&appldata_ops_lock); |
556 | 561 | ||
557 | ops->ctl_table[0].ctl_name = CTL_APPLDATA; | 562 | ops->ctl_table[0].ctl_name = CTL_APPLDATA; |
558 | ops->ctl_table[0].procname = appldata_proc_name; | 563 | ops->ctl_table[0].procname = appldata_proc_name; |
@@ -583,12 +588,12 @@ int appldata_register_ops(struct appldata_ops *ops) | |||
583 | */ | 588 | */ |
584 | void appldata_unregister_ops(struct appldata_ops *ops) | 589 | void appldata_unregister_ops(struct appldata_ops *ops) |
585 | { | 590 | { |
586 | spin_lock_bh(&appldata_ops_lock); | 591 | spin_lock(&appldata_ops_lock); |
587 | unregister_sysctl_table(ops->sysctl_header); | 592 | unregister_sysctl_table(ops->sysctl_header); |
588 | list_del(&ops->list); | 593 | list_del(&ops->list); |
589 | kfree(ops->ctl_table); | 594 | kfree(ops->ctl_table); |
590 | ops->ctl_table = NULL; | 595 | ops->ctl_table = NULL; |
591 | spin_unlock_bh(&appldata_ops_lock); | 596 | spin_unlock(&appldata_ops_lock); |
592 | P_INFO("%s-ops unregistered!\n", ops->name); | 597 | P_INFO("%s-ops unregistered!\n", ops->name); |
593 | } | 598 | } |
594 | /********************** module-ops management <END> **************************/ | 599 | /********************** module-ops management <END> **************************/ |
@@ -602,7 +607,7 @@ appldata_online_cpu(int cpu) | |||
602 | init_virt_timer(&per_cpu(appldata_timer, cpu)); | 607 | init_virt_timer(&per_cpu(appldata_timer, cpu)); |
603 | per_cpu(appldata_timer, cpu).function = appldata_timer_function; | 608 | per_cpu(appldata_timer, cpu).function = appldata_timer_function; |
604 | per_cpu(appldata_timer, cpu).data = (unsigned long) | 609 | per_cpu(appldata_timer, cpu).data = (unsigned long) |
605 | &appldata_tasklet_struct; | 610 | &appldata_work; |
606 | atomic_inc(&appldata_expire_count); | 611 | atomic_inc(&appldata_expire_count); |
607 | spin_lock(&appldata_timer_lock); | 612 | spin_lock(&appldata_timer_lock); |
608 | __appldata_vtimer_setup(APPLDATA_MOD_TIMER); | 613 | __appldata_vtimer_setup(APPLDATA_MOD_TIMER); |
@@ -615,7 +620,7 @@ appldata_offline_cpu(int cpu) | |||
615 | del_virt_timer(&per_cpu(appldata_timer, cpu)); | 620 | del_virt_timer(&per_cpu(appldata_timer, cpu)); |
616 | if (atomic_dec_and_test(&appldata_expire_count)) { | 621 | if (atomic_dec_and_test(&appldata_expire_count)) { |
617 | atomic_set(&appldata_expire_count, num_online_cpus()); | 622 | atomic_set(&appldata_expire_count, num_online_cpus()); |
618 | tasklet_schedule(&appldata_tasklet_struct); | 623 | queue_work(appldata_wq, &appldata_work); |
619 | } | 624 | } |
620 | spin_lock(&appldata_timer_lock); | 625 | spin_lock(&appldata_timer_lock); |
621 | __appldata_vtimer_setup(APPLDATA_MOD_TIMER); | 626 | __appldata_vtimer_setup(APPLDATA_MOD_TIMER); |
@@ -648,7 +653,7 @@ static struct notifier_block __devinitdata appldata_nb = { | |||
648 | /* | 653 | /* |
649 | * appldata_init() | 654 | * appldata_init() |
650 | * | 655 | * |
651 | * init timer and tasklet, register /proc entries | 656 | * init timer, register /proc entries |
652 | */ | 657 | */ |
653 | static int __init appldata_init(void) | 658 | static int __init appldata_init(void) |
654 | { | 659 | { |
@@ -657,6 +662,12 @@ static int __init appldata_init(void) | |||
657 | P_DEBUG("sizeof(parameter_list) = %lu\n", | 662 | P_DEBUG("sizeof(parameter_list) = %lu\n", |
658 | sizeof(struct appldata_parameter_list)); | 663 | sizeof(struct appldata_parameter_list)); |
659 | 664 | ||
665 | appldata_wq = create_singlethread_workqueue("appldata"); | ||
666 | if (!appldata_wq) { | ||
667 | P_ERROR("Could not create work queue\n"); | ||
668 | return -ENOMEM; | ||
669 | } | ||
670 | |||
660 | for_each_online_cpu(i) | 671 | for_each_online_cpu(i) |
661 | appldata_online_cpu(i); | 672 | appldata_online_cpu(i); |
662 | 673 | ||
@@ -670,7 +681,6 @@ static int __init appldata_init(void) | |||
670 | appldata_table[1].de->owner = THIS_MODULE; | 681 | appldata_table[1].de->owner = THIS_MODULE; |
671 | #endif | 682 | #endif |
672 | 683 | ||
673 | tasklet_init(&appldata_tasklet_struct, appldata_tasklet_function, 0); | ||
674 | P_DEBUG("Base interface initialized.\n"); | 684 | P_DEBUG("Base interface initialized.\n"); |
675 | return 0; | 685 | return 0; |
676 | } | 686 | } |
@@ -678,7 +688,7 @@ static int __init appldata_init(void) | |||
678 | /* | 688 | /* |
679 | * appldata_exit() | 689 | * appldata_exit() |
680 | * | 690 | * |
681 | * stop timer and tasklet, unregister /proc entries | 691 | * stop timer, unregister /proc entries |
682 | */ | 692 | */ |
683 | static void __exit appldata_exit(void) | 693 | static void __exit appldata_exit(void) |
684 | { | 694 | { |
@@ -690,7 +700,7 @@ static void __exit appldata_exit(void) | |||
690 | /* | 700 | /* |
691 | * ops list should be empty, but just in case something went wrong... | 701 | * ops list should be empty, but just in case something went wrong... |
692 | */ | 702 | */ |
693 | spin_lock_bh(&appldata_ops_lock); | 703 | spin_lock(&appldata_ops_lock); |
694 | list_for_each(lh, &appldata_ops_list) { | 704 | list_for_each(lh, &appldata_ops_list) { |
695 | ops = list_entry(lh, struct appldata_ops, list); | 705 | ops = list_entry(lh, struct appldata_ops, list); |
696 | rc = appldata_diag(ops->record_nr, APPLDATA_STOP_REC, | 706 | rc = appldata_diag(ops->record_nr, APPLDATA_STOP_REC, |
@@ -700,7 +710,7 @@ static void __exit appldata_exit(void) | |||
700 | "return code: %d\n", ops->name, rc); | 710 | "return code: %d\n", ops->name, rc); |
701 | } | 711 | } |
702 | } | 712 | } |
703 | spin_unlock_bh(&appldata_ops_lock); | 713 | spin_unlock(&appldata_ops_lock); |
704 | 714 | ||
705 | for_each_online_cpu(i) | 715 | for_each_online_cpu(i) |
706 | appldata_offline_cpu(i); | 716 | appldata_offline_cpu(i); |
@@ -709,7 +719,7 @@ static void __exit appldata_exit(void) | |||
709 | 719 | ||
710 | unregister_sysctl_table(appldata_sysctl_header); | 720 | unregister_sysctl_table(appldata_sysctl_header); |
711 | 721 | ||
712 | tasklet_kill(&appldata_tasklet_struct); | 722 | destroy_workqueue(appldata_wq); |
713 | P_DEBUG("... module unloaded!\n"); | 723 | P_DEBUG("... module unloaded!\n"); |
714 | } | 724 | } |
715 | /**************************** init / exit <END> ******************************/ | 725 | /**************************** init / exit <END> ******************************/ |
diff --git a/arch/s390/appldata/appldata_mem.c b/arch/s390/appldata/appldata_mem.c index 462ee9a84e76..f0e2fbed3d4c 100644 --- a/arch/s390/appldata/appldata_mem.c +++ b/arch/s390/appldata/appldata_mem.c | |||
@@ -68,7 +68,7 @@ struct appldata_mem_data { | |||
68 | u64 pgmajfault; /* page faults (major only) */ | 68 | u64 pgmajfault; /* page faults (major only) */ |
69 | // <-- New in 2.6 | 69 | // <-- New in 2.6 |
70 | 70 | ||
71 | } appldata_mem_data; | 71 | } __attribute__((packed)) appldata_mem_data; |
72 | 72 | ||
73 | 73 | ||
74 | static inline void appldata_debug_print(struct appldata_mem_data *mem_data) | 74 | static inline void appldata_debug_print(struct appldata_mem_data *mem_data) |
diff --git a/arch/s390/appldata/appldata_net_sum.c b/arch/s390/appldata/appldata_net_sum.c index dd61638d3027..2a4c7432db4a 100644 --- a/arch/s390/appldata/appldata_net_sum.c +++ b/arch/s390/appldata/appldata_net_sum.c | |||
@@ -57,7 +57,7 @@ struct appldata_net_sum_data { | |||
57 | u64 rx_dropped; /* no space in linux buffers */ | 57 | u64 rx_dropped; /* no space in linux buffers */ |
58 | u64 tx_dropped; /* no space available in linux */ | 58 | u64 tx_dropped; /* no space available in linux */ |
59 | u64 collisions; /* collisions while transmitting */ | 59 | u64 collisions; /* collisions while transmitting */ |
60 | } appldata_net_sum_data; | 60 | } __attribute__((packed)) appldata_net_sum_data; |
61 | 61 | ||
62 | 62 | ||
63 | static inline void appldata_print_debug(struct appldata_net_sum_data *net_data) | 63 | static inline void appldata_print_debug(struct appldata_net_sum_data *net_data) |
diff --git a/arch/s390/appldata/appldata_os.c b/arch/s390/appldata/appldata_os.c index b83f07484551..e0a476bf4fd6 100644 --- a/arch/s390/appldata/appldata_os.c +++ b/arch/s390/appldata/appldata_os.c | |||
@@ -49,7 +49,7 @@ struct appldata_os_per_cpu { | |||
49 | u32 per_cpu_softirq; /* ... spent in softirqs */ | 49 | u32 per_cpu_softirq; /* ... spent in softirqs */ |
50 | u32 per_cpu_iowait; /* ... spent while waiting for I/O */ | 50 | u32 per_cpu_iowait; /* ... spent while waiting for I/O */ |
51 | // <-- New in 2.6 | 51 | // <-- New in 2.6 |
52 | }; | 52 | } __attribute__((packed)); |
53 | 53 | ||
54 | struct appldata_os_data { | 54 | struct appldata_os_data { |
55 | u64 timestamp; | 55 | u64 timestamp; |
@@ -75,7 +75,7 @@ struct appldata_os_data { | |||
75 | 75 | ||
76 | /* per cpu data */ | 76 | /* per cpu data */ |
77 | struct appldata_os_per_cpu os_cpu[0]; | 77 | struct appldata_os_per_cpu os_cpu[0]; |
78 | }; | 78 | } __attribute__((packed)); |
79 | 79 | ||
80 | static struct appldata_os_data *appldata_os_data; | 80 | static struct appldata_os_data *appldata_os_data; |
81 | 81 | ||
diff --git a/arch/s390/kernel/ptrace.c b/arch/s390/kernel/ptrace.c index 26889366929a..06afa3103ace 100644 --- a/arch/s390/kernel/ptrace.c +++ b/arch/s390/kernel/ptrace.c | |||
@@ -40,6 +40,7 @@ | |||
40 | #include <asm/pgalloc.h> | 40 | #include <asm/pgalloc.h> |
41 | #include <asm/system.h> | 41 | #include <asm/system.h> |
42 | #include <asm/uaccess.h> | 42 | #include <asm/uaccess.h> |
43 | #include <asm/unistd.h> | ||
43 | 44 | ||
44 | #ifdef CONFIG_S390_SUPPORT | 45 | #ifdef CONFIG_S390_SUPPORT |
45 | #include "compat_ptrace.h" | 46 | #include "compat_ptrace.h" |
@@ -130,13 +131,19 @@ static int | |||
130 | peek_user(struct task_struct *child, addr_t addr, addr_t data) | 131 | peek_user(struct task_struct *child, addr_t addr, addr_t data) |
131 | { | 132 | { |
132 | struct user *dummy = NULL; | 133 | struct user *dummy = NULL; |
133 | addr_t offset, tmp; | 134 | addr_t offset, tmp, mask; |
134 | 135 | ||
135 | /* | 136 | /* |
136 | * Stupid gdb peeks/pokes the access registers in 64 bit with | 137 | * Stupid gdb peeks/pokes the access registers in 64 bit with |
137 | * an alignment of 4. Programmers from hell... | 138 | * an alignment of 4. Programmers from hell... |
138 | */ | 139 | */ |
139 | if ((addr & 3) || addr > sizeof(struct user) - __ADDR_MASK) | 140 | mask = __ADDR_MASK; |
141 | #ifdef CONFIG_ARCH_S390X | ||
142 | if (addr >= (addr_t) &dummy->regs.acrs && | ||
143 | addr < (addr_t) &dummy->regs.orig_gpr2) | ||
144 | mask = 3; | ||
145 | #endif | ||
146 | if ((addr & mask) || addr > sizeof(struct user) - __ADDR_MASK) | ||
140 | return -EIO; | 147 | return -EIO; |
141 | 148 | ||
142 | if (addr < (addr_t) &dummy->regs.acrs) { | 149 | if (addr < (addr_t) &dummy->regs.acrs) { |
@@ -153,6 +160,16 @@ peek_user(struct task_struct *child, addr_t addr, addr_t data) | |||
153 | * access registers are stored in the thread structure | 160 | * access registers are stored in the thread structure |
154 | */ | 161 | */ |
155 | offset = addr - (addr_t) &dummy->regs.acrs; | 162 | offset = addr - (addr_t) &dummy->regs.acrs; |
163 | #ifdef CONFIG_ARCH_S390X | ||
164 | /* | ||
165 | * Very special case: old & broken 64 bit gdb reading | ||
166 | * from acrs[15]. Result is a 64 bit value. Read the | ||
167 | * 32 bit acrs[15] value and shift it by 32. Sick... | ||
168 | */ | ||
169 | if (addr == (addr_t) &dummy->regs.acrs[15]) | ||
170 | tmp = ((unsigned long) child->thread.acrs[15]) << 32; | ||
171 | else | ||
172 | #endif | ||
156 | tmp = *(addr_t *)((addr_t) &child->thread.acrs + offset); | 173 | tmp = *(addr_t *)((addr_t) &child->thread.acrs + offset); |
157 | 174 | ||
158 | } else if (addr == (addr_t) &dummy->regs.orig_gpr2) { | 175 | } else if (addr == (addr_t) &dummy->regs.orig_gpr2) { |
@@ -167,6 +184,9 @@ peek_user(struct task_struct *child, addr_t addr, addr_t data) | |||
167 | */ | 184 | */ |
168 | offset = addr - (addr_t) &dummy->regs.fp_regs; | 185 | offset = addr - (addr_t) &dummy->regs.fp_regs; |
169 | tmp = *(addr_t *)((addr_t) &child->thread.fp_regs + offset); | 186 | tmp = *(addr_t *)((addr_t) &child->thread.fp_regs + offset); |
187 | if (addr == (addr_t) &dummy->regs.fp_regs.fpc) | ||
188 | tmp &= (unsigned long) FPC_VALID_MASK | ||
189 | << (BITS_PER_LONG - 32); | ||
170 | 190 | ||
171 | } else if (addr < (addr_t) (&dummy->regs.per_info + 1)) { | 191 | } else if (addr < (addr_t) (&dummy->regs.per_info + 1)) { |
172 | /* | 192 | /* |
@@ -191,13 +211,19 @@ static int | |||
191 | poke_user(struct task_struct *child, addr_t addr, addr_t data) | 211 | poke_user(struct task_struct *child, addr_t addr, addr_t data) |
192 | { | 212 | { |
193 | struct user *dummy = NULL; | 213 | struct user *dummy = NULL; |
194 | addr_t offset; | 214 | addr_t offset, mask; |
195 | 215 | ||
196 | /* | 216 | /* |
197 | * Stupid gdb peeks/pokes the access registers in 64 bit with | 217 | * Stupid gdb peeks/pokes the access registers in 64 bit with |
198 | * an alignment of 4. Programmers from hell indeed... | 218 | * an alignment of 4. Programmers from hell indeed... |
199 | */ | 219 | */ |
200 | if ((addr & 3) || addr > sizeof(struct user) - __ADDR_MASK) | 220 | mask = __ADDR_MASK; |
221 | #ifdef CONFIG_ARCH_S390X | ||
222 | if (addr >= (addr_t) &dummy->regs.acrs && | ||
223 | addr < (addr_t) &dummy->regs.orig_gpr2) | ||
224 | mask = 3; | ||
225 | #endif | ||
226 | if ((addr & mask) || addr > sizeof(struct user) - __ADDR_MASK) | ||
201 | return -EIO; | 227 | return -EIO; |
202 | 228 | ||
203 | if (addr < (addr_t) &dummy->regs.acrs) { | 229 | if (addr < (addr_t) &dummy->regs.acrs) { |
@@ -224,6 +250,17 @@ poke_user(struct task_struct *child, addr_t addr, addr_t data) | |||
224 | * access registers are stored in the thread structure | 250 | * access registers are stored in the thread structure |
225 | */ | 251 | */ |
226 | offset = addr - (addr_t) &dummy->regs.acrs; | 252 | offset = addr - (addr_t) &dummy->regs.acrs; |
253 | #ifdef CONFIG_ARCH_S390X | ||
254 | /* | ||
255 | * Very special case: old & broken 64 bit gdb writing | ||
256 | * to acrs[15] with a 64 bit value. Ignore the lower | ||
257 | * half of the value and write the upper 32 bit to | ||
258 | * acrs[15]. Sick... | ||
259 | */ | ||
260 | if (addr == (addr_t) &dummy->regs.acrs[15]) | ||
261 | child->thread.acrs[15] = (unsigned int) (data >> 32); | ||
262 | else | ||
263 | #endif | ||
227 | *(addr_t *)((addr_t) &child->thread.acrs + offset) = data; | 264 | *(addr_t *)((addr_t) &child->thread.acrs + offset) = data; |
228 | 265 | ||
229 | } else if (addr == (addr_t) &dummy->regs.orig_gpr2) { | 266 | } else if (addr == (addr_t) &dummy->regs.orig_gpr2) { |
@@ -237,7 +274,8 @@ poke_user(struct task_struct *child, addr_t addr, addr_t data) | |||
237 | * floating point regs. are stored in the thread structure | 274 | * floating point regs. are stored in the thread structure |
238 | */ | 275 | */ |
239 | if (addr == (addr_t) &dummy->regs.fp_regs.fpc && | 276 | if (addr == (addr_t) &dummy->regs.fp_regs.fpc && |
240 | (data & ~FPC_VALID_MASK) != 0) | 277 | (data & ~((unsigned long) FPC_VALID_MASK |
278 | << (BITS_PER_LONG - 32))) != 0) | ||
241 | return -EINVAL; | 279 | return -EINVAL; |
242 | offset = addr - (addr_t) &dummy->regs.fp_regs; | 280 | offset = addr - (addr_t) &dummy->regs.fp_regs; |
243 | *(addr_t *)((addr_t) &child->thread.fp_regs + offset) = data; | 281 | *(addr_t *)((addr_t) &child->thread.fp_regs + offset) = data; |
@@ -723,6 +761,13 @@ syscall_trace(struct pt_regs *regs, int entryexit) | |||
723 | ? 0x80 : 0)); | 761 | ? 0x80 : 0)); |
724 | 762 | ||
725 | /* | 763 | /* |
764 | * If the debuffer has set an invalid system call number, | ||
765 | * we prepare to skip the system call restart handling. | ||
766 | */ | ||
767 | if (!entryexit && regs->gprs[2] >= NR_syscalls) | ||
768 | regs->trap = -1; | ||
769 | |||
770 | /* | ||
726 | * this isn't the same as continuing with a signal, but it will do | 771 | * this isn't the same as continuing with a signal, but it will do |
727 | * for normal use. strace only continues with a signal if the | 772 | * for normal use. strace only continues with a signal if the |
728 | * stopping signal is not SIGTRAP. -brl | 773 | * stopping signal is not SIGTRAP. -brl |
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c index 80306bc8c799..75fde949d125 100644 --- a/arch/s390/mm/fault.c +++ b/arch/s390/mm/fault.c | |||
@@ -207,7 +207,7 @@ do_exception(struct pt_regs *regs, unsigned long error_code, int is_protection) | |||
207 | * we are not in an interrupt and that there is a | 207 | * we are not in an interrupt and that there is a |
208 | * user context. | 208 | * user context. |
209 | */ | 209 | */ |
210 | if (user_address == 0 || in_interrupt() || !mm) | 210 | if (user_address == 0 || in_atomic() || !mm) |
211 | goto no_context; | 211 | goto no_context; |
212 | 212 | ||
213 | /* | 213 | /* |
diff --git a/arch/um/Kconfig_char b/arch/um/Kconfig_char index 3e50fdb67626..62d87b71179b 100644 --- a/arch/um/Kconfig_char +++ b/arch/um/Kconfig_char | |||
@@ -204,5 +204,11 @@ config UML_RANDOM | |||
204 | http://sourceforge.net/projects/gkernel/). rngd periodically reads | 204 | http://sourceforge.net/projects/gkernel/). rngd periodically reads |
205 | /dev/hwrng and injects the entropy into /dev/random. | 205 | /dev/hwrng and injects the entropy into /dev/random. |
206 | 206 | ||
207 | config MMAPPER | ||
208 | tristate "iomem emulation driver" | ||
209 | help | ||
210 | This driver allows a host file to be used as emulated IO memory inside | ||
211 | UML. | ||
212 | |||
207 | endmenu | 213 | endmenu |
208 | 214 | ||
diff --git a/arch/um/drivers/Makefile b/arch/um/drivers/Makefile index 323f72c64cd2..b2de9916c32c 100644 --- a/arch/um/drivers/Makefile +++ b/arch/um/drivers/Makefile | |||
@@ -22,8 +22,8 @@ obj-y := stdio_console.o fd.o chan_kern.o chan_user.o line.o | |||
22 | obj-$(CONFIG_SSL) += ssl.o | 22 | obj-$(CONFIG_SSL) += ssl.o |
23 | obj-$(CONFIG_STDERR_CONSOLE) += stderr_console.o | 23 | obj-$(CONFIG_STDERR_CONSOLE) += stderr_console.o |
24 | 24 | ||
25 | obj-$(CONFIG_UML_NET_SLIP) += slip.o | 25 | obj-$(CONFIG_UML_NET_SLIP) += slip.o slip_common.o |
26 | obj-$(CONFIG_UML_NET_SLIRP) += slirp.o | 26 | obj-$(CONFIG_UML_NET_SLIRP) += slirp.o slip_common.o |
27 | obj-$(CONFIG_UML_NET_DAEMON) += daemon.o | 27 | obj-$(CONFIG_UML_NET_DAEMON) += daemon.o |
28 | obj-$(CONFIG_UML_NET_MCAST) += mcast.o | 28 | obj-$(CONFIG_UML_NET_MCAST) += mcast.o |
29 | #obj-$(CONFIG_UML_NET_PCAP) += pcap.o $(PCAP) | 29 | #obj-$(CONFIG_UML_NET_PCAP) += pcap.o $(PCAP) |
@@ -41,6 +41,6 @@ obj-$(CONFIG_UML_WATCHDOG) += harddog.o | |||
41 | obj-$(CONFIG_BLK_DEV_COW_COMMON) += cow_user.o | 41 | obj-$(CONFIG_BLK_DEV_COW_COMMON) += cow_user.o |
42 | obj-$(CONFIG_UML_RANDOM) += random.o | 42 | obj-$(CONFIG_UML_RANDOM) += random.o |
43 | 43 | ||
44 | USER_OBJS := fd.o null.o pty.o tty.o xterm.o | 44 | USER_OBJS := fd.o null.o pty.o tty.o xterm.o slip_common.o |
45 | 45 | ||
46 | include arch/um/scripts/Makefile.rules | 46 | include arch/um/scripts/Makefile.rules |
diff --git a/arch/um/drivers/chan_user.c b/arch/um/drivers/chan_user.c index 583b8e137c33..5d3768156c92 100644 --- a/arch/um/drivers/chan_user.c +++ b/arch/um/drivers/chan_user.c | |||
@@ -143,22 +143,22 @@ static int winch_tramp(int fd, struct tty_struct *tty, int *fd_out) | |||
143 | { | 143 | { |
144 | struct winch_data data; | 144 | struct winch_data data; |
145 | unsigned long stack; | 145 | unsigned long stack; |
146 | int fds[2], pid, n, err; | 146 | int fds[2], n, err; |
147 | char c; | 147 | char c; |
148 | 148 | ||
149 | err = os_pipe(fds, 1, 1); | 149 | err = os_pipe(fds, 1, 1); |
150 | if(err < 0){ | 150 | if(err < 0){ |
151 | printk("winch_tramp : os_pipe failed, err = %d\n", -err); | 151 | printk("winch_tramp : os_pipe failed, err = %d\n", -err); |
152 | return(err); | 152 | goto out; |
153 | } | 153 | } |
154 | 154 | ||
155 | data = ((struct winch_data) { .pty_fd = fd, | 155 | data = ((struct winch_data) { .pty_fd = fd, |
156 | .pipe_fd = fds[1], | 156 | .pipe_fd = fds[1], |
157 | .close_me = fds[0] } ); | 157 | .close_me = fds[0] } ); |
158 | pid = run_helper_thread(winch_thread, &data, 0, &stack, 0); | 158 | err = run_helper_thread(winch_thread, &data, 0, &stack, 0); |
159 | if(pid < 0){ | 159 | if(err < 0){ |
160 | printk("fork of winch_thread failed - errno = %d\n", errno); | 160 | printk("fork of winch_thread failed - errno = %d\n", errno); |
161 | return(pid); | 161 | goto out_close; |
162 | } | 162 | } |
163 | 163 | ||
164 | os_close_file(fds[1]); | 164 | os_close_file(fds[1]); |
@@ -168,14 +168,22 @@ static int winch_tramp(int fd, struct tty_struct *tty, int *fd_out) | |||
168 | printk("winch_tramp : failed to read synchronization byte\n"); | 168 | printk("winch_tramp : failed to read synchronization byte\n"); |
169 | printk("read failed, err = %d\n", -n); | 169 | printk("read failed, err = %d\n", -n); |
170 | printk("fd %d will not support SIGWINCH\n", fd); | 170 | printk("fd %d will not support SIGWINCH\n", fd); |
171 | *fd_out = -1; | 171 | err = -EINVAL; |
172 | goto out_close1; | ||
172 | } | 173 | } |
173 | return(pid); | 174 | return err ; |
175 | |||
176 | out_close: | ||
177 | os_close_file(fds[1]); | ||
178 | out_close1: | ||
179 | os_close_file(fds[0]); | ||
180 | out: | ||
181 | return err; | ||
174 | } | 182 | } |
175 | 183 | ||
176 | void register_winch(int fd, struct tty_struct *tty) | 184 | void register_winch(int fd, struct tty_struct *tty) |
177 | { | 185 | { |
178 | int pid, thread, thread_fd; | 186 | int pid, thread, thread_fd = -1; |
179 | int count; | 187 | int count; |
180 | char c = 1; | 188 | char c = 1; |
181 | 189 | ||
@@ -186,7 +194,7 @@ void register_winch(int fd, struct tty_struct *tty) | |||
186 | if(!CHOOSE_MODE_PROC(is_tracer_winch, is_skas_winch, pid, fd, | 194 | if(!CHOOSE_MODE_PROC(is_tracer_winch, is_skas_winch, pid, fd, |
187 | tty) && (pid == -1)){ | 195 | tty) && (pid == -1)){ |
188 | thread = winch_tramp(fd, tty, &thread_fd); | 196 | thread = winch_tramp(fd, tty, &thread_fd); |
189 | if(fd != -1){ | 197 | if(thread > 0){ |
190 | register_winch_irq(thread_fd, fd, thread, tty); | 198 | register_winch_irq(thread_fd, fd, thread, tty); |
191 | 199 | ||
192 | count = os_write_file(thread_fd, &c, sizeof(c)); | 200 | count = os_write_file(thread_fd, &c, sizeof(c)); |
diff --git a/arch/um/drivers/mmapper_kern.c b/arch/um/drivers/mmapper_kern.c index a63231dffe05..a37a5ac13c22 100644 --- a/arch/um/drivers/mmapper_kern.c +++ b/arch/um/drivers/mmapper_kern.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
20 | #include <linux/smp_lock.h> | 20 | #include <linux/smp_lock.h> |
21 | #include <linux/miscdevice.h> | ||
21 | #include <asm/uaccess.h> | 22 | #include <asm/uaccess.h> |
22 | #include <asm/irq.h> | 23 | #include <asm/irq.h> |
23 | #include <asm/pgtable.h> | 24 | #include <asm/pgtable.h> |
@@ -117,24 +118,39 @@ static struct file_operations mmapper_fops = { | |||
117 | .release = mmapper_release, | 118 | .release = mmapper_release, |
118 | }; | 119 | }; |
119 | 120 | ||
121 | static struct miscdevice mmapper_dev = { | ||
122 | .minor = MISC_DYNAMIC_MINOR, | ||
123 | .name = "mmapper", | ||
124 | .fops = &mmapper_fops | ||
125 | }; | ||
126 | |||
120 | static int __init mmapper_init(void) | 127 | static int __init mmapper_init(void) |
121 | { | 128 | { |
129 | int err; | ||
130 | |||
122 | printk(KERN_INFO "Mapper v0.1\n"); | 131 | printk(KERN_INFO "Mapper v0.1\n"); |
123 | 132 | ||
124 | v_buf = (char *) find_iomem("mmapper", &mmapper_size); | 133 | v_buf = (char *) find_iomem("mmapper", &mmapper_size); |
125 | if(mmapper_size == 0){ | 134 | if(mmapper_size == 0){ |
126 | printk(KERN_ERR "mmapper_init - find_iomem failed\n"); | 135 | printk(KERN_ERR "mmapper_init - find_iomem failed\n"); |
127 | return(0); | 136 | goto out; |
128 | } | 137 | } |
129 | 138 | ||
130 | p_buf = __pa(v_buf); | 139 | err = misc_register(&mmapper_dev); |
140 | if(err){ | ||
141 | printk(KERN_ERR "mmapper - misc_register failed, err = %d\n", | ||
142 | err); | ||
143 | goto out; | ||
144 | } | ||
131 | 145 | ||
132 | devfs_mk_cdev(MKDEV(30, 0), S_IFCHR|S_IRUGO|S_IWUGO, "mmapper"); | 146 | p_buf = __pa(v_buf); |
133 | return(0); | 147 | out: |
148 | return 0; | ||
134 | } | 149 | } |
135 | 150 | ||
136 | static void mmapper_exit(void) | 151 | static void mmapper_exit(void) |
137 | { | 152 | { |
153 | misc_deregister(&mmapper_dev); | ||
138 | } | 154 | } |
139 | 155 | ||
140 | module_init(mmapper_init); | 156 | module_init(mmapper_init); |
diff --git a/arch/um/drivers/net_user.c b/arch/um/drivers/net_user.c index 47229fe4a813..3730d4f12713 100644 --- a/arch/um/drivers/net_user.c +++ b/arch/um/drivers/net_user.c | |||
@@ -32,7 +32,7 @@ int tap_open_common(void *dev, char *gate_addr) | |||
32 | return(0); | 32 | return(0); |
33 | } | 33 | } |
34 | 34 | ||
35 | void tap_check_ips(char *gate_addr, char *eth_addr) | 35 | void tap_check_ips(char *gate_addr, unsigned char *eth_addr) |
36 | { | 36 | { |
37 | int tap_addr[4]; | 37 | int tap_addr[4]; |
38 | 38 | ||
diff --git a/arch/um/drivers/slip.h b/arch/um/drivers/slip.h index 495f2f1b1420..bb0dab41c2e4 100644 --- a/arch/um/drivers/slip.h +++ b/arch/um/drivers/slip.h | |||
@@ -1,10 +1,7 @@ | |||
1 | #ifndef __UM_SLIP_H | 1 | #ifndef __UM_SLIP_H |
2 | #define __UM_SLIP_H | 2 | #define __UM_SLIP_H |
3 | 3 | ||
4 | #define BUF_SIZE 1500 | 4 | #include "slip_common.h" |
5 | /* two bytes each for a (pathological) max packet of escaped chars + * | ||
6 | * terminating END char + initial END char */ | ||
7 | #define ENC_BUF_SIZE (2 * BUF_SIZE + 2) | ||
8 | 5 | ||
9 | struct slip_data { | 6 | struct slip_data { |
10 | void *dev; | 7 | void *dev; |
@@ -12,28 +9,12 @@ struct slip_data { | |||
12 | char *addr; | 9 | char *addr; |
13 | char *gate_addr; | 10 | char *gate_addr; |
14 | int slave; | 11 | int slave; |
15 | char ibuf[ENC_BUF_SIZE]; | 12 | struct slip_proto slip; |
16 | char obuf[ENC_BUF_SIZE]; | ||
17 | int more; /* more data: do not read fd until ibuf has been drained */ | ||
18 | int pos; | ||
19 | int esc; | ||
20 | }; | 13 | }; |
21 | 14 | ||
22 | extern struct net_user_info slip_user_info; | 15 | extern struct net_user_info slip_user_info; |
23 | 16 | ||
24 | extern int set_umn_addr(int fd, char *addr, char *ptp_addr); | ||
25 | extern int slip_user_read(int fd, void *buf, int len, struct slip_data *pri); | 17 | extern int slip_user_read(int fd, void *buf, int len, struct slip_data *pri); |
26 | extern int slip_user_write(int fd, void *buf, int len, struct slip_data *pri); | 18 | extern int slip_user_write(int fd, void *buf, int len, struct slip_data *pri); |
27 | 19 | ||
28 | #endif | 20 | #endif |
29 | |||
30 | /* | ||
31 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
32 | * Emacs will notice this stuff at the end of the file and automatically | ||
33 | * adjust the settings for this buffer only. This must remain at the end | ||
34 | * of the file. | ||
35 | * --------------------------------------------------------------------------- | ||
36 | * Local variables: | ||
37 | * c-file-style: "linux" | ||
38 | * End: | ||
39 | */ | ||
diff --git a/arch/um/drivers/slip_common.c b/arch/um/drivers/slip_common.c new file mode 100644 index 000000000000..e89cfc68fc3e --- /dev/null +++ b/arch/um/drivers/slip_common.c | |||
@@ -0,0 +1,54 @@ | |||
1 | #include <string.h> | ||
2 | #include "slip_common.h" | ||
3 | #include "net_user.h" | ||
4 | |||
5 | int slip_proto_read(int fd, void *buf, int len, struct slip_proto *slip) | ||
6 | { | ||
7 | int i, n, size, start; | ||
8 | |||
9 | if(slip->more > 0){ | ||
10 | i = 0; | ||
11 | while(i < slip->more){ | ||
12 | size = slip_unesc(slip->ibuf[i++], slip->ibuf, | ||
13 | &slip->pos, &slip->esc); | ||
14 | if(size){ | ||
15 | memcpy(buf, slip->ibuf, size); | ||
16 | memmove(slip->ibuf, &slip->ibuf[i], | ||
17 | slip->more - i); | ||
18 | slip->more = slip->more - i; | ||
19 | return size; | ||
20 | } | ||
21 | } | ||
22 | slip->more = 0; | ||
23 | } | ||
24 | |||
25 | n = net_read(fd, &slip->ibuf[slip->pos], | ||
26 | sizeof(slip->ibuf) - slip->pos); | ||
27 | if(n <= 0) | ||
28 | return n; | ||
29 | |||
30 | start = slip->pos; | ||
31 | for(i = 0; i < n; i++){ | ||
32 | size = slip_unesc(slip->ibuf[start + i], slip->ibuf,&slip->pos, | ||
33 | &slip->esc); | ||
34 | if(size){ | ||
35 | memcpy(buf, slip->ibuf, size); | ||
36 | memmove(slip->ibuf, &slip->ibuf[start+i+1], | ||
37 | n - (i + 1)); | ||
38 | slip->more = n - (i + 1); | ||
39 | return size; | ||
40 | } | ||
41 | } | ||
42 | return 0; | ||
43 | } | ||
44 | |||
45 | int slip_proto_write(int fd, void *buf, int len, struct slip_proto *slip) | ||
46 | { | ||
47 | int actual, n; | ||
48 | |||
49 | actual = slip_esc(buf, slip->obuf, len); | ||
50 | n = net_write(fd, slip->obuf, actual); | ||
51 | if(n < 0) | ||
52 | return n; | ||
53 | else return len; | ||
54 | } | ||
diff --git a/arch/um/drivers/slip_proto.h b/arch/um/drivers/slip_common.h index 7206361ace45..2ae76d8f1be1 100644 --- a/arch/um/drivers/slip_proto.h +++ b/arch/um/drivers/slip_common.h | |||
@@ -1,10 +1,10 @@ | |||
1 | /* | 1 | #ifndef __UM_SLIP_COMMON_H |
2 | * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) | 2 | #define __UM_SLIP_COMMON_H |
3 | * Licensed under the GPL | ||
4 | */ | ||
5 | 3 | ||
6 | #ifndef __UM_SLIP_PROTO_H__ | 4 | #define BUF_SIZE 1500 |
7 | #define __UM_SLIP_PROTO_H__ | 5 | /* two bytes each for a (pathological) max packet of escaped chars + * |
6 | * terminating END char + initial END char */ | ||
7 | #define ENC_BUF_SIZE (2 * BUF_SIZE + 2) | ||
8 | 8 | ||
9 | /* SLIP protocol characters. */ | 9 | /* SLIP protocol characters. */ |
10 | #define SLIP_END 0300 /* indicates end of frame */ | 10 | #define SLIP_END 0300 /* indicates end of frame */ |
@@ -12,7 +12,8 @@ | |||
12 | #define SLIP_ESC_END 0334 /* ESC ESC_END means END 'data' */ | 12 | #define SLIP_ESC_END 0334 /* ESC ESC_END means END 'data' */ |
13 | #define SLIP_ESC_ESC 0335 /* ESC ESC_ESC means ESC 'data' */ | 13 | #define SLIP_ESC_ESC 0335 /* ESC ESC_ESC means ESC 'data' */ |
14 | 14 | ||
15 | static inline int slip_unesc(unsigned char c,char *buf,int *pos, int *esc) | 15 | static inline int slip_unesc(unsigned char c, unsigned char *buf, int *pos, |
16 | int *esc) | ||
16 | { | 17 | { |
17 | int ret; | 18 | int ret; |
18 | 19 | ||
@@ -79,15 +80,25 @@ static inline int slip_esc(unsigned char *s, unsigned char *d, int len) | |||
79 | return (ptr - d); | 80 | return (ptr - d); |
80 | } | 81 | } |
81 | 82 | ||
82 | #endif | 83 | struct slip_proto { |
84 | unsigned char ibuf[ENC_BUF_SIZE]; | ||
85 | unsigned char obuf[ENC_BUF_SIZE]; | ||
86 | int more; /* more data: do not read fd until ibuf has been drained */ | ||
87 | int pos; | ||
88 | int esc; | ||
89 | }; | ||
90 | |||
91 | #define SLIP_PROTO_INIT { \ | ||
92 | .ibuf = { '\0' }, \ | ||
93 | .obuf = { '\0' }, \ | ||
94 | .more = 0, \ | ||
95 | .pos = 0, \ | ||
96 | .esc = 0 \ | ||
97 | } | ||
83 | 98 | ||
84 | /* | 99 | extern int slip_proto_read(int fd, void *buf, int len, |
85 | * Overrides for Emacs so that we follow Linus's tabbing style. | 100 | struct slip_proto *slip); |
86 | * Emacs will notice this stuff at the end of the file and automatically | 101 | extern int slip_proto_write(int fd, void *buf, int len, |
87 | * adjust the settings for this buffer only. This must remain at the end | 102 | struct slip_proto *slip); |
88 | * of the file. | 103 | |
89 | * --------------------------------------------------------------------------- | 104 | #endif |
90 | * Local variables: | ||
91 | * c-file-style: "linux" | ||
92 | * End: | ||
93 | */ | ||
diff --git a/arch/um/drivers/slip_kern.c b/arch/um/drivers/slip_kern.c index 0886eedba213..9a6f5c85f902 100644 --- a/arch/um/drivers/slip_kern.c +++ b/arch/um/drivers/slip_kern.c | |||
@@ -26,16 +26,16 @@ void slip_init(struct net_device *dev, void *data) | |||
26 | .addr = NULL, | 26 | .addr = NULL, |
27 | .gate_addr = init->gate_addr, | 27 | .gate_addr = init->gate_addr, |
28 | .slave = -1, | 28 | .slave = -1, |
29 | .ibuf = { '\0' }, | 29 | .slip = SLIP_PROTO_INIT, |
30 | .obuf = { '\0' }, | ||
31 | .pos = 0, | ||
32 | .esc = 0, | ||
33 | .dev = dev }); | 30 | .dev = dev }); |
34 | 31 | ||
35 | dev->init = NULL; | 32 | dev->init = NULL; |
33 | dev->header_cache_update = NULL; | ||
34 | dev->hard_header_cache = NULL; | ||
35 | dev->hard_header = NULL; | ||
36 | dev->hard_header_len = 0; | 36 | dev->hard_header_len = 0; |
37 | dev->addr_len = 4; | 37 | dev->addr_len = 0; |
38 | dev->type = ARPHRD_ETHER; | 38 | dev->type = ARPHRD_SLIP; |
39 | dev->tx_queue_len = 256; | 39 | dev->tx_queue_len = 256; |
40 | dev->flags = IFF_NOARP; | 40 | dev->flags = IFF_NOARP; |
41 | printk("SLIP backend - SLIP IP = %s\n", spri->gate_addr); | 41 | printk("SLIP backend - SLIP IP = %s\n", spri->gate_addr); |
diff --git a/arch/um/drivers/slip_user.c b/arch/um/drivers/slip_user.c index d94846b1b4cf..71af444e591f 100644 --- a/arch/um/drivers/slip_user.c +++ b/arch/um/drivers/slip_user.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include "user.h" | 13 | #include "user.h" |
14 | #include "net_user.h" | 14 | #include "net_user.h" |
15 | #include "slip.h" | 15 | #include "slip.h" |
16 | #include "slip_proto.h" | 16 | #include "slip_common.h" |
17 | #include "helper.h" | 17 | #include "helper.h" |
18 | #include "os.h" | 18 | #include "os.h" |
19 | 19 | ||
@@ -77,41 +77,51 @@ static int slip_tramp(char **argv, int fd) | |||
77 | err = os_pipe(fds, 1, 0); | 77 | err = os_pipe(fds, 1, 0); |
78 | if(err < 0){ | 78 | if(err < 0){ |
79 | printk("slip_tramp : pipe failed, err = %d\n", -err); | 79 | printk("slip_tramp : pipe failed, err = %d\n", -err); |
80 | return(err); | 80 | goto out; |
81 | } | 81 | } |
82 | 82 | ||
83 | err = 0; | 83 | err = 0; |
84 | pe_data.stdin = fd; | 84 | pe_data.stdin = fd; |
85 | pe_data.stdout = fds[1]; | 85 | pe_data.stdout = fds[1]; |
86 | pe_data.close_me = fds[0]; | 86 | pe_data.close_me = fds[0]; |
87 | pid = run_helper(slip_pre_exec, &pe_data, argv, NULL); | 87 | err = run_helper(slip_pre_exec, &pe_data, argv, NULL); |
88 | if(err < 0) | ||
89 | goto out_close; | ||
90 | pid = err; | ||
91 | |||
92 | output_len = page_size(); | ||
93 | output = um_kmalloc(output_len); | ||
94 | if(output == NULL){ | ||
95 | printk("slip_tramp : failed to allocate output buffer\n"); | ||
96 | os_kill_process(pid, 1); | ||
97 | err = -ENOMEM; | ||
98 | goto out_free; | ||
99 | } | ||
88 | 100 | ||
89 | if(pid < 0) err = pid; | 101 | os_close_file(fds[1]); |
90 | else { | 102 | read_output(fds[0], output, output_len); |
91 | output_len = page_size(); | 103 | printk("%s", output); |
92 | output = um_kmalloc(output_len); | 104 | |
93 | if(output == NULL) | 105 | CATCH_EINTR(err = waitpid(pid, &status, 0)); |
94 | printk("slip_tramp : failed to allocate output " | 106 | if(err < 0) |
95 | "buffer\n"); | 107 | err = errno; |
96 | 108 | else if(!WIFEXITED(status) || (WEXITSTATUS(status) != 0)){ | |
97 | os_close_file(fds[1]); | 109 | printk("'%s' didn't exit with status 0\n", argv[0]); |
98 | read_output(fds[0], output, output_len); | 110 | err = -EINVAL; |
99 | if(output != NULL){ | ||
100 | printk("%s", output); | ||
101 | kfree(output); | ||
102 | } | ||
103 | CATCH_EINTR(err = waitpid(pid, &status, 0)); | ||
104 | if(err < 0) | ||
105 | err = errno; | ||
106 | else if(!WIFEXITED(status) || (WEXITSTATUS(status) != 0)){ | ||
107 | printk("'%s' didn't exit with status 0\n", argv[0]); | ||
108 | err = -EINVAL; | ||
109 | } | ||
110 | } | 111 | } |
112 | else err = 0; | ||
111 | 113 | ||
112 | os_close_file(fds[0]); | 114 | os_close_file(fds[0]); |
113 | 115 | ||
114 | return(err); | 116 | out_free: |
117 | kfree(output); | ||
118 | return err; | ||
119 | |||
120 | out_close: | ||
121 | os_close_file(fds[0]); | ||
122 | os_close_file(fds[1]); | ||
123 | out: | ||
124 | return err; | ||
115 | } | 125 | } |
116 | 126 | ||
117 | static int slip_open(void *data) | 127 | static int slip_open(void *data) |
@@ -123,21 +133,26 @@ static int slip_open(void *data) | |||
123 | NULL }; | 133 | NULL }; |
124 | int sfd, mfd, err; | 134 | int sfd, mfd, err; |
125 | 135 | ||
126 | mfd = get_pty(); | 136 | err = get_pty(); |
127 | if(mfd < 0){ | 137 | if(err < 0){ |
128 | printk("umn : Failed to open pty, err = %d\n", -mfd); | 138 | printk("slip-open : Failed to open pty, err = %d\n", -err); |
129 | return(mfd); | 139 | goto out; |
130 | } | 140 | } |
131 | sfd = os_open_file(ptsname(mfd), of_rdwr(OPENFLAGS()), 0); | 141 | mfd = err; |
132 | if(sfd < 0){ | 142 | |
133 | printk("Couldn't open tty for slip line, err = %d\n", -sfd); | 143 | err = os_open_file(ptsname(mfd), of_rdwr(OPENFLAGS()), 0); |
134 | os_close_file(mfd); | 144 | if(err < 0){ |
135 | return(sfd); | 145 | printk("Couldn't open tty for slip line, err = %d\n", -err); |
146 | goto out_close; | ||
136 | } | 147 | } |
137 | if(set_up_tty(sfd)) return(-1); | 148 | sfd = err; |
149 | |||
150 | if(set_up_tty(sfd)) | ||
151 | goto out_close2; | ||
152 | |||
138 | pri->slave = sfd; | 153 | pri->slave = sfd; |
139 | pri->pos = 0; | 154 | pri->slip.pos = 0; |
140 | pri->esc = 0; | 155 | pri->slip.esc = 0; |
141 | if(pri->gate_addr != NULL){ | 156 | if(pri->gate_addr != NULL){ |
142 | sprintf(version_buf, "%d", UML_NET_VERSION); | 157 | sprintf(version_buf, "%d", UML_NET_VERSION); |
143 | strcpy(gate_buf, pri->gate_addr); | 158 | strcpy(gate_buf, pri->gate_addr); |
@@ -146,12 +161,12 @@ static int slip_open(void *data) | |||
146 | 161 | ||
147 | if(err < 0){ | 162 | if(err < 0){ |
148 | printk("slip_tramp failed - err = %d\n", -err); | 163 | printk("slip_tramp failed - err = %d\n", -err); |
149 | return(err); | 164 | goto out_close2; |
150 | } | 165 | } |
151 | err = os_get_ifname(pri->slave, pri->name); | 166 | err = os_get_ifname(pri->slave, pri->name); |
152 | if(err < 0){ | 167 | if(err < 0){ |
153 | printk("get_ifname failed, err = %d\n", -err); | 168 | printk("get_ifname failed, err = %d\n", -err); |
154 | return(err); | 169 | goto out_close2; |
155 | } | 170 | } |
156 | iter_addresses(pri->dev, open_addr, pri->name); | 171 | iter_addresses(pri->dev, open_addr, pri->name); |
157 | } | 172 | } |
@@ -160,10 +175,16 @@ static int slip_open(void *data) | |||
160 | if(err < 0){ | 175 | if(err < 0){ |
161 | printk("Failed to set slip discipline encapsulation - " | 176 | printk("Failed to set slip discipline encapsulation - " |
162 | "err = %d\n", -err); | 177 | "err = %d\n", -err); |
163 | return(err); | 178 | goto out_close2; |
164 | } | 179 | } |
165 | } | 180 | } |
166 | return(mfd); | 181 | return(mfd); |
182 | out_close2: | ||
183 | os_close_file(sfd); | ||
184 | out_close: | ||
185 | os_close_file(mfd); | ||
186 | out: | ||
187 | return err; | ||
167 | } | 188 | } |
168 | 189 | ||
169 | static void slip_close(int fd, void *data) | 190 | static void slip_close(int fd, void *data) |
@@ -190,48 +211,12 @@ static void slip_close(int fd, void *data) | |||
190 | 211 | ||
191 | int slip_user_read(int fd, void *buf, int len, struct slip_data *pri) | 212 | int slip_user_read(int fd, void *buf, int len, struct slip_data *pri) |
192 | { | 213 | { |
193 | int i, n, size, start; | 214 | return slip_proto_read(fd, buf, len, &pri->slip); |
194 | |||
195 | if(pri->more>0) { | ||
196 | i = 0; | ||
197 | while(i < pri->more) { | ||
198 | size = slip_unesc(pri->ibuf[i++], | ||
199 | pri->ibuf, &pri->pos, &pri->esc); | ||
200 | if(size){ | ||
201 | memcpy(buf, pri->ibuf, size); | ||
202 | memmove(pri->ibuf, &pri->ibuf[i], pri->more-i); | ||
203 | pri->more=pri->more-i; | ||
204 | return(size); | ||
205 | } | ||
206 | } | ||
207 | pri->more=0; | ||
208 | } | ||
209 | |||
210 | n = net_read(fd, &pri->ibuf[pri->pos], sizeof(pri->ibuf) - pri->pos); | ||
211 | if(n <= 0) return(n); | ||
212 | |||
213 | start = pri->pos; | ||
214 | for(i = 0; i < n; i++){ | ||
215 | size = slip_unesc(pri->ibuf[start + i], | ||
216 | pri->ibuf, &pri->pos, &pri->esc); | ||
217 | if(size){ | ||
218 | memcpy(buf, pri->ibuf, size); | ||
219 | memmove(pri->ibuf, &pri->ibuf[start+i+1], n-(i+1)); | ||
220 | pri->more=n-(i+1); | ||
221 | return(size); | ||
222 | } | ||
223 | } | ||
224 | return(0); | ||
225 | } | 215 | } |
226 | 216 | ||
227 | int slip_user_write(int fd, void *buf, int len, struct slip_data *pri) | 217 | int slip_user_write(int fd, void *buf, int len, struct slip_data *pri) |
228 | { | 218 | { |
229 | int actual, n; | 219 | return slip_proto_write(fd, buf, len, &pri->slip); |
230 | |||
231 | actual = slip_esc(buf, pri->obuf, len); | ||
232 | n = net_write(fd, pri->obuf, actual); | ||
233 | if(n < 0) return(n); | ||
234 | else return(len); | ||
235 | } | 220 | } |
236 | 221 | ||
237 | static int slip_set_mtu(int mtu, void *data) | 222 | static int slip_set_mtu(int mtu, void *data) |
@@ -267,14 +252,3 @@ struct net_user_info slip_user_info = { | |||
267 | .delete_address = slip_del_addr, | 252 | .delete_address = slip_del_addr, |
268 | .max_packet = BUF_SIZE | 253 | .max_packet = BUF_SIZE |
269 | }; | 254 | }; |
270 | |||
271 | /* | ||
272 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
273 | * Emacs will notice this stuff at the end of the file and automatically | ||
274 | * adjust the settings for this buffer only. This must remain at the end | ||
275 | * of the file. | ||
276 | * --------------------------------------------------------------------------- | ||
277 | * Local variables: | ||
278 | * c-file-style: "linux" | ||
279 | * End: | ||
280 | */ | ||
diff --git a/arch/um/drivers/slirp.h b/arch/um/drivers/slirp.h index 04e407d1e44a..6cf88ab580c9 100644 --- a/arch/um/drivers/slirp.h +++ b/arch/um/drivers/slirp.h | |||
@@ -1,10 +1,7 @@ | |||
1 | #ifndef __UM_SLIRP_H | 1 | #ifndef __UM_SLIRP_H |
2 | #define __UM_SLIRP_H | 2 | #define __UM_SLIRP_H |
3 | 3 | ||
4 | #define BUF_SIZE 1500 | 4 | #include "slip_common.h" |
5 | /* two bytes each for a (pathological) max packet of escaped chars + * | ||
6 | * terminating END char + initial END char */ | ||
7 | #define ENC_BUF_SIZE (2 * BUF_SIZE + 2) | ||
8 | 5 | ||
9 | #define SLIRP_MAX_ARGS 100 | 6 | #define SLIRP_MAX_ARGS 100 |
10 | /* | 7 | /* |
@@ -24,28 +21,13 @@ struct slirp_data { | |||
24 | struct arg_list_dummy_wrapper argw; | 21 | struct arg_list_dummy_wrapper argw; |
25 | int pid; | 22 | int pid; |
26 | int slave; | 23 | int slave; |
27 | char ibuf[ENC_BUF_SIZE]; | 24 | struct slip_proto slip; |
28 | char obuf[ENC_BUF_SIZE]; | ||
29 | int more; /* more data: do not read fd until ibuf has been drained */ | ||
30 | int pos; | ||
31 | int esc; | ||
32 | }; | 25 | }; |
33 | 26 | ||
34 | extern struct net_user_info slirp_user_info; | 27 | extern struct net_user_info slirp_user_info; |
35 | 28 | ||
36 | extern int set_umn_addr(int fd, char *addr, char *ptp_addr); | ||
37 | extern int slirp_user_read(int fd, void *buf, int len, struct slirp_data *pri); | 29 | extern int slirp_user_read(int fd, void *buf, int len, struct slirp_data *pri); |
38 | extern int slirp_user_write(int fd, void *buf, int len, struct slirp_data *pri); | 30 | extern int slirp_user_write(int fd, void *buf, int len, |
31 | struct slirp_data *pri); | ||
39 | 32 | ||
40 | #endif | 33 | #endif |
41 | |||
42 | /* | ||
43 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
44 | * Emacs will notice this stuff at the end of the file and automatically | ||
45 | * adjust the settings for this buffer only. This must remain at the end | ||
46 | * of the file. | ||
47 | * --------------------------------------------------------------------------- | ||
48 | * Local variables: | ||
49 | * c-file-style: "linux" | ||
50 | * End: | ||
51 | */ | ||
diff --git a/arch/um/drivers/slirp_kern.c b/arch/um/drivers/slirp_kern.c index c9d6b52a831d..9864d27afdbe 100644 --- a/arch/um/drivers/slirp_kern.c +++ b/arch/um/drivers/slirp_kern.c | |||
@@ -25,10 +25,7 @@ void slirp_init(struct net_device *dev, void *data) | |||
25 | { .argw = init->argw, | 25 | { .argw = init->argw, |
26 | .pid = -1, | 26 | .pid = -1, |
27 | .slave = -1, | 27 | .slave = -1, |
28 | .ibuf = { '\0' }, | 28 | .slip = SLIP_PROTO_INIT, |
29 | .obuf = { '\0' }, | ||
30 | .pos = 0, | ||
31 | .esc = 0, | ||
32 | .dev = dev }); | 29 | .dev = dev }); |
33 | 30 | ||
34 | dev->init = NULL; | 31 | dev->init = NULL; |
diff --git a/arch/um/drivers/slirp_user.c b/arch/um/drivers/slirp_user.c index c322515c71cc..8d91f663d82c 100644 --- a/arch/um/drivers/slirp_user.c +++ b/arch/um/drivers/slirp_user.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include "user.h" | 12 | #include "user.h" |
13 | #include "net_user.h" | 13 | #include "net_user.h" |
14 | #include "slirp.h" | 14 | #include "slirp.h" |
15 | #include "slip_proto.h" | 15 | #include "slip_common.h" |
16 | #include "helper.h" | 16 | #include "helper.h" |
17 | #include "os.h" | 17 | #include "os.h" |
18 | 18 | ||
@@ -48,47 +48,32 @@ static int slirp_tramp(char **argv, int fd) | |||
48 | return(pid); | 48 | return(pid); |
49 | } | 49 | } |
50 | 50 | ||
51 | /* XXX This is just a trivial wrapper around os_pipe */ | ||
52 | static int slirp_datachan(int *mfd, int *sfd) | ||
53 | { | ||
54 | int fds[2], err; | ||
55 | |||
56 | err = os_pipe(fds, 1, 1); | ||
57 | if(err < 0){ | ||
58 | printk("slirp_datachan: Failed to open pipe, err = %d\n", -err); | ||
59 | return(err); | ||
60 | } | ||
61 | |||
62 | *mfd = fds[0]; | ||
63 | *sfd = fds[1]; | ||
64 | return(0); | ||
65 | } | ||
66 | |||
67 | static int slirp_open(void *data) | 51 | static int slirp_open(void *data) |
68 | { | 52 | { |
69 | struct slirp_data *pri = data; | 53 | struct slirp_data *pri = data; |
70 | int sfd, mfd, pid, err; | 54 | int fds[2], pid, err; |
71 | 55 | ||
72 | err = slirp_datachan(&mfd, &sfd); | 56 | err = os_pipe(fds, 1, 1); |
73 | if(err) | 57 | if(err) |
74 | return(err); | 58 | return(err); |
75 | 59 | ||
76 | pid = slirp_tramp(pri->argw.argv, sfd); | 60 | err = slirp_tramp(pri->argw.argv, fds[1]); |
77 | 61 | if(err < 0){ | |
78 | if(pid < 0){ | 62 | printk("slirp_tramp failed - errno = %d\n", -err); |
79 | printk("slirp_tramp failed - errno = %d\n", -pid); | 63 | goto out; |
80 | os_close_file(sfd); | ||
81 | os_close_file(mfd); | ||
82 | return(pid); | ||
83 | } | 64 | } |
84 | 65 | pid = err; | |
85 | pri->slave = sfd; | 66 | |
86 | pri->pos = 0; | 67 | pri->slave = fds[1]; |
87 | pri->esc = 0; | 68 | pri->slip.pos = 0; |
88 | 69 | pri->slip.esc = 0; | |
89 | pri->pid = pid; | 70 | pri->pid = err; |
90 | 71 | ||
91 | return(mfd); | 72 | return(fds[0]); |
73 | out: | ||
74 | os_close_file(fds[0]); | ||
75 | os_close_file(fds[1]); | ||
76 | return err; | ||
92 | } | 77 | } |
93 | 78 | ||
94 | static void slirp_close(int fd, void *data) | 79 | static void slirp_close(int fd, void *data) |
@@ -129,48 +114,12 @@ static void slirp_close(int fd, void *data) | |||
129 | 114 | ||
130 | int slirp_user_read(int fd, void *buf, int len, struct slirp_data *pri) | 115 | int slirp_user_read(int fd, void *buf, int len, struct slirp_data *pri) |
131 | { | 116 | { |
132 | int i, n, size, start; | 117 | return slip_proto_read(fd, buf, len, &pri->slip); |
133 | |||
134 | if(pri->more>0) { | ||
135 | i = 0; | ||
136 | while(i < pri->more) { | ||
137 | size = slip_unesc(pri->ibuf[i++], | ||
138 | pri->ibuf,&pri->pos,&pri->esc); | ||
139 | if(size){ | ||
140 | memcpy(buf, pri->ibuf, size); | ||
141 | memmove(pri->ibuf, &pri->ibuf[i], pri->more-i); | ||
142 | pri->more=pri->more-i; | ||
143 | return(size); | ||
144 | } | ||
145 | } | ||
146 | pri->more=0; | ||
147 | } | ||
148 | |||
149 | n = net_read(fd, &pri->ibuf[pri->pos], sizeof(pri->ibuf) - pri->pos); | ||
150 | if(n <= 0) return(n); | ||
151 | |||
152 | start = pri->pos; | ||
153 | for(i = 0; i < n; i++){ | ||
154 | size = slip_unesc(pri->ibuf[start + i], | ||
155 | pri->ibuf,&pri->pos,&pri->esc); | ||
156 | if(size){ | ||
157 | memcpy(buf, pri->ibuf, size); | ||
158 | memmove(pri->ibuf, &pri->ibuf[start+i+1], n-(i+1)); | ||
159 | pri->more=n-(i+1); | ||
160 | return(size); | ||
161 | } | ||
162 | } | ||
163 | return(0); | ||
164 | } | 118 | } |
165 | 119 | ||
166 | int slirp_user_write(int fd, void *buf, int len, struct slirp_data *pri) | 120 | int slirp_user_write(int fd, void *buf, int len, struct slirp_data *pri) |
167 | { | 121 | { |
168 | int actual, n; | 122 | return slip_proto_write(fd, buf, len, &pri->slip); |
169 | |||
170 | actual = slip_esc(buf, pri->obuf, len); | ||
171 | n = net_write(fd, pri->obuf, actual); | ||
172 | if(n < 0) return(n); | ||
173 | else return(len); | ||
174 | } | 123 | } |
175 | 124 | ||
176 | static int slirp_set_mtu(int mtu, void *data) | 125 | static int slirp_set_mtu(int mtu, void *data) |
@@ -188,14 +137,3 @@ struct net_user_info slirp_user_info = { | |||
188 | .delete_address = NULL, | 137 | .delete_address = NULL, |
189 | .max_packet = BUF_SIZE | 138 | .max_packet = BUF_SIZE |
190 | }; | 139 | }; |
191 | |||
192 | /* | ||
193 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
194 | * Emacs will notice this stuff at the end of the file and automatically | ||
195 | * adjust the settings for this buffer only. This must remain at the end | ||
196 | * of the file. | ||
197 | * --------------------------------------------------------------------------- | ||
198 | * Local variables: | ||
199 | * c-file-style: "linux" | ||
200 | * End: | ||
201 | */ | ||
diff --git a/arch/um/drivers/stderr_console.c b/arch/um/drivers/stderr_console.c index 98565b53d170..429ae8e6c7e5 100644 --- a/arch/um/drivers/stderr_console.c +++ b/arch/um/drivers/stderr_console.c | |||
@@ -22,9 +22,9 @@ static void stderr_console_write(struct console *console, const char *string, | |||
22 | } | 22 | } |
23 | 23 | ||
24 | static struct console stderr_console = { | 24 | static struct console stderr_console = { |
25 | .name "stderr", | 25 | .name = "stderr", |
26 | .write stderr_console_write, | 26 | .write = stderr_console_write, |
27 | .flags CON_PRINTBUFFER, | 27 | .flags = CON_PRINTBUFFER, |
28 | }; | 28 | }; |
29 | 29 | ||
30 | static int __init stderr_console_init(void) | 30 | static int __init stderr_console_init(void) |
diff --git a/arch/um/include/mconsole.h b/arch/um/include/mconsole.h index 9fbe3083fdd8..cfa368e045a5 100644 --- a/arch/um/include/mconsole.h +++ b/arch/um/include/mconsole.h | |||
@@ -56,7 +56,7 @@ struct mc_request | |||
56 | int as_interrupt; | 56 | int as_interrupt; |
57 | 57 | ||
58 | int originating_fd; | 58 | int originating_fd; |
59 | int originlen; | 59 | unsigned int originlen; |
60 | unsigned char origin[128]; /* sockaddr_un */ | 60 | unsigned char origin[128]; /* sockaddr_un */ |
61 | 61 | ||
62 | struct mconsole_request request; | 62 | struct mconsole_request request; |
diff --git a/arch/um/include/net_user.h b/arch/um/include/net_user.h index 36807b796e9f..89885a77a771 100644 --- a/arch/um/include/net_user.h +++ b/arch/um/include/net_user.h | |||
@@ -35,7 +35,7 @@ extern void *get_output_buffer(int *len_out); | |||
35 | extern void free_output_buffer(void *buffer); | 35 | extern void free_output_buffer(void *buffer); |
36 | 36 | ||
37 | extern int tap_open_common(void *dev, char *gate_addr); | 37 | extern int tap_open_common(void *dev, char *gate_addr); |
38 | extern void tap_check_ips(char *gate_addr, char *eth_addr); | 38 | extern void tap_check_ips(char *gate_addr, unsigned char *eth_addr); |
39 | 39 | ||
40 | extern void read_output(int fd, char *output_out, int len); | 40 | extern void read_output(int fd, char *output_out, int len); |
41 | 41 | ||
diff --git a/arch/um/include/os.h b/arch/um/include/os.h index d246d5a24609..881d2988d2d8 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/os.h | |||
@@ -136,7 +136,7 @@ extern int os_seek_file(int fd, __u64 offset); | |||
136 | extern int os_open_file(char *file, struct openflags flags, int mode); | 136 | extern int os_open_file(char *file, struct openflags flags, int mode); |
137 | extern int os_read_file(int fd, void *buf, int len); | 137 | extern int os_read_file(int fd, void *buf, int len); |
138 | extern int os_write_file(int fd, const void *buf, int count); | 138 | extern int os_write_file(int fd, const void *buf, int count); |
139 | extern int os_file_size(char *file, long long *size_out); | 139 | extern int os_file_size(char *file, unsigned long long *size_out); |
140 | extern int os_file_modtime(char *file, unsigned long *modtime); | 140 | extern int os_file_modtime(char *file, unsigned long *modtime); |
141 | extern int os_pipe(int *fd, int stream, int close_on_exec); | 141 | extern int os_pipe(int *fd, int stream, int close_on_exec); |
142 | extern int os_set_fd_async(int fd, int owner); | 142 | extern int os_set_fd_async(int fd, int owner); |
diff --git a/arch/um/include/sysdep-i386/ptrace.h b/arch/um/include/sysdep-i386/ptrace.h index 6eaeb9919983..c8ee9559f3ab 100644 --- a/arch/um/include/sysdep-i386/ptrace.h +++ b/arch/um/include/sysdep-i386/ptrace.h | |||
@@ -8,6 +8,8 @@ | |||
8 | 8 | ||
9 | #include "uml-config.h" | 9 | #include "uml-config.h" |
10 | #include "user_constants.h" | 10 | #include "user_constants.h" |
11 | #include "sysdep/faultinfo.h" | ||
12 | #include "choose-mode.h" | ||
11 | 13 | ||
12 | #define MAX_REG_NR (UM_FRAME_SIZE / sizeof(unsigned long)) | 14 | #define MAX_REG_NR (UM_FRAME_SIZE / sizeof(unsigned long)) |
13 | #define MAX_REG_OFFSET (UM_FRAME_SIZE) | 15 | #define MAX_REG_OFFSET (UM_FRAME_SIZE) |
@@ -58,9 +60,6 @@ extern int sysemu_supported; | |||
58 | #define PTRACE_SYSEMU_SINGLESTEP 32 | 60 | #define PTRACE_SYSEMU_SINGLESTEP 32 |
59 | #endif | 61 | #endif |
60 | 62 | ||
61 | #include "sysdep/faultinfo.h" | ||
62 | #include "choose-mode.h" | ||
63 | |||
64 | union uml_pt_regs { | 63 | union uml_pt_regs { |
65 | #ifdef UML_CONFIG_MODE_TT | 64 | #ifdef UML_CONFIG_MODE_TT |
66 | struct tt_regs { | 65 | struct tt_regs { |
diff --git a/arch/um/include/user_util.h b/arch/um/include/user_util.h index b8c5b8a95250..7b6a24dfd302 100644 --- a/arch/um/include/user_util.h +++ b/arch/um/include/user_util.h | |||
@@ -41,9 +41,6 @@ extern unsigned long highmem; | |||
41 | extern char host_info[]; | 41 | extern char host_info[]; |
42 | 42 | ||
43 | extern char saved_command_line[]; | 43 | extern char saved_command_line[]; |
44 | extern char command_line[]; | ||
45 | |||
46 | extern char *tempdir; | ||
47 | 44 | ||
48 | extern unsigned long _stext, _etext, _sdata, _edata, __bss_start, _end; | 45 | extern unsigned long _stext, _etext, _sdata, _edata, __bss_start, _end; |
49 | extern unsigned long _unprotected_end; | 46 | extern unsigned long _unprotected_end; |
diff --git a/arch/um/kernel/main.c b/arch/um/kernel/main.c index e42e6364ca13..e59f58152678 100644 --- a/arch/um/kernel/main.c +++ b/arch/um/kernel/main.c | |||
@@ -24,8 +24,6 @@ | |||
24 | #include "mode.h" | 24 | #include "mode.h" |
25 | #include "choose-mode.h" | 25 | #include "choose-mode.h" |
26 | #include "uml-config.h" | 26 | #include "uml-config.h" |
27 | #include "irq_user.h" | ||
28 | #include "time_user.h" | ||
29 | #include "os.h" | 27 | #include "os.h" |
30 | 28 | ||
31 | /* Set in set_stklim, which is called from main and __wrap_malloc. | 29 | /* Set in set_stklim, which is called from main and __wrap_malloc. |
diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c index 51f8e5a8ac6a..1b5ef3e96c71 100644 --- a/arch/um/kernel/process.c +++ b/arch/um/kernel/process.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include "init.h" | 30 | #include "init.h" |
31 | #include "os.h" | 31 | #include "os.h" |
32 | #include "uml-config.h" | 32 | #include "uml-config.h" |
33 | #include "ptrace_user.h" | ||
34 | #include "choose-mode.h" | 33 | #include "choose-mode.h" |
35 | #include "mode.h" | 34 | #include "mode.h" |
36 | #ifdef UML_CONFIG_MODE_SKAS | 35 | #ifdef UML_CONFIG_MODE_SKAS |
@@ -131,7 +130,7 @@ int start_fork_tramp(void *thread_arg, unsigned long temp_stack, | |||
131 | return(arg.pid); | 130 | return(arg.pid); |
132 | } | 131 | } |
133 | 132 | ||
134 | static int ptrace_child(void *arg) | 133 | static int ptrace_child(void) |
135 | { | 134 | { |
136 | int ret; | 135 | int ret; |
137 | int pid = os_getpid(), ppid = getppid(); | 136 | int pid = os_getpid(), ppid = getppid(); |
@@ -160,20 +159,16 @@ static int ptrace_child(void *arg) | |||
160 | _exit(ret); | 159 | _exit(ret); |
161 | } | 160 | } |
162 | 161 | ||
163 | static int start_ptraced_child(void **stack_out) | 162 | static int start_ptraced_child(void) |
164 | { | 163 | { |
165 | void *stack; | ||
166 | unsigned long sp; | ||
167 | int pid, n, status; | 164 | int pid, n, status; |
168 | 165 | ||
169 | stack = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE | PROT_EXEC, | 166 | pid = fork(); |
170 | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); | 167 | if(pid == 0) |
171 | if(stack == MAP_FAILED) | 168 | ptrace_child(); |
172 | panic("check_ptrace : mmap failed, errno = %d", errno); | 169 | |
173 | sp = (unsigned long) stack + PAGE_SIZE - sizeof(void *); | ||
174 | pid = clone(ptrace_child, (void *) sp, SIGCHLD, NULL); | ||
175 | if(pid < 0) | 170 | if(pid < 0) |
176 | panic("check_ptrace : clone failed, errno = %d", errno); | 171 | panic("check_ptrace : fork failed, errno = %d", errno); |
177 | CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); | 172 | CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); |
178 | if(n < 0) | 173 | if(n < 0) |
179 | panic("check_ptrace : wait failed, errno = %d", errno); | 174 | panic("check_ptrace : wait failed, errno = %d", errno); |
@@ -181,7 +176,6 @@ static int start_ptraced_child(void **stack_out) | |||
181 | panic("check_ptrace : expected SIGSTOP, got status = %d", | 176 | panic("check_ptrace : expected SIGSTOP, got status = %d", |
182 | status); | 177 | status); |
183 | 178 | ||
184 | *stack_out = stack; | ||
185 | return(pid); | 179 | return(pid); |
186 | } | 180 | } |
187 | 181 | ||
@@ -189,12 +183,12 @@ static int start_ptraced_child(void **stack_out) | |||
189 | * just avoid using sysemu, not panic, but only if SYSEMU features are broken. | 183 | * just avoid using sysemu, not panic, but only if SYSEMU features are broken. |
190 | * So only for SYSEMU features we test mustpanic, while normal host features | 184 | * So only for SYSEMU features we test mustpanic, while normal host features |
191 | * must work anyway!*/ | 185 | * must work anyway!*/ |
192 | static int stop_ptraced_child(int pid, void *stack, int exitcode, int mustpanic) | 186 | static int stop_ptraced_child(int pid, int exitcode, int mustexit) |
193 | { | 187 | { |
194 | int status, n, ret = 0; | 188 | int status, n, ret = 0; |
195 | 189 | ||
196 | if(ptrace(PTRACE_CONT, pid, 0, 0) < 0) | 190 | if(ptrace(PTRACE_CONT, pid, 0, 0) < 0) |
197 | panic("check_ptrace : ptrace failed, errno = %d", errno); | 191 | panic("stop_ptraced_child : ptrace failed, errno = %d", errno); |
198 | CATCH_EINTR(n = waitpid(pid, &status, 0)); | 192 | CATCH_EINTR(n = waitpid(pid, &status, 0)); |
199 | if(!WIFEXITED(status) || (WEXITSTATUS(status) != exitcode)) { | 193 | if(!WIFEXITED(status) || (WEXITSTATUS(status) != exitcode)) { |
200 | int exit_with = WEXITSTATUS(status); | 194 | int exit_with = WEXITSTATUS(status); |
@@ -205,15 +199,13 @@ static int stop_ptraced_child(int pid, void *stack, int exitcode, int mustpanic) | |||
205 | printk("check_ptrace : child exited with exitcode %d, while " | 199 | printk("check_ptrace : child exited with exitcode %d, while " |
206 | "expecting %d; status 0x%x", exit_with, | 200 | "expecting %d; status 0x%x", exit_with, |
207 | exitcode, status); | 201 | exitcode, status); |
208 | if (mustpanic) | 202 | if (mustexit) |
209 | panic("\n"); | 203 | panic("\n"); |
210 | else | 204 | else |
211 | printk("\n"); | 205 | printk("\n"); |
212 | ret = -1; | 206 | ret = -1; |
213 | } | 207 | } |
214 | 208 | ||
215 | if(munmap(stack, PAGE_SIZE) < 0) | ||
216 | panic("check_ptrace : munmap failed, errno = %d", errno); | ||
217 | return ret; | 209 | return ret; |
218 | } | 210 | } |
219 | 211 | ||
@@ -235,12 +227,11 @@ __uml_setup("nosysemu", nosysemu_cmd_param, | |||
235 | 227 | ||
236 | static void __init check_sysemu(void) | 228 | static void __init check_sysemu(void) |
237 | { | 229 | { |
238 | void *stack; | ||
239 | int pid, syscall, n, status, count=0; | 230 | int pid, syscall, n, status, count=0; |
240 | 231 | ||
241 | printk("Checking syscall emulation patch for ptrace..."); | 232 | printk("Checking syscall emulation patch for ptrace..."); |
242 | sysemu_supported = 0; | 233 | sysemu_supported = 0; |
243 | pid = start_ptraced_child(&stack); | 234 | pid = start_ptraced_child(); |
244 | 235 | ||
245 | if(ptrace(PTRACE_SYSEMU, pid, 0, 0) < 0) | 236 | if(ptrace(PTRACE_SYSEMU, pid, 0, 0) < 0) |
246 | goto fail; | 237 | goto fail; |
@@ -258,7 +249,7 @@ static void __init check_sysemu(void) | |||
258 | panic("check_sysemu : failed to modify system " | 249 | panic("check_sysemu : failed to modify system " |
259 | "call return, errno = %d", errno); | 250 | "call return, errno = %d", errno); |
260 | 251 | ||
261 | if (stop_ptraced_child(pid, stack, 0, 0) < 0) | 252 | if (stop_ptraced_child(pid, 0, 0) < 0) |
262 | goto fail_stopped; | 253 | goto fail_stopped; |
263 | 254 | ||
264 | sysemu_supported = 1; | 255 | sysemu_supported = 1; |
@@ -266,7 +257,7 @@ static void __init check_sysemu(void) | |||
266 | set_using_sysemu(!force_sysemu_disabled); | 257 | set_using_sysemu(!force_sysemu_disabled); |
267 | 258 | ||
268 | printk("Checking advanced syscall emulation patch for ptrace..."); | 259 | printk("Checking advanced syscall emulation patch for ptrace..."); |
269 | pid = start_ptraced_child(&stack); | 260 | pid = start_ptraced_child(); |
270 | while(1){ | 261 | while(1){ |
271 | count++; | 262 | count++; |
272 | if(ptrace(PTRACE_SYSEMU_SINGLESTEP, pid, 0, 0) < 0) | 263 | if(ptrace(PTRACE_SYSEMU_SINGLESTEP, pid, 0, 0) < 0) |
@@ -291,7 +282,7 @@ static void __init check_sysemu(void) | |||
291 | break; | 282 | break; |
292 | } | 283 | } |
293 | } | 284 | } |
294 | if (stop_ptraced_child(pid, stack, 0, 0) < 0) | 285 | if (stop_ptraced_child(pid, 0, 0) < 0) |
295 | goto fail_stopped; | 286 | goto fail_stopped; |
296 | 287 | ||
297 | sysemu_supported = 2; | 288 | sysemu_supported = 2; |
@@ -302,18 +293,17 @@ static void __init check_sysemu(void) | |||
302 | return; | 293 | return; |
303 | 294 | ||
304 | fail: | 295 | fail: |
305 | stop_ptraced_child(pid, stack, 1, 0); | 296 | stop_ptraced_child(pid, 1, 0); |
306 | fail_stopped: | 297 | fail_stopped: |
307 | printk("missing\n"); | 298 | printk("missing\n"); |
308 | } | 299 | } |
309 | 300 | ||
310 | void __init check_ptrace(void) | 301 | void __init check_ptrace(void) |
311 | { | 302 | { |
312 | void *stack; | ||
313 | int pid, syscall, n, status; | 303 | int pid, syscall, n, status; |
314 | 304 | ||
315 | printk("Checking that ptrace can change system call numbers..."); | 305 | printk("Checking that ptrace can change system call numbers..."); |
316 | pid = start_ptraced_child(&stack); | 306 | pid = start_ptraced_child(); |
317 | 307 | ||
318 | if (ptrace(PTRACE_OLDSETOPTIONS, pid, 0, (void *)PTRACE_O_TRACESYSGOOD) < 0) | 308 | if (ptrace(PTRACE_OLDSETOPTIONS, pid, 0, (void *)PTRACE_O_TRACESYSGOOD) < 0) |
319 | panic("check_ptrace: PTRACE_SETOPTIONS failed, errno = %d", errno); | 309 | panic("check_ptrace: PTRACE_SETOPTIONS failed, errno = %d", errno); |
@@ -340,7 +330,7 @@ void __init check_ptrace(void) | |||
340 | break; | 330 | break; |
341 | } | 331 | } |
342 | } | 332 | } |
343 | stop_ptraced_child(pid, stack, 0, 1); | 333 | stop_ptraced_child(pid, 0, 1); |
344 | printk("OK\n"); | 334 | printk("OK\n"); |
345 | check_sysemu(); | 335 | check_sysemu(); |
346 | } | 336 | } |
@@ -372,11 +362,10 @@ void forward_pending_sigio(int target) | |||
372 | static inline int check_skas3_ptrace_support(void) | 362 | static inline int check_skas3_ptrace_support(void) |
373 | { | 363 | { |
374 | struct ptrace_faultinfo fi; | 364 | struct ptrace_faultinfo fi; |
375 | void *stack; | ||
376 | int pid, n, ret = 1; | 365 | int pid, n, ret = 1; |
377 | 366 | ||
378 | printf("Checking for the skas3 patch in the host..."); | 367 | printf("Checking for the skas3 patch in the host..."); |
379 | pid = start_ptraced_child(&stack); | 368 | pid = start_ptraced_child(); |
380 | 369 | ||
381 | n = ptrace(PTRACE_FAULTINFO, pid, 0, &fi); | 370 | n = ptrace(PTRACE_FAULTINFO, pid, 0, &fi); |
382 | if (n < 0) { | 371 | if (n < 0) { |
@@ -391,7 +380,7 @@ static inline int check_skas3_ptrace_support(void) | |||
391 | } | 380 | } |
392 | 381 | ||
393 | init_registers(pid); | 382 | init_registers(pid); |
394 | stop_ptraced_child(pid, stack, 1, 1); | 383 | stop_ptraced_child(pid, 1, 1); |
395 | 384 | ||
396 | return(ret); | 385 | return(ret); |
397 | } | 386 | } |
diff --git a/arch/um/kernel/skas/process_kern.c b/arch/um/kernel/skas/process_kern.c index ab5d3271da0b..fc71ef295782 100644 --- a/arch/um/kernel/skas/process_kern.c +++ b/arch/um/kernel/skas/process_kern.c | |||
@@ -68,8 +68,11 @@ void new_thread_handler(int sig) | |||
68 | * 0 if it just exits | 68 | * 0 if it just exits |
69 | */ | 69 | */ |
70 | n = run_kernel_thread(fn, arg, ¤t->thread.exec_buf); | 70 | n = run_kernel_thread(fn, arg, ¤t->thread.exec_buf); |
71 | if(n == 1) | 71 | if(n == 1){ |
72 | /* Handle any immediate reschedules or signals */ | ||
73 | interrupt_end(); | ||
72 | userspace(¤t->thread.regs.regs); | 74 | userspace(¤t->thread.regs.regs); |
75 | } | ||
73 | else do_exit(0); | 76 | else do_exit(0); |
74 | } | 77 | } |
75 | 78 | ||
@@ -96,6 +99,8 @@ void fork_handler(int sig) | |||
96 | schedule_tail(current->thread.prev_sched); | 99 | schedule_tail(current->thread.prev_sched); |
97 | current->thread.prev_sched = NULL; | 100 | current->thread.prev_sched = NULL; |
98 | 101 | ||
102 | /* Handle any immediate reschedules or signals */ | ||
103 | interrupt_end(); | ||
99 | userspace(¤t->thread.regs.regs); | 104 | userspace(¤t->thread.regs.regs); |
100 | } | 105 | } |
101 | 106 | ||
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 418427107b29..8736d098f0ee 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include "asm/setup.h" | 26 | #include "asm/setup.h" |
27 | #include "ubd_user.h" | 27 | #include "ubd_user.h" |
28 | #include "asm/current.h" | 28 | #include "asm/current.h" |
29 | #include "asm/setup.h" | ||
30 | #include "user_util.h" | 29 | #include "user_util.h" |
31 | #include "kern_util.h" | 30 | #include "kern_util.h" |
32 | #include "kern.h" | 31 | #include "kern.h" |
diff --git a/arch/um/os-Linux/elf_aux.c b/arch/um/os-Linux/elf_aux.c index 9aee0b62ebca..f0d6060e3e57 100644 --- a/arch/um/os-Linux/elf_aux.c +++ b/arch/um/os-Linux/elf_aux.c | |||
@@ -45,7 +45,11 @@ __init void scan_elf_aux( char **envp) | |||
45 | elf_aux_hwcap = auxv->a_un.a_val; | 45 | elf_aux_hwcap = auxv->a_un.a_val; |
46 | break; | 46 | break; |
47 | case AT_PLATFORM: | 47 | case AT_PLATFORM: |
48 | elf_aux_platform = auxv->a_un.a_ptr; | 48 | /* elf.h removed the pointer elements from |
49 | * a_un, so we have to use a_val, which is | ||
50 | * all that's left. | ||
51 | */ | ||
52 | elf_aux_platform = (char *) auxv->a_un.a_val; | ||
49 | break; | 53 | break; |
50 | case AT_PAGESZ: | 54 | case AT_PAGESZ: |
51 | page_size = auxv->a_un.a_val; | 55 | page_size = auxv->a_un.a_val; |
diff --git a/arch/um/os-Linux/file.c b/arch/um/os-Linux/file.c index 77d4066d1af8..fd45bb260907 100644 --- a/arch/um/os-Linux/file.c +++ b/arch/um/os-Linux/file.c | |||
@@ -363,7 +363,7 @@ int os_write_file(int fd, const void *buf, int len) | |||
363 | (int (*)(int, void *, int)) write, copy_to_user_proc)); | 363 | (int (*)(int, void *, int)) write, copy_to_user_proc)); |
364 | } | 364 | } |
365 | 365 | ||
366 | int os_file_size(char *file, long long *size_out) | 366 | int os_file_size(char *file, unsigned long long *size_out) |
367 | { | 367 | { |
368 | struct uml_stat buf; | 368 | struct uml_stat buf; |
369 | int err; | 369 | int err; |
diff --git a/arch/um/scripts/Makefile.rules b/arch/um/scripts/Makefile.rules index 0b2491883d9c..98346c711493 100644 --- a/arch/um/scripts/Makefile.rules +++ b/arch/um/scripts/Makefile.rules | |||
@@ -14,7 +14,7 @@ quiet_cmd_make_link = SYMLINK $@ | |||
14 | cmd_make_link = ln -sf $(srctree)/arch/$(SUBARCH)/$($(notdir $@)-dir)/$(notdir $@) $@ | 14 | cmd_make_link = ln -sf $(srctree)/arch/$(SUBARCH)/$($(notdir $@)-dir)/$(notdir $@) $@ |
15 | 15 | ||
16 | # this needs to be before the foreach, because targets does not accept | 16 | # this needs to be before the foreach, because targets does not accept |
17 | # complete paths like $(obj)/$(f). To make sure this works, use a := assignment, | 17 | # complete paths like $(obj)/$(f). To make sure this works, use a := assignment |
18 | # or we will get $(obj)/$(f) in the "targets" value. | 18 | # or we will get $(obj)/$(f) in the "targets" value. |
19 | # Also, this forces you to use the := syntax when assigning to targets. | 19 | # Also, this forces you to use the := syntax when assigning to targets. |
20 | # Otherwise the line below will cause an infinite loop (if you don't know why, | 20 | # Otherwise the line below will cause an infinite loop (if you don't know why, |
diff --git a/arch/x86_64/kernel/aperture.c b/arch/x86_64/kernel/aperture.c index a491f72cc966..504e63474993 100644 --- a/arch/x86_64/kernel/aperture.c +++ b/arch/x86_64/kernel/aperture.c | |||
@@ -33,12 +33,10 @@ int fallback_aper_force __initdata = 0; | |||
33 | 33 | ||
34 | int fix_aperture __initdata = 1; | 34 | int fix_aperture __initdata = 1; |
35 | 35 | ||
36 | #define NB_ID_3 (PCI_VENDOR_ID_AMD | (0x1103<<16)) | 36 | /* This code runs before the PCI subsystem is initialized, so just |
37 | access the northbridge directly. */ | ||
37 | 38 | ||
38 | static struct resource aper_res = { | 39 | #define NB_ID_3 (PCI_VENDOR_ID_AMD | (0x1103<<16)) |
39 | .name = "Aperture", | ||
40 | .flags = IORESOURCE_MEM, | ||
41 | }; | ||
42 | 40 | ||
43 | static u32 __init allocate_aperture(void) | 41 | static u32 __init allocate_aperture(void) |
44 | { | 42 | { |
@@ -55,24 +53,11 @@ static u32 __init allocate_aperture(void) | |||
55 | aper_size = (32 * 1024 * 1024) << fallback_aper_order; | 53 | aper_size = (32 * 1024 * 1024) << fallback_aper_order; |
56 | 54 | ||
57 | /* | 55 | /* |
58 | * Aperture has to be naturally aligned. This means an 2GB | 56 | * Aperture has to be naturally aligned. This means an 2GB aperture won't |
59 | * aperture won't have much chances to find a place in the | 57 | * have much chances to find a place in the lower 4GB of memory. |
60 | * lower 4GB of memory. Unfortunately we cannot move it up | 58 | * Unfortunately we cannot move it up because that would make the |
61 | * because that would make the IOMMU useless. | 59 | * IOMMU useless. |
62 | */ | 60 | */ |
63 | |||
64 | /* First try to find some free unused space */ | ||
65 | if (!allocate_resource(&iomem_resource, &aper_res, | ||
66 | aper_size, | ||
67 | 0, 0xffffffff, | ||
68 | aper_size, | ||
69 | NULL, NULL)) { | ||
70 | printk(KERN_INFO "Putting aperture at %lx-%lx\n", | ||
71 | aper_res.start, aper_res.end); | ||
72 | return aper_res.start; | ||
73 | } | ||
74 | |||
75 | /* No free space found. Go on to waste some memory... */ | ||
76 | p = __alloc_bootmem_node(nd0, aper_size, aper_size, 0); | 61 | p = __alloc_bootmem_node(nd0, aper_size, aper_size, 0); |
77 | if (!p || __pa(p)+aper_size > 0xffffffff) { | 62 | if (!p || __pa(p)+aper_size > 0xffffffff) { |
78 | printk("Cannot allocate aperture memory hole (%p,%uK)\n", | 63 | printk("Cannot allocate aperture memory hole (%p,%uK)\n", |
@@ -81,7 +66,7 @@ static u32 __init allocate_aperture(void) | |||
81 | free_bootmem_node(nd0, (unsigned long)p, aper_size); | 66 | free_bootmem_node(nd0, (unsigned long)p, aper_size); |
82 | return 0; | 67 | return 0; |
83 | } | 68 | } |
84 | printk("Mapping aperture over %d KB of precious RAM @ %lx\n", | 69 | printk("Mapping aperture over %d KB of RAM @ %lx\n", |
85 | aper_size >> 10, __pa(p)); | 70 | aper_size >> 10, __pa(p)); |
86 | return (u32)__pa(p); | 71 | return (u32)__pa(p); |
87 | } | 72 | } |
@@ -102,16 +87,10 @@ static int __init aperture_valid(char *name, u64 aper_base, u32 aper_size) | |||
102 | printk("Aperture from %s pointing to e820 RAM. Ignoring.\n",name); | 87 | printk("Aperture from %s pointing to e820 RAM. Ignoring.\n",name); |
103 | return 0; | 88 | return 0; |
104 | } | 89 | } |
105 | /* Don't check the resource here because the aperture is usually | ||
106 | in an e820 reserved area, and we allocated these earlier. */ | ||
107 | return 1; | 90 | return 1; |
108 | } | 91 | } |
109 | 92 | ||
110 | /* | 93 | /* Find a PCI capability */ |
111 | * Find a PCI capability. | ||
112 | * This code runs before the PCI subsystem is initialized, so just | ||
113 | * access the northbridge directly. | ||
114 | */ | ||
115 | static __u32 __init find_cap(int num, int slot, int func, int cap) | 94 | static __u32 __init find_cap(int num, int slot, int func, int cap) |
116 | { | 95 | { |
117 | u8 pos; | 96 | u8 pos; |
@@ -276,6 +255,8 @@ void __init iommu_hole_init(void) | |||
276 | fallback_aper_force) { | 255 | fallback_aper_force) { |
277 | printk("Your BIOS doesn't leave a aperture memory hole\n"); | 256 | printk("Your BIOS doesn't leave a aperture memory hole\n"); |
278 | printk("Please enable the IOMMU option in the BIOS setup\n"); | 257 | printk("Please enable the IOMMU option in the BIOS setup\n"); |
258 | printk("This costs you %d MB of RAM\n", | ||
259 | 32 << fallback_aper_order); | ||
279 | 260 | ||
280 | aper_order = fallback_aper_order; | 261 | aper_order = fallback_aper_order; |
281 | aper_alloc = allocate_aperture(); | 262 | aper_alloc = allocate_aperture(); |
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 8f7c1a1ed7f4..abde27027c06 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -41,6 +41,7 @@ | |||
41 | #include <asm/uaccess.h> | 41 | #include <asm/uaccess.h> |
42 | #include <asm/io.h> | 42 | #include <asm/io.h> |
43 | 43 | ||
44 | #include <linux/dma-mapping.h> | ||
44 | #include <linux/blkdev.h> | 45 | #include <linux/blkdev.h> |
45 | #include <linux/genhd.h> | 46 | #include <linux/genhd.h> |
46 | #include <linux/completion.h> | 47 | #include <linux/completion.h> |
@@ -126,8 +127,6 @@ static struct board_type products[] = { | |||
126 | #define MAX_CTLR_ORIG 8 | 127 | #define MAX_CTLR_ORIG 8 |
127 | 128 | ||
128 | 129 | ||
129 | #define CCISS_DMA_MASK 0xFFFFFFFF /* 32 bit DMA */ | ||
130 | |||
131 | static ctlr_info_t *hba[MAX_CTLR]; | 130 | static ctlr_info_t *hba[MAX_CTLR]; |
132 | 131 | ||
133 | static void do_cciss_request(request_queue_t *q); | 132 | static void do_cciss_request(request_queue_t *q); |
@@ -2393,11 +2392,6 @@ static int cciss_pci_init(ctlr_info_t *c, struct pci_dev *pdev) | |||
2393 | printk(KERN_ERR "cciss: Unable to Enable PCI device\n"); | 2392 | printk(KERN_ERR "cciss: Unable to Enable PCI device\n"); |
2394 | return( -1); | 2393 | return( -1); |
2395 | } | 2394 | } |
2396 | if (pci_set_dma_mask(pdev, CCISS_DMA_MASK ) != 0) | ||
2397 | { | ||
2398 | printk(KERN_ERR "cciss: Unable to set DMA mask\n"); | ||
2399 | return(-1); | ||
2400 | } | ||
2401 | 2395 | ||
2402 | subsystem_vendor_id = pdev->subsystem_vendor; | 2396 | subsystem_vendor_id = pdev->subsystem_vendor; |
2403 | subsystem_device_id = pdev->subsystem_device; | 2397 | subsystem_device_id = pdev->subsystem_device; |
@@ -2747,9 +2741,9 @@ static int __devinit cciss_init_one(struct pci_dev *pdev, | |||
2747 | hba[i]->pdev = pdev; | 2741 | hba[i]->pdev = pdev; |
2748 | 2742 | ||
2749 | /* configure PCI DMA stuff */ | 2743 | /* configure PCI DMA stuff */ |
2750 | if (!pci_set_dma_mask(pdev, 0xffffffffffffffffULL)) | 2744 | if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) |
2751 | printk("cciss: using DAC cycles\n"); | 2745 | printk("cciss: using DAC cycles\n"); |
2752 | else if (!pci_set_dma_mask(pdev, 0xffffffff)) | 2746 | else if (!pci_set_dma_mask(pdev, DMA_32BIT_MASK)) |
2753 | printk("cciss: not using DAC cycles\n"); | 2747 | printk("cciss: not using DAC cycles\n"); |
2754 | else { | 2748 | else { |
2755 | printk("cciss: no suitable DMA available\n"); | 2749 | printk("cciss: no suitable DMA available\n"); |
diff --git a/drivers/block/cfq-iosched.c b/drivers/block/cfq-iosched.c index 0ef7a0065ece..2210bacad56a 100644 --- a/drivers/block/cfq-iosched.c +++ b/drivers/block/cfq-iosched.c | |||
@@ -1202,13 +1202,16 @@ retry: | |||
1202 | if (new_cfqq) { | 1202 | if (new_cfqq) { |
1203 | cfqq = new_cfqq; | 1203 | cfqq = new_cfqq; |
1204 | new_cfqq = NULL; | 1204 | new_cfqq = NULL; |
1205 | } else if (gfp_mask & __GFP_WAIT) { | 1205 | } else { |
1206 | spin_unlock_irq(cfqd->queue->queue_lock); | 1206 | spin_unlock_irq(cfqd->queue->queue_lock); |
1207 | new_cfqq = kmem_cache_alloc(cfq_pool, gfp_mask); | 1207 | new_cfqq = kmem_cache_alloc(cfq_pool, gfp_mask); |
1208 | spin_lock_irq(cfqd->queue->queue_lock); | 1208 | spin_lock_irq(cfqd->queue->queue_lock); |
1209 | |||
1210 | if (!new_cfqq && !(gfp_mask & __GFP_WAIT)) | ||
1211 | goto out; | ||
1212 | |||
1209 | goto retry; | 1213 | goto retry; |
1210 | } else | 1214 | } |
1211 | goto out; | ||
1212 | 1215 | ||
1213 | memset(cfqq, 0, sizeof(*cfqq)); | 1216 | memset(cfqq, 0, sizeof(*cfqq)); |
1214 | 1217 | ||
diff --git a/drivers/block/elevator.c b/drivers/block/elevator.c index 6b79b4314622..f831f08f839c 100644 --- a/drivers/block/elevator.c +++ b/drivers/block/elevator.c | |||
@@ -220,11 +220,6 @@ void elevator_exit(elevator_t *e) | |||
220 | kfree(e); | 220 | kfree(e); |
221 | } | 221 | } |
222 | 222 | ||
223 | static int elevator_global_init(void) | ||
224 | { | ||
225 | return 0; | ||
226 | } | ||
227 | |||
228 | int elv_merge(request_queue_t *q, struct request **req, struct bio *bio) | 223 | int elv_merge(request_queue_t *q, struct request **req, struct bio *bio) |
229 | { | 224 | { |
230 | elevator_t *e = q->elevator; | 225 | elevator_t *e = q->elevator; |
@@ -291,6 +286,13 @@ void elv_requeue_request(request_queue_t *q, struct request *rq) | |||
291 | } | 286 | } |
292 | 287 | ||
293 | /* | 288 | /* |
289 | * the request is prepped and may have some resources allocated. | ||
290 | * allowing unprepped requests to pass this one may cause resource | ||
291 | * deadlock. turn on softbarrier. | ||
292 | */ | ||
293 | rq->flags |= REQ_SOFTBARRIER; | ||
294 | |||
295 | /* | ||
294 | * if iosched has an explicit requeue hook, then use that. otherwise | 296 | * if iosched has an explicit requeue hook, then use that. otherwise |
295 | * just put the request at the front of the queue | 297 | * just put the request at the front of the queue |
296 | */ | 298 | */ |
@@ -322,7 +324,7 @@ void __elv_add_request(request_queue_t *q, struct request *rq, int where, | |||
322 | int nrq = q->rq.count[READ] + q->rq.count[WRITE] | 324 | int nrq = q->rq.count[READ] + q->rq.count[WRITE] |
323 | - q->in_flight; | 325 | - q->in_flight; |
324 | 326 | ||
325 | if (nrq == q->unplug_thresh) | 327 | if (nrq >= q->unplug_thresh) |
326 | __generic_unplug_device(q); | 328 | __generic_unplug_device(q); |
327 | } | 329 | } |
328 | } else | 330 | } else |
@@ -386,6 +388,12 @@ struct request *elv_next_request(request_queue_t *q) | |||
386 | if (ret == BLKPREP_OK) { | 388 | if (ret == BLKPREP_OK) { |
387 | break; | 389 | break; |
388 | } else if (ret == BLKPREP_DEFER) { | 390 | } else if (ret == BLKPREP_DEFER) { |
391 | /* | ||
392 | * the request may have been (partially) prepped. | ||
393 | * we need to keep this request in the front to | ||
394 | * avoid resource deadlock. turn on softbarrier. | ||
395 | */ | ||
396 | rq->flags |= REQ_SOFTBARRIER; | ||
389 | rq = NULL; | 397 | rq = NULL; |
390 | break; | 398 | break; |
391 | } else if (ret == BLKPREP_KILL) { | 399 | } else if (ret == BLKPREP_KILL) { |
@@ -692,8 +700,6 @@ ssize_t elv_iosched_show(request_queue_t *q, char *name) | |||
692 | return len; | 700 | return len; |
693 | } | 701 | } |
694 | 702 | ||
695 | module_init(elevator_global_init); | ||
696 | |||
697 | EXPORT_SYMBOL(elv_add_request); | 703 | EXPORT_SYMBOL(elv_add_request); |
698 | EXPORT_SYMBOL(__elv_add_request); | 704 | EXPORT_SYMBOL(__elv_add_request); |
699 | EXPORT_SYMBOL(elv_requeue_request); | 705 | EXPORT_SYMBOL(elv_requeue_request); |
diff --git a/drivers/block/ll_rw_blk.c b/drivers/block/ll_rw_blk.c index 11ef9d9ea139..f20eba22b14b 100644 --- a/drivers/block/ll_rw_blk.c +++ b/drivers/block/ll_rw_blk.c | |||
@@ -2038,7 +2038,6 @@ EXPORT_SYMBOL(blk_requeue_request); | |||
2038 | * @rq: request to be inserted | 2038 | * @rq: request to be inserted |
2039 | * @at_head: insert request at head or tail of queue | 2039 | * @at_head: insert request at head or tail of queue |
2040 | * @data: private data | 2040 | * @data: private data |
2041 | * @reinsert: true if request it a reinsertion of previously processed one | ||
2042 | * | 2041 | * |
2043 | * Description: | 2042 | * Description: |
2044 | * Many block devices need to execute commands asynchronously, so they don't | 2043 | * Many block devices need to execute commands asynchronously, so they don't |
@@ -2053,8 +2052,9 @@ EXPORT_SYMBOL(blk_requeue_request); | |||
2053 | * host that is unable to accept a particular command. | 2052 | * host that is unable to accept a particular command. |
2054 | */ | 2053 | */ |
2055 | void blk_insert_request(request_queue_t *q, struct request *rq, | 2054 | void blk_insert_request(request_queue_t *q, struct request *rq, |
2056 | int at_head, void *data, int reinsert) | 2055 | int at_head, void *data) |
2057 | { | 2056 | { |
2057 | int where = at_head ? ELEVATOR_INSERT_FRONT : ELEVATOR_INSERT_BACK; | ||
2058 | unsigned long flags; | 2058 | unsigned long flags; |
2059 | 2059 | ||
2060 | /* | 2060 | /* |
@@ -2071,20 +2071,12 @@ void blk_insert_request(request_queue_t *q, struct request *rq, | |||
2071 | /* | 2071 | /* |
2072 | * If command is tagged, release the tag | 2072 | * If command is tagged, release the tag |
2073 | */ | 2073 | */ |
2074 | if (reinsert) | 2074 | if (blk_rq_tagged(rq)) |
2075 | blk_requeue_request(q, rq); | 2075 | blk_queue_end_tag(q, rq); |
2076 | else { | ||
2077 | int where = ELEVATOR_INSERT_BACK; | ||
2078 | |||
2079 | if (at_head) | ||
2080 | where = ELEVATOR_INSERT_FRONT; | ||
2081 | 2076 | ||
2082 | if (blk_rq_tagged(rq)) | 2077 | drive_stat_acct(rq, rq->nr_sectors, 1); |
2083 | blk_queue_end_tag(q, rq); | 2078 | __elv_add_request(q, rq, where, 0); |
2084 | 2079 | ||
2085 | drive_stat_acct(rq, rq->nr_sectors, 1); | ||
2086 | __elv_add_request(q, rq, where, 0); | ||
2087 | } | ||
2088 | if (blk_queue_plugged(q)) | 2080 | if (blk_queue_plugged(q)) |
2089 | __generic_unplug_device(q); | 2081 | __generic_unplug_device(q); |
2090 | else | 2082 | else |
diff --git a/drivers/block/paride/pd.c b/drivers/block/paride/pd.c index 202a5a74ad37..fa49d62626ba 100644 --- a/drivers/block/paride/pd.c +++ b/drivers/block/paride/pd.c | |||
@@ -723,7 +723,7 @@ static int pd_special_command(struct pd_unit *disk, | |||
723 | rq.ref_count = 1; | 723 | rq.ref_count = 1; |
724 | rq.waiting = &wait; | 724 | rq.waiting = &wait; |
725 | rq.end_io = blk_end_sync_rq; | 725 | rq.end_io = blk_end_sync_rq; |
726 | blk_insert_request(disk->gd->queue, &rq, 0, func, 0); | 726 | blk_insert_request(disk->gd->queue, &rq, 0, func); |
727 | wait_for_completion(&wait); | 727 | wait_for_completion(&wait); |
728 | rq.waiting = NULL; | 728 | rq.waiting = NULL; |
729 | if (rq.errors) | 729 | if (rq.errors) |
diff --git a/drivers/block/sx8.c b/drivers/block/sx8.c index 797f5988c2b5..5ed3a6379452 100644 --- a/drivers/block/sx8.c +++ b/drivers/block/sx8.c | |||
@@ -614,7 +614,7 @@ static int carm_array_info (struct carm_host *host, unsigned int array_idx) | |||
614 | spin_unlock_irq(&host->lock); | 614 | spin_unlock_irq(&host->lock); |
615 | 615 | ||
616 | DPRINTK("blk_insert_request, tag == %u\n", idx); | 616 | DPRINTK("blk_insert_request, tag == %u\n", idx); |
617 | blk_insert_request(host->oob_q, crq->rq, 1, crq, 0); | 617 | blk_insert_request(host->oob_q, crq->rq, 1, crq); |
618 | 618 | ||
619 | return 0; | 619 | return 0; |
620 | 620 | ||
@@ -653,7 +653,7 @@ static int carm_send_special (struct carm_host *host, carm_sspc_t func) | |||
653 | crq->msg_bucket = (u32) rc; | 653 | crq->msg_bucket = (u32) rc; |
654 | 654 | ||
655 | DPRINTK("blk_insert_request, tag == %u\n", idx); | 655 | DPRINTK("blk_insert_request, tag == %u\n", idx); |
656 | blk_insert_request(host->oob_q, crq->rq, 1, crq, 0); | 656 | blk_insert_request(host->oob_q, crq->rq, 1, crq); |
657 | 657 | ||
658 | return 0; | 658 | return 0; |
659 | } | 659 | } |
diff --git a/drivers/block/ub.c b/drivers/block/ub.c index adc4dcc306f4..19c5e59bcfa8 100644 --- a/drivers/block/ub.c +++ b/drivers/block/ub.c | |||
@@ -51,7 +51,7 @@ | |||
51 | * This many LUNs per USB device. | 51 | * This many LUNs per USB device. |
52 | * Every one of them takes a host, see UB_MAX_HOSTS. | 52 | * Every one of them takes a host, see UB_MAX_HOSTS. |
53 | */ | 53 | */ |
54 | #define UB_MAX_LUNS 4 | 54 | #define UB_MAX_LUNS 9 |
55 | 55 | ||
56 | /* | 56 | /* |
57 | */ | 57 | */ |
@@ -2100,7 +2100,7 @@ static int ub_probe(struct usb_interface *intf, | |||
2100 | nluns = rc; | 2100 | nluns = rc; |
2101 | break; | 2101 | break; |
2102 | } | 2102 | } |
2103 | mdelay(100); | 2103 | msleep(100); |
2104 | } | 2104 | } |
2105 | 2105 | ||
2106 | for (i = 0; i < nluns; i++) { | 2106 | for (i = 0; i < nluns; i++) { |
diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h index ad9c11391d81..c1fe013c64f3 100644 --- a/drivers/char/agp/agp.h +++ b/drivers/char/agp/agp.h | |||
@@ -278,6 +278,8 @@ void agp3_generic_cleanup(void); | |||
278 | #define AGP_GENERIC_SIZES_ENTRIES 11 | 278 | #define AGP_GENERIC_SIZES_ENTRIES 11 |
279 | extern struct aper_size_info_16 agp3_generic_sizes[]; | 279 | extern struct aper_size_info_16 agp3_generic_sizes[]; |
280 | 280 | ||
281 | #define virt_to_gart(x) (phys_to_gart(virt_to_phys(x))) | ||
282 | #define gart_to_virt(x) (phys_to_virt(gart_to_phys(x))) | ||
281 | 283 | ||
282 | extern int agp_off; | 284 | extern int agp_off; |
283 | extern int agp_try_unsupported_boot; | 285 | extern int agp_try_unsupported_boot; |
diff --git a/drivers/char/agp/ali-agp.c b/drivers/char/agp/ali-agp.c index 0212febda654..9c9c9c2247ce 100644 --- a/drivers/char/agp/ali-agp.c +++ b/drivers/char/agp/ali-agp.c | |||
@@ -150,7 +150,7 @@ static void *m1541_alloc_page(struct agp_bridge_data *bridge) | |||
150 | pci_read_config_dword(agp_bridge->dev, ALI_CACHE_FLUSH_CTRL, &temp); | 150 | pci_read_config_dword(agp_bridge->dev, ALI_CACHE_FLUSH_CTRL, &temp); |
151 | pci_write_config_dword(agp_bridge->dev, ALI_CACHE_FLUSH_CTRL, | 151 | pci_write_config_dword(agp_bridge->dev, ALI_CACHE_FLUSH_CTRL, |
152 | (((temp & ALI_CACHE_FLUSH_ADDR_MASK) | | 152 | (((temp & ALI_CACHE_FLUSH_ADDR_MASK) | |
153 | virt_to_phys(addr)) | ALI_CACHE_FLUSH_EN )); | 153 | virt_to_gart(addr)) | ALI_CACHE_FLUSH_EN )); |
154 | return addr; | 154 | return addr; |
155 | } | 155 | } |
156 | 156 | ||
@@ -174,7 +174,7 @@ static void m1541_destroy_page(void * addr) | |||
174 | pci_read_config_dword(agp_bridge->dev, ALI_CACHE_FLUSH_CTRL, &temp); | 174 | pci_read_config_dword(agp_bridge->dev, ALI_CACHE_FLUSH_CTRL, &temp); |
175 | pci_write_config_dword(agp_bridge->dev, ALI_CACHE_FLUSH_CTRL, | 175 | pci_write_config_dword(agp_bridge->dev, ALI_CACHE_FLUSH_CTRL, |
176 | (((temp & ALI_CACHE_FLUSH_ADDR_MASK) | | 176 | (((temp & ALI_CACHE_FLUSH_ADDR_MASK) | |
177 | virt_to_phys(addr)) | ALI_CACHE_FLUSH_EN)); | 177 | virt_to_gart(addr)) | ALI_CACHE_FLUSH_EN)); |
178 | agp_generic_destroy_page(addr); | 178 | agp_generic_destroy_page(addr); |
179 | } | 179 | } |
180 | 180 | ||
diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c index e62a3c2c44a9..3a41672e4d66 100644 --- a/drivers/char/agp/amd-k7-agp.c +++ b/drivers/char/agp/amd-k7-agp.c | |||
@@ -43,7 +43,7 @@ static int amd_create_page_map(struct amd_page_map *page_map) | |||
43 | 43 | ||
44 | SetPageReserved(virt_to_page(page_map->real)); | 44 | SetPageReserved(virt_to_page(page_map->real)); |
45 | global_cache_flush(); | 45 | global_cache_flush(); |
46 | page_map->remapped = ioremap_nocache(virt_to_phys(page_map->real), | 46 | page_map->remapped = ioremap_nocache(virt_to_gart(page_map->real), |
47 | PAGE_SIZE); | 47 | PAGE_SIZE); |
48 | if (page_map->remapped == NULL) { | 48 | if (page_map->remapped == NULL) { |
49 | ClearPageReserved(virt_to_page(page_map->real)); | 49 | ClearPageReserved(virt_to_page(page_map->real)); |
@@ -154,7 +154,7 @@ static int amd_create_gatt_table(struct agp_bridge_data *bridge) | |||
154 | 154 | ||
155 | agp_bridge->gatt_table_real = (u32 *)page_dir.real; | 155 | agp_bridge->gatt_table_real = (u32 *)page_dir.real; |
156 | agp_bridge->gatt_table = (u32 __iomem *)page_dir.remapped; | 156 | agp_bridge->gatt_table = (u32 __iomem *)page_dir.remapped; |
157 | agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); | 157 | agp_bridge->gatt_bus_addr = virt_to_gart(page_dir.real); |
158 | 158 | ||
159 | /* Get the address for the gart region. | 159 | /* Get the address for the gart region. |
160 | * This is a bus address even on the alpha, b/c its | 160 | * This is a bus address even on the alpha, b/c its |
@@ -167,7 +167,7 @@ static int amd_create_gatt_table(struct agp_bridge_data *bridge) | |||
167 | 167 | ||
168 | /* Calculate the agp offset */ | 168 | /* Calculate the agp offset */ |
169 | for (i = 0; i < value->num_entries / 1024; i++, addr += 0x00400000) { | 169 | for (i = 0; i < value->num_entries / 1024; i++, addr += 0x00400000) { |
170 | writel(virt_to_phys(amd_irongate_private.gatt_pages[i]->real) | 1, | 170 | writel(virt_to_gart(amd_irongate_private.gatt_pages[i]->real) | 1, |
171 | page_dir.remapped+GET_PAGE_DIR_OFF(addr)); | 171 | page_dir.remapped+GET_PAGE_DIR_OFF(addr)); |
172 | readl(page_dir.remapped+GET_PAGE_DIR_OFF(addr)); /* PCI Posting. */ | 172 | readl(page_dir.remapped+GET_PAGE_DIR_OFF(addr)); /* PCI Posting. */ |
173 | } | 173 | } |
diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c index 399c042f68f0..1407945a5892 100644 --- a/drivers/char/agp/amd64-agp.c +++ b/drivers/char/agp/amd64-agp.c | |||
@@ -219,7 +219,7 @@ static struct aper_size_info_32 amd_8151_sizes[7] = | |||
219 | 219 | ||
220 | static int amd_8151_configure(void) | 220 | static int amd_8151_configure(void) |
221 | { | 221 | { |
222 | unsigned long gatt_bus = virt_to_phys(agp_bridge->gatt_table_real); | 222 | unsigned long gatt_bus = virt_to_gart(agp_bridge->gatt_table_real); |
223 | 223 | ||
224 | /* Configure AGP regs in each x86-64 host bridge. */ | 224 | /* Configure AGP regs in each x86-64 host bridge. */ |
225 | for_each_nb() { | 225 | for_each_nb() { |
@@ -591,7 +591,7 @@ static void __devexit agp_amd64_remove(struct pci_dev *pdev) | |||
591 | { | 591 | { |
592 | struct agp_bridge_data *bridge = pci_get_drvdata(pdev); | 592 | struct agp_bridge_data *bridge = pci_get_drvdata(pdev); |
593 | 593 | ||
594 | release_mem_region(virt_to_phys(bridge->gatt_table_real), | 594 | release_mem_region(virt_to_gart(bridge->gatt_table_real), |
595 | amd64_aperture_sizes[bridge->aperture_size_idx].size); | 595 | amd64_aperture_sizes[bridge->aperture_size_idx].size); |
596 | agp_remove_bridge(bridge); | 596 | agp_remove_bridge(bridge); |
597 | agp_put_bridge(bridge); | 597 | agp_put_bridge(bridge); |
diff --git a/drivers/char/agp/ati-agp.c b/drivers/char/agp/ati-agp.c index a65f8827c283..e572ced9100a 100644 --- a/drivers/char/agp/ati-agp.c +++ b/drivers/char/agp/ati-agp.c | |||
@@ -61,7 +61,7 @@ static int ati_create_page_map(ati_page_map *page_map) | |||
61 | 61 | ||
62 | SetPageReserved(virt_to_page(page_map->real)); | 62 | SetPageReserved(virt_to_page(page_map->real)); |
63 | err = map_page_into_agp(virt_to_page(page_map->real)); | 63 | err = map_page_into_agp(virt_to_page(page_map->real)); |
64 | page_map->remapped = ioremap_nocache(virt_to_phys(page_map->real), | 64 | page_map->remapped = ioremap_nocache(virt_to_gart(page_map->real), |
65 | PAGE_SIZE); | 65 | PAGE_SIZE); |
66 | if (page_map->remapped == NULL || err) { | 66 | if (page_map->remapped == NULL || err) { |
67 | ClearPageReserved(virt_to_page(page_map->real)); | 67 | ClearPageReserved(virt_to_page(page_map->real)); |
@@ -343,7 +343,7 @@ static int ati_create_gatt_table(struct agp_bridge_data *bridge) | |||
343 | 343 | ||
344 | agp_bridge->gatt_table_real = (u32 *)page_dir.real; | 344 | agp_bridge->gatt_table_real = (u32 *)page_dir.real; |
345 | agp_bridge->gatt_table = (u32 __iomem *) page_dir.remapped; | 345 | agp_bridge->gatt_table = (u32 __iomem *) page_dir.remapped; |
346 | agp_bridge->gatt_bus_addr = virt_to_bus(page_dir.real); | 346 | agp_bridge->gatt_bus_addr = virt_to_gart(page_dir.real); |
347 | 347 | ||
348 | /* Write out the size register */ | 348 | /* Write out the size register */ |
349 | current_size = A_SIZE_LVL2(agp_bridge->current_size); | 349 | current_size = A_SIZE_LVL2(agp_bridge->current_size); |
@@ -373,7 +373,7 @@ static int ati_create_gatt_table(struct agp_bridge_data *bridge) | |||
373 | 373 | ||
374 | /* Calculate the agp offset */ | 374 | /* Calculate the agp offset */ |
375 | for(i = 0; i < value->num_entries / 1024; i++, addr += 0x00400000) { | 375 | for(i = 0; i < value->num_entries / 1024; i++, addr += 0x00400000) { |
376 | writel(virt_to_bus(ati_generic_private.gatt_pages[i]->real) | 1, | 376 | writel(virt_to_gart(ati_generic_private.gatt_pages[i]->real) | 1, |
377 | page_dir.remapped+GET_PAGE_DIR_OFF(addr)); | 377 | page_dir.remapped+GET_PAGE_DIR_OFF(addr)); |
378 | readl(page_dir.remapped+GET_PAGE_DIR_OFF(addr)); /* PCI Posting. */ | 378 | readl(page_dir.remapped+GET_PAGE_DIR_OFF(addr)); /* PCI Posting. */ |
379 | } | 379 | } |
diff --git a/drivers/char/agp/backend.c b/drivers/char/agp/backend.c index 2f3dfb63bdc6..4d4e602fdc7e 100644 --- a/drivers/char/agp/backend.c +++ b/drivers/char/agp/backend.c | |||
@@ -148,7 +148,7 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge) | |||
148 | return -ENOMEM; | 148 | return -ENOMEM; |
149 | } | 149 | } |
150 | 150 | ||
151 | bridge->scratch_page_real = virt_to_phys(addr); | 151 | bridge->scratch_page_real = virt_to_gart(addr); |
152 | bridge->scratch_page = | 152 | bridge->scratch_page = |
153 | bridge->driver->mask_memory(bridge, bridge->scratch_page_real, 0); | 153 | bridge->driver->mask_memory(bridge, bridge->scratch_page_real, 0); |
154 | } | 154 | } |
@@ -189,7 +189,7 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge) | |||
189 | err_out: | 189 | err_out: |
190 | if (bridge->driver->needs_scratch_page) | 190 | if (bridge->driver->needs_scratch_page) |
191 | bridge->driver->agp_destroy_page( | 191 | bridge->driver->agp_destroy_page( |
192 | phys_to_virt(bridge->scratch_page_real)); | 192 | gart_to_virt(bridge->scratch_page_real)); |
193 | if (got_gatt) | 193 | if (got_gatt) |
194 | bridge->driver->free_gatt_table(bridge); | 194 | bridge->driver->free_gatt_table(bridge); |
195 | if (got_keylist) { | 195 | if (got_keylist) { |
@@ -214,7 +214,7 @@ static void agp_backend_cleanup(struct agp_bridge_data *bridge) | |||
214 | if (bridge->driver->agp_destroy_page && | 214 | if (bridge->driver->agp_destroy_page && |
215 | bridge->driver->needs_scratch_page) | 215 | bridge->driver->needs_scratch_page) |
216 | bridge->driver->agp_destroy_page( | 216 | bridge->driver->agp_destroy_page( |
217 | phys_to_virt(bridge->scratch_page_real)); | 217 | gart_to_virt(bridge->scratch_page_real)); |
218 | } | 218 | } |
219 | 219 | ||
220 | /* When we remove the global variable agp_bridge from all drivers | 220 | /* When we remove the global variable agp_bridge from all drivers |
diff --git a/drivers/char/agp/efficeon-agp.c b/drivers/char/agp/efficeon-agp.c index 1383c3165ea1..ac19fdcd21c1 100644 --- a/drivers/char/agp/efficeon-agp.c +++ b/drivers/char/agp/efficeon-agp.c | |||
@@ -219,7 +219,7 @@ static int efficeon_create_gatt_table(struct agp_bridge_data *bridge) | |||
219 | 219 | ||
220 | efficeon_private.l1_table[index] = page; | 220 | efficeon_private.l1_table[index] = page; |
221 | 221 | ||
222 | value = __pa(page) | pati | present | index; | 222 | value = virt_to_gart(page) | pati | present | index; |
223 | 223 | ||
224 | pci_write_config_dword(agp_bridge->dev, | 224 | pci_write_config_dword(agp_bridge->dev, |
225 | EFFICEON_ATTPAGE, value); | 225 | EFFICEON_ATTPAGE, value); |
diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c index c321a924e38a..f0079e991bdc 100644 --- a/drivers/char/agp/generic.c +++ b/drivers/char/agp/generic.c | |||
@@ -153,7 +153,7 @@ void agp_free_memory(struct agp_memory *curr) | |||
153 | } | 153 | } |
154 | if (curr->page_count != 0) { | 154 | if (curr->page_count != 0) { |
155 | for (i = 0; i < curr->page_count; i++) { | 155 | for (i = 0; i < curr->page_count; i++) { |
156 | curr->bridge->driver->agp_destroy_page(phys_to_virt(curr->memory[i])); | 156 | curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i])); |
157 | } | 157 | } |
158 | } | 158 | } |
159 | agp_free_key(curr->key); | 159 | agp_free_key(curr->key); |
@@ -209,7 +209,7 @@ struct agp_memory *agp_allocate_memory(struct agp_bridge_data *bridge, | |||
209 | agp_free_memory(new); | 209 | agp_free_memory(new); |
210 | return NULL; | 210 | return NULL; |
211 | } | 211 | } |
212 | new->memory[i] = virt_to_phys(addr); | 212 | new->memory[i] = virt_to_gart(addr); |
213 | new->page_count++; | 213 | new->page_count++; |
214 | } | 214 | } |
215 | new->bridge = bridge; | 215 | new->bridge = bridge; |
@@ -295,19 +295,6 @@ int agp_num_entries(void) | |||
295 | EXPORT_SYMBOL_GPL(agp_num_entries); | 295 | EXPORT_SYMBOL_GPL(agp_num_entries); |
296 | 296 | ||
297 | 297 | ||
298 | static int check_bridge_mode(struct pci_dev *dev) | ||
299 | { | ||
300 | u32 agp3; | ||
301 | u8 cap_ptr; | ||
302 | |||
303 | cap_ptr = pci_find_capability(dev, PCI_CAP_ID_AGP); | ||
304 | pci_read_config_dword(dev, cap_ptr+AGPSTAT, &agp3); | ||
305 | if (agp3 & AGPSTAT_MODE_3_0) | ||
306 | return 1; | ||
307 | return 0; | ||
308 | } | ||
309 | |||
310 | |||
311 | /** | 298 | /** |
312 | * agp_copy_info - copy bridge state information | 299 | * agp_copy_info - copy bridge state information |
313 | * | 300 | * |
@@ -328,7 +315,7 @@ int agp_copy_info(struct agp_bridge_data *bridge, struct agp_kern_info *info) | |||
328 | info->version.minor = bridge->version->minor; | 315 | info->version.minor = bridge->version->minor; |
329 | info->chipset = SUPPORTED; | 316 | info->chipset = SUPPORTED; |
330 | info->device = bridge->dev; | 317 | info->device = bridge->dev; |
331 | if (check_bridge_mode(bridge->dev)) | 318 | if (bridge->mode & AGPSTAT_MODE_3_0) |
332 | info->mode = bridge->mode & ~AGP3_RESERVED_MASK; | 319 | info->mode = bridge->mode & ~AGP3_RESERVED_MASK; |
333 | else | 320 | else |
334 | info->mode = bridge->mode & ~AGP2_RESERVED_MASK; | 321 | info->mode = bridge->mode & ~AGP2_RESERVED_MASK; |
@@ -661,7 +648,7 @@ u32 agp_collect_device_status(struct agp_bridge_data *bridge, u32 requested_mode | |||
661 | bridge_agpstat &= ~AGPSTAT_FW; | 648 | bridge_agpstat &= ~AGPSTAT_FW; |
662 | 649 | ||
663 | /* Check to see if we are operating in 3.0 mode */ | 650 | /* Check to see if we are operating in 3.0 mode */ |
664 | if (check_bridge_mode(agp_bridge->dev)) | 651 | if (agp_bridge->mode & AGPSTAT_MODE_3_0) |
665 | agp_v3_parse_one(&requested_mode, &bridge_agpstat, &vga_agpstat); | 652 | agp_v3_parse_one(&requested_mode, &bridge_agpstat, &vga_agpstat); |
666 | else | 653 | else |
667 | agp_v2_parse_one(&requested_mode, &bridge_agpstat, &vga_agpstat); | 654 | agp_v2_parse_one(&requested_mode, &bridge_agpstat, &vga_agpstat); |
@@ -732,7 +719,7 @@ void agp_generic_enable(struct agp_bridge_data *bridge, u32 requested_mode) | |||
732 | 719 | ||
733 | /* Do AGP version specific frobbing. */ | 720 | /* Do AGP version specific frobbing. */ |
734 | if (bridge->major_version >= 3) { | 721 | if (bridge->major_version >= 3) { |
735 | if (check_bridge_mode(bridge->dev)) { | 722 | if (bridge->mode & AGPSTAT_MODE_3_0) { |
736 | /* If we have 3.5, we can do the isoch stuff. */ | 723 | /* If we have 3.5, we can do the isoch stuff. */ |
737 | if (bridge->minor_version >= 5) | 724 | if (bridge->minor_version >= 5) |
738 | agp_3_5_enable(bridge); | 725 | agp_3_5_enable(bridge); |
@@ -806,8 +793,7 @@ int agp_generic_create_gatt_table(struct agp_bridge_data *bridge) | |||
806 | break; | 793 | break; |
807 | } | 794 | } |
808 | 795 | ||
809 | table = (char *) __get_free_pages(GFP_KERNEL, | 796 | table = alloc_gatt_pages(page_order); |
810 | page_order); | ||
811 | 797 | ||
812 | if (table == NULL) { | 798 | if (table == NULL) { |
813 | i++; | 799 | i++; |
@@ -838,7 +824,7 @@ int agp_generic_create_gatt_table(struct agp_bridge_data *bridge) | |||
838 | size = ((struct aper_size_info_fixed *) temp)->size; | 824 | size = ((struct aper_size_info_fixed *) temp)->size; |
839 | page_order = ((struct aper_size_info_fixed *) temp)->page_order; | 825 | page_order = ((struct aper_size_info_fixed *) temp)->page_order; |
840 | num_entries = ((struct aper_size_info_fixed *) temp)->num_entries; | 826 | num_entries = ((struct aper_size_info_fixed *) temp)->num_entries; |
841 | table = (char *) __get_free_pages(GFP_KERNEL, page_order); | 827 | table = alloc_gatt_pages(page_order); |
842 | } | 828 | } |
843 | 829 | ||
844 | if (table == NULL) | 830 | if (table == NULL) |
@@ -853,7 +839,7 @@ int agp_generic_create_gatt_table(struct agp_bridge_data *bridge) | |||
853 | agp_gatt_table = (void *)table; | 839 | agp_gatt_table = (void *)table; |
854 | 840 | ||
855 | bridge->driver->cache_flush(); | 841 | bridge->driver->cache_flush(); |
856 | bridge->gatt_table = ioremap_nocache(virt_to_phys(table), | 842 | bridge->gatt_table = ioremap_nocache(virt_to_gart(table), |
857 | (PAGE_SIZE * (1 << page_order))); | 843 | (PAGE_SIZE * (1 << page_order))); |
858 | bridge->driver->cache_flush(); | 844 | bridge->driver->cache_flush(); |
859 | 845 | ||
@@ -861,11 +847,11 @@ int agp_generic_create_gatt_table(struct agp_bridge_data *bridge) | |||
861 | for (page = virt_to_page(table); page <= virt_to_page(table_end); page++) | 847 | for (page = virt_to_page(table); page <= virt_to_page(table_end); page++) |
862 | ClearPageReserved(page); | 848 | ClearPageReserved(page); |
863 | 849 | ||
864 | free_pages((unsigned long) table, page_order); | 850 | free_gatt_pages(table, page_order); |
865 | 851 | ||
866 | return -ENOMEM; | 852 | return -ENOMEM; |
867 | } | 853 | } |
868 | bridge->gatt_bus_addr = virt_to_phys(bridge->gatt_table_real); | 854 | bridge->gatt_bus_addr = virt_to_gart(bridge->gatt_table_real); |
869 | 855 | ||
870 | /* AK: bogus, should encode addresses > 4GB */ | 856 | /* AK: bogus, should encode addresses > 4GB */ |
871 | for (i = 0; i < num_entries; i++) { | 857 | for (i = 0; i < num_entries; i++) { |
@@ -919,7 +905,7 @@ int agp_generic_free_gatt_table(struct agp_bridge_data *bridge) | |||
919 | for (page = virt_to_page(table); page <= virt_to_page(table_end); page++) | 905 | for (page = virt_to_page(table); page <= virt_to_page(table_end); page++) |
920 | ClearPageReserved(page); | 906 | ClearPageReserved(page); |
921 | 907 | ||
922 | free_pages((unsigned long) bridge->gatt_table_real, page_order); | 908 | free_gatt_pages(bridge->gatt_table_real, page_order); |
923 | 909 | ||
924 | agp_gatt_table = NULL; | 910 | agp_gatt_table = NULL; |
925 | bridge->gatt_table = NULL; | 911 | bridge->gatt_table = NULL; |
diff --git a/drivers/char/agp/hp-agp.c b/drivers/char/agp/hp-agp.c index 6052bfa04c72..99762b6c19ae 100644 --- a/drivers/char/agp/hp-agp.c +++ b/drivers/char/agp/hp-agp.c | |||
@@ -110,7 +110,7 @@ static int __init hp_zx1_ioc_shared(void) | |||
110 | hp->gart_size = HP_ZX1_GART_SIZE; | 110 | hp->gart_size = HP_ZX1_GART_SIZE; |
111 | hp->gatt_entries = hp->gart_size / hp->io_page_size; | 111 | hp->gatt_entries = hp->gart_size / hp->io_page_size; |
112 | 112 | ||
113 | hp->io_pdir = phys_to_virt(readq(hp->ioc_regs+HP_ZX1_PDIR_BASE)); | 113 | hp->io_pdir = gart_to_virt(readq(hp->ioc_regs+HP_ZX1_PDIR_BASE)); |
114 | hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)]; | 114 | hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)]; |
115 | 115 | ||
116 | if (hp->gatt[0] != HP_ZX1_SBA_IOMMU_COOKIE) { | 116 | if (hp->gatt[0] != HP_ZX1_SBA_IOMMU_COOKIE) { |
@@ -248,7 +248,7 @@ hp_zx1_configure (void) | |||
248 | agp_bridge->mode = readl(hp->lba_regs+hp->lba_cap_offset+PCI_AGP_STATUS); | 248 | agp_bridge->mode = readl(hp->lba_regs+hp->lba_cap_offset+PCI_AGP_STATUS); |
249 | 249 | ||
250 | if (hp->io_pdir_owner) { | 250 | if (hp->io_pdir_owner) { |
251 | writel(virt_to_phys(hp->io_pdir), hp->ioc_regs+HP_ZX1_PDIR_BASE); | 251 | writel(virt_to_gart(hp->io_pdir), hp->ioc_regs+HP_ZX1_PDIR_BASE); |
252 | readl(hp->ioc_regs+HP_ZX1_PDIR_BASE); | 252 | readl(hp->ioc_regs+HP_ZX1_PDIR_BASE); |
253 | writel(hp->io_tlb_ps, hp->ioc_regs+HP_ZX1_TCNFG); | 253 | writel(hp->io_tlb_ps, hp->ioc_regs+HP_ZX1_TCNFG); |
254 | readl(hp->ioc_regs+HP_ZX1_TCNFG); | 254 | readl(hp->ioc_regs+HP_ZX1_TCNFG); |
diff --git a/drivers/char/agp/i460-agp.c b/drivers/char/agp/i460-agp.c index adbea896c0d2..94943298c03e 100644 --- a/drivers/char/agp/i460-agp.c +++ b/drivers/char/agp/i460-agp.c | |||
@@ -372,7 +372,7 @@ static int i460_alloc_large_page (struct lp_desc *lp) | |||
372 | } | 372 | } |
373 | memset(lp->alloced_map, 0, map_size); | 373 | memset(lp->alloced_map, 0, map_size); |
374 | 374 | ||
375 | lp->paddr = virt_to_phys(lpage); | 375 | lp->paddr = virt_to_gart(lpage); |
376 | lp->refcount = 0; | 376 | lp->refcount = 0; |
377 | atomic_add(I460_KPAGES_PER_IOPAGE, &agp_bridge->current_memory_agp); | 377 | atomic_add(I460_KPAGES_PER_IOPAGE, &agp_bridge->current_memory_agp); |
378 | return 0; | 378 | return 0; |
@@ -383,7 +383,7 @@ static void i460_free_large_page (struct lp_desc *lp) | |||
383 | kfree(lp->alloced_map); | 383 | kfree(lp->alloced_map); |
384 | lp->alloced_map = NULL; | 384 | lp->alloced_map = NULL; |
385 | 385 | ||
386 | free_pages((unsigned long) phys_to_virt(lp->paddr), I460_IO_PAGE_SHIFT - PAGE_SHIFT); | 386 | free_pages((unsigned long) gart_to_virt(lp->paddr), I460_IO_PAGE_SHIFT - PAGE_SHIFT); |
387 | atomic_sub(I460_KPAGES_PER_IOPAGE, &agp_bridge->current_memory_agp); | 387 | atomic_sub(I460_KPAGES_PER_IOPAGE, &agp_bridge->current_memory_agp); |
388 | } | 388 | } |
389 | 389 | ||
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index 8c7d727432bb..51266d6b4d78 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c | |||
@@ -286,7 +286,7 @@ static struct agp_memory *alloc_agpphysmem_i8xx(size_t pg_count, int type) | |||
286 | if (new == NULL) | 286 | if (new == NULL) |
287 | return NULL; | 287 | return NULL; |
288 | 288 | ||
289 | new->memory[0] = virt_to_phys(addr); | 289 | new->memory[0] = virt_to_gart(addr); |
290 | if (pg_count == 4) { | 290 | if (pg_count == 4) { |
291 | /* kludge to get 4 physical pages for ARGB cursor */ | 291 | /* kludge to get 4 physical pages for ARGB cursor */ |
292 | new->memory[1] = new->memory[0] + PAGE_SIZE; | 292 | new->memory[1] = new->memory[0] + PAGE_SIZE; |
@@ -329,10 +329,10 @@ static void intel_i810_free_by_type(struct agp_memory *curr) | |||
329 | agp_free_key(curr->key); | 329 | agp_free_key(curr->key); |
330 | if(curr->type == AGP_PHYS_MEMORY) { | 330 | if(curr->type == AGP_PHYS_MEMORY) { |
331 | if (curr->page_count == 4) | 331 | if (curr->page_count == 4) |
332 | i8xx_destroy_pages(phys_to_virt(curr->memory[0])); | 332 | i8xx_destroy_pages(gart_to_virt(curr->memory[0])); |
333 | else | 333 | else |
334 | agp_bridge->driver->agp_destroy_page( | 334 | agp_bridge->driver->agp_destroy_page( |
335 | phys_to_virt(curr->memory[0])); | 335 | gart_to_virt(curr->memory[0])); |
336 | vfree(curr->memory); | 336 | vfree(curr->memory); |
337 | } | 337 | } |
338 | kfree(curr); | 338 | kfree(curr); |
@@ -418,7 +418,8 @@ static void intel_i830_init_gtt_entries(void) | |||
418 | case I915_GMCH_GMS_STOLEN_48M: | 418 | case I915_GMCH_GMS_STOLEN_48M: |
419 | /* Check it's really I915G */ | 419 | /* Check it's really I915G */ |
420 | if (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915G_HB || | 420 | if (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915G_HB || |
421 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915GM_HB) | 421 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915GM_HB || |
422 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82945G_HB) | ||
422 | gtt_entries = MB(48) - KB(size); | 423 | gtt_entries = MB(48) - KB(size); |
423 | else | 424 | else |
424 | gtt_entries = 0; | 425 | gtt_entries = 0; |
@@ -426,7 +427,8 @@ static void intel_i830_init_gtt_entries(void) | |||
426 | case I915_GMCH_GMS_STOLEN_64M: | 427 | case I915_GMCH_GMS_STOLEN_64M: |
427 | /* Check it's really I915G */ | 428 | /* Check it's really I915G */ |
428 | if (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915G_HB || | 429 | if (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915G_HB || |
429 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915GM_HB) | 430 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915GM_HB || |
431 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82945G_HB) | ||
430 | gtt_entries = MB(64) - KB(size); | 432 | gtt_entries = MB(64) - KB(size); |
431 | else | 433 | else |
432 | gtt_entries = 0; | 434 | gtt_entries = 0; |
@@ -1662,6 +1664,14 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev, | |||
1662 | } | 1664 | } |
1663 | name = "915GM"; | 1665 | name = "915GM"; |
1664 | break; | 1666 | break; |
1667 | case PCI_DEVICE_ID_INTEL_82945G_HB: | ||
1668 | if (find_i830(PCI_DEVICE_ID_INTEL_82945G_IG)) { | ||
1669 | bridge->driver = &intel_915_driver; | ||
1670 | } else { | ||
1671 | bridge->driver = &intel_845_driver; | ||
1672 | } | ||
1673 | name = "945G"; | ||
1674 | break; | ||
1665 | case PCI_DEVICE_ID_INTEL_7505_0: | 1675 | case PCI_DEVICE_ID_INTEL_7505_0: |
1666 | bridge->driver = &intel_7505_driver; | 1676 | bridge->driver = &intel_7505_driver; |
1667 | name = "E7505"; | 1677 | name = "E7505"; |
@@ -1801,6 +1811,7 @@ static struct pci_device_id agp_intel_pci_table[] = { | |||
1801 | ID(PCI_DEVICE_ID_INTEL_7205_0), | 1811 | ID(PCI_DEVICE_ID_INTEL_7205_0), |
1802 | ID(PCI_DEVICE_ID_INTEL_82915G_HB), | 1812 | ID(PCI_DEVICE_ID_INTEL_82915G_HB), |
1803 | ID(PCI_DEVICE_ID_INTEL_82915GM_HB), | 1813 | ID(PCI_DEVICE_ID_INTEL_82915GM_HB), |
1814 | ID(PCI_DEVICE_ID_INTEL_82945G_HB), | ||
1804 | { } | 1815 | { } |
1805 | }; | 1816 | }; |
1806 | 1817 | ||
diff --git a/drivers/char/agp/sgi-agp.c b/drivers/char/agp/sgi-agp.c index 4b3eda267976..d3aa159c9dec 100644 --- a/drivers/char/agp/sgi-agp.c +++ b/drivers/char/agp/sgi-agp.c | |||
@@ -133,11 +133,14 @@ static int sgi_tioca_insert_memory(struct agp_memory *mem, off_t pg_start, | |||
133 | off_t j; | 133 | off_t j; |
134 | void *temp; | 134 | void *temp; |
135 | struct agp_bridge_data *bridge; | 135 | struct agp_bridge_data *bridge; |
136 | u64 *table; | ||
136 | 137 | ||
137 | bridge = mem->bridge; | 138 | bridge = mem->bridge; |
138 | if (!bridge) | 139 | if (!bridge) |
139 | return -EINVAL; | 140 | return -EINVAL; |
140 | 141 | ||
142 | table = (u64 *)bridge->gatt_table; | ||
143 | |||
141 | temp = bridge->current_size; | 144 | temp = bridge->current_size; |
142 | 145 | ||
143 | switch (bridge->driver->size_type) { | 146 | switch (bridge->driver->size_type) { |
@@ -175,7 +178,7 @@ static int sgi_tioca_insert_memory(struct agp_memory *mem, off_t pg_start, | |||
175 | j = pg_start; | 178 | j = pg_start; |
176 | 179 | ||
177 | while (j < (pg_start + mem->page_count)) { | 180 | while (j < (pg_start + mem->page_count)) { |
178 | if (*(bridge->gatt_table + j)) | 181 | if (table[j]) |
179 | return -EBUSY; | 182 | return -EBUSY; |
180 | j++; | 183 | j++; |
181 | } | 184 | } |
@@ -186,7 +189,7 @@ static int sgi_tioca_insert_memory(struct agp_memory *mem, off_t pg_start, | |||
186 | } | 189 | } |
187 | 190 | ||
188 | for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { | 191 | for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { |
189 | *(bridge->gatt_table + j) = | 192 | table[j] = |
190 | bridge->driver->mask_memory(bridge, mem->memory[i], | 193 | bridge->driver->mask_memory(bridge, mem->memory[i], |
191 | mem->type); | 194 | mem->type); |
192 | } | 195 | } |
@@ -200,6 +203,7 @@ static int sgi_tioca_remove_memory(struct agp_memory *mem, off_t pg_start, | |||
200 | { | 203 | { |
201 | size_t i; | 204 | size_t i; |
202 | struct agp_bridge_data *bridge; | 205 | struct agp_bridge_data *bridge; |
206 | u64 *table; | ||
203 | 207 | ||
204 | bridge = mem->bridge; | 208 | bridge = mem->bridge; |
205 | if (!bridge) | 209 | if (!bridge) |
@@ -209,8 +213,10 @@ static int sgi_tioca_remove_memory(struct agp_memory *mem, off_t pg_start, | |||
209 | return -EINVAL; | 213 | return -EINVAL; |
210 | } | 214 | } |
211 | 215 | ||
216 | table = (u64 *)bridge->gatt_table; | ||
217 | |||
212 | for (i = pg_start; i < (mem->page_count + pg_start); i++) { | 218 | for (i = pg_start; i < (mem->page_count + pg_start); i++) { |
213 | *(bridge->gatt_table + i) = 0; | 219 | table[i] = 0; |
214 | } | 220 | } |
215 | 221 | ||
216 | bridge->driver->tlb_flush(mem); | 222 | bridge->driver->tlb_flush(mem); |
diff --git a/drivers/char/agp/sworks-agp.c b/drivers/char/agp/sworks-agp.c index 10c23302dd84..a9fb12c20eb7 100644 --- a/drivers/char/agp/sworks-agp.c +++ b/drivers/char/agp/sworks-agp.c | |||
@@ -51,7 +51,7 @@ static int serverworks_create_page_map(struct serverworks_page_map *page_map) | |||
51 | } | 51 | } |
52 | SetPageReserved(virt_to_page(page_map->real)); | 52 | SetPageReserved(virt_to_page(page_map->real)); |
53 | global_cache_flush(); | 53 | global_cache_flush(); |
54 | page_map->remapped = ioremap_nocache(virt_to_phys(page_map->real), | 54 | page_map->remapped = ioremap_nocache(virt_to_gart(page_map->real), |
55 | PAGE_SIZE); | 55 | PAGE_SIZE); |
56 | if (page_map->remapped == NULL) { | 56 | if (page_map->remapped == NULL) { |
57 | ClearPageReserved(virt_to_page(page_map->real)); | 57 | ClearPageReserved(virt_to_page(page_map->real)); |
@@ -162,7 +162,7 @@ static int serverworks_create_gatt_table(struct agp_bridge_data *bridge) | |||
162 | /* Create a fake scratch directory */ | 162 | /* Create a fake scratch directory */ |
163 | for(i = 0; i < 1024; i++) { | 163 | for(i = 0; i < 1024; i++) { |
164 | writel(agp_bridge->scratch_page, serverworks_private.scratch_dir.remapped+i); | 164 | writel(agp_bridge->scratch_page, serverworks_private.scratch_dir.remapped+i); |
165 | writel(virt_to_phys(serverworks_private.scratch_dir.real) | 1, page_dir.remapped+i); | 165 | writel(virt_to_gart(serverworks_private.scratch_dir.real) | 1, page_dir.remapped+i); |
166 | } | 166 | } |
167 | 167 | ||
168 | retval = serverworks_create_gatt_pages(value->num_entries / 1024); | 168 | retval = serverworks_create_gatt_pages(value->num_entries / 1024); |
@@ -174,7 +174,7 @@ static int serverworks_create_gatt_table(struct agp_bridge_data *bridge) | |||
174 | 174 | ||
175 | agp_bridge->gatt_table_real = (u32 *)page_dir.real; | 175 | agp_bridge->gatt_table_real = (u32 *)page_dir.real; |
176 | agp_bridge->gatt_table = (u32 __iomem *)page_dir.remapped; | 176 | agp_bridge->gatt_table = (u32 __iomem *)page_dir.remapped; |
177 | agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); | 177 | agp_bridge->gatt_bus_addr = virt_to_gart(page_dir.real); |
178 | 178 | ||
179 | /* Get the address for the gart region. | 179 | /* Get the address for the gart region. |
180 | * This is a bus address even on the alpha, b/c its | 180 | * This is a bus address even on the alpha, b/c its |
@@ -187,7 +187,7 @@ static int serverworks_create_gatt_table(struct agp_bridge_data *bridge) | |||
187 | /* Calculate the agp offset */ | 187 | /* Calculate the agp offset */ |
188 | 188 | ||
189 | for(i = 0; i < value->num_entries / 1024; i++) | 189 | for(i = 0; i < value->num_entries / 1024; i++) |
190 | writel(virt_to_phys(serverworks_private.gatt_pages[i]->real)|1, page_dir.remapped+i); | 190 | writel(virt_to_gart(serverworks_private.gatt_pages[i]->real)|1, page_dir.remapped+i); |
191 | 191 | ||
192 | return 0; | 192 | return 0; |
193 | } | 193 | } |
diff --git a/drivers/char/agp/uninorth-agp.c b/drivers/char/agp/uninorth-agp.c index a673971f2a90..c8255312b8c1 100644 --- a/drivers/char/agp/uninorth-agp.c +++ b/drivers/char/agp/uninorth-agp.c | |||
@@ -407,7 +407,7 @@ static int uninorth_create_gatt_table(struct agp_bridge_data *bridge) | |||
407 | 407 | ||
408 | bridge->gatt_table_real = (u32 *) table; | 408 | bridge->gatt_table_real = (u32 *) table; |
409 | bridge->gatt_table = (u32 *)table; | 409 | bridge->gatt_table = (u32 *)table; |
410 | bridge->gatt_bus_addr = virt_to_phys(table); | 410 | bridge->gatt_bus_addr = virt_to_gart(table); |
411 | 411 | ||
412 | for (i = 0; i < num_entries; i++) | 412 | for (i = 0; i < num_entries; i++) |
413 | bridge->gatt_table[i] = 0; | 413 | bridge->gatt_table[i] = 0; |
diff --git a/drivers/char/drm/drm_pciids.h b/drivers/char/drm/drm_pciids.h index 54a2914e3a32..11c6950158b3 100644 --- a/drivers/char/drm/drm_pciids.h +++ b/drivers/char/drm/drm_pciids.h | |||
@@ -220,5 +220,6 @@ | |||
220 | {0x8086, 0x2572, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ | 220 | {0x8086, 0x2572, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ |
221 | {0x8086, 0x2582, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ | 221 | {0x8086, 0x2582, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ |
222 | {0x8086, 0x2592, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ | 222 | {0x8086, 0x2592, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ |
223 | {0x8086, 0x2772, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ | ||
223 | {0, 0, 0} | 224 | {0, 0, 0} |
224 | 225 | ||
diff --git a/drivers/char/drm/radeon_irq.c b/drivers/char/drm/radeon_irq.c index 5b18bee6492e..cd25f28e26a3 100644 --- a/drivers/char/drm/radeon_irq.c +++ b/drivers/char/drm/radeon_irq.c | |||
@@ -123,11 +123,6 @@ static int radeon_wait_irq(drm_device_t *dev, int swi_nr) | |||
123 | 123 | ||
124 | dev_priv->stats.boxes |= RADEON_BOX_WAIT_IDLE; | 124 | dev_priv->stats.boxes |= RADEON_BOX_WAIT_IDLE; |
125 | 125 | ||
126 | /* This is a hack to work around mysterious freezes on certain | ||
127 | * systems: | ||
128 | */ | ||
129 | radeon_acknowledge_irqs( dev_priv ); | ||
130 | |||
131 | DRM_WAIT_ON( ret, dev_priv->swi_queue, 3 * DRM_HZ, | 126 | DRM_WAIT_ON( ret, dev_priv->swi_queue, 3 * DRM_HZ, |
132 | RADEON_READ( RADEON_LAST_SWI_REG ) >= swi_nr ); | 127 | RADEON_READ( RADEON_LAST_SWI_REG ) >= swi_nr ); |
133 | 128 | ||
diff --git a/drivers/char/mxser.c b/drivers/char/mxser.c index 7a245068e3e5..f022f0944434 100644 --- a/drivers/char/mxser.c +++ b/drivers/char/mxser.c | |||
@@ -1995,9 +1995,6 @@ static void mxser_receive_chars(struct mxser_struct *info, int *status) | |||
1995 | unsigned char ch, gdl; | 1995 | unsigned char ch, gdl; |
1996 | int ignored = 0; | 1996 | int ignored = 0; |
1997 | int cnt = 0; | 1997 | int cnt = 0; |
1998 | unsigned char *cp; | ||
1999 | char *fp; | ||
2000 | int count; | ||
2001 | int recv_room; | 1998 | int recv_room; |
2002 | int max = 256; | 1999 | int max = 256; |
2003 | unsigned long flags; | 2000 | unsigned long flags; |
@@ -2011,10 +2008,6 @@ static void mxser_receive_chars(struct mxser_struct *info, int *status) | |||
2011 | //return; | 2008 | //return; |
2012 | } | 2009 | } |
2013 | 2010 | ||
2014 | cp = tty->flip.char_buf; | ||
2015 | fp = tty->flip.flag_buf; | ||
2016 | count = 0; | ||
2017 | |||
2018 | // following add by Victor Yu. 09-02-2002 | 2011 | // following add by Victor Yu. 09-02-2002 |
2019 | if (info->IsMoxaMustChipFlag != MOXA_OTHER_UART) { | 2012 | if (info->IsMoxaMustChipFlag != MOXA_OTHER_UART) { |
2020 | 2013 | ||
@@ -2041,12 +2034,10 @@ static void mxser_receive_chars(struct mxser_struct *info, int *status) | |||
2041 | } | 2034 | } |
2042 | while (gdl--) { | 2035 | while (gdl--) { |
2043 | ch = inb(info->base + UART_RX); | 2036 | ch = inb(info->base + UART_RX); |
2044 | count++; | 2037 | tty_insert_flip_char(tty, ch, 0); |
2045 | *cp++ = ch; | ||
2046 | *fp++ = 0; | ||
2047 | cnt++; | 2038 | cnt++; |
2048 | /* | 2039 | /* |
2049 | if((count>=HI_WATER) && (info->stop_rx==0)){ | 2040 | if((cnt>=HI_WATER) && (info->stop_rx==0)){ |
2050 | mxser_stoprx(tty); | 2041 | mxser_stoprx(tty); |
2051 | info->stop_rx=1; | 2042 | info->stop_rx=1; |
2052 | break; | 2043 | break; |
@@ -2061,7 +2052,7 @@ intr_old: | |||
2061 | if (max-- < 0) | 2052 | if (max-- < 0) |
2062 | break; | 2053 | break; |
2063 | /* | 2054 | /* |
2064 | if((count>=HI_WATER) && (info->stop_rx==0)){ | 2055 | if((cnt>=HI_WATER) && (info->stop_rx==0)){ |
2065 | mxser_stoprx(tty); | 2056 | mxser_stoprx(tty); |
2066 | info->stop_rx=1; | 2057 | info->stop_rx=1; |
2067 | break; | 2058 | break; |
@@ -2078,36 +2069,33 @@ intr_old: | |||
2078 | if (++ignored > 100) | 2069 | if (++ignored > 100) |
2079 | break; | 2070 | break; |
2080 | } else { | 2071 | } else { |
2081 | count++; | 2072 | char flag = 0; |
2082 | if (*status & UART_LSR_SPECIAL) { | 2073 | if (*status & UART_LSR_SPECIAL) { |
2083 | if (*status & UART_LSR_BI) { | 2074 | if (*status & UART_LSR_BI) { |
2084 | *fp++ = TTY_BREAK; | 2075 | flag = TTY_BREAK; |
2085 | /* added by casper 1/11/2000 */ | 2076 | /* added by casper 1/11/2000 */ |
2086 | info->icount.brk++; | 2077 | info->icount.brk++; |
2087 | |||
2088 | /* */ | 2078 | /* */ |
2089 | if (info->flags & ASYNC_SAK) | 2079 | if (info->flags & ASYNC_SAK) |
2090 | do_SAK(tty); | 2080 | do_SAK(tty); |
2091 | } else if (*status & UART_LSR_PE) { | 2081 | } else if (*status & UART_LSR_PE) { |
2092 | *fp++ = TTY_PARITY; | 2082 | flag = TTY_PARITY; |
2093 | /* added by casper 1/11/2000 */ | 2083 | /* added by casper 1/11/2000 */ |
2094 | info->icount.parity++; | 2084 | info->icount.parity++; |
2095 | /* */ | 2085 | /* */ |
2096 | } else if (*status & UART_LSR_FE) { | 2086 | } else if (*status & UART_LSR_FE) { |
2097 | *fp++ = TTY_FRAME; | 2087 | flag = TTY_FRAME; |
2098 | /* added by casper 1/11/2000 */ | 2088 | /* added by casper 1/11/2000 */ |
2099 | info->icount.frame++; | 2089 | info->icount.frame++; |
2100 | /* */ | 2090 | /* */ |
2101 | } else if (*status & UART_LSR_OE) { | 2091 | } else if (*status & UART_LSR_OE) { |
2102 | *fp++ = TTY_OVERRUN; | 2092 | flag = TTY_OVERRUN; |
2103 | /* added by casper 1/11/2000 */ | 2093 | /* added by casper 1/11/2000 */ |
2104 | info->icount.overrun++; | 2094 | info->icount.overrun++; |
2105 | /* */ | 2095 | /* */ |
2106 | } else | 2096 | } |
2107 | *fp++ = 0; | 2097 | } |
2108 | } else | 2098 | tty_insert_flip_char(tty, ch, flag); |
2109 | *fp++ = 0; | ||
2110 | *cp++ = ch; | ||
2111 | cnt++; | 2099 | cnt++; |
2112 | if (cnt >= recv_room) { | 2100 | if (cnt >= recv_room) { |
2113 | if (!info->ldisc_stop_rx) { | 2101 | if (!info->ldisc_stop_rx) { |
@@ -2132,13 +2120,13 @@ intr_old: | |||
2132 | // above add by Victor Yu. 09-02-2002 | 2120 | // above add by Victor Yu. 09-02-2002 |
2133 | } while (*status & UART_LSR_DR); | 2121 | } while (*status & UART_LSR_DR); |
2134 | 2122 | ||
2135 | end_intr: // add by Victor Yu. 09-02-2002 | 2123 | end_intr: // add by Victor Yu. 09-02-2002 |
2136 | 2124 | ||
2137 | mxvar_log.rxcnt[info->port] += cnt; | 2125 | mxvar_log.rxcnt[info->port] += cnt; |
2138 | info->mon_data.rxcnt += cnt; | 2126 | info->mon_data.rxcnt += cnt; |
2139 | info->mon_data.up_rxcnt += cnt; | 2127 | info->mon_data.up_rxcnt += cnt; |
2140 | spin_unlock_irqrestore(&info->slock, flags); | 2128 | spin_unlock_irqrestore(&info->slock, flags); |
2141 | 2129 | ||
2142 | tty_flip_buffer_push(tty); | 2130 | tty_flip_buffer_push(tty); |
2143 | } | 2131 | } |
2144 | 2132 | ||
diff --git a/drivers/fc4/fc.c b/drivers/fc4/fc.c index 1fbb219aa9ba..fbd9ff79b7b8 100644 --- a/drivers/fc4/fc.c +++ b/drivers/fc4/fc.c | |||
@@ -767,10 +767,8 @@ static void fcp_scsi_done (Scsi_Cmnd *SCpnt) | |||
767 | { | 767 | { |
768 | unsigned long flags; | 768 | unsigned long flags; |
769 | 769 | ||
770 | spin_lock_irqsave(SCpnt->device->host->host_lock, flags); | ||
771 | if (FCP_CMND(SCpnt)->done) | 770 | if (FCP_CMND(SCpnt)->done) |
772 | FCP_CMND(SCpnt)->done(SCpnt); | 771 | FCP_CMND(SCpnt)->done(SCpnt); |
773 | spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); | ||
774 | } | 772 | } |
775 | 773 | ||
776 | static int fcp_scsi_queue_it(fc_channel *fc, Scsi_Cmnd *SCpnt, fcp_cmnd *fcmd, int prepare) | 774 | static int fcp_scsi_queue_it(fc_channel *fc, Scsi_Cmnd *SCpnt, fcp_cmnd *fcmd, int prepare) |
@@ -912,9 +910,7 @@ int fcp_scsi_abort(Scsi_Cmnd *SCpnt) | |||
912 | unsigned long flags; | 910 | unsigned long flags; |
913 | 911 | ||
914 | SCpnt->result = DID_ABORT; | 912 | SCpnt->result = DID_ABORT; |
915 | spin_lock_irqsave(SCpnt->device->host->host_lock, flags); | ||
916 | fcmd->done(SCpnt); | 913 | fcmd->done(SCpnt); |
917 | spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); | ||
918 | printk("FC: soft abort\n"); | 914 | printk("FC: soft abort\n"); |
919 | return SUCCESS; | 915 | return SUCCESS; |
920 | } else { | 916 | } else { |
@@ -987,7 +983,10 @@ int fcp_scsi_dev_reset(Scsi_Cmnd *SCpnt) | |||
987 | fc->rst_pkt->request->rq_status = RQ_SCSI_BUSY; | 983 | fc->rst_pkt->request->rq_status = RQ_SCSI_BUSY; |
988 | 984 | ||
989 | fc->rst_pkt->done = fcp_scsi_reset_done; | 985 | fc->rst_pkt->done = fcp_scsi_reset_done; |
986 | |||
987 | spin_lock_irqsave(SCpnt->device->host->host_lock, flags); | ||
990 | fcp_scsi_queue_it(fc, fc->rst_pkt, fcmd, 0); | 988 | fcp_scsi_queue_it(fc, fc->rst_pkt, fcmd, 0); |
989 | spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); | ||
991 | 990 | ||
992 | down(&sem); | 991 | down(&sem); |
993 | 992 | ||
@@ -1006,13 +1005,7 @@ int fcp_scsi_dev_reset(Scsi_Cmnd *SCpnt) | |||
1006 | return SUCCESS; | 1005 | return SUCCESS; |
1007 | } | 1006 | } |
1008 | 1007 | ||
1009 | int fcp_scsi_bus_reset(Scsi_Cmnd *SCpnt) | 1008 | static int __fcp_scsi_host_reset(Scsi_Cmnd *SCpnt) |
1010 | { | ||
1011 | printk ("FC: bus reset!\n"); | ||
1012 | return FAILED; | ||
1013 | } | ||
1014 | |||
1015 | int fcp_scsi_host_reset(Scsi_Cmnd *SCpnt) | ||
1016 | { | 1009 | { |
1017 | fc_channel *fc = FC_SCMND(SCpnt); | 1010 | fc_channel *fc = FC_SCMND(SCpnt); |
1018 | fcp_cmnd *fcmd = FCP_CMND(SCpnt); | 1011 | fcp_cmnd *fcmd = FCP_CMND(SCpnt); |
@@ -1033,6 +1026,17 @@ int fcp_scsi_host_reset(Scsi_Cmnd *SCpnt) | |||
1033 | else return FAILED; | 1026 | else return FAILED; |
1034 | } | 1027 | } |
1035 | 1028 | ||
1029 | int fcp_scsi_host_reset(Scsi_Cmnd *SCpnt) | ||
1030 | { | ||
1031 | int rc; | ||
1032 | |||
1033 | spin_lock_irqsave(SCpnt->device->host->host_lock, flags); | ||
1034 | rc = __fcp_scsi_host_reset(SCpnt); | ||
1035 | spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); | ||
1036 | |||
1037 | return rc; | ||
1038 | } | ||
1039 | |||
1036 | static int fcp_els_queue_it(fc_channel *fc, fcp_cmnd *fcmd) | 1040 | static int fcp_els_queue_it(fc_channel *fc, fcp_cmnd *fcmd) |
1037 | { | 1041 | { |
1038 | long i; | 1042 | long i; |
diff --git a/drivers/fc4/fc_syms.c b/drivers/fc4/fc_syms.c index 8bac2c453027..ed85dfcef69a 100644 --- a/drivers/fc4/fc_syms.c +++ b/drivers/fc4/fc_syms.c | |||
@@ -27,7 +27,6 @@ EXPORT_SYMBOL(fc_do_prli); | |||
27 | EXPORT_SYMBOL(fcp_scsi_queuecommand); | 27 | EXPORT_SYMBOL(fcp_scsi_queuecommand); |
28 | EXPORT_SYMBOL(fcp_scsi_abort); | 28 | EXPORT_SYMBOL(fcp_scsi_abort); |
29 | EXPORT_SYMBOL(fcp_scsi_dev_reset); | 29 | EXPORT_SYMBOL(fcp_scsi_dev_reset); |
30 | EXPORT_SYMBOL(fcp_scsi_bus_reset); | ||
31 | EXPORT_SYMBOL(fcp_scsi_host_reset); | 30 | EXPORT_SYMBOL(fcp_scsi_host_reset); |
32 | 31 | ||
33 | #endif /* CONFIG_MODULES */ | 32 | #endif /* CONFIG_MODULES */ |
diff --git a/drivers/fc4/fcp_impl.h b/drivers/fc4/fcp_impl.h index e44d652a83dc..c397c84bef63 100644 --- a/drivers/fc4/fcp_impl.h +++ b/drivers/fc4/fcp_impl.h | |||
@@ -158,7 +158,6 @@ int fc_do_prli(fc_channel *, unsigned char); | |||
158 | int fcp_scsi_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *)); | 158 | int fcp_scsi_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *)); |
159 | int fcp_scsi_abort(Scsi_Cmnd *); | 159 | int fcp_scsi_abort(Scsi_Cmnd *); |
160 | int fcp_scsi_dev_reset(Scsi_Cmnd *); | 160 | int fcp_scsi_dev_reset(Scsi_Cmnd *); |
161 | int fcp_scsi_bus_reset(Scsi_Cmnd *); | ||
162 | int fcp_scsi_host_reset(Scsi_Cmnd *); | 161 | int fcp_scsi_host_reset(Scsi_Cmnd *); |
163 | 162 | ||
164 | #endif /* !(_FCP_SCSI_H) */ | 163 | #endif /* !(_FCP_SCSI_H) */ |
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c index 00c7b958361a..2bae300aad46 100644 --- a/drivers/ieee1394/sbp2.c +++ b/drivers/ieee1394/sbp2.c | |||
@@ -745,7 +745,8 @@ static struct scsi_id_instance_data *sbp2_alloc_device(struct unit_directory *ud | |||
745 | list_add_tail(&scsi_id->scsi_list, &hi->scsi_ids); | 745 | list_add_tail(&scsi_id->scsi_list, &hi->scsi_ids); |
746 | 746 | ||
747 | /* Register our host with the SCSI stack. */ | 747 | /* Register our host with the SCSI stack. */ |
748 | scsi_host = scsi_host_alloc(&scsi_driver_template, 0); | 748 | scsi_host = scsi_host_alloc(&scsi_driver_template, |
749 | sizeof (unsigned long)); | ||
749 | if (!scsi_host) { | 750 | if (!scsi_host) { |
750 | SBP2_ERR("failed to register scsi host"); | 751 | SBP2_ERR("failed to register scsi host"); |
751 | goto failed_alloc; | 752 | goto failed_alloc; |
@@ -1070,7 +1071,7 @@ static int sbp2_handle_physdma_read(struct hpsb_host *host, int nodeid, quadlet_ | |||
1070 | static __inline__ int sbp2_command_conversion_device_type(u8 device_type) | 1071 | static __inline__ int sbp2_command_conversion_device_type(u8 device_type) |
1071 | { | 1072 | { |
1072 | return (((device_type == TYPE_DISK) || | 1073 | return (((device_type == TYPE_DISK) || |
1073 | (device_type == TYPE_SDAD) || | 1074 | (device_type == TYPE_RBC) || |
1074 | (device_type == TYPE_ROM)) ? 1:0); | 1075 | (device_type == TYPE_ROM)) ? 1:0); |
1075 | } | 1076 | } |
1076 | 1077 | ||
@@ -2111,102 +2112,6 @@ static int sbp2_send_command(struct scsi_id_instance_data *scsi_id, | |||
2111 | */ | 2112 | */ |
2112 | static void sbp2_check_sbp2_command(struct scsi_id_instance_data *scsi_id, unchar *cmd) | 2113 | static void sbp2_check_sbp2_command(struct scsi_id_instance_data *scsi_id, unchar *cmd) |
2113 | { | 2114 | { |
2114 | unchar new_cmd[16]; | ||
2115 | u8 device_type = SBP2_DEVICE_TYPE (scsi_id->sbp2_device_type_and_lun); | ||
2116 | |||
2117 | SBP2_DEBUG("sbp2_check_sbp2_command"); | ||
2118 | |||
2119 | switch (*cmd) { | ||
2120 | |||
2121 | case READ_6: | ||
2122 | |||
2123 | if (sbp2_command_conversion_device_type(device_type)) { | ||
2124 | |||
2125 | SBP2_DEBUG("Convert READ_6 to READ_10"); | ||
2126 | |||
2127 | /* | ||
2128 | * Need to turn read_6 into read_10 | ||
2129 | */ | ||
2130 | new_cmd[0] = 0x28; | ||
2131 | new_cmd[1] = (cmd[1] & 0xe0); | ||
2132 | new_cmd[2] = 0x0; | ||
2133 | new_cmd[3] = (cmd[1] & 0x1f); | ||
2134 | new_cmd[4] = cmd[2]; | ||
2135 | new_cmd[5] = cmd[3]; | ||
2136 | new_cmd[6] = 0x0; | ||
2137 | new_cmd[7] = 0x0; | ||
2138 | new_cmd[8] = cmd[4]; | ||
2139 | new_cmd[9] = cmd[5]; | ||
2140 | |||
2141 | memcpy(cmd, new_cmd, 10); | ||
2142 | |||
2143 | } | ||
2144 | |||
2145 | break; | ||
2146 | |||
2147 | case WRITE_6: | ||
2148 | |||
2149 | if (sbp2_command_conversion_device_type(device_type)) { | ||
2150 | |||
2151 | SBP2_DEBUG("Convert WRITE_6 to WRITE_10"); | ||
2152 | |||
2153 | /* | ||
2154 | * Need to turn write_6 into write_10 | ||
2155 | */ | ||
2156 | new_cmd[0] = 0x2a; | ||
2157 | new_cmd[1] = (cmd[1] & 0xe0); | ||
2158 | new_cmd[2] = 0x0; | ||
2159 | new_cmd[3] = (cmd[1] & 0x1f); | ||
2160 | new_cmd[4] = cmd[2]; | ||
2161 | new_cmd[5] = cmd[3]; | ||
2162 | new_cmd[6] = 0x0; | ||
2163 | new_cmd[7] = 0x0; | ||
2164 | new_cmd[8] = cmd[4]; | ||
2165 | new_cmd[9] = cmd[5]; | ||
2166 | |||
2167 | memcpy(cmd, new_cmd, 10); | ||
2168 | |||
2169 | } | ||
2170 | |||
2171 | break; | ||
2172 | |||
2173 | case MODE_SENSE: | ||
2174 | |||
2175 | if (sbp2_command_conversion_device_type(device_type)) { | ||
2176 | |||
2177 | SBP2_DEBUG("Convert MODE_SENSE_6 to MODE_SENSE_10"); | ||
2178 | |||
2179 | /* | ||
2180 | * Need to turn mode_sense_6 into mode_sense_10 | ||
2181 | */ | ||
2182 | new_cmd[0] = 0x5a; | ||
2183 | new_cmd[1] = cmd[1]; | ||
2184 | new_cmd[2] = cmd[2]; | ||
2185 | new_cmd[3] = 0x0; | ||
2186 | new_cmd[4] = 0x0; | ||
2187 | new_cmd[5] = 0x0; | ||
2188 | new_cmd[6] = 0x0; | ||
2189 | new_cmd[7] = 0x0; | ||
2190 | new_cmd[8] = cmd[4]; | ||
2191 | new_cmd[9] = cmd[5]; | ||
2192 | |||
2193 | memcpy(cmd, new_cmd, 10); | ||
2194 | |||
2195 | } | ||
2196 | |||
2197 | break; | ||
2198 | |||
2199 | case MODE_SELECT: | ||
2200 | |||
2201 | /* | ||
2202 | * TODO. Probably need to change mode select to 10 byte version | ||
2203 | */ | ||
2204 | |||
2205 | default: | ||
2206 | break; | ||
2207 | } | ||
2208 | |||
2209 | return; | ||
2210 | } | 2115 | } |
2211 | 2116 | ||
2212 | /* | 2117 | /* |
@@ -2247,7 +2152,6 @@ static void sbp2_check_sbp2_response(struct scsi_id_instance_data *scsi_id, | |||
2247 | struct scsi_cmnd *SCpnt) | 2152 | struct scsi_cmnd *SCpnt) |
2248 | { | 2153 | { |
2249 | u8 *scsi_buf = SCpnt->request_buffer; | 2154 | u8 *scsi_buf = SCpnt->request_buffer; |
2250 | u8 device_type = SBP2_DEVICE_TYPE (scsi_id->sbp2_device_type_and_lun); | ||
2251 | 2155 | ||
2252 | SBP2_DEBUG("sbp2_check_sbp2_response"); | 2156 | SBP2_DEBUG("sbp2_check_sbp2_response"); |
2253 | 2157 | ||
@@ -2272,14 +2176,6 @@ static void sbp2_check_sbp2_response(struct scsi_id_instance_data *scsi_id, | |||
2272 | } | 2176 | } |
2273 | 2177 | ||
2274 | /* | 2178 | /* |
2275 | * Check for Simple Direct Access Device and change it to TYPE_DISK | ||
2276 | */ | ||
2277 | if ((scsi_buf[0] & 0x1f) == TYPE_SDAD) { | ||
2278 | SBP2_DEBUG("Changing TYPE_SDAD to TYPE_DISK"); | ||
2279 | scsi_buf[0] &= 0xe0; | ||
2280 | } | ||
2281 | |||
2282 | /* | ||
2283 | * Fix ansi revision and response data format | 2179 | * Fix ansi revision and response data format |
2284 | */ | 2180 | */ |
2285 | scsi_buf[2] |= 2; | 2181 | scsi_buf[2] |= 2; |
@@ -2287,27 +2183,6 @@ static void sbp2_check_sbp2_response(struct scsi_id_instance_data *scsi_id, | |||
2287 | 2183 | ||
2288 | break; | 2184 | break; |
2289 | 2185 | ||
2290 | case MODE_SENSE: | ||
2291 | |||
2292 | if (sbp2_command_conversion_device_type(device_type)) { | ||
2293 | |||
2294 | SBP2_DEBUG("Modify mode sense response (10 byte version)"); | ||
2295 | |||
2296 | scsi_buf[0] = scsi_buf[1]; /* Mode data length */ | ||
2297 | scsi_buf[1] = scsi_buf[2]; /* Medium type */ | ||
2298 | scsi_buf[2] = scsi_buf[3]; /* Device specific parameter */ | ||
2299 | scsi_buf[3] = scsi_buf[7]; /* Block descriptor length */ | ||
2300 | memcpy(scsi_buf + 4, scsi_buf + 8, scsi_buf[0]); | ||
2301 | } | ||
2302 | |||
2303 | break; | ||
2304 | |||
2305 | case MODE_SELECT: | ||
2306 | |||
2307 | /* | ||
2308 | * TODO. Probably need to change mode select to 10 byte version | ||
2309 | */ | ||
2310 | |||
2311 | default: | 2186 | default: |
2312 | break; | 2187 | break; |
2313 | } | 2188 | } |
@@ -2579,8 +2454,6 @@ static void sbp2scsi_complete_command(struct scsi_id_instance_data *scsi_id, | |||
2579 | u32 scsi_status, struct scsi_cmnd *SCpnt, | 2454 | u32 scsi_status, struct scsi_cmnd *SCpnt, |
2580 | void (*done)(struct scsi_cmnd *)) | 2455 | void (*done)(struct scsi_cmnd *)) |
2581 | { | 2456 | { |
2582 | unsigned long flags; | ||
2583 | |||
2584 | SBP2_DEBUG("sbp2scsi_complete_command"); | 2457 | SBP2_DEBUG("sbp2scsi_complete_command"); |
2585 | 2458 | ||
2586 | /* | 2459 | /* |
@@ -2679,18 +2552,15 @@ static void sbp2scsi_complete_command(struct scsi_id_instance_data *scsi_id, | |||
2679 | /* | 2552 | /* |
2680 | * Tell scsi stack that we're done with this command | 2553 | * Tell scsi stack that we're done with this command |
2681 | */ | 2554 | */ |
2682 | spin_lock_irqsave(scsi_id->scsi_host->host_lock,flags); | ||
2683 | done (SCpnt); | 2555 | done (SCpnt); |
2684 | spin_unlock_irqrestore(scsi_id->scsi_host->host_lock,flags); | ||
2685 | |||
2686 | return; | ||
2687 | } | 2556 | } |
2688 | 2557 | ||
2689 | 2558 | ||
2690 | static int sbp2scsi_slave_configure (struct scsi_device *sdev) | 2559 | static int sbp2scsi_slave_configure (struct scsi_device *sdev) |
2691 | { | 2560 | { |
2692 | blk_queue_dma_alignment(sdev->request_queue, (512 - 1)); | 2561 | blk_queue_dma_alignment(sdev->request_queue, (512 - 1)); |
2693 | 2562 | sdev->use_10_for_rw = 1; | |
2563 | sdev->use_10_for_ms = 1; | ||
2694 | return 0; | 2564 | return 0; |
2695 | } | 2565 | } |
2696 | 2566 | ||
@@ -2746,7 +2616,7 @@ static int sbp2scsi_abort(struct scsi_cmnd *SCpnt) | |||
2746 | /* | 2616 | /* |
2747 | * Called by scsi stack when something has really gone wrong. | 2617 | * Called by scsi stack when something has really gone wrong. |
2748 | */ | 2618 | */ |
2749 | static int sbp2scsi_reset(struct scsi_cmnd *SCpnt) | 2619 | static int __sbp2scsi_reset(struct scsi_cmnd *SCpnt) |
2750 | { | 2620 | { |
2751 | struct scsi_id_instance_data *scsi_id = | 2621 | struct scsi_id_instance_data *scsi_id = |
2752 | (struct scsi_id_instance_data *)SCpnt->device->host->hostdata[0]; | 2622 | (struct scsi_id_instance_data *)SCpnt->device->host->hostdata[0]; |
@@ -2761,6 +2631,18 @@ static int sbp2scsi_reset(struct scsi_cmnd *SCpnt) | |||
2761 | return(SUCCESS); | 2631 | return(SUCCESS); |
2762 | } | 2632 | } |
2763 | 2633 | ||
2634 | static int sbp2scsi_reset(struct scsi_cmnd *SCpnt) | ||
2635 | { | ||
2636 | unsigned long flags; | ||
2637 | int rc; | ||
2638 | |||
2639 | spin_lock_irqsave(SCpnt->device->host->host_lock, flags); | ||
2640 | rc = __sbp2scsi_reset(SCpnt); | ||
2641 | spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); | ||
2642 | |||
2643 | return rc; | ||
2644 | } | ||
2645 | |||
2764 | static const char *sbp2scsi_info (struct Scsi_Host *host) | 2646 | static const char *sbp2scsi_info (struct Scsi_Host *host) |
2765 | { | 2647 | { |
2766 | return "SCSI emulation for IEEE-1394 SBP-2 Devices"; | 2648 | return "SCSI emulation for IEEE-1394 SBP-2 Devices"; |
diff --git a/drivers/ieee1394/sbp2.h b/drivers/ieee1394/sbp2.h index a84b039a05b9..cd425be74841 100644 --- a/drivers/ieee1394/sbp2.h +++ b/drivers/ieee1394/sbp2.h | |||
@@ -266,10 +266,6 @@ struct sbp2_status_block { | |||
266 | #define SBP2_MAX_UDS_PER_NODE 16 /* Maximum scsi devices per node */ | 266 | #define SBP2_MAX_UDS_PER_NODE 16 /* Maximum scsi devices per node */ |
267 | #define SBP2_MAX_SECTORS 255 /* Max sectors supported */ | 267 | #define SBP2_MAX_SECTORS 255 /* Max sectors supported */ |
268 | 268 | ||
269 | #ifndef TYPE_SDAD | ||
270 | #define TYPE_SDAD 0x0e /* simplified direct access device */ | ||
271 | #endif | ||
272 | |||
273 | /* | 269 | /* |
274 | * SCSI direction table... | 270 | * SCSI direction table... |
275 | * (now used as a back-up in case the direction passed down from above is "unknown") | 271 | * (now used as a back-up in case the direction passed down from above is "unknown") |
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index af0446c6de82..48fdf1e517cf 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c | |||
@@ -54,7 +54,7 @@ static int atkbd_softraw = 1; | |||
54 | module_param_named(softraw, atkbd_softraw, bool, 0); | 54 | module_param_named(softraw, atkbd_softraw, bool, 0); |
55 | MODULE_PARM_DESC(softraw, "Use software generated rawmode"); | 55 | MODULE_PARM_DESC(softraw, "Use software generated rawmode"); |
56 | 56 | ||
57 | static int atkbd_scroll = 1; | 57 | static int atkbd_scroll = 0; |
58 | module_param_named(scroll, atkbd_scroll, bool, 0); | 58 | module_param_named(scroll, atkbd_scroll, bool, 0); |
59 | MODULE_PARM_DESC(scroll, "Enable scroll-wheel on MS Office and similar keyboards"); | 59 | MODULE_PARM_DESC(scroll, "Enable scroll-wheel on MS Office and similar keyboards"); |
60 | 60 | ||
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index 42a9f7f6f8cb..7bf4be733e9a 100644 --- a/drivers/input/mouse/alps.c +++ b/drivers/input/mouse/alps.c | |||
@@ -352,7 +352,7 @@ static int alps_reconnect(struct psmouse *psmouse) | |||
352 | if (alps_get_status(psmouse, param)) | 352 | if (alps_get_status(psmouse, param)) |
353 | return -1; | 353 | return -1; |
354 | 354 | ||
355 | if (param[0] & 0x04) | 355 | if (!(param[0] & 0x04)) |
356 | alps_tap_mode(psmouse, 1); | 356 | alps_tap_mode(psmouse, 1); |
357 | 357 | ||
358 | if (alps_absolute_mode(psmouse)) { | 358 | if (alps_absolute_mode(psmouse)) { |
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c index bb9f4044c74d..b941ee220997 100644 --- a/drivers/macintosh/via-pmu.c +++ b/drivers/macintosh/via-pmu.c | |||
@@ -2593,6 +2593,9 @@ powerbook_sleep_Core99(void) | |||
2593 | /* Restore VIA */ | 2593 | /* Restore VIA */ |
2594 | restore_via_state(); | 2594 | restore_via_state(); |
2595 | 2595 | ||
2596 | /* tweak LPJ before cpufreq is there */ | ||
2597 | loops_per_jiffy *= 2; | ||
2598 | |||
2596 | /* Restore video */ | 2599 | /* Restore video */ |
2597 | pmac_call_early_video_resume(); | 2600 | pmac_call_early_video_resume(); |
2598 | 2601 | ||
@@ -2613,6 +2616,9 @@ powerbook_sleep_Core99(void) | |||
2613 | pmu_request(&req, NULL, 2, PMU_SET_INTR_MASK, pmu_intr_mask); | 2616 | pmu_request(&req, NULL, 2, PMU_SET_INTR_MASK, pmu_intr_mask); |
2614 | pmu_wait_complete(&req); | 2617 | pmu_wait_complete(&req); |
2615 | 2618 | ||
2619 | /* Restore LPJ, cpufreq will adjust the cpu frequency */ | ||
2620 | loops_per_jiffy /= 2; | ||
2621 | |||
2616 | pmac_wakeup_devices(); | 2622 | pmac_wakeup_devices(); |
2617 | 2623 | ||
2618 | return 0; | 2624 | return 0; |
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 1e97b3c12bd5..0c1b8520ef86 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c | |||
@@ -985,6 +985,9 @@ static int do_end_io(struct multipath *m, struct bio *bio, | |||
985 | if (!error) | 985 | if (!error) |
986 | return 0; /* I/O complete */ | 986 | return 0; /* I/O complete */ |
987 | 987 | ||
988 | if ((error == -EWOULDBLOCK) && bio_rw_ahead(bio)) | ||
989 | return error; | ||
990 | |||
988 | spin_lock(&m->lock); | 991 | spin_lock(&m->lock); |
989 | if (!m->nr_valid_paths) { | 992 | if (!m->nr_valid_paths) { |
990 | if (!m->queue_if_no_path || m->suspended) { | 993 | if (!m->queue_if_no_path || m->suspended) { |
diff --git a/drivers/message/fusion/Kconfig b/drivers/message/fusion/Kconfig index 452418b24d7b..33f209a39cb6 100644 --- a/drivers/message/fusion/Kconfig +++ b/drivers/message/fusion/Kconfig | |||
@@ -2,34 +2,54 @@ | |||
2 | menu "Fusion MPT device support" | 2 | menu "Fusion MPT device support" |
3 | 3 | ||
4 | config FUSION | 4 | config FUSION |
5 | tristate "Fusion MPT (base + ScsiHost) drivers" | 5 | bool |
6 | default n | ||
7 | |||
8 | config FUSION_SPI | ||
9 | tristate "Fusion MPT ScsiHost drivers for SPI" | ||
10 | depends on PCI && SCSI | ||
11 | select FUSION | ||
12 | ---help--- | ||
13 | SCSI HOST support for a parallel SCSI host adapters. | ||
14 | |||
15 | List of supported controllers: | ||
16 | |||
17 | LSI53C1020 | ||
18 | LSI53C1020A | ||
19 | LSI53C1030 | ||
20 | LSI53C1035 | ||
21 | |||
22 | config FUSION_FC | ||
23 | tristate "Fusion MPT ScsiHost drivers for FC" | ||
6 | depends on PCI && SCSI | 24 | depends on PCI && SCSI |
25 | select FUSION | ||
7 | ---help--- | 26 | ---help--- |
8 | LSI Logic Fusion(TM) Message Passing Technology (MPT) device support | 27 | SCSI HOST support for a Fiber Channel host adapters. |
9 | provides high performance SCSI host initiator, and LAN [1] interface | ||
10 | services to a host system. The Fusion architecture is capable of | ||
11 | duplexing these protocols on high-speed Fibre Channel | ||
12 | (up to 2 GHz x 2 ports = 4 GHz) and parallel SCSI (up to Ultra-320) | ||
13 | physical medium. | ||
14 | 28 | ||
15 | [1] LAN is not supported on parallel SCSI medium. | 29 | List of supported controllers: |
30 | |||
31 | LSIFC909 | ||
32 | LSIFC919 | ||
33 | LSIFC919X | ||
34 | LSIFC929 | ||
35 | LSIFC929X | ||
36 | LSIFC929XL | ||
16 | 37 | ||
17 | config FUSION_MAX_SGE | 38 | config FUSION_MAX_SGE |
18 | int "Maximum number of scatter gather entries" | 39 | int "Maximum number of scatter gather entries (16 - 128)" |
19 | depends on FUSION | 40 | depends on FUSION |
20 | default "40" | 41 | default "128" |
42 | range 16 128 | ||
21 | help | 43 | help |
22 | This option allows you to specify the maximum number of scatter- | 44 | This option allows you to specify the maximum number of scatter- |
23 | gather entries per I/O. The driver defaults to 40, a reasonable number | 45 | gather entries per I/O. The driver default is 128, which matches |
24 | for most systems. However, the user may increase this up to 128. | 46 | SCSI_MAX_PHYS_SEGMENTS. However, it may decreased down to 16. |
25 | Increasing this parameter will require significantly more memory | 47 | Decreasing this parameter will reduce memory requirements |
26 | on a per controller instance. Increasing the parameter is not | 48 | on a per controller instance. |
27 | necessary (or recommended) unless the user will be running | ||
28 | large I/O's via the raw interface. | ||
29 | 49 | ||
30 | config FUSION_CTL | 50 | config FUSION_CTL |
31 | tristate "Fusion MPT misc device (ioctl) driver" | 51 | tristate "Fusion MPT misc device (ioctl) driver" |
32 | depends on FUSION | 52 | depends on FUSION_SPI || FUSION_FC |
33 | ---help--- | 53 | ---help--- |
34 | The Fusion MPT misc device driver provides specialized control | 54 | The Fusion MPT misc device driver provides specialized control |
35 | of MPT adapters via system ioctl calls. Use of ioctl calls to | 55 | of MPT adapters via system ioctl calls. Use of ioctl calls to |
@@ -48,7 +68,7 @@ config FUSION_CTL | |||
48 | 68 | ||
49 | config FUSION_LAN | 69 | config FUSION_LAN |
50 | tristate "Fusion MPT LAN driver" | 70 | tristate "Fusion MPT LAN driver" |
51 | depends on FUSION && NET_FC | 71 | depends on FUSION_FC && NET_FC |
52 | ---help--- | 72 | ---help--- |
53 | This module supports LAN IP traffic over Fibre Channel port(s) | 73 | This module supports LAN IP traffic over Fibre Channel port(s) |
54 | on Fusion MPT compatible hardware (LSIFC9xx chips). | 74 | on Fusion MPT compatible hardware (LSIFC9xx chips). |
diff --git a/drivers/message/fusion/Makefile b/drivers/message/fusion/Makefile index f6fdcaaefc89..1d2f9db813c1 100644 --- a/drivers/message/fusion/Makefile +++ b/drivers/message/fusion/Makefile | |||
@@ -1,52 +1,38 @@ | |||
1 | # | ||
2 | # Makefile for the LSI Logic Fusion MPT (Message Passing Technology) drivers. | ||
3 | # | ||
4 | # Note! If you want to turn on various debug defines for an extended period of | ||
5 | # time but don't want them lingering around in the Makefile when you pass it on | ||
6 | # to someone else, use the MPT_CFLAGS env variable (thanks Steve). -nromer | ||
7 | |||
8 | #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-{ LSI_LOGIC | ||
9 | |||
10 | # Architecture-specific... | ||
11 | # # intel | ||
12 | #EXTRA_CFLAGS += -g | ||
13 | # # sparc64 | ||
14 | #EXTRA_CFLAGS += -gstabs+ | ||
15 | |||
16 | EXTRA_CFLAGS += ${MPT_CFLAGS} | ||
17 | |||
18 | # Fusion MPT drivers; recognized debug defines... | 1 | # Fusion MPT drivers; recognized debug defines... |
19 | # MPT general: | 2 | # MPT general: |
20 | #EXTRA_CFLAGS += -DMPT_DEBUG_SCSI | ||
21 | #EXTRA_CFLAGS += -DMPT_DEBUG | 3 | #EXTRA_CFLAGS += -DMPT_DEBUG |
22 | #EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME | 4 | #EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME |
23 | #EXTRA_CFLAGS += -DMPT_DEBUG_SG | 5 | #EXTRA_CFLAGS += -DMPT_DEBUG_SG |
6 | #EXTRA_CFLAGS += -DMPT_DEBUG_EVENTS | ||
7 | #EXTRA_CFLAGS += -DMPT_DEBUG_INIT | ||
8 | #EXTRA_CFLAGS += -DMPT_DEBUG_EXIT | ||
9 | #EXTRA_CFLAGS += -DMPT_DEBUG_FAIL | ||
10 | |||
24 | 11 | ||
25 | # | 12 | # |
26 | # driver/module specifics... | 13 | # driver/module specifics... |
27 | # | 14 | # |
28 | # For mptbase: | 15 | # For mptbase: |
29 | #CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE | 16 | #CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE |
17 | #CFLAGS_mptbase.o += -DMPT_DEBUG_CONFIG | ||
18 | #CFLAGS_mptbase.o += -DMPT_DEBUG_DL | ||
30 | #CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ | 19 | #CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ |
20 | #CFLAGS_mptbase.o += -DMPT_DEBUG_RESET | ||
31 | # | 21 | # |
32 | # For mptscsih: | 22 | # For mptscsih: |
33 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_SCANDV | 23 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_DV |
34 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_RESET | 24 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_NEGO |
35 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_NEH | 25 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_TM |
26 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_SCSI | ||
27 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_REPLY | ||
36 | # | 28 | # |
37 | # For mptctl: | 29 | # For mptctl: |
38 | #CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL | 30 | #CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL |
39 | # | 31 | # |
40 | # For mptlan: | ||
41 | #CFLAGS_mptlan.o += -DMPT_LAN_IO_DEBUG | ||
42 | # | ||
43 | # For isense: | ||
44 | |||
45 | # EXP... | ||
46 | ##mptscsih-objs := scsihost.o scsiherr.o | ||
47 | 32 | ||
48 | #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC | 33 | #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC |
49 | 34 | ||
50 | obj-$(CONFIG_FUSION) += mptbase.o mptscsih.o | 35 | obj-$(CONFIG_FUSION_SPI) += mptbase.o mptscsih.o mptspi.o |
36 | obj-$(CONFIG_FUSION_FC) += mptbase.o mptscsih.o mptfc.o | ||
51 | obj-$(CONFIG_FUSION_CTL) += mptctl.o | 37 | obj-$(CONFIG_FUSION_CTL) += mptctl.o |
52 | obj-$(CONFIG_FUSION_LAN) += mptlan.o | 38 | obj-$(CONFIG_FUSION_LAN) += mptlan.o |
diff --git a/drivers/message/fusion/lsi/mpi.h b/drivers/message/fusion/lsi/mpi.h index 9dbb061265fe..9f98334e5076 100644 --- a/drivers/message/fusion/lsi/mpi.h +++ b/drivers/message/fusion/lsi/mpi.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2000-2003 LSI Logic Corporation. | 2 | * Copyright (c) 2000-2005 LSI Logic Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi.h | 5 | * Name: mpi.h |
6 | * Title: MPI Message independent structures and definitions | 6 | * Title: MPI Message independent structures and definitions |
7 | * Creation Date: July 27, 2000 | 7 | * Creation Date: July 27, 2000 |
8 | * | 8 | * |
9 | * mpi.h Version: 01.05.xx | 9 | * mpi.h Version: 01.05.07 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -52,6 +52,25 @@ | |||
52 | * obsoleted define MPI_IOCSTATUS_TARGET_INVALID_IOCINDEX. | 52 | * obsoleted define MPI_IOCSTATUS_TARGET_INVALID_IOCINDEX. |
53 | * 04-01-03 01.02.09 New IOCStatus code: MPI_IOCSTATUS_FC_EXCHANGE_CANCELED | 53 | * 04-01-03 01.02.09 New IOCStatus code: MPI_IOCSTATUS_FC_EXCHANGE_CANCELED |
54 | * 06-26-03 01.02.10 Bumped MPI_HEADER_VERSION_UNIT value. | 54 | * 06-26-03 01.02.10 Bumped MPI_HEADER_VERSION_UNIT value. |
55 | * 01-16-04 01.02.11 Added define for MPI_IOCLOGINFO_TYPE_SHIFT. | ||
56 | * 04-29-04 01.02.12 Added function codes for MPI_FUNCTION_DIAG_BUFFER_POST | ||
57 | * and MPI_FUNCTION_DIAG_RELEASE. | ||
58 | * Added MPI_IOCSTATUS_DIAGNOSTIC_RELEASED define. | ||
59 | * Bumped MPI_HEADER_VERSION_UNIT value. | ||
60 | * 05-11-04 01.03.01 Bumped MPI_VERSION_MINOR for MPI v1.3. | ||
61 | * Added codes for Inband. | ||
62 | * 08-19-04 01.05.01 Added defines for Host Buffer Access Control doorbell. | ||
63 | * Added define for offset of High Priority Request Queue. | ||
64 | * Added new function codes and new IOCStatus codes. | ||
65 | * Added a IOCLogInfo type of SAS. | ||
66 | * 12-07-04 01.05.02 Bumped MPI_HEADER_VERSION_UNIT. | ||
67 | * 12-09-04 01.05.03 Bumped MPI_HEADER_VERSION_UNIT. | ||
68 | * 01-15-05 01.05.04 Bumped MPI_HEADER_VERSION_UNIT. | ||
69 | * 02-09-05 01.05.05 Bumped MPI_HEADER_VERSION_UNIT. | ||
70 | * 02-22-05 01.05.06 Bumped MPI_HEADER_VERSION_UNIT. | ||
71 | * 03-11-05 01.05.07 Removed function codes for SCSI IO 32 and | ||
72 | * TargetAssistExtended requests. | ||
73 | * Removed EEDP IOCStatus codes. | ||
55 | * -------------------------------------------------------------------------- | 74 | * -------------------------------------------------------------------------- |
56 | */ | 75 | */ |
57 | 76 | ||
@@ -82,7 +101,7 @@ | |||
82 | /* Note: The major versions of 0xe0 through 0xff are reserved */ | 101 | /* Note: The major versions of 0xe0 through 0xff are reserved */ |
83 | 102 | ||
84 | /* versioning for this MPI header set */ | 103 | /* versioning for this MPI header set */ |
85 | #define MPI_HEADER_VERSION_UNIT (0x00) | 104 | #define MPI_HEADER_VERSION_UNIT (0x09) |
86 | #define MPI_HEADER_VERSION_DEV (0x00) | 105 | #define MPI_HEADER_VERSION_DEV (0x00) |
87 | #define MPI_HEADER_VERSION_UNIT_MASK (0xFF00) | 106 | #define MPI_HEADER_VERSION_UNIT_MASK (0xFF00) |
88 | #define MPI_HEADER_VERSION_UNIT_SHIFT (8) | 107 | #define MPI_HEADER_VERSION_UNIT_SHIFT (8) |
@@ -122,7 +141,11 @@ | |||
122 | * | 141 | * |
123 | *****************************************************************************/ | 142 | *****************************************************************************/ |
124 | 143 | ||
125 | /* S y s t e m D o o r b e l l */ | 144 | /* |
145 | * Defines for working with the System Doorbell register. | ||
146 | * Values for doorbell function codes are included in the section that defines | ||
147 | * all the function codes (further on in this file). | ||
148 | */ | ||
126 | #define MPI_DOORBELL_OFFSET (0x00000000) | 149 | #define MPI_DOORBELL_OFFSET (0x00000000) |
127 | #define MPI_DOORBELL_ACTIVE (0x08000000) /* DoorbellUsed */ | 150 | #define MPI_DOORBELL_ACTIVE (0x08000000) /* DoorbellUsed */ |
128 | #define MPI_DOORBELL_USED (MPI_DOORBELL_ACTIVE) | 151 | #define MPI_DOORBELL_USED (MPI_DOORBELL_ACTIVE) |
@@ -134,6 +157,13 @@ | |||
134 | #define MPI_DOORBELL_ADD_DWORDS_MASK (0x00FF0000) | 157 | #define MPI_DOORBELL_ADD_DWORDS_MASK (0x00FF0000) |
135 | #define MPI_DOORBELL_ADD_DWORDS_SHIFT (16) | 158 | #define MPI_DOORBELL_ADD_DWORDS_SHIFT (16) |
136 | #define MPI_DOORBELL_DATA_MASK (0x0000FFFF) | 159 | #define MPI_DOORBELL_DATA_MASK (0x0000FFFF) |
160 | #define MPI_DOORBELL_FUNCTION_SPECIFIC_MASK (0x0000FFFF) | ||
161 | |||
162 | /* values for Host Buffer Access Control doorbell function */ | ||
163 | #define MPI_DB_HPBAC_VALUE_MASK (0x0000F000) | ||
164 | #define MPI_DB_HPBAC_ENABLE_ACCESS (0x01) | ||
165 | #define MPI_DB_HPBAC_DISABLE_ACCESS (0x02) | ||
166 | #define MPI_DB_HPBAC_FREE_BUFFER (0x03) | ||
137 | 167 | ||
138 | 168 | ||
139 | #define MPI_WRITE_SEQUENCE_OFFSET (0x00000004) | 169 | #define MPI_WRITE_SEQUENCE_OFFSET (0x00000004) |
@@ -257,16 +287,18 @@ | |||
257 | 287 | ||
258 | #define MPI_FUNCTION_SMP_PASSTHROUGH (0x1A) | 288 | #define MPI_FUNCTION_SMP_PASSTHROUGH (0x1A) |
259 | #define MPI_FUNCTION_SAS_IO_UNIT_CONTROL (0x1B) | 289 | #define MPI_FUNCTION_SAS_IO_UNIT_CONTROL (0x1B) |
290 | #define MPI_FUNCTION_SATA_PASSTHROUGH (0x1C) | ||
260 | 291 | ||
261 | #define MPI_DIAG_BUFFER_POST (0x1D) | 292 | #define MPI_FUNCTION_DIAG_BUFFER_POST (0x1D) |
262 | #define MPI_DIAG_RELEASE (0x1E) | 293 | #define MPI_FUNCTION_DIAG_RELEASE (0x1E) |
263 | |||
264 | #define MPI_FUNCTION_SCSI_IO_32 (0x1F) | ||
265 | 294 | ||
266 | #define MPI_FUNCTION_LAN_SEND (0x20) | 295 | #define MPI_FUNCTION_LAN_SEND (0x20) |
267 | #define MPI_FUNCTION_LAN_RECEIVE (0x21) | 296 | #define MPI_FUNCTION_LAN_RECEIVE (0x21) |
268 | #define MPI_FUNCTION_LAN_RESET (0x22) | 297 | #define MPI_FUNCTION_LAN_RESET (0x22) |
269 | 298 | ||
299 | #define MPI_FUNCTION_TARGET_CMD_BUF_BASE_POST (0x24) | ||
300 | #define MPI_FUNCTION_TARGET_CMD_BUF_LIST_POST (0x25) | ||
301 | |||
270 | #define MPI_FUNCTION_INBAND_BUFFER_POST (0x28) | 302 | #define MPI_FUNCTION_INBAND_BUFFER_POST (0x28) |
271 | #define MPI_FUNCTION_INBAND_SEND (0x29) | 303 | #define MPI_FUNCTION_INBAND_SEND (0x29) |
272 | #define MPI_FUNCTION_INBAND_RSP (0x2A) | 304 | #define MPI_FUNCTION_INBAND_RSP (0x2A) |
@@ -276,6 +308,7 @@ | |||
276 | #define MPI_FUNCTION_IO_UNIT_RESET (0x41) | 308 | #define MPI_FUNCTION_IO_UNIT_RESET (0x41) |
277 | #define MPI_FUNCTION_HANDSHAKE (0x42) | 309 | #define MPI_FUNCTION_HANDSHAKE (0x42) |
278 | #define MPI_FUNCTION_REPLY_FRAME_REMOVAL (0x43) | 310 | #define MPI_FUNCTION_REPLY_FRAME_REMOVAL (0x43) |
311 | #define MPI_FUNCTION_HOST_PAGEBUF_ACCESS_CONTROL (0x44) | ||
279 | 312 | ||
280 | 313 | ||
281 | /* standard version format */ | 314 | /* standard version format */ |
@@ -328,8 +361,8 @@ typedef struct _SGE_SIMPLE_UNION | |||
328 | U32 Address32; | 361 | U32 Address32; |
329 | U64 Address64; | 362 | U64 Address64; |
330 | }u; | 363 | }u; |
331 | } SGESimpleUnion_t, MPI_POINTER pSGESimpleUnion_t, | 364 | } SGE_SIMPLE_UNION, MPI_POINTER PTR_SGE_SIMPLE_UNION, |
332 | SGE_SIMPLE_UNION, MPI_POINTER PTR_SGE_SIMPLE_UNION; | 365 | SGESimpleUnion_t, MPI_POINTER pSGESimpleUnion_t; |
333 | 366 | ||
334 | /****************************************************************************/ | 367 | /****************************************************************************/ |
335 | /* Chain element structures */ | 368 | /* Chain element structures */ |
@@ -648,27 +681,21 @@ typedef struct _MSG_DEFAULT_REPLY | |||
648 | #define MPI_IOCSTATUS_SCSI_EXT_TERMINATED (0x004C) | 681 | #define MPI_IOCSTATUS_SCSI_EXT_TERMINATED (0x004C) |
649 | 682 | ||
650 | /****************************************************************************/ | 683 | /****************************************************************************/ |
651 | /* For use by SCSI Initiator and SCSI Target end-to-end data protection */ | 684 | /* SCSI Target values */ |
652 | /****************************************************************************/ | ||
653 | |||
654 | #define MPI_IOCSTATUS_EEDP_CRC_ERROR (0x004D) | ||
655 | #define MPI_IOCSTATUS_EEDP_LBA_TAG_ERROR (0x004E) | ||
656 | #define MPI_IOCSTATUS_EEDP_APP_TAG_ERROR (0x004F) | ||
657 | |||
658 | |||
659 | /****************************************************************************/ | ||
660 | /* SCSI (SPI & FCP) target values */ | ||
661 | /****************************************************************************/ | 685 | /****************************************************************************/ |
662 | 686 | ||
663 | #define MPI_IOCSTATUS_TARGET_PRIORITY_IO (0x0060) | 687 | #define MPI_IOCSTATUS_TARGET_PRIORITY_IO (0x0060) |
664 | #define MPI_IOCSTATUS_TARGET_INVALID_PORT (0x0061) | 688 | #define MPI_IOCSTATUS_TARGET_INVALID_PORT (0x0061) |
665 | #define MPI_IOCSTATUS_TARGET_INVALID_IOCINDEX (0x0062) /* obsolete */ | 689 | #define MPI_IOCSTATUS_TARGET_INVALID_IOCINDEX (0x0062) /* obsolete name */ |
666 | #define MPI_IOCSTATUS_TARGET_INVALID_IO_INDEX (0x0062) | 690 | #define MPI_IOCSTATUS_TARGET_INVALID_IO_INDEX (0x0062) |
667 | #define MPI_IOCSTATUS_TARGET_ABORTED (0x0063) | 691 | #define MPI_IOCSTATUS_TARGET_ABORTED (0x0063) |
668 | #define MPI_IOCSTATUS_TARGET_NO_CONN_RETRYABLE (0x0064) | 692 | #define MPI_IOCSTATUS_TARGET_NO_CONN_RETRYABLE (0x0064) |
669 | #define MPI_IOCSTATUS_TARGET_NO_CONNECTION (0x0065) | 693 | #define MPI_IOCSTATUS_TARGET_NO_CONNECTION (0x0065) |
670 | #define MPI_IOCSTATUS_TARGET_XFER_COUNT_MISMATCH (0x006A) | 694 | #define MPI_IOCSTATUS_TARGET_XFER_COUNT_MISMATCH (0x006A) |
671 | #define MPI_IOCSTATUS_TARGET_STS_DATA_NOT_SENT (0x006B) | 695 | #define MPI_IOCSTATUS_TARGET_STS_DATA_NOT_SENT (0x006B) |
696 | #define MPI_IOCSTATUS_TARGET_DATA_OFFSET_ERROR (0x006D) | ||
697 | #define MPI_IOCSTATUS_TARGET_TOO_MUCH_WRITE_DATA (0x006E) | ||
698 | #define MPI_IOCSTATUS_TARGET_IU_TOO_SHORT (0x006F) | ||
672 | 699 | ||
673 | /****************************************************************************/ | 700 | /****************************************************************************/ |
674 | /* Additional FCP target values (obsolete) */ | 701 | /* Additional FCP target values (obsolete) */ |
@@ -707,6 +734,7 @@ typedef struct _MSG_DEFAULT_REPLY | |||
707 | /****************************************************************************/ | 734 | /****************************************************************************/ |
708 | 735 | ||
709 | #define MPI_IOCSTATUS_SAS_SMP_REQUEST_FAILED (0x0090) | 736 | #define MPI_IOCSTATUS_SAS_SMP_REQUEST_FAILED (0x0090) |
737 | #define MPI_IOCSTATUS_SAS_SMP_DATA_OVERRUN (0x0091) | ||
710 | 738 | ||
711 | /****************************************************************************/ | 739 | /****************************************************************************/ |
712 | /* Inband values */ | 740 | /* Inband values */ |
diff --git a/drivers/message/fusion/lsi/mpi_cnfg.h b/drivers/message/fusion/lsi/mpi_cnfg.h index a5680d864bf0..15b12b06799d 100644 --- a/drivers/message/fusion/lsi/mpi_cnfg.h +++ b/drivers/message/fusion/lsi/mpi_cnfg.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2000-2003 LSI Logic Corporation. | 2 | * Copyright (c) 2000-2005 LSI Logic Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi_cnfg.h | 5 | * Name: mpi_cnfg.h |
6 | * Title: MPI Config message, structures, and Pages | 6 | * Title: MPI Config message, structures, and Pages |
7 | * Creation Date: July 27, 2000 | 7 | * Creation Date: July 27, 2000 |
8 | * | 8 | * |
9 | * mpi_cnfg.h Version: 01.05.xx | 9 | * mpi_cnfg.h Version: 01.05.08 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -145,6 +145,93 @@ | |||
145 | * In CONFIG_PAGE_FC_DEVICE_0, replaced Reserved1 field | 145 | * In CONFIG_PAGE_FC_DEVICE_0, replaced Reserved1 field |
146 | * with ADISCHardALPA. | 146 | * with ADISCHardALPA. |
147 | * Added MPI_FC_DEVICE_PAGE0_PROT_FCP_RETRY define. | 147 | * Added MPI_FC_DEVICE_PAGE0_PROT_FCP_RETRY define. |
148 | * 01-16-04 01.02.13 Added InitiatorDeviceTimeout and InitiatorIoPendTimeout | ||
149 | * fields and related defines to CONFIG_PAGE_FC_PORT_1. | ||
150 | * Added define for | ||
151 | * MPI_FCPORTPAGE1_FLAGS_SOFT_ALPA_FALLBACK. | ||
152 | * Added new fields to the substructures of | ||
153 | * CONFIG_PAGE_FC_PORT_10. | ||
154 | * 04-29-04 01.02.14 Added define for IDP bit for CONFIG_PAGE_SCSI_PORT_0, | ||
155 | * CONFIG_PAGE_SCSI_DEVICE_0, and | ||
156 | * CONFIG_PAGE_SCSI_DEVICE_1. Also bumped Page Version for | ||
157 | * these pages. | ||
158 | * 05-11-04 01.03.01 Added structure for CONFIG_PAGE_INBAND_0. | ||
159 | * 08-19-04 01.05.01 Modified MSG_CONFIG request to support extended config | ||
160 | * pages. | ||
161 | * Added a new structure for extended config page header. | ||
162 | * Added new extended config pages types and structures for | ||
163 | * SAS IO Unit, SAS Expander, SAS Device, and SAS PHY. | ||
164 | * Replaced a reserved byte in CONFIG_PAGE_MANUFACTURING_4 | ||
165 | * to add a Flags field. | ||
166 | * Two new Manufacturing config pages (5 and 6). | ||
167 | * Two new bits defined for IO Unit Page 1 Flags field. | ||
168 | * Modified CONFIG_PAGE_IO_UNIT_2 to add three new fields | ||
169 | * to specify the BIOS boot device. | ||
170 | * Four new Flags bits defined for IO Unit Page 2. | ||
171 | * Added IO Unit Page 4. | ||
172 | * Added EEDP Flags settings to IOC Page 1. | ||
173 | * Added new BIOS Page 1 config page. | ||
174 | * 10-05-04 01.05.02 Added define for | ||
175 | * MPI_IOCPAGE1_INITIATOR_CONTEXT_REPLY_DISABLE. | ||
176 | * Added new Flags field to CONFIG_PAGE_MANUFACTURING_5 and | ||
177 | * associated defines. | ||
178 | * Added more defines for SAS IO Unit Page 0 | ||
179 | * DiscoveryStatus field. | ||
180 | * Added define for MPI_SAS_IOUNIT0_DS_SUBTRACTIVE_LINK | ||
181 | * and MPI_SAS_IOUNIT0_DS_TABLE_LINK. | ||
182 | * Added defines for Physical Mapping Modes to SAS IO Unit | ||
183 | * Page 2. | ||
184 | * Added define for | ||
185 | * MPI_SAS_DEVICE0_FLAGS_PORT_SELECTOR_ATTACH. | ||
186 | * 10-27-04 01.05.03 Added defines for new SAS PHY page addressing mode. | ||
187 | * Added defines for MaxTargetSpinUp to BIOS Page 1. | ||
188 | * Added 5 new ControlFlags defines for SAS IO Unit | ||
189 | * Page 1. | ||
190 | * Added MaxNumPhysicalMappedIDs field to SAS IO Unit | ||
191 | * Page 2. | ||
192 | * Added AccessStatus field to SAS Device Page 0 and added | ||
193 | * new Flags bits for supported SATA features. | ||
194 | * 12-07-04 01.05.04 Added config page structures for BIOS Page 2, RAID | ||
195 | * Volume Page 1, and RAID Physical Disk Page 1. | ||
196 | * Replaced IO Unit Page 1 BootTargetID,BootBus, and | ||
197 | * BootAdapterNum with reserved field. | ||
198 | * Added DataScrubRate and ResyncRate to RAID Volume | ||
199 | * Page 0. | ||
200 | * Added MPI_SAS_IOUNIT2_FLAGS_RESERVE_ID_0_FOR_BOOT | ||
201 | * define. | ||
202 | * 12-09-04 01.05.05 Added Target Mode Large CDB Enable to FC Port Page 1 | ||
203 | * Flags field. | ||
204 | * Added Auto Port Config flag define for SAS IOUNIT | ||
205 | * Page 1 ControlFlags. | ||
206 | * Added Disabled bad Phy define to Expander Page 1 | ||
207 | * Discovery Info field. | ||
208 | * Added SAS/SATA device support to SAS IOUnit Page 1 | ||
209 | * ControlFlags. | ||
210 | * Added Unsupported device to SAS Dev Page 0 Flags field | ||
211 | * Added disable use SATA Hash Address for SAS IOUNIT | ||
212 | * page 1 in ControlFields. | ||
213 | * 01-15-05 01.05.06 Added defaults for data scrub rate and resync rate to | ||
214 | * Manufacturing Page 4. | ||
215 | * Added new defines for BIOS Page 1 IOCSettings field. | ||
216 | * Added ExtDiskIdentifier field to RAID Physical Disk | ||
217 | * Page 0. | ||
218 | * Added new defines for SAS IO Unit Page 1 ControlFlags | ||
219 | * and to SAS Device Page 0 Flags to control SATA devices. | ||
220 | * Added defines and structures for the new Log Page 0, a | ||
221 | * new type of configuration page. | ||
222 | * 02-09-05 01.05.07 Added InactiveStatus field to RAID Volume Page 0. | ||
223 | * Added WWID field to RAID Volume Page 1. | ||
224 | * Added PhysicalPort field to SAS Expander pages 0 and 1. | ||
225 | * 03-11-05 01.05.08 Removed the EEDP flags from IOC Page 1. | ||
226 | * Added Enclosure/Slot boot device format to BIOS Page 2. | ||
227 | * New status value for RAID Volume Page 0 VolumeStatus | ||
228 | * (VolumeState subfield). | ||
229 | * New value for RAID Physical Page 0 InactiveStatus. | ||
230 | * Added Inactive Volume Member flag RAID Physical Disk | ||
231 | * Page 0 PhysDiskStatus field. | ||
232 | * New physical mapping mode in SAS IO Unit Page 2. | ||
233 | * Added CONFIG_PAGE_SAS_ENCLOSURE_0. | ||
234 | * Added Slot and Enclosure fields to SAS Device Page 0. | ||
148 | * -------------------------------------------------------------------------- | 235 | * -------------------------------------------------------------------------- |
149 | */ | 236 | */ |
150 | 237 | ||
@@ -164,7 +251,7 @@ typedef struct _CONFIG_PAGE_HEADER | |||
164 | U8 PageLength; /* 01h */ | 251 | U8 PageLength; /* 01h */ |
165 | U8 PageNumber; /* 02h */ | 252 | U8 PageNumber; /* 02h */ |
166 | U8 PageType; /* 03h */ | 253 | U8 PageType; /* 03h */ |
167 | } fCONFIG_PAGE_HEADER, MPI_POINTER PTR_CONFIG_PAGE_HEADER, | 254 | } CONFIG_PAGE_HEADER, MPI_POINTER PTR_CONFIG_PAGE_HEADER, |
168 | ConfigPageHeader_t, MPI_POINTER pConfigPageHeader_t; | 255 | ConfigPageHeader_t, MPI_POINTER pConfigPageHeader_t; |
169 | 256 | ||
170 | typedef union _CONFIG_PAGE_HEADER_UNION | 257 | typedef union _CONFIG_PAGE_HEADER_UNION |
@@ -174,7 +261,7 @@ typedef union _CONFIG_PAGE_HEADER_UNION | |||
174 | U16 Word16[2]; | 261 | U16 Word16[2]; |
175 | U32 Word32; | 262 | U32 Word32; |
176 | } ConfigPageHeaderUnion, MPI_POINTER pConfigPageHeaderUnion, | 263 | } ConfigPageHeaderUnion, MPI_POINTER pConfigPageHeaderUnion, |
177 | fCONFIG_PAGE_HEADER_UNION, MPI_POINTER PTR_CONFIG_PAGE_HEADER_UNION; | 264 | CONFIG_PAGE_HEADER_UNION, MPI_POINTER PTR_CONFIG_PAGE_HEADER_UNION; |
178 | 265 | ||
179 | typedef struct _CONFIG_EXTENDED_PAGE_HEADER | 266 | typedef struct _CONFIG_EXTENDED_PAGE_HEADER |
180 | { | 267 | { |
@@ -185,7 +272,7 @@ typedef struct _CONFIG_EXTENDED_PAGE_HEADER | |||
185 | U16 ExtPageLength; /* 04h */ | 272 | U16 ExtPageLength; /* 04h */ |
186 | U8 ExtPageType; /* 06h */ | 273 | U8 ExtPageType; /* 06h */ |
187 | U8 Reserved2; /* 07h */ | 274 | U8 Reserved2; /* 07h */ |
188 | } fCONFIG_EXTENDED_PAGE_HEADER, MPI_POINTER PTR_CONFIG_EXTENDED_PAGE_HEADER, | 275 | } CONFIG_EXTENDED_PAGE_HEADER, MPI_POINTER PTR_CONFIG_EXTENDED_PAGE_HEADER, |
189 | ConfigExtendedPageHeader_t, MPI_POINTER pConfigExtendedPageHeader_t; | 276 | ConfigExtendedPageHeader_t, MPI_POINTER pConfigExtendedPageHeader_t; |
190 | 277 | ||
191 | 278 | ||
@@ -224,6 +311,8 @@ typedef struct _CONFIG_EXTENDED_PAGE_HEADER | |||
224 | #define MPI_CONFIG_EXTPAGETYPE_SAS_EXPANDER (0x11) | 311 | #define MPI_CONFIG_EXTPAGETYPE_SAS_EXPANDER (0x11) |
225 | #define MPI_CONFIG_EXTPAGETYPE_SAS_DEVICE (0x12) | 312 | #define MPI_CONFIG_EXTPAGETYPE_SAS_DEVICE (0x12) |
226 | #define MPI_CONFIG_EXTPAGETYPE_SAS_PHY (0x13) | 313 | #define MPI_CONFIG_EXTPAGETYPE_SAS_PHY (0x13) |
314 | #define MPI_CONFIG_EXTPAGETYPE_LOG (0x14) | ||
315 | #define MPI_CONFIG_EXTPAGETYPE_ENCLOSURE (0x15) | ||
227 | 316 | ||
228 | 317 | ||
229 | /**************************************************************************** | 318 | /**************************************************************************** |
@@ -231,10 +320,19 @@ typedef struct _CONFIG_EXTENDED_PAGE_HEADER | |||
231 | ****************************************************************************/ | 320 | ****************************************************************************/ |
232 | #define MPI_SCSI_PORT_PGAD_PORT_MASK (0x000000FF) | 321 | #define MPI_SCSI_PORT_PGAD_PORT_MASK (0x000000FF) |
233 | 322 | ||
323 | #define MPI_SCSI_DEVICE_FORM_MASK (0xF0000000) | ||
324 | #define MPI_SCSI_DEVICE_FORM_BUS_TID (0x00000000) | ||
234 | #define MPI_SCSI_DEVICE_TARGET_ID_MASK (0x000000FF) | 325 | #define MPI_SCSI_DEVICE_TARGET_ID_MASK (0x000000FF) |
235 | #define MPI_SCSI_DEVICE_TARGET_ID_SHIFT (0) | 326 | #define MPI_SCSI_DEVICE_TARGET_ID_SHIFT (0) |
236 | #define MPI_SCSI_DEVICE_BUS_MASK (0x0000FF00) | 327 | #define MPI_SCSI_DEVICE_BUS_MASK (0x0000FF00) |
237 | #define MPI_SCSI_DEVICE_BUS_SHIFT (8) | 328 | #define MPI_SCSI_DEVICE_BUS_SHIFT (8) |
329 | #define MPI_SCSI_DEVICE_FORM_TARGET_MODE (0x10000000) | ||
330 | #define MPI_SCSI_DEVICE_TM_RESPOND_ID_MASK (0x000000FF) | ||
331 | #define MPI_SCSI_DEVICE_TM_RESPOND_ID_SHIFT (0) | ||
332 | #define MPI_SCSI_DEVICE_TM_BUS_MASK (0x0000FF00) | ||
333 | #define MPI_SCSI_DEVICE_TM_BUS_SHIFT (8) | ||
334 | #define MPI_SCSI_DEVICE_TM_INIT_ID_MASK (0x00FF0000) | ||
335 | #define MPI_SCSI_DEVICE_TM_INIT_ID_SHIFT (16) | ||
238 | 336 | ||
239 | #define MPI_FC_PORT_PGAD_PORT_MASK (0xF0000000) | 337 | #define MPI_FC_PORT_PGAD_PORT_MASK (0xF0000000) |
240 | #define MPI_FC_PORT_PGAD_PORT_SHIFT (28) | 338 | #define MPI_FC_PORT_PGAD_PORT_SHIFT (28) |
@@ -260,6 +358,20 @@ typedef struct _CONFIG_EXTENDED_PAGE_HEADER | |||
260 | #define MPI_PHYSDISK_PGAD_PHYSDISKNUM_MASK (0x000000FF) | 358 | #define MPI_PHYSDISK_PGAD_PHYSDISKNUM_MASK (0x000000FF) |
261 | #define MPI_PHYSDISK_PGAD_PHYSDISKNUM_SHIFT (0) | 359 | #define MPI_PHYSDISK_PGAD_PHYSDISKNUM_SHIFT (0) |
262 | 360 | ||
361 | #define MPI_SAS_EXPAND_PGAD_FORM_MASK (0xF0000000) | ||
362 | #define MPI_SAS_EXPAND_PGAD_FORM_SHIFT (28) | ||
363 | #define MPI_SAS_EXPAND_PGAD_FORM_GET_NEXT_HANDLE (0x00000000) | ||
364 | #define MPI_SAS_EXPAND_PGAD_FORM_HANDLE_PHY_NUM (0x00000001) | ||
365 | #define MPI_SAS_EXPAND_PGAD_FORM_HANDLE (0x00000002) | ||
366 | #define MPI_SAS_EXPAND_PGAD_GNH_MASK_HANDLE (0x0000FFFF) | ||
367 | #define MPI_SAS_EXPAND_PGAD_GNH_SHIFT_HANDLE (0) | ||
368 | #define MPI_SAS_EXPAND_PGAD_HPN_MASK_PHY (0x00FF0000) | ||
369 | #define MPI_SAS_EXPAND_PGAD_HPN_SHIFT_PHY (16) | ||
370 | #define MPI_SAS_EXPAND_PGAD_HPN_MASK_HANDLE (0x0000FFFF) | ||
371 | #define MPI_SAS_EXPAND_PGAD_HPN_SHIFT_HANDLE (0) | ||
372 | #define MPI_SAS_EXPAND_PGAD_H_MASK_HANDLE (0x0000FFFF) | ||
373 | #define MPI_SAS_EXPAND_PGAD_H_SHIFT_HANDLE (0) | ||
374 | |||
263 | #define MPI_SAS_DEVICE_PGAD_FORM_MASK (0xF0000000) | 375 | #define MPI_SAS_DEVICE_PGAD_FORM_MASK (0xF0000000) |
264 | #define MPI_SAS_DEVICE_PGAD_FORM_SHIFT (28) | 376 | #define MPI_SAS_DEVICE_PGAD_FORM_SHIFT (28) |
265 | #define MPI_SAS_DEVICE_PGAD_FORM_GET_NEXT_HANDLE (0x00000000) | 377 | #define MPI_SAS_DEVICE_PGAD_FORM_GET_NEXT_HANDLE (0x00000000) |
@@ -274,10 +386,24 @@ typedef struct _CONFIG_EXTENDED_PAGE_HEADER | |||
274 | #define MPI_SAS_DEVICE_PGAD_H_HANDLE_MASK (0x0000FFFF) | 386 | #define MPI_SAS_DEVICE_PGAD_H_HANDLE_MASK (0x0000FFFF) |
275 | #define MPI_SAS_DEVICE_PGAD_H_HANDLE_SHIFT (0) | 387 | #define MPI_SAS_DEVICE_PGAD_H_HANDLE_SHIFT (0) |
276 | 388 | ||
277 | #define MPI_SAS_PHY_PGAD_PHY_NUMBER_MASK (0x00FF0000) | 389 | #define MPI_SAS_PHY_PGAD_FORM_MASK (0xF0000000) |
278 | #define MPI_SAS_PHY_PGAD_PHY_NUMBER_SHIFT (16) | 390 | #define MPI_SAS_PHY_PGAD_FORM_SHIFT (28) |
279 | #define MPI_SAS_PHY_PGAD_DEVHANDLE_MASK (0x0000FFFF) | 391 | #define MPI_SAS_PHY_PGAD_FORM_PHY_NUMBER (0x0) |
280 | #define MPI_SAS_PHY_PGAD_DEVHANDLE_SHIFT (0) | 392 | #define MPI_SAS_PHY_PGAD_FORM_PHY_TBL_INDEX (0x1) |
393 | #define MPI_SAS_PHY_PGAD_PHY_NUMBER_MASK (0x000000FF) | ||
394 | #define MPI_SAS_PHY_PGAD_PHY_NUMBER_SHIFT (0) | ||
395 | #define MPI_SAS_PHY_PGAD_PHY_TBL_INDEX_MASK (0x0000FFFF) | ||
396 | #define MPI_SAS_PHY_PGAD_PHY_TBL_INDEX_SHIFT (0) | ||
397 | |||
398 | #define MPI_SAS_ENCLOS_PGAD_FORM_MASK (0xF0000000) | ||
399 | #define MPI_SAS_ENCLOS_PGAD_FORM_SHIFT (28) | ||
400 | #define MPI_SAS_ENCLOS_PGAD_FORM_GET_NEXT_HANDLE (0x00000000) | ||
401 | #define MPI_SAS_ENCLOS_PGAD_FORM_HANDLE (0x00000001) | ||
402 | #define MPI_SAS_ENCLOS_PGAD_GNH_HANDLE_MASK (0x0000FFFF) | ||
403 | #define MPI_SAS_ENCLOS_PGAD_GNH_HANDLE_SHIFT (0) | ||
404 | #define MPI_SAS_ENCLOS_PGAD_H_HANDLE_MASK (0x0000FFFF) | ||
405 | #define MPI_SAS_ENCLOS_PGAD_H_HANDLE_SHIFT (0) | ||
406 | |||
281 | 407 | ||
282 | 408 | ||
283 | /**************************************************************************** | 409 | /**************************************************************************** |
@@ -294,7 +420,7 @@ typedef struct _MSG_CONFIG | |||
294 | U8 MsgFlags; /* 07h */ | 420 | U8 MsgFlags; /* 07h */ |
295 | U32 MsgContext; /* 08h */ | 421 | U32 MsgContext; /* 08h */ |
296 | U8 Reserved2[8]; /* 0Ch */ | 422 | U8 Reserved2[8]; /* 0Ch */ |
297 | fCONFIG_PAGE_HEADER Header; /* 14h */ | 423 | CONFIG_PAGE_HEADER Header; /* 14h */ |
298 | U32 PageAddress; /* 18h */ | 424 | U32 PageAddress; /* 18h */ |
299 | SGE_IO_UNION PageBufferSGE; /* 1Ch */ | 425 | SGE_IO_UNION PageBufferSGE; /* 1Ch */ |
300 | } MSG_CONFIG, MPI_POINTER PTR_MSG_CONFIG, | 426 | } MSG_CONFIG, MPI_POINTER PTR_MSG_CONFIG, |
@@ -327,7 +453,7 @@ typedef struct _MSG_CONFIG_REPLY | |||
327 | U8 Reserved2[2]; /* 0Ch */ | 453 | U8 Reserved2[2]; /* 0Ch */ |
328 | U16 IOCStatus; /* 0Eh */ | 454 | U16 IOCStatus; /* 0Eh */ |
329 | U32 IOCLogInfo; /* 10h */ | 455 | U32 IOCLogInfo; /* 10h */ |
330 | fCONFIG_PAGE_HEADER Header; /* 14h */ | 456 | CONFIG_PAGE_HEADER Header; /* 14h */ |
331 | } MSG_CONFIG_REPLY, MPI_POINTER PTR_MSG_CONFIG_REPLY, | 457 | } MSG_CONFIG_REPLY, MPI_POINTER PTR_MSG_CONFIG_REPLY, |
332 | ConfigReply_t, MPI_POINTER pConfigReply_t; | 458 | ConfigReply_t, MPI_POINTER pConfigReply_t; |
333 | 459 | ||
@@ -349,6 +475,8 @@ typedef struct _MSG_CONFIG_REPLY | |||
349 | #define MPI_MANUFACTPAGE_DEVICEID_FC929 (0x0622) | 475 | #define MPI_MANUFACTPAGE_DEVICEID_FC929 (0x0622) |
350 | #define MPI_MANUFACTPAGE_DEVICEID_FC919X (0x0628) | 476 | #define MPI_MANUFACTPAGE_DEVICEID_FC919X (0x0628) |
351 | #define MPI_MANUFACTPAGE_DEVICEID_FC929X (0x0626) | 477 | #define MPI_MANUFACTPAGE_DEVICEID_FC929X (0x0626) |
478 | #define MPI_MANUFACTPAGE_DEVICEID_FC939X (0x0642) | ||
479 | #define MPI_MANUFACTPAGE_DEVICEID_FC949X (0x0640) | ||
352 | /* SCSI */ | 480 | /* SCSI */ |
353 | #define MPI_MANUFACTPAGE_DEVID_53C1030 (0x0030) | 481 | #define MPI_MANUFACTPAGE_DEVID_53C1030 (0x0030) |
354 | #define MPI_MANUFACTPAGE_DEVID_53C1030ZC (0x0031) | 482 | #define MPI_MANUFACTPAGE_DEVID_53C1030ZC (0x0031) |
@@ -358,18 +486,25 @@ typedef struct _MSG_CONFIG_REPLY | |||
358 | #define MPI_MANUFACTPAGE_DEVID_53C1035ZC (0x0041) | 486 | #define MPI_MANUFACTPAGE_DEVID_53C1035ZC (0x0041) |
359 | /* SAS */ | 487 | /* SAS */ |
360 | #define MPI_MANUFACTPAGE_DEVID_SAS1064 (0x0050) | 488 | #define MPI_MANUFACTPAGE_DEVID_SAS1064 (0x0050) |
489 | #define MPI_MANUFACTPAGE_DEVID_SAS1064A (0x005C) | ||
490 | #define MPI_MANUFACTPAGE_DEVID_SAS1064E (0x0056) | ||
491 | #define MPI_MANUFACTPAGE_DEVID_SAS1066 (0x005E) | ||
492 | #define MPI_MANUFACTPAGE_DEVID_SAS1066E (0x005A) | ||
493 | #define MPI_MANUFACTPAGE_DEVID_SAS1068 (0x0054) | ||
494 | #define MPI_MANUFACTPAGE_DEVID_SAS1068E (0x0058) | ||
495 | #define MPI_MANUFACTPAGE_DEVID_SAS1078 (0x0060) | ||
361 | 496 | ||
362 | 497 | ||
363 | typedef struct _CONFIG_PAGE_MANUFACTURING_0 | 498 | typedef struct _CONFIG_PAGE_MANUFACTURING_0 |
364 | { | 499 | { |
365 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 500 | CONFIG_PAGE_HEADER Header; /* 00h */ |
366 | U8 ChipName[16]; /* 04h */ | 501 | U8 ChipName[16]; /* 04h */ |
367 | U8 ChipRevision[8]; /* 14h */ | 502 | U8 ChipRevision[8]; /* 14h */ |
368 | U8 BoardName[16]; /* 1Ch */ | 503 | U8 BoardName[16]; /* 1Ch */ |
369 | U8 BoardAssembly[16]; /* 2Ch */ | 504 | U8 BoardAssembly[16]; /* 2Ch */ |
370 | U8 BoardTracerNumber[16]; /* 3Ch */ | 505 | U8 BoardTracerNumber[16]; /* 3Ch */ |
371 | 506 | ||
372 | } fCONFIG_PAGE_MANUFACTURING_0, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_0, | 507 | } CONFIG_PAGE_MANUFACTURING_0, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_0, |
373 | ManufacturingPage0_t, MPI_POINTER pManufacturingPage0_t; | 508 | ManufacturingPage0_t, MPI_POINTER pManufacturingPage0_t; |
374 | 509 | ||
375 | #define MPI_MANUFACTURING0_PAGEVERSION (0x00) | 510 | #define MPI_MANUFACTURING0_PAGEVERSION (0x00) |
@@ -377,9 +512,9 @@ typedef struct _CONFIG_PAGE_MANUFACTURING_0 | |||
377 | 512 | ||
378 | typedef struct _CONFIG_PAGE_MANUFACTURING_1 | 513 | typedef struct _CONFIG_PAGE_MANUFACTURING_1 |
379 | { | 514 | { |
380 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 515 | CONFIG_PAGE_HEADER Header; /* 00h */ |
381 | U8 VPD[256]; /* 04h */ | 516 | U8 VPD[256]; /* 04h */ |
382 | } fCONFIG_PAGE_MANUFACTURING_1, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_1, | 517 | } CONFIG_PAGE_MANUFACTURING_1, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_1, |
383 | ManufacturingPage1_t, MPI_POINTER pManufacturingPage1_t; | 518 | ManufacturingPage1_t, MPI_POINTER pManufacturingPage1_t; |
384 | 519 | ||
385 | #define MPI_MANUFACTURING1_PAGEVERSION (0x00) | 520 | #define MPI_MANUFACTURING1_PAGEVERSION (0x00) |
@@ -404,10 +539,10 @@ typedef struct _MPI_CHIP_REVISION_ID | |||
404 | 539 | ||
405 | typedef struct _CONFIG_PAGE_MANUFACTURING_2 | 540 | typedef struct _CONFIG_PAGE_MANUFACTURING_2 |
406 | { | 541 | { |
407 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 542 | CONFIG_PAGE_HEADER Header; /* 00h */ |
408 | MPI_CHIP_REVISION_ID ChipId; /* 04h */ | 543 | MPI_CHIP_REVISION_ID ChipId; /* 04h */ |
409 | U32 HwSettings[MPI_MAN_PAGE_2_HW_SETTINGS_WORDS];/* 08h */ | 544 | U32 HwSettings[MPI_MAN_PAGE_2_HW_SETTINGS_WORDS];/* 08h */ |
410 | } fCONFIG_PAGE_MANUFACTURING_2, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_2, | 545 | } CONFIG_PAGE_MANUFACTURING_2, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_2, |
411 | ManufacturingPage2_t, MPI_POINTER pManufacturingPage2_t; | 546 | ManufacturingPage2_t, MPI_POINTER pManufacturingPage2_t; |
412 | 547 | ||
413 | #define MPI_MANUFACTURING2_PAGEVERSION (0x00) | 548 | #define MPI_MANUFACTURING2_PAGEVERSION (0x00) |
@@ -423,10 +558,10 @@ typedef struct _CONFIG_PAGE_MANUFACTURING_2 | |||
423 | 558 | ||
424 | typedef struct _CONFIG_PAGE_MANUFACTURING_3 | 559 | typedef struct _CONFIG_PAGE_MANUFACTURING_3 |
425 | { | 560 | { |
426 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 561 | CONFIG_PAGE_HEADER Header; /* 00h */ |
427 | MPI_CHIP_REVISION_ID ChipId; /* 04h */ | 562 | MPI_CHIP_REVISION_ID ChipId; /* 04h */ |
428 | U32 Info[MPI_MAN_PAGE_3_INFO_WORDS];/* 08h */ | 563 | U32 Info[MPI_MAN_PAGE_3_INFO_WORDS];/* 08h */ |
429 | } fCONFIG_PAGE_MANUFACTURING_3, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_3, | 564 | } CONFIG_PAGE_MANUFACTURING_3, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_3, |
430 | ManufacturingPage3_t, MPI_POINTER pManufacturingPage3_t; | 565 | ManufacturingPage3_t, MPI_POINTER pManufacturingPage3_t; |
431 | 566 | ||
432 | #define MPI_MANUFACTURING3_PAGEVERSION (0x00) | 567 | #define MPI_MANUFACTURING3_PAGEVERSION (0x00) |
@@ -434,7 +569,7 @@ typedef struct _CONFIG_PAGE_MANUFACTURING_3 | |||
434 | 569 | ||
435 | typedef struct _CONFIG_PAGE_MANUFACTURING_4 | 570 | typedef struct _CONFIG_PAGE_MANUFACTURING_4 |
436 | { | 571 | { |
437 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 572 | CONFIG_PAGE_HEADER Header; /* 00h */ |
438 | U32 Reserved1; /* 04h */ | 573 | U32 Reserved1; /* 04h */ |
439 | U8 InfoOffset0; /* 08h */ | 574 | U8 InfoOffset0; /* 08h */ |
440 | U8 InfoSize0; /* 09h */ | 575 | U8 InfoSize0; /* 09h */ |
@@ -447,10 +582,23 @@ typedef struct _CONFIG_PAGE_MANUFACTURING_4 | |||
447 | U32 ISVolumeSettings; /* 48h */ | 582 | U32 ISVolumeSettings; /* 48h */ |
448 | U32 IMEVolumeSettings; /* 4Ch */ | 583 | U32 IMEVolumeSettings; /* 4Ch */ |
449 | U32 IMVolumeSettings; /* 50h */ | 584 | U32 IMVolumeSettings; /* 50h */ |
450 | } fCONFIG_PAGE_MANUFACTURING_4, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_4, | 585 | U32 Reserved3; /* 54h */ |
586 | U32 Reserved4; /* 58h */ | ||
587 | U8 ISDataScrubRate; /* 5Ch */ | ||
588 | U8 ISResyncRate; /* 5Dh */ | ||
589 | U16 Reserved5; /* 5Eh */ | ||
590 | U8 IMEDataScrubRate; /* 60h */ | ||
591 | U8 IMEResyncRate; /* 61h */ | ||
592 | U16 Reserved6; /* 62h */ | ||
593 | U8 IMDataScrubRate; /* 64h */ | ||
594 | U8 IMResyncRate; /* 65h */ | ||
595 | U16 Reserved7; /* 66h */ | ||
596 | U32 Reserved8; /* 68h */ | ||
597 | U32 Reserved9; /* 6Ch */ | ||
598 | } CONFIG_PAGE_MANUFACTURING_4, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_4, | ||
451 | ManufacturingPage4_t, MPI_POINTER pManufacturingPage4_t; | 599 | ManufacturingPage4_t, MPI_POINTER pManufacturingPage4_t; |
452 | 600 | ||
453 | #define MPI_MANUFACTURING4_PAGEVERSION (0x01) | 601 | #define MPI_MANUFACTURING4_PAGEVERSION (0x02) |
454 | 602 | ||
455 | /* defines for the Flags field */ | 603 | /* defines for the Flags field */ |
456 | #define MPI_MANPAGE4_IR_NO_MIX_SAS_SATA (0x01) | 604 | #define MPI_MANPAGE4_IR_NO_MIX_SAS_SATA (0x01) |
@@ -458,19 +606,25 @@ typedef struct _CONFIG_PAGE_MANUFACTURING_4 | |||
458 | 606 | ||
459 | typedef struct _CONFIG_PAGE_MANUFACTURING_5 | 607 | typedef struct _CONFIG_PAGE_MANUFACTURING_5 |
460 | { | 608 | { |
461 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 609 | CONFIG_PAGE_HEADER Header; /* 00h */ |
462 | U64 BaseWWID; /* 04h */ | 610 | U64 BaseWWID; /* 04h */ |
463 | } fCONFIG_PAGE_MANUFACTURING_5, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_5, | 611 | U8 Flags; /* 0Ch */ |
612 | U8 Reserved1; /* 0Dh */ | ||
613 | U16 Reserved2; /* 0Eh */ | ||
614 | } CONFIG_PAGE_MANUFACTURING_5, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_5, | ||
464 | ManufacturingPage5_t, MPI_POINTER pManufacturingPage5_t; | 615 | ManufacturingPage5_t, MPI_POINTER pManufacturingPage5_t; |
465 | 616 | ||
466 | #define MPI_MANUFACTURING5_PAGEVERSION (0x00) | 617 | #define MPI_MANUFACTURING5_PAGEVERSION (0x01) |
618 | |||
619 | /* defines for the Flags field */ | ||
620 | #define MPI_MANPAGE5_TWO_WWID_PER_PHY (0x01) | ||
467 | 621 | ||
468 | 622 | ||
469 | typedef struct _CONFIG_PAGE_MANUFACTURING_6 | 623 | typedef struct _CONFIG_PAGE_MANUFACTURING_6 |
470 | { | 624 | { |
471 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 625 | CONFIG_PAGE_HEADER Header; /* 00h */ |
472 | U32 ProductSpecificInfo;/* 04h */ | 626 | U32 ProductSpecificInfo;/* 04h */ |
473 | } fCONFIG_PAGE_MANUFACTURING_6, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_6, | 627 | } CONFIG_PAGE_MANUFACTURING_6, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_6, |
474 | ManufacturingPage6_t, MPI_POINTER pManufacturingPage6_t; | 628 | ManufacturingPage6_t, MPI_POINTER pManufacturingPage6_t; |
475 | 629 | ||
476 | #define MPI_MANUFACTURING6_PAGEVERSION (0x00) | 630 | #define MPI_MANUFACTURING6_PAGEVERSION (0x00) |
@@ -482,9 +636,9 @@ typedef struct _CONFIG_PAGE_MANUFACTURING_6 | |||
482 | 636 | ||
483 | typedef struct _CONFIG_PAGE_IO_UNIT_0 | 637 | typedef struct _CONFIG_PAGE_IO_UNIT_0 |
484 | { | 638 | { |
485 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 639 | CONFIG_PAGE_HEADER Header; /* 00h */ |
486 | U64 UniqueValue; /* 04h */ | 640 | U64 UniqueValue; /* 04h */ |
487 | } fCONFIG_PAGE_IO_UNIT_0, MPI_POINTER PTR_CONFIG_PAGE_IO_UNIT_0, | 641 | } CONFIG_PAGE_IO_UNIT_0, MPI_POINTER PTR_CONFIG_PAGE_IO_UNIT_0, |
488 | IOUnitPage0_t, MPI_POINTER pIOUnitPage0_t; | 642 | IOUnitPage0_t, MPI_POINTER pIOUnitPage0_t; |
489 | 643 | ||
490 | #define MPI_IOUNITPAGE0_PAGEVERSION (0x00) | 644 | #define MPI_IOUNITPAGE0_PAGEVERSION (0x00) |
@@ -492,9 +646,9 @@ typedef struct _CONFIG_PAGE_IO_UNIT_0 | |||
492 | 646 | ||
493 | typedef struct _CONFIG_PAGE_IO_UNIT_1 | 647 | typedef struct _CONFIG_PAGE_IO_UNIT_1 |
494 | { | 648 | { |
495 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 649 | CONFIG_PAGE_HEADER Header; /* 00h */ |
496 | U32 Flags; /* 04h */ | 650 | U32 Flags; /* 04h */ |
497 | } fCONFIG_PAGE_IO_UNIT_1, MPI_POINTER PTR_CONFIG_PAGE_IO_UNIT_1, | 651 | } CONFIG_PAGE_IO_UNIT_1, MPI_POINTER PTR_CONFIG_PAGE_IO_UNIT_1, |
498 | IOUnitPage1_t, MPI_POINTER pIOUnitPage1_t; | 652 | IOUnitPage1_t, MPI_POINTER pIOUnitPage1_t; |
499 | 653 | ||
500 | #define MPI_IOUNITPAGE1_PAGEVERSION (0x01) | 654 | #define MPI_IOUNITPAGE1_PAGEVERSION (0x01) |
@@ -524,14 +678,15 @@ typedef struct _MPI_ADAPTER_INFO | |||
524 | 678 | ||
525 | typedef struct _CONFIG_PAGE_IO_UNIT_2 | 679 | typedef struct _CONFIG_PAGE_IO_UNIT_2 |
526 | { | 680 | { |
527 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 681 | CONFIG_PAGE_HEADER Header; /* 00h */ |
528 | U32 Flags; /* 04h */ | 682 | U32 Flags; /* 04h */ |
529 | U32 BiosVersion; /* 08h */ | 683 | U32 BiosVersion; /* 08h */ |
530 | MPI_ADAPTER_INFO AdapterOrder[4]; /* 0Ch */ | 684 | MPI_ADAPTER_INFO AdapterOrder[4]; /* 0Ch */ |
531 | } fCONFIG_PAGE_IO_UNIT_2, MPI_POINTER PTR_CONFIG_PAGE_IO_UNIT_2, | 685 | U32 Reserved1; /* 1Ch */ |
686 | } CONFIG_PAGE_IO_UNIT_2, MPI_POINTER PTR_CONFIG_PAGE_IO_UNIT_2, | ||
532 | IOUnitPage2_t, MPI_POINTER pIOUnitPage2_t; | 687 | IOUnitPage2_t, MPI_POINTER pIOUnitPage2_t; |
533 | 688 | ||
534 | #define MPI_IOUNITPAGE2_PAGEVERSION (0x00) | 689 | #define MPI_IOUNITPAGE2_PAGEVERSION (0x02) |
535 | 690 | ||
536 | #define MPI_IOUNITPAGE2_FLAGS_PAUSE_ON_ERROR (0x00000002) | 691 | #define MPI_IOUNITPAGE2_FLAGS_PAUSE_ON_ERROR (0x00000002) |
537 | #define MPI_IOUNITPAGE2_FLAGS_VERBOSE_ENABLE (0x00000004) | 692 | #define MPI_IOUNITPAGE2_FLAGS_VERBOSE_ENABLE (0x00000004) |
@@ -554,12 +709,12 @@ typedef struct _CONFIG_PAGE_IO_UNIT_2 | |||
554 | 709 | ||
555 | typedef struct _CONFIG_PAGE_IO_UNIT_3 | 710 | typedef struct _CONFIG_PAGE_IO_UNIT_3 |
556 | { | 711 | { |
557 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 712 | CONFIG_PAGE_HEADER Header; /* 00h */ |
558 | U8 GPIOCount; /* 04h */ | 713 | U8 GPIOCount; /* 04h */ |
559 | U8 Reserved1; /* 05h */ | 714 | U8 Reserved1; /* 05h */ |
560 | U16 Reserved2; /* 06h */ | 715 | U16 Reserved2; /* 06h */ |
561 | U16 GPIOVal[MPI_IO_UNIT_PAGE_3_GPIO_VAL_MAX]; /* 08h */ | 716 | U16 GPIOVal[MPI_IO_UNIT_PAGE_3_GPIO_VAL_MAX]; /* 08h */ |
562 | } fCONFIG_PAGE_IO_UNIT_3, MPI_POINTER PTR_CONFIG_PAGE_IO_UNIT_3, | 717 | } CONFIG_PAGE_IO_UNIT_3, MPI_POINTER PTR_CONFIG_PAGE_IO_UNIT_3, |
563 | IOUnitPage3_t, MPI_POINTER pIOUnitPage3_t; | 718 | IOUnitPage3_t, MPI_POINTER pIOUnitPage3_t; |
564 | 719 | ||
565 | #define MPI_IOUNITPAGE3_PAGEVERSION (0x01) | 720 | #define MPI_IOUNITPAGE3_PAGEVERSION (0x01) |
@@ -570,13 +725,24 @@ typedef struct _CONFIG_PAGE_IO_UNIT_3 | |||
570 | #define MPI_IOUNITPAGE3_GPIO_SETTING_ON (0x01) | 725 | #define MPI_IOUNITPAGE3_GPIO_SETTING_ON (0x01) |
571 | 726 | ||
572 | 727 | ||
728 | typedef struct _CONFIG_PAGE_IO_UNIT_4 | ||
729 | { | ||
730 | CONFIG_PAGE_HEADER Header; /* 00h */ | ||
731 | U32 Reserved1; /* 04h */ | ||
732 | SGE_SIMPLE_UNION FWImageSGE; /* 08h */ | ||
733 | } CONFIG_PAGE_IO_UNIT_4, MPI_POINTER PTR_CONFIG_PAGE_IO_UNIT_4, | ||
734 | IOUnitPage4_t, MPI_POINTER pIOUnitPage4_t; | ||
735 | |||
736 | #define MPI_IOUNITPAGE4_PAGEVERSION (0x00) | ||
737 | |||
738 | |||
573 | /**************************************************************************** | 739 | /**************************************************************************** |
574 | * IOC Config Pages | 740 | * IOC Config Pages |
575 | ****************************************************************************/ | 741 | ****************************************************************************/ |
576 | 742 | ||
577 | typedef struct _CONFIG_PAGE_IOC_0 | 743 | typedef struct _CONFIG_PAGE_IOC_0 |
578 | { | 744 | { |
579 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 745 | CONFIG_PAGE_HEADER Header; /* 00h */ |
580 | U32 TotalNVStore; /* 04h */ | 746 | U32 TotalNVStore; /* 04h */ |
581 | U32 FreeNVStore; /* 08h */ | 747 | U32 FreeNVStore; /* 08h */ |
582 | U16 VendorID; /* 0Ch */ | 748 | U16 VendorID; /* 0Ch */ |
@@ -586,7 +752,7 @@ typedef struct _CONFIG_PAGE_IOC_0 | |||
586 | U32 ClassCode; /* 14h */ | 752 | U32 ClassCode; /* 14h */ |
587 | U16 SubsystemVendorID; /* 18h */ | 753 | U16 SubsystemVendorID; /* 18h */ |
588 | U16 SubsystemID; /* 1Ah */ | 754 | U16 SubsystemID; /* 1Ah */ |
589 | } fCONFIG_PAGE_IOC_0, MPI_POINTER PTR_CONFIG_PAGE_IOC_0, | 755 | } CONFIG_PAGE_IOC_0, MPI_POINTER PTR_CONFIG_PAGE_IOC_0, |
590 | IOCPage0_t, MPI_POINTER pIOCPage0_t; | 756 | IOCPage0_t, MPI_POINTER pIOCPage0_t; |
591 | 757 | ||
592 | #define MPI_IOCPAGE0_PAGEVERSION (0x01) | 758 | #define MPI_IOCPAGE0_PAGEVERSION (0x01) |
@@ -594,23 +760,19 @@ typedef struct _CONFIG_PAGE_IOC_0 | |||
594 | 760 | ||
595 | typedef struct _CONFIG_PAGE_IOC_1 | 761 | typedef struct _CONFIG_PAGE_IOC_1 |
596 | { | 762 | { |
597 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 763 | CONFIG_PAGE_HEADER Header; /* 00h */ |
598 | U32 Flags; /* 04h */ | 764 | U32 Flags; /* 04h */ |
599 | U32 CoalescingTimeout; /* 08h */ | 765 | U32 CoalescingTimeout; /* 08h */ |
600 | U8 CoalescingDepth; /* 0Ch */ | 766 | U8 CoalescingDepth; /* 0Ch */ |
601 | U8 PCISlotNum; /* 0Dh */ | 767 | U8 PCISlotNum; /* 0Dh */ |
602 | U8 Reserved[2]; /* 0Eh */ | 768 | U8 Reserved[2]; /* 0Eh */ |
603 | } fCONFIG_PAGE_IOC_1, MPI_POINTER PTR_CONFIG_PAGE_IOC_1, | 769 | } CONFIG_PAGE_IOC_1, MPI_POINTER PTR_CONFIG_PAGE_IOC_1, |
604 | IOCPage1_t, MPI_POINTER pIOCPage1_t; | 770 | IOCPage1_t, MPI_POINTER pIOCPage1_t; |
605 | 771 | ||
606 | #define MPI_IOCPAGE1_PAGEVERSION (0x01) | 772 | #define MPI_IOCPAGE1_PAGEVERSION (0x02) |
607 | 773 | ||
608 | /* defines for the Flags field */ | 774 | /* defines for the Flags field */ |
609 | #define MPI_IOCPAGE1_EEDP_HOST_SUPPORTS_DIF (0x08000000) | 775 | #define MPI_IOCPAGE1_INITIATOR_CONTEXT_REPLY_DISABLE (0x00000010) |
610 | #define MPI_IOCPAGE1_EEDP_MODE_MASK (0x07000000) | ||
611 | #define MPI_IOCPAGE1_EEDP_MODE_OFF (0x00000000) | ||
612 | #define MPI_IOCPAGE1_EEDP_MODE_T10 (0x01000000) | ||
613 | #define MPI_IOCPAGE1_EEDP_MODE_LSI_1 (0x02000000) | ||
614 | #define MPI_IOCPAGE1_REPLY_COALESCING (0x00000001) | 776 | #define MPI_IOCPAGE1_REPLY_COALESCING (0x00000001) |
615 | 777 | ||
616 | #define MPI_IOCPAGE1_PCISLOTNUM_UNKNOWN (0xFF) | 778 | #define MPI_IOCPAGE1_PCISLOTNUM_UNKNOWN (0xFF) |
@@ -625,7 +787,7 @@ typedef struct _CONFIG_PAGE_IOC_2_RAID_VOL | |||
625 | U8 VolumeType; /* 04h */ | 787 | U8 VolumeType; /* 04h */ |
626 | U8 Flags; /* 05h */ | 788 | U8 Flags; /* 05h */ |
627 | U16 Reserved3; /* 06h */ | 789 | U16 Reserved3; /* 06h */ |
628 | } fCONFIG_PAGE_IOC_2_RAID_VOL, MPI_POINTER PTR_CONFIG_PAGE_IOC_2_RAID_VOL, | 790 | } CONFIG_PAGE_IOC_2_RAID_VOL, MPI_POINTER PTR_CONFIG_PAGE_IOC_2_RAID_VOL, |
629 | ConfigPageIoc2RaidVol_t, MPI_POINTER pConfigPageIoc2RaidVol_t; | 791 | ConfigPageIoc2RaidVol_t, MPI_POINTER pConfigPageIoc2RaidVol_t; |
630 | 792 | ||
631 | /* IOC Page 2 Volume RAID Type values, also used in RAID Volume pages */ | 793 | /* IOC Page 2 Volume RAID Type values, also used in RAID Volume pages */ |
@@ -648,14 +810,14 @@ typedef struct _CONFIG_PAGE_IOC_2_RAID_VOL | |||
648 | 810 | ||
649 | typedef struct _CONFIG_PAGE_IOC_2 | 811 | typedef struct _CONFIG_PAGE_IOC_2 |
650 | { | 812 | { |
651 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 813 | CONFIG_PAGE_HEADER Header; /* 00h */ |
652 | U32 CapabilitiesFlags; /* 04h */ | 814 | U32 CapabilitiesFlags; /* 04h */ |
653 | U8 NumActiveVolumes; /* 08h */ | 815 | U8 NumActiveVolumes; /* 08h */ |
654 | U8 MaxVolumes; /* 09h */ | 816 | U8 MaxVolumes; /* 09h */ |
655 | U8 NumActivePhysDisks; /* 0Ah */ | 817 | U8 NumActivePhysDisks; /* 0Ah */ |
656 | U8 MaxPhysDisks; /* 0Bh */ | 818 | U8 MaxPhysDisks; /* 0Bh */ |
657 | fCONFIG_PAGE_IOC_2_RAID_VOL RaidVolume[MPI_IOC_PAGE_2_RAID_VOLUME_MAX];/* 0Ch */ | 819 | CONFIG_PAGE_IOC_2_RAID_VOL RaidVolume[MPI_IOC_PAGE_2_RAID_VOLUME_MAX];/* 0Ch */ |
658 | } fCONFIG_PAGE_IOC_2, MPI_POINTER PTR_CONFIG_PAGE_IOC_2, | 820 | } CONFIG_PAGE_IOC_2, MPI_POINTER PTR_CONFIG_PAGE_IOC_2, |
659 | IOCPage2_t, MPI_POINTER pIOCPage2_t; | 821 | IOCPage2_t, MPI_POINTER pIOCPage2_t; |
660 | 822 | ||
661 | #define MPI_IOCPAGE2_PAGEVERSION (0x02) | 823 | #define MPI_IOCPAGE2_PAGEVERSION (0x02) |
@@ -689,12 +851,12 @@ typedef struct _IOC_3_PHYS_DISK | |||
689 | 851 | ||
690 | typedef struct _CONFIG_PAGE_IOC_3 | 852 | typedef struct _CONFIG_PAGE_IOC_3 |
691 | { | 853 | { |
692 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 854 | CONFIG_PAGE_HEADER Header; /* 00h */ |
693 | U8 NumPhysDisks; /* 04h */ | 855 | U8 NumPhysDisks; /* 04h */ |
694 | U8 Reserved1; /* 05h */ | 856 | U8 Reserved1; /* 05h */ |
695 | U16 Reserved2; /* 06h */ | 857 | U16 Reserved2; /* 06h */ |
696 | IOC_3_PHYS_DISK PhysDisk[MPI_IOC_PAGE_3_PHYSDISK_MAX]; /* 08h */ | 858 | IOC_3_PHYS_DISK PhysDisk[MPI_IOC_PAGE_3_PHYSDISK_MAX]; /* 08h */ |
697 | } fCONFIG_PAGE_IOC_3, MPI_POINTER PTR_CONFIG_PAGE_IOC_3, | 859 | } CONFIG_PAGE_IOC_3, MPI_POINTER PTR_CONFIG_PAGE_IOC_3, |
698 | IOCPage3_t, MPI_POINTER pIOCPage3_t; | 860 | IOCPage3_t, MPI_POINTER pIOCPage3_t; |
699 | 861 | ||
700 | #define MPI_IOCPAGE3_PAGEVERSION (0x00) | 862 | #define MPI_IOCPAGE3_PAGEVERSION (0x00) |
@@ -718,12 +880,12 @@ typedef struct _IOC_4_SEP | |||
718 | 880 | ||
719 | typedef struct _CONFIG_PAGE_IOC_4 | 881 | typedef struct _CONFIG_PAGE_IOC_4 |
720 | { | 882 | { |
721 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 883 | CONFIG_PAGE_HEADER Header; /* 00h */ |
722 | U8 ActiveSEP; /* 04h */ | 884 | U8 ActiveSEP; /* 04h */ |
723 | U8 MaxSEP; /* 05h */ | 885 | U8 MaxSEP; /* 05h */ |
724 | U16 Reserved1; /* 06h */ | 886 | U16 Reserved1; /* 06h */ |
725 | IOC_4_SEP SEP[MPI_IOC_PAGE_4_SEP_MAX]; /* 08h */ | 887 | IOC_4_SEP SEP[MPI_IOC_PAGE_4_SEP_MAX]; /* 08h */ |
726 | } fCONFIG_PAGE_IOC_4, MPI_POINTER PTR_CONFIG_PAGE_IOC_4, | 888 | } CONFIG_PAGE_IOC_4, MPI_POINTER PTR_CONFIG_PAGE_IOC_4, |
727 | IOCPage4_t, MPI_POINTER pIOCPage4_t; | 889 | IOCPage4_t, MPI_POINTER pIOCPage4_t; |
728 | 890 | ||
729 | #define MPI_IOCPAGE4_PAGEVERSION (0x00) | 891 | #define MPI_IOCPAGE4_PAGEVERSION (0x00) |
@@ -751,25 +913,25 @@ typedef struct _IOC_5_HOT_SPARE | |||
751 | 913 | ||
752 | typedef struct _CONFIG_PAGE_IOC_5 | 914 | typedef struct _CONFIG_PAGE_IOC_5 |
753 | { | 915 | { |
754 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 916 | CONFIG_PAGE_HEADER Header; /* 00h */ |
755 | U32 Reserved1; /* 04h */ | 917 | U32 Reserved1; /* 04h */ |
756 | U8 NumHotSpares; /* 08h */ | 918 | U8 NumHotSpares; /* 08h */ |
757 | U8 Reserved2; /* 09h */ | 919 | U8 Reserved2; /* 09h */ |
758 | U16 Reserved3; /* 0Ah */ | 920 | U16 Reserved3; /* 0Ah */ |
759 | IOC_5_HOT_SPARE HotSpare[MPI_IOC_PAGE_5_HOT_SPARE_MAX]; /* 0Ch */ | 921 | IOC_5_HOT_SPARE HotSpare[MPI_IOC_PAGE_5_HOT_SPARE_MAX]; /* 0Ch */ |
760 | } fCONFIG_PAGE_IOC_5, MPI_POINTER PTR_CONFIG_PAGE_IOC_5, | 922 | } CONFIG_PAGE_IOC_5, MPI_POINTER PTR_CONFIG_PAGE_IOC_5, |
761 | IOCPage5_t, MPI_POINTER pIOCPage5_t; | 923 | IOCPage5_t, MPI_POINTER pIOCPage5_t; |
762 | 924 | ||
763 | #define MPI_IOCPAGE5_PAGEVERSION (0x00) | 925 | #define MPI_IOCPAGE5_PAGEVERSION (0x00) |
764 | 926 | ||
765 | 927 | ||
766 | /**************************************************************************** | 928 | /**************************************************************************** |
767 | * BIOS Port Config Pages | 929 | * BIOS Config Pages |
768 | ****************************************************************************/ | 930 | ****************************************************************************/ |
769 | 931 | ||
770 | typedef struct _CONFIG_PAGE_BIOS_1 | 932 | typedef struct _CONFIG_PAGE_BIOS_1 |
771 | { | 933 | { |
772 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 934 | CONFIG_PAGE_HEADER Header; /* 00h */ |
773 | U32 BiosOptions; /* 04h */ | 935 | U32 BiosOptions; /* 04h */ |
774 | U32 IOCSettings; /* 08h */ | 936 | U32 IOCSettings; /* 08h */ |
775 | U32 Reserved1; /* 0Ch */ | 937 | U32 Reserved1; /* 0Ch */ |
@@ -780,10 +942,10 @@ typedef struct _CONFIG_PAGE_BIOS_1 | |||
780 | U16 IOTimeoutSequential; /* 1Ah */ | 942 | U16 IOTimeoutSequential; /* 1Ah */ |
781 | U16 IOTimeoutOther; /* 1Ch */ | 943 | U16 IOTimeoutOther; /* 1Ch */ |
782 | U16 IOTimeoutBlockDevicesRM; /* 1Eh */ | 944 | U16 IOTimeoutBlockDevicesRM; /* 1Eh */ |
783 | } fCONFIG_PAGE_BIOS_1, MPI_POINTER PTR_CONFIG_PAGE_BIOS_1, | 945 | } CONFIG_PAGE_BIOS_1, MPI_POINTER PTR_CONFIG_PAGE_BIOS_1, |
784 | BIOSPage1_t, MPI_POINTER pBIOSPage1_t; | 946 | BIOSPage1_t, MPI_POINTER pBIOSPage1_t; |
785 | 947 | ||
786 | #define MPI_BIOSPAGE1_PAGEVERSION (0x00) | 948 | #define MPI_BIOSPAGE1_PAGEVERSION (0x01) |
787 | 949 | ||
788 | /* values for the BiosOptions field */ | 950 | /* values for the BiosOptions field */ |
789 | #define MPI_BIOSPAGE1_OPTIONS_SPI_ENABLE (0x00000400) | 951 | #define MPI_BIOSPAGE1_OPTIONS_SPI_ENABLE (0x00000400) |
@@ -792,6 +954,13 @@ typedef struct _CONFIG_PAGE_BIOS_1 | |||
792 | #define MPI_BIOSPAGE1_OPTIONS_DISABLE_BIOS (0x00000001) | 954 | #define MPI_BIOSPAGE1_OPTIONS_DISABLE_BIOS (0x00000001) |
793 | 955 | ||
794 | /* values for the IOCSettings field */ | 956 | /* values for the IOCSettings field */ |
957 | #define MPI_BIOSPAGE1_IOCSET_MASK_BOOT_PREFERENCE (0x00030000) | ||
958 | #define MPI_BIOSPAGE1_IOCSET_ENCLOSURE_SLOT_BOOT (0x00000000) | ||
959 | #define MPI_BIOSPAGE1_IOCSET_SAS_ADDRESS_BOOT (0x00010000) | ||
960 | |||
961 | #define MPI_BIOSPAGE1_IOCSET_MASK_MAX_TARGET_SPIN_UP (0x0000F000) | ||
962 | #define MPI_BIOSPAGE1_IOCSET_SHIFT_MAX_TARGET_SPIN_UP (12) | ||
963 | |||
795 | #define MPI_BIOSPAGE1_IOCSET_MASK_SPINUP_DELAY (0x00000F00) | 964 | #define MPI_BIOSPAGE1_IOCSET_MASK_SPINUP_DELAY (0x00000F00) |
796 | #define MPI_BIOSPAGE1_IOCSET_SHIFT_SPINUP_DELAY (8) | 965 | #define MPI_BIOSPAGE1_IOCSET_SHIFT_SPINUP_DELAY (8) |
797 | 966 | ||
@@ -814,6 +983,191 @@ typedef struct _CONFIG_PAGE_BIOS_1 | |||
814 | #define MPI_BIOSPAGE1_DEVSET_DISABLE_NON_RM_LUN (0x00000002) | 983 | #define MPI_BIOSPAGE1_DEVSET_DISABLE_NON_RM_LUN (0x00000002) |
815 | #define MPI_BIOSPAGE1_DEVSET_DISABLE_OTHER_LUN (0x00000001) | 984 | #define MPI_BIOSPAGE1_DEVSET_DISABLE_OTHER_LUN (0x00000001) |
816 | 985 | ||
986 | typedef struct _MPI_BOOT_DEVICE_ADAPTER_ORDER | ||
987 | { | ||
988 | U32 Reserved1; /* 00h */ | ||
989 | U32 Reserved2; /* 04h */ | ||
990 | U32 Reserved3; /* 08h */ | ||
991 | U32 Reserved4; /* 0Ch */ | ||
992 | U32 Reserved5; /* 10h */ | ||
993 | U32 Reserved6; /* 14h */ | ||
994 | U32 Reserved7; /* 18h */ | ||
995 | U32 Reserved8; /* 1Ch */ | ||
996 | U32 Reserved9; /* 20h */ | ||
997 | U32 Reserved10; /* 24h */ | ||
998 | U32 Reserved11; /* 28h */ | ||
999 | U32 Reserved12; /* 2Ch */ | ||
1000 | U32 Reserved13; /* 30h */ | ||
1001 | U32 Reserved14; /* 34h */ | ||
1002 | U32 Reserved15; /* 38h */ | ||
1003 | U32 Reserved16; /* 3Ch */ | ||
1004 | U32 Reserved17; /* 40h */ | ||
1005 | } MPI_BOOT_DEVICE_ADAPTER_ORDER, MPI_POINTER PTR_MPI_BOOT_DEVICE_ADAPTER_ORDER; | ||
1006 | |||
1007 | typedef struct _MPI_BOOT_DEVICE_ADAPTER_NUMBER | ||
1008 | { | ||
1009 | U8 TargetID; /* 00h */ | ||
1010 | U8 Bus; /* 01h */ | ||
1011 | U8 AdapterNumber; /* 02h */ | ||
1012 | U8 Reserved1; /* 03h */ | ||
1013 | U32 Reserved2; /* 04h */ | ||
1014 | U32 Reserved3; /* 08h */ | ||
1015 | U32 Reserved4; /* 0Ch */ | ||
1016 | U8 LUN[8]; /* 10h */ | ||
1017 | U32 Reserved5; /* 18h */ | ||
1018 | U32 Reserved6; /* 1Ch */ | ||
1019 | U32 Reserved7; /* 20h */ | ||
1020 | U32 Reserved8; /* 24h */ | ||
1021 | U32 Reserved9; /* 28h */ | ||
1022 | U32 Reserved10; /* 2Ch */ | ||
1023 | U32 Reserved11; /* 30h */ | ||
1024 | U32 Reserved12; /* 34h */ | ||
1025 | U32 Reserved13; /* 38h */ | ||
1026 | U32 Reserved14; /* 3Ch */ | ||
1027 | U32 Reserved15; /* 40h */ | ||
1028 | } MPI_BOOT_DEVICE_ADAPTER_NUMBER, MPI_POINTER PTR_MPI_BOOT_DEVICE_ADAPTER_NUMBER; | ||
1029 | |||
1030 | typedef struct _MPI_BOOT_DEVICE_PCI_ADDRESS | ||
1031 | { | ||
1032 | U8 TargetID; /* 00h */ | ||
1033 | U8 Bus; /* 01h */ | ||
1034 | U16 PCIAddress; /* 02h */ | ||
1035 | U32 Reserved1; /* 04h */ | ||
1036 | U32 Reserved2; /* 08h */ | ||
1037 | U32 Reserved3; /* 0Ch */ | ||
1038 | U8 LUN[8]; /* 10h */ | ||
1039 | U32 Reserved4; /* 18h */ | ||
1040 | U32 Reserved5; /* 1Ch */ | ||
1041 | U32 Reserved6; /* 20h */ | ||
1042 | U32 Reserved7; /* 24h */ | ||
1043 | U32 Reserved8; /* 28h */ | ||
1044 | U32 Reserved9; /* 2Ch */ | ||
1045 | U32 Reserved10; /* 30h */ | ||
1046 | U32 Reserved11; /* 34h */ | ||
1047 | U32 Reserved12; /* 38h */ | ||
1048 | U32 Reserved13; /* 3Ch */ | ||
1049 | U32 Reserved14; /* 40h */ | ||
1050 | } MPI_BOOT_DEVICE_PCI_ADDRESS, MPI_POINTER PTR_MPI_BOOT_DEVICE_PCI_ADDRESS; | ||
1051 | |||
1052 | typedef struct _MPI_BOOT_DEVICE_SLOT_NUMBER | ||
1053 | { | ||
1054 | U8 TargetID; /* 00h */ | ||
1055 | U8 Bus; /* 01h */ | ||
1056 | U8 PCISlotNumber; /* 02h */ | ||
1057 | U8 Reserved1; /* 03h */ | ||
1058 | U32 Reserved2; /* 04h */ | ||
1059 | U32 Reserved3; /* 08h */ | ||
1060 | U32 Reserved4; /* 0Ch */ | ||
1061 | U8 LUN[8]; /* 10h */ | ||
1062 | U32 Reserved5; /* 18h */ | ||
1063 | U32 Reserved6; /* 1Ch */ | ||
1064 | U32 Reserved7; /* 20h */ | ||
1065 | U32 Reserved8; /* 24h */ | ||
1066 | U32 Reserved9; /* 28h */ | ||
1067 | U32 Reserved10; /* 2Ch */ | ||
1068 | U32 Reserved11; /* 30h */ | ||
1069 | U32 Reserved12; /* 34h */ | ||
1070 | U32 Reserved13; /* 38h */ | ||
1071 | U32 Reserved14; /* 3Ch */ | ||
1072 | U32 Reserved15; /* 40h */ | ||
1073 | } MPI_BOOT_DEVICE_PCI_SLOT_NUMBER, MPI_POINTER PTR_MPI_BOOT_DEVICE_PCI_SLOT_NUMBER; | ||
1074 | |||
1075 | typedef struct _MPI_BOOT_DEVICE_FC_WWN | ||
1076 | { | ||
1077 | U64 WWPN; /* 00h */ | ||
1078 | U32 Reserved1; /* 08h */ | ||
1079 | U32 Reserved2; /* 0Ch */ | ||
1080 | U8 LUN[8]; /* 10h */ | ||
1081 | U32 Reserved3; /* 18h */ | ||
1082 | U32 Reserved4; /* 1Ch */ | ||
1083 | U32 Reserved5; /* 20h */ | ||
1084 | U32 Reserved6; /* 24h */ | ||
1085 | U32 Reserved7; /* 28h */ | ||
1086 | U32 Reserved8; /* 2Ch */ | ||
1087 | U32 Reserved9; /* 30h */ | ||
1088 | U32 Reserved10; /* 34h */ | ||
1089 | U32 Reserved11; /* 38h */ | ||
1090 | U32 Reserved12; /* 3Ch */ | ||
1091 | U32 Reserved13; /* 40h */ | ||
1092 | } MPI_BOOT_DEVICE_FC_WWN, MPI_POINTER PTR_MPI_BOOT_DEVICE_FC_WWN; | ||
1093 | |||
1094 | typedef struct _MPI_BOOT_DEVICE_SAS_WWN | ||
1095 | { | ||
1096 | U64 SASAddress; /* 00h */ | ||
1097 | U32 Reserved1; /* 08h */ | ||
1098 | U32 Reserved2; /* 0Ch */ | ||
1099 | U8 LUN[8]; /* 10h */ | ||
1100 | U32 Reserved3; /* 18h */ | ||
1101 | U32 Reserved4; /* 1Ch */ | ||
1102 | U32 Reserved5; /* 20h */ | ||
1103 | U32 Reserved6; /* 24h */ | ||
1104 | U32 Reserved7; /* 28h */ | ||
1105 | U32 Reserved8; /* 2Ch */ | ||
1106 | U32 Reserved9; /* 30h */ | ||
1107 | U32 Reserved10; /* 34h */ | ||
1108 | U32 Reserved11; /* 38h */ | ||
1109 | U32 Reserved12; /* 3Ch */ | ||
1110 | U32 Reserved13; /* 40h */ | ||
1111 | } MPI_BOOT_DEVICE_SAS_WWN, MPI_POINTER PTR_MPI_BOOT_DEVICE_SAS_WWN; | ||
1112 | |||
1113 | typedef struct _MPI_BOOT_DEVICE_ENCLOSURE_SLOT | ||
1114 | { | ||
1115 | U64 EnclosureLogicalID; /* 00h */ | ||
1116 | U32 Reserved1; /* 08h */ | ||
1117 | U32 Reserved2; /* 0Ch */ | ||
1118 | U8 LUN[8]; /* 10h */ | ||
1119 | U16 SlotNumber; /* 18h */ | ||
1120 | U16 Reserved3; /* 1Ah */ | ||
1121 | U32 Reserved4; /* 1Ch */ | ||
1122 | U32 Reserved5; /* 20h */ | ||
1123 | U32 Reserved6; /* 24h */ | ||
1124 | U32 Reserved7; /* 28h */ | ||
1125 | U32 Reserved8; /* 2Ch */ | ||
1126 | U32 Reserved9; /* 30h */ | ||
1127 | U32 Reserved10; /* 34h */ | ||
1128 | U32 Reserved11; /* 38h */ | ||
1129 | U32 Reserved12; /* 3Ch */ | ||
1130 | U32 Reserved13; /* 40h */ | ||
1131 | } MPI_BOOT_DEVICE_ENCLOSURE_SLOT, | ||
1132 | MPI_POINTER PTR_MPI_BOOT_DEVICE_ENCLOSURE_SLOT; | ||
1133 | |||
1134 | typedef union _MPI_BIOSPAGE2_BOOT_DEVICE | ||
1135 | { | ||
1136 | MPI_BOOT_DEVICE_ADAPTER_ORDER AdapterOrder; | ||
1137 | MPI_BOOT_DEVICE_ADAPTER_NUMBER AdapterNumber; | ||
1138 | MPI_BOOT_DEVICE_PCI_ADDRESS PCIAddress; | ||
1139 | MPI_BOOT_DEVICE_PCI_SLOT_NUMBER PCISlotNumber; | ||
1140 | MPI_BOOT_DEVICE_FC_WWN FcWwn; | ||
1141 | MPI_BOOT_DEVICE_SAS_WWN SasWwn; | ||
1142 | MPI_BOOT_DEVICE_ENCLOSURE_SLOT EnclosureSlot; | ||
1143 | } MPI_BIOSPAGE2_BOOT_DEVICE, MPI_POINTER PTR_MPI_BIOSPAGE2_BOOT_DEVICE; | ||
1144 | |||
1145 | typedef struct _CONFIG_PAGE_BIOS_2 | ||
1146 | { | ||
1147 | CONFIG_PAGE_HEADER Header; /* 00h */ | ||
1148 | U32 Reserved1; /* 04h */ | ||
1149 | U32 Reserved2; /* 08h */ | ||
1150 | U32 Reserved3; /* 0Ch */ | ||
1151 | U32 Reserved4; /* 10h */ | ||
1152 | U32 Reserved5; /* 14h */ | ||
1153 | U32 Reserved6; /* 18h */ | ||
1154 | U8 BootDeviceForm; /* 1Ch */ | ||
1155 | U8 Reserved7; /* 1Dh */ | ||
1156 | U16 Reserved8; /* 1Eh */ | ||
1157 | MPI_BIOSPAGE2_BOOT_DEVICE BootDevice; /* 20h */ | ||
1158 | } CONFIG_PAGE_BIOS_2, MPI_POINTER PTR_CONFIG_PAGE_BIOS_2, | ||
1159 | BIOSPage2_t, MPI_POINTER pBIOSPage2_t; | ||
1160 | |||
1161 | #define MPI_BIOSPAGE2_PAGEVERSION (0x01) | ||
1162 | |||
1163 | #define MPI_BIOSPAGE2_FORM_MASK (0x0F) | ||
1164 | #define MPI_BIOSPAGE2_FORM_ADAPTER_ORDER (0x00) | ||
1165 | #define MPI_BIOSPAGE2_FORM_ADAPTER_NUMBER (0x01) | ||
1166 | #define MPI_BIOSPAGE2_FORM_PCI_ADDRESS (0x02) | ||
1167 | #define MPI_BIOSPAGE2_FORM_PCI_SLOT_NUMBER (0x03) | ||
1168 | #define MPI_BIOSPAGE2_FORM_FC_WWN (0x04) | ||
1169 | #define MPI_BIOSPAGE2_FORM_SAS_WWN (0x05) | ||
1170 | |||
817 | 1171 | ||
818 | /**************************************************************************** | 1172 | /**************************************************************************** |
819 | * SCSI Port Config Pages | 1173 | * SCSI Port Config Pages |
@@ -821,13 +1175,13 @@ typedef struct _CONFIG_PAGE_BIOS_1 | |||
821 | 1175 | ||
822 | typedef struct _CONFIG_PAGE_SCSI_PORT_0 | 1176 | typedef struct _CONFIG_PAGE_SCSI_PORT_0 |
823 | { | 1177 | { |
824 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1178 | CONFIG_PAGE_HEADER Header; /* 00h */ |
825 | U32 Capabilities; /* 04h */ | 1179 | U32 Capabilities; /* 04h */ |
826 | U32 PhysicalInterface; /* 08h */ | 1180 | U32 PhysicalInterface; /* 08h */ |
827 | } fCONFIG_PAGE_SCSI_PORT_0, MPI_POINTER PTR_CONFIG_PAGE_SCSI_PORT_0, | 1181 | } CONFIG_PAGE_SCSI_PORT_0, MPI_POINTER PTR_CONFIG_PAGE_SCSI_PORT_0, |
828 | SCSIPortPage0_t, MPI_POINTER pSCSIPortPage0_t; | 1182 | SCSIPortPage0_t, MPI_POINTER pSCSIPortPage0_t; |
829 | 1183 | ||
830 | #define MPI_SCSIPORTPAGE0_PAGEVERSION (0x01) | 1184 | #define MPI_SCSIPORTPAGE0_PAGEVERSION (0x02) |
831 | 1185 | ||
832 | #define MPI_SCSIPORTPAGE0_CAP_IU (0x00000001) | 1186 | #define MPI_SCSIPORTPAGE0_CAP_IU (0x00000001) |
833 | #define MPI_SCSIPORTPAGE0_CAP_DT (0x00000002) | 1187 | #define MPI_SCSIPORTPAGE0_CAP_DT (0x00000002) |
@@ -854,6 +1208,7 @@ typedef struct _CONFIG_PAGE_SCSI_PORT_0 | |||
854 | ( ((Cap) & MPI_SCSIPORTPAGE0_CAP_MASK_MAX_SYNC_OFFSET) \ | 1208 | ( ((Cap) & MPI_SCSIPORTPAGE0_CAP_MASK_MAX_SYNC_OFFSET) \ |
855 | >> MPI_SCSIPORTPAGE0_CAP_SHIFT_MAX_SYNC_OFFSET \ | 1209 | >> MPI_SCSIPORTPAGE0_CAP_SHIFT_MAX_SYNC_OFFSET \ |
856 | ) | 1210 | ) |
1211 | #define MPI_SCSIPORTPAGE0_CAP_IDP (0x08000000) | ||
857 | #define MPI_SCSIPORTPAGE0_CAP_WIDE (0x20000000) | 1212 | #define MPI_SCSIPORTPAGE0_CAP_WIDE (0x20000000) |
858 | #define MPI_SCSIPORTPAGE0_CAP_AIP (0x80000000) | 1213 | #define MPI_SCSIPORTPAGE0_CAP_AIP (0x80000000) |
859 | 1214 | ||
@@ -869,13 +1224,13 @@ typedef struct _CONFIG_PAGE_SCSI_PORT_0 | |||
869 | 1224 | ||
870 | typedef struct _CONFIG_PAGE_SCSI_PORT_1 | 1225 | typedef struct _CONFIG_PAGE_SCSI_PORT_1 |
871 | { | 1226 | { |
872 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1227 | CONFIG_PAGE_HEADER Header; /* 00h */ |
873 | U32 Configuration; /* 04h */ | 1228 | U32 Configuration; /* 04h */ |
874 | U32 OnBusTimerValue; /* 08h */ | 1229 | U32 OnBusTimerValue; /* 08h */ |
875 | U8 TargetConfig; /* 0Ch */ | 1230 | U8 TargetConfig; /* 0Ch */ |
876 | U8 Reserved1; /* 0Dh */ | 1231 | U8 Reserved1; /* 0Dh */ |
877 | U16 IDConfig; /* 0Eh */ | 1232 | U16 IDConfig; /* 0Eh */ |
878 | } fCONFIG_PAGE_SCSI_PORT_1, MPI_POINTER PTR_CONFIG_PAGE_SCSI_PORT_1, | 1233 | } CONFIG_PAGE_SCSI_PORT_1, MPI_POINTER PTR_CONFIG_PAGE_SCSI_PORT_1, |
879 | SCSIPortPage1_t, MPI_POINTER pSCSIPortPage1_t; | 1234 | SCSIPortPage1_t, MPI_POINTER pSCSIPortPage1_t; |
880 | 1235 | ||
881 | #define MPI_SCSIPORTPAGE1_PAGEVERSION (0x03) | 1236 | #define MPI_SCSIPORTPAGE1_PAGEVERSION (0x03) |
@@ -900,11 +1255,11 @@ typedef struct _MPI_DEVICE_INFO | |||
900 | 1255 | ||
901 | typedef struct _CONFIG_PAGE_SCSI_PORT_2 | 1256 | typedef struct _CONFIG_PAGE_SCSI_PORT_2 |
902 | { | 1257 | { |
903 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1258 | CONFIG_PAGE_HEADER Header; /* 00h */ |
904 | U32 PortFlags; /* 04h */ | 1259 | U32 PortFlags; /* 04h */ |
905 | U32 PortSettings; /* 08h */ | 1260 | U32 PortSettings; /* 08h */ |
906 | MPI_DEVICE_INFO DeviceSettings[16]; /* 0Ch */ | 1261 | MPI_DEVICE_INFO DeviceSettings[16]; /* 0Ch */ |
907 | } fCONFIG_PAGE_SCSI_PORT_2, MPI_POINTER PTR_CONFIG_PAGE_SCSI_PORT_2, | 1262 | } CONFIG_PAGE_SCSI_PORT_2, MPI_POINTER PTR_CONFIG_PAGE_SCSI_PORT_2, |
908 | SCSIPortPage2_t, MPI_POINTER pSCSIPortPage2_t; | 1263 | SCSIPortPage2_t, MPI_POINTER pSCSIPortPage2_t; |
909 | 1264 | ||
910 | #define MPI_SCSIPORTPAGE2_PAGEVERSION (0x02) | 1265 | #define MPI_SCSIPORTPAGE2_PAGEVERSION (0x02) |
@@ -953,13 +1308,13 @@ typedef struct _CONFIG_PAGE_SCSI_PORT_2 | |||
953 | 1308 | ||
954 | typedef struct _CONFIG_PAGE_SCSI_DEVICE_0 | 1309 | typedef struct _CONFIG_PAGE_SCSI_DEVICE_0 |
955 | { | 1310 | { |
956 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1311 | CONFIG_PAGE_HEADER Header; /* 00h */ |
957 | U32 NegotiatedParameters; /* 04h */ | 1312 | U32 NegotiatedParameters; /* 04h */ |
958 | U32 Information; /* 08h */ | 1313 | U32 Information; /* 08h */ |
959 | } fCONFIG_PAGE_SCSI_DEVICE_0, MPI_POINTER PTR_CONFIG_PAGE_SCSI_DEVICE_0, | 1314 | } CONFIG_PAGE_SCSI_DEVICE_0, MPI_POINTER PTR_CONFIG_PAGE_SCSI_DEVICE_0, |
960 | SCSIDevicePage0_t, MPI_POINTER pSCSIDevicePage0_t; | 1315 | SCSIDevicePage0_t, MPI_POINTER pSCSIDevicePage0_t; |
961 | 1316 | ||
962 | #define MPI_SCSIDEVPAGE0_PAGEVERSION (0x03) | 1317 | #define MPI_SCSIDEVPAGE0_PAGEVERSION (0x04) |
963 | 1318 | ||
964 | #define MPI_SCSIDEVPAGE0_NP_IU (0x00000001) | 1319 | #define MPI_SCSIDEVPAGE0_NP_IU (0x00000001) |
965 | #define MPI_SCSIDEVPAGE0_NP_DT (0x00000002) | 1320 | #define MPI_SCSIDEVPAGE0_NP_DT (0x00000002) |
@@ -973,6 +1328,7 @@ typedef struct _CONFIG_PAGE_SCSI_DEVICE_0 | |||
973 | #define MPI_SCSIDEVPAGE0_NP_SHIFT_SYNC_PERIOD (8) | 1328 | #define MPI_SCSIDEVPAGE0_NP_SHIFT_SYNC_PERIOD (8) |
974 | #define MPI_SCSIDEVPAGE0_NP_NEG_SYNC_OFFSET_MASK (0x00FF0000) | 1329 | #define MPI_SCSIDEVPAGE0_NP_NEG_SYNC_OFFSET_MASK (0x00FF0000) |
975 | #define MPI_SCSIDEVPAGE0_NP_SHIFT_SYNC_OFFSET (16) | 1330 | #define MPI_SCSIDEVPAGE0_NP_SHIFT_SYNC_OFFSET (16) |
1331 | #define MPI_SCSIDEVPAGE0_NP_IDP (0x08000000) | ||
976 | #define MPI_SCSIDEVPAGE0_NP_WIDE (0x20000000) | 1332 | #define MPI_SCSIDEVPAGE0_NP_WIDE (0x20000000) |
977 | #define MPI_SCSIDEVPAGE0_NP_AIP (0x80000000) | 1333 | #define MPI_SCSIDEVPAGE0_NP_AIP (0x80000000) |
978 | 1334 | ||
@@ -984,14 +1340,14 @@ typedef struct _CONFIG_PAGE_SCSI_DEVICE_0 | |||
984 | 1340 | ||
985 | typedef struct _CONFIG_PAGE_SCSI_DEVICE_1 | 1341 | typedef struct _CONFIG_PAGE_SCSI_DEVICE_1 |
986 | { | 1342 | { |
987 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1343 | CONFIG_PAGE_HEADER Header; /* 00h */ |
988 | U32 RequestedParameters; /* 04h */ | 1344 | U32 RequestedParameters; /* 04h */ |
989 | U32 Reserved; /* 08h */ | 1345 | U32 Reserved; /* 08h */ |
990 | U32 Configuration; /* 0Ch */ | 1346 | U32 Configuration; /* 0Ch */ |
991 | } fCONFIG_PAGE_SCSI_DEVICE_1, MPI_POINTER PTR_CONFIG_PAGE_SCSI_DEVICE_1, | 1347 | } CONFIG_PAGE_SCSI_DEVICE_1, MPI_POINTER PTR_CONFIG_PAGE_SCSI_DEVICE_1, |
992 | SCSIDevicePage1_t, MPI_POINTER pSCSIDevicePage1_t; | 1348 | SCSIDevicePage1_t, MPI_POINTER pSCSIDevicePage1_t; |
993 | 1349 | ||
994 | #define MPI_SCSIDEVPAGE1_PAGEVERSION (0x04) | 1350 | #define MPI_SCSIDEVPAGE1_PAGEVERSION (0x05) |
995 | 1351 | ||
996 | #define MPI_SCSIDEVPAGE1_RP_IU (0x00000001) | 1352 | #define MPI_SCSIDEVPAGE1_RP_IU (0x00000001) |
997 | #define MPI_SCSIDEVPAGE1_RP_DT (0x00000002) | 1353 | #define MPI_SCSIDEVPAGE1_RP_DT (0x00000002) |
@@ -1005,6 +1361,7 @@ typedef struct _CONFIG_PAGE_SCSI_DEVICE_1 | |||
1005 | #define MPI_SCSIDEVPAGE1_RP_SHIFT_MIN_SYNC_PERIOD (8) | 1361 | #define MPI_SCSIDEVPAGE1_RP_SHIFT_MIN_SYNC_PERIOD (8) |
1006 | #define MPI_SCSIDEVPAGE1_RP_MAX_SYNC_OFFSET_MASK (0x00FF0000) | 1362 | #define MPI_SCSIDEVPAGE1_RP_MAX_SYNC_OFFSET_MASK (0x00FF0000) |
1007 | #define MPI_SCSIDEVPAGE1_RP_SHIFT_MAX_SYNC_OFFSET (16) | 1363 | #define MPI_SCSIDEVPAGE1_RP_SHIFT_MAX_SYNC_OFFSET (16) |
1364 | #define MPI_SCSIDEVPAGE1_RP_IDP (0x08000000) | ||
1008 | #define MPI_SCSIDEVPAGE1_RP_WIDE (0x20000000) | 1365 | #define MPI_SCSIDEVPAGE1_RP_WIDE (0x20000000) |
1009 | #define MPI_SCSIDEVPAGE1_RP_AIP (0x80000000) | 1366 | #define MPI_SCSIDEVPAGE1_RP_AIP (0x80000000) |
1010 | 1367 | ||
@@ -1016,11 +1373,11 @@ typedef struct _CONFIG_PAGE_SCSI_DEVICE_1 | |||
1016 | 1373 | ||
1017 | typedef struct _CONFIG_PAGE_SCSI_DEVICE_2 | 1374 | typedef struct _CONFIG_PAGE_SCSI_DEVICE_2 |
1018 | { | 1375 | { |
1019 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1376 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1020 | U32 DomainValidation; /* 04h */ | 1377 | U32 DomainValidation; /* 04h */ |
1021 | U32 ParityPipeSelect; /* 08h */ | 1378 | U32 ParityPipeSelect; /* 08h */ |
1022 | U32 DataPipeSelect; /* 0Ch */ | 1379 | U32 DataPipeSelect; /* 0Ch */ |
1023 | } fCONFIG_PAGE_SCSI_DEVICE_2, MPI_POINTER PTR_CONFIG_PAGE_SCSI_DEVICE_2, | 1380 | } CONFIG_PAGE_SCSI_DEVICE_2, MPI_POINTER PTR_CONFIG_PAGE_SCSI_DEVICE_2, |
1024 | SCSIDevicePage2_t, MPI_POINTER pSCSIDevicePage2_t; | 1381 | SCSIDevicePage2_t, MPI_POINTER pSCSIDevicePage2_t; |
1025 | 1382 | ||
1026 | #define MPI_SCSIDEVPAGE2_PAGEVERSION (0x01) | 1383 | #define MPI_SCSIDEVPAGE2_PAGEVERSION (0x01) |
@@ -1057,12 +1414,12 @@ typedef struct _CONFIG_PAGE_SCSI_DEVICE_2 | |||
1057 | 1414 | ||
1058 | typedef struct _CONFIG_PAGE_SCSI_DEVICE_3 | 1415 | typedef struct _CONFIG_PAGE_SCSI_DEVICE_3 |
1059 | { | 1416 | { |
1060 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1417 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1061 | U16 MsgRejectCount; /* 04h */ | 1418 | U16 MsgRejectCount; /* 04h */ |
1062 | U16 PhaseErrorCount; /* 06h */ | 1419 | U16 PhaseErrorCount; /* 06h */ |
1063 | U16 ParityErrorCount; /* 08h */ | 1420 | U16 ParityErrorCount; /* 08h */ |
1064 | U16 Reserved; /* 0Ah */ | 1421 | U16 Reserved; /* 0Ah */ |
1065 | } fCONFIG_PAGE_SCSI_DEVICE_3, MPI_POINTER PTR_CONFIG_PAGE_SCSI_DEVICE_3, | 1422 | } CONFIG_PAGE_SCSI_DEVICE_3, MPI_POINTER PTR_CONFIG_PAGE_SCSI_DEVICE_3, |
1066 | SCSIDevicePage3_t, MPI_POINTER pSCSIDevicePage3_t; | 1423 | SCSIDevicePage3_t, MPI_POINTER pSCSIDevicePage3_t; |
1067 | 1424 | ||
1068 | #define MPI_SCSIDEVPAGE3_PAGEVERSION (0x00) | 1425 | #define MPI_SCSIDEVPAGE3_PAGEVERSION (0x00) |
@@ -1077,7 +1434,7 @@ typedef struct _CONFIG_PAGE_SCSI_DEVICE_3 | |||
1077 | 1434 | ||
1078 | typedef struct _CONFIG_PAGE_FC_PORT_0 | 1435 | typedef struct _CONFIG_PAGE_FC_PORT_0 |
1079 | { | 1436 | { |
1080 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1437 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1081 | U32 Flags; /* 04h */ | 1438 | U32 Flags; /* 04h */ |
1082 | U8 MPIPortNumber; /* 08h */ | 1439 | U8 MPIPortNumber; /* 08h */ |
1083 | U8 LinkType; /* 09h */ | 1440 | U8 LinkType; /* 09h */ |
@@ -1098,7 +1455,7 @@ typedef struct _CONFIG_PAGE_FC_PORT_0 | |||
1098 | U8 MaxHardAliasesSupported; /* 49h */ | 1455 | U8 MaxHardAliasesSupported; /* 49h */ |
1099 | U8 NumCurrentAliases; /* 4Ah */ | 1456 | U8 NumCurrentAliases; /* 4Ah */ |
1100 | U8 Reserved1; /* 4Bh */ | 1457 | U8 Reserved1; /* 4Bh */ |
1101 | } fCONFIG_PAGE_FC_PORT_0, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_0, | 1458 | } CONFIG_PAGE_FC_PORT_0, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_0, |
1102 | FCPortPage0_t, MPI_POINTER pFCPortPage0_t; | 1459 | FCPortPage0_t, MPI_POINTER pFCPortPage0_t; |
1103 | 1460 | ||
1104 | #define MPI_FCPORTPAGE0_PAGEVERSION (0x02) | 1461 | #define MPI_FCPORTPAGE0_PAGEVERSION (0x02) |
@@ -1164,10 +1521,9 @@ typedef struct _CONFIG_PAGE_FC_PORT_0 | |||
1164 | #define MPI_FCPORTPAGE0_CURRENT_SPEED_NOT_NEGOTIATED (0x00008000) /* (SNIA)HBA_PORTSPEED_NOT_NEGOTIATED (1<<15) Speed not established */ | 1521 | #define MPI_FCPORTPAGE0_CURRENT_SPEED_NOT_NEGOTIATED (0x00008000) /* (SNIA)HBA_PORTSPEED_NOT_NEGOTIATED (1<<15) Speed not established */ |
1165 | 1522 | ||
1166 | 1523 | ||
1167 | |||
1168 | typedef struct _CONFIG_PAGE_FC_PORT_1 | 1524 | typedef struct _CONFIG_PAGE_FC_PORT_1 |
1169 | { | 1525 | { |
1170 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1526 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1171 | U32 Flags; /* 04h */ | 1527 | U32 Flags; /* 04h */ |
1172 | U64 NoSEEPROMWWNN; /* 08h */ | 1528 | U64 NoSEEPROMWWNN; /* 08h */ |
1173 | U64 NoSEEPROMWWPN; /* 10h */ | 1529 | U64 NoSEEPROMWWPN; /* 10h */ |
@@ -1179,7 +1535,7 @@ typedef struct _CONFIG_PAGE_FC_PORT_1 | |||
1179 | U8 RR_TOV; /* 1Dh */ | 1535 | U8 RR_TOV; /* 1Dh */ |
1180 | U8 InitiatorDeviceTimeout; /* 1Eh */ | 1536 | U8 InitiatorDeviceTimeout; /* 1Eh */ |
1181 | U8 InitiatorIoPendTimeout; /* 1Fh */ | 1537 | U8 InitiatorIoPendTimeout; /* 1Fh */ |
1182 | } fCONFIG_PAGE_FC_PORT_1, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_1, | 1538 | } CONFIG_PAGE_FC_PORT_1, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_1, |
1183 | FCPortPage1_t, MPI_POINTER pFCPortPage1_t; | 1539 | FCPortPage1_t, MPI_POINTER pFCPortPage1_t; |
1184 | 1540 | ||
1185 | #define MPI_FCPORTPAGE1_PAGEVERSION (0x06) | 1541 | #define MPI_FCPORTPAGE1_PAGEVERSION (0x06) |
@@ -1191,6 +1547,7 @@ typedef struct _CONFIG_PAGE_FC_PORT_1 | |||
1191 | #define MPI_FCPORTPAGE1_FLAGS_TARGET_MODE_OXID (0x00800000) | 1547 | #define MPI_FCPORTPAGE1_FLAGS_TARGET_MODE_OXID (0x00800000) |
1192 | #define MPI_FCPORTPAGE1_FLAGS_PORT_OFFLINE (0x00400000) | 1548 | #define MPI_FCPORTPAGE1_FLAGS_PORT_OFFLINE (0x00400000) |
1193 | #define MPI_FCPORTPAGE1_FLAGS_SOFT_ALPA_FALLBACK (0x00200000) | 1549 | #define MPI_FCPORTPAGE1_FLAGS_SOFT_ALPA_FALLBACK (0x00200000) |
1550 | #define MPI_FCPORTPAGE1_FLAGS_TARGET_LARGE_CDB_ENABLE (0x00000080) | ||
1194 | #define MPI_FCPORTPAGE1_FLAGS_MASK_RR_TOV_UNITS (0x00000070) | 1551 | #define MPI_FCPORTPAGE1_FLAGS_MASK_RR_TOV_UNITS (0x00000070) |
1195 | #define MPI_FCPORTPAGE1_FLAGS_SUPPRESS_PROT_REG (0x00000008) | 1552 | #define MPI_FCPORTPAGE1_FLAGS_SUPPRESS_PROT_REG (0x00000008) |
1196 | #define MPI_FCPORTPAGE1_FLAGS_PLOGI_ON_LOGO (0x00000004) | 1553 | #define MPI_FCPORTPAGE1_FLAGS_PLOGI_ON_LOGO (0x00000004) |
@@ -1227,14 +1584,15 @@ typedef struct _CONFIG_PAGE_FC_PORT_1 | |||
1227 | #define MPI_FCPORTPAGE1_ALT_CONN_UNKNOWN (0x00) | 1584 | #define MPI_FCPORTPAGE1_ALT_CONN_UNKNOWN (0x00) |
1228 | 1585 | ||
1229 | #define MPI_FCPORTPAGE1_INITIATOR_DEV_TIMEOUT_MASK (0x7F) | 1586 | #define MPI_FCPORTPAGE1_INITIATOR_DEV_TIMEOUT_MASK (0x7F) |
1587 | #define MPI_FCPORTPAGE1_INITIATOR_DEV_UNIT_16 (0x80) | ||
1230 | 1588 | ||
1231 | 1589 | ||
1232 | typedef struct _CONFIG_PAGE_FC_PORT_2 | 1590 | typedef struct _CONFIG_PAGE_FC_PORT_2 |
1233 | { | 1591 | { |
1234 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1592 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1235 | U8 NumberActive; /* 04h */ | 1593 | U8 NumberActive; /* 04h */ |
1236 | U8 ALPA[127]; /* 05h */ | 1594 | U8 ALPA[127]; /* 05h */ |
1237 | } fCONFIG_PAGE_FC_PORT_2, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_2, | 1595 | } CONFIG_PAGE_FC_PORT_2, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_2, |
1238 | FCPortPage2_t, MPI_POINTER pFCPortPage2_t; | 1596 | FCPortPage2_t, MPI_POINTER pFCPortPage2_t; |
1239 | 1597 | ||
1240 | #define MPI_FCPORTPAGE2_PAGEVERSION (0x01) | 1598 | #define MPI_FCPORTPAGE2_PAGEVERSION (0x01) |
@@ -1280,9 +1638,9 @@ typedef struct _FC_PORT_PERSISTENT | |||
1280 | 1638 | ||
1281 | typedef struct _CONFIG_PAGE_FC_PORT_3 | 1639 | typedef struct _CONFIG_PAGE_FC_PORT_3 |
1282 | { | 1640 | { |
1283 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1641 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1284 | FC_PORT_PERSISTENT Entry[MPI_FC_PORT_PAGE_3_ENTRY_MAX]; /* 04h */ | 1642 | FC_PORT_PERSISTENT Entry[MPI_FC_PORT_PAGE_3_ENTRY_MAX]; /* 04h */ |
1285 | } fCONFIG_PAGE_FC_PORT_3, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_3, | 1643 | } CONFIG_PAGE_FC_PORT_3, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_3, |
1286 | FCPortPage3_t, MPI_POINTER pFCPortPage3_t; | 1644 | FCPortPage3_t, MPI_POINTER pFCPortPage3_t; |
1287 | 1645 | ||
1288 | #define MPI_FCPORTPAGE3_PAGEVERSION (0x01) | 1646 | #define MPI_FCPORTPAGE3_PAGEVERSION (0x01) |
@@ -1290,10 +1648,10 @@ typedef struct _CONFIG_PAGE_FC_PORT_3 | |||
1290 | 1648 | ||
1291 | typedef struct _CONFIG_PAGE_FC_PORT_4 | 1649 | typedef struct _CONFIG_PAGE_FC_PORT_4 |
1292 | { | 1650 | { |
1293 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1651 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1294 | U32 PortFlags; /* 04h */ | 1652 | U32 PortFlags; /* 04h */ |
1295 | U32 PortSettings; /* 08h */ | 1653 | U32 PortSettings; /* 08h */ |
1296 | } fCONFIG_PAGE_FC_PORT_4, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_4, | 1654 | } CONFIG_PAGE_FC_PORT_4, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_4, |
1297 | FCPortPage4_t, MPI_POINTER pFCPortPage4_t; | 1655 | FCPortPage4_t, MPI_POINTER pFCPortPage4_t; |
1298 | 1656 | ||
1299 | #define MPI_FCPORTPAGE4_PAGEVERSION (0x00) | 1657 | #define MPI_FCPORTPAGE4_PAGEVERSION (0x00) |
@@ -1316,15 +1674,15 @@ typedef struct _CONFIG_PAGE_FC_PORT_5_ALIAS_INFO | |||
1316 | U16 Reserved; /* 02h */ | 1674 | U16 Reserved; /* 02h */ |
1317 | U64 AliasWWNN; /* 04h */ | 1675 | U64 AliasWWNN; /* 04h */ |
1318 | U64 AliasWWPN; /* 0Ch */ | 1676 | U64 AliasWWPN; /* 0Ch */ |
1319 | } fCONFIG_PAGE_FC_PORT_5_ALIAS_INFO, | 1677 | } CONFIG_PAGE_FC_PORT_5_ALIAS_INFO, |
1320 | MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_5_ALIAS_INFO, | 1678 | MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_5_ALIAS_INFO, |
1321 | FcPortPage5AliasInfo_t, MPI_POINTER pFcPortPage5AliasInfo_t; | 1679 | FcPortPage5AliasInfo_t, MPI_POINTER pFcPortPage5AliasInfo_t; |
1322 | 1680 | ||
1323 | typedef struct _CONFIG_PAGE_FC_PORT_5 | 1681 | typedef struct _CONFIG_PAGE_FC_PORT_5 |
1324 | { | 1682 | { |
1325 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1683 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1326 | fCONFIG_PAGE_FC_PORT_5_ALIAS_INFO AliasInfo; /* 04h */ | 1684 | CONFIG_PAGE_FC_PORT_5_ALIAS_INFO AliasInfo; /* 04h */ |
1327 | } fCONFIG_PAGE_FC_PORT_5, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_5, | 1685 | } CONFIG_PAGE_FC_PORT_5, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_5, |
1328 | FCPortPage5_t, MPI_POINTER pFCPortPage5_t; | 1686 | FCPortPage5_t, MPI_POINTER pFCPortPage5_t; |
1329 | 1687 | ||
1330 | #define MPI_FCPORTPAGE5_PAGEVERSION (0x02) | 1688 | #define MPI_FCPORTPAGE5_PAGEVERSION (0x02) |
@@ -1337,7 +1695,7 @@ typedef struct _CONFIG_PAGE_FC_PORT_5 | |||
1337 | 1695 | ||
1338 | typedef struct _CONFIG_PAGE_FC_PORT_6 | 1696 | typedef struct _CONFIG_PAGE_FC_PORT_6 |
1339 | { | 1697 | { |
1340 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1698 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1341 | U32 Reserved; /* 04h */ | 1699 | U32 Reserved; /* 04h */ |
1342 | U64 TimeSinceReset; /* 08h */ | 1700 | U64 TimeSinceReset; /* 08h */ |
1343 | U64 TxFrames; /* 10h */ | 1701 | U64 TxFrames; /* 10h */ |
@@ -1355,7 +1713,7 @@ typedef struct _CONFIG_PAGE_FC_PORT_6 | |||
1355 | U64 InvalidTxWordCount; /* 70h */ | 1713 | U64 InvalidTxWordCount; /* 70h */ |
1356 | U64 InvalidCrcCount; /* 78h */ | 1714 | U64 InvalidCrcCount; /* 78h */ |
1357 | U64 FcpInitiatorIoCount; /* 80h */ | 1715 | U64 FcpInitiatorIoCount; /* 80h */ |
1358 | } fCONFIG_PAGE_FC_PORT_6, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_6, | 1716 | } CONFIG_PAGE_FC_PORT_6, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_6, |
1359 | FCPortPage6_t, MPI_POINTER pFCPortPage6_t; | 1717 | FCPortPage6_t, MPI_POINTER pFCPortPage6_t; |
1360 | 1718 | ||
1361 | #define MPI_FCPORTPAGE6_PAGEVERSION (0x00) | 1719 | #define MPI_FCPORTPAGE6_PAGEVERSION (0x00) |
@@ -1363,10 +1721,10 @@ typedef struct _CONFIG_PAGE_FC_PORT_6 | |||
1363 | 1721 | ||
1364 | typedef struct _CONFIG_PAGE_FC_PORT_7 | 1722 | typedef struct _CONFIG_PAGE_FC_PORT_7 |
1365 | { | 1723 | { |
1366 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1724 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1367 | U32 Reserved; /* 04h */ | 1725 | U32 Reserved; /* 04h */ |
1368 | U8 PortSymbolicName[256]; /* 08h */ | 1726 | U8 PortSymbolicName[256]; /* 08h */ |
1369 | } fCONFIG_PAGE_FC_PORT_7, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_7, | 1727 | } CONFIG_PAGE_FC_PORT_7, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_7, |
1370 | FCPortPage7_t, MPI_POINTER pFCPortPage7_t; | 1728 | FCPortPage7_t, MPI_POINTER pFCPortPage7_t; |
1371 | 1729 | ||
1372 | #define MPI_FCPORTPAGE7_PAGEVERSION (0x00) | 1730 | #define MPI_FCPORTPAGE7_PAGEVERSION (0x00) |
@@ -1374,9 +1732,9 @@ typedef struct _CONFIG_PAGE_FC_PORT_7 | |||
1374 | 1732 | ||
1375 | typedef struct _CONFIG_PAGE_FC_PORT_8 | 1733 | typedef struct _CONFIG_PAGE_FC_PORT_8 |
1376 | { | 1734 | { |
1377 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1735 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1378 | U32 BitVector[8]; /* 04h */ | 1736 | U32 BitVector[8]; /* 04h */ |
1379 | } fCONFIG_PAGE_FC_PORT_8, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_8, | 1737 | } CONFIG_PAGE_FC_PORT_8, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_8, |
1380 | FCPortPage8_t, MPI_POINTER pFCPortPage8_t; | 1738 | FCPortPage8_t, MPI_POINTER pFCPortPage8_t; |
1381 | 1739 | ||
1382 | #define MPI_FCPORTPAGE8_PAGEVERSION (0x00) | 1740 | #define MPI_FCPORTPAGE8_PAGEVERSION (0x00) |
@@ -1384,7 +1742,7 @@ typedef struct _CONFIG_PAGE_FC_PORT_8 | |||
1384 | 1742 | ||
1385 | typedef struct _CONFIG_PAGE_FC_PORT_9 | 1743 | typedef struct _CONFIG_PAGE_FC_PORT_9 |
1386 | { | 1744 | { |
1387 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1745 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1388 | U32 Reserved; /* 04h */ | 1746 | U32 Reserved; /* 04h */ |
1389 | U64 GlobalWWPN; /* 08h */ | 1747 | U64 GlobalWWPN; /* 08h */ |
1390 | U64 GlobalWWNN; /* 10h */ | 1748 | U64 GlobalWWNN; /* 10h */ |
@@ -1396,7 +1754,7 @@ typedef struct _CONFIG_PAGE_FC_PORT_9 | |||
1396 | U8 IPAddress[16]; /* 28h */ | 1754 | U8 IPAddress[16]; /* 28h */ |
1397 | U16 Reserved1; /* 38h */ | 1755 | U16 Reserved1; /* 38h */ |
1398 | U16 TopologyDiscoveryFlags; /* 3Ah */ | 1756 | U16 TopologyDiscoveryFlags; /* 3Ah */ |
1399 | } fCONFIG_PAGE_FC_PORT_9, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_9, | 1757 | } CONFIG_PAGE_FC_PORT_9, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_9, |
1400 | FCPortPage9_t, MPI_POINTER pFCPortPage9_t; | 1758 | FCPortPage9_t, MPI_POINTER pFCPortPage9_t; |
1401 | 1759 | ||
1402 | #define MPI_FCPORTPAGE9_PAGEVERSION (0x00) | 1760 | #define MPI_FCPORTPAGE9_PAGEVERSION (0x00) |
@@ -1422,10 +1780,10 @@ typedef struct _CONFIG_PAGE_FC_PORT_10_BASE_SFP_DATA | |||
1422 | U8 VendorOUI[3]; /* 35h */ | 1780 | U8 VendorOUI[3]; /* 35h */ |
1423 | U8 VendorPN[16]; /* 38h */ | 1781 | U8 VendorPN[16]; /* 38h */ |
1424 | U8 VendorRev[4]; /* 48h */ | 1782 | U8 VendorRev[4]; /* 48h */ |
1425 | U16 Reserved4; /* 4Ch */ | 1783 | U16 Wavelength; /* 4Ch */ |
1426 | U8 Reserved5; /* 4Eh */ | 1784 | U8 Reserved4; /* 4Eh */ |
1427 | U8 CC_BASE; /* 4Fh */ | 1785 | U8 CC_BASE; /* 4Fh */ |
1428 | } fCONFIG_PAGE_FC_PORT_10_BASE_SFP_DATA, | 1786 | } CONFIG_PAGE_FC_PORT_10_BASE_SFP_DATA, |
1429 | MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_10_BASE_SFP_DATA, | 1787 | MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_10_BASE_SFP_DATA, |
1430 | FCPortPage10BaseSfpData_t, MPI_POINTER pFCPortPage10BaseSfpData_t; | 1788 | FCPortPage10BaseSfpData_t, MPI_POINTER pFCPortPage10BaseSfpData_t; |
1431 | 1789 | ||
@@ -1481,9 +1839,11 @@ typedef struct _CONFIG_PAGE_FC_PORT_10_EXTENDED_SFP_DATA | |||
1481 | U8 BitRateMin; /* 53h */ | 1839 | U8 BitRateMin; /* 53h */ |
1482 | U8 VendorSN[16]; /* 54h */ | 1840 | U8 VendorSN[16]; /* 54h */ |
1483 | U8 DateCode[8]; /* 64h */ | 1841 | U8 DateCode[8]; /* 64h */ |
1484 | U8 Reserved5[3]; /* 6Ch */ | 1842 | U8 DiagMonitoringType; /* 6Ch */ |
1843 | U8 EnhancedOptions; /* 6Dh */ | ||
1844 | U8 SFF8472Compliance; /* 6Eh */ | ||
1485 | U8 CC_EXT; /* 6Fh */ | 1845 | U8 CC_EXT; /* 6Fh */ |
1486 | } fCONFIG_PAGE_FC_PORT_10_EXTENDED_SFP_DATA, | 1846 | } CONFIG_PAGE_FC_PORT_10_EXTENDED_SFP_DATA, |
1487 | MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_10_EXTENDED_SFP_DATA, | 1847 | MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_10_EXTENDED_SFP_DATA, |
1488 | FCPortPage10ExtendedSfpData_t, MPI_POINTER pFCPortPage10ExtendedSfpData_t; | 1848 | FCPortPage10ExtendedSfpData_t, MPI_POINTER pFCPortPage10ExtendedSfpData_t; |
1489 | 1849 | ||
@@ -1496,19 +1856,19 @@ typedef struct _CONFIG_PAGE_FC_PORT_10_EXTENDED_SFP_DATA | |||
1496 | 1856 | ||
1497 | typedef struct _CONFIG_PAGE_FC_PORT_10 | 1857 | typedef struct _CONFIG_PAGE_FC_PORT_10 |
1498 | { | 1858 | { |
1499 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1859 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1500 | U8 Flags; /* 04h */ | 1860 | U8 Flags; /* 04h */ |
1501 | U8 Reserved1; /* 05h */ | 1861 | U8 Reserved1; /* 05h */ |
1502 | U16 Reserved2; /* 06h */ | 1862 | U16 Reserved2; /* 06h */ |
1503 | U32 HwConfig1; /* 08h */ | 1863 | U32 HwConfig1; /* 08h */ |
1504 | U32 HwConfig2; /* 0Ch */ | 1864 | U32 HwConfig2; /* 0Ch */ |
1505 | fCONFIG_PAGE_FC_PORT_10_BASE_SFP_DATA Base; /* 10h */ | 1865 | CONFIG_PAGE_FC_PORT_10_BASE_SFP_DATA Base; /* 10h */ |
1506 | fCONFIG_PAGE_FC_PORT_10_EXTENDED_SFP_DATA Extended; /* 50h */ | 1866 | CONFIG_PAGE_FC_PORT_10_EXTENDED_SFP_DATA Extended; /* 50h */ |
1507 | U8 VendorSpecific[32]; /* 70h */ | 1867 | U8 VendorSpecific[32]; /* 70h */ |
1508 | } fCONFIG_PAGE_FC_PORT_10, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_10, | 1868 | } CONFIG_PAGE_FC_PORT_10, MPI_POINTER PTR_CONFIG_PAGE_FC_PORT_10, |
1509 | FCPortPage10_t, MPI_POINTER pFCPortPage10_t; | 1869 | FCPortPage10_t, MPI_POINTER pFCPortPage10_t; |
1510 | 1870 | ||
1511 | #define MPI_FCPORTPAGE10_PAGEVERSION (0x00) | 1871 | #define MPI_FCPORTPAGE10_PAGEVERSION (0x01) |
1512 | 1872 | ||
1513 | /* standard MODDEF pin definitions (from GBIC spec.) */ | 1873 | /* standard MODDEF pin definitions (from GBIC spec.) */ |
1514 | #define MPI_FCPORTPAGE10_FLAGS_MODDEF_MASK (0x00000007) | 1874 | #define MPI_FCPORTPAGE10_FLAGS_MODDEF_MASK (0x00000007) |
@@ -1534,7 +1894,7 @@ typedef struct _CONFIG_PAGE_FC_PORT_10 | |||
1534 | 1894 | ||
1535 | typedef struct _CONFIG_PAGE_FC_DEVICE_0 | 1895 | typedef struct _CONFIG_PAGE_FC_DEVICE_0 |
1536 | { | 1896 | { |
1537 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 1897 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1538 | U64 WWNN; /* 04h */ | 1898 | U64 WWNN; /* 04h */ |
1539 | U64 WWPN; /* 0Ch */ | 1899 | U64 WWPN; /* 0Ch */ |
1540 | U32 PortIdentifier; /* 14h */ | 1900 | U32 PortIdentifier; /* 14h */ |
@@ -1548,7 +1908,7 @@ typedef struct _CONFIG_PAGE_FC_DEVICE_0 | |||
1548 | U8 FcPhHighestVersion; /* 21h */ | 1908 | U8 FcPhHighestVersion; /* 21h */ |
1549 | U8 CurrentTargetID; /* 22h */ | 1909 | U8 CurrentTargetID; /* 22h */ |
1550 | U8 CurrentBus; /* 23h */ | 1910 | U8 CurrentBus; /* 23h */ |
1551 | } fCONFIG_PAGE_FC_DEVICE_0, MPI_POINTER PTR_CONFIG_PAGE_FC_DEVICE_0, | 1911 | } CONFIG_PAGE_FC_DEVICE_0, MPI_POINTER PTR_CONFIG_PAGE_FC_DEVICE_0, |
1552 | FCDevicePage0_t, MPI_POINTER pFCDevicePage0_t; | 1912 | FCDevicePage0_t, MPI_POINTER pFCDevicePage0_t; |
1553 | 1913 | ||
1554 | #define MPI_FC_DEVICE_PAGE0_PAGEVERSION (0x03) | 1914 | #define MPI_FC_DEVICE_PAGE0_PAGEVERSION (0x03) |
@@ -1606,6 +1966,7 @@ typedef struct _RAID_VOL0_STATUS | |||
1606 | #define MPI_RAIDVOL0_STATUS_STATE_OPTIMAL (0x00) | 1966 | #define MPI_RAIDVOL0_STATUS_STATE_OPTIMAL (0x00) |
1607 | #define MPI_RAIDVOL0_STATUS_STATE_DEGRADED (0x01) | 1967 | #define MPI_RAIDVOL0_STATUS_STATE_DEGRADED (0x01) |
1608 | #define MPI_RAIDVOL0_STATUS_STATE_FAILED (0x02) | 1968 | #define MPI_RAIDVOL0_STATUS_STATE_FAILED (0x02) |
1969 | #define MPI_RAIDVOL0_STATUS_STATE_MISSING (0x03) | ||
1609 | 1970 | ||
1610 | typedef struct _RAID_VOL0_SETTINGS | 1971 | typedef struct _RAID_VOL0_SETTINGS |
1611 | { | 1972 | { |
@@ -1616,11 +1977,11 @@ typedef struct _RAID_VOL0_SETTINGS | |||
1616 | RaidVol0Settings, MPI_POINTER pRaidVol0Settings; | 1977 | RaidVol0Settings, MPI_POINTER pRaidVol0Settings; |
1617 | 1978 | ||
1618 | /* RAID Volume Page 0 VolumeSettings defines */ | 1979 | /* RAID Volume Page 0 VolumeSettings defines */ |
1619 | |||
1620 | #define MPI_RAIDVOL0_SETTING_WRITE_CACHING_ENABLE (0x0001) | 1980 | #define MPI_RAIDVOL0_SETTING_WRITE_CACHING_ENABLE (0x0001) |
1621 | #define MPI_RAIDVOL0_SETTING_OFFLINE_ON_SMART (0x0002) | 1981 | #define MPI_RAIDVOL0_SETTING_OFFLINE_ON_SMART (0x0002) |
1622 | #define MPI_RAIDVOL0_SETTING_AUTO_CONFIGURE (0x0004) | 1982 | #define MPI_RAIDVOL0_SETTING_AUTO_CONFIGURE (0x0004) |
1623 | #define MPI_RAIDVOL0_SETTING_PRIORITY_RESYNC (0x0008) | 1983 | #define MPI_RAIDVOL0_SETTING_PRIORITY_RESYNC (0x0008) |
1984 | #define MPI_RAIDVOL0_SETTING_FAST_DATA_SCRUBBING_0102 (0x0020) /* obsolete */ | ||
1624 | #define MPI_RAIDVOL0_SETTING_USE_PRODUCT_ID_SUFFIX (0x0010) | 1985 | #define MPI_RAIDVOL0_SETTING_USE_PRODUCT_ID_SUFFIX (0x0010) |
1625 | #define MPI_RAIDVOL0_SETTING_USE_DEFAULTS (0x8000) | 1986 | #define MPI_RAIDVOL0_SETTING_USE_DEFAULTS (0x8000) |
1626 | 1987 | ||
@@ -1644,7 +2005,7 @@ typedef struct _RAID_VOL0_SETTINGS | |||
1644 | 2005 | ||
1645 | typedef struct _CONFIG_PAGE_RAID_VOL_0 | 2006 | typedef struct _CONFIG_PAGE_RAID_VOL_0 |
1646 | { | 2007 | { |
1647 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 2008 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1648 | U8 VolumeID; /* 04h */ | 2009 | U8 VolumeID; /* 04h */ |
1649 | U8 VolumeBus; /* 05h */ | 2010 | U8 VolumeBus; /* 05h */ |
1650 | U8 VolumeIOC; /* 06h */ | 2011 | U8 VolumeIOC; /* 06h */ |
@@ -1657,13 +2018,41 @@ typedef struct _CONFIG_PAGE_RAID_VOL_0 | |||
1657 | U32 Reserved2; /* 1Ch */ | 2018 | U32 Reserved2; /* 1Ch */ |
1658 | U32 Reserved3; /* 20h */ | 2019 | U32 Reserved3; /* 20h */ |
1659 | U8 NumPhysDisks; /* 24h */ | 2020 | U8 NumPhysDisks; /* 24h */ |
1660 | U8 Reserved4; /* 25h */ | 2021 | U8 DataScrubRate; /* 25h */ |
1661 | U16 Reserved5; /* 26h */ | 2022 | U8 ResyncRate; /* 26h */ |
2023 | U8 InactiveStatus; /* 27h */ | ||
1662 | RAID_VOL0_PHYS_DISK PhysDisk[MPI_RAID_VOL_PAGE_0_PHYSDISK_MAX];/* 28h */ | 2024 | RAID_VOL0_PHYS_DISK PhysDisk[MPI_RAID_VOL_PAGE_0_PHYSDISK_MAX];/* 28h */ |
1663 | } fCONFIG_PAGE_RAID_VOL_0, MPI_POINTER PTR_CONFIG_PAGE_RAID_VOL_0, | 2025 | } CONFIG_PAGE_RAID_VOL_0, MPI_POINTER PTR_CONFIG_PAGE_RAID_VOL_0, |
1664 | RaidVolumePage0_t, MPI_POINTER pRaidVolumePage0_t; | 2026 | RaidVolumePage0_t, MPI_POINTER pRaidVolumePage0_t; |
1665 | 2027 | ||
1666 | #define MPI_RAIDVOLPAGE0_PAGEVERSION (0x01) | 2028 | #define MPI_RAIDVOLPAGE0_PAGEVERSION (0x04) |
2029 | |||
2030 | /* values for RAID Volume Page 0 InactiveStatus field */ | ||
2031 | #define MPI_RAIDVOLPAGE0_UNKNOWN_INACTIVE (0x00) | ||
2032 | #define MPI_RAIDVOLPAGE0_STALE_METADATA_INACTIVE (0x01) | ||
2033 | #define MPI_RAIDVOLPAGE0_FOREIGN_VOLUME_INACTIVE (0x02) | ||
2034 | #define MPI_RAIDVOLPAGE0_INSUFFICIENT_RESOURCE_INACTIVE (0x03) | ||
2035 | #define MPI_RAIDVOLPAGE0_CLONE_VOLUME_INACTIVE (0x04) | ||
2036 | #define MPI_RAIDVOLPAGE0_INSUFFICIENT_METADATA_INACTIVE (0x05) | ||
2037 | #define MPI_RAIDVOLPAGE0_PREVIOUSLY_DELETED (0x06) | ||
2038 | |||
2039 | |||
2040 | typedef struct _CONFIG_PAGE_RAID_VOL_1 | ||
2041 | { | ||
2042 | CONFIG_PAGE_HEADER Header; /* 00h */ | ||
2043 | U8 VolumeID; /* 01h */ | ||
2044 | U8 VolumeBus; /* 02h */ | ||
2045 | U8 VolumeIOC; /* 03h */ | ||
2046 | U8 Reserved0; /* 04h */ | ||
2047 | U8 GUID[24]; /* 05h */ | ||
2048 | U8 Name[32]; /* 20h */ | ||
2049 | U64 WWID; /* 40h */ | ||
2050 | U32 Reserved1; /* 48h */ | ||
2051 | U32 Reserved2; /* 4Ch */ | ||
2052 | } CONFIG_PAGE_RAID_VOL_1, MPI_POINTER PTR_CONFIG_PAGE_RAID_VOL_1, | ||
2053 | RaidVolumePage1_t, MPI_POINTER pRaidVolumePage1_t; | ||
2054 | |||
2055 | #define MPI_RAIDVOLPAGE1_PAGEVERSION (0x01) | ||
1667 | 2056 | ||
1668 | 2057 | ||
1669 | /**************************************************************************** | 2058 | /**************************************************************************** |
@@ -1714,6 +2103,7 @@ typedef struct _RAID_PHYS_DISK0_STATUS | |||
1714 | 2103 | ||
1715 | #define MPI_PHYSDISK0_STATUS_FLAG_OUT_OF_SYNC (0x01) | 2104 | #define MPI_PHYSDISK0_STATUS_FLAG_OUT_OF_SYNC (0x01) |
1716 | #define MPI_PHYSDISK0_STATUS_FLAG_QUIESCED (0x02) | 2105 | #define MPI_PHYSDISK0_STATUS_FLAG_QUIESCED (0x02) |
2106 | #define MPI_PHYSDISK0_STATUS_FLAG_INACTIVE_VOLUME (0x04) | ||
1717 | 2107 | ||
1718 | #define MPI_PHYSDISK0_STATUS_ONLINE (0x00) | 2108 | #define MPI_PHYSDISK0_STATUS_ONLINE (0x00) |
1719 | #define MPI_PHYSDISK0_STATUS_MISSING (0x01) | 2109 | #define MPI_PHYSDISK0_STATUS_MISSING (0x01) |
@@ -1726,24 +2116,54 @@ typedef struct _RAID_PHYS_DISK0_STATUS | |||
1726 | 2116 | ||
1727 | typedef struct _CONFIG_PAGE_RAID_PHYS_DISK_0 | 2117 | typedef struct _CONFIG_PAGE_RAID_PHYS_DISK_0 |
1728 | { | 2118 | { |
1729 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 2119 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1730 | U8 PhysDiskID; /* 04h */ | 2120 | U8 PhysDiskID; /* 04h */ |
1731 | U8 PhysDiskBus; /* 05h */ | 2121 | U8 PhysDiskBus; /* 05h */ |
1732 | U8 PhysDiskIOC; /* 06h */ | 2122 | U8 PhysDiskIOC; /* 06h */ |
1733 | U8 PhysDiskNum; /* 07h */ | 2123 | U8 PhysDiskNum; /* 07h */ |
1734 | RAID_PHYS_DISK0_SETTINGS PhysDiskSettings; /* 08h */ | 2124 | RAID_PHYS_DISK0_SETTINGS PhysDiskSettings; /* 08h */ |
1735 | U32 Reserved1; /* 0Ch */ | 2125 | U32 Reserved1; /* 0Ch */ |
1736 | U32 Reserved2; /* 10h */ | 2126 | U8 ExtDiskIdentifier[8]; /* 10h */ |
1737 | U32 Reserved3; /* 14h */ | ||
1738 | U8 DiskIdentifier[16]; /* 18h */ | 2127 | U8 DiskIdentifier[16]; /* 18h */ |
1739 | RAID_PHYS_DISK0_INQUIRY_DATA InquiryData; /* 28h */ | 2128 | RAID_PHYS_DISK0_INQUIRY_DATA InquiryData; /* 28h */ |
1740 | RAID_PHYS_DISK0_STATUS PhysDiskStatus; /* 64h */ | 2129 | RAID_PHYS_DISK0_STATUS PhysDiskStatus; /* 64h */ |
1741 | U32 MaxLBA; /* 68h */ | 2130 | U32 MaxLBA; /* 68h */ |
1742 | RAID_PHYS_DISK0_ERROR_DATA ErrorData; /* 6Ch */ | 2131 | RAID_PHYS_DISK0_ERROR_DATA ErrorData; /* 6Ch */ |
1743 | } fCONFIG_PAGE_RAID_PHYS_DISK_0, MPI_POINTER PTR_CONFIG_PAGE_RAID_PHYS_DISK_0, | 2132 | } CONFIG_PAGE_RAID_PHYS_DISK_0, MPI_POINTER PTR_CONFIG_PAGE_RAID_PHYS_DISK_0, |
1744 | RaidPhysDiskPage0_t, MPI_POINTER pRaidPhysDiskPage0_t; | 2133 | RaidPhysDiskPage0_t, MPI_POINTER pRaidPhysDiskPage0_t; |
1745 | 2134 | ||
1746 | #define MPI_RAIDPHYSDISKPAGE0_PAGEVERSION (0x00) | 2135 | #define MPI_RAIDPHYSDISKPAGE0_PAGEVERSION (0x01) |
2136 | |||
2137 | |||
2138 | typedef struct _RAID_PHYS_DISK1_PATH | ||
2139 | { | ||
2140 | U8 PhysDiskID; /* 00h */ | ||
2141 | U8 PhysDiskBus; /* 01h */ | ||
2142 | U16 Reserved1; /* 02h */ | ||
2143 | U64 WWID; /* 04h */ | ||
2144 | U64 OwnerWWID; /* 0Ch */ | ||
2145 | U8 OwnerIdentifier; /* 14h */ | ||
2146 | U8 Reserved2; /* 15h */ | ||
2147 | U16 Flags; /* 16h */ | ||
2148 | } RAID_PHYS_DISK1_PATH, MPI_POINTER PTR_RAID_PHYS_DISK1_PATH, | ||
2149 | RaidPhysDisk1Path_t, MPI_POINTER pRaidPhysDisk1Path_t; | ||
2150 | |||
2151 | /* RAID Physical Disk Page 1 Flags field defines */ | ||
2152 | #define MPI_RAID_PHYSDISK1_FLAG_BROKEN (0x0002) | ||
2153 | #define MPI_RAID_PHYSDISK1_FLAG_INVALID (0x0001) | ||
2154 | |||
2155 | typedef struct _CONFIG_PAGE_RAID_PHYS_DISK_1 | ||
2156 | { | ||
2157 | CONFIG_PAGE_HEADER Header; /* 00h */ | ||
2158 | U8 NumPhysDiskPaths; /* 04h */ | ||
2159 | U8 PhysDiskNum; /* 05h */ | ||
2160 | U16 Reserved2; /* 06h */ | ||
2161 | U32 Reserved1; /* 08h */ | ||
2162 | RAID_PHYS_DISK1_PATH Path[1]; /* 0Ch */ | ||
2163 | } CONFIG_PAGE_RAID_PHYS_DISK_1, MPI_POINTER PTR_CONFIG_PAGE_RAID_PHYS_DISK_1, | ||
2164 | RaidPhysDiskPage1_t, MPI_POINTER pRaidPhysDiskPage1_t; | ||
2165 | |||
2166 | #define MPI_RAIDPHYSDISKPAGE1_PAGEVERSION (0x00) | ||
1747 | 2167 | ||
1748 | 2168 | ||
1749 | /**************************************************************************** | 2169 | /**************************************************************************** |
@@ -1756,7 +2176,7 @@ typedef struct _CONFIG_PAGE_LAN_0 | |||
1756 | U16 TxRxModes; /* 04h */ | 2176 | U16 TxRxModes; /* 04h */ |
1757 | U16 Reserved; /* 06h */ | 2177 | U16 Reserved; /* 06h */ |
1758 | U32 PacketPrePad; /* 08h */ | 2178 | U32 PacketPrePad; /* 08h */ |
1759 | } fCONFIG_PAGE_LAN_0, MPI_POINTER PTR_CONFIG_PAGE_LAN_0, | 2179 | } CONFIG_PAGE_LAN_0, MPI_POINTER PTR_CONFIG_PAGE_LAN_0, |
1760 | LANPage0_t, MPI_POINTER pLANPage0_t; | 2180 | LANPage0_t, MPI_POINTER pLANPage0_t; |
1761 | 2181 | ||
1762 | #define MPI_LAN_PAGE0_PAGEVERSION (0x01) | 2182 | #define MPI_LAN_PAGE0_PAGEVERSION (0x01) |
@@ -1781,7 +2201,7 @@ typedef struct _CONFIG_PAGE_LAN_1 | |||
1781 | U32 MaxReplySize; /* 24h */ | 2201 | U32 MaxReplySize; /* 24h */ |
1782 | U32 NegWireSpeedLow; /* 28h */ | 2202 | U32 NegWireSpeedLow; /* 28h */ |
1783 | U32 NegWireSpeedHigh; /* 2Ch */ | 2203 | U32 NegWireSpeedHigh; /* 2Ch */ |
1784 | } fCONFIG_PAGE_LAN_1, MPI_POINTER PTR_CONFIG_PAGE_LAN_1, | 2204 | } CONFIG_PAGE_LAN_1, MPI_POINTER PTR_CONFIG_PAGE_LAN_1, |
1785 | LANPage1_t, MPI_POINTER pLANPage1_t; | 2205 | LANPage1_t, MPI_POINTER pLANPage1_t; |
1786 | 2206 | ||
1787 | #define MPI_LAN_PAGE1_PAGEVERSION (0x03) | 2207 | #define MPI_LAN_PAGE1_PAGEVERSION (0x03) |
@@ -1796,11 +2216,11 @@ typedef struct _CONFIG_PAGE_LAN_1 | |||
1796 | 2216 | ||
1797 | typedef struct _CONFIG_PAGE_INBAND_0 | 2217 | typedef struct _CONFIG_PAGE_INBAND_0 |
1798 | { | 2218 | { |
1799 | fCONFIG_PAGE_HEADER Header; /* 00h */ | 2219 | CONFIG_PAGE_HEADER Header; /* 00h */ |
1800 | MPI_VERSION_FORMAT InbandVersion; /* 04h */ | 2220 | MPI_VERSION_FORMAT InbandVersion; /* 04h */ |
1801 | U16 MaximumBuffers; /* 08h */ | 2221 | U16 MaximumBuffers; /* 08h */ |
1802 | U16 Reserved1; /* 0Ah */ | 2222 | U16 Reserved1; /* 0Ah */ |
1803 | } fCONFIG_PAGE_INBAND_0, MPI_POINTER PTR_CONFIG_PAGE_INBAND_0, | 2223 | } CONFIG_PAGE_INBAND_0, MPI_POINTER PTR_CONFIG_PAGE_INBAND_0, |
1804 | InbandPage0_t, MPI_POINTER pInbandPage0_t; | 2224 | InbandPage0_t, MPI_POINTER pInbandPage0_t; |
1805 | 2225 | ||
1806 | #define MPI_INBAND_PAGEVERSION (0x00) | 2226 | #define MPI_INBAND_PAGEVERSION (0x00) |
@@ -1820,7 +2240,7 @@ typedef struct _MPI_SAS_IO_UNIT0_PHY_DATA | |||
1820 | U32 ControllerPhyDeviceInfo;/* 04h */ | 2240 | U32 ControllerPhyDeviceInfo;/* 04h */ |
1821 | U16 AttachedDeviceHandle; /* 08h */ | 2241 | U16 AttachedDeviceHandle; /* 08h */ |
1822 | U16 ControllerDevHandle; /* 0Ah */ | 2242 | U16 ControllerDevHandle; /* 0Ah */ |
1823 | U32 Reserved2; /* 0Ch */ | 2243 | U32 DiscoveryStatus; /* 0Ch */ |
1824 | } MPI_SAS_IO_UNIT0_PHY_DATA, MPI_POINTER PTR_MPI_SAS_IO_UNIT0_PHY_DATA, | 2244 | } MPI_SAS_IO_UNIT0_PHY_DATA, MPI_POINTER PTR_MPI_SAS_IO_UNIT0_PHY_DATA, |
1825 | SasIOUnit0PhyData, MPI_POINTER pSasIOUnit0PhyData; | 2245 | SasIOUnit0PhyData, MPI_POINTER pSasIOUnit0PhyData; |
1826 | 2246 | ||
@@ -1834,22 +2254,21 @@ typedef struct _MPI_SAS_IO_UNIT0_PHY_DATA | |||
1834 | 2254 | ||
1835 | typedef struct _CONFIG_PAGE_SAS_IO_UNIT_0 | 2255 | typedef struct _CONFIG_PAGE_SAS_IO_UNIT_0 |
1836 | { | 2256 | { |
1837 | fCONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | 2257 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ |
1838 | U32 Reserved1; /* 08h */ | 2258 | U32 Reserved1; /* 08h */ |
1839 | U8 NumPhys; /* 0Ch */ | 2259 | U8 NumPhys; /* 0Ch */ |
1840 | U8 Reserved2; /* 0Dh */ | 2260 | U8 Reserved2; /* 0Dh */ |
1841 | U16 Reserved3; /* 0Eh */ | 2261 | U16 Reserved3; /* 0Eh */ |
1842 | MPI_SAS_IO_UNIT0_PHY_DATA PhyData[MPI_SAS_IOUNIT0_PHY_MAX]; /* 10h */ | 2262 | MPI_SAS_IO_UNIT0_PHY_DATA PhyData[MPI_SAS_IOUNIT0_PHY_MAX]; /* 10h */ |
1843 | } fCONFIG_PAGE_SAS_IO_UNIT_0, MPI_POINTER PTR_CONFIG_PAGE_SAS_IO_UNIT_0, | 2263 | } CONFIG_PAGE_SAS_IO_UNIT_0, MPI_POINTER PTR_CONFIG_PAGE_SAS_IO_UNIT_0, |
1844 | SasIOUnitPage0_t, MPI_POINTER pSasIOUnitPage0_t; | 2264 | SasIOUnitPage0_t, MPI_POINTER pSasIOUnitPage0_t; |
1845 | 2265 | ||
1846 | #define MPI_SASIOUNITPAGE0_PAGEVERSION (0x00) | 2266 | #define MPI_SASIOUNITPAGE0_PAGEVERSION (0x02) |
1847 | 2267 | ||
1848 | /* values for SAS IO Unit Page 0 PortFlags */ | 2268 | /* values for SAS IO Unit Page 0 PortFlags */ |
1849 | #define MPI_SAS_IOUNIT0_PORT_FLAGS_DISCOVERY_IN_PROGRESS (0x08) | 2269 | #define MPI_SAS_IOUNIT0_PORT_FLAGS_DISCOVERY_IN_PROGRESS (0x08) |
1850 | #define MPI_SAS_IOUNIT0_PORT_FLAGS_0_TARGET_IOC_NUM (0x00) | 2270 | #define MPI_SAS_IOUNIT0_PORT_FLAGS_0_TARGET_IOC_NUM (0x00) |
1851 | #define MPI_SAS_IOUNIT0_PORT_FLAGS_1_TARGET_IOC_NUM (0x04) | 2271 | #define MPI_SAS_IOUNIT0_PORT_FLAGS_1_TARGET_IOC_NUM (0x04) |
1852 | #define MPI_SAS_IOUNIT0_PORT_FLAGS_WAIT_FOR_PORTENABLE (0x02) | ||
1853 | #define MPI_SAS_IOUNIT0_PORT_FLAGS_AUTO_PORT_CONFIG (0x01) | 2272 | #define MPI_SAS_IOUNIT0_PORT_FLAGS_AUTO_PORT_CONFIG (0x01) |
1854 | 2273 | ||
1855 | /* values for SAS IO Unit Page 0 PhyFlags */ | 2274 | /* values for SAS IO Unit Page 0 PhyFlags */ |
@@ -1867,6 +2286,20 @@ typedef struct _CONFIG_PAGE_SAS_IO_UNIT_0 | |||
1867 | 2286 | ||
1868 | /* see mpi_sas.h for values for SAS IO Unit Page 0 ControllerPhyDeviceInfo values */ | 2287 | /* see mpi_sas.h for values for SAS IO Unit Page 0 ControllerPhyDeviceInfo values */ |
1869 | 2288 | ||
2289 | /* values for SAS IO Unit Page 0 DiscoveryStatus */ | ||
2290 | #define MPI_SAS_IOUNIT0_DS_LOOP_DETECTED (0x00000001) | ||
2291 | #define MPI_SAS_IOUNIT0_DS_UNADDRESSABLE_DEVICE (0x00000002) | ||
2292 | #define MPI_SAS_IOUNIT0_DS_MULTIPLE_PORTS (0x00000004) | ||
2293 | #define MPI_SAS_IOUNIT0_DS_EXPANDER_ERR (0x00000008) | ||
2294 | #define MPI_SAS_IOUNIT0_DS_SMP_TIMEOUT (0x00000010) | ||
2295 | #define MPI_SAS_IOUNIT0_DS_OUT_ROUTE_ENTRIES (0x00000020) | ||
2296 | #define MPI_SAS_IOUNIT0_DS_INDEX_NOT_EXIST (0x00000040) | ||
2297 | #define MPI_SAS_IOUNIT0_DS_SMP_FUNCTION_FAILED (0x00000080) | ||
2298 | #define MPI_SAS_IOUNIT0_DS_SMP_CRC_ERROR (0x00000100) | ||
2299 | #define MPI_SAS_IOUNIT0_DS_SUBTRACTIVE_LINK (0x00000200) | ||
2300 | #define MPI_SAS_IOUNIT0_DS_TABLE_LINK (0x00000400) | ||
2301 | #define MPI_SAS_IOUNIT0_DS_UNSUPPORTED_DEVICE (0x00000800) | ||
2302 | |||
1870 | 2303 | ||
1871 | typedef struct _MPI_SAS_IO_UNIT1_PHY_DATA | 2304 | typedef struct _MPI_SAS_IO_UNIT1_PHY_DATA |
1872 | { | 2305 | { |
@@ -1889,52 +2322,75 @@ typedef struct _MPI_SAS_IO_UNIT1_PHY_DATA | |||
1889 | 2322 | ||
1890 | typedef struct _CONFIG_PAGE_SAS_IO_UNIT_1 | 2323 | typedef struct _CONFIG_PAGE_SAS_IO_UNIT_1 |
1891 | { | 2324 | { |
1892 | fCONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | 2325 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ |
1893 | U32 Reserved1; /* 08h */ | 2326 | U16 ControlFlags; /* 08h */ |
1894 | U8 NumPhys; /* 0Ch */ | 2327 | U16 MaxNumSATATargets; /* 0Ah */ |
1895 | U8 Reserved2; /* 0Dh */ | 2328 | U32 Reserved1; /* 0Ch */ |
1896 | U16 Reserved3; /* 0Eh */ | 2329 | U8 NumPhys; /* 10h */ |
1897 | MPI_SAS_IO_UNIT1_PHY_DATA PhyData[MPI_SAS_IOUNIT1_PHY_MAX]; /* 10h */ | 2330 | U8 SATAMaxQDepth; /* 11h */ |
1898 | } fCONFIG_PAGE_SAS_IO_UNIT_1, MPI_POINTER PTR_CONFIG_PAGE_SAS_IO_UNIT_1, | 2331 | U16 Reserved2; /* 12h */ |
2332 | MPI_SAS_IO_UNIT1_PHY_DATA PhyData[MPI_SAS_IOUNIT1_PHY_MAX]; /* 14h */ | ||
2333 | } CONFIG_PAGE_SAS_IO_UNIT_1, MPI_POINTER PTR_CONFIG_PAGE_SAS_IO_UNIT_1, | ||
1899 | SasIOUnitPage1_t, MPI_POINTER pSasIOUnitPage1_t; | 2334 | SasIOUnitPage1_t, MPI_POINTER pSasIOUnitPage1_t; |
1900 | 2335 | ||
1901 | #define MPI_SASIOUNITPAGE1_PAGEVERSION (0x00) | 2336 | #define MPI_SASIOUNITPAGE1_PAGEVERSION (0x04) |
1902 | 2337 | ||
1903 | /* values for SAS IO Unit Page 0 PortFlags */ | 2338 | /* values for SAS IO Unit Page 1 ControlFlags */ |
1904 | #define MPI_SAS_IOUNIT1_PORT_FLAGS_0_TARGET_IOC_NUM (0x00) | 2339 | #define MPI_SAS_IOUNIT1_CONTROL_SATA_3_0_MAX (0x4000) |
1905 | #define MPI_SAS_IOUNIT1_PORT_FLAGS_1_TARGET_IOC_NUM (0x04) | 2340 | #define MPI_SAS_IOUNIT1_CONTROL_SATA_1_5_MAX (0x2000) |
1906 | #define MPI_SAS_IOUNIT1_PORT_FLAGS_WAIT_FOR_PORTENABLE (0x02) | 2341 | #define MPI_SAS_IOUNIT1_CONTROL_SATA_SW_PRESERVE (0x1000) |
1907 | #define MPI_SAS_IOUNIT1_PORT_FLAGS_AUTO_PORT_CONFIG (0x01) | 2342 | #define MPI_SAS_IOUNIT1_CONTROL_DISABLE_SAS_HASH (0x0800) |
2343 | |||
2344 | #define MPI_SAS_IOUNIT1_CONTROL_MASK_DEV_SUPPORT (0x0600) | ||
2345 | #define MPI_SAS_IOUNIT1_CONTROL_SHIFT_DEV_SUPPORT (9) | ||
2346 | #define MPI_SAS_IOUNIT1_CONTROL_DEV_SUPPORT_BOTH (0x00) | ||
2347 | #define MPI_SAS_IOUNIT1_CONTROL_DEV_SAS_SUPPORT (0x01) | ||
2348 | #define MPI_SAS_IOUNIT1_CONTROL_DEV_SATA_SUPPORT (0x10) | ||
2349 | |||
2350 | #define MPI_SAS_IOUNIT1_CONTROL_AUTO_PORT_SAME_SAS_ADDR (0x0100) | ||
2351 | #define MPI_SAS_IOUNIT1_CONTROL_SATA_48BIT_LBA_REQUIRED (0x0080) | ||
2352 | #define MPI_SAS_IOUNIT1_CONTROL_SATA_SMART_REQUIRED (0x0040) | ||
2353 | #define MPI_SAS_IOUNIT1_CONTROL_SATA_NCQ_REQUIRED (0x0020) | ||
2354 | #define MPI_SAS_IOUNIT1_CONTROL_SATA_FUA_REQUIRED (0x0010) | ||
2355 | #define MPI_SAS_IOUNIT1_CONTROL_PHY_ENABLE_ORDER_HIGH (0x0008) | ||
2356 | #define MPI_SAS_IOUNIT1_CONTROL_SUBTRACTIVE_ILLEGAL (0x0004) | ||
2357 | #define MPI_SAS_IOUNIT1_CONTROL_FIRST_LVL_DISC_ONLY (0x0002) | ||
2358 | #define MPI_SAS_IOUNIT1_CONTROL_CLEAR_AFFILIATION (0x0001) | ||
2359 | |||
2360 | /* values for SAS IO Unit Page 1 PortFlags */ | ||
2361 | #define MPI_SAS_IOUNIT1_PORT_FLAGS_0_TARGET_IOC_NUM (0x00) | ||
2362 | #define MPI_SAS_IOUNIT1_PORT_FLAGS_1_TARGET_IOC_NUM (0x04) | ||
2363 | #define MPI_SAS_IOUNIT1_PORT_FLAGS_AUTO_PORT_CONFIG (0x01) | ||
1908 | 2364 | ||
1909 | /* values for SAS IO Unit Page 0 PhyFlags */ | 2365 | /* values for SAS IO Unit Page 0 PhyFlags */ |
1910 | #define MPI_SAS_IOUNIT1_PHY_FLAGS_PHY_DISABLE (0x04) | 2366 | #define MPI_SAS_IOUNIT1_PHY_FLAGS_PHY_DISABLE (0x04) |
1911 | #define MPI_SAS_IOUNIT1_PHY_FLAGS_TX_INVERT (0x02) | 2367 | #define MPI_SAS_IOUNIT1_PHY_FLAGS_TX_INVERT (0x02) |
1912 | #define MPI_SAS_IOUNIT1_PHY_FLAGS_RX_INVERT (0x01) | 2368 | #define MPI_SAS_IOUNIT1_PHY_FLAGS_RX_INVERT (0x01) |
1913 | 2369 | ||
1914 | /* values for SAS IO Unit Page 0 MaxMinLinkRate */ | 2370 | /* values for SAS IO Unit Page 0 MaxMinLinkRate */ |
1915 | #define MPI_SAS_IOUNIT1_MAX_RATE_MASK (0xF0) | 2371 | #define MPI_SAS_IOUNIT1_MAX_RATE_MASK (0xF0) |
1916 | #define MPI_SAS_IOUNIT1_MAX_RATE_1_5 (0x80) | 2372 | #define MPI_SAS_IOUNIT1_MAX_RATE_1_5 (0x80) |
1917 | #define MPI_SAS_IOUNIT1_MAX_RATE_3_0 (0x90) | 2373 | #define MPI_SAS_IOUNIT1_MAX_RATE_3_0 (0x90) |
1918 | #define MPI_SAS_IOUNIT1_MIN_RATE_MASK (0x0F) | 2374 | #define MPI_SAS_IOUNIT1_MIN_RATE_MASK (0x0F) |
1919 | #define MPI_SAS_IOUNIT1_MIN_RATE_1_5 (0x08) | 2375 | #define MPI_SAS_IOUNIT1_MIN_RATE_1_5 (0x08) |
1920 | #define MPI_SAS_IOUNIT1_MIN_RATE_3_0 (0x09) | 2376 | #define MPI_SAS_IOUNIT1_MIN_RATE_3_0 (0x09) |
1921 | 2377 | ||
1922 | /* see mpi_sas.h for values for SAS IO Unit Page 1 ControllerPhyDeviceInfo values */ | 2378 | /* see mpi_sas.h for values for SAS IO Unit Page 1 ControllerPhyDeviceInfo values */ |
1923 | 2379 | ||
1924 | 2380 | ||
1925 | typedef struct _CONFIG_PAGE_SAS_IO_UNIT_2 | 2381 | typedef struct _CONFIG_PAGE_SAS_IO_UNIT_2 |
1926 | { | 2382 | { |
1927 | fCONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | 2383 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ |
1928 | U32 Reserved1; /* 08h */ | 2384 | U32 Reserved1; /* 08h */ |
1929 | U16 MaxPersistentIDs; /* 0Ch */ | 2385 | U16 MaxPersistentIDs; /* 0Ch */ |
1930 | U16 NumPersistentIDsUsed; /* 0Eh */ | 2386 | U16 NumPersistentIDsUsed; /* 0Eh */ |
1931 | U8 Status; /* 10h */ | 2387 | U8 Status; /* 10h */ |
1932 | U8 Flags; /* 11h */ | 2388 | U8 Flags; /* 11h */ |
1933 | U16 Reserved2; /* 12h */ | 2389 | U16 MaxNumPhysicalMappedIDs;/* 12h */ /* 12h */ |
1934 | } fCONFIG_PAGE_SAS_IO_UNIT_2, MPI_POINTER PTR_CONFIG_PAGE_SAS_IO_UNIT_2, | 2390 | } CONFIG_PAGE_SAS_IO_UNIT_2, MPI_POINTER PTR_CONFIG_PAGE_SAS_IO_UNIT_2, |
1935 | SasIOUnitPage2_t, MPI_POINTER pSasIOUnitPage2_t; | 2391 | SasIOUnitPage2_t, MPI_POINTER pSasIOUnitPage2_t; |
1936 | 2392 | ||
1937 | #define MPI_SASIOUNITPAGE2_PAGEVERSION (0x00) | 2393 | #define MPI_SASIOUNITPAGE2_PAGEVERSION (0x03) |
1938 | 2394 | ||
1939 | /* values for SAS IO Unit Page 2 Status field */ | 2395 | /* values for SAS IO Unit Page 2 Status field */ |
1940 | #define MPI_SAS_IOUNIT2_STATUS_DISABLED_PERSISTENT_MAPPINGS (0x02) | 2396 | #define MPI_SAS_IOUNIT2_STATUS_DISABLED_PERSISTENT_MAPPINGS (0x02) |
@@ -1942,11 +2398,19 @@ typedef struct _CONFIG_PAGE_SAS_IO_UNIT_2 | |||
1942 | 2398 | ||
1943 | /* values for SAS IO Unit Page 2 Flags field */ | 2399 | /* values for SAS IO Unit Page 2 Flags field */ |
1944 | #define MPI_SAS_IOUNIT2_FLAGS_DISABLE_PERSISTENT_MAPPINGS (0x01) | 2400 | #define MPI_SAS_IOUNIT2_FLAGS_DISABLE_PERSISTENT_MAPPINGS (0x01) |
2401 | /* Physical Mapping Modes */ | ||
2402 | #define MPI_SAS_IOUNIT2_FLAGS_MASK_PHYS_MAP_MODE (0x0E) | ||
2403 | #define MPI_SAS_IOUNIT2_FLAGS_SHIFT_PHYS_MAP_MODE (1) | ||
2404 | #define MPI_SAS_IOUNIT2_FLAGS_NO_PHYS_MAP (0x00) | ||
2405 | #define MPI_SAS_IOUNIT2_FLAGS_DIRECT_ATTACH_PHYS_MAP (0x01) | ||
2406 | #define MPI_SAS_IOUNIT2_FLAGS_ENCLOSURE_SLOT_PHYS_MAP (0x02) | ||
2407 | |||
2408 | #define MPI_SAS_IOUNIT2_FLAGS_RESERVE_ID_0_FOR_BOOT (0x10) | ||
1945 | 2409 | ||
1946 | 2410 | ||
1947 | typedef struct _CONFIG_PAGE_SAS_IO_UNIT_3 | 2411 | typedef struct _CONFIG_PAGE_SAS_IO_UNIT_3 |
1948 | { | 2412 | { |
1949 | fCONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | 2413 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ |
1950 | U32 Reserved1; /* 08h */ | 2414 | U32 Reserved1; /* 08h */ |
1951 | U32 MaxInvalidDwordCount; /* 0Ch */ | 2415 | U32 MaxInvalidDwordCount; /* 0Ch */ |
1952 | U32 InvalidDwordCountTime; /* 10h */ | 2416 | U32 InvalidDwordCountTime; /* 10h */ |
@@ -1956,18 +2420,24 @@ typedef struct _CONFIG_PAGE_SAS_IO_UNIT_3 | |||
1956 | U32 LossDwordSynchCountTime; /* 20h */ | 2420 | U32 LossDwordSynchCountTime; /* 20h */ |
1957 | U32 MaxPhyResetProblemCount; /* 24h */ | 2421 | U32 MaxPhyResetProblemCount; /* 24h */ |
1958 | U32 PhyResetProblemTime; /* 28h */ | 2422 | U32 PhyResetProblemTime; /* 28h */ |
1959 | } fCONFIG_PAGE_SAS_IO_UNIT_3, MPI_POINTER PTR_CONFIG_PAGE_SAS_IO_UNIT_3, | 2423 | } CONFIG_PAGE_SAS_IO_UNIT_3, MPI_POINTER PTR_CONFIG_PAGE_SAS_IO_UNIT_3, |
1960 | SasIOUnitPage3_t, MPI_POINTER pSasIOUnitPage3_t; | 2424 | SasIOUnitPage3_t, MPI_POINTER pSasIOUnitPage3_t; |
1961 | 2425 | ||
1962 | #define MPI_SASIOUNITPAGE3_PAGEVERSION (0x00) | 2426 | #define MPI_SASIOUNITPAGE3_PAGEVERSION (0x00) |
1963 | 2427 | ||
1964 | 2428 | ||
2429 | /**************************************************************************** | ||
2430 | * SAS Expander Config Pages | ||
2431 | ****************************************************************************/ | ||
2432 | |||
1965 | typedef struct _CONFIG_PAGE_SAS_EXPANDER_0 | 2433 | typedef struct _CONFIG_PAGE_SAS_EXPANDER_0 |
1966 | { | 2434 | { |
1967 | fCONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | 2435 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ |
1968 | U32 Reserved1; /* 08h */ | 2436 | U8 PhysicalPort; /* 08h */ |
2437 | U8 Reserved1; /* 09h */ | ||
2438 | U16 Reserved2; /* 0Ah */ | ||
1969 | U64 SASAddress; /* 0Ch */ | 2439 | U64 SASAddress; /* 0Ch */ |
1970 | U32 Reserved2; /* 14h */ | 2440 | U32 DiscoveryStatus; /* 14h */ |
1971 | U16 DevHandle; /* 18h */ | 2441 | U16 DevHandle; /* 18h */ |
1972 | U16 ParentDevHandle; /* 1Ah */ | 2442 | U16 ParentDevHandle; /* 1Ah */ |
1973 | U16 ExpanderChangeCount; /* 1Ch */ | 2443 | U16 ExpanderChangeCount; /* 1Ch */ |
@@ -1976,45 +2446,127 @@ typedef struct _CONFIG_PAGE_SAS_EXPANDER_0 | |||
1976 | U8 SASLevel; /* 21h */ | 2446 | U8 SASLevel; /* 21h */ |
1977 | U8 Flags; /* 22h */ | 2447 | U8 Flags; /* 22h */ |
1978 | U8 Reserved3; /* 23h */ | 2448 | U8 Reserved3; /* 23h */ |
1979 | } fCONFIG_PAGE_SAS_EXPANDER_0, MPI_POINTER PTR_CONFIG_PAGE_SAS_EXPANDER_0, | 2449 | } CONFIG_PAGE_SAS_EXPANDER_0, MPI_POINTER PTR_CONFIG_PAGE_SAS_EXPANDER_0, |
1980 | SasExpanderPage0_t, MPI_POINTER pSasExpanderPage0_t; | 2450 | SasExpanderPage0_t, MPI_POINTER pSasExpanderPage0_t; |
1981 | 2451 | ||
1982 | #define MPI_SASEXPANDER0_PAGEVERSION (0x00) | 2452 | #define MPI_SASEXPANDER0_PAGEVERSION (0x02) |
2453 | |||
2454 | /* values for SAS Expander Page 0 DiscoveryStatus field */ | ||
2455 | #define MPI_SAS_EXPANDER0_DS_LOOP_DETECTED (0x00000001) | ||
2456 | #define MPI_SAS_EXPANDER0_DS_UNADDRESSABLE_DEVICE (0x00000002) | ||
2457 | #define MPI_SAS_EXPANDER0_DS_MULTIPLE_PORTS (0x00000004) | ||
2458 | #define MPI_SAS_EXPANDER0_DS_EXPANDER_ERR (0x00000008) | ||
2459 | #define MPI_SAS_EXPANDER0_DS_SMP_TIMEOUT (0x00000010) | ||
2460 | #define MPI_SAS_EXPANDER0_DS_OUT_ROUTE_ENTRIES (0x00000020) | ||
2461 | #define MPI_SAS_EXPANDER0_DS_INDEX_NOT_EXIST (0x00000040) | ||
2462 | #define MPI_SAS_EXPANDER0_DS_SMP_FUNCTION_FAILED (0x00000080) | ||
2463 | #define MPI_SAS_EXPANDER0_DS_SMP_CRC_ERROR (0x00000100) | ||
2464 | #define MPI_SAS_EXPANDER0_DS_SUBTRACTIVE_LINK (0x00000200) | ||
2465 | #define MPI_SAS_EXPANDER0_DS_TABLE_LINK (0x00000400) | ||
2466 | #define MPI_SAS_EXPANDER0_DS_UNSUPPORTED_DEVICE (0x00000800) | ||
1983 | 2467 | ||
1984 | /* values for SAS Expander Page 0 Flags field */ | 2468 | /* values for SAS Expander Page 0 Flags field */ |
1985 | #define MPI_SAS_EXPANDER0_FLAGS_ROUTE_TABLE_CONFIG (0x02) | 2469 | #define MPI_SAS_EXPANDER0_FLAGS_ROUTE_TABLE_CONFIG (0x02) |
1986 | #define MPI_SAS_EXPANDER0_FLAGS_CONFIG_IN_PROGRESS (0x01) | 2470 | #define MPI_SAS_EXPANDER0_FLAGS_CONFIG_IN_PROGRESS (0x01) |
1987 | 2471 | ||
1988 | 2472 | ||
2473 | typedef struct _CONFIG_PAGE_SAS_EXPANDER_1 | ||
2474 | { | ||
2475 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | ||
2476 | U8 PhysicalPort; /* 08h */ | ||
2477 | U8 Reserved1; /* 09h */ | ||
2478 | U16 Reserved2; /* 0Ah */ | ||
2479 | U8 NumPhys; /* 0Ch */ | ||
2480 | U8 Phy; /* 0Dh */ | ||
2481 | U16 NumTableEntriesProgrammed; /* 0Eh */ | ||
2482 | U8 ProgrammedLinkRate; /* 10h */ | ||
2483 | U8 HwLinkRate; /* 11h */ | ||
2484 | U16 AttachedDevHandle; /* 12h */ | ||
2485 | U32 PhyInfo; /* 14h */ | ||
2486 | U32 AttachedDeviceInfo; /* 18h */ | ||
2487 | U16 OwnerDevHandle; /* 1Ch */ | ||
2488 | U8 ChangeCount; /* 1Eh */ | ||
2489 | U8 NegotiatedLinkRate; /* 1Fh */ | ||
2490 | U8 PhyIdentifier; /* 20h */ | ||
2491 | U8 AttachedPhyIdentifier; /* 21h */ | ||
2492 | U8 NumTableEntriesProg; /* 22h */ | ||
2493 | U8 DiscoveryInfo; /* 23h */ | ||
2494 | U32 Reserved3; /* 24h */ | ||
2495 | } CONFIG_PAGE_SAS_EXPANDER_1, MPI_POINTER PTR_CONFIG_PAGE_SAS_EXPANDER_1, | ||
2496 | SasExpanderPage1_t, MPI_POINTER pSasExpanderPage1_t; | ||
2497 | |||
2498 | #define MPI_SASEXPANDER1_PAGEVERSION (0x01) | ||
2499 | |||
2500 | /* use MPI_SAS_PHY0_PRATE_ defines for ProgrammedLinkRate */ | ||
2501 | |||
2502 | /* use MPI_SAS_PHY0_HWRATE_ defines for HwLinkRate */ | ||
2503 | |||
2504 | /* use MPI_SAS_PHY0_PHYINFO_ defines for PhyInfo */ | ||
2505 | |||
2506 | /* see mpi_sas.h for values for SAS Expander Page 1 AttachedDeviceInfo values */ | ||
2507 | |||
2508 | /* values for SAS Expander Page 1 DiscoveryInfo field */ | ||
2509 | #define MPI_SAS_EXPANDER1_DISCINFO_BAD_PHY DISABLED (0x04) | ||
2510 | #define MPI_SAS_EXPANDER1_DISCINFO_LINK_STATUS_CHANGE (0x02) | ||
2511 | #define MPI_SAS_EXPANDER1_DISCINFO_NO_ROUTING_ENTRIES (0x01) | ||
2512 | |||
2513 | /* values for SAS Expander Page 1 NegotiatedLinkRate field */ | ||
2514 | #define MPI_SAS_EXPANDER1_NEG_RATE_UNKNOWN (0x00) | ||
2515 | #define MPI_SAS_EXPANDER1_NEG_RATE_PHY_DISABLED (0x01) | ||
2516 | #define MPI_SAS_EXPANDER1_NEG_RATE_FAILED_NEGOTIATION (0x02) | ||
2517 | #define MPI_SAS_EXPANDER1_NEG_RATE_SATA_OOB_COMPLETE (0x03) | ||
2518 | #define MPI_SAS_EXPANDER1_NEG_RATE_1_5 (0x08) | ||
2519 | #define MPI_SAS_EXPANDER1_NEG_RATE_3_0 (0x09) | ||
2520 | |||
2521 | |||
2522 | /**************************************************************************** | ||
2523 | * SAS Device Config Pages | ||
2524 | ****************************************************************************/ | ||
2525 | |||
1989 | typedef struct _CONFIG_PAGE_SAS_DEVICE_0 | 2526 | typedef struct _CONFIG_PAGE_SAS_DEVICE_0 |
1990 | { | 2527 | { |
1991 | fCONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | 2528 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ |
1992 | U32 Reserved1; /* 08h */ | 2529 | U16 Slot; /* 08h */ |
2530 | U16 EnclosureHandle; /* 0Ah */ | ||
1993 | U64 SASAddress; /* 0Ch */ | 2531 | U64 SASAddress; /* 0Ch */ |
1994 | U32 Reserved2; /* 14h */ | 2532 | U16 ParentDevHandle; /* 14h */ |
2533 | U8 PhyNum; /* 16h */ | ||
2534 | U8 AccessStatus; /* 17h */ | ||
1995 | U16 DevHandle; /* 18h */ | 2535 | U16 DevHandle; /* 18h */ |
1996 | U8 TargetID; /* 1Ah */ | 2536 | U8 TargetID; /* 1Ah */ |
1997 | U8 Bus; /* 1Bh */ | 2537 | U8 Bus; /* 1Bh */ |
1998 | U32 DeviceInfo; /* 1Ch */ | 2538 | U32 DeviceInfo; /* 1Ch */ |
1999 | U16 Flags; /* 20h */ | 2539 | U16 Flags; /* 20h */ |
2000 | U8 PhysicalPort; /* 22h */ | 2540 | U8 PhysicalPort; /* 22h */ |
2001 | U8 Reserved3; /* 23h */ | 2541 | U8 Reserved2; /* 23h */ |
2002 | } fCONFIG_PAGE_SAS_DEVICE_0, MPI_POINTER PTR_CONFIG_PAGE_SAS_DEVICE_0, | 2542 | } CONFIG_PAGE_SAS_DEVICE_0, MPI_POINTER PTR_CONFIG_PAGE_SAS_DEVICE_0, |
2003 | SasDevicePage0_t, MPI_POINTER pSasDevicePage0_t; | 2543 | SasDevicePage0_t, MPI_POINTER pSasDevicePage0_t; |
2004 | 2544 | ||
2005 | #define MPI_SASDEVICE0_PAGEVERSION (0x00) | 2545 | #define MPI_SASDEVICE0_PAGEVERSION (0x04) |
2546 | |||
2547 | /* values for SAS Device Page 0 AccessStatus field */ | ||
2548 | #define MPI_SAS_DEVICE0_ASTATUS_NO_ERRORS (0x00) | ||
2549 | #define MPI_SAS_DEVICE0_ASTATUS_SATA_INIT_FAILED (0x01) | ||
2550 | #define MPI_SAS_DEVICE0_ASTATUS_SATA_CAPABILITY_FAILED (0x02) | ||
2006 | 2551 | ||
2007 | /* values for SAS Device Page 0 Flags field */ | 2552 | /* values for SAS Device Page 0 Flags field */ |
2008 | #define MPI_SAS_DEVICE0_FLAGS_MAPPING_PERSISTENT (0x04) | 2553 | #define MPI_SAS_DEVICE0_FLAGS_SATA_SW_PRESERVE (0x0200) |
2009 | #define MPI_SAS_DEVICE0_FLAGS_DEVICE_MAPPED (0x02) | 2554 | #define MPI_SAS_DEVICE0_FLAGS_UNSUPPORTED_DEVICE (0x0100) |
2010 | #define MPI_SAS_DEVICE0_FLAGS_DEVICE_PRESENT (0x01) | 2555 | #define MPI_SAS_DEVICE0_FLAGS_SATA_48BIT_LBA_SUPPORTED (0x0080) |
2556 | #define MPI_SAS_DEVICE0_FLAGS_SATA_SMART_SUPPORTED (0x0040) | ||
2557 | #define MPI_SAS_DEVICE0_FLAGS_SATA_NCQ_SUPPORTED (0x0020) | ||
2558 | #define MPI_SAS_DEVICE0_FLAGS_SATA_FUA_SUPPORTED (0x0010) | ||
2559 | #define MPI_SAS_DEVICE0_FLAGS_PORT_SELECTOR_ATTACH (0x0008) | ||
2560 | #define MPI_SAS_DEVICE0_FLAGS_MAPPING_PERSISTENT (0x0004) | ||
2561 | #define MPI_SAS_DEVICE0_FLAGS_DEVICE_MAPPED (0x0002) | ||
2562 | #define MPI_SAS_DEVICE0_FLAGS_DEVICE_PRESENT (0x0001) | ||
2011 | 2563 | ||
2012 | /* see mpi_sas.h for values for SAS Device Page 0 DeviceInfo values */ | 2564 | /* see mpi_sas.h for values for SAS Device Page 0 DeviceInfo values */ |
2013 | 2565 | ||
2014 | 2566 | ||
2015 | typedef struct _CONFIG_PAGE_SAS_DEVICE_1 | 2567 | typedef struct _CONFIG_PAGE_SAS_DEVICE_1 |
2016 | { | 2568 | { |
2017 | fCONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | 2569 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ |
2018 | U32 Reserved1; /* 08h */ | 2570 | U32 Reserved1; /* 08h */ |
2019 | U64 SASAddress; /* 0Ch */ | 2571 | U64 SASAddress; /* 0Ch */ |
2020 | U32 Reserved2; /* 14h */ | 2572 | U32 Reserved2; /* 14h */ |
@@ -2022,15 +2574,30 @@ typedef struct _CONFIG_PAGE_SAS_DEVICE_1 | |||
2022 | U8 TargetID; /* 1Ah */ | 2574 | U8 TargetID; /* 1Ah */ |
2023 | U8 Bus; /* 1Bh */ | 2575 | U8 Bus; /* 1Bh */ |
2024 | U8 InitialRegDeviceFIS[20];/* 1Ch */ | 2576 | U8 InitialRegDeviceFIS[20];/* 1Ch */ |
2025 | } fCONFIG_PAGE_SAS_DEVICE_1, MPI_POINTER PTR_CONFIG_PAGE_SAS_DEVICE_1, | 2577 | } CONFIG_PAGE_SAS_DEVICE_1, MPI_POINTER PTR_CONFIG_PAGE_SAS_DEVICE_1, |
2026 | SasDevicePage1_t, MPI_POINTER pSasDevicePage1_t; | 2578 | SasDevicePage1_t, MPI_POINTER pSasDevicePage1_t; |
2027 | 2579 | ||
2028 | #define MPI_SASDEVICE1_PAGEVERSION (0x00) | 2580 | #define MPI_SASDEVICE1_PAGEVERSION (0x00) |
2029 | 2581 | ||
2030 | 2582 | ||
2583 | typedef struct _CONFIG_PAGE_SAS_DEVICE_2 | ||
2584 | { | ||
2585 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | ||
2586 | U64 PhysicalIdentifier; /* 08h */ | ||
2587 | U32 Reserved1; /* 10h */ | ||
2588 | } CONFIG_PAGE_SAS_DEVICE_2, MPI_POINTER PTR_CONFIG_PAGE_SAS_DEVICE_2, | ||
2589 | SasDevicePage2_t, MPI_POINTER pSasDevicePage2_t; | ||
2590 | |||
2591 | #define MPI_SASDEVICE2_PAGEVERSION (0x00) | ||
2592 | |||
2593 | |||
2594 | /**************************************************************************** | ||
2595 | * SAS PHY Config Pages | ||
2596 | ****************************************************************************/ | ||
2597 | |||
2031 | typedef struct _CONFIG_PAGE_SAS_PHY_0 | 2598 | typedef struct _CONFIG_PAGE_SAS_PHY_0 |
2032 | { | 2599 | { |
2033 | fCONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | 2600 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ |
2034 | U32 Reserved1; /* 08h */ | 2601 | U32 Reserved1; /* 08h */ |
2035 | U64 SASAddress; /* 0Ch */ | 2602 | U64 SASAddress; /* 0Ch */ |
2036 | U16 AttachedDevHandle; /* 14h */ | 2603 | U16 AttachedDevHandle; /* 14h */ |
@@ -2042,7 +2609,7 @@ typedef struct _CONFIG_PAGE_SAS_PHY_0 | |||
2042 | U8 ChangeCount; /* 22h */ | 2609 | U8 ChangeCount; /* 22h */ |
2043 | U8 Reserved3; /* 23h */ | 2610 | U8 Reserved3; /* 23h */ |
2044 | U32 PhyInfo; /* 24h */ | 2611 | U32 PhyInfo; /* 24h */ |
2045 | } fCONFIG_PAGE_SAS_PHY_0, MPI_POINTER PTR_CONFIG_PAGE_SAS_PHY_0, | 2612 | } CONFIG_PAGE_SAS_PHY_0, MPI_POINTER PTR_CONFIG_PAGE_SAS_PHY_0, |
2046 | SasPhyPage0_t, MPI_POINTER pSasPhyPage0_t; | 2613 | SasPhyPage0_t, MPI_POINTER pSasPhyPage0_t; |
2047 | 2614 | ||
2048 | #define MPI_SASPHY0_PAGEVERSION (0x00) | 2615 | #define MPI_SASPHY0_PAGEVERSION (0x00) |
@@ -2089,17 +2656,95 @@ typedef struct _CONFIG_PAGE_SAS_PHY_0 | |||
2089 | 2656 | ||
2090 | typedef struct _CONFIG_PAGE_SAS_PHY_1 | 2657 | typedef struct _CONFIG_PAGE_SAS_PHY_1 |
2091 | { | 2658 | { |
2092 | fCONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | 2659 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ |
2093 | U32 Reserved1; /* 08h */ | 2660 | U32 Reserved1; /* 08h */ |
2094 | U32 InvalidDwordCount; /* 0Ch */ | 2661 | U32 InvalidDwordCount; /* 0Ch */ |
2095 | U32 RunningDisparityErrorCount; /* 10h */ | 2662 | U32 RunningDisparityErrorCount; /* 10h */ |
2096 | U32 LossDwordSynchCount; /* 14h */ | 2663 | U32 LossDwordSynchCount; /* 14h */ |
2097 | U32 PhyResetProblemCount; /* 18h */ | 2664 | U32 PhyResetProblemCount; /* 18h */ |
2098 | } fCONFIG_PAGE_SAS_PHY_1, MPI_POINTER PTR_CONFIG_PAGE_SAS_PHY_1, | 2665 | } CONFIG_PAGE_SAS_PHY_1, MPI_POINTER PTR_CONFIG_PAGE_SAS_PHY_1, |
2099 | SasPhyPage1_t, MPI_POINTER pSasPhyPage1_t; | 2666 | SasPhyPage1_t, MPI_POINTER pSasPhyPage1_t; |
2100 | 2667 | ||
2101 | #define MPI_SASPHY1_PAGEVERSION (0x00) | 2668 | #define MPI_SASPHY1_PAGEVERSION (0x00) |
2102 | 2669 | ||
2103 | 2670 | ||
2671 | /**************************************************************************** | ||
2672 | * SAS Enclosure Config Pages | ||
2673 | ****************************************************************************/ | ||
2674 | |||
2675 | typedef struct _CONFIG_PAGE_SAS_ENCLOSURE_0 | ||
2676 | { | ||
2677 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | ||
2678 | U32 Reserved1; /* 08h */ | ||
2679 | U64 EnclosureLogicalID; /* 0Ch */ | ||
2680 | U16 Flags; /* 14h */ | ||
2681 | U16 EnclosureHandle; /* 16h */ | ||
2682 | U16 NumSlots; /* 18h */ | ||
2683 | U16 StartSlot; /* 1Ah */ | ||
2684 | U8 StartTargetID; /* 1Ch */ | ||
2685 | U8 StartBus; /* 1Dh */ | ||
2686 | U8 SEPTargetID; /* 1Eh */ | ||
2687 | U8 SEPBus; /* 1Fh */ | ||
2688 | U32 Reserved2; /* 20h */ | ||
2689 | U32 Reserved3; /* 24h */ | ||
2690 | } CONFIG_PAGE_SAS_ENCLOSURE_0, MPI_POINTER PTR_CONFIG_PAGE_SAS_ENCLOSURE_0, | ||
2691 | SasEnclosurePage0_t, MPI_POINTER pSasEnclosurePage0_t; | ||
2692 | |||
2693 | #define MPI_SASENCLOSURE0_PAGEVERSION (0x00) | ||
2694 | |||
2695 | /* values for SAS Enclosure Page 0 Flags field */ | ||
2696 | #define MPI_SAS_ENCLS0_FLAGS_SEP_BUS_ID_VALID (0x0020) | ||
2697 | #define MPI_SAS_ENCLS0_FLAGS_START_BUS_ID_VALID (0x0010) | ||
2698 | |||
2699 | #define MPI_SAS_ENCLS0_FLAGS_MNG_MASK (0x000F) | ||
2700 | #define MPI_SAS_ENCLS0_FLAGS_MNG_UNKNOWN (0x0000) | ||
2701 | #define MPI_SAS_ENCLS0_FLAGS_MNG_IOC_SES (0x0001) | ||
2702 | #define MPI_SAS_ENCLS0_FLAGS_MNG_IOC_SGPIO (0x0002) | ||
2703 | #define MPI_SAS_ENCLS0_FLAGS_MNG_EXP_SGPIO (0x0003) | ||
2704 | #define MPI_SAS_ENCLS0_FLAGS_MNG_SES_ENCLOSURE (0x0004) | ||
2705 | |||
2706 | |||
2707 | /**************************************************************************** | ||
2708 | * Log Config Pages | ||
2709 | ****************************************************************************/ | ||
2710 | /* | ||
2711 | * Host code (drivers, BIOS, utilities, etc.) should leave this define set to | ||
2712 | * one and check NumLogEntries at runtime. | ||
2713 | */ | ||
2714 | #ifndef MPI_LOG_0_NUM_LOG_ENTRIES | ||
2715 | #define MPI_LOG_0_NUM_LOG_ENTRIES (1) | ||
2716 | #endif | ||
2717 | |||
2718 | #define MPI_LOG_0_LOG_DATA_LENGTH (20) | ||
2719 | |||
2720 | typedef struct _MPI_LOG_0_ENTRY | ||
2721 | { | ||
2722 | U64 WWID; /* 00h */ | ||
2723 | U32 TimeStamp; /* 08h */ | ||
2724 | U32 Reserved1; /* 0Ch */ | ||
2725 | U16 LogSequence; /* 10h */ | ||
2726 | U16 LogEntryQualifier; /* 12h */ | ||
2727 | U8 LogData[MPI_LOG_0_LOG_DATA_LENGTH]; /* 14h */ | ||
2728 | } MPI_LOG_0_ENTRY, MPI_POINTER PTR_MPI_LOG_0_ENTRY, | ||
2729 | MpiLog0Entry_t, MPI_POINTER pMpiLog0Entry_t; | ||
2730 | |||
2731 | /* values for Log Page 0 LogEntry LogEntryQualifier field */ | ||
2732 | #define MPI_LOG_0_ENTRY_QUAL_ENTRY_UNUSED (0x0000) | ||
2733 | #define MPI_LOG_0_ENTRY_QUAL_POWER_ON_RESET (0x0001) | ||
2734 | |||
2735 | typedef struct _CONFIG_PAGE_LOG_0 | ||
2736 | { | ||
2737 | CONFIG_EXTENDED_PAGE_HEADER Header; /* 00h */ | ||
2738 | U32 Reserved1; /* 08h */ | ||
2739 | U32 Reserved2; /* 0Ch */ | ||
2740 | U16 NumLogEntries; /* 10h */ | ||
2741 | U16 Reserved3; /* 12h */ | ||
2742 | MPI_LOG_0_ENTRY LogEntry[MPI_LOG_0_NUM_LOG_ENTRIES]; /* 14h */ | ||
2743 | } CONFIG_PAGE_LOG_0, MPI_POINTER PTR_CONFIG_PAGE_LOG_0, | ||
2744 | LogPage0_t, MPI_POINTER pLogPage0_t; | ||
2745 | |||
2746 | #define MPI_LOG_0_PAGEVERSION (0x00) | ||
2747 | |||
2748 | |||
2104 | #endif | 2749 | #endif |
2105 | 2750 | ||
diff --git a/drivers/message/fusion/lsi/mpi_fc.h b/drivers/message/fusion/lsi/mpi_fc.h index ea266b236c1f..51a6aeb990ba 100644 --- a/drivers/message/fusion/lsi/mpi_fc.h +++ b/drivers/message/fusion/lsi/mpi_fc.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2000-2003 LSI Logic Corporation. | 2 | * Copyright (c) 2000-2004 LSI Logic Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi_fc.h | 5 | * Name: mpi_fc.h |
6 | * Title: MPI Fibre Channel messages and structures | 6 | * Title: MPI Fibre Channel messages and structures |
7 | * Creation Date: June 12, 2000 | 7 | * Creation Date: June 12, 2000 |
8 | * | 8 | * |
9 | * mpi_fc.h Version: 01.05.xx | 9 | * mpi_fc.h Version: 01.05.01 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -36,6 +36,9 @@ | |||
36 | * 09-28-01 01.02.02 Change name of reserved field in | 36 | * 09-28-01 01.02.02 Change name of reserved field in |
37 | * MSG_LINK_SERVICE_RSP_REPLY. | 37 | * MSG_LINK_SERVICE_RSP_REPLY. |
38 | * 05-31-02 01.02.03 Adding AliasIndex to FC Direct Access requests. | 38 | * 05-31-02 01.02.03 Adding AliasIndex to FC Direct Access requests. |
39 | * 01-16-04 01.02.04 Added define for MPI_FC_PRIM_SEND_FLAGS_ML_RESET_LINK. | ||
40 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
41 | * 08-19-04 01.05.01 Original release for MPI v1.5. | ||
39 | * -------------------------------------------------------------------------- | 42 | * -------------------------------------------------------------------------- |
40 | */ | 43 | */ |
41 | 44 | ||
diff --git a/drivers/message/fusion/lsi/mpi_history.txt b/drivers/message/fusion/lsi/mpi_history.txt index 0deb7721e936..c9edbee41edf 100644 --- a/drivers/message/fusion/lsi/mpi_history.txt +++ b/drivers/message/fusion/lsi/mpi_history.txt | |||
@@ -3,25 +3,28 @@ | |||
3 | MPI Header File Change History | 3 | MPI Header File Change History |
4 | ============================== | 4 | ============================== |
5 | 5 | ||
6 | Copyright (c) 2000-2001 LSI Logic Corporation. | 6 | Copyright (c) 2000-2005 LSI Logic Corporation. |
7 | 7 | ||
8 | --------------------------------------- | 8 | --------------------------------------- |
9 | Header Set Release Version: 01.01.10 | 9 | Header Set Release Version: 01.05.09 |
10 | Header Set Release Date: 04-09-01 | 10 | Header Set Release Date: 03-11-05 |
11 | --------------------------------------- | 11 | --------------------------------------- |
12 | 12 | ||
13 | Filename Current version Prior version | 13 | Filename Current version Prior version |
14 | ---------- --------------- ------------- | 14 | ---------- --------------- ------------- |
15 | mpi.h 01.01.07 01.01.06 | 15 | mpi.h 01.05.07 01.05.06 |
16 | mpi_ioc.h 01.01.07 01.01.06 | 16 | mpi_ioc.h 01.05.08 01.05.07 |
17 | mpi_cnfg.h 01.01.11 01.01.10 | 17 | mpi_cnfg.h 01.05.08 01.05.07 |
18 | mpi_init.h 01.01.05 01.01.04 | 18 | mpi_init.h 01.05.04 01.05.03 |
19 | mpi_targ.h 01.01.04 01.01.04 | 19 | mpi_targ.h 01.05.04 01.05.03 |
20 | mpi_fc.h 01.01.07 01.01.06 | 20 | mpi_fc.h 01.05.01 01.05.01 |
21 | mpi_lan.h 01.01.03 01.01.03 | 21 | mpi_lan.h 01.05.01 01.05.01 |
22 | mpi_raid.h 01.01.02 01.01.02 | 22 | mpi_raid.h 01.05.02 01.05.02 |
23 | mpi_type.h 01.01.02 01.01.02 | 23 | mpi_tool.h 01.05.03 01.05.03 |
24 | mpi_history.txt 01.01.09 01.01.09 | 24 | mpi_inb.h 01.05.01 01.05.01 |
25 | mpi_sas.h 01.05.01 01.05.01 | ||
26 | mpi_type.h 01.05.01 01.05.01 | ||
27 | mpi_history.txt 01.05.09 01.05.08 | ||
25 | 28 | ||
26 | 29 | ||
27 | * Date Version Description | 30 | * Date Version Description |
@@ -53,6 +56,38 @@ mpi.h | |||
53 | * Added function codes for RAID. | 56 | * Added function codes for RAID. |
54 | * 04-09-01 01.01.07 Added alternate define for MPI_DOORBELL_ACTIVE, | 57 | * 04-09-01 01.01.07 Added alternate define for MPI_DOORBELL_ACTIVE, |
55 | * MPI_DOORBELL_USED, to better match the spec. | 58 | * MPI_DOORBELL_USED, to better match the spec. |
59 | * 08-08-01 01.02.01 Original release for v1.2 work. | ||
60 | * Changed MPI_VERSION_MINOR from 0x01 to 0x02. | ||
61 | * Added define MPI_FUNCTION_TOOLBOX. | ||
62 | * 09-28-01 01.02.02 New function code MPI_SCSI_ENCLOSURE_PROCESSOR. | ||
63 | * 11-01-01 01.02.03 Changed name to MPI_FUNCTION_SCSI_ENCLOSURE_PROCESSOR. | ||
64 | * 03-14-02 01.02.04 Added MPI_HEADER_VERSION_ defines. | ||
65 | * 05-31-02 01.02.05 Bumped MPI_HEADER_VERSION_UNIT. | ||
66 | * 07-12-02 01.02.06 Added define for MPI_FUNCTION_MAILBOX. | ||
67 | * 09-16-02 01.02.07 Bumped value for MPI_HEADER_VERSION_UNIT. | ||
68 | * 11-15-02 01.02.08 Added define MPI_IOCSTATUS_TARGET_INVALID_IO_INDEX and | ||
69 | * obsoleted define MPI_IOCSTATUS_TARGET_INVALID_IOCINDEX. | ||
70 | * 04-01-03 01.02.09 New IOCStatus code: MPI_IOCSTATUS_FC_EXCHANGE_CANCELED | ||
71 | * 06-26-03 01.02.10 Bumped MPI_HEADER_VERSION_UNIT value. | ||
72 | * 01-16-04 01.02.11 Added define for MPI_IOCLOGINFO_TYPE_SHIFT. | ||
73 | * 04-29-04 01.02.12 Added function codes for MPI_FUNCTION_DIAG_BUFFER_POST | ||
74 | * and MPI_FUNCTION_DIAG_RELEASE. | ||
75 | * Added MPI_IOCSTATUS_DIAGNOSTIC_RELEASED define. | ||
76 | * Bumped MPI_HEADER_VERSION_UNIT value. | ||
77 | * 05-11-04 01.03.01 Bumped MPI_VERSION_MINOR for MPI v1.3. | ||
78 | * Added codes for Inband. | ||
79 | * 08-19-04 01.05.01 Added defines for Host Buffer Access Control doorbell. | ||
80 | * Added define for offset of High Priority Request Queue. | ||
81 | * Added new function codes and new IOCStatus codes. | ||
82 | * Added a IOCLogInfo type of SAS. | ||
83 | * 12-07-04 01.05.02 Bumped MPI_HEADER_VERSION_UNIT. | ||
84 | * 12-09-04 01.05.03 Bumped MPI_HEADER_VERSION_UNIT. | ||
85 | * 01-15-05 01.05.04 Bumped MPI_HEADER_VERSION_UNIT. | ||
86 | * 02-09-05 01.05.05 Bumped MPI_HEADER_VERSION_UNIT. | ||
87 | * 02-22-05 01.05.06 Bumped MPI_HEADER_VERSION_UNIT. | ||
88 | * 03-11-05 01.05.07 Removed function codes for SCSI IO 32 and | ||
89 | * TargetAssistExtended requests. | ||
90 | * Removed EEDP IOCStatus codes. | ||
56 | * -------------------------------------------------------------------------- | 91 | * -------------------------------------------------------------------------- |
57 | 92 | ||
58 | mpi_ioc.h | 93 | mpi_ioc.h |
@@ -81,6 +116,49 @@ mpi_ioc.h | |||
81 | * 03-27-01 01.01.06 Added defines for ProductId field of MPI_FW_HEADER. | 116 | * 03-27-01 01.01.06 Added defines for ProductId field of MPI_FW_HEADER. |
82 | * Added structure offset comments. | 117 | * Added structure offset comments. |
83 | * 04-09-01 01.01.07 Added structure EVENT_DATA_EVENT_CHANGE. | 118 | * 04-09-01 01.01.07 Added structure EVENT_DATA_EVENT_CHANGE. |
119 | * 08-08-01 01.02.01 Original release for v1.2 work. | ||
120 | * New format for FWVersion and ProductId in | ||
121 | * MSG_IOC_FACTS_REPLY and MPI_FW_HEADER. | ||
122 | * 08-31-01 01.02.02 Addded event MPI_EVENT_SCSI_DEVICE_STATUS_CHANGE and | ||
123 | * related structure and defines. | ||
124 | * Added event MPI_EVENT_ON_BUS_TIMER_EXPIRED. | ||
125 | * Added MPI_IOCINIT_FLAGS_DISCARD_FW_IMAGE. | ||
126 | * Replaced a reserved field in MSG_IOC_FACTS_REPLY with | ||
127 | * IOCExceptions and changed DataImageSize to reserved. | ||
128 | * Added MPI_FW_DOWNLOAD_ITYPE_NVSTORE_DATA and | ||
129 | * MPI_FW_UPLOAD_ITYPE_NVDATA. | ||
130 | * 09-28-01 01.02.03 Modified Event Data for Integrated RAID. | ||
131 | * 11-01-01 01.02.04 Added defines for MPI_EXT_IMAGE_HEADER ImageType field. | ||
132 | * 03-14-02 01.02.05 Added HeaderVersion field to MSG_IOC_FACTS_REPLY. | ||
133 | * 05-31-02 01.02.06 Added define for | ||
134 | * MPI_IOCFACTS_EXCEPT_RAID_CONFIG_INVALID. | ||
135 | * Added AliasIndex to EVENT_DATA_LOGOUT structure. | ||
136 | * 04-01-03 01.02.07 Added defines for MPI_FW_HEADER_SIGNATURE_. | ||
137 | * 06-26-03 01.02.08 Added new values to the product family defines. | ||
138 | * 04-29-04 01.02.09 Added IOCCapabilities field to MSG_IOC_FACTS_REPLY and | ||
139 | * added related defines. | ||
140 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
141 | * 08-19-04 01.05.01 Added four new fields to MSG_IOC_INIT. | ||
142 | * Added three new fields to MSG_IOC_FACTS_REPLY. | ||
143 | * Defined four new bits for the IOCCapabilities field of | ||
144 | * the IOCFacts reply. | ||
145 | * Added two new PortTypes for the PortFacts reply. | ||
146 | * Added six new events along with their EventData | ||
147 | * structures. | ||
148 | * Added a new MsgFlag to the FwDownload request to | ||
149 | * indicate last segment. | ||
150 | * Defined a new image type of boot loader. | ||
151 | * Added FW family codes for SAS product families. | ||
152 | * 10-05-04 01.05.02 Added ReplyFifoHostSignalingAddr field to | ||
153 | * MSG_IOC_FACTS_REPLY. | ||
154 | * 12-07-04 01.05.03 Added more defines for SAS Discovery Error event. | ||
155 | * 12-09-04 01.05.04 Added Unsupported device to SAS Device event. | ||
156 | * 01-15-05 01.05.05 Added event data for SAS SES Event. | ||
157 | * 02-09-05 01.05.06 Added MPI_FW_UPLOAD_ITYPE_FW_BACKUP define. | ||
158 | * 02-22-05 01.05.07 Added Host Page Buffer Persistent flag to IOC Facts | ||
159 | * Reply and IOC Init Request. | ||
160 | * 03-11-05 01.05.08 Added family code for 1068E family. | ||
161 | * Removed IOCFacts Reply EEDP Capability bit. | ||
84 | * -------------------------------------------------------------------------- | 162 | * -------------------------------------------------------------------------- |
85 | 163 | ||
86 | mpi_cnfg.h | 164 | mpi_cnfg.h |
@@ -142,6 +220,166 @@ mpi_cnfg.h | |||
142 | * Added IO Unit Page 3. | 220 | * Added IO Unit Page 3. |
143 | * Modified defines for Scsi Port Page 2. | 221 | * Modified defines for Scsi Port Page 2. |
144 | * Modified RAID Volume Pages. | 222 | * Modified RAID Volume Pages. |
223 | * 08-08-01 01.02.01 Original release for v1.2 work. | ||
224 | * Added SepID and SepBus to RVP2 IMPhysicalDisk struct. | ||
225 | * Added defines for the SEP bits in RVP2 VolumeSettings. | ||
226 | * Modified the DeviceSettings field in RVP2 to use the | ||
227 | * proper structure. | ||
228 | * Added defines for SES, SAF-TE, and cross channel for | ||
229 | * IOCPage2 CapabilitiesFlags. | ||
230 | * Removed define for MPI_IOUNITPAGE2_FLAGS_RAID_DISABLE. | ||
231 | * Removed define for | ||
232 | * MPI_SCSIPORTPAGE2_PORT_FLAGS_PARITY_ENABLE. | ||
233 | * Added define for MPI_CONFIG_PAGEATTR_RO_PERSISTENT. | ||
234 | * 08-29-01 01.02.02 Fixed value for MPI_MANUFACTPAGE_DEVID_53C1035. | ||
235 | * Added defines for MPI_FCPORTPAGE1_FLAGS_HARD_ALPA_ONLY | ||
236 | * and MPI_FCPORTPAGE1_FLAGS_IMMEDIATE_ERROR_REPLY. | ||
237 | * Removed MPI_SCSIPORTPAGE0_CAP_PACING_TRANSFERS, | ||
238 | * MPI_SCSIDEVPAGE0_NP_PACING_TRANSFERS, and | ||
239 | * MPI_SCSIDEVPAGE1_RP_PACING_TRANSFERS, and | ||
240 | * MPI_SCSIDEVPAGE1_CONF_PPR_ALLOWED. | ||
241 | * Added defines for MPI_SCSIDEVPAGE1_CONF_WDTR_DISALLOWED | ||
242 | * and MPI_SCSIDEVPAGE1_CONF_SDTR_DISALLOWED. | ||
243 | * Added OnBusTimerValue to CONFIG_PAGE_SCSI_PORT_1. | ||
244 | * Added rejected bits to SCSI Device Page 0 Information. | ||
245 | * Increased size of ALPA array in FC Port Page 2 by one | ||
246 | * and removed a one byte reserved field. | ||
247 | * 09-28-01 01.02.03 Swapped NegWireSpeedLow and NegWireSpeedLow in | ||
248 | * CONFIG_PAGE_LAN_1 to match preferred 64-bit ordering. | ||
249 | * Added structures for Manufacturing Page 4, IO Unit | ||
250 | * Page 3, IOC Page 3, IOC Page 4, RAID Volume Page 0, and | ||
251 | * RAID PhysDisk Page 0. | ||
252 | * 10-04-01 01.02.04 Added define for MPI_CONFIG_PAGETYPE_RAID_PHYSDISK. | ||
253 | * Modified some of the new defines to make them 32 | ||
254 | * character unique. | ||
255 | * Modified how variable length pages (arrays) are defined. | ||
256 | * Added generic defines for hot spare pools and RAID | ||
257 | * volume types. | ||
258 | * 11-01-01 01.02.05 Added define for MPI_IOUNITPAGE1_DISABLE_IR. | ||
259 | * 03-14-02 01.02.06 Added PCISlotNum field to CONFIG_PAGE_IOC_1 along with | ||
260 | * related define, and bumped the page version define. | ||
261 | * 05-31-02 01.02.07 Added a Flags field to CONFIG_PAGE_IOC_2_RAID_VOL in a | ||
262 | * reserved byte and added a define. | ||
263 | * Added define for | ||
264 | * MPI_RAIDVOL0_STATUS_FLAG_VOLUME_INACTIVE. | ||
265 | * Added new config page: CONFIG_PAGE_IOC_5. | ||
266 | * Added MaxAliases, MaxHardAliases, and NumCurrentAliases | ||
267 | * fields to CONFIG_PAGE_FC_PORT_0. | ||
268 | * Added AltConnector and NumRequestedAliases fields to | ||
269 | * CONFIG_PAGE_FC_PORT_1. | ||
270 | * Added new config page: CONFIG_PAGE_FC_PORT_10. | ||
271 | * 07-12-02 01.02.08 Added more MPI_MANUFACTPAGE_DEVID_ defines. | ||
272 | * Added additional MPI_SCSIDEVPAGE0_NP_ defines. | ||
273 | * Added more MPI_SCSIDEVPAGE1_RP_ defines. | ||
274 | * Added define for | ||
275 | * MPI_SCSIDEVPAGE1_CONF_EXTENDED_PARAMS_ENABLE. | ||
276 | * Added new config page: CONFIG_PAGE_SCSI_DEVICE_3. | ||
277 | * Modified MPI_FCPORTPAGE5_FLAGS_ defines. | ||
278 | * 09-16-02 01.02.09 Added MPI_SCSIDEVPAGE1_CONF_FORCE_PPR_MSG define. | ||
279 | * 11-15-02 01.02.10 Added ConnectedID defines for CONFIG_PAGE_SCSI_PORT_0. | ||
280 | * Added more Flags defines for CONFIG_PAGE_FC_PORT_1. | ||
281 | * Added more Flags defines for CONFIG_PAGE_FC_DEVICE_0. | ||
282 | * 04-01-03 01.02.11 Added RR_TOV field and additional Flags defines for | ||
283 | * CONFIG_PAGE_FC_PORT_1. | ||
284 | * Added define MPI_FCPORTPAGE5_FLAGS_DISABLE to disable | ||
285 | * an alias. | ||
286 | * Added more device id defines. | ||
287 | * 06-26-03 01.02.12 Added MPI_IOUNITPAGE1_IR_USE_STATIC_VOLUME_ID define. | ||
288 | * Added TargetConfig and IDConfig fields to | ||
289 | * CONFIG_PAGE_SCSI_PORT_1. | ||
290 | * Added more PortFlags defines for CONFIG_PAGE_SCSI_PORT_2 | ||
291 | * to control DV. | ||
292 | * Added more Flags defines for CONFIG_PAGE_FC_PORT_1. | ||
293 | * In CONFIG_PAGE_FC_DEVICE_0, replaced Reserved1 field | ||
294 | * with ADISCHardALPA. | ||
295 | * Added MPI_FC_DEVICE_PAGE0_PROT_FCP_RETRY define. | ||
296 | * 01-16-04 01.02.13 Added InitiatorDeviceTimeout and InitiatorIoPendTimeout | ||
297 | * fields and related defines to CONFIG_PAGE_FC_PORT_1. | ||
298 | * Added define for | ||
299 | * MPI_FCPORTPAGE1_FLAGS_SOFT_ALPA_FALLBACK. | ||
300 | * Added new fields to the substructures of | ||
301 | * CONFIG_PAGE_FC_PORT_10. | ||
302 | * 04-29-04 01.02.14 Added define for IDP bit for CONFIG_PAGE_SCSI_PORT_0, | ||
303 | * CONFIG_PAGE_SCSI_DEVICE_0, and | ||
304 | * CONFIG_PAGE_SCSI_DEVICE_1. Also bumped Page Version for | ||
305 | * these pages. | ||
306 | * 05-11-04 01.03.01 Added structure for CONFIG_PAGE_INBAND_0. | ||
307 | * 08-19-04 01.05.01 Modified MSG_CONFIG request to support extended config | ||
308 | * pages. | ||
309 | * Added a new structure for extended config page header. | ||
310 | * Added new extended config pages types and structures for | ||
311 | * SAS IO Unit, SAS Expander, SAS Device, and SAS PHY. | ||
312 | * Replaced a reserved byte in CONFIG_PAGE_MANUFACTURING_4 | ||
313 | * to add a Flags field. | ||
314 | * Two new Manufacturing config pages (5 and 6). | ||
315 | * Two new bits defined for IO Unit Page 1 Flags field. | ||
316 | * Modified CONFIG_PAGE_IO_UNIT_2 to add three new fields | ||
317 | * to specify the BIOS boot device. | ||
318 | * Four new Flags bits defined for IO Unit Page 2. | ||
319 | * Added IO Unit Page 4. | ||
320 | * Added EEDP Flags settings to IOC Page 1. | ||
321 | * Added new BIOS Page 1 config page. | ||
322 | * 10-05-04 01.05.02 Added define for | ||
323 | * MPI_IOCPAGE1_INITIATOR_CONTEXT_REPLY_DISABLE. | ||
324 | * Added new Flags field to CONFIG_PAGE_MANUFACTURING_5 and | ||
325 | * associated defines. | ||
326 | * Added more defines for SAS IO Unit Page 0 | ||
327 | * DiscoveryStatus field. | ||
328 | * Added define for MPI_SAS_IOUNIT0_DS_SUBTRACTIVE_LINK | ||
329 | * and MPI_SAS_IOUNIT0_DS_TABLE_LINK. | ||
330 | * Added defines for Physical Mapping Modes to SAS IO Unit | ||
331 | * Page 2. | ||
332 | * Added define for | ||
333 | * MPI_SAS_DEVICE0_FLAGS_PORT_SELECTOR_ATTACH. | ||
334 | * 10-27-04 01.05.03 Added defines for new SAS PHY page addressing mode. | ||
335 | * Added defines for MaxTargetSpinUp to BIOS Page 1. | ||
336 | * Added 5 new ControlFlags defines for SAS IO Unit | ||
337 | * Page 1. | ||
338 | * Added MaxNumPhysicalMappedIDs field to SAS IO Unit | ||
339 | * Page 2. | ||
340 | * Added AccessStatus field to SAS Device Page 0 and added | ||
341 | * new Flags bits for supported SATA features. | ||
342 | * 12-07-04 01.05.04 Added config page structures for BIOS Page 2, RAID | ||
343 | * Volume Page 1, and RAID Physical Disk Page 1. | ||
344 | * Replaced IO Unit Page 1 BootTargetID,BootBus, and | ||
345 | * BootAdapterNum with reserved field. | ||
346 | * Added DataScrubRate and ResyncRate to RAID Volume | ||
347 | * Page 0. | ||
348 | * Added MPI_SAS_IOUNIT2_FLAGS_RESERVE_ID_0_FOR_BOOT | ||
349 | * define. | ||
350 | * 12-09-04 01.05.05 Added Target Mode Large CDB Enable to FC Port Page 1 | ||
351 | * Flags field. | ||
352 | * Added Auto Port Config flag define for SAS IOUNIT | ||
353 | * Page 1 ControlFlags. | ||
354 | * Added Disabled bad Phy define to Expander Page 1 | ||
355 | * Discovery Info field. | ||
356 | * Added SAS/SATA device support to SAS IOUnit Page 1 | ||
357 | * ControlFlags. | ||
358 | * Added Unsupported device to SAS Dev Page 0 Flags field | ||
359 | * Added disable use SATA Hash Address for SAS IOUNIT | ||
360 | * page 1 in ControlFields. | ||
361 | * 01-15-05 01.05.06 Added defaults for data scrub rate and resync rate to | ||
362 | * Manufacturing Page 4. | ||
363 | * Added new defines for BIOS Page 1 IOCSettings field. | ||
364 | * Added ExtDiskIdentifier field to RAID Physical Disk | ||
365 | * Page 0. | ||
366 | * Added new defines for SAS IO Unit Page 1 ControlFlags | ||
367 | * and to SAS Device Page 0 Flags to control SATA devices. | ||
368 | * Added defines and structures for the new Log Page 0, a | ||
369 | * new type of configuration page. | ||
370 | * 02-09-05 01.05.07 Added InactiveStatus field to RAID Volume Page 0. | ||
371 | * Added WWID field to RAID Volume Page 1. | ||
372 | * Added PhysicalPort field to SAS Expander pages 0 and 1. | ||
373 | * 03-11-05 01.05.08 Removed the EEDP flags from IOC Page 1. | ||
374 | * Added Enclosure/Slot boot device format to BIOS Page 2. | ||
375 | * New status value for RAID Volume Page 0 VolumeStatus | ||
376 | * (VolumeState subfield). | ||
377 | * New value for RAID Physical Page 0 InactiveStatus. | ||
378 | * Added Inactive Volume Member flag RAID Physical Disk | ||
379 | * Page 0 PhysDiskStatus field. | ||
380 | * New physical mapping mode in SAS IO Unit Page 2. | ||
381 | * Added CONFIG_PAGE_SAS_ENCLOSURE_0. | ||
382 | * Added Slot and Enclosure fields to SAS Device Page 0. | ||
145 | * -------------------------------------------------------------------------- | 383 | * -------------------------------------------------------------------------- |
146 | 384 | ||
147 | mpi_init.h | 385 | mpi_init.h |
@@ -154,6 +392,32 @@ mpi_init.h | |||
154 | * 02-20-01 01.01.03 Started using MPI_POINTER. | 392 | * 02-20-01 01.01.03 Started using MPI_POINTER. |
155 | * 03-27-01 01.01.04 Added structure offset comments. | 393 | * 03-27-01 01.01.04 Added structure offset comments. |
156 | * 04-10-01 01.01.05 Added new MsgFlag for MSG_SCSI_TASK_MGMT. | 394 | * 04-10-01 01.01.05 Added new MsgFlag for MSG_SCSI_TASK_MGMT. |
395 | * 08-08-01 01.02.01 Original release for v1.2 work. | ||
396 | * 08-29-01 01.02.02 Added MPI_SCSITASKMGMT_TASKTYPE_LOGICAL_UNIT_RESET. | ||
397 | * Added MPI_SCSI_STATE_QUEUE_TAG_REJECTED for | ||
398 | * MSG_SCSI_IO_REPLY. | ||
399 | * 09-28-01 01.02.03 Added structures and defines for SCSI Enclosure | ||
400 | * Processor messages. | ||
401 | * 10-04-01 01.02.04 Added defines for SEP request Action field. | ||
402 | * 05-31-02 01.02.05 Added MPI_SCSIIO_MSGFLGS_CMD_DETERMINES_DATA_DIR define | ||
403 | * for SCSI IO requests. | ||
404 | * 11-15-02 01.02.06 Added special extended SCSI Status defines for FCP. | ||
405 | * 06-26-03 01.02.07 Added MPI_SCSI_STATUS_FCPEXT_UNASSIGNED define. | ||
406 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
407 | * 08-19-04 01.05.01 Added MsgFlags defines for EEDP to SCSI IO request. | ||
408 | * Added new word to MSG_SCSI_IO_REPLY to add TaskTag field | ||
409 | * and a reserved U16. | ||
410 | * Added new MSG_SCSI_IO32_REQUEST structure. | ||
411 | * Added a TaskType of Clear Task Set to SCSI | ||
412 | * Task Management request. | ||
413 | * 12-07-04 01.05.02 Added support for Task Management Query Task. | ||
414 | * 01-15-05 01.05.03 Modified SCSI Enclosure Processor Request to support | ||
415 | * WWID addressing. | ||
416 | * 03-11-05 01.05.04 Removed EEDP flags from SCSI IO Request. | ||
417 | * Removed SCSI IO 32 Request. | ||
418 | * Modified SCSI Enclosure Processor Request and Reply to | ||
419 | * support Enclosure/Slot addressing rather than WWID | ||
420 | * addressing. | ||
157 | * -------------------------------------------------------------------------- | 421 | * -------------------------------------------------------------------------- |
158 | 422 | ||
159 | mpi_targ.h | 423 | mpi_targ.h |
@@ -170,6 +434,33 @@ mpi_targ.h | |||
170 | * Added structures for MPI_TARGET_SCSI_SPI_CMD_BUFFER and | 434 | * Added structures for MPI_TARGET_SCSI_SPI_CMD_BUFFER and |
171 | * MPI_TARGET_FCP_CMD_BUFFER. | 435 | * MPI_TARGET_FCP_CMD_BUFFER. |
172 | * 03-27-01 01.01.04 Added structure offset comments. | 436 | * 03-27-01 01.01.04 Added structure offset comments. |
437 | * 08-08-01 01.02.01 Original release for v1.2 work. | ||
438 | * 09-28-01 01.02.02 Added structure for MPI_TARGET_SCSI_SPI_STATUS_IU. | ||
439 | * Added PriorityReason field to some replies and | ||
440 | * defined more PriorityReason codes. | ||
441 | * Added some defines for to support previous version | ||
442 | * of MPI. | ||
443 | * 10-04-01 01.02.03 Added PriorityReason to MSG_TARGET_ERROR_REPLY. | ||
444 | * 11-01-01 01.02.04 Added define for TARGET_STATUS_SEND_FLAGS_HIGH_PRIORITY. | ||
445 | * 03-14-02 01.02.05 Modified MPI_TARGET_FCP_RSP_BUFFER to get the proper | ||
446 | * byte ordering. | ||
447 | * 05-31-02 01.02.06 Modified TARGET_MODE_REPLY_ALIAS_MASK to only include | ||
448 | * one bit. | ||
449 | * Added AliasIndex field to MPI_TARGET_FCP_CMD_BUFFER. | ||
450 | * 09-16-02 01.02.07 Added flags for confirmed completion. | ||
451 | * Added PRIORITY_REASON_TARGET_BUSY. | ||
452 | * 11-15-02 01.02.08 Added AliasID field to MPI_TARGET_SCSI_SPI_CMD_BUFFER. | ||
453 | * 04-01-03 01.02.09 Added OptionalOxid field to MPI_TARGET_FCP_CMD_BUFFER. | ||
454 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
455 | * 08-19-04 01.05.01 Added new request message structures for | ||
456 | * MSG_TARGET_CMD_BUF_POST_BASE_REQUEST, | ||
457 | * MSG_TARGET_CMD_BUF_POST_LIST_REQUEST, and | ||
458 | * MSG_TARGET_ASSIST_EXT_REQUEST. | ||
459 | * Added new structures for SAS SSP Command buffer, SSP | ||
460 | * Task buffer, and SSP Status IU. | ||
461 | * 10-05-04 01.05.02 MSG_TARGET_CMD_BUFFER_POST_BASE_LIST_REPLY added. | ||
462 | * 02-22-05 01.05.03 Changed a comment. | ||
463 | * 03-11-05 01.05.04 Removed TargetAssistExtended Request. | ||
173 | * -------------------------------------------------------------------------- | 464 | * -------------------------------------------------------------------------- |
174 | 465 | ||
175 | mpi_fc.h | 466 | mpi_fc.h |
@@ -192,6 +483,13 @@ mpi_fc.h | |||
192 | * Added MPI_FC_PRIM_SEND_FLAGS_RESET_LINK define. | 483 | * Added MPI_FC_PRIM_SEND_FLAGS_RESET_LINK define. |
193 | * Added structure offset comments. | 484 | * Added structure offset comments. |
194 | * 04-09-01 01.01.07 Added RspLength field to MSG_LINK_SERVICE_RSP_REQUEST. | 485 | * 04-09-01 01.01.07 Added RspLength field to MSG_LINK_SERVICE_RSP_REQUEST. |
486 | * 08-08-01 01.02.01 Original release for v1.2 work. | ||
487 | * 09-28-01 01.02.02 Change name of reserved field in | ||
488 | * MSG_LINK_SERVICE_RSP_REPLY. | ||
489 | * 05-31-02 01.02.03 Adding AliasIndex to FC Direct Access requests. | ||
490 | * 01-16-04 01.02.04 Added define for MPI_FC_PRIM_SEND_FLAGS_ML_RESET_LINK. | ||
491 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
492 | * 08-19-04 01.05.01 Original release for MPI v1.5. | ||
195 | * -------------------------------------------------------------------------- | 493 | * -------------------------------------------------------------------------- |
196 | 494 | ||
197 | mpi_lan.h | 495 | mpi_lan.h |
@@ -209,11 +507,56 @@ mpi_lan.h | |||
209 | * 11-02-00 01.01.01 Original release for post 1.0 work | 507 | * 11-02-00 01.01.01 Original release for post 1.0 work |
210 | * 02-20-01 01.01.02 Started using MPI_POINTER. | 508 | * 02-20-01 01.01.02 Started using MPI_POINTER. |
211 | * 03-27-01 01.01.03 Added structure offset comments. | 509 | * 03-27-01 01.01.03 Added structure offset comments. |
510 | * 08-08-01 01.02.01 Original release for v1.2 work. | ||
511 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
512 | * 08-19-04 01.05.01 Original release for MPI v1.5. | ||
212 | * -------------------------------------------------------------------------- | 513 | * -------------------------------------------------------------------------- |
213 | 514 | ||
214 | mpi_raid.h | 515 | mpi_raid.h |
215 | * 02-27-01 01.01.01 Original release for this file. | 516 | * 02-27-01 01.01.01 Original release for this file. |
216 | * 03-27-01 01.01.02 Added structure offset comments. | 517 | * 03-27-01 01.01.02 Added structure offset comments. |
518 | * 08-08-01 01.02.01 Original release for v1.2 work. | ||
519 | * 08-29-01 01.02.02 Added DIAG_DATA_UPLOAD_HEADER and related defines. | ||
520 | * 09-28-01 01.02.02 Major rework for MPI v1.2 Integrated RAID changes. | ||
521 | * 10-04-01 01.02.03 Added ActionData defines for | ||
522 | * MPI_RAID_ACTION_DELETE_VOLUME action. | ||
523 | * 11-01-01 01.02.04 Added define for MPI_RAID_ACTION_ADATA_DO_NOT_SYNC. | ||
524 | * 03-14-02 01.02.05 Added define for MPI_RAID_ACTION_ADATA_LOW_LEVEL_INIT. | ||
525 | * 05-07-02 01.02.06 Added define for MPI_RAID_ACTION_ACTIVATE_VOLUME, | ||
526 | * MPI_RAID_ACTION_INACTIVATE_VOLUME, and | ||
527 | * MPI_RAID_ACTION_ADATA_INACTIVATE_ALL. | ||
528 | * 07-12-02 01.02.07 Added structures for Mailbox request and reply. | ||
529 | * 11-15-02 01.02.08 Added missing MsgContext field to MSG_MAILBOX_REQUEST. | ||
530 | * 04-01-03 01.02.09 New action data option flag for | ||
531 | * MPI_RAID_ACTION_DELETE_VOLUME. | ||
532 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
533 | * 08-19-04 01.05.01 Original release for MPI v1.5. | ||
534 | * 01-15-05 01.05.02 Added defines for the two new RAID Actions for | ||
535 | * _SET_RESYNC_RATE and _SET_DATA_SCRUB_RATE. | ||
536 | * -------------------------------------------------------------------------- | ||
537 | |||
538 | mpi_tool.h | ||
539 | * 08-08-01 01.02.01 Original release. | ||
540 | * 08-29-01 01.02.02 Added DIAG_DATA_UPLOAD_HEADER and related defines. | ||
541 | * 01-16-04 01.02.03 Added defines and structures for new tools | ||
542 | *. MPI_TOOLBOX_ISTWI_READ_WRITE_TOOL and | ||
543 | * MPI_TOOLBOX_FC_MANAGEMENT_TOOL. | ||
544 | * 04-29-04 01.02.04 Added message structures for Diagnostic Buffer Post and | ||
545 | * Diagnostic Release requests and replies. | ||
546 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
547 | * 08-19-04 01.05.01 Original release for MPI v1.5. | ||
548 | * 10-06-04 01.05.02 Added define for MPI_DIAG_BUF_TYPE_COUNT. | ||
549 | * 02-09-05 01.05.03 Added frame size option to FC management tool. | ||
550 | * Added Beacon tool to the Toolbox. | ||
551 | * -------------------------------------------------------------------------- | ||
552 | |||
553 | mpi_inb.h | ||
554 | * 05-11-04 01.03.01 Original release. | ||
555 | * 08-19-04 01.05.01 Original release for MPI v1.5. | ||
556 | * -------------------------------------------------------------------------- | ||
557 | |||
558 | mpi_sas.h | ||
559 | * 08-19-04 01.05.01 Original release. | ||
217 | * -------------------------------------------------------------------------- | 560 | * -------------------------------------------------------------------------- |
218 | 561 | ||
219 | mpi_type.h | 562 | mpi_type.h |
@@ -221,21 +564,83 @@ mpi_type.h | |||
221 | * 06-06-00 01.00.01 Update version number for 1.0 release. | 564 | * 06-06-00 01.00.01 Update version number for 1.0 release. |
222 | * 11-02-00 01.01.01 Original release for post 1.0 work | 565 | * 11-02-00 01.01.01 Original release for post 1.0 work |
223 | * 02-20-01 01.01.02 Added define and ifdef for MPI_POINTER. | 566 | * 02-20-01 01.01.02 Added define and ifdef for MPI_POINTER. |
567 | * 08-08-01 01.02.01 Original release for v1.2 work. | ||
568 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
569 | * 08-19-04 01.05.01 Original release for MPI v1.5. | ||
224 | * -------------------------------------------------------------------------- | 570 | * -------------------------------------------------------------------------- |
225 | 571 | ||
226 | mpi_history.txt Parts list history | 572 | mpi_history.txt Parts list history |
227 | 573 | ||
228 | Filename 01.01.10 | 574 | Filename 01.05.09 |
229 | ---------- -------- | 575 | ---------- -------- |
230 | mpi.h 01.01.07 | 576 | mpi.h 01.05.07 |
231 | mpi_ioc.h 01.01.07 | 577 | mpi_ioc.h 01.05.08 |
232 | mpi_cnfg.h 01.01.11 | 578 | mpi_cnfg.h 01.05.08 |
233 | mpi_init.h 01.01.05 | 579 | mpi_init.h 01.05.04 |
234 | mpi_targ.h 01.01.04 | 580 | mpi_targ.h 01.05.04 |
235 | mpi_fc.h 01.01.07 | 581 | mpi_fc.h 01.05.01 |
236 | mpi_lan.h 01.01.03 | 582 | mpi_lan.h 01.05.01 |
237 | mpi_raid.h 01.01.02 | 583 | mpi_raid.h 01.05.02 |
238 | mpi_type.h 01.01.02 | 584 | mpi_tool.h 01.05.03 |
585 | mpi_inb.h 01.05.01 | ||
586 | mpi_sas.h 01.05.01 | ||
587 | mpi_type.h 01.05.01 | ||
588 | |||
589 | Filename 01.05.08 01.05.07 01.05.06 01.05.05 01.05.04 01.05.03 | ||
590 | ---------- -------- -------- -------- -------- -------- -------- | ||
591 | mpi.h 01.05.06 01.05.05 01.05.04 01.05.03 01.05.02 01.05.01 | ||
592 | mpi_ioc.h 01.05.07 01.05.06 01.05.05 01.05.04 01.05.03 01.05.02 | ||
593 | mpi_cnfg.h 01.05.07 01.05.07 01.05.06 01.05.05 01.05.04 01.05.03 | ||
594 | mpi_init.h 01.05.03 01.05.03 01.05.03 01.05.02 01.05.02 01.05.01 | ||
595 | mpi_targ.h 01.05.03 01.05.02 01.05.02 01.05.02 01.05.02 01.05.02 | ||
596 | mpi_fc.h 01.05.01 01.05.01 01.05.01 01.05.01 01.05.01 01.05.01 | ||
597 | mpi_lan.h 01.05.01 01.05.01 01.05.01 01.05.01 01.05.01 01.05.01 | ||
598 | mpi_raid.h 01.05.02 01.05.02 01.05.02 01.05.01 01.05.01 01.05.01 | ||
599 | mpi_tool.h 01.05.03 01.05.03 01.05.02 01.05.02 01.05.02 01.05.02 | ||
600 | mpi_inb.h 01.05.01 01.05.01 01.05.01 01.05.01 01.05.01 01.05.01 | ||
601 | mpi_sas.h 01.05.01 01.05.01 01.05.01 01.05.01 01.05.01 01.05.01 | ||
602 | mpi_type.h 01.05.01 01.05.01 01.05.01 01.05.01 01.05.01 01.05.01 | ||
603 | |||
604 | Filename 01.05.02 01.05.01 01.03.01 01.02.14 01.02.13 01.02.12 | ||
605 | ---------- -------- -------- -------- -------- -------- -------- | ||
606 | mpi.h 01.05.01 01.05.01 01.03.01 01.02.12 01.02.11 01.02.10 | ||
607 | mpi_ioc.h 01.05.02 01.05.01 01.03.01 01.02.09 01.02.08 01.02.08 | ||
608 | mpi_cnfg.h 01.05.02 01.05.01 01.03.01 01.02.14 01.02.13 01.02.12 | ||
609 | mpi_init.h 01.05.01 01.05.01 01.03.01 01.02.07 01.02.07 01.02.07 | ||
610 | mpi_targ.h 01.05.02 01.05.01 01.03.01 01.02.09 01.02.09 01.02.09 | ||
611 | mpi_fc.h 01.05.01 01.05.01 01.03.01 01.02.04 01.02.04 01.02.03 | ||
612 | mpi_lan.h 01.05.01 01.05.01 01.03.01 01.02.01 01.02.01 01.02.01 | ||
613 | mpi_raid.h 01.05.01 01.05.01 01.03.01 01.02.09 01.02.09 01.02.09 | ||
614 | mpi_tool.h 01.05.02 01.05.01 01.03.01 01.02.01 01.02.01 01.02.01 | ||
615 | mpi_inb.h 01.05.01 01.05.01 01.03.01 | ||
616 | mpi_sas.h 01.05.01 01.05.01 | ||
617 | mpi_type.h 01.05.01 01.05.01 01.03.01 01.02.04 01.02.03 01.02.02 | ||
618 | |||
619 | Filename 01.02.11 01.02.10 01.02.09 01.02.08 01.02.07 01.02.06 | ||
620 | ---------- -------- -------- -------- -------- -------- -------- | ||
621 | mpi.h 01.02.09 01.02.08 01.02.07 01.02.06 01.02.05 01.02.04 | ||
622 | mpi_ioc.h 01.02.07 01.02.06 01.02.06 01.02.06 01.02.06 01.02.05 | ||
623 | mpi_cnfg.h 01.02.11 01.02.10 01.02.09 01.02.08 01.02.07 01.02.06 | ||
624 | mpi_init.h 01.02.06 01.02.06 01.02.05 01.02.05 01.02.05 01.02.04 | ||
625 | mpi_targ.h 01.02.09 01.02.08 01.02.07 01.02.06 01.02.06 01.02.05 | ||
626 | mpi_fc.h 01.02.03 01.02.03 01.02.03 01.02.03 01.02.03 01.02.02 | ||
627 | mpi_lan.h 01.02.01 01.02.01 01.02.01 01.02.01 01.02.01 01.02.01 | ||
628 | mpi_raid.h 01.02.09 01.02.08 01.02.07 01.02.07 01.02.06 01.02.05 | ||
629 | mpi_tool.h 01.02.01 01.02.01 01.02.01 01.02.01 01.02.01 01.02.01 | ||
630 | mpi_type.h 01.02.02 01.02.02 01.02.02 01.02.02 01.02.02 01.02.02 | ||
631 | |||
632 | Filename 01.02.05 01.02.04 01.02.03 01.02.02 01.02.01 01.01.10 | ||
633 | ---------- -------- -------- -------- -------- -------- -------- | ||
634 | mpi.h 01.02.03 01.02.02 01.02.02 01.02.01 01.02.01 01.01.07 | ||
635 | mpi_ioc.h 01.02.04 01.02.03 01.02.03 01.02.02 01.02.01 01.01.07 | ||
636 | mpi_cnfg.h 01.02.05 01.02.04 01.02.03 01.02.02 01.02.01 01.01.11 | ||
637 | mpi_init.h 01.02.04 01.02.04 01.02.03 01.02.02 01.02.01 01.01.05 | ||
638 | mpi_targ.h 01.02.04 01.02.03 01.02.02 01.02.01 01.02.01 01.01.04 | ||
639 | mpi_fc.h 01.02.02 01.02.02 01.02.02 01.02.01 01.02.01 01.01.07 | ||
640 | mpi_lan.h 01.02.01 01.02.01 01.02.01 01.02.01 01.02.01 01.01.03 | ||
641 | mpi_raid.h 01.02.04 01.02.03 01.02.02 01.02.01 01.02.01 01.01.02 | ||
642 | mpi_tool.h 01.02.02 01.02.02 01.02.02 01.02.02 01.02.01 | ||
643 | mpi_type.h 01.02.02 01.02.02 01.02.02 01.02.02 01.02.01 01.01.02 | ||
239 | 644 | ||
240 | Filename 01.01.09 01.01.08 01.01.07 01.01.06 01.01.05 01.01.04 | 645 | Filename 01.01.09 01.01.08 01.01.07 01.01.06 01.01.05 01.01.04 |
241 | ---------- -------- -------- -------- -------- -------- -------- | 646 | ---------- -------- -------- -------- -------- -------- -------- |
diff --git a/drivers/message/fusion/lsi/mpi_inb.h b/drivers/message/fusion/lsi/mpi_inb.h index dae29fbed56f..ff167309ba27 100644 --- a/drivers/message/fusion/lsi/mpi_inb.h +++ b/drivers/message/fusion/lsi/mpi_inb.h | |||
@@ -1,19 +1,20 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2003 LSI Logic Corporation. | 2 | * Copyright (c) 2003-2004 LSI Logic Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi_inb.h | 5 | * Name: mpi_inb.h |
6 | * Title: MPI Inband structures and definitions | 6 | * Title: MPI Inband structures and definitions |
7 | * Creation Date: September 30, 2003 | 7 | * Creation Date: September 30, 2003 |
8 | * | 8 | * |
9 | * mpi_inb.h Version: 01.03.xx | 9 | * mpi_inb.h Version: 01.05.01 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
13 | * | 13 | * |
14 | * Date Version Description | 14 | * Date Version Description |
15 | * -------- -------- ------------------------------------------------------ | 15 | * -------- -------- ------------------------------------------------------ |
16 | * ??-??-?? 01.03.01 Original release. | 16 | * 05-11-04 01.03.01 Original release. |
17 | * 08-19-04 01.05.01 Original release for MPI v1.5. | ||
17 | * -------------------------------------------------------------------------- | 18 | * -------------------------------------------------------------------------- |
18 | */ | 19 | */ |
19 | 20 | ||
diff --git a/drivers/message/fusion/lsi/mpi_init.h b/drivers/message/fusion/lsi/mpi_init.h index b3c95fd7256f..aca035801a86 100644 --- a/drivers/message/fusion/lsi/mpi_init.h +++ b/drivers/message/fusion/lsi/mpi_init.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2000-2003 LSI Logic Corporation. | 2 | * Copyright (c) 2000-2005 LSI Logic Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi_init.h | 5 | * Name: mpi_init.h |
6 | * Title: MPI initiator mode messages and structures | 6 | * Title: MPI initiator mode messages and structures |
7 | * Creation Date: June 8, 2000 | 7 | * Creation Date: June 8, 2000 |
8 | * | 8 | * |
9 | * mpi_init.h Version: 01.05.xx | 9 | * mpi_init.h Version: 01.05.04 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -33,6 +33,21 @@ | |||
33 | * for SCSI IO requests. | 33 | * for SCSI IO requests. |
34 | * 11-15-02 01.02.06 Added special extended SCSI Status defines for FCP. | 34 | * 11-15-02 01.02.06 Added special extended SCSI Status defines for FCP. |
35 | * 06-26-03 01.02.07 Added MPI_SCSI_STATUS_FCPEXT_UNASSIGNED define. | 35 | * 06-26-03 01.02.07 Added MPI_SCSI_STATUS_FCPEXT_UNASSIGNED define. |
36 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
37 | * 08-19-04 01.05.01 Added MsgFlags defines for EEDP to SCSI IO request. | ||
38 | * Added new word to MSG_SCSI_IO_REPLY to add TaskTag field | ||
39 | * and a reserved U16. | ||
40 | * Added new MSG_SCSI_IO32_REQUEST structure. | ||
41 | * Added a TaskType of Clear Task Set to SCSI | ||
42 | * Task Management request. | ||
43 | * 12-07-04 01.05.02 Added support for Task Management Query Task. | ||
44 | * 01-15-05 01.05.03 Modified SCSI Enclosure Processor Request to support | ||
45 | * WWID addressing. | ||
46 | * 03-11-05 01.05.04 Removed EEDP flags from SCSI IO Request. | ||
47 | * Removed SCSI IO 32 Request. | ||
48 | * Modified SCSI Enclosure Processor Request and Reply to | ||
49 | * support Enclosure/Slot addressing rather than WWID | ||
50 | * addressing. | ||
36 | * -------------------------------------------------------------------------- | 51 | * -------------------------------------------------------------------------- |
37 | */ | 52 | */ |
38 | 53 | ||
@@ -76,20 +91,12 @@ typedef struct _MSG_SCSI_IO_REQUEST | |||
76 | #define MPI_SCSIIO_MSGFLGS_SENSE_WIDTH (0x01) | 91 | #define MPI_SCSIIO_MSGFLGS_SENSE_WIDTH (0x01) |
77 | #define MPI_SCSIIO_MSGFLGS_SENSE_WIDTH_32 (0x00) | 92 | #define MPI_SCSIIO_MSGFLGS_SENSE_WIDTH_32 (0x00) |
78 | #define MPI_SCSIIO_MSGFLGS_SENSE_WIDTH_64 (0x01) | 93 | #define MPI_SCSIIO_MSGFLGS_SENSE_WIDTH_64 (0x01) |
94 | |||
79 | #define MPI_SCSIIO_MSGFLGS_SENSE_LOCATION (0x02) | 95 | #define MPI_SCSIIO_MSGFLGS_SENSE_LOCATION (0x02) |
80 | #define MPI_SCSIIO_MSGFLGS_SENSE_LOC_HOST (0x00) | 96 | #define MPI_SCSIIO_MSGFLGS_SENSE_LOC_HOST (0x00) |
81 | #define MPI_SCSIIO_MSGFLGS_SENSE_LOC_IOC (0x02) | 97 | #define MPI_SCSIIO_MSGFLGS_SENSE_LOC_IOC (0x02) |
82 | #define MPI_SCSIIO_MSGFLGS_CMD_DETERMINES_DATA_DIR (0x04) | ||
83 | #define MPI_SCSIIO_MSGFLGS_EEDP_TYPE_MASK (0xE0) | ||
84 | #define MPI_SCSIIO_MSGFLGS_EEDP_NONE (0x00) | ||
85 | #define MPI_SCSIIO_MSGFLGS_EEDP_RDPROTECT_T10 (0x20) | ||
86 | #define MPI_SCSIIO_MSGFLGS_EEDP_VRPROTECT_T10 (0x40) | ||
87 | #define MPI_SCSIIO_MSGFLGS_EEDP_WRPROTECT_T10 (0x60) | ||
88 | #define MPI_SCSIIO_MSGFLGS_EEDP_520_READ_MODE1 (0x20) | ||
89 | #define MPI_SCSIIO_MSGFLGS_EEDP_520_WRITE_MODE1 (0x40) | ||
90 | #define MPI_SCSIIO_MSGFLGS_EEDP_8_9_READ_MODE1 (0x60) | ||
91 | #define MPI_SCSIIO_MSGFLGS_EEDP_8_9_WRITE_MODE1 (0x80) | ||
92 | 98 | ||
99 | #define MPI_SCSIIO_MSGFLGS_CMD_DETERMINES_DATA_DIR (0x04) | ||
93 | 100 | ||
94 | /* SCSI IO LUN fields */ | 101 | /* SCSI IO LUN fields */ |
95 | 102 | ||
@@ -148,6 +155,8 @@ typedef struct _MSG_SCSI_IO_REPLY | |||
148 | U32 TransferCount; /* 14h */ | 155 | U32 TransferCount; /* 14h */ |
149 | U32 SenseCount; /* 18h */ | 156 | U32 SenseCount; /* 18h */ |
150 | U32 ResponseInfo; /* 1Ch */ | 157 | U32 ResponseInfo; /* 1Ch */ |
158 | U16 TaskTag; /* 20h */ | ||
159 | U16 Reserved1; /* 22h */ | ||
151 | } MSG_SCSI_IO_REPLY, MPI_POINTER PTR_MSG_SCSI_IO_REPLY, | 160 | } MSG_SCSI_IO_REPLY, MPI_POINTER PTR_MSG_SCSI_IO_REPLY, |
152 | SCSIIOReply_t, MPI_POINTER pSCSIIOReply_t; | 161 | SCSIIOReply_t, MPI_POINTER pSCSIIOReply_t; |
153 | 162 | ||
@@ -190,32 +199,7 @@ typedef struct _MSG_SCSI_IO_REPLY | |||
190 | #define MPI_SCSI_RSP_INFO_TASK_MGMT_FAILED (0x05000000) | 199 | #define MPI_SCSI_RSP_INFO_TASK_MGMT_FAILED (0x05000000) |
191 | #define MPI_SCSI_RSP_INFO_SPI_LQ_INVALID_TYPE (0x06000000) | 200 | #define MPI_SCSI_RSP_INFO_SPI_LQ_INVALID_TYPE (0x06000000) |
192 | 201 | ||
193 | 202 | #define MPI_SCSI_TASKTAG_UNKNOWN (0xFFFF) | |
194 | /****************************************************************************/ | ||
195 | /* SCSI IO 32 Request message structure */ | ||
196 | /****************************************************************************/ | ||
197 | |||
198 | typedef struct _MSG_SCSI_IO32_REQUEST | ||
199 | { | ||
200 | U8 TargetID; /* 00h */ | ||
201 | U8 Bus; /* 01h */ | ||
202 | U8 ChainOffset; /* 02h */ | ||
203 | U8 Function; /* 03h */ | ||
204 | U8 CDBLength; /* 04h */ | ||
205 | U8 SenseBufferLength; /* 05h */ | ||
206 | U8 Reserved; /* 06h */ | ||
207 | U8 MsgFlags; /* 07h */ | ||
208 | U32 MsgContext; /* 08h */ | ||
209 | U8 LUN[8]; /* 0Ch */ | ||
210 | U32 Control; /* 14h */ | ||
211 | U8 CDB[32]; /* 18h */ | ||
212 | U32 DataLength; /* 38h */ | ||
213 | U32 SenseBufferLowAddr; /* 3Ch */ | ||
214 | SGE_IO_UNION SGL; /* 40h */ | ||
215 | } MSG_SCSI_IO32_REQUEST, MPI_POINTER PTR_MSG_SCSI_IO32_REQUEST, | ||
216 | SCSIIO32Request_t, MPI_POINTER pSCSIIO32Request_t; | ||
217 | |||
218 | /* SCSI IO 32 uses the same defines as above for SCSI IO */ | ||
219 | 203 | ||
220 | 204 | ||
221 | /****************************************************************************/ | 205 | /****************************************************************************/ |
@@ -247,6 +231,7 @@ typedef struct _MSG_SCSI_TASK_MGMT | |||
247 | #define MPI_SCSITASKMGMT_TASKTYPE_RESET_BUS (0x04) | 231 | #define MPI_SCSITASKMGMT_TASKTYPE_RESET_BUS (0x04) |
248 | #define MPI_SCSITASKMGMT_TASKTYPE_LOGICAL_UNIT_RESET (0x05) | 232 | #define MPI_SCSITASKMGMT_TASKTYPE_LOGICAL_UNIT_RESET (0x05) |
249 | #define MPI_SCSITASKMGMT_TASKTYPE_CLEAR_TASK_SET (0x06) | 233 | #define MPI_SCSITASKMGMT_TASKTYPE_CLEAR_TASK_SET (0x06) |
234 | #define MPI_SCSITASKMGMT_TASKTYPE_QUERY_TASK (0x07) | ||
250 | 235 | ||
251 | /* MsgFlags bits */ | 236 | /* MsgFlags bits */ |
252 | #define MPI_SCSITASKMGMT_MSGFLAGS_TARGET_RESET_OPTION (0x00) | 237 | #define MPI_SCSITASKMGMT_MSGFLAGS_TARGET_RESET_OPTION (0x00) |
@@ -260,7 +245,7 @@ typedef struct _MSG_SCSI_TASK_MGMT_REPLY | |||
260 | U8 Bus; /* 01h */ | 245 | U8 Bus; /* 01h */ |
261 | U8 MsgLength; /* 02h */ | 246 | U8 MsgLength; /* 02h */ |
262 | U8 Function; /* 03h */ | 247 | U8 Function; /* 03h */ |
263 | U8 Reserved; /* 04h */ | 248 | U8 ResponseCode; /* 04h */ |
264 | U8 TaskType; /* 05h */ | 249 | U8 TaskType; /* 05h */ |
265 | U8 Reserved1; /* 06h */ | 250 | U8 Reserved1; /* 06h */ |
266 | U8 MsgFlags; /* 07h */ | 251 | U8 MsgFlags; /* 07h */ |
@@ -272,6 +257,15 @@ typedef struct _MSG_SCSI_TASK_MGMT_REPLY | |||
272 | } MSG_SCSI_TASK_MGMT_REPLY, MPI_POINTER PTR_MSG_SCSI_TASK_MGMT_REPLY, | 257 | } MSG_SCSI_TASK_MGMT_REPLY, MPI_POINTER PTR_MSG_SCSI_TASK_MGMT_REPLY, |
273 | SCSITaskMgmtReply_t, MPI_POINTER pSCSITaskMgmtReply_t; | 258 | SCSITaskMgmtReply_t, MPI_POINTER pSCSITaskMgmtReply_t; |
274 | 259 | ||
260 | /* ResponseCode values */ | ||
261 | #define MPI_SCSITASKMGMT_RSP_TM_COMPLETE (0x00) | ||
262 | #define MPI_SCSITASKMGMT_RSP_INVALID_FRAME (0x02) | ||
263 | #define MPI_SCSITASKMGMT_RSP_TM_NOT_SUPPORTED (0x04) | ||
264 | #define MPI_SCSITASKMGMT_RSP_TM_FAILED (0x05) | ||
265 | #define MPI_SCSITASKMGMT_RSP_TM_SUCCEEDED (0x08) | ||
266 | #define MPI_SCSITASKMGMT_RSP_TM_INVALID_LUN (0x09) | ||
267 | #define MPI_SCSITASKMGMT_RSP_IO_QUEUED_ON_IOC (0x80) | ||
268 | |||
275 | 269 | ||
276 | /****************************************************************************/ | 270 | /****************************************************************************/ |
277 | /* SCSI Enclosure Processor messages */ | 271 | /* SCSI Enclosure Processor messages */ |
@@ -284,11 +278,16 @@ typedef struct _MSG_SEP_REQUEST | |||
284 | U8 ChainOffset; /* 02h */ | 278 | U8 ChainOffset; /* 02h */ |
285 | U8 Function; /* 03h */ | 279 | U8 Function; /* 03h */ |
286 | U8 Action; /* 04h */ | 280 | U8 Action; /* 04h */ |
287 | U8 Reserved1; /* 05h */ | 281 | U8 Flags; /* 05h */ |
288 | U8 Reserved2; /* 06h */ | 282 | U8 Reserved1; /* 06h */ |
289 | U8 MsgFlags; /* 07h */ | 283 | U8 MsgFlags; /* 07h */ |
290 | U32 MsgContext; /* 08h */ | 284 | U32 MsgContext; /* 08h */ |
291 | U32 SlotStatus; /* 0Ch */ | 285 | U32 SlotStatus; /* 0Ch */ |
286 | U32 Reserved2; /* 10h */ | ||
287 | U32 Reserved3; /* 14h */ | ||
288 | U32 Reserved4; /* 18h */ | ||
289 | U16 Slot; /* 1Ch */ | ||
290 | U16 EnclosureHandle; /* 1Eh */ | ||
292 | } MSG_SEP_REQUEST, MPI_POINTER PTR_MSG_SEP_REQUEST, | 291 | } MSG_SEP_REQUEST, MPI_POINTER PTR_MSG_SEP_REQUEST, |
293 | SEPRequest_t, MPI_POINTER pSEPRequest_t; | 292 | SEPRequest_t, MPI_POINTER pSEPRequest_t; |
294 | 293 | ||
@@ -296,6 +295,10 @@ typedef struct _MSG_SEP_REQUEST | |||
296 | #define MPI_SEP_REQ_ACTION_WRITE_STATUS (0x00) | 295 | #define MPI_SEP_REQ_ACTION_WRITE_STATUS (0x00) |
297 | #define MPI_SEP_REQ_ACTION_READ_STATUS (0x01) | 296 | #define MPI_SEP_REQ_ACTION_READ_STATUS (0x01) |
298 | 297 | ||
298 | /* Flags defines */ | ||
299 | #define MPI_SEP_REQ_FLAGS_ENCLOSURE_SLOT_ADDRESS (0x01) | ||
300 | #define MPI_SEP_REQ_FLAGS_BUS_TARGETID_ADDRESS (0x00) | ||
301 | |||
299 | /* SlotStatus bits for MSG_SEP_REQUEST */ | 302 | /* SlotStatus bits for MSG_SEP_REQUEST */ |
300 | #define MPI_SEP_REQ_SLOTSTATUS_NO_ERROR (0x00000001) | 303 | #define MPI_SEP_REQ_SLOTSTATUS_NO_ERROR (0x00000001) |
301 | #define MPI_SEP_REQ_SLOTSTATUS_DEV_FAULTY (0x00000002) | 304 | #define MPI_SEP_REQ_SLOTSTATUS_DEV_FAULTY (0x00000002) |
@@ -332,6 +335,9 @@ typedef struct _MSG_SEP_REPLY | |||
332 | U16 IOCStatus; /* 0Eh */ | 335 | U16 IOCStatus; /* 0Eh */ |
333 | U32 IOCLogInfo; /* 10h */ | 336 | U32 IOCLogInfo; /* 10h */ |
334 | U32 SlotStatus; /* 14h */ | 337 | U32 SlotStatus; /* 14h */ |
338 | U32 Reserved4; /* 18h */ | ||
339 | U16 Slot; /* 1Ch */ | ||
340 | U16 EnclosureHandle; /* 1Eh */ | ||
335 | } MSG_SEP_REPLY, MPI_POINTER PTR_MSG_SEP_REPLY, | 341 | } MSG_SEP_REPLY, MPI_POINTER PTR_MSG_SEP_REPLY, |
336 | SEPReply_t, MPI_POINTER pSEPReply_t; | 342 | SEPReply_t, MPI_POINTER pSEPReply_t; |
337 | 343 | ||
diff --git a/drivers/message/fusion/lsi/mpi_ioc.h b/drivers/message/fusion/lsi/mpi_ioc.h index 82445d18b4d5..f91eb4efe8cc 100644 --- a/drivers/message/fusion/lsi/mpi_ioc.h +++ b/drivers/message/fusion/lsi/mpi_ioc.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2000-2003 LSI Logic Corporation. | 2 | * Copyright (c) 2000-2005 LSI Logic Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi_ioc.h | 5 | * Name: mpi_ioc.h |
6 | * Title: MPI IOC, Port, Event, FW Download, and FW Upload messages | 6 | * Title: MPI IOC, Port, Event, FW Download, and FW Upload messages |
7 | * Creation Date: August 11, 2000 | 7 | * Creation Date: August 11, 2000 |
8 | * | 8 | * |
9 | * mpi_ioc.h Version: 01.05.xx | 9 | * mpi_ioc.h Version: 01.05.08 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -57,6 +57,30 @@ | |||
57 | * Added AliasIndex to EVENT_DATA_LOGOUT structure. | 57 | * Added AliasIndex to EVENT_DATA_LOGOUT structure. |
58 | * 04-01-03 01.02.07 Added defines for MPI_FW_HEADER_SIGNATURE_. | 58 | * 04-01-03 01.02.07 Added defines for MPI_FW_HEADER_SIGNATURE_. |
59 | * 06-26-03 01.02.08 Added new values to the product family defines. | 59 | * 06-26-03 01.02.08 Added new values to the product family defines. |
60 | * 04-29-04 01.02.09 Added IOCCapabilities field to MSG_IOC_FACTS_REPLY and | ||
61 | * added related defines. | ||
62 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
63 | * 08-19-04 01.05.01 Added four new fields to MSG_IOC_INIT. | ||
64 | * Added three new fields to MSG_IOC_FACTS_REPLY. | ||
65 | * Defined four new bits for the IOCCapabilities field of | ||
66 | * the IOCFacts reply. | ||
67 | * Added two new PortTypes for the PortFacts reply. | ||
68 | * Added six new events along with their EventData | ||
69 | * structures. | ||
70 | * Added a new MsgFlag to the FwDownload request to | ||
71 | * indicate last segment. | ||
72 | * Defined a new image type of boot loader. | ||
73 | * Added FW family codes for SAS product families. | ||
74 | * 10-05-04 01.05.02 Added ReplyFifoHostSignalingAddr field to | ||
75 | * MSG_IOC_FACTS_REPLY. | ||
76 | * 12-07-04 01.05.03 Added more defines for SAS Discovery Error event. | ||
77 | * 12-09-04 01.05.04 Added Unsupported device to SAS Device event. | ||
78 | * 01-15-05 01.05.05 Added event data for SAS SES Event. | ||
79 | * 02-09-05 01.05.06 Added MPI_FW_UPLOAD_ITYPE_FW_BACKUP define. | ||
80 | * 02-22-05 01.05.07 Added Host Page Buffer Persistent flag to IOC Facts | ||
81 | * Reply and IOC Init Request. | ||
82 | * 03-11-05 01.05.08 Added family code for 1068E family. | ||
83 | * Removed IOCFacts Reply EEDP Capability bit. | ||
60 | * -------------------------------------------------------------------------- | 84 | * -------------------------------------------------------------------------- |
61 | */ | 85 | */ |
62 | 86 | ||
@@ -90,20 +114,37 @@ typedef struct _MSG_IOC_INIT | |||
90 | U32 HostMfaHighAddr; /* 10h */ | 114 | U32 HostMfaHighAddr; /* 10h */ |
91 | U32 SenseBufferHighAddr; /* 14h */ | 115 | U32 SenseBufferHighAddr; /* 14h */ |
92 | U32 ReplyFifoHostSignalingAddr; /* 18h */ | 116 | U32 ReplyFifoHostSignalingAddr; /* 18h */ |
117 | SGE_SIMPLE_UNION HostPageBufferSGE; /* 1Ch */ | ||
118 | U16 MsgVersion; /* 28h */ | ||
119 | U16 HeaderVersion; /* 2Ah */ | ||
93 | } MSG_IOC_INIT, MPI_POINTER PTR_MSG_IOC_INIT, | 120 | } MSG_IOC_INIT, MPI_POINTER PTR_MSG_IOC_INIT, |
94 | IOCInit_t, MPI_POINTER pIOCInit_t; | 121 | IOCInit_t, MPI_POINTER pIOCInit_t; |
95 | 122 | ||
96 | /* WhoInit values */ | 123 | /* WhoInit values */ |
97 | #define MPI_WHOINIT_NO_ONE (0x00) | 124 | #define MPI_WHOINIT_NO_ONE (0x00) |
98 | #define MPI_WHOINIT_SYSTEM_BIOS (0x01) | 125 | #define MPI_WHOINIT_SYSTEM_BIOS (0x01) |
99 | #define MPI_WHOINIT_ROM_BIOS (0x02) | 126 | #define MPI_WHOINIT_ROM_BIOS (0x02) |
100 | #define MPI_WHOINIT_PCI_PEER (0x03) | 127 | #define MPI_WHOINIT_PCI_PEER (0x03) |
101 | #define MPI_WHOINIT_HOST_DRIVER (0x04) | 128 | #define MPI_WHOINIT_HOST_DRIVER (0x04) |
102 | #define MPI_WHOINIT_MANUFACTURER (0x05) | 129 | #define MPI_WHOINIT_MANUFACTURER (0x05) |
103 | 130 | ||
104 | /* Flags values */ | 131 | /* Flags values */ |
105 | #define MPI_IOCINIT_FLAGS_DISCARD_FW_IMAGE (0x01) | 132 | #define MPI_IOCINIT_FLAGS_HOST_PAGE_BUFFER_PERSISTENT (0x04) |
106 | #define MPI_IOCINIT_FLAGS_REPLY_FIFO_HOST_SIGNAL (0x02) | 133 | #define MPI_IOCINIT_FLAGS_REPLY_FIFO_HOST_SIGNAL (0x02) |
134 | #define MPI_IOCINIT_FLAGS_DISCARD_FW_IMAGE (0x01) | ||
135 | |||
136 | /* MsgVersion */ | ||
137 | #define MPI_IOCINIT_MSGVERSION_MAJOR_MASK (0xFF00) | ||
138 | #define MPI_IOCINIT_MSGVERSION_MAJOR_SHIFT (8) | ||
139 | #define MPI_IOCINIT_MSGVERSION_MINOR_MASK (0x00FF) | ||
140 | #define MPI_IOCINIT_MSGVERSION_MINOR_SHIFT (0) | ||
141 | |||
142 | /* HeaderVersion */ | ||
143 | #define MPI_IOCINIT_HEADERVERSION_UNIT_MASK (0xFF00) | ||
144 | #define MPI_IOCINIT_HEADERVERSION_UNIT_SHIFT (8) | ||
145 | #define MPI_IOCINIT_HEADERVERSION_DEV_MASK (0x00FF) | ||
146 | #define MPI_IOCINIT_HEADERVERSION_DEV_SHIFT (0) | ||
147 | |||
107 | 148 | ||
108 | typedef struct _MSG_IOC_INIT_REPLY | 149 | typedef struct _MSG_IOC_INIT_REPLY |
109 | { | 150 | { |
@@ -187,32 +228,39 @@ typedef struct _MSG_IOC_FACTS_REPLY | |||
187 | MPI_FW_VERSION FWVersion; /* 38h */ | 228 | MPI_FW_VERSION FWVersion; /* 38h */ |
188 | U16 HighPriorityQueueDepth; /* 3Ch */ | 229 | U16 HighPriorityQueueDepth; /* 3Ch */ |
189 | U16 Reserved2; /* 3Eh */ | 230 | U16 Reserved2; /* 3Eh */ |
231 | SGE_SIMPLE_UNION HostPageBufferSGE; /* 40h */ | ||
232 | U32 ReplyFifoHostSignalingAddr; /* 4Ch */ | ||
190 | } MSG_IOC_FACTS_REPLY, MPI_POINTER PTR_MSG_IOC_FACTS_REPLY, | 233 | } MSG_IOC_FACTS_REPLY, MPI_POINTER PTR_MSG_IOC_FACTS_REPLY, |
191 | IOCFactsReply_t, MPI_POINTER pIOCFactsReply_t; | 234 | IOCFactsReply_t, MPI_POINTER pIOCFactsReply_t; |
192 | 235 | ||
193 | #define MPI_IOCFACTS_MSGVERSION_MAJOR_MASK (0xFF00) | 236 | #define MPI_IOCFACTS_MSGVERSION_MAJOR_MASK (0xFF00) |
194 | #define MPI_IOCFACTS_MSGVERSION_MINOR_MASK (0x00FF) | 237 | #define MPI_IOCFACTS_MSGVERSION_MAJOR_SHIFT (8) |
238 | #define MPI_IOCFACTS_MSGVERSION_MINOR_MASK (0x00FF) | ||
239 | #define MPI_IOCFACTS_MSGVERSION_MINOR_SHIFT (0) | ||
195 | 240 | ||
196 | #define MPI_IOCFACTS_HEADERVERSION_UNIT_MASK (0xFF00) | 241 | #define MPI_IOCFACTS_HDRVERSION_UNIT_MASK (0xFF00) |
197 | #define MPI_IOCFACTS_HEADERVERSION_DEV_MASK (0x00FF) | 242 | #define MPI_IOCFACTS_HDRVERSION_UNIT_SHIFT (8) |
243 | #define MPI_IOCFACTS_HDRVERSION_DEV_MASK (0x00FF) | ||
244 | #define MPI_IOCFACTS_HDRVERSION_DEV_SHIFT (0) | ||
198 | 245 | ||
199 | #define MPI_IOCFACTS_EXCEPT_CONFIG_CHECKSUM_FAIL (0x0001) | 246 | #define MPI_IOCFACTS_EXCEPT_CONFIG_CHECKSUM_FAIL (0x0001) |
200 | #define MPI_IOCFACTS_EXCEPT_RAID_CONFIG_INVALID (0x0002) | 247 | #define MPI_IOCFACTS_EXCEPT_RAID_CONFIG_INVALID (0x0002) |
201 | #define MPI_IOCFACTS_EXCEPT_FW_CHECKSUM_FAIL (0x0004) | 248 | #define MPI_IOCFACTS_EXCEPT_FW_CHECKSUM_FAIL (0x0004) |
202 | #define MPI_IOCFACTS_EXCEPT_PERSISTENT_TABLE_FULL (0x0008) | 249 | #define MPI_IOCFACTS_EXCEPT_PERSISTENT_TABLE_FULL (0x0008) |
203 | 250 | ||
204 | #define MPI_IOCFACTS_FLAGS_FW_DOWNLOAD_BOOT (0x01) | 251 | #define MPI_IOCFACTS_FLAGS_FW_DOWNLOAD_BOOT (0x01) |
252 | #define MPI_IOCFACTS_FLAGS_REPLY_FIFO_HOST_SIGNAL (0x02) | ||
253 | #define MPI_IOCFACTS_FLAGS_HOST_PAGE_BUFFER_PERSISTENT (0x04) | ||
205 | 254 | ||
206 | #define MPI_IOCFACTS_EVENTSTATE_DISABLED (0x00) | 255 | #define MPI_IOCFACTS_EVENTSTATE_DISABLED (0x00) |
207 | #define MPI_IOCFACTS_EVENTSTATE_ENABLED (0x01) | 256 | #define MPI_IOCFACTS_EVENTSTATE_ENABLED (0x01) |
208 | 257 | ||
209 | #define MPI_IOCFACTS_CAPABILITY_HIGH_PRI_Q (0x00000001) | 258 | #define MPI_IOCFACTS_CAPABILITY_HIGH_PRI_Q (0x00000001) |
210 | #define MPI_IOCFACTS_CAPABILITY_REPLY_HOST_SIGNAL (0x00000002) | 259 | #define MPI_IOCFACTS_CAPABILITY_REPLY_HOST_SIGNAL (0x00000002) |
211 | #define MPI_IOCFACTS_CAPABILITY_QUEUE_FULL_HANDLING (0x00000004) | 260 | #define MPI_IOCFACTS_CAPABILITY_QUEUE_FULL_HANDLING (0x00000004) |
212 | #define MPI_IOCFACTS_CAPABILITY_DIAG_TRACE_BUFFER (0x00000008) | 261 | #define MPI_IOCFACTS_CAPABILITY_DIAG_TRACE_BUFFER (0x00000008) |
213 | #define MPI_IOCFACTS_CAPABILITY_SNAPSHOT_BUFFER (0x00000010) | 262 | #define MPI_IOCFACTS_CAPABILITY_SNAPSHOT_BUFFER (0x00000010) |
214 | #define MPI_IOCFACTS_CAPABILITY_EXTENDED_BUFFER (0x00000020) | 263 | #define MPI_IOCFACTS_CAPABILITY_EXTENDED_BUFFER (0x00000020) |
215 | #define MPI_IOCFACTS_CAPABILITY_EEDP (0x00000040) | ||
216 | 264 | ||
217 | 265 | ||
218 | 266 | ||
@@ -408,6 +456,8 @@ typedef struct _MSG_EVENT_ACK_REPLY | |||
408 | #define MPI_EVENT_SAS_DEVICE_STATUS_CHANGE (0x0000000F) | 456 | #define MPI_EVENT_SAS_DEVICE_STATUS_CHANGE (0x0000000F) |
409 | #define MPI_EVENT_SAS_SES (0x00000010) | 457 | #define MPI_EVENT_SAS_SES (0x00000010) |
410 | #define MPI_EVENT_PERSISTENT_TABLE_FULL (0x00000011) | 458 | #define MPI_EVENT_PERSISTENT_TABLE_FULL (0x00000011) |
459 | #define MPI_EVENT_SAS_PHY_LINK_STATUS (0x00000012) | ||
460 | #define MPI_EVENT_SAS_DISCOVERY_ERROR (0x00000013) | ||
411 | 461 | ||
412 | /* AckRequired field values */ | 462 | /* AckRequired field values */ |
413 | 463 | ||
@@ -467,6 +517,10 @@ typedef struct _EVENT_DATA_SAS_DEVICE_STATUS_CHANGE | |||
467 | U8 ASCQ; /* 05h */ | 517 | U8 ASCQ; /* 05h */ |
468 | U16 DevHandle; /* 06h */ | 518 | U16 DevHandle; /* 06h */ |
469 | U32 DeviceInfo; /* 08h */ | 519 | U32 DeviceInfo; /* 08h */ |
520 | U16 ParentDevHandle; /* 0Ch */ | ||
521 | U8 PhyNum; /* 0Eh */ | ||
522 | U8 Reserved1; /* 0Fh */ | ||
523 | U64 SASAddress; /* 10h */ | ||
470 | } EVENT_DATA_SAS_DEVICE_STATUS_CHANGE, | 524 | } EVENT_DATA_SAS_DEVICE_STATUS_CHANGE, |
471 | MPI_POINTER PTR_EVENT_DATA_SAS_DEVICE_STATUS_CHANGE, | 525 | MPI_POINTER PTR_EVENT_DATA_SAS_DEVICE_STATUS_CHANGE, |
472 | MpiEventDataSasDeviceStatusChange_t, | 526 | MpiEventDataSasDeviceStatusChange_t, |
@@ -477,6 +531,8 @@ typedef struct _EVENT_DATA_SAS_DEVICE_STATUS_CHANGE | |||
477 | #define MPI_EVENT_SAS_DEV_STAT_RC_NOT_RESPONDING (0x04) | 531 | #define MPI_EVENT_SAS_DEV_STAT_RC_NOT_RESPONDING (0x04) |
478 | #define MPI_EVENT_SAS_DEV_STAT_RC_SMART_DATA (0x05) | 532 | #define MPI_EVENT_SAS_DEV_STAT_RC_SMART_DATA (0x05) |
479 | #define MPI_EVENT_SAS_DEV_STAT_RC_NO_PERSIST_ADDED (0x06) | 533 | #define MPI_EVENT_SAS_DEV_STAT_RC_NO_PERSIST_ADDED (0x06) |
534 | #define MPI_EVENT_SAS_DEV_STAT_RC_UNSUPPORTED (0x07) | ||
535 | |||
480 | 536 | ||
481 | /* SCSI Event data for Queue Full event */ | 537 | /* SCSI Event data for Queue Full event */ |
482 | 538 | ||
@@ -488,6 +544,35 @@ typedef struct _EVENT_DATA_QUEUE_FULL | |||
488 | } EVENT_DATA_QUEUE_FULL, MPI_POINTER PTR_EVENT_DATA_QUEUE_FULL, | 544 | } EVENT_DATA_QUEUE_FULL, MPI_POINTER PTR_EVENT_DATA_QUEUE_FULL, |
489 | EventDataQueueFull_t, MPI_POINTER pEventDataQueueFull_t; | 545 | EventDataQueueFull_t, MPI_POINTER pEventDataQueueFull_t; |
490 | 546 | ||
547 | /* MPI Integrated RAID Event data */ | ||
548 | |||
549 | typedef struct _EVENT_DATA_RAID | ||
550 | { | ||
551 | U8 VolumeID; /* 00h */ | ||
552 | U8 VolumeBus; /* 01h */ | ||
553 | U8 ReasonCode; /* 02h */ | ||
554 | U8 PhysDiskNum; /* 03h */ | ||
555 | U8 ASC; /* 04h */ | ||
556 | U8 ASCQ; /* 05h */ | ||
557 | U16 Reserved; /* 06h */ | ||
558 | U32 SettingsStatus; /* 08h */ | ||
559 | } EVENT_DATA_RAID, MPI_POINTER PTR_EVENT_DATA_RAID, | ||
560 | MpiEventDataRaid_t, MPI_POINTER pMpiEventDataRaid_t; | ||
561 | |||
562 | /* MPI Integrated RAID Event data ReasonCode values */ | ||
563 | #define MPI_EVENT_RAID_RC_VOLUME_CREATED (0x00) | ||
564 | #define MPI_EVENT_RAID_RC_VOLUME_DELETED (0x01) | ||
565 | #define MPI_EVENT_RAID_RC_VOLUME_SETTINGS_CHANGED (0x02) | ||
566 | #define MPI_EVENT_RAID_RC_VOLUME_STATUS_CHANGED (0x03) | ||
567 | #define MPI_EVENT_RAID_RC_VOLUME_PHYSDISK_CHANGED (0x04) | ||
568 | #define MPI_EVENT_RAID_RC_PHYSDISK_CREATED (0x05) | ||
569 | #define MPI_EVENT_RAID_RC_PHYSDISK_DELETED (0x06) | ||
570 | #define MPI_EVENT_RAID_RC_PHYSDISK_SETTINGS_CHANGED (0x07) | ||
571 | #define MPI_EVENT_RAID_RC_PHYSDISK_STATUS_CHANGED (0x08) | ||
572 | #define MPI_EVENT_RAID_RC_DOMAIN_VAL_NEEDED (0x09) | ||
573 | #define MPI_EVENT_RAID_RC_SMART_DATA (0x0A) | ||
574 | #define MPI_EVENT_RAID_RC_REPLACE_ACTION_STARTED (0x0B) | ||
575 | |||
491 | /* MPI Link Status Change Event data */ | 576 | /* MPI Link Status Change Event data */ |
492 | 577 | ||
493 | typedef struct _EVENT_DATA_LINK_STATUS | 578 | typedef struct _EVENT_DATA_LINK_STATUS |
@@ -535,35 +620,63 @@ typedef struct _EVENT_DATA_LOGOUT | |||
535 | 620 | ||
536 | #define MPI_EVENT_LOGOUT_ALL_ALIASES (0xFF) | 621 | #define MPI_EVENT_LOGOUT_ALL_ALIASES (0xFF) |
537 | 622 | ||
623 | /* SAS SES Event data */ | ||
538 | 624 | ||
539 | /* MPI Integrated RAID Event data */ | 625 | typedef struct _EVENT_DATA_SAS_SES |
540 | |||
541 | typedef struct _EVENT_DATA_RAID | ||
542 | { | 626 | { |
543 | U8 VolumeID; /* 00h */ | 627 | U8 PhyNum; /* 00h */ |
544 | U8 VolumeBus; /* 01h */ | 628 | U8 Port; /* 01h */ |
545 | U8 ReasonCode; /* 02h */ | 629 | U8 PortWidth; /* 02h */ |
546 | U8 PhysDiskNum; /* 03h */ | 630 | U8 Reserved1; /* 04h */ |
547 | U8 ASC; /* 04h */ | 631 | } EVENT_DATA_SAS_SES, MPI_POINTER PTR_EVENT_DATA_SAS_SES, |
548 | U8 ASCQ; /* 05h */ | 632 | MpiEventDataSasSes_t, MPI_POINTER pMpiEventDataSasSes_t; |
549 | U16 Reserved; /* 06h */ | ||
550 | U32 SettingsStatus; /* 08h */ | ||
551 | } EVENT_DATA_RAID, MPI_POINTER PTR_EVENT_DATA_RAID, | ||
552 | MpiEventDataRaid_t, MPI_POINTER pMpiEventDataRaid_t; | ||
553 | 633 | ||
554 | /* MPI Integrated RAID Event data ReasonCode values */ | 634 | /* SAS Phy Link Status Event data */ |
555 | #define MPI_EVENT_RAID_RC_VOLUME_CREATED (0x00) | 635 | |
556 | #define MPI_EVENT_RAID_RC_VOLUME_DELETED (0x01) | 636 | typedef struct _EVENT_DATA_SAS_PHY_LINK_STATUS |
557 | #define MPI_EVENT_RAID_RC_VOLUME_SETTINGS_CHANGED (0x02) | 637 | { |
558 | #define MPI_EVENT_RAID_RC_VOLUME_STATUS_CHANGED (0x03) | 638 | U8 PhyNum; /* 00h */ |
559 | #define MPI_EVENT_RAID_RC_VOLUME_PHYSDISK_CHANGED (0x04) | 639 | U8 LinkRates; /* 01h */ |
560 | #define MPI_EVENT_RAID_RC_PHYSDISK_CREATED (0x05) | 640 | U16 DevHandle; /* 02h */ |
561 | #define MPI_EVENT_RAID_RC_PHYSDISK_DELETED (0x06) | 641 | U64 SASAddress; /* 04h */ |
562 | #define MPI_EVENT_RAID_RC_PHYSDISK_SETTINGS_CHANGED (0x07) | 642 | } EVENT_DATA_SAS_PHY_LINK_STATUS, MPI_POINTER PTR_EVENT_DATA_SAS_PHY_LINK_STATUS, |
563 | #define MPI_EVENT_RAID_RC_PHYSDISK_STATUS_CHANGED (0x08) | 643 | MpiEventDataSasPhyLinkStatus_t, MPI_POINTER pMpiEventDataSasPhyLinkStatus_t; |
564 | #define MPI_EVENT_RAID_RC_DOMAIN_VAL_NEEDED (0x09) | 644 | |
565 | #define MPI_EVENT_RAID_RC_SMART_DATA (0x0A) | 645 | /* defines for the LinkRates field of the SAS PHY Link Status event */ |
566 | #define MPI_EVENT_RAID_RC_REPLACE_ACTION_STARTED (0x0B) | 646 | #define MPI_EVENT_SAS_PLS_LR_CURRENT_MASK (0xF0) |
647 | #define MPI_EVENT_SAS_PLS_LR_CURRENT_SHIFT (4) | ||
648 | #define MPI_EVENT_SAS_PLS_LR_PREVIOUS_MASK (0x0F) | ||
649 | #define MPI_EVENT_SAS_PLS_LR_PREVIOUS_SHIFT (0) | ||
650 | #define MPI_EVENT_SAS_PLS_LR_RATE_UNKNOWN (0x00) | ||
651 | #define MPI_EVENT_SAS_PLS_LR_RATE_PHY_DISABLED (0x01) | ||
652 | #define MPI_EVENT_SAS_PLS_LR_RATE_FAILED_SPEED_NEGOTIATION (0x02) | ||
653 | #define MPI_EVENT_SAS_PLS_LR_RATE_SATA_OOB_COMPLETE (0x03) | ||
654 | #define MPI_EVENT_SAS_PLS_LR_RATE_1_5 (0x08) | ||
655 | #define MPI_EVENT_SAS_PLS_LR_RATE_3_0 (0x09) | ||
656 | |||
657 | /* SAS Discovery Errror Event data */ | ||
658 | |||
659 | typedef struct _EVENT_DATA_DISCOVERY_ERROR | ||
660 | { | ||
661 | U32 DiscoveryStatus; /* 00h */ | ||
662 | U8 Port; /* 04h */ | ||
663 | U8 Reserved1; /* 05h */ | ||
664 | U16 Reserved2; /* 06h */ | ||
665 | } EVENT_DATA_DISCOVERY_ERROR, MPI_POINTER PTR_EVENT_DATA_DISCOVERY_ERROR, | ||
666 | EventDataDiscoveryError_t, MPI_POINTER pEventDataDiscoveryError_t; | ||
667 | |||
668 | #define MPI_EVENT_DSCVRY_ERR_DS_LOOP_DETECTED (0x00000001) | ||
669 | #define MPI_EVENT_DSCVRY_ERR_DS_UNADDRESSABLE_DEVICE (0x00000002) | ||
670 | #define MPI_EVENT_DSCVRY_ERR_DS_MULTIPLE_PORTS (0x00000004) | ||
671 | #define MPI_EVENT_DSCVRY_ERR_DS_EXPANDER_ERR (0x00000008) | ||
672 | #define MPI_EVENT_DSCVRY_ERR_DS_SMP_TIMEOUT (0x00000010) | ||
673 | #define MPI_EVENT_DSCVRY_ERR_DS_OUT_ROUTE_ENTRIES (0x00000020) | ||
674 | #define MPI_EVENT_DSCVRY_ERR_DS_INDEX_NOT_EXIST (0x00000040) | ||
675 | #define MPI_EVENT_DSCVRY_ERR_DS_SMP_FUNCTION_FAILED (0x00000080) | ||
676 | #define MPI_EVENT_DSCVRY_ERR_DS_SMP_CRC_ERROR (0x00000100) | ||
677 | #define MPI_EVENT_DSCVRY_ERR_DS_MULTPL_SUBTRACTIVE (0x00000200) | ||
678 | #define MPI_EVENT_DSCVRY_ERR_DS_TABLE_TO_TABLE (0x00000400) | ||
679 | #define MPI_EVENT_DSCVRY_ERR_DS_MULTPL_PATHS (0x00000800) | ||
567 | 680 | ||
568 | 681 | ||
569 | /***************************************************************************** | 682 | /***************************************************************************** |
@@ -589,11 +702,13 @@ typedef struct _MSG_FW_DOWNLOAD | |||
589 | } MSG_FW_DOWNLOAD, MPI_POINTER PTR_MSG_FW_DOWNLOAD, | 702 | } MSG_FW_DOWNLOAD, MPI_POINTER PTR_MSG_FW_DOWNLOAD, |
590 | FWDownload_t, MPI_POINTER pFWDownload_t; | 703 | FWDownload_t, MPI_POINTER pFWDownload_t; |
591 | 704 | ||
592 | #define MPI_FW_DOWNLOAD_ITYPE_RESERVED (0x00) | 705 | #define MPI_FW_DOWNLOAD_MSGFLGS_LAST_SEGMENT (0x01) |
593 | #define MPI_FW_DOWNLOAD_ITYPE_FW (0x01) | 706 | |
594 | #define MPI_FW_DOWNLOAD_ITYPE_BIOS (0x02) | 707 | #define MPI_FW_DOWNLOAD_ITYPE_RESERVED (0x00) |
595 | #define MPI_FW_DOWNLOAD_ITYPE_NVDATA (0x03) | 708 | #define MPI_FW_DOWNLOAD_ITYPE_FW (0x01) |
596 | #define MPI_FW_DOWNLOAD_ITYPE_BOOTLOADER (0x04) | 709 | #define MPI_FW_DOWNLOAD_ITYPE_BIOS (0x02) |
710 | #define MPI_FW_DOWNLOAD_ITYPE_NVDATA (0x03) | ||
711 | #define MPI_FW_DOWNLOAD_ITYPE_BOOTLOADER (0x04) | ||
597 | 712 | ||
598 | 713 | ||
599 | typedef struct _FWDownloadTCSGE | 714 | typedef struct _FWDownloadTCSGE |
@@ -647,6 +762,7 @@ typedef struct _MSG_FW_UPLOAD | |||
647 | #define MPI_FW_UPLOAD_ITYPE_BIOS_FLASH (0x02) | 762 | #define MPI_FW_UPLOAD_ITYPE_BIOS_FLASH (0x02) |
648 | #define MPI_FW_UPLOAD_ITYPE_NVDATA (0x03) | 763 | #define MPI_FW_UPLOAD_ITYPE_NVDATA (0x03) |
649 | #define MPI_FW_UPLOAD_ITYPE_BOOTLOADER (0x04) | 764 | #define MPI_FW_UPLOAD_ITYPE_BOOTLOADER (0x04) |
765 | #define MPI_FW_UPLOAD_ITYPE_FW_BACKUP (0x05) | ||
650 | 766 | ||
651 | typedef struct _FWUploadTCSGE | 767 | typedef struct _FWUploadTCSGE |
652 | { | 768 | { |
@@ -723,6 +839,7 @@ typedef struct _MPI_FW_HEADER | |||
723 | #define MPI_FW_HEADER_PID_PROD_IM_SCSI (0x0400) | 839 | #define MPI_FW_HEADER_PID_PROD_IM_SCSI (0x0400) |
724 | #define MPI_FW_HEADER_PID_PROD_IS_SCSI (0x0500) | 840 | #define MPI_FW_HEADER_PID_PROD_IS_SCSI (0x0500) |
725 | #define MPI_FW_HEADER_PID_PROD_CTX_SCSI (0x0600) | 841 | #define MPI_FW_HEADER_PID_PROD_CTX_SCSI (0x0600) |
842 | #define MPI_FW_HEADER_PID_PROD_IR_SCSI (0x0700) | ||
726 | 843 | ||
727 | #define MPI_FW_HEADER_PID_FAMILY_MASK (0x00FF) | 844 | #define MPI_FW_HEADER_PID_FAMILY_MASK (0x00FF) |
728 | /* SCSI */ | 845 | /* SCSI */ |
@@ -740,13 +857,16 @@ typedef struct _MPI_FW_HEADER | |||
740 | #define MPI_FW_HEADER_PID_FAMILY_1020TA0_SCSI (0x000C) | 857 | #define MPI_FW_HEADER_PID_FAMILY_1020TA0_SCSI (0x000C) |
741 | /* Fibre Channel */ | 858 | /* Fibre Channel */ |
742 | #define MPI_FW_HEADER_PID_FAMILY_909_FC (0x0000) | 859 | #define MPI_FW_HEADER_PID_FAMILY_909_FC (0x0000) |
743 | #define MPI_FW_HEADER_PID_FAMILY_919_FC (0x0001) | 860 | #define MPI_FW_HEADER_PID_FAMILY_919_FC (0x0001) /* 919 and 929 */ |
744 | #define MPI_FW_HEADER_PID_FAMILY_919X_FC (0x0002) | 861 | #define MPI_FW_HEADER_PID_FAMILY_919X_FC (0x0002) /* 919X and 929X */ |
745 | #define MPI_FW_HEADER_PID_FAMILY_919XL_FC (0x0003) | 862 | #define MPI_FW_HEADER_PID_FAMILY_919XL_FC (0x0003) /* 919XL and 929XL */ |
746 | #define MPI_FW_HEADER_PID_FAMILY_949_FC (0x0004) | 863 | #define MPI_FW_HEADER_PID_FAMILY_939X_FC (0x0004) /* 939X and 949X */ |
747 | #define MPI_FW_HEADER_PID_FAMILY_959_FC (0x0005) | 864 | #define MPI_FW_HEADER_PID_FAMILY_959_FC (0x0005) |
748 | /* SAS */ | 865 | /* SAS */ |
749 | #define MPI_FW_HEADER_PID_FAMILY_1064_SAS (0x0001) | 866 | #define MPI_FW_HEADER_PID_FAMILY_1064_SAS (0x0001) |
867 | #define MPI_FW_HEADER_PID_FAMILY_1068_SAS (0x0002) | ||
868 | #define MPI_FW_HEADER_PID_FAMILY_1078_SAS (0x0003) | ||
869 | #define MPI_FW_HEADER_PID_FAMILY_106xE_SAS (0x0004) /* 1068E, 1066E, and 1064E */ | ||
750 | 870 | ||
751 | typedef struct _MPI_EXT_IMAGE_HEADER | 871 | typedef struct _MPI_EXT_IMAGE_HEADER |
752 | { | 872 | { |
diff --git a/drivers/message/fusion/lsi/mpi_lan.h b/drivers/message/fusion/lsi/mpi_lan.h index 3ced12784ee8..dc0b52ae83dd 100644 --- a/drivers/message/fusion/lsi/mpi_lan.h +++ b/drivers/message/fusion/lsi/mpi_lan.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2000-2003 LSI Logic Corporation. | 2 | * Copyright (c) 2000-2004 LSI Logic Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi_lan.h | 5 | * Name: mpi_lan.h |
6 | * Title: MPI LAN messages and structures | 6 | * Title: MPI LAN messages and structures |
7 | * Creation Date: June 30, 2000 | 7 | * Creation Date: June 30, 2000 |
8 | * | 8 | * |
9 | * mpi_lan.h Version: 01.05.xx | 9 | * mpi_lan.h Version: 01.05.01 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -28,6 +28,8 @@ | |||
28 | * 02-20-01 01.01.02 Started using MPI_POINTER. | 28 | * 02-20-01 01.01.02 Started using MPI_POINTER. |
29 | * 03-27-01 01.01.03 Added structure offset comments. | 29 | * 03-27-01 01.01.03 Added structure offset comments. |
30 | * 08-08-01 01.02.01 Original release for v1.2 work. | 30 | * 08-08-01 01.02.01 Original release for v1.2 work. |
31 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
32 | * 08-19-04 01.05.01 Original release for MPI v1.5. | ||
31 | * -------------------------------------------------------------------------- | 33 | * -------------------------------------------------------------------------- |
32 | */ | 34 | */ |
33 | 35 | ||
diff --git a/drivers/message/fusion/lsi/mpi_raid.h b/drivers/message/fusion/lsi/mpi_raid.h index 9580a9de7fd2..802255d2747c 100644 --- a/drivers/message/fusion/lsi/mpi_raid.h +++ b/drivers/message/fusion/lsi/mpi_raid.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2001-2003 LSI Logic Corporation. | 2 | * Copyright (c) 2001-2005 LSI Logic Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi_raid.h | 5 | * Name: mpi_raid.h |
6 | * Title: MPI RAID message and structures | 6 | * Title: MPI RAID message and structures |
7 | * Creation Date: February 27, 2001 | 7 | * Creation Date: February 27, 2001 |
8 | * | 8 | * |
9 | * mpi_raid.h Version: 01.05.xx | 9 | * mpi_raid.h Version: 01.05.02 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -28,6 +28,10 @@ | |||
28 | * 11-15-02 01.02.08 Added missing MsgContext field to MSG_MAILBOX_REQUEST. | 28 | * 11-15-02 01.02.08 Added missing MsgContext field to MSG_MAILBOX_REQUEST. |
29 | * 04-01-03 01.02.09 New action data option flag for | 29 | * 04-01-03 01.02.09 New action data option flag for |
30 | * MPI_RAID_ACTION_DELETE_VOLUME. | 30 | * MPI_RAID_ACTION_DELETE_VOLUME. |
31 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
32 | * 08-19-04 01.05.01 Original release for MPI v1.5. | ||
33 | * 01-15-05 01.05.02 Added defines for the two new RAID Actions for | ||
34 | * _SET_RESYNC_RATE and _SET_DATA_SCRUB_RATE. | ||
31 | * -------------------------------------------------------------------------- | 35 | * -------------------------------------------------------------------------- |
32 | */ | 36 | */ |
33 | 37 | ||
@@ -84,6 +88,8 @@ typedef struct _MSG_RAID_ACTION | |||
84 | #define MPI_RAID_ACTION_REPLACE_PHYSDISK (0x10) | 88 | #define MPI_RAID_ACTION_REPLACE_PHYSDISK (0x10) |
85 | #define MPI_RAID_ACTION_ACTIVATE_VOLUME (0x11) | 89 | #define MPI_RAID_ACTION_ACTIVATE_VOLUME (0x11) |
86 | #define MPI_RAID_ACTION_INACTIVATE_VOLUME (0x12) | 90 | #define MPI_RAID_ACTION_INACTIVATE_VOLUME (0x12) |
91 | #define MPI_RAID_ACTION_SET_RESYNC_RATE (0x13) | ||
92 | #define MPI_RAID_ACTION_SET_DATA_SCRUB_RATE (0x14) | ||
87 | 93 | ||
88 | /* ActionDataWord defines for use with MPI_RAID_ACTION_CREATE_VOLUME action */ | 94 | /* ActionDataWord defines for use with MPI_RAID_ACTION_CREATE_VOLUME action */ |
89 | #define MPI_RAID_ACTION_ADATA_DO_NOT_SYNC (0x00000001) | 95 | #define MPI_RAID_ACTION_ADATA_DO_NOT_SYNC (0x00000001) |
@@ -99,6 +105,13 @@ typedef struct _MSG_RAID_ACTION | |||
99 | /* ActionDataWord defines for use with MPI_RAID_ACTION_ACTIVATE_VOLUME action */ | 105 | /* ActionDataWord defines for use with MPI_RAID_ACTION_ACTIVATE_VOLUME action */ |
100 | #define MPI_RAID_ACTION_ADATA_INACTIVATE_ALL (0x00000001) | 106 | #define MPI_RAID_ACTION_ADATA_INACTIVATE_ALL (0x00000001) |
101 | 107 | ||
108 | /* ActionDataWord defines for use with MPI_RAID_ACTION_SET_RESYNC_RATE action */ | ||
109 | #define MPI_RAID_ACTION_ADATA_RESYNC_RATE_MASK (0x000000FF) | ||
110 | |||
111 | /* ActionDataWord defines for use with MPI_RAID_ACTION_SET_DATA_SCRUB_RATE action */ | ||
112 | #define MPI_RAID_ACTION_ADATA_DATA_SCRUB_RATE_MASK (0x000000FF) | ||
113 | |||
114 | |||
102 | 115 | ||
103 | /* RAID Action reply message */ | 116 | /* RAID Action reply message */ |
104 | 117 | ||
diff --git a/drivers/message/fusion/lsi/mpi_sas.h b/drivers/message/fusion/lsi/mpi_sas.h index cb878f9c65de..230fa69b5353 100644 --- a/drivers/message/fusion/lsi/mpi_sas.h +++ b/drivers/message/fusion/lsi/mpi_sas.h | |||
@@ -1,25 +1,76 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2003 LSI Logic Corporation. | 2 | * Copyright (c) 2004 LSI Logic Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi_sas.h | 5 | * Name: mpi_sas.h |
6 | * Title: MPI Serial Attached SCSI structures and definitions | 6 | * Title: MPI Serial Attached SCSI structures and definitions |
7 | * Creation Date: April 23, 2003 | 7 | * Creation Date: August 19, 2004 |
8 | * | 8 | * |
9 | * mpi_sas.h Version: 01.05.xx | 9 | * mpi_sas.h Version: 01.05.01 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
13 | * | 13 | * |
14 | * Date Version Description | 14 | * Date Version Description |
15 | * -------- -------- ------------------------------------------------------ | 15 | * -------- -------- ------------------------------------------------------ |
16 | * xx-yy-zz 01.05.01 Original release. | 16 | * 08-19-04 01.05.01 Original release. |
17 | * -------------------------------------------------------------------------- | 17 | * -------------------------------------------------------------------------- |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #ifndef MPI_SAS_H | 20 | #ifndef MPI_SAS_H |
21 | #define MPI_SAS_H | 21 | #define MPI_SAS_H |
22 | 22 | ||
23 | |||
24 | /* | ||
25 | * Values for SASStatus. | ||
26 | */ | ||
27 | #define MPI_SASSTATUS_SUCCESS (0x00) | ||
28 | #define MPI_SASSTATUS_UNKNOWN_ERROR (0x01) | ||
29 | #define MPI_SASSTATUS_INVALID_FRAME (0x02) | ||
30 | #define MPI_SASSTATUS_UTC_BAD_DEST (0x03) | ||
31 | #define MPI_SASSTATUS_UTC_BREAK_RECEIVED (0x04) | ||
32 | #define MPI_SASSTATUS_UTC_CONNECT_RATE_NOT_SUPPORTED (0x05) | ||
33 | #define MPI_SASSTATUS_UTC_PORT_LAYER_REQUEST (0x06) | ||
34 | #define MPI_SASSTATUS_UTC_PROTOCOL_NOT_SUPPORTED (0x07) | ||
35 | #define MPI_SASSTATUS_UTC_STP_RESOURCES_BUSY (0x08) | ||
36 | #define MPI_SASSTATUS_UTC_WRONG_DESTINATION (0x09) | ||
37 | #define MPI_SASSTATUS_SHORT_INFORMATION_UNIT (0x0A) | ||
38 | #define MPI_SASSTATUS_LONG_INFORMATION_UNIT (0x0B) | ||
39 | #define MPI_SASSTATUS_XFER_RDY_INCORRECT_WRITE_DATA (0x0C) | ||
40 | #define MPI_SASSTATUS_XFER_RDY_REQUEST_OFFSET_ERROR (0x0D) | ||
41 | #define MPI_SASSTATUS_XFER_RDY_NOT_EXPECTED (0x0E) | ||
42 | #define MPI_SASSTATUS_DATA_INCORRECT_DATA_LENGTH (0x0F) | ||
43 | #define MPI_SASSTATUS_DATA_TOO_MUCH_READ_DATA (0x10) | ||
44 | #define MPI_SASSTATUS_DATA_OFFSET_ERROR (0x11) | ||
45 | #define MPI_SASSTATUS_SDSF_NAK_RECEIVED (0x12) | ||
46 | #define MPI_SASSTATUS_SDSF_CONNECTION_FAILED (0x13) | ||
47 | #define MPI_SASSTATUS_INITIATOR_RESPONSE_TIMEOUT (0x14) | ||
48 | |||
49 | |||
50 | /* | ||
51 | * Values for the SAS DeviceInfo field used in SAS Device Status Change Event | ||
52 | * data and SAS IO Unit Configuration pages. | ||
53 | */ | ||
54 | #define MPI_SAS_DEVICE_INFO_ATAPI_DEVICE (0x00002000) | ||
55 | #define MPI_SAS_DEVICE_INFO_LSI_DEVICE (0x00001000) | ||
56 | #define MPI_SAS_DEVICE_INFO_DIRECT_ATTACH (0x00000800) | ||
57 | #define MPI_SAS_DEVICE_INFO_SSP_TARGET (0x00000400) | ||
58 | #define MPI_SAS_DEVICE_INFO_STP_TARGET (0x00000200) | ||
59 | #define MPI_SAS_DEVICE_INFO_SMP_TARGET (0x00000100) | ||
60 | #define MPI_SAS_DEVICE_INFO_SATA_DEVICE (0x00000080) | ||
61 | #define MPI_SAS_DEVICE_INFO_SSP_INITIATOR (0x00000040) | ||
62 | #define MPI_SAS_DEVICE_INFO_STP_INITIATOR (0x00000020) | ||
63 | #define MPI_SAS_DEVICE_INFO_SMP_INITIATOR (0x00000010) | ||
64 | #define MPI_SAS_DEVICE_INFO_SATA_HOST (0x00000008) | ||
65 | |||
66 | #define MPI_SAS_DEVICE_INFO_MASK_DEVICE_TYPE (0x00000007) | ||
67 | #define MPI_SAS_DEVICE_INFO_NO_DEVICE (0x00000000) | ||
68 | #define MPI_SAS_DEVICE_INFO_END_DEVICE (0x00000001) | ||
69 | #define MPI_SAS_DEVICE_INFO_EDGE_EXPANDER (0x00000002) | ||
70 | #define MPI_SAS_DEVICE_INFO_FANOUT_EXPANDER (0x00000003) | ||
71 | |||
72 | |||
73 | |||
23 | /***************************************************************************** | 74 | /***************************************************************************** |
24 | * | 75 | * |
25 | * S e r i a l A t t a c h e d S C S I M e s s a g e s | 76 | * S e r i a l A t t a c h e d S C S I M e s s a g e s |
@@ -48,8 +99,10 @@ typedef struct _MSG_SMP_PASSTHROUGH_REQUEST | |||
48 | } MSG_SMP_PASSTHROUGH_REQUEST, MPI_POINTER PTR_MSG_SMP_PASSTHROUGH_REQUEST, | 99 | } MSG_SMP_PASSTHROUGH_REQUEST, MPI_POINTER PTR_MSG_SMP_PASSTHROUGH_REQUEST, |
49 | SmpPassthroughRequest_t, MPI_POINTER pSmpPassthroughRequest_t; | 100 | SmpPassthroughRequest_t, MPI_POINTER pSmpPassthroughRequest_t; |
50 | 101 | ||
102 | /* values for PassthroughFlags field */ | ||
51 | #define MPI_SMP_PT_REQ_PT_FLAGS_IMMEDIATE (0x80) | 103 | #define MPI_SMP_PT_REQ_PT_FLAGS_IMMEDIATE (0x80) |
52 | 104 | ||
105 | /* values for ConnectionRate field */ | ||
53 | #define MPI_SMP_PT_REQ_CONNECT_RATE_NEGOTIATED (0x00) | 106 | #define MPI_SMP_PT_REQ_CONNECT_RATE_NEGOTIATED (0x00) |
54 | #define MPI_SMP_PT_REQ_CONNECT_RATE_1_5 (0x08) | 107 | #define MPI_SMP_PT_REQ_CONNECT_RATE_1_5 (0x08) |
55 | #define MPI_SMP_PT_REQ_CONNECT_RATE_3_0 (0x09) | 108 | #define MPI_SMP_PT_REQ_CONNECT_RATE_3_0 (0x09) |
@@ -77,51 +130,69 @@ typedef struct _MSG_SMP_PASSTHROUGH_REPLY | |||
77 | 130 | ||
78 | #define MPI_SMP_PT_REPLY_PT_FLAGS_IMMEDIATE (0x80) | 131 | #define MPI_SMP_PT_REPLY_PT_FLAGS_IMMEDIATE (0x80) |
79 | 132 | ||
80 | /* values for the SASStatus field */ | ||
81 | #define MPI_SASSTATUS_SUCCESS (0x00) | ||
82 | #define MPI_SASSTATUS_UNKNOWN_ERROR (0x01) | ||
83 | #define MPI_SASSTATUS_INVALID_FRAME (0x02) | ||
84 | #define MPI_SASSTATUS_UTC_BAD_DEST (0x03) | ||
85 | #define MPI_SASSTATUS_UTC_BREAK_RECEIVED (0x04) | ||
86 | #define MPI_SASSTATUS_UTC_CONNECT_RATE_NOT_SUPPORTED (0x05) | ||
87 | #define MPI_SASSTATUS_UTC_PORT_LAYER_REQUEST (0x06) | ||
88 | #define MPI_SASSTATUS_UTC_PROTOCOL_NOT_SUPPORTED (0x07) | ||
89 | #define MPI_SASSTATUS_UTC_STP_RESOURCES_BUSY (0x08) | ||
90 | #define MPI_SASSTATUS_UTC_WRONG_DESTINATION (0x09) | ||
91 | #define MPI_SASSTATUS_SHORT_INFORMATION_UNIT (0x0A) | ||
92 | #define MPI_SASSTATUS_LONG_INFORMATION_UNIT (0x0B) | ||
93 | #define MPI_SASSTATUS_XFER_RDY_INCORRECT_WRITE_DATA (0x0C) | ||
94 | #define MPI_SASSTATUS_XFER_RDY_REQUEST_OFFSET_ERROR (0x0D) | ||
95 | #define MPI_SASSTATUS_XFER_RDY_NOT_EXPECTED (0x0E) | ||
96 | #define MPI_SASSTATUS_DATA_INCORRECT_DATA_LENGTH (0x0F) | ||
97 | #define MPI_SASSTATUS_DATA_TOO_MUCH_READ_DATA (0x10) | ||
98 | #define MPI_SASSTATUS_DATA_OFFSET_ERROR (0x11) | ||
99 | #define MPI_SASSTATUS_SDSF_NAK_RECEIVED (0x12) | ||
100 | #define MPI_SASSTATUS_SDSF_CONNECTION_FAILED (0x13) | ||
101 | #define MPI_SASSTATUS_INITIATOR_RESPONSE_TIMEOUT (0x14) | ||
102 | 133 | ||
134 | /****************************************************************************/ | ||
135 | /* SATA Passthrough Request */ | ||
136 | /****************************************************************************/ | ||
137 | |||
138 | typedef struct _MSG_SATA_PASSTHROUGH_REQUEST | ||
139 | { | ||
140 | U8 TargetID; /* 00h */ | ||
141 | U8 Bus; /* 01h */ | ||
142 | U8 ChainOffset; /* 02h */ | ||
143 | U8 Function; /* 03h */ | ||
144 | U16 PassthroughFlags; /* 04h */ | ||
145 | U8 ConnectionRate; /* 06h */ | ||
146 | U8 MsgFlags; /* 07h */ | ||
147 | U32 MsgContext; /* 08h */ | ||
148 | U32 Reserved1; /* 0Ch */ | ||
149 | U32 Reserved2; /* 10h */ | ||
150 | U32 Reserved3; /* 14h */ | ||
151 | U32 DataLength; /* 18h */ | ||
152 | U8 CommandFIS[20]; /* 1Ch */ | ||
153 | SGE_SIMPLE_UNION SGL; /* 30h */ | ||
154 | } MSG_SATA_PASSTHROUGH_REQUEST, MPI_POINTER PTR_MSG_SATA_PASSTHROUGH_REQUEST, | ||
155 | SataPassthroughRequest_t, MPI_POINTER pSataPassthroughRequest_t; | ||
156 | |||
157 | /* values for PassthroughFlags field */ | ||
158 | #define MPI_SATA_PT_REQ_PT_FLAGS_RESET_DEVICE (0x0200) | ||
159 | #define MPI_SATA_PT_REQ_PT_FLAGS_EXECUTE_DIAG (0x0100) | ||
160 | #define MPI_SATA_PT_REQ_PT_FLAGS_DMA_QUEUED (0x0080) | ||
161 | #define MPI_SATA_PT_REQ_PT_FLAGS_PACKET_COMMAND (0x0040) | ||
162 | #define MPI_SATA_PT_REQ_PT_FLAGS_DMA (0x0020) | ||
163 | #define MPI_SATA_PT_REQ_PT_FLAGS_PIO (0x0010) | ||
164 | #define MPI_SATA_PT_REQ_PT_FLAGS_UNSPECIFIED_VU (0x0004) | ||
165 | #define MPI_SATA_PT_REQ_PT_FLAGS_WRITE (0x0002) | ||
166 | #define MPI_SATA_PT_REQ_PT_FLAGS_READ (0x0001) | ||
167 | |||
168 | /* values for ConnectionRate field */ | ||
169 | #define MPI_SATA_PT_REQ_CONNECT_RATE_NEGOTIATED (0x00) | ||
170 | #define MPI_SATA_PT_REQ_CONNECT_RATE_1_5 (0x08) | ||
171 | #define MPI_SATA_PT_REQ_CONNECT_RATE_3_0 (0x09) | ||
172 | |||
173 | |||
174 | /* SATA Passthrough Reply */ | ||
175 | typedef struct _MSG_SATA_PASSTHROUGH_REPLY | ||
176 | { | ||
177 | U8 TargetID; /* 00h */ | ||
178 | U8 Bus; /* 01h */ | ||
179 | U8 MsgLength; /* 02h */ | ||
180 | U8 Function; /* 03h */ | ||
181 | U16 PassthroughFlags; /* 04h */ | ||
182 | U8 Reserved1; /* 06h */ | ||
183 | U8 MsgFlags; /* 07h */ | ||
184 | U32 MsgContext; /* 08h */ | ||
185 | U8 Reserved2; /* 0Ch */ | ||
186 | U8 SASStatus; /* 0Dh */ | ||
187 | U16 IOCStatus; /* 0Eh */ | ||
188 | U32 IOCLogInfo; /* 10h */ | ||
189 | U8 StatusFIS[20]; /* 14h */ | ||
190 | U32 StatusControlRegisters; /* 28h */ | ||
191 | U32 TransferCount; /* 2Ch */ | ||
192 | } MSG_SATA_PASSTHROUGH_REPLY, MPI_POINTER PTR_MSG_SATA_PASSTHROUGH_REPLY, | ||
193 | SataPassthroughReply_t, MPI_POINTER pSataPassthroughReply_t; | ||
103 | 194 | ||
104 | /* | ||
105 | * Values for the SAS DeviceInfo field used in SAS Device Status Change Event | ||
106 | * data and SAS IO Unit Configuration pages. | ||
107 | */ | ||
108 | #define MPI_SAS_DEVICE_INFO_ATAPI_DEVICE (0x00002000) | ||
109 | #define MPI_SAS_DEVICE_INFO_LSI_DEVICE (0x00001000) | ||
110 | #define MPI_SAS_DEVICE_INFO_DIRECT_ATTACH (0x00000800) | ||
111 | #define MPI_SAS_DEVICE_INFO_SSP_TARGET (0x00000400) | ||
112 | #define MPI_SAS_DEVICE_INFO_STP_TARGET (0x00000200) | ||
113 | #define MPI_SAS_DEVICE_INFO_SMP_TARGET (0x00000100) | ||
114 | #define MPI_SAS_DEVICE_INFO_SATA_DEVICE (0x00000080) | ||
115 | #define MPI_SAS_DEVICE_INFO_SSP_INITIATOR (0x00000040) | ||
116 | #define MPI_SAS_DEVICE_INFO_STP_INITIATOR (0x00000020) | ||
117 | #define MPI_SAS_DEVICE_INFO_SMP_INITIATOR (0x00000010) | ||
118 | #define MPI_SAS_DEVICE_INFO_SATA_HOST (0x00000008) | ||
119 | 195 | ||
120 | #define MPI_SAS_DEVICE_INFO_MASK_DEVICE_TYPE (0x00000007) | ||
121 | #define MPI_SAS_DEVICE_INFO_NO_DEVICE (0x00000000) | ||
122 | #define MPI_SAS_DEVICE_INFO_END_DEVICE (0x00000001) | ||
123 | #define MPI_SAS_DEVICE_INFO_EDGE_EXPANDER (0x00000002) | ||
124 | #define MPI_SAS_DEVICE_INFO_FANOUT_EXPANDER (0x00000003) | ||
125 | 196 | ||
126 | 197 | ||
127 | /****************************************************************************/ | 198 | /****************************************************************************/ |
@@ -148,15 +219,13 @@ typedef struct _MSG_SAS_IOUNIT_CONTROL_REQUEST | |||
148 | } MSG_SAS_IOUNIT_CONTROL_REQUEST, MPI_POINTER PTR_MSG_SAS_IOUNIT_CONTROL_REQUEST, | 219 | } MSG_SAS_IOUNIT_CONTROL_REQUEST, MPI_POINTER PTR_MSG_SAS_IOUNIT_CONTROL_REQUEST, |
149 | SasIoUnitControlRequest_t, MPI_POINTER pSasIoUnitControlRequest_t; | 220 | SasIoUnitControlRequest_t, MPI_POINTER pSasIoUnitControlRequest_t; |
150 | 221 | ||
151 | /* values for the ... field */ | 222 | /* values for the Operation field */ |
152 | #define MPI_SAS_OP_CLEAR_NOT_PRESENT (0x01) | 223 | #define MPI_SAS_OP_CLEAR_NOT_PRESENT (0x01) |
153 | #define MPI_SAS_OP_CLEAR_ALL (0x02) | 224 | #define MPI_SAS_OP_CLEAR_ALL_PERSISTENT (0x02) |
154 | #define MPI_SAS_OP_MAP (0x03) | ||
155 | #define MPI_SAS_OP_MOVE (0x04) | ||
156 | #define MPI_SAS_OP_CLEAR (0x05) | ||
157 | #define MPI_SAS_OP_PHY_LINK_RESET (0x06) | 225 | #define MPI_SAS_OP_PHY_LINK_RESET (0x06) |
158 | #define MPI_SAS_OP_PHY_HARD_RESET (0x07) | 226 | #define MPI_SAS_OP_PHY_HARD_RESET (0x07) |
159 | #define MPI_SAS_OP_PHY_CLEAR_ERROR_LOG (0x08) | 227 | #define MPI_SAS_OP_PHY_CLEAR_ERROR_LOG (0x08) |
228 | #define MPI_SAS_OP_MAP_CURRENT (0x09) | ||
160 | 229 | ||
161 | 230 | ||
162 | /* SAS IO Unit Control Reply */ | 231 | /* SAS IO Unit Control Reply */ |
diff --git a/drivers/message/fusion/lsi/mpi_targ.h b/drivers/message/fusion/lsi/mpi_targ.h index 804dc85426c1..623901fd82be 100644 --- a/drivers/message/fusion/lsi/mpi_targ.h +++ b/drivers/message/fusion/lsi/mpi_targ.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2000-2003 LSI Logic Corporation. | 2 | * Copyright (c) 2000-2004 LSI Logic Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi_targ.h | 5 | * Name: mpi_targ.h |
6 | * Title: MPI Target mode messages and structures | 6 | * Title: MPI Target mode messages and structures |
7 | * Creation Date: June 22, 2000 | 7 | * Creation Date: June 22, 2000 |
8 | * | 8 | * |
9 | * mpi_targ.h Version: 01.05.xx | 9 | * mpi_targ.h Version: 01.05.04 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -43,6 +43,16 @@ | |||
43 | * Added PRIORITY_REASON_TARGET_BUSY. | 43 | * Added PRIORITY_REASON_TARGET_BUSY. |
44 | * 11-15-02 01.02.08 Added AliasID field to MPI_TARGET_SCSI_SPI_CMD_BUFFER. | 44 | * 11-15-02 01.02.08 Added AliasID field to MPI_TARGET_SCSI_SPI_CMD_BUFFER. |
45 | * 04-01-03 01.02.09 Added OptionalOxid field to MPI_TARGET_FCP_CMD_BUFFER. | 45 | * 04-01-03 01.02.09 Added OptionalOxid field to MPI_TARGET_FCP_CMD_BUFFER. |
46 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
47 | * 08-19-04 01.05.01 Added new request message structures for | ||
48 | * MSG_TARGET_CMD_BUF_POST_BASE_REQUEST, | ||
49 | * MSG_TARGET_CMD_BUF_POST_LIST_REQUEST, and | ||
50 | * MSG_TARGET_ASSIST_EXT_REQUEST. | ||
51 | * Added new structures for SAS SSP Command buffer, SSP | ||
52 | * Task buffer, and SSP Status IU. | ||
53 | * 10-05-04 01.05.02 MSG_TARGET_CMD_BUFFER_POST_BASE_LIST_REPLY added. | ||
54 | * 02-22-05 01.05.03 Changed a comment. | ||
55 | * 03-11-05 01.05.04 Removed TargetAssistExtended Request. | ||
46 | * -------------------------------------------------------------------------- | 56 | * -------------------------------------------------------------------------- |
47 | */ | 57 | */ |
48 | 58 | ||
@@ -133,6 +143,25 @@ typedef struct _MSG_PRIORITY_CMD_RECEIVED_REPLY | |||
133 | } MSG_PRIORITY_CMD_RECEIVED_REPLY, MPI_POINTER PTR_MSG_PRIORITY_CMD_RECEIVED_REPLY, | 143 | } MSG_PRIORITY_CMD_RECEIVED_REPLY, MPI_POINTER PTR_MSG_PRIORITY_CMD_RECEIVED_REPLY, |
134 | PriorityCommandReceivedReply_t, MPI_POINTER pPriorityCommandReceivedReply_t; | 144 | PriorityCommandReceivedReply_t, MPI_POINTER pPriorityCommandReceivedReply_t; |
135 | 145 | ||
146 | |||
147 | typedef struct _MSG_TARGET_CMD_BUFFER_POST_ERROR_REPLY | ||
148 | { | ||
149 | U16 Reserved; /* 00h */ | ||
150 | U8 MsgLength; /* 02h */ | ||
151 | U8 Function; /* 03h */ | ||
152 | U16 Reserved1; /* 04h */ | ||
153 | U8 Reserved2; /* 06h */ | ||
154 | U8 MsgFlags; /* 07h */ | ||
155 | U32 MsgContext; /* 08h */ | ||
156 | U8 PriorityReason; /* 0Ch */ | ||
157 | U8 Reserved3; /* 0Dh */ | ||
158 | U16 IOCStatus; /* 0Eh */ | ||
159 | U32 IOCLogInfo; /* 10h */ | ||
160 | U32 ReplyWord; /* 14h */ | ||
161 | } MSG_TARGET_CMD_BUFFER_POST_ERROR_REPLY, | ||
162 | MPI_POINTER PTR_MSG_TARGET_CMD_BUFFER_POST_ERROR_REPLY, | ||
163 | TargetCmdBufferPostErrorReply_t, MPI_POINTER pTargetCmdBufferPostErrorReply_t; | ||
164 | |||
136 | #define PRIORITY_REASON_NO_DISCONNECT (0x00) | 165 | #define PRIORITY_REASON_NO_DISCONNECT (0x00) |
137 | #define PRIORITY_REASON_SCSI_TASK_MANAGEMENT (0x01) | 166 | #define PRIORITY_REASON_SCSI_TASK_MANAGEMENT (0x01) |
138 | #define PRIORITY_REASON_CMD_PARITY_ERR (0x02) | 167 | #define PRIORITY_REASON_CMD_PARITY_ERR (0x02) |
@@ -146,7 +175,34 @@ typedef struct _MSG_PRIORITY_CMD_RECEIVED_REPLY | |||
146 | #define PRIORITY_REASON_UNKNOWN (0xFF) | 175 | #define PRIORITY_REASON_UNKNOWN (0xFF) |
147 | 176 | ||
148 | 177 | ||
149 | typedef struct _MSG_TARGET_CMD_BUFFER_POST_ERROR_REPLY | 178 | /****************************************************************************/ |
179 | /* Target Command Buffer Post Base Request */ | ||
180 | /****************************************************************************/ | ||
181 | |||
182 | typedef struct _MSG_TARGET_CMD_BUF_POST_BASE_REQUEST | ||
183 | { | ||
184 | U8 BufferPostFlags; /* 00h */ | ||
185 | U8 PortNumber; /* 01h */ | ||
186 | U8 ChainOffset; /* 02h */ | ||
187 | U8 Function; /* 03h */ | ||
188 | U16 TotalCmdBuffers; /* 04h */ | ||
189 | U8 Reserved; /* 06h */ | ||
190 | U8 MsgFlags; /* 07h */ | ||
191 | U32 MsgContext; /* 08h */ | ||
192 | U32 Reserved1; /* 0Ch */ | ||
193 | U16 CmdBufferLength; /* 10h */ | ||
194 | U16 NextCmdBufferOffset; /* 12h */ | ||
195 | U32 BaseAddressLow; /* 14h */ | ||
196 | U32 BaseAddressHigh; /* 18h */ | ||
197 | } MSG_TARGET_CMD_BUF_POST_BASE_REQUEST, | ||
198 | MPI_POINTER PTR__MSG_TARGET_CMD_BUF_POST_BASE_REQUEST, | ||
199 | TargetCmdBufferPostBaseRequest_t, | ||
200 | MPI_POINTER pTargetCmdBufferPostBaseRequest_t; | ||
201 | |||
202 | #define CMD_BUFFER_POST_BASE_FLAGS_AUTO_POST_ALL (0x01) | ||
203 | |||
204 | |||
205 | typedef struct _MSG_TARGET_CMD_BUFFER_POST_BASE_LIST_REPLY | ||
150 | { | 206 | { |
151 | U16 Reserved; /* 00h */ | 207 | U16 Reserved; /* 00h */ |
152 | U8 MsgLength; /* 02h */ | 208 | U8 MsgLength; /* 02h */ |
@@ -155,16 +211,41 @@ typedef struct _MSG_TARGET_CMD_BUFFER_POST_ERROR_REPLY | |||
155 | U8 Reserved2; /* 06h */ | 211 | U8 Reserved2; /* 06h */ |
156 | U8 MsgFlags; /* 07h */ | 212 | U8 MsgFlags; /* 07h */ |
157 | U32 MsgContext; /* 08h */ | 213 | U32 MsgContext; /* 08h */ |
158 | U8 PriorityReason; /* 0Ch */ | 214 | U16 Reserved3; /* 0Ch */ |
159 | U8 Reserved3; /* 0Dh */ | ||
160 | U16 IOCStatus; /* 0Eh */ | 215 | U16 IOCStatus; /* 0Eh */ |
161 | U32 IOCLogInfo; /* 10h */ | 216 | U32 IOCLogInfo; /* 10h */ |
162 | U32 ReplyWord; /* 14h */ | 217 | } MSG_TARGET_CMD_BUFFER_POST_BASE_LIST_REPLY, |
163 | } MSG_TARGET_CMD_BUFFER_POST_ERROR_REPLY, | 218 | MPI_POINTER PTR_MSG_TARGET_CMD_BUFFER_POST_BASE_LIST_REPLY, |
164 | MPI_POINTER PTR_MSG_TARGET_CMD_BUFFER_POST_ERROR_REPLY, | 219 | TargetCmdBufferPostBaseListReply_t, |
165 | TargetCmdBufferPostErrorReply_t, MPI_POINTER pTargetCmdBufferPostErrorReply_t; | 220 | MPI_POINTER pTargetCmdBufferPostBaseListReply_t; |
221 | |||
222 | |||
223 | /****************************************************************************/ | ||
224 | /* Target Command Buffer Post List Request */ | ||
225 | /****************************************************************************/ | ||
226 | |||
227 | typedef struct _MSG_TARGET_CMD_BUF_POST_LIST_REQUEST | ||
228 | { | ||
229 | U8 Reserved; /* 00h */ | ||
230 | U8 PortNumber; /* 01h */ | ||
231 | U8 ChainOffset; /* 02h */ | ||
232 | U8 Function; /* 03h */ | ||
233 | U16 CmdBufferCount; /* 04h */ | ||
234 | U8 Reserved1; /* 06h */ | ||
235 | U8 MsgFlags; /* 07h */ | ||
236 | U32 MsgContext; /* 08h */ | ||
237 | U32 Reserved2; /* 0Ch */ | ||
238 | U16 IoIndex[2]; /* 10h */ | ||
239 | } MSG_TARGET_CMD_BUF_POST_LIST_REQUEST, | ||
240 | MPI_POINTER PTR_MSG_TARGET_CMD_BUF_POST_LIST_REQUEST, | ||
241 | TargetCmdBufferPostListRequest_t, | ||
242 | MPI_POINTER pTargetCmdBufferPostListRequest_t; | ||
166 | 243 | ||
167 | 244 | ||
245 | /****************************************************************************/ | ||
246 | /* Command Buffer Formats (with 16 byte CDB) */ | ||
247 | /****************************************************************************/ | ||
248 | |||
168 | typedef struct _MPI_TARGET_FCP_CMD_BUFFER | 249 | typedef struct _MPI_TARGET_FCP_CMD_BUFFER |
169 | { | 250 | { |
170 | U8 FcpLun[8]; /* 00h */ | 251 | U8 FcpLun[8]; /* 00h */ |
@@ -201,6 +282,46 @@ typedef struct _MPI_TARGET_SCSI_SPI_CMD_BUFFER | |||
201 | MpiTargetScsiSpiCmdBuffer, MPI_POINTER pMpiTargetScsiSpiCmdBuffer; | 282 | MpiTargetScsiSpiCmdBuffer, MPI_POINTER pMpiTargetScsiSpiCmdBuffer; |
202 | 283 | ||
203 | 284 | ||
285 | typedef struct _MPI_TARGET_SSP_CMD_BUFFER | ||
286 | { | ||
287 | U8 FrameType; /* 00h */ | ||
288 | U8 Reserved1; /* 01h */ | ||
289 | U16 Reserved2; /* 02h */ | ||
290 | U16 InitiatorTag; /* 04h */ | ||
291 | U16 DevHandle; /* 06h */ | ||
292 | /* COMMAND information unit starts here */ | ||
293 | U8 LogicalUnitNumber[8]; /* 08h */ | ||
294 | U8 Reserved3; /* 10h */ | ||
295 | U8 TaskAttribute; /* lower 3 bits */ /* 11h */ | ||
296 | U8 Reserved4; /* 12h */ | ||
297 | U8 AdditionalCDBLength; /* upper 5 bits */ /* 13h */ | ||
298 | U8 CDB[16]; /* 14h */ | ||
299 | /* Additional CDB bytes extend past the CDB field */ | ||
300 | } MPI_TARGET_SSP_CMD_BUFFER, MPI_POINTER PTR_MPI_TARGET_SSP_CMD_BUFFER, | ||
301 | MpiTargetSspCmdBuffer, MPI_POINTER pMpiTargetSspCmdBuffer; | ||
302 | |||
303 | typedef struct _MPI_TARGET_SSP_TASK_BUFFER | ||
304 | { | ||
305 | U8 FrameType; /* 00h */ | ||
306 | U8 Reserved1; /* 01h */ | ||
307 | U16 Reserved2; /* 02h */ | ||
308 | U16 InitiatorTag; /* 04h */ | ||
309 | U16 DevHandle; /* 06h */ | ||
310 | /* TASK information unit starts here */ | ||
311 | U8 LogicalUnitNumber[8]; /* 08h */ | ||
312 | U8 Reserved3; /* 10h */ | ||
313 | U8 Reserved4; /* 11h */ | ||
314 | U8 TaskManagementFunction; /* 12h */ | ||
315 | U8 Reserved5; /* 13h */ | ||
316 | U16 ManagedTaskTag; /* 14h */ | ||
317 | U16 Reserved6; /* 16h */ | ||
318 | U32 Reserved7; /* 18h */ | ||
319 | U32 Reserved8; /* 1Ch */ | ||
320 | U32 Reserved9; /* 20h */ | ||
321 | } MPI_TARGET_SSP_TASK_BUFFER, MPI_POINTER PTR_MPI_TARGET_SSP_TASK_BUFFER, | ||
322 | MpiTargetSspTaskBuffer, MPI_POINTER pMpiTargetSspTaskBuffer; | ||
323 | |||
324 | |||
204 | /****************************************************************************/ | 325 | /****************************************************************************/ |
205 | /* Target Assist Request */ | 326 | /* Target Assist Request */ |
206 | /****************************************************************************/ | 327 | /****************************************************************************/ |
@@ -308,6 +429,27 @@ typedef struct _MPI_TARGET_SCSI_SPI_STATUS_IU | |||
308 | } MPI_TARGET_SCSI_SPI_STATUS_IU, MPI_POINTER PTR_MPI_TARGET_SCSI_SPI_STATUS_IU, | 429 | } MPI_TARGET_SCSI_SPI_STATUS_IU, MPI_POINTER PTR_MPI_TARGET_SCSI_SPI_STATUS_IU, |
309 | TargetScsiSpiStatusIU_t, MPI_POINTER pTargetScsiSpiStatusIU_t; | 430 | TargetScsiSpiStatusIU_t, MPI_POINTER pTargetScsiSpiStatusIU_t; |
310 | 431 | ||
432 | /* | ||
433 | * NOTE: The SSP status IU is big-endian. When used on a little-endian system, | ||
434 | * this structure properly orders the bytes. | ||
435 | */ | ||
436 | typedef struct _MPI_TARGET_SSP_RSP_IU | ||
437 | { | ||
438 | U32 Reserved0[6]; /* reserved for SSP header */ /* 00h */ | ||
439 | /* start of RESPONSE information unit */ | ||
440 | U32 Reserved1; /* 18h */ | ||
441 | U32 Reserved2; /* 1Ch */ | ||
442 | U16 Reserved3; /* 20h */ | ||
443 | U8 DataPres; /* lower 2 bits */ /* 22h */ | ||
444 | U8 Status; /* 23h */ | ||
445 | U32 Reserved4; /* 24h */ | ||
446 | U32 SenseDataLength; /* 28h */ | ||
447 | U32 ResponseDataLength; /* 2Ch */ | ||
448 | U8 ResponseSenseData[4]; /* 30h */ | ||
449 | } MPI_TARGET_SSP_RSP_IU, MPI_POINTER PTR_MPI_TARGET_SSP_RSP_IU, | ||
450 | MpiTargetSspRspIu_t, MPI_POINTER pMpiTargetSspRspIu_t; | ||
451 | |||
452 | |||
311 | /****************************************************************************/ | 453 | /****************************************************************************/ |
312 | /* Target Mode Abort Request */ | 454 | /* Target Mode Abort Request */ |
313 | /****************************************************************************/ | 455 | /****************************************************************************/ |
diff --git a/drivers/message/fusion/lsi/mpi_tool.h b/drivers/message/fusion/lsi/mpi_tool.h index 536d197c4142..aa9053da1f58 100644 --- a/drivers/message/fusion/lsi/mpi_tool.h +++ b/drivers/message/fusion/lsi/mpi_tool.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2001-2003 LSI Logic Corporation. | 2 | * Copyright (c) 2001-2005 LSI Logic Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi_tool.h | 5 | * Name: mpi_tool.h |
6 | * Title: MPI Toolbox structures and definitions | 6 | * Title: MPI Toolbox structures and definitions |
7 | * Creation Date: July 30, 2001 | 7 | * Creation Date: July 30, 2001 |
8 | * | 8 | * |
9 | * mpi_tool.h Version: 01.05.xx | 9 | * mpi_tool.h Version: 01.05.03 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -15,6 +15,16 @@ | |||
15 | * -------- -------- ------------------------------------------------------ | 15 | * -------- -------- ------------------------------------------------------ |
16 | * 08-08-01 01.02.01 Original release. | 16 | * 08-08-01 01.02.01 Original release. |
17 | * 08-29-01 01.02.02 Added DIAG_DATA_UPLOAD_HEADER and related defines. | 17 | * 08-29-01 01.02.02 Added DIAG_DATA_UPLOAD_HEADER and related defines. |
18 | * 01-16-04 01.02.03 Added defines and structures for new tools | ||
19 | *. MPI_TOOLBOX_ISTWI_READ_WRITE_TOOL and | ||
20 | * MPI_TOOLBOX_FC_MANAGEMENT_TOOL. | ||
21 | * 04-29-04 01.02.04 Added message structures for Diagnostic Buffer Post and | ||
22 | * Diagnostic Release requests and replies. | ||
23 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
24 | * 08-19-04 01.05.01 Original release for MPI v1.5. | ||
25 | * 10-06-04 01.05.02 Added define for MPI_DIAG_BUF_TYPE_COUNT. | ||
26 | * 02-09-05 01.05.03 Added frame size option to FC management tool. | ||
27 | * Added Beacon tool to the Toolbox. | ||
18 | * -------------------------------------------------------------------------- | 28 | * -------------------------------------------------------------------------- |
19 | */ | 29 | */ |
20 | 30 | ||
@@ -26,6 +36,7 @@ | |||
26 | #define MPI_TOOLBOX_DIAG_DATA_UPLOAD_TOOL (0x02) | 36 | #define MPI_TOOLBOX_DIAG_DATA_UPLOAD_TOOL (0x02) |
27 | #define MPI_TOOLBOX_ISTWI_READ_WRITE_TOOL (0x03) | 37 | #define MPI_TOOLBOX_ISTWI_READ_WRITE_TOOL (0x03) |
28 | #define MPI_TOOLBOX_FC_MANAGEMENT_TOOL (0x04) | 38 | #define MPI_TOOLBOX_FC_MANAGEMENT_TOOL (0x04) |
39 | #define MPI_TOOLBOX_BEACON_TOOL (0x05) | ||
29 | 40 | ||
30 | 41 | ||
31 | /****************************************************************************/ | 42 | /****************************************************************************/ |
@@ -185,11 +196,21 @@ typedef struct _MPI_TB_FC_MANAGE_PID_AI | |||
185 | } MPI_TB_FC_MANAGE_PID_AI, MPI_POINTER PTR_MPI_TB_FC_MANAGE_PID_AI, | 196 | } MPI_TB_FC_MANAGE_PID_AI, MPI_POINTER PTR_MPI_TB_FC_MANAGE_PID_AI, |
186 | MpiTbFcManagePidAi_t, MPI_POINTER pMpiTbFcManagePidAi_t; | 197 | MpiTbFcManagePidAi_t, MPI_POINTER pMpiTbFcManagePidAi_t; |
187 | 198 | ||
199 | /* ActionInfo for set max frame size */ | ||
200 | typedef struct _MPI_TB_FC_MANAGE_FRAME_SIZE_AI | ||
201 | { | ||
202 | U16 FrameSize; /* 00h */ | ||
203 | U8 PortNum; /* 02h */ | ||
204 | U8 Reserved1; /* 03h */ | ||
205 | } MPI_TB_FC_MANAGE_FRAME_SIZE_AI, MPI_POINTER PTR_MPI_TB_FC_MANAGE_FRAME_SIZE_AI, | ||
206 | MpiTbFcManageFrameSizeAi_t, MPI_POINTER pMpiTbFcManageFrameSizeAi_t; | ||
207 | |||
188 | /* union of ActionInfo */ | 208 | /* union of ActionInfo */ |
189 | typedef union _MPI_TB_FC_MANAGE_AI_UNION | 209 | typedef union _MPI_TB_FC_MANAGE_AI_UNION |
190 | { | 210 | { |
191 | MPI_TB_FC_MANAGE_BUS_TID_AI BusTid; | 211 | MPI_TB_FC_MANAGE_BUS_TID_AI BusTid; |
192 | MPI_TB_FC_MANAGE_PID_AI Port; | 212 | MPI_TB_FC_MANAGE_PID_AI Port; |
213 | MPI_TB_FC_MANAGE_FRAME_SIZE_AI FrameSize; | ||
193 | } MPI_TB_FC_MANAGE_AI_UNION, MPI_POINTER PTR_MPI_TB_FC_MANAGE_AI_UNION, | 214 | } MPI_TB_FC_MANAGE_AI_UNION, MPI_POINTER PTR_MPI_TB_FC_MANAGE_AI_UNION, |
194 | MpiTbFcManageAiUnion_t, MPI_POINTER pMpiTbFcManageAiUnion_t; | 215 | MpiTbFcManageAiUnion_t, MPI_POINTER pMpiTbFcManageAiUnion_t; |
195 | 216 | ||
@@ -214,6 +235,32 @@ typedef struct _MSG_TOOLBOX_FC_MANAGE_REQUEST | |||
214 | #define MPI_TB_FC_MANAGE_ACTION_DISC_ALL (0x00) | 235 | #define MPI_TB_FC_MANAGE_ACTION_DISC_ALL (0x00) |
215 | #define MPI_TB_FC_MANAGE_ACTION_DISC_PID (0x01) | 236 | #define MPI_TB_FC_MANAGE_ACTION_DISC_PID (0x01) |
216 | #define MPI_TB_FC_MANAGE_ACTION_DISC_BUS_TID (0x02) | 237 | #define MPI_TB_FC_MANAGE_ACTION_DISC_BUS_TID (0x02) |
238 | #define MPI_TB_FC_MANAGE_ACTION_SET_MAX_FRAME_SIZE (0x03) | ||
239 | |||
240 | |||
241 | /****************************************************************************/ | ||
242 | /* Toolbox Beacon Tool request */ | ||
243 | /****************************************************************************/ | ||
244 | |||
245 | typedef struct _MSG_TOOLBOX_BEACON_REQUEST | ||
246 | { | ||
247 | U8 Tool; /* 00h */ | ||
248 | U8 Reserved; /* 01h */ | ||
249 | U8 ChainOffset; /* 02h */ | ||
250 | U8 Function; /* 03h */ | ||
251 | U16 Reserved1; /* 04h */ | ||
252 | U8 Reserved2; /* 06h */ | ||
253 | U8 MsgFlags; /* 07h */ | ||
254 | U32 MsgContext; /* 08h */ | ||
255 | U8 ConnectNum; /* 0Ch */ | ||
256 | U8 PortNum; /* 0Dh */ | ||
257 | U8 Reserved3; /* 0Eh */ | ||
258 | U8 Flags; /* 0Fh */ | ||
259 | } MSG_TOOLBOX_BEACON_REQUEST, MPI_POINTER PTR_MSG_TOOLBOX_BEACON_REQUEST, | ||
260 | ToolboxBeaconRequest_t, MPI_POINTER pToolboxBeaconRequest_t; | ||
261 | |||
262 | #define MPI_TOOLBOX_FLAGS_BEACON_MODE_OFF (0x00) | ||
263 | #define MPI_TOOLBOX_FLAGS_BEACON_MODE_ON (0x01) | ||
217 | 264 | ||
218 | 265 | ||
219 | /****************************************************************************/ | 266 | /****************************************************************************/ |
@@ -233,14 +280,16 @@ typedef struct _MSG_DIAG_BUFFER_POST_REQUEST | |||
233 | U32 ExtendedType; /* 0Ch */ | 280 | U32 ExtendedType; /* 0Ch */ |
234 | U32 BufferLength; /* 10h */ | 281 | U32 BufferLength; /* 10h */ |
235 | U32 ProductSpecific[4]; /* 14h */ | 282 | U32 ProductSpecific[4]; /* 14h */ |
236 | U32 Reserved3; /* 18h */ | 283 | U32 Reserved3; /* 24h */ |
237 | SGE_SIMPLE_UNION SGL; /* 28h */ | 284 | U64 BufferAddress; /* 28h */ |
238 | } MSG_DIAG_BUFFER_POST_REQUEST, MPI_POINTER PTR_MSG_DIAG_BUFFER_POST_REQUEST, | 285 | } MSG_DIAG_BUFFER_POST_REQUEST, MPI_POINTER PTR_MSG_DIAG_BUFFER_POST_REQUEST, |
239 | DiagBufferPostRequest_t, MPI_POINTER pDiagBufferPostRequest_t; | 286 | DiagBufferPostRequest_t, MPI_POINTER pDiagBufferPostRequest_t; |
240 | 287 | ||
241 | #define MPI_DIAG_BUF_TYPE_TRACE (0x00) | 288 | #define MPI_DIAG_BUF_TYPE_TRACE (0x00) |
242 | #define MPI_DIAG_BUF_TYPE_SNAPSHOT (0x01) | 289 | #define MPI_DIAG_BUF_TYPE_SNAPSHOT (0x01) |
243 | #define MPI_DIAG_BUF_TYPE_EXTENDED (0x02) | 290 | #define MPI_DIAG_BUF_TYPE_EXTENDED (0x02) |
291 | /* count of the number of buffer types */ | ||
292 | #define MPI_DIAG_BUF_TYPE_COUNT (0x03) | ||
244 | 293 | ||
245 | #define MPI_DIAG_EXTENDED_QTAG (0x00000001) | 294 | #define MPI_DIAG_EXTENDED_QTAG (0x00000001) |
246 | 295 | ||
diff --git a/drivers/message/fusion/lsi/mpi_type.h b/drivers/message/fusion/lsi/mpi_type.h index 239328a7689c..32cc9b1151b8 100644 --- a/drivers/message/fusion/lsi/mpi_type.h +++ b/drivers/message/fusion/lsi/mpi_type.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2000-2003 LSI Logic Corporation. | 2 | * Copyright (c) 2000-2004 LSI Logic Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi_type.h | 5 | * Name: mpi_type.h |
6 | * Title: MPI Basic type definitions | 6 | * Title: MPI Basic type definitions |
7 | * Creation Date: June 6, 2000 | 7 | * Creation Date: June 6, 2000 |
8 | * | 8 | * |
9 | * mpi_type.h Version: 01.05.xx | 9 | * mpi_type.h Version: 01.05.01 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -18,6 +18,8 @@ | |||
18 | * 11-02-00 01.01.01 Original release for post 1.0 work | 18 | * 11-02-00 01.01.01 Original release for post 1.0 work |
19 | * 02-20-01 01.01.02 Added define and ifdef for MPI_POINTER. | 19 | * 02-20-01 01.01.02 Added define and ifdef for MPI_POINTER. |
20 | * 08-08-01 01.02.01 Original release for v1.2 work. | 20 | * 08-08-01 01.02.01 Original release for v1.2 work. |
21 | * 05-11-04 01.03.01 Original release for MPI v1.3. | ||
22 | * 08-19-04 01.05.01 Original release for MPI v1.5. | ||
21 | * -------------------------------------------------------------------------- | 23 | * -------------------------------------------------------------------------- |
22 | */ | 24 | */ |
23 | 25 | ||
@@ -50,11 +52,6 @@ typedef unsigned short U16; | |||
50 | typedef int32_t S32; | 52 | typedef int32_t S32; |
51 | typedef u_int32_t U32; | 53 | typedef u_int32_t U32; |
52 | 54 | ||
53 | /* | ||
54 | * The only way crap below could work on big-endian boxen would be if it | ||
55 | * wasn't used at all. | ||
56 | */ | ||
57 | |||
58 | typedef struct _S64 | 55 | typedef struct _S64 |
59 | { | 56 | { |
60 | U32 Low; | 57 | U32 Low; |
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index 8b22630f1aef..8b623278ccd2 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c | |||
@@ -1,55 +1,13 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/message/fusion/mptbase.c | 2 | * linux/drivers/message/fusion/mptbase.c |
3 | * High performance SCSI + LAN / Fibre Channel device drivers. | ||
4 | * This is the Fusion MPT base driver which supports multiple | 3 | * This is the Fusion MPT base driver which supports multiple |
5 | * (SCSI + LAN) specialized protocol drivers. | 4 | * (SCSI + LAN) specialized protocol drivers. |
6 | * For use with PCI chip/adapter(s): | 5 | * For use with LSI Logic PCI chip/adapter(s) |
7 | * LSIFC9xx/LSI409xx Fibre Channel | ||
8 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
9 | * | 7 | * |
10 | * Credits: | 8 | * Copyright (c) 1999-2005 LSI Logic Corporation |
11 | * There are lots of people not mentioned below that deserve credit | ||
12 | * and thanks but won't get it here - sorry in advance that you | ||
13 | * got overlooked. | ||
14 | * | ||
15 | * This driver would not exist if not for Alan Cox's development | ||
16 | * of the linux i2o driver. | ||
17 | * | ||
18 | * A special thanks to Noah Romer (LSI Logic) for tons of work | ||
19 | * and tough debugging on the LAN driver, especially early on;-) | ||
20 | * And to Roger Hickerson (LSI Logic) for tirelessly supporting | ||
21 | * this driver project. | ||
22 | * | ||
23 | * A special thanks to Pamela Delaney (LSI Logic) for tons of work | ||
24 | * and countless enhancements while adding support for the 1030 | ||
25 | * chip family. Pam has been instrumental in the development of | ||
26 | * of the 2.xx.xx series fusion drivers, and her contributions are | ||
27 | * far too numerous to hope to list in one place. | ||
28 | * | ||
29 | * All manner of help from Stephen Shirron (LSI Logic): | ||
30 | * low-level FC analysis, debug + various fixes in FCxx firmware, | ||
31 | * initial port to alpha platform, various driver code optimizations, | ||
32 | * being a faithful sounding board on all sorts of issues & ideas, | ||
33 | * etc. | ||
34 | * | ||
35 | * A huge debt of gratitude is owed to David S. Miller (DaveM) | ||
36 | * for fixing much of the stupid and broken stuff in the early | ||
37 | * driver while porting to sparc64 platform. THANK YOU! | ||
38 | * | ||
39 | * Special thanks goes to the I2O LAN driver people at the | ||
40 | * University of Helsinki, who, unbeknownst to them, provided | ||
41 | * the inspiration and initial structure for this driver. | ||
42 | * | ||
43 | * A really huge debt of gratitude is owed to Eddie C. Dost | ||
44 | * for gobs of hard work fixing and optimizing LAN code. | ||
45 | * THANK YOU! | ||
46 | * | ||
47 | * Copyright (c) 1999-2004 LSI Logic Corporation | ||
48 | * Originally By: Steven J. Ralston | ||
49 | * (mailto:sjralston1@netscape.net) | ||
50 | * (mailto:mpt_linux_developer@lsil.com) | 9 | * (mailto:mpt_linux_developer@lsil.com) |
51 | * | 10 | * |
52 | * $Id: mptbase.c,v 1.126 2002/12/16 15:28:45 pdelaney Exp $ | ||
53 | */ | 11 | */ |
54 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 12 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
55 | /* | 13 | /* |
@@ -101,6 +59,7 @@ | |||
101 | #include <linux/blkdev.h> | 59 | #include <linux/blkdev.h> |
102 | #include <linux/delay.h> | 60 | #include <linux/delay.h> |
103 | #include <linux/interrupt.h> /* needed for in_interrupt() proto */ | 61 | #include <linux/interrupt.h> /* needed for in_interrupt() proto */ |
62 | #include <linux/dma-mapping.h> | ||
104 | #include <asm/io.h> | 63 | #include <asm/io.h> |
105 | #ifdef CONFIG_MTRR | 64 | #ifdef CONFIG_MTRR |
106 | #include <asm/mtrr.h> | 65 | #include <asm/mtrr.h> |
@@ -218,41 +177,35 @@ static void mpt_fc_log_info(MPT_ADAPTER *ioc, u32 log_info); | |||
218 | static void mpt_sp_log_info(MPT_ADAPTER *ioc, u32 log_info); | 177 | static void mpt_sp_log_info(MPT_ADAPTER *ioc, u32 log_info); |
219 | 178 | ||
220 | /* module entry point */ | 179 | /* module entry point */ |
221 | static int __devinit mptbase_probe (struct pci_dev *, const struct pci_device_id *); | ||
222 | static void __devexit mptbase_remove(struct pci_dev *); | ||
223 | static void mptbase_shutdown(struct device * ); | ||
224 | static int __init fusion_init (void); | 180 | static int __init fusion_init (void); |
225 | static void __exit fusion_exit (void); | 181 | static void __exit fusion_exit (void); |
226 | 182 | ||
227 | /**************************************************************************** | ||
228 | * Supported hardware | ||
229 | */ | ||
230 | |||
231 | static struct pci_device_id mptbase_pci_table[] = { | ||
232 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC909, | ||
233 | PCI_ANY_ID, PCI_ANY_ID }, | ||
234 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC929, | ||
235 | PCI_ANY_ID, PCI_ANY_ID }, | ||
236 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC919, | ||
237 | PCI_ANY_ID, PCI_ANY_ID }, | ||
238 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC929X, | ||
239 | PCI_ANY_ID, PCI_ANY_ID }, | ||
240 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC919X, | ||
241 | PCI_ANY_ID, PCI_ANY_ID }, | ||
242 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_53C1030, | ||
243 | PCI_ANY_ID, PCI_ANY_ID }, | ||
244 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_1030_53C1035, | ||
245 | PCI_ANY_ID, PCI_ANY_ID }, | ||
246 | {0} /* Terminating entry */ | ||
247 | }; | ||
248 | MODULE_DEVICE_TABLE(pci, mptbase_pci_table); | ||
249 | |||
250 | #define CHIPREG_READ32(addr) readl_relaxed(addr) | 183 | #define CHIPREG_READ32(addr) readl_relaxed(addr) |
251 | #define CHIPREG_READ32_dmasync(addr) readl(addr) | 184 | #define CHIPREG_READ32_dmasync(addr) readl(addr) |
252 | #define CHIPREG_WRITE32(addr,val) writel(val, addr) | 185 | #define CHIPREG_WRITE32(addr,val) writel(val, addr) |
253 | #define CHIPREG_PIO_WRITE32(addr,val) outl(val, (unsigned long)addr) | 186 | #define CHIPREG_PIO_WRITE32(addr,val) outl(val, (unsigned long)addr) |
254 | #define CHIPREG_PIO_READ32(addr) inl((unsigned long)addr) | 187 | #define CHIPREG_PIO_READ32(addr) inl((unsigned long)addr) |
255 | 188 | ||
189 | static void | ||
190 | pci_disable_io_access(struct pci_dev *pdev) | ||
191 | { | ||
192 | u16 command_reg; | ||
193 | |||
194 | pci_read_config_word(pdev, PCI_COMMAND, &command_reg); | ||
195 | command_reg &= ~1; | ||
196 | pci_write_config_word(pdev, PCI_COMMAND, command_reg); | ||
197 | } | ||
198 | |||
199 | static void | ||
200 | pci_enable_io_access(struct pci_dev *pdev) | ||
201 | { | ||
202 | u16 command_reg; | ||
203 | |||
204 | pci_read_config_word(pdev, PCI_COMMAND, &command_reg); | ||
205 | command_reg |= 1; | ||
206 | pci_write_config_word(pdev, PCI_COMMAND, command_reg); | ||
207 | } | ||
208 | |||
256 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 209 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
257 | /* | 210 | /* |
258 | * mpt_interrupt - MPT adapter (IOC) specific interrupt handler. | 211 | * mpt_interrupt - MPT adapter (IOC) specific interrupt handler. |
@@ -330,8 +283,7 @@ mpt_interrupt(int irq, void *bus_id, struct pt_regs *r) | |||
330 | ioc->name, mr, req_idx)); | 283 | ioc->name, mr, req_idx)); |
331 | DBG_DUMP_REPLY_FRAME(mr) | 284 | DBG_DUMP_REPLY_FRAME(mr) |
332 | 285 | ||
333 | /* NEW! 20010301 -sralston | 286 | /* Check/log IOC log info |
334 | * Check/log IOC log info | ||
335 | */ | 287 | */ |
336 | ioc_stat = le16_to_cpu(mr->u.reply.IOCStatus); | 288 | ioc_stat = le16_to_cpu(mr->u.reply.IOCStatus); |
337 | if (ioc_stat & MPI_IOCSTATUS_FLAG_LOG_INFO_AVAILABLE) { | 289 | if (ioc_stat & MPI_IOCSTATUS_FLAG_LOG_INFO_AVAILABLE) { |
@@ -357,9 +309,7 @@ mpt_interrupt(int irq, void *bus_id, struct pt_regs *r) | |||
357 | mr = (MPT_FRAME_HDR *) CAST_U32_TO_PTR(pa); | 309 | mr = (MPT_FRAME_HDR *) CAST_U32_TO_PTR(pa); |
358 | } else if (type == MPI_CONTEXT_REPLY_TYPE_LAN) { | 310 | } else if (type == MPI_CONTEXT_REPLY_TYPE_LAN) { |
359 | cb_idx = mpt_lan_index; | 311 | cb_idx = mpt_lan_index; |
360 | /* | 312 | /* Blind set of mf to NULL here was fatal |
361 | * BUG FIX! 20001218 -sralston | ||
362 | * Blind set of mf to NULL here was fatal | ||
363 | * after lan_reply says "freeme" | 313 | * after lan_reply says "freeme" |
364 | * Fix sort of combined with an optimization here; | 314 | * Fix sort of combined with an optimization here; |
365 | * added explicit check for case where lan_reply | 315 | * added explicit check for case where lan_reply |
@@ -430,15 +380,8 @@ mpt_interrupt(int irq, void *bus_id, struct pt_regs *r) | |||
430 | } | 380 | } |
431 | 381 | ||
432 | if (freeme) { | 382 | if (freeme) { |
433 | unsigned long flags; | ||
434 | |||
435 | /* Put Request back on FreeQ! */ | 383 | /* Put Request back on FreeQ! */ |
436 | spin_lock_irqsave(&ioc->FreeQlock, flags); | 384 | mpt_free_msg_frame(ioc, mf); |
437 | list_add_tail(&mf->u.frame.linkage.list, &ioc->FreeQ); | ||
438 | #ifdef MFCNT | ||
439 | ioc->mfcnt--; | ||
440 | #endif | ||
441 | spin_unlock_irqrestore(&ioc->FreeQlock, flags); | ||
442 | } | 385 | } |
443 | 386 | ||
444 | mb(); | 387 | mb(); |
@@ -725,11 +668,9 @@ int | |||
725 | mpt_device_driver_register(struct mpt_pci_driver * dd_cbfunc, int cb_idx) | 668 | mpt_device_driver_register(struct mpt_pci_driver * dd_cbfunc, int cb_idx) |
726 | { | 669 | { |
727 | MPT_ADAPTER *ioc; | 670 | MPT_ADAPTER *ioc; |
728 | int error=0; | ||
729 | 671 | ||
730 | if (cb_idx < 1 || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) { | 672 | if (cb_idx < 1 || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) { |
731 | error= -EINVAL; | 673 | return -EINVAL; |
732 | return error; | ||
733 | } | 674 | } |
734 | 675 | ||
735 | MptDeviceDriverHandlers[cb_idx] = dd_cbfunc; | 676 | MptDeviceDriverHandlers[cb_idx] = dd_cbfunc; |
@@ -737,14 +678,12 @@ mpt_device_driver_register(struct mpt_pci_driver * dd_cbfunc, int cb_idx) | |||
737 | /* call per pci device probe entry point */ | 678 | /* call per pci device probe entry point */ |
738 | list_for_each_entry(ioc, &ioc_list, list) { | 679 | list_for_each_entry(ioc, &ioc_list, list) { |
739 | if(dd_cbfunc->probe) { | 680 | if(dd_cbfunc->probe) { |
740 | error = dd_cbfunc->probe(ioc->pcidev, | 681 | dd_cbfunc->probe(ioc->pcidev, |
741 | ioc->pcidev->driver->id_table); | 682 | ioc->pcidev->driver->id_table); |
742 | if(error != 0) | ||
743 | return error; | ||
744 | } | 683 | } |
745 | } | 684 | } |
746 | 685 | ||
747 | return error; | 686 | return 0; |
748 | } | 687 | } |
749 | 688 | ||
750 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 689 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
@@ -809,8 +748,8 @@ mpt_get_msg_frame(int handle, MPT_ADAPTER *ioc) | |||
809 | mf->u.frame.hwhdr.msgctxu.fld.cb_idx = handle; /* byte */ | 748 | mf->u.frame.hwhdr.msgctxu.fld.cb_idx = handle; /* byte */ |
810 | req_offset = (u8 *)mf - (u8 *)ioc->req_frames; | 749 | req_offset = (u8 *)mf - (u8 *)ioc->req_frames; |
811 | /* u16! */ | 750 | /* u16! */ |
812 | req_idx = cpu_to_le16(req_offset / ioc->req_sz); | 751 | req_idx = req_offset / ioc->req_sz; |
813 | mf->u.frame.hwhdr.msgctxu.fld.req_idx = req_idx; | 752 | mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); |
814 | mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0; | 753 | mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0; |
815 | ioc->RequestNB[req_idx] = ioc->NB_for_64_byte_frame; /* Default, will be changed if necessary in SG generation */ | 754 | ioc->RequestNB[req_idx] = ioc->NB_for_64_byte_frame; /* Default, will be changed if necessary in SG generation */ |
816 | #ifdef MFCNT | 755 | #ifdef MFCNT |
@@ -856,8 +795,8 @@ mpt_put_msg_frame(int handle, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf) | |||
856 | mf->u.frame.hwhdr.msgctxu.fld.cb_idx = handle; /* byte */ | 795 | mf->u.frame.hwhdr.msgctxu.fld.cb_idx = handle; /* byte */ |
857 | req_offset = (u8 *)mf - (u8 *)ioc->req_frames; | 796 | req_offset = (u8 *)mf - (u8 *)ioc->req_frames; |
858 | /* u16! */ | 797 | /* u16! */ |
859 | req_idx = cpu_to_le16(req_offset / ioc->req_sz); | 798 | req_idx = req_offset / ioc->req_sz; |
860 | mf->u.frame.hwhdr.msgctxu.fld.req_idx = req_idx; | 799 | mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); |
861 | mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0; | 800 | mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0; |
862 | 801 | ||
863 | #ifdef MPT_DEBUG_MSG_FRAME | 802 | #ifdef MPT_DEBUG_MSG_FRAME |
@@ -1058,7 +997,7 @@ mpt_verify_adapter(int iocid, MPT_ADAPTER **iocpp) | |||
1058 | 997 | ||
1059 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 998 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
1060 | /* | 999 | /* |
1061 | * mptbase_probe - Install a PCI intelligent MPT adapter. | 1000 | * mpt_attach - Install a PCI intelligent MPT adapter. |
1062 | * @pdev: Pointer to pci_dev structure | 1001 | * @pdev: Pointer to pci_dev structure |
1063 | * | 1002 | * |
1064 | * This routine performs all the steps necessary to bring the IOC of | 1003 | * This routine performs all the steps necessary to bring the IOC of |
@@ -1073,8 +1012,8 @@ mpt_verify_adapter(int iocid, MPT_ADAPTER **iocpp) | |||
1073 | * | 1012 | * |
1074 | * TODO: Add support for polled controllers | 1013 | * TODO: Add support for polled controllers |
1075 | */ | 1014 | */ |
1076 | static int __devinit | 1015 | int |
1077 | mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id) | 1016 | mpt_attach(struct pci_dev *pdev, const struct pci_device_id *id) |
1078 | { | 1017 | { |
1079 | MPT_ADAPTER *ioc; | 1018 | MPT_ADAPTER *ioc; |
1080 | u8 __iomem *mem; | 1019 | u8 __iomem *mem; |
@@ -1084,7 +1023,6 @@ mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1084 | u32 psize; | 1023 | u32 psize; |
1085 | int ii; | 1024 | int ii; |
1086 | int r = -ENODEV; | 1025 | int r = -ENODEV; |
1087 | u64 mask = 0xffffffffffffffffULL; | ||
1088 | u8 revision; | 1026 | u8 revision; |
1089 | u8 pcixcmd; | 1027 | u8 pcixcmd; |
1090 | static int mpt_ids = 0; | 1028 | static int mpt_ids = 0; |
@@ -1097,15 +1035,15 @@ mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1097 | 1035 | ||
1098 | dinitprintk((KERN_WARNING MYNAM ": mpt_adapter_install\n")); | 1036 | dinitprintk((KERN_WARNING MYNAM ": mpt_adapter_install\n")); |
1099 | 1037 | ||
1100 | if (!pci_set_dma_mask(pdev, mask)) { | 1038 | if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) { |
1101 | dprintk((KERN_INFO MYNAM | 1039 | dprintk((KERN_INFO MYNAM |
1102 | ": 64 BIT PCI BUS DMA ADDRESSING SUPPORTED\n")); | 1040 | ": 64 BIT PCI BUS DMA ADDRESSING SUPPORTED\n")); |
1103 | } else if (pci_set_dma_mask(pdev, (u64) 0xffffffff)) { | 1041 | } else if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) { |
1104 | printk(KERN_WARNING MYNAM ": 32 BIT PCI BUS DMA ADDRESSING NOT SUPPORTED\n"); | 1042 | printk(KERN_WARNING MYNAM ": 32 BIT PCI BUS DMA ADDRESSING NOT SUPPORTED\n"); |
1105 | return r; | 1043 | return r; |
1106 | } | 1044 | } |
1107 | 1045 | ||
1108 | if (!pci_set_consistent_dma_mask(pdev, mask)) | 1046 | if (!pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK)) |
1109 | dprintk((KERN_INFO MYNAM | 1047 | dprintk((KERN_INFO MYNAM |
1110 | ": Using 64 bit consistent mask\n")); | 1048 | ": Using 64 bit consistent mask\n")); |
1111 | else | 1049 | else |
@@ -1243,6 +1181,16 @@ mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1243 | pcixcmd &= 0x8F; | 1181 | pcixcmd &= 0x8F; |
1244 | pci_write_config_byte(pdev, 0x6a, pcixcmd); | 1182 | pci_write_config_byte(pdev, 0x6a, pcixcmd); |
1245 | } | 1183 | } |
1184 | else if (pdev->device == MPI_MANUFACTPAGE_DEVICEID_FC939X) { | ||
1185 | ioc->prod_name = "LSIFC939X"; | ||
1186 | ioc->bus_type = FC; | ||
1187 | ioc->errata_flag_1064 = 1; | ||
1188 | } | ||
1189 | else if (pdev->device == MPI_MANUFACTPAGE_DEVICEID_FC949X) { | ||
1190 | ioc->prod_name = "LSIFC949X"; | ||
1191 | ioc->bus_type = FC; | ||
1192 | ioc->errata_flag_1064 = 1; | ||
1193 | } | ||
1246 | else if (pdev->device == MPI_MANUFACTPAGE_DEVID_53C1030) { | 1194 | else if (pdev->device == MPI_MANUFACTPAGE_DEVID_53C1030) { |
1247 | ioc->prod_name = "LSI53C1030"; | 1195 | ioc->prod_name = "LSI53C1030"; |
1248 | ioc->bus_type = SCSI; | 1196 | ioc->bus_type = SCSI; |
@@ -1261,6 +1209,9 @@ mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1261 | ioc->bus_type = SCSI; | 1209 | ioc->bus_type = SCSI; |
1262 | } | 1210 | } |
1263 | 1211 | ||
1212 | if (ioc->errata_flag_1064) | ||
1213 | pci_disable_io_access(pdev); | ||
1214 | |||
1264 | sprintf(ioc->name, "ioc%d", ioc->id); | 1215 | sprintf(ioc->name, "ioc%d", ioc->id); |
1265 | 1216 | ||
1266 | spin_lock_init(&ioc->FreeQlock); | 1217 | spin_lock_init(&ioc->FreeQlock); |
@@ -1303,8 +1254,7 @@ mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1303 | #endif | 1254 | #endif |
1304 | } | 1255 | } |
1305 | 1256 | ||
1306 | /* NEW! 20010220 -sralston | 1257 | /* Check for "bound ports" (929, 929X, 1030, 1035) to reduce redundant resets. |
1307 | * Check for "bound ports" (929, 929X, 1030, 1035) to reduce redundant resets. | ||
1308 | */ | 1258 | */ |
1309 | mpt_detect_bound_ports(ioc, pdev); | 1259 | mpt_detect_bound_ports(ioc, pdev); |
1310 | 1260 | ||
@@ -1354,13 +1304,13 @@ mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1354 | 1304 | ||
1355 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1305 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
1356 | /* | 1306 | /* |
1357 | * mptbase_remove - Remove a PCI intelligent MPT adapter. | 1307 | * mpt_detach - Remove a PCI intelligent MPT adapter. |
1358 | * @pdev: Pointer to pci_dev structure | 1308 | * @pdev: Pointer to pci_dev structure |
1359 | * | 1309 | * |
1360 | */ | 1310 | */ |
1361 | 1311 | ||
1362 | static void __devexit | 1312 | void |
1363 | mptbase_remove(struct pci_dev *pdev) | 1313 | mpt_detach(struct pci_dev *pdev) |
1364 | { | 1314 | { |
1365 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); | 1315 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); |
1366 | char pname[32]; | 1316 | char pname[32]; |
@@ -1397,43 +1347,21 @@ mptbase_remove(struct pci_dev *pdev) | |||
1397 | pci_set_drvdata(pdev, NULL); | 1347 | pci_set_drvdata(pdev, NULL); |
1398 | } | 1348 | } |
1399 | 1349 | ||
1400 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
1401 | /* | ||
1402 | * mptbase_shutdown - | ||
1403 | * | ||
1404 | */ | ||
1405 | static void | ||
1406 | mptbase_shutdown(struct device * dev) | ||
1407 | { | ||
1408 | int ii; | ||
1409 | |||
1410 | /* call per device driver shutdown entry point */ | ||
1411 | for(ii=0; ii<MPT_MAX_PROTOCOL_DRIVERS; ii++) { | ||
1412 | if(MptDeviceDriverHandlers[ii] && | ||
1413 | MptDeviceDriverHandlers[ii]->shutdown) { | ||
1414 | MptDeviceDriverHandlers[ii]->shutdown(dev); | ||
1415 | } | ||
1416 | } | ||
1417 | |||
1418 | } | ||
1419 | |||
1420 | |||
1421 | /************************************************************************** | 1350 | /************************************************************************** |
1422 | * Power Management | 1351 | * Power Management |
1423 | */ | 1352 | */ |
1424 | #ifdef CONFIG_PM | 1353 | #ifdef CONFIG_PM |
1425 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1354 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
1426 | /* | 1355 | /* |
1427 | * mptbase_suspend - Fusion MPT base driver suspend routine. | 1356 | * mpt_suspend - Fusion MPT base driver suspend routine. |
1428 | * | 1357 | * |
1429 | * | 1358 | * |
1430 | */ | 1359 | */ |
1431 | static int | 1360 | int |
1432 | mptbase_suspend(struct pci_dev *pdev, pm_message_t state) | 1361 | mpt_suspend(struct pci_dev *pdev, pm_message_t state) |
1433 | { | 1362 | { |
1434 | u32 device_state; | 1363 | u32 device_state; |
1435 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); | 1364 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); |
1436 | int ii; | ||
1437 | 1365 | ||
1438 | switch(state) | 1366 | switch(state) |
1439 | { | 1367 | { |
@@ -1453,14 +1381,6 @@ mptbase_suspend(struct pci_dev *pdev, pm_message_t state) | |||
1453 | "pci-suspend: pdev=0x%p, slot=%s, Entering operating state [D%d]\n", | 1381 | "pci-suspend: pdev=0x%p, slot=%s, Entering operating state [D%d]\n", |
1454 | ioc->name, pdev, pci_name(pdev), device_state); | 1382 | ioc->name, pdev, pci_name(pdev), device_state); |
1455 | 1383 | ||
1456 | /* call per device driver suspend entry point */ | ||
1457 | for(ii=0; ii<MPT_MAX_PROTOCOL_DRIVERS; ii++) { | ||
1458 | if(MptDeviceDriverHandlers[ii] && | ||
1459 | MptDeviceDriverHandlers[ii]->suspend) { | ||
1460 | MptDeviceDriverHandlers[ii]->suspend(pdev, state); | ||
1461 | } | ||
1462 | } | ||
1463 | |||
1464 | pci_save_state(pdev); | 1384 | pci_save_state(pdev); |
1465 | 1385 | ||
1466 | /* put ioc into READY_STATE */ | 1386 | /* put ioc into READY_STATE */ |
@@ -1484,18 +1404,18 @@ mptbase_suspend(struct pci_dev *pdev, pm_message_t state) | |||
1484 | 1404 | ||
1485 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1405 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
1486 | /* | 1406 | /* |
1487 | * mptbase_resume - Fusion MPT base driver resume routine. | 1407 | * mpt_resume - Fusion MPT base driver resume routine. |
1488 | * | 1408 | * |
1489 | * | 1409 | * |
1490 | */ | 1410 | */ |
1491 | static int | 1411 | int |
1492 | mptbase_resume(struct pci_dev *pdev) | 1412 | mpt_resume(struct pci_dev *pdev) |
1493 | { | 1413 | { |
1494 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); | 1414 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); |
1495 | u32 device_state = pdev->current_state; | 1415 | u32 device_state = pdev->current_state; |
1496 | int recovery_state; | 1416 | int recovery_state; |
1497 | int ii; | 1417 | int ii; |
1498 | 1418 | ||
1499 | printk(MYIOC_s_INFO_FMT | 1419 | printk(MYIOC_s_INFO_FMT |
1500 | "pci-resume: pdev=0x%p, slot=%s, Previous operating state [D%d]\n", | 1420 | "pci-resume: pdev=0x%p, slot=%s, Previous operating state [D%d]\n", |
1501 | ioc->name, pdev, pci_name(pdev), device_state); | 1421 | ioc->name, pdev, pci_name(pdev), device_state); |
@@ -1533,14 +1453,6 @@ mptbase_resume(struct pci_dev *pdev) | |||
1533 | "pci-resume: success\n", ioc->name); | 1453 | "pci-resume: success\n", ioc->name); |
1534 | } | 1454 | } |
1535 | 1455 | ||
1536 | /* call per device driver resume entry point */ | ||
1537 | for(ii=0; ii<MPT_MAX_PROTOCOL_DRIVERS; ii++) { | ||
1538 | if(MptDeviceDriverHandlers[ii] && | ||
1539 | MptDeviceDriverHandlers[ii]->resume) { | ||
1540 | MptDeviceDriverHandlers[ii]->resume(pdev); | ||
1541 | } | ||
1542 | } | ||
1543 | |||
1544 | return 0; | 1456 | return 0; |
1545 | } | 1457 | } |
1546 | #endif | 1458 | #endif |
@@ -1719,8 +1631,7 @@ mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag) | |||
1719 | ioc->alt_ioc->active = 1; | 1631 | ioc->alt_ioc->active = 1; |
1720 | } | 1632 | } |
1721 | 1633 | ||
1722 | /* NEW! 20010120 -sralston | 1634 | /* Enable MPT base driver management of EventNotification |
1723 | * Enable MPT base driver management of EventNotification | ||
1724 | * and EventAck handling. | 1635 | * and EventAck handling. |
1725 | */ | 1636 | */ |
1726 | if ((ret == 0) && (!ioc->facts.EventState)) | 1637 | if ((ret == 0) && (!ioc->facts.EventState)) |
@@ -1729,9 +1640,7 @@ mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag) | |||
1729 | if (ioc->alt_ioc && alt_ioc_ready && !ioc->alt_ioc->facts.EventState) | 1640 | if (ioc->alt_ioc && alt_ioc_ready && !ioc->alt_ioc->facts.EventState) |
1730 | (void) SendEventNotification(ioc->alt_ioc, 1); /* 1=Enable EventNotification */ | 1641 | (void) SendEventNotification(ioc->alt_ioc, 1); /* 1=Enable EventNotification */ |
1731 | 1642 | ||
1732 | /* (Bugzilla:fibrebugs, #513) | 1643 | /* Add additional "reason" check before call to GetLanConfigPages |
1733 | * Bug fix (part 2)! 20010905 -sralston | ||
1734 | * Add additional "reason" check before call to GetLanConfigPages | ||
1735 | * (combined with GetIoUnitPage2 call). This prevents a somewhat | 1644 | * (combined with GetIoUnitPage2 call). This prevents a somewhat |
1736 | * recursive scenario; GetLanConfigPages times out, timer expired | 1645 | * recursive scenario; GetLanConfigPages times out, timer expired |
1737 | * routine calls HardResetHandler, which calls into here again, | 1646 | * routine calls HardResetHandler, which calls into here again, |
@@ -1829,37 +1738,43 @@ mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag) | |||
1829 | static void | 1738 | static void |
1830 | mpt_detect_bound_ports(MPT_ADAPTER *ioc, struct pci_dev *pdev) | 1739 | mpt_detect_bound_ports(MPT_ADAPTER *ioc, struct pci_dev *pdev) |
1831 | { | 1740 | { |
1832 | unsigned int match_lo, match_hi; | 1741 | struct pci_dev *peer=NULL; |
1742 | unsigned int slot = PCI_SLOT(pdev->devfn); | ||
1743 | unsigned int func = PCI_FUNC(pdev->devfn); | ||
1833 | MPT_ADAPTER *ioc_srch; | 1744 | MPT_ADAPTER *ioc_srch; |
1834 | 1745 | ||
1835 | match_lo = pdev->devfn-1; | 1746 | dprintk((MYIOC_s_INFO_FMT "PCI device %s devfn=%x/%x," |
1836 | match_hi = pdev->devfn+1; | 1747 | " searching for devfn match on %x or %x\n", |
1837 | dprintk((MYIOC_s_INFO_FMT "PCI bus/devfn=%x/%x, searching for devfn match on %x or %x\n", | 1748 | ioc->name, pci_name(pdev), pdev->devfn, |
1838 | ioc->name, pdev->bus->number, pdev->devfn, match_lo, match_hi)); | 1749 | func-1, func+1)); |
1750 | |||
1751 | peer = pci_get_slot(pdev->bus, PCI_DEVFN(slot,func-1)); | ||
1752 | if (!peer) { | ||
1753 | peer = pci_get_slot(pdev->bus, PCI_DEVFN(slot,func+1)); | ||
1754 | if (!peer) | ||
1755 | return; | ||
1756 | } | ||
1839 | 1757 | ||
1840 | list_for_each_entry(ioc_srch, &ioc_list, list) { | 1758 | list_for_each_entry(ioc_srch, &ioc_list, list) { |
1841 | struct pci_dev *_pcidev = ioc_srch->pcidev; | 1759 | struct pci_dev *_pcidev = ioc_srch->pcidev; |
1842 | 1760 | if (_pcidev == peer) { | |
1843 | if ((_pcidev->device == pdev->device) && | ||
1844 | (_pcidev->bus->number == pdev->bus->number) && | ||
1845 | (_pcidev->devfn == match_lo || _pcidev->devfn == match_hi) ) { | ||
1846 | /* Paranoia checks */ | 1761 | /* Paranoia checks */ |
1847 | if (ioc->alt_ioc != NULL) { | 1762 | if (ioc->alt_ioc != NULL) { |
1848 | printk(KERN_WARNING MYNAM ": Oops, already bound (%s <==> %s)!\n", | 1763 | printk(KERN_WARNING MYNAM ": Oops, already bound (%s <==> %s)!\n", |
1849 | ioc->name, ioc->alt_ioc->name); | 1764 | ioc->name, ioc->alt_ioc->name); |
1850 | break; | 1765 | break; |
1851 | } else if (ioc_srch->alt_ioc != NULL) { | 1766 | } else if (ioc_srch->alt_ioc != NULL) { |
1852 | printk(KERN_WARNING MYNAM ": Oops, already bound (%s <==> %s)!\n", | 1767 | printk(KERN_WARNING MYNAM ": Oops, already bound (%s <==> %s)!\n", |
1853 | ioc_srch->name, ioc_srch->alt_ioc->name); | 1768 | ioc_srch->name, ioc_srch->alt_ioc->name); |
1854 | break; | 1769 | break; |
1855 | } | 1770 | } |
1856 | dprintk((KERN_INFO MYNAM ": FOUND! binding %s <==> %s\n", | 1771 | dprintk((KERN_INFO MYNAM ": FOUND! binding %s <==> %s\n", |
1857 | ioc->name, ioc_srch->name)); | 1772 | ioc->name, ioc_srch->name)); |
1858 | ioc_srch->alt_ioc = ioc; | 1773 | ioc_srch->alt_ioc = ioc; |
1859 | ioc->alt_ioc = ioc_srch; | 1774 | ioc->alt_ioc = ioc_srch; |
1860 | break; | ||
1861 | } | 1775 | } |
1862 | } | 1776 | } |
1777 | pci_dev_put(peer); | ||
1863 | } | 1778 | } |
1864 | 1779 | ||
1865 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1780 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
@@ -1922,15 +1837,10 @@ mpt_adapter_disable(MPT_ADAPTER *ioc) | |||
1922 | ioc->alloc_total -= sz; | 1837 | ioc->alloc_total -= sz; |
1923 | } | 1838 | } |
1924 | 1839 | ||
1925 | if (ioc->spi_data.nvram != NULL) { | 1840 | kfree(ioc->spi_data.nvram); |
1926 | kfree(ioc->spi_data.nvram); | 1841 | kfree(ioc->spi_data.pIocPg3); |
1927 | ioc->spi_data.nvram = NULL; | 1842 | ioc->spi_data.nvram = NULL; |
1928 | } | 1843 | ioc->spi_data.pIocPg3 = NULL; |
1929 | |||
1930 | if (ioc->spi_data.pIocPg3 != NULL) { | ||
1931 | kfree(ioc->spi_data.pIocPg3); | ||
1932 | ioc->spi_data.pIocPg3 = NULL; | ||
1933 | } | ||
1934 | 1844 | ||
1935 | if (ioc->spi_data.pIocPg4 != NULL) { | 1845 | if (ioc->spi_data.pIocPg4 != NULL) { |
1936 | sz = ioc->spi_data.IocPg4Sz; | 1846 | sz = ioc->spi_data.IocPg4Sz; |
@@ -1947,10 +1857,8 @@ mpt_adapter_disable(MPT_ADAPTER *ioc) | |||
1947 | ioc->ReqToChain = NULL; | 1857 | ioc->ReqToChain = NULL; |
1948 | } | 1858 | } |
1949 | 1859 | ||
1950 | if (ioc->ChainToChain != NULL) { | 1860 | kfree(ioc->ChainToChain); |
1951 | kfree(ioc->ChainToChain); | 1861 | ioc->ChainToChain = NULL; |
1952 | ioc->ChainToChain = NULL; | ||
1953 | } | ||
1954 | } | 1862 | } |
1955 | 1863 | ||
1956 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1864 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
@@ -2333,7 +2241,7 @@ GetIocFacts(MPT_ADAPTER *ioc, int sleepFlag, int reason) | |||
2333 | return -55; | 2241 | return -55; |
2334 | } | 2242 | } |
2335 | 2243 | ||
2336 | r = sz = le32_to_cpu(facts->BlockSize); | 2244 | r = sz = facts->BlockSize; |
2337 | vv = ((63 / (sz * 4)) + 1) & 0x03; | 2245 | vv = ((63 / (sz * 4)) + 1) & 0x03; |
2338 | ioc->NB_for_64_byte_frame = vv; | 2246 | ioc->NB_for_64_byte_frame = vv; |
2339 | while ( sz ) | 2247 | while ( sz ) |
@@ -2785,7 +2693,7 @@ mpt_downloadboot(MPT_ADAPTER *ioc, int sleepFlag) | |||
2785 | /* prevent a second downloadboot and memory free with alt_ioc */ | 2693 | /* prevent a second downloadboot and memory free with alt_ioc */ |
2786 | if (ioc->alt_ioc && ioc->alt_ioc->cached_fw) | 2694 | if (ioc->alt_ioc && ioc->alt_ioc->cached_fw) |
2787 | ioc->alt_ioc->cached_fw = NULL; | 2695 | ioc->alt_ioc->cached_fw = NULL; |
2788 | 2696 | ||
2789 | CHIPREG_WRITE32(&ioc->chip->WriteSequence, 0xFF); | 2697 | CHIPREG_WRITE32(&ioc->chip->WriteSequence, 0xFF); |
2790 | CHIPREG_WRITE32(&ioc->chip->WriteSequence, MPI_WRSEQ_1ST_KEY_VALUE); | 2698 | CHIPREG_WRITE32(&ioc->chip->WriteSequence, MPI_WRSEQ_1ST_KEY_VALUE); |
2791 | CHIPREG_WRITE32(&ioc->chip->WriteSequence, MPI_WRSEQ_2ND_KEY_VALUE); | 2699 | CHIPREG_WRITE32(&ioc->chip->WriteSequence, MPI_WRSEQ_2ND_KEY_VALUE); |
@@ -2843,6 +2751,9 @@ mpt_downloadboot(MPT_ADAPTER *ioc, int sleepFlag) | |||
2843 | /* Write the LoadStartAddress to the DiagRw Address Register | 2751 | /* Write the LoadStartAddress to the DiagRw Address Register |
2844 | * using Programmed IO | 2752 | * using Programmed IO |
2845 | */ | 2753 | */ |
2754 | if (ioc->errata_flag_1064) | ||
2755 | pci_enable_io_access(ioc->pcidev); | ||
2756 | |||
2846 | CHIPREG_PIO_WRITE32(&ioc->pio_chip->DiagRwAddress, pFwHeader->LoadStartAddress); | 2757 | CHIPREG_PIO_WRITE32(&ioc->pio_chip->DiagRwAddress, pFwHeader->LoadStartAddress); |
2847 | ddlprintk((MYIOC_s_INFO_FMT "LoadStart addr written 0x%x \n", | 2758 | ddlprintk((MYIOC_s_INFO_FMT "LoadStart addr written 0x%x \n", |
2848 | ioc->name, pFwHeader->LoadStartAddress)); | 2759 | ioc->name, pFwHeader->LoadStartAddress)); |
@@ -2889,6 +2800,9 @@ mpt_downloadboot(MPT_ADAPTER *ioc, int sleepFlag) | |||
2889 | CHIPREG_PIO_WRITE32(&ioc->pio_chip->DiagRwAddress, 0x3F000000); | 2800 | CHIPREG_PIO_WRITE32(&ioc->pio_chip->DiagRwAddress, 0x3F000000); |
2890 | CHIPREG_PIO_WRITE32(&ioc->pio_chip->DiagRwData, diagRwData); | 2801 | CHIPREG_PIO_WRITE32(&ioc->pio_chip->DiagRwData, diagRwData); |
2891 | 2802 | ||
2803 | if (ioc->errata_flag_1064) | ||
2804 | pci_disable_io_access(ioc->pcidev); | ||
2805 | |||
2892 | diag0val = CHIPREG_READ32(&ioc->chip->Diagnostic); | 2806 | diag0val = CHIPREG_READ32(&ioc->chip->Diagnostic); |
2893 | ddlprintk((MYIOC_s_INFO_FMT "downloadboot diag0val=%x, turning off PREVENT_IOC_BOOT, DISABLE_ARM\n", | 2807 | ddlprintk((MYIOC_s_INFO_FMT "downloadboot diag0val=%x, turning off PREVENT_IOC_BOOT, DISABLE_ARM\n", |
2894 | ioc->name, diag0val)); | 2808 | ioc->name, diag0val)); |
@@ -4250,7 +4164,7 @@ mpt_GetScsiPortSettings(MPT_ADAPTER *ioc, int portnum) | |||
4250 | if ((ioc->spi_data.busType == MPI_SCSIPORTPAGE0_PHY_SIGNAL_HVD) || | 4164 | if ((ioc->spi_data.busType == MPI_SCSIPORTPAGE0_PHY_SIGNAL_HVD) || |
4251 | (ioc->spi_data.busType == MPI_SCSIPORTPAGE0_PHY_SIGNAL_SE)) { | 4165 | (ioc->spi_data.busType == MPI_SCSIPORTPAGE0_PHY_SIGNAL_SE)) { |
4252 | 4166 | ||
4253 | if (ioc->spi_data.minSyncFactor < MPT_ULTRA) | 4167 | if (ioc->spi_data.minSyncFactor < MPT_ULTRA) |
4254 | ioc->spi_data.minSyncFactor = MPT_ULTRA; | 4168 | ioc->spi_data.minSyncFactor = MPT_ULTRA; |
4255 | } | 4169 | } |
4256 | } | 4170 | } |
@@ -4482,10 +4396,8 @@ mpt_read_ioc_pg_3(MPT_ADAPTER *ioc) | |||
4482 | 4396 | ||
4483 | /* Free the old page | 4397 | /* Free the old page |
4484 | */ | 4398 | */ |
4485 | if (ioc->spi_data.pIocPg3) { | 4399 | kfree(ioc->spi_data.pIocPg3); |
4486 | kfree(ioc->spi_data.pIocPg3); | 4400 | ioc->spi_data.pIocPg3 = NULL; |
4487 | ioc->spi_data.pIocPg3 = NULL; | ||
4488 | } | ||
4489 | 4401 | ||
4490 | /* There is at least one physical disk. | 4402 | /* There is at least one physical disk. |
4491 | * Read and save IOC Page 3 | 4403 | * Read and save IOC Page 3 |
@@ -4753,9 +4665,7 @@ mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg) | |||
4753 | u32 flagsLength; | 4665 | u32 flagsLength; |
4754 | int in_isr; | 4666 | int in_isr; |
4755 | 4667 | ||
4756 | /* (Bugzilla:fibrebugs, #513) | 4668 | /* Prevent calling wait_event() (below), if caller happens |
4757 | * Bug fix (part 1)! 20010905 -sralston | ||
4758 | * Prevent calling wait_event() (below), if caller happens | ||
4759 | * to be in ISR context, because that is fatal! | 4669 | * to be in ISR context, because that is fatal! |
4760 | */ | 4670 | */ |
4761 | in_isr = in_interrupt(); | 4671 | in_isr = in_interrupt(); |
@@ -4861,9 +4771,7 @@ mpt_toolbox(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg) | |||
4861 | u32 flagsLength; | 4771 | u32 flagsLength; |
4862 | int in_isr; | 4772 | int in_isr; |
4863 | 4773 | ||
4864 | /* (Bugzilla:fibrebugs, #513) | 4774 | /* Prevent calling wait_event() (below), if caller happens |
4865 | * Bug fix (part 1)! 20010905 -sralston | ||
4866 | * Prevent calling wait_event() (below), if caller happens | ||
4867 | * to be in ISR context, because that is fatal! | 4775 | * to be in ISR context, because that is fatal! |
4868 | */ | 4776 | */ |
4869 | in_isr = in_interrupt(); | 4777 | in_isr = in_interrupt(); |
@@ -5130,20 +5038,26 @@ static int | |||
5130 | procmpt_version_read(char *buf, char **start, off_t offset, int request, int *eof, void *data) | 5038 | procmpt_version_read(char *buf, char **start, off_t offset, int request, int *eof, void *data) |
5131 | { | 5039 | { |
5132 | int ii; | 5040 | int ii; |
5133 | int scsi, lan, ctl, targ, dmp; | 5041 | int scsi, fc, sas, lan, ctl, targ, dmp; |
5134 | char *drvname; | 5042 | char *drvname; |
5135 | int len; | 5043 | int len; |
5136 | 5044 | ||
5137 | len = sprintf(buf, "%s-%s\n", "mptlinux", MPT_LINUX_VERSION_COMMON); | 5045 | len = sprintf(buf, "%s-%s\n", "mptlinux", MPT_LINUX_VERSION_COMMON); |
5138 | len += sprintf(buf+len, " Fusion MPT base driver\n"); | 5046 | len += sprintf(buf+len, " Fusion MPT base driver\n"); |
5139 | 5047 | ||
5140 | scsi = lan = ctl = targ = dmp = 0; | 5048 | scsi = fc = sas = lan = ctl = targ = dmp = 0; |
5141 | for (ii=MPT_MAX_PROTOCOL_DRIVERS-1; ii; ii--) { | 5049 | for (ii=MPT_MAX_PROTOCOL_DRIVERS-1; ii; ii--) { |
5142 | drvname = NULL; | 5050 | drvname = NULL; |
5143 | if (MptCallbacks[ii]) { | 5051 | if (MptCallbacks[ii]) { |
5144 | switch (MptDriverClass[ii]) { | 5052 | switch (MptDriverClass[ii]) { |
5145 | case MPTSCSIH_DRIVER: | 5053 | case MPTSPI_DRIVER: |
5146 | if (!scsi++) drvname = "SCSI host"; | 5054 | if (!scsi++) drvname = "SPI host"; |
5055 | break; | ||
5056 | case MPTFC_DRIVER: | ||
5057 | if (!fc++) drvname = "FC host"; | ||
5058 | break; | ||
5059 | case MPTSAS_DRIVER: | ||
5060 | if (!sas++) drvname = "SAS host"; | ||
5147 | break; | 5061 | break; |
5148 | case MPTLAN_DRIVER: | 5062 | case MPTLAN_DRIVER: |
5149 | if (!lan++) drvname = "LAN"; | 5063 | if (!lan++) drvname = "LAN"; |
@@ -5832,6 +5746,12 @@ mpt_sp_ioc_info(MPT_ADAPTER *ioc, u32 ioc_status, MPT_FRAME_HDR *mf) | |||
5832 | } | 5746 | } |
5833 | 5747 | ||
5834 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 5748 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
5749 | EXPORT_SYMBOL(mpt_attach); | ||
5750 | EXPORT_SYMBOL(mpt_detach); | ||
5751 | #ifdef CONFIG_PM | ||
5752 | EXPORT_SYMBOL(mpt_resume); | ||
5753 | EXPORT_SYMBOL(mpt_suspend); | ||
5754 | #endif | ||
5835 | EXPORT_SYMBOL(ioc_list); | 5755 | EXPORT_SYMBOL(ioc_list); |
5836 | EXPORT_SYMBOL(mpt_proc_root_dir); | 5756 | EXPORT_SYMBOL(mpt_proc_root_dir); |
5837 | EXPORT_SYMBOL(mpt_register); | 5757 | EXPORT_SYMBOL(mpt_register); |
@@ -5860,19 +5780,6 @@ EXPORT_SYMBOL(mpt_read_ioc_pg_3); | |||
5860 | EXPORT_SYMBOL(mpt_alloc_fw_memory); | 5780 | EXPORT_SYMBOL(mpt_alloc_fw_memory); |
5861 | EXPORT_SYMBOL(mpt_free_fw_memory); | 5781 | EXPORT_SYMBOL(mpt_free_fw_memory); |
5862 | 5782 | ||
5863 | static struct pci_driver mptbase_driver = { | ||
5864 | .name = "mptbase", | ||
5865 | .id_table = mptbase_pci_table, | ||
5866 | .probe = mptbase_probe, | ||
5867 | .remove = __devexit_p(mptbase_remove), | ||
5868 | .driver = { | ||
5869 | .shutdown = mptbase_shutdown, | ||
5870 | }, | ||
5871 | #ifdef CONFIG_PM | ||
5872 | .suspend = mptbase_suspend, | ||
5873 | .resume = mptbase_resume, | ||
5874 | #endif | ||
5875 | }; | ||
5876 | 5783 | ||
5877 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 5784 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
5878 | /* | 5785 | /* |
@@ -5884,7 +5791,6 @@ static int __init | |||
5884 | fusion_init(void) | 5791 | fusion_init(void) |
5885 | { | 5792 | { |
5886 | int i; | 5793 | int i; |
5887 | int r; | ||
5888 | 5794 | ||
5889 | show_mptmod_ver(my_NAME, my_VERSION); | 5795 | show_mptmod_ver(my_NAME, my_VERSION); |
5890 | printk(KERN_INFO COPYRIGHT "\n"); | 5796 | printk(KERN_INFO COPYRIGHT "\n"); |
@@ -5896,8 +5802,7 @@ fusion_init(void) | |||
5896 | MptResetHandlers[i] = NULL; | 5802 | MptResetHandlers[i] = NULL; |
5897 | } | 5803 | } |
5898 | 5804 | ||
5899 | /* NEW! 20010120 -sralston | 5805 | /* Register ourselves (mptbase) in order to facilitate |
5900 | * Register ourselves (mptbase) in order to facilitate | ||
5901 | * EventNotification handling. | 5806 | * EventNotification handling. |
5902 | */ | 5807 | */ |
5903 | mpt_base_index = mpt_register(mpt_base_reply, MPTBASE_DRIVER); | 5808 | mpt_base_index = mpt_register(mpt_base_reply, MPTBASE_DRIVER); |
@@ -5913,11 +5818,7 @@ fusion_init(void) | |||
5913 | #ifdef CONFIG_PROC_FS | 5818 | #ifdef CONFIG_PROC_FS |
5914 | (void) procmpt_create(); | 5819 | (void) procmpt_create(); |
5915 | #endif | 5820 | #endif |
5916 | r = pci_register_driver(&mptbase_driver); | 5821 | return 0; |
5917 | if(r) | ||
5918 | return(r); | ||
5919 | |||
5920 | return r; | ||
5921 | } | 5822 | } |
5922 | 5823 | ||
5923 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 5824 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
@@ -5933,7 +5834,6 @@ fusion_exit(void) | |||
5933 | 5834 | ||
5934 | dexitprintk((KERN_INFO MYNAM ": fusion_exit() called!\n")); | 5835 | dexitprintk((KERN_INFO MYNAM ": fusion_exit() called!\n")); |
5935 | 5836 | ||
5936 | pci_unregister_driver(&mptbase_driver); | ||
5937 | mpt_reset_deregister(mpt_base_index); | 5837 | mpt_reset_deregister(mpt_base_index); |
5938 | 5838 | ||
5939 | #ifdef CONFIG_PROC_FS | 5839 | #ifdef CONFIG_PROC_FS |
@@ -5941,6 +5841,5 @@ fusion_exit(void) | |||
5941 | #endif | 5841 | #endif |
5942 | } | 5842 | } |
5943 | 5843 | ||
5944 | |||
5945 | module_init(fusion_init); | 5844 | module_init(fusion_init); |
5946 | module_exit(fusion_exit); | 5845 | module_exit(fusion_exit); |
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index 6d16acc7a179..848fb236b175 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -5,15 +5,9 @@ | |||
5 | * LSIFC9xx/LSI409xx Fibre Channel | 5 | * LSIFC9xx/LSI409xx Fibre Channel |
6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
7 | * | 7 | * |
8 | * Credits: | 8 | * Copyright (c) 1999-2005 LSI Logic Corporation |
9 | * (see mptbase.c) | ||
10 | * | ||
11 | * Copyright (c) 1999-2004 LSI Logic Corporation | ||
12 | * Originally By: Steven J. Ralston | ||
13 | * (mailto:sjralston1@netscape.net) | ||
14 | * (mailto:mpt_linux_developer@lsil.com) | 9 | * (mailto:mpt_linux_developer@lsil.com) |
15 | * | 10 | * |
16 | * $Id: mptbase.h,v 1.144 2003/01/28 21:31:56 pdelaney Exp $ | ||
17 | */ | 11 | */ |
18 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 12 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
19 | /* | 13 | /* |
@@ -71,7 +65,6 @@ | |||
71 | #include "lsi/mpi_fc.h" /* Fibre Channel (lowlevel) support */ | 65 | #include "lsi/mpi_fc.h" /* Fibre Channel (lowlevel) support */ |
72 | #include "lsi/mpi_targ.h" /* SCSI/FCP Target protcol support */ | 66 | #include "lsi/mpi_targ.h" /* SCSI/FCP Target protcol support */ |
73 | #include "lsi/mpi_tool.h" /* Tools support */ | 67 | #include "lsi/mpi_tool.h" /* Tools support */ |
74 | #include "lsi/fc_log.h" | ||
75 | 68 | ||
76 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 69 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
77 | 70 | ||
@@ -80,11 +73,11 @@ | |||
80 | #endif | 73 | #endif |
81 | 74 | ||
82 | #ifndef COPYRIGHT | 75 | #ifndef COPYRIGHT |
83 | #define COPYRIGHT "Copyright (c) 1999-2004 " MODULEAUTHOR | 76 | #define COPYRIGHT "Copyright (c) 1999-2005 " MODULEAUTHOR |
84 | #endif | 77 | #endif |
85 | 78 | ||
86 | #define MPT_LINUX_VERSION_COMMON "3.01.20" | 79 | #define MPT_LINUX_VERSION_COMMON "3.03.02" |
87 | #define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.01.20" | 80 | #define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.03.02" |
88 | #define WHAT_MAGIC_STRING "@" "(" "#" ")" | 81 | #define WHAT_MAGIC_STRING "@" "(" "#" ")" |
89 | 82 | ||
90 | #define show_mptmod_ver(s,ver) \ | 83 | #define show_mptmod_ver(s,ver) \ |
@@ -203,7 +196,9 @@ | |||
203 | typedef enum { | 196 | typedef enum { |
204 | MPTBASE_DRIVER, /* MPT base class */ | 197 | MPTBASE_DRIVER, /* MPT base class */ |
205 | MPTCTL_DRIVER, /* MPT ioctl class */ | 198 | MPTCTL_DRIVER, /* MPT ioctl class */ |
206 | MPTSCSIH_DRIVER, /* MPT SCSI host (initiator) class */ | 199 | MPTSPI_DRIVER, /* MPT SPI host class */ |
200 | MPTFC_DRIVER, /* MPT FC host class */ | ||
201 | MPTSAS_DRIVER, /* MPT SAS host class */ | ||
207 | MPTLAN_DRIVER, /* MPT LAN class */ | 202 | MPTLAN_DRIVER, /* MPT LAN class */ |
208 | MPTSTM_DRIVER, /* MPT SCSI target mode class */ | 203 | MPTSTM_DRIVER, /* MPT SCSI target mode class */ |
209 | MPTUNKNOWN_DRIVER | 204 | MPTUNKNOWN_DRIVER |
@@ -212,11 +207,6 @@ typedef enum { | |||
212 | struct mpt_pci_driver{ | 207 | struct mpt_pci_driver{ |
213 | int (*probe) (struct pci_dev *dev, const struct pci_device_id *id); | 208 | int (*probe) (struct pci_dev *dev, const struct pci_device_id *id); |
214 | void (*remove) (struct pci_dev *dev); | 209 | void (*remove) (struct pci_dev *dev); |
215 | void (*shutdown) (struct device * dev); | ||
216 | #ifdef CONFIG_PM | ||
217 | int (*resume) (struct pci_dev *dev); | ||
218 | int (*suspend) (struct pci_dev *dev, pm_message_t state); | ||
219 | #endif | ||
220 | }; | 210 | }; |
221 | 211 | ||
222 | /* | 212 | /* |
@@ -483,6 +473,7 @@ typedef struct _ScsiCfgData { | |||
483 | u8 forceDv; /* 1 to force DV scheduling */ | 473 | u8 forceDv; /* 1 to force DV scheduling */ |
484 | u8 noQas; /* Disable QAS for this adapter */ | 474 | u8 noQas; /* Disable QAS for this adapter */ |
485 | u8 Saf_Te; /* 1 to force all Processors as SAF-TE if Inquiry data length is too short to check for SAF-TE */ | 475 | u8 Saf_Te; /* 1 to force all Processors as SAF-TE if Inquiry data length is too short to check for SAF-TE */ |
476 | u8 mpt_dv; /* command line option: enhanced=1, basic=0 */ | ||
486 | u8 rsvd[1]; | 477 | u8 rsvd[1]; |
487 | } ScsiCfgData; | 478 | } ScsiCfgData; |
488 | 479 | ||
@@ -571,11 +562,21 @@ typedef struct _MPT_ADAPTER | |||
571 | FCPortPage0_t fc_port_page0[2]; | 562 | FCPortPage0_t fc_port_page0[2]; |
572 | LANPage0_t lan_cnfg_page0; | 563 | LANPage0_t lan_cnfg_page0; |
573 | LANPage1_t lan_cnfg_page1; | 564 | LANPage1_t lan_cnfg_page1; |
565 | /* | ||
566 | * Description: errata_flag_1064 | ||
567 | * If a PCIX read occurs within 1 or 2 cycles after the chip receives | ||
568 | * a split completion for a read data, an internal address pointer incorrectly | ||
569 | * increments by 32 bytes | ||
570 | */ | ||
571 | int errata_flag_1064; | ||
574 | u8 FirstWhoInit; | 572 | u8 FirstWhoInit; |
575 | u8 upload_fw; /* If set, do a fw upload */ | 573 | u8 upload_fw; /* If set, do a fw upload */ |
576 | u8 reload_fw; /* Force a FW Reload on next reset */ | 574 | u8 reload_fw; /* Force a FW Reload on next reset */ |
577 | u8 NBShiftFactor; /* NB Shift Factor based on Block Size (Facts) */ | 575 | u8 NBShiftFactor; /* NB Shift Factor based on Block Size (Facts) */ |
578 | u8 pad1[4]; | 576 | u8 pad1[4]; |
577 | int DoneCtx; | ||
578 | int TaskCtx; | ||
579 | int InternalCtx; | ||
579 | struct list_head list; | 580 | struct list_head list; |
580 | struct net_device *netdev; | 581 | struct net_device *netdev; |
581 | } MPT_ADAPTER; | 582 | } MPT_ADAPTER; |
@@ -773,12 +774,6 @@ typedef struct _mpt_sge { | |||
773 | #define DBG_DUMP_TM_REPLY_FRAME(mfp) | 774 | #define DBG_DUMP_TM_REPLY_FRAME(mfp) |
774 | #endif | 775 | #endif |
775 | 776 | ||
776 | #ifdef MPT_DEBUG_NEH | ||
777 | #define nehprintk(x) printk x | ||
778 | #else | ||
779 | #define nehprintk(x) | ||
780 | #endif | ||
781 | |||
782 | #if defined(MPT_DEBUG_CONFIG) || defined(MPT_DEBUG) | 777 | #if defined(MPT_DEBUG_CONFIG) || defined(MPT_DEBUG) |
783 | #define dcprintk(x) printk x | 778 | #define dcprintk(x) printk x |
784 | #else | 779 | #else |
@@ -898,6 +893,11 @@ typedef struct _MPT_SCSI_HOST { | |||
898 | unsigned long soft_resets; /* fw/external bus resets count */ | 893 | unsigned long soft_resets; /* fw/external bus resets count */ |
899 | unsigned long timeouts; /* cmd timeouts */ | 894 | unsigned long timeouts; /* cmd timeouts */ |
900 | ushort sel_timeout[MPT_MAX_FC_DEVICES]; | 895 | ushort sel_timeout[MPT_MAX_FC_DEVICES]; |
896 | char *info_kbuf; | ||
897 | wait_queue_head_t scandv_waitq; | ||
898 | int scandv_wait_done; | ||
899 | long last_queue_full; | ||
900 | u8 mpt_pq_filter; | ||
901 | } MPT_SCSI_HOST; | 901 | } MPT_SCSI_HOST; |
902 | 902 | ||
903 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 903 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
@@ -931,6 +931,12 @@ typedef struct _x_config_parms { | |||
931 | /* | 931 | /* |
932 | * Public entry points... | 932 | * Public entry points... |
933 | */ | 933 | */ |
934 | extern int mpt_attach(struct pci_dev *pdev, const struct pci_device_id *id); | ||
935 | extern void mpt_detach(struct pci_dev *pdev); | ||
936 | #ifdef CONFIG_PM | ||
937 | extern int mpt_suspend(struct pci_dev *pdev, pm_message_t state); | ||
938 | extern int mpt_resume(struct pci_dev *pdev); | ||
939 | #endif | ||
934 | extern int mpt_register(MPT_CALLBACK cbfunc, MPT_DRIVER_CLASS dclass); | 940 | extern int mpt_register(MPT_CALLBACK cbfunc, MPT_DRIVER_CLASS dclass); |
935 | extern void mpt_deregister(int cb_idx); | 941 | extern void mpt_deregister(int cb_idx); |
936 | extern int mpt_event_register(int cb_idx, MPT_EVHANDLER ev_cbfunc); | 942 | extern int mpt_event_register(int cb_idx, MPT_EVHANDLER ev_cbfunc); |
diff --git a/drivers/message/fusion/mptctl.c b/drivers/message/fusion/mptctl.c index 70b0cfb5ac5c..05ea5944c487 100644 --- a/drivers/message/fusion/mptctl.c +++ b/drivers/message/fusion/mptctl.c | |||
@@ -1,40 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/message/fusion/mptctl.c | 2 | * linux/drivers/message/fusion/mptctl.c |
3 | * Fusion MPT misc device (ioctl) driver. | 3 | * mpt Ioctl driver. |
4 | * For use with PCI chip/adapter(s): | 4 | * For use with LSI Logic PCI chip/adapters |
5 | * LSIFC9xx/LSI409xx Fibre Channel | ||
6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 5 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
7 | * | 6 | * |
8 | * Credits: | 7 | * Copyright (c) 1999-2005 LSI Logic Corporation |
9 | * This driver would not exist if not for Alan Cox's development | ||
10 | * of the linux i2o driver. | ||
11 | * | ||
12 | * A special thanks to Pamela Delaney (LSI Logic) for tons of work | ||
13 | * and countless enhancements while adding support for the 1030 | ||
14 | * chip family. Pam has been instrumental in the development of | ||
15 | * of the 2.xx.xx series fusion drivers, and her contributions are | ||
16 | * far too numerous to hope to list in one place. | ||
17 | * | ||
18 | * A huge debt of gratitude is owed to David S. Miller (DaveM) | ||
19 | * for fixing much of the stupid and broken stuff in the early | ||
20 | * driver while porting to sparc64 platform. THANK YOU! | ||
21 | * | ||
22 | * A big THANKS to Eddie C. Dost for fixing the ioctl path | ||
23 | * and most importantly f/w download on sparc64 platform! | ||
24 | * (plus Eddie's other helpful hints and insights) | ||
25 | * | ||
26 | * Thanks to Arnaldo Carvalho de Melo for finding and patching | ||
27 | * a potential memory leak in mptctl_do_fw_download(), | ||
28 | * and for some kmalloc insight:-) | ||
29 | * | ||
30 | * (see also mptbase.c) | ||
31 | * | ||
32 | * Copyright (c) 1999-2004 LSI Logic Corporation | ||
33 | * Originally By: Steven J. Ralston, Noah Romer | ||
34 | * (mailto:sjralston1@netscape.net) | ||
35 | * (mailto:mpt_linux_developer@lsil.com) | 8 | * (mailto:mpt_linux_developer@lsil.com) |
36 | * | 9 | * |
37 | * $Id: mptctl.c,v 1.63 2002/12/03 21:26:33 pdelaney Exp $ | ||
38 | */ | 10 | */ |
39 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 11 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
40 | /* | 12 | /* |
@@ -95,8 +67,8 @@ | |||
95 | #include <scsi/scsi_host.h> | 67 | #include <scsi/scsi_host.h> |
96 | #include <scsi/scsi_tcq.h> | 68 | #include <scsi/scsi_tcq.h> |
97 | 69 | ||
98 | #define COPYRIGHT "Copyright (c) 1999-2004 LSI Logic Corporation" | 70 | #define COPYRIGHT "Copyright (c) 1999-2005 LSI Logic Corporation" |
99 | #define MODULEAUTHOR "Steven J. Ralston, Noah Romer, Pamela Delaney" | 71 | #define MODULEAUTHOR "LSI Logic Corporation" |
100 | #include "mptbase.h" | 72 | #include "mptbase.h" |
101 | #include "mptctl.h" | 73 | #include "mptctl.h" |
102 | 74 | ||
@@ -127,14 +99,14 @@ struct buflist { | |||
127 | * arg contents specific to function. | 99 | * arg contents specific to function. |
128 | */ | 100 | */ |
129 | static int mptctl_fw_download(unsigned long arg); | 101 | static int mptctl_fw_download(unsigned long arg); |
130 | static int mptctl_getiocinfo (unsigned long arg, unsigned int cmd); | 102 | static int mptctl_getiocinfo(unsigned long arg, unsigned int cmd); |
131 | static int mptctl_gettargetinfo (unsigned long arg); | 103 | static int mptctl_gettargetinfo(unsigned long arg); |
132 | static int mptctl_readtest (unsigned long arg); | 104 | static int mptctl_readtest(unsigned long arg); |
133 | static int mptctl_mpt_command (unsigned long arg); | 105 | static int mptctl_mpt_command(unsigned long arg); |
134 | static int mptctl_eventquery (unsigned long arg); | 106 | static int mptctl_eventquery(unsigned long arg); |
135 | static int mptctl_eventenable (unsigned long arg); | 107 | static int mptctl_eventenable(unsigned long arg); |
136 | static int mptctl_eventreport (unsigned long arg); | 108 | static int mptctl_eventreport(unsigned long arg); |
137 | static int mptctl_replace_fw (unsigned long arg); | 109 | static int mptctl_replace_fw(unsigned long arg); |
138 | 110 | ||
139 | static int mptctl_do_reset(unsigned long arg); | 111 | static int mptctl_do_reset(unsigned long arg); |
140 | static int mptctl_hp_hostinfo(unsigned long arg, unsigned int cmd); | 112 | static int mptctl_hp_hostinfo(unsigned long arg, unsigned int cmd); |
@@ -149,11 +121,11 @@ static long compat_mpctl_ioctl(struct file *f, unsigned cmd, unsigned long arg); | |||
149 | /* | 121 | /* |
150 | * Private function calls. | 122 | * Private function calls. |
151 | */ | 123 | */ |
152 | static int mptctl_do_mpt_command (struct mpt_ioctl_command karg, void __user *mfPtr); | 124 | static int mptctl_do_mpt_command(struct mpt_ioctl_command karg, void __user *mfPtr); |
153 | static int mptctl_do_fw_download(int ioc, char __user *ufwbuf, size_t fwlen); | 125 | static int mptctl_do_fw_download(int ioc, char __user *ufwbuf, size_t fwlen); |
154 | static MptSge_t *kbuf_alloc_2_sgl( int bytes, u32 dir, int sge_offset, int *frags, | 126 | static MptSge_t *kbuf_alloc_2_sgl(int bytes, u32 dir, int sge_offset, int *frags, |
155 | struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc); | 127 | struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc); |
156 | static void kfree_sgl( MptSge_t *sgl, dma_addr_t sgl_dma, | 128 | static void kfree_sgl(MptSge_t *sgl, dma_addr_t sgl_dma, |
157 | struct buflist *buflist, MPT_ADAPTER *ioc); | 129 | struct buflist *buflist, MPT_ADAPTER *ioc); |
158 | static void mptctl_timeout_expired (MPT_IOCTL *ioctl); | 130 | static void mptctl_timeout_expired (MPT_IOCTL *ioctl); |
159 | static int mptctl_bus_reset(MPT_IOCTL *ioctl); | 131 | static int mptctl_bus_reset(MPT_IOCTL *ioctl); |
@@ -1119,7 +1091,7 @@ mptctl_getiocinfo (unsigned long arg, unsigned int data_size) | |||
1119 | int numDevices = 0; | 1091 | int numDevices = 0; |
1120 | unsigned int max_id; | 1092 | unsigned int max_id; |
1121 | int ii; | 1093 | int ii; |
1122 | int port; | 1094 | unsigned int port; |
1123 | int cim_rev; | 1095 | int cim_rev; |
1124 | u8 revision; | 1096 | u8 revision; |
1125 | 1097 | ||
@@ -1162,9 +1134,7 @@ mptctl_getiocinfo (unsigned long arg, unsigned int data_size) | |||
1162 | return -ENODEV; | 1134 | return -ENODEV; |
1163 | } | 1135 | } |
1164 | 1136 | ||
1165 | /* Verify the data transfer size is correct. | 1137 | /* Verify the data transfer size is correct. */ |
1166 | * Ignore the port setting. | ||
1167 | */ | ||
1168 | if (karg->hdr.maxDataSize != data_size) { | 1138 | if (karg->hdr.maxDataSize != data_size) { |
1169 | printk(KERN_ERR "%s@%d::mptctl_getiocinfo - " | 1139 | printk(KERN_ERR "%s@%d::mptctl_getiocinfo - " |
1170 | "Structure size mismatch. Command not completed.\n", | 1140 | "Structure size mismatch. Command not completed.\n", |
@@ -1181,6 +1151,8 @@ mptctl_getiocinfo (unsigned long arg, unsigned int data_size) | |||
1181 | else | 1151 | else |
1182 | karg->adapterType = MPT_IOCTL_INTERFACE_SCSI; | 1152 | karg->adapterType = MPT_IOCTL_INTERFACE_SCSI; |
1183 | 1153 | ||
1154 | if (karg->hdr.port > 1) | ||
1155 | return -EINVAL; | ||
1184 | port = karg->hdr.port; | 1156 | port = karg->hdr.port; |
1185 | 1157 | ||
1186 | karg->port = port; | 1158 | karg->port = port; |
diff --git a/drivers/message/fusion/mptctl.h b/drivers/message/fusion/mptctl.h index cc4ecf0382df..28754a9cb803 100644 --- a/drivers/message/fusion/mptctl.h +++ b/drivers/message/fusion/mptctl.h | |||
@@ -5,22 +5,9 @@ | |||
5 | * LSIFC9xx/LSI409xx Fibre Channel | 5 | * LSIFC9xx/LSI409xx Fibre Channel |
6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
7 | * | 7 | * |
8 | * Credits: | 8 | * Copyright (c) 1999-2005 LSI Logic Corporation |
9 | * This driver would not exist if not for Alan Cox's development | ||
10 | * of the linux i2o driver. | ||
11 | * | ||
12 | * A huge debt of gratitude is owed to David S. Miller (DaveM) | ||
13 | * for fixing much of the stupid and broken stuff in the early | ||
14 | * driver while porting to sparc64 platform. THANK YOU! | ||
15 | * | ||
16 | * (see also mptbase.c) | ||
17 | * | ||
18 | * Copyright (c) 1999-2004 LSI Logic Corporation | ||
19 | * Originally By: Steven J. Ralston | ||
20 | * (mailto:sjralston1@netscape.net) | ||
21 | * (mailto:mpt_linux_developer@lsil.com) | 9 | * (mailto:mpt_linux_developer@lsil.com) |
22 | * | 10 | * |
23 | * $Id: mptctl.h,v 1.13 2002/12/03 21:26:33 pdelaney Exp $ | ||
24 | */ | 11 | */ |
25 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 12 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
26 | /* | 13 | /* |
diff --git a/drivers/message/fusion/mptfc.c b/drivers/message/fusion/mptfc.c new file mode 100644 index 000000000000..d8d65397e06e --- /dev/null +++ b/drivers/message/fusion/mptfc.c | |||
@@ -0,0 +1,431 @@ | |||
1 | /* | ||
2 | * linux/drivers/message/fusion/mptfc.c | ||
3 | * For use with LSI Logic PCI chip/adapter(s) | ||
4 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | ||
5 | * | ||
6 | * Copyright (c) 1999-2005 LSI Logic Corporation | ||
7 | * (mailto:mpt_linux_developer@lsil.com) | ||
8 | * | ||
9 | */ | ||
10 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
11 | /* | ||
12 | This program is free software; you can redistribute it and/or modify | ||
13 | it under the terms of the GNU General Public License as published by | ||
14 | the Free Software Foundation; version 2 of the License. | ||
15 | |||
16 | This program is distributed in the hope that it will be useful, | ||
17 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
19 | GNU General Public License for more details. | ||
20 | |||
21 | NO WARRANTY | ||
22 | THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
23 | CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT | ||
24 | LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, | ||
25 | MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is | ||
26 | solely responsible for determining the appropriateness of using and | ||
27 | distributing the Program and assumes all risks associated with its | ||
28 | exercise of rights under this Agreement, including but not limited to | ||
29 | the risks and costs of program errors, damage to or loss of data, | ||
30 | programs or equipment, and unavailability or interruption of operations. | ||
31 | |||
32 | DISCLAIMER OF LIABILITY | ||
33 | NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY | ||
34 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
35 | DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND | ||
36 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | ||
37 | TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | ||
38 | USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED | ||
39 | HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES | ||
40 | |||
41 | You should have received a copy of the GNU General Public License | ||
42 | along with this program; if not, write to the Free Software | ||
43 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
44 | */ | ||
45 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
46 | #include "linux_compat.h" /* linux-2.6 tweaks */ | ||
47 | #include <linux/module.h> | ||
48 | #include <linux/kernel.h> | ||
49 | #include <linux/init.h> | ||
50 | #include <linux/errno.h> | ||
51 | #include <linux/kdev_t.h> | ||
52 | #include <linux/blkdev.h> | ||
53 | #include <linux/delay.h> /* for mdelay */ | ||
54 | #include <linux/interrupt.h> /* needed for in_interrupt() proto */ | ||
55 | #include <linux/reboot.h> /* notifier code */ | ||
56 | #include <linux/sched.h> | ||
57 | #include <linux/workqueue.h> | ||
58 | |||
59 | #include <scsi/scsi.h> | ||
60 | #include <scsi/scsi_cmnd.h> | ||
61 | #include <scsi/scsi_device.h> | ||
62 | #include <scsi/scsi_host.h> | ||
63 | #include <scsi/scsi_tcq.h> | ||
64 | |||
65 | #include "mptbase.h" | ||
66 | #include "mptscsih.h" | ||
67 | |||
68 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
69 | #define my_NAME "Fusion MPT FC Host driver" | ||
70 | #define my_VERSION MPT_LINUX_VERSION_COMMON | ||
71 | #define MYNAM "mptfc" | ||
72 | |||
73 | MODULE_AUTHOR(MODULEAUTHOR); | ||
74 | MODULE_DESCRIPTION(my_NAME); | ||
75 | MODULE_LICENSE("GPL"); | ||
76 | |||
77 | /* Command line args */ | ||
78 | static int mpt_pq_filter = 0; | ||
79 | module_param(mpt_pq_filter, int, 0); | ||
80 | MODULE_PARM_DESC(mpt_pq_filter, " Enable peripheral qualifier filter: enable=1 (default=0)"); | ||
81 | |||
82 | static int mptfcDoneCtx = -1; | ||
83 | static int mptfcTaskCtx = -1; | ||
84 | static int mptfcInternalCtx = -1; /* Used only for internal commands */ | ||
85 | |||
86 | static struct device_attribute mptfc_queue_depth_attr = { | ||
87 | .attr = { | ||
88 | .name = "queue_depth", | ||
89 | .mode = S_IWUSR, | ||
90 | }, | ||
91 | .store = mptscsih_store_queue_depth, | ||
92 | }; | ||
93 | |||
94 | static struct device_attribute *mptfc_dev_attrs[] = { | ||
95 | &mptfc_queue_depth_attr, | ||
96 | NULL, | ||
97 | }; | ||
98 | |||
99 | static struct scsi_host_template mptfc_driver_template = { | ||
100 | .proc_name = "mptfc", | ||
101 | .proc_info = mptscsih_proc_info, | ||
102 | .name = "MPT FC Host", | ||
103 | .info = mptscsih_info, | ||
104 | .queuecommand = mptscsih_qcmd, | ||
105 | .slave_alloc = mptscsih_slave_alloc, | ||
106 | .slave_configure = mptscsih_slave_configure, | ||
107 | .slave_destroy = mptscsih_slave_destroy, | ||
108 | .eh_abort_handler = mptscsih_abort, | ||
109 | .eh_device_reset_handler = mptscsih_dev_reset, | ||
110 | .eh_bus_reset_handler = mptscsih_bus_reset, | ||
111 | .eh_host_reset_handler = mptscsih_host_reset, | ||
112 | .bios_param = mptscsih_bios_param, | ||
113 | .can_queue = MPT_FC_CAN_QUEUE, | ||
114 | .this_id = -1, | ||
115 | .sg_tablesize = MPT_SCSI_SG_DEPTH, | ||
116 | .max_sectors = 8192, | ||
117 | .cmd_per_lun = 7, | ||
118 | .use_clustering = ENABLE_CLUSTERING, | ||
119 | .sdev_attrs = mptfc_dev_attrs, | ||
120 | }; | ||
121 | |||
122 | /**************************************************************************** | ||
123 | * Supported hardware | ||
124 | */ | ||
125 | |||
126 | static struct pci_device_id mptfc_pci_table[] = { | ||
127 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC909, | ||
128 | PCI_ANY_ID, PCI_ANY_ID }, | ||
129 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC919, | ||
130 | PCI_ANY_ID, PCI_ANY_ID }, | ||
131 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC929, | ||
132 | PCI_ANY_ID, PCI_ANY_ID }, | ||
133 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC919X, | ||
134 | PCI_ANY_ID, PCI_ANY_ID }, | ||
135 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC929X, | ||
136 | PCI_ANY_ID, PCI_ANY_ID }, | ||
137 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC939X, | ||
138 | PCI_ANY_ID, PCI_ANY_ID }, | ||
139 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC949X, | ||
140 | PCI_ANY_ID, PCI_ANY_ID }, | ||
141 | {0} /* Terminating entry */ | ||
142 | }; | ||
143 | MODULE_DEVICE_TABLE(pci, mptfc_pci_table); | ||
144 | |||
145 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
146 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
147 | /* | ||
148 | * mptfc_probe - Installs scsi devices per bus. | ||
149 | * @pdev: Pointer to pci_dev structure | ||
150 | * | ||
151 | * Returns 0 for success, non-zero for failure. | ||
152 | * | ||
153 | */ | ||
154 | static int | ||
155 | mptfc_probe(struct pci_dev *pdev, const struct pci_device_id *id) | ||
156 | { | ||
157 | struct Scsi_Host *sh; | ||
158 | MPT_SCSI_HOST *hd; | ||
159 | MPT_ADAPTER *ioc; | ||
160 | unsigned long flags; | ||
161 | int sz, ii; | ||
162 | int numSGE = 0; | ||
163 | int scale; | ||
164 | int ioc_cap; | ||
165 | u8 *mem; | ||
166 | int error=0; | ||
167 | int r; | ||
168 | |||
169 | if ((r = mpt_attach(pdev,id)) != 0) | ||
170 | return r; | ||
171 | |||
172 | ioc = pci_get_drvdata(pdev); | ||
173 | ioc->DoneCtx = mptfcDoneCtx; | ||
174 | ioc->TaskCtx = mptfcTaskCtx; | ||
175 | ioc->InternalCtx = mptfcInternalCtx; | ||
176 | |||
177 | /* Added sanity check on readiness of the MPT adapter. | ||
178 | */ | ||
179 | if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) { | ||
180 | printk(MYIOC_s_WARN_FMT | ||
181 | "Skipping because it's not operational!\n", | ||
182 | ioc->name); | ||
183 | return -ENODEV; | ||
184 | } | ||
185 | |||
186 | if (!ioc->active) { | ||
187 | printk(MYIOC_s_WARN_FMT "Skipping because it's disabled!\n", | ||
188 | ioc->name); | ||
189 | return -ENODEV; | ||
190 | } | ||
191 | |||
192 | /* Sanity check - ensure at least 1 port is INITIATOR capable | ||
193 | */ | ||
194 | ioc_cap = 0; | ||
195 | for (ii=0; ii < ioc->facts.NumberOfPorts; ii++) { | ||
196 | if (ioc->pfacts[ii].ProtocolFlags & | ||
197 | MPI_PORTFACTS_PROTOCOL_INITIATOR) | ||
198 | ioc_cap ++; | ||
199 | } | ||
200 | |||
201 | if (!ioc_cap) { | ||
202 | printk(MYIOC_s_WARN_FMT | ||
203 | "Skipping ioc=%p because SCSI Initiator mode is NOT enabled!\n", | ||
204 | ioc->name, ioc); | ||
205 | return -ENODEV; | ||
206 | } | ||
207 | |||
208 | sh = scsi_host_alloc(&mptfc_driver_template, sizeof(MPT_SCSI_HOST)); | ||
209 | |||
210 | if (!sh) { | ||
211 | printk(MYIOC_s_WARN_FMT | ||
212 | "Unable to register controller with SCSI subsystem\n", | ||
213 | ioc->name); | ||
214 | return -1; | ||
215 | } | ||
216 | |||
217 | spin_lock_irqsave(&ioc->FreeQlock, flags); | ||
218 | |||
219 | /* Attach the SCSI Host to the IOC structure | ||
220 | */ | ||
221 | ioc->sh = sh; | ||
222 | |||
223 | sh->io_port = 0; | ||
224 | sh->n_io_port = 0; | ||
225 | sh->irq = 0; | ||
226 | |||
227 | /* set 16 byte cdb's */ | ||
228 | sh->max_cmd_len = 16; | ||
229 | |||
230 | sh->max_id = MPT_MAX_FC_DEVICES<256 ? MPT_MAX_FC_DEVICES : 255; | ||
231 | |||
232 | sh->max_lun = MPT_LAST_LUN + 1; | ||
233 | sh->max_channel = 0; | ||
234 | sh->this_id = ioc->pfacts[0].PortSCSIID; | ||
235 | |||
236 | /* Required entry. | ||
237 | */ | ||
238 | sh->unique_id = ioc->id; | ||
239 | |||
240 | /* Verify that we won't exceed the maximum | ||
241 | * number of chain buffers | ||
242 | * We can optimize: ZZ = req_sz/sizeof(SGE) | ||
243 | * For 32bit SGE's: | ||
244 | * numSGE = 1 + (ZZ-1)*(maxChain -1) + ZZ | ||
245 | * + (req_sz - 64)/sizeof(SGE) | ||
246 | * A slightly different algorithm is required for | ||
247 | * 64bit SGEs. | ||
248 | */ | ||
249 | scale = ioc->req_sz/(sizeof(dma_addr_t) + sizeof(u32)); | ||
250 | if (sizeof(dma_addr_t) == sizeof(u64)) { | ||
251 | numSGE = (scale - 1) * | ||
252 | (ioc->facts.MaxChainDepth-1) + scale + | ||
253 | (ioc->req_sz - 60) / (sizeof(dma_addr_t) + | ||
254 | sizeof(u32)); | ||
255 | } else { | ||
256 | numSGE = 1 + (scale - 1) * | ||
257 | (ioc->facts.MaxChainDepth-1) + scale + | ||
258 | (ioc->req_sz - 64) / (sizeof(dma_addr_t) + | ||
259 | sizeof(u32)); | ||
260 | } | ||
261 | |||
262 | if (numSGE < sh->sg_tablesize) { | ||
263 | /* Reset this value */ | ||
264 | dprintk((MYIOC_s_INFO_FMT | ||
265 | "Resetting sg_tablesize to %d from %d\n", | ||
266 | ioc->name, numSGE, sh->sg_tablesize)); | ||
267 | sh->sg_tablesize = numSGE; | ||
268 | } | ||
269 | |||
270 | /* Set the pci device pointer in Scsi_Host structure. | ||
271 | */ | ||
272 | scsi_set_device(sh, &ioc->pcidev->dev); | ||
273 | |||
274 | spin_unlock_irqrestore(&ioc->FreeQlock, flags); | ||
275 | |||
276 | hd = (MPT_SCSI_HOST *) sh->hostdata; | ||
277 | hd->ioc = ioc; | ||
278 | |||
279 | /* SCSI needs scsi_cmnd lookup table! | ||
280 | * (with size equal to req_depth*PtrSz!) | ||
281 | */ | ||
282 | sz = ioc->req_depth * sizeof(void *); | ||
283 | mem = kmalloc(sz, GFP_ATOMIC); | ||
284 | if (mem == NULL) { | ||
285 | error = -ENOMEM; | ||
286 | goto mptfc_probe_failed; | ||
287 | } | ||
288 | |||
289 | memset(mem, 0, sz); | ||
290 | hd->ScsiLookup = (struct scsi_cmnd **) mem; | ||
291 | |||
292 | dprintk((MYIOC_s_INFO_FMT "ScsiLookup @ %p, sz=%d\n", | ||
293 | ioc->name, hd->ScsiLookup, sz)); | ||
294 | |||
295 | /* Allocate memory for the device structures. | ||
296 | * A non-Null pointer at an offset | ||
297 | * indicates a device exists. | ||
298 | * max_id = 1 + maximum id (hosts.h) | ||
299 | */ | ||
300 | sz = sh->max_id * sizeof(void *); | ||
301 | mem = kmalloc(sz, GFP_ATOMIC); | ||
302 | if (mem == NULL) { | ||
303 | error = -ENOMEM; | ||
304 | goto mptfc_probe_failed; | ||
305 | } | ||
306 | |||
307 | memset(mem, 0, sz); | ||
308 | hd->Targets = (VirtDevice **) mem; | ||
309 | |||
310 | dprintk((KERN_INFO | ||
311 | " Targets @ %p, sz=%d\n", hd->Targets, sz)); | ||
312 | |||
313 | /* Clear the TM flags | ||
314 | */ | ||
315 | hd->tmPending = 0; | ||
316 | hd->tmState = TM_STATE_NONE; | ||
317 | hd->resetPending = 0; | ||
318 | hd->abortSCpnt = NULL; | ||
319 | |||
320 | /* Clear the pointer used to store | ||
321 | * single-threaded commands, i.e., those | ||
322 | * issued during a bus scan, dv and | ||
323 | * configuration pages. | ||
324 | */ | ||
325 | hd->cmdPtr = NULL; | ||
326 | |||
327 | /* Initialize this SCSI Hosts' timers | ||
328 | * To use, set the timer expires field | ||
329 | * and add_timer | ||
330 | */ | ||
331 | init_timer(&hd->timer); | ||
332 | hd->timer.data = (unsigned long) hd; | ||
333 | hd->timer.function = mptscsih_timer_expired; | ||
334 | |||
335 | hd->mpt_pq_filter = mpt_pq_filter; | ||
336 | |||
337 | ddvprintk((MYIOC_s_INFO_FMT | ||
338 | "mpt_pq_filter %x\n", | ||
339 | ioc->name, | ||
340 | mpt_pq_filter)); | ||
341 | |||
342 | init_waitqueue_head(&hd->scandv_waitq); | ||
343 | hd->scandv_wait_done = 0; | ||
344 | hd->last_queue_full = 0; | ||
345 | |||
346 | error = scsi_add_host (sh, &ioc->pcidev->dev); | ||
347 | if(error) { | ||
348 | dprintk((KERN_ERR MYNAM | ||
349 | "scsi_add_host failed\n")); | ||
350 | goto mptfc_probe_failed; | ||
351 | } | ||
352 | |||
353 | scsi_scan_host(sh); | ||
354 | return 0; | ||
355 | |||
356 | mptfc_probe_failed: | ||
357 | |||
358 | mptscsih_remove(pdev); | ||
359 | return error; | ||
360 | } | ||
361 | |||
362 | static struct pci_driver mptfc_driver = { | ||
363 | .name = "mptfc", | ||
364 | .id_table = mptfc_pci_table, | ||
365 | .probe = mptfc_probe, | ||
366 | .remove = __devexit_p(mptscsih_remove), | ||
367 | .driver = { | ||
368 | .shutdown = mptscsih_shutdown, | ||
369 | }, | ||
370 | #ifdef CONFIG_PM | ||
371 | .suspend = mptscsih_suspend, | ||
372 | .resume = mptscsih_resume, | ||
373 | #endif | ||
374 | }; | ||
375 | |||
376 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
377 | /** | ||
378 | * mptfc_init - Register MPT adapter(s) as SCSI host(s) with | ||
379 | * linux scsi mid-layer. | ||
380 | * | ||
381 | * Returns 0 for success, non-zero for failure. | ||
382 | */ | ||
383 | static int __init | ||
384 | mptfc_init(void) | ||
385 | { | ||
386 | |||
387 | show_mptmod_ver(my_NAME, my_VERSION); | ||
388 | |||
389 | mptfcDoneCtx = mpt_register(mptscsih_io_done, MPTFC_DRIVER); | ||
390 | mptfcTaskCtx = mpt_register(mptscsih_taskmgmt_complete, MPTFC_DRIVER); | ||
391 | mptfcInternalCtx = mpt_register(mptscsih_scandv_complete, MPTFC_DRIVER); | ||
392 | |||
393 | if (mpt_event_register(mptfcDoneCtx, mptscsih_event_process) == 0) { | ||
394 | devtprintk((KERN_INFO MYNAM | ||
395 | ": Registered for IOC event notifications\n")); | ||
396 | } | ||
397 | |||
398 | if (mpt_reset_register(mptfcDoneCtx, mptscsih_ioc_reset) == 0) { | ||
399 | dprintk((KERN_INFO MYNAM | ||
400 | ": Registered for IOC reset notifications\n")); | ||
401 | } | ||
402 | |||
403 | return pci_register_driver(&mptfc_driver); | ||
404 | } | ||
405 | |||
406 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
407 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
408 | /** | ||
409 | * mptfc_exit - Unregisters MPT adapter(s) | ||
410 | * | ||
411 | */ | ||
412 | static void __exit | ||
413 | mptfc_exit(void) | ||
414 | { | ||
415 | pci_unregister_driver(&mptfc_driver); | ||
416 | |||
417 | mpt_reset_deregister(mptfcDoneCtx); | ||
418 | dprintk((KERN_INFO MYNAM | ||
419 | ": Deregistered for IOC reset notifications\n")); | ||
420 | |||
421 | mpt_event_deregister(mptfcDoneCtx); | ||
422 | dprintk((KERN_INFO MYNAM | ||
423 | ": Deregistered for IOC event notifications\n")); | ||
424 | |||
425 | mpt_deregister(mptfcInternalCtx); | ||
426 | mpt_deregister(mptfcTaskCtx); | ||
427 | mpt_deregister(mptfcDoneCtx); | ||
428 | } | ||
429 | |||
430 | module_init(mptfc_init); | ||
431 | module_exit(mptfc_exit); | ||
diff --git a/drivers/message/fusion/mptlan.c b/drivers/message/fusion/mptlan.c index ef2713b93fab..52794be5a95c 100644 --- a/drivers/message/fusion/mptlan.c +++ b/drivers/message/fusion/mptlan.c | |||
@@ -1,33 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/message/fusion/mptlan.c | 2 | * linux/drivers/message/fusion/mptlan.c |
3 | * IP Over Fibre Channel device driver. | 3 | * IP Over Fibre Channel device driver. |
4 | * For use with PCI chip/adapter(s): | 4 | * For use with LSI Logic Fibre Channel PCI chip/adapters |
5 | * LSIFC9xx/LSI409xx Fibre Channel | ||
6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 5 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
7 | * | 6 | * |
8 | * Credits: | 7 | * Copyright (c) 2000-2005 LSI Logic Corporation |
9 | * This driver would not exist if not for Alan Cox's development | ||
10 | * of the linux i2o driver. | ||
11 | * | 8 | * |
12 | * Special thanks goes to the I2O LAN driver people at the | ||
13 | * University of Helsinki, who, unbeknownst to them, provided | ||
14 | * the inspiration and initial structure for this driver. | ||
15 | * | ||
16 | * A huge debt of gratitude is owed to David S. Miller (DaveM) | ||
17 | * for fixing much of the stupid and broken stuff in the early | ||
18 | * driver while porting to sparc64 platform. THANK YOU! | ||
19 | * | ||
20 | * A really huge debt of gratitude is owed to Eddie C. Dost | ||
21 | * for gobs of hard work fixing and optimizing LAN code. | ||
22 | * THANK YOU! | ||
23 | * | ||
24 | * (see also mptbase.c) | ||
25 | * | ||
26 | * Copyright (c) 2000-2004 LSI Logic Corporation | ||
27 | * Originally By: Noah Romer | ||
28 | * (mailto:mpt_linux_developer@lsil.com) | ||
29 | * | ||
30 | * $Id: mptlan.c,v 1.53 2002/10/17 20:15:58 pdelaney Exp $ | ||
31 | */ | 9 | */ |
32 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 10 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
33 | /* | 11 | /* |
@@ -221,7 +199,7 @@ lan_reply (MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *reply) | |||
221 | 199 | ||
222 | // NOTE! (Optimization) First case here is now caught in | 200 | // NOTE! (Optimization) First case here is now caught in |
223 | // mptbase.c::mpt_interrupt() routine and callcack here | 201 | // mptbase.c::mpt_interrupt() routine and callcack here |
224 | // is now skipped for this case! 20001218 -sralston | 202 | // is now skipped for this case! |
225 | #if 0 | 203 | #if 0 |
226 | case LAN_REPLY_FORM_MESSAGE_CONTEXT: | 204 | case LAN_REPLY_FORM_MESSAGE_CONTEXT: |
227 | // dioprintk((KERN_INFO MYNAM "/lan_reply: " | 205 | // dioprintk((KERN_INFO MYNAM "/lan_reply: " |
@@ -234,7 +212,7 @@ lan_reply (MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *reply) | |||
234 | // dioprintk((MYNAM "/lan_reply: " | 212 | // dioprintk((MYNAM "/lan_reply: " |
235 | // "calling mpt_lan_send_reply (turbo)\n")); | 213 | // "calling mpt_lan_send_reply (turbo)\n")); |
236 | 214 | ||
237 | // Potential BUG here? -sralston | 215 | // Potential BUG here? |
238 | // FreeReqFrame = mpt_lan_send_turbo(dev, tmsg); | 216 | // FreeReqFrame = mpt_lan_send_turbo(dev, tmsg); |
239 | // If/when mpt_lan_send_turbo would return 1 here, | 217 | // If/when mpt_lan_send_turbo would return 1 here, |
240 | // calling routine (mptbase.c|mpt_interrupt) | 218 | // calling routine (mptbase.c|mpt_interrupt) |
@@ -310,8 +288,7 @@ lan_reply (MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *reply) | |||
310 | 288 | ||
311 | case MPI_FUNCTION_EVENT_NOTIFICATION: | 289 | case MPI_FUNCTION_EVENT_NOTIFICATION: |
312 | case MPI_FUNCTION_EVENT_ACK: | 290 | case MPI_FUNCTION_EVENT_ACK: |
313 | /* UPDATE! 20010120 -sralston | 291 | /* _EVENT_NOTIFICATION should NOT come down this path any more. |
314 | * _EVENT_NOTIFICATION should NOT come down this path any more. | ||
315 | * Should be routed to mpt_lan_event_process(), but just in case... | 292 | * Should be routed to mpt_lan_event_process(), but just in case... |
316 | */ | 293 | */ |
317 | FreeReqFrame = 1; | 294 | FreeReqFrame = 1; |
@@ -561,8 +538,8 @@ mpt_lan_close(struct net_device *dev) | |||
561 | } | 538 | } |
562 | } | 539 | } |
563 | 540 | ||
564 | kfree (priv->RcvCtl); | 541 | kfree(priv->RcvCtl); |
565 | kfree (priv->mpt_rxfidx); | 542 | kfree(priv->mpt_rxfidx); |
566 | 543 | ||
567 | for (i = 0; i < priv->tx_max_out; i++) { | 544 | for (i = 0; i < priv->tx_max_out; i++) { |
568 | if (priv->SendCtl[i].skb != NULL) { | 545 | if (priv->SendCtl[i].skb != NULL) { |
diff --git a/drivers/message/fusion/mptlan.h b/drivers/message/fusion/mptlan.h index 057904260ab1..750e343eb981 100644 --- a/drivers/message/fusion/mptlan.h +++ b/drivers/message/fusion/mptlan.h | |||
@@ -1,3 +1,49 @@ | |||
1 | /* | ||
2 | * linux/drivers/message/fusion/mptlan.h | ||
3 | * IP Over Fibre Channel device driver. | ||
4 | * For use with LSI Logic Fibre Channel PCI chip/adapters | ||
5 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | ||
6 | * | ||
7 | * Copyright (c) 2000-2005 LSI Logic Corporation | ||
8 | * | ||
9 | */ | ||
10 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
11 | /* | ||
12 | This program is free software; you can redistribute it and/or modify | ||
13 | it under the terms of the GNU General Public License as published by | ||
14 | the Free Software Foundation; version 2 of the License. | ||
15 | |||
16 | This program is distributed in the hope that it will be useful, | ||
17 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
19 | GNU General Public License for more details. | ||
20 | |||
21 | NO WARRANTY | ||
22 | THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
23 | CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT | ||
24 | LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, | ||
25 | MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is | ||
26 | solely responsible for determining the appropriateness of using and | ||
27 | distributing the Program and assumes all risks associated with its | ||
28 | exercise of rights under this Agreement, including but not limited to | ||
29 | the risks and costs of program errors, damage to or loss of data, | ||
30 | programs or equipment, and unavailability or interruption of operations. | ||
31 | |||
32 | DISCLAIMER OF LIABILITY | ||
33 | NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY | ||
34 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
35 | DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND | ||
36 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | ||
37 | TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | ||
38 | USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED | ||
39 | HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES | ||
40 | |||
41 | You should have received a copy of the GNU General Public License | ||
42 | along with this program; if not, write to the Free Software | ||
43 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
44 | */ | ||
45 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
46 | |||
1 | /* mptlan.h */ | 47 | /* mptlan.h */ |
2 | 48 | ||
3 | #ifndef LINUX_MPTLAN_H_INCLUDED | 49 | #ifndef LINUX_MPTLAN_H_INCLUDED |
@@ -29,7 +75,7 @@ | |||
29 | #include <asm/io.h> | 75 | #include <asm/io.h> |
30 | 76 | ||
31 | /* Override mptbase.h by pre-defining these! */ | 77 | /* Override mptbase.h by pre-defining these! */ |
32 | #define MODULEAUTHOR "Noah Romer, Eddie C. Dost" | 78 | #define MODULEAUTHOR "LSI Logic Corporation" |
33 | 79 | ||
34 | #include "mptbase.h" | 80 | #include "mptbase.h" |
35 | 81 | ||
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c index 3a3ef127df04..48ff314cdfbf 100644 --- a/drivers/message/fusion/mptscsih.c +++ b/drivers/message/fusion/mptscsih.c | |||
@@ -1,32 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/message/fusion/mptscsih.c | 2 | * linux/drivers/message/fusion/mptscsih.c |
3 | * High performance SCSI / Fibre Channel SCSI Host device driver. | 3 | * For use with LSI Logic PCI chip/adapter(s) |
4 | * For use with PCI chip/adapter(s): | ||
5 | * LSIFC9xx/LSI409xx Fibre Channel | ||
6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 4 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
7 | * | 5 | * |
8 | * Credits: | 6 | * Copyright (c) 1999-2005 LSI Logic Corporation |
9 | * This driver would not exist if not for Alan Cox's development | ||
10 | * of the linux i2o driver. | ||
11 | * | ||
12 | * A special thanks to Pamela Delaney (LSI Logic) for tons of work | ||
13 | * and countless enhancements while adding support for the 1030 | ||
14 | * chip family. Pam has been instrumental in the development of | ||
15 | * of the 2.xx.xx series fusion drivers, and her contributions are | ||
16 | * far too numerous to hope to list in one place. | ||
17 | * | ||
18 | * A huge debt of gratitude is owed to David S. Miller (DaveM) | ||
19 | * for fixing much of the stupid and broken stuff in the early | ||
20 | * driver while porting to sparc64 platform. THANK YOU! | ||
21 | * | ||
22 | * (see mptbase.c) | ||
23 | * | ||
24 | * Copyright (c) 1999-2004 LSI Logic Corporation | ||
25 | * Original author: Steven J. Ralston | ||
26 | * (mailto:sjralston1@netscape.net) | ||
27 | * (mailto:mpt_linux_developer@lsil.com) | 7 | * (mailto:mpt_linux_developer@lsil.com) |
28 | * | 8 | * |
29 | * $Id: mptscsih.c,v 1.104 2002/12/03 21:26:34 pdelaney Exp $ | ||
30 | */ | 9 | */ |
31 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 10 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
32 | /* | 11 | /* |
@@ -96,27 +75,6 @@ MODULE_AUTHOR(MODULEAUTHOR); | |||
96 | MODULE_DESCRIPTION(my_NAME); | 75 | MODULE_DESCRIPTION(my_NAME); |
97 | MODULE_LICENSE("GPL"); | 76 | MODULE_LICENSE("GPL"); |
98 | 77 | ||
99 | /* Command line args */ | ||
100 | static int mpt_dv = MPTSCSIH_DOMAIN_VALIDATION; | ||
101 | MODULE_PARM(mpt_dv, "i"); | ||
102 | MODULE_PARM_DESC(mpt_dv, " DV Algorithm: enhanced=1, basic=0 (default=MPTSCSIH_DOMAIN_VALIDATION=1)"); | ||
103 | |||
104 | static int mpt_width = MPTSCSIH_MAX_WIDTH; | ||
105 | MODULE_PARM(mpt_width, "i"); | ||
106 | MODULE_PARM_DESC(mpt_width, " Max Bus Width: wide=1, narrow=0 (default=MPTSCSIH_MAX_WIDTH=1)"); | ||
107 | |||
108 | static int mpt_factor = MPTSCSIH_MIN_SYNC; | ||
109 | MODULE_PARM(mpt_factor, "h"); | ||
110 | MODULE_PARM_DESC(mpt_factor, " Min Sync Factor (default=MPTSCSIH_MIN_SYNC=0x08)"); | ||
111 | |||
112 | static int mpt_saf_te = MPTSCSIH_SAF_TE; | ||
113 | MODULE_PARM(mpt_saf_te, "i"); | ||
114 | MODULE_PARM_DESC(mpt_saf_te, " Force enabling SEP Processor: enable=1 (default=MPTSCSIH_SAF_TE=0)"); | ||
115 | |||
116 | static int mpt_pq_filter = 0; | ||
117 | MODULE_PARM(mpt_pq_filter, "i"); | ||
118 | MODULE_PARM_DESC(mpt_pq_filter, " Enable peripheral qualifier filter: enable=1 (default=0)"); | ||
119 | |||
120 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 78 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
121 | 79 | ||
122 | typedef struct _BIG_SENSE_BUF { | 80 | typedef struct _BIG_SENSE_BUF { |
@@ -169,18 +127,17 @@ typedef struct _dv_parameters { | |||
169 | u16 pad1; | 127 | u16 pad1; |
170 | } DVPARAMETERS; | 128 | } DVPARAMETERS; |
171 | 129 | ||
172 | |||
173 | /* | 130 | /* |
174 | * Other private/forward protos... | 131 | * Other private/forward protos... |
175 | */ | 132 | */ |
176 | static int mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); | 133 | int mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); |
177 | static void mptscsih_report_queue_full(struct scsi_cmnd *sc, SCSIIOReply_t *pScsiReply, SCSIIORequest_t *pScsiReq); | 134 | static void mptscsih_report_queue_full(struct scsi_cmnd *sc, SCSIIOReply_t *pScsiReply, SCSIIORequest_t *pScsiReq); |
178 | static int mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); | 135 | int mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); |
179 | 136 | ||
180 | static int mptscsih_AddSGE(MPT_ADAPTER *ioc, struct scsi_cmnd *SCpnt, | 137 | static int mptscsih_AddSGE(MPT_ADAPTER *ioc, struct scsi_cmnd *SCpnt, |
181 | SCSIIORequest_t *pReq, int req_idx); | 138 | SCSIIORequest_t *pReq, int req_idx); |
182 | static void mptscsih_freeChainBuffers(MPT_ADAPTER *ioc, int req_idx); | 139 | static void mptscsih_freeChainBuffers(MPT_ADAPTER *ioc, int req_idx); |
183 | static void copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SCSIIOReply_t *pScsiReply); | 140 | static void mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SCSIIOReply_t *pScsiReply); |
184 | static int mptscsih_tm_pending_wait(MPT_SCSI_HOST * hd); | 141 | static int mptscsih_tm_pending_wait(MPT_SCSI_HOST * hd); |
185 | static int mptscsih_tm_wait_for_completion(MPT_SCSI_HOST * hd, ulong timeout ); | 142 | static int mptscsih_tm_wait_for_completion(MPT_SCSI_HOST * hd, ulong timeout ); |
186 | static u32 SCPNT_TO_LOOKUP_IDX(struct scsi_cmnd *sc); | 143 | static u32 SCPNT_TO_LOOKUP_IDX(struct scsi_cmnd *sc); |
@@ -188,8 +145,8 @@ static u32 SCPNT_TO_LOOKUP_IDX(struct scsi_cmnd *sc); | |||
188 | static int mptscsih_TMHandler(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 target, u8 lun, int ctx2abort, ulong timeout); | 145 | static int mptscsih_TMHandler(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 target, u8 lun, int ctx2abort, ulong timeout); |
189 | static int mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 target, u8 lun, int ctx2abort, ulong timeout); | 146 | static int mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 target, u8 lun, int ctx2abort, ulong timeout); |
190 | 147 | ||
191 | static int mptscsih_ioc_reset(MPT_ADAPTER *ioc, int post_reset); | 148 | int mptscsih_ioc_reset(MPT_ADAPTER *ioc, int post_reset); |
192 | static int mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply); | 149 | int mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply); |
193 | 150 | ||
194 | static void mptscsih_initTarget(MPT_SCSI_HOST *hd, int bus_id, int target_id, u8 lun, char *data, int dlen); | 151 | static void mptscsih_initTarget(MPT_SCSI_HOST *hd, int bus_id, int target_id, u8 lun, char *data, int dlen); |
195 | static void mptscsih_setTargetNegoParms(MPT_SCSI_HOST *hd, VirtDevice *target, char byte56); | 152 | static void mptscsih_setTargetNegoParms(MPT_SCSI_HOST *hd, VirtDevice *target, char byte56); |
@@ -198,8 +155,7 @@ static void mptscsih_setDevicePage1Flags (u8 width, u8 factor, u8 offset, int *r | |||
198 | static void mptscsih_no_negotiate(MPT_SCSI_HOST *hd, int target_id); | 155 | static void mptscsih_no_negotiate(MPT_SCSI_HOST *hd, int target_id); |
199 | static int mptscsih_writeSDP1(MPT_SCSI_HOST *hd, int portnum, int target, int flags); | 156 | static int mptscsih_writeSDP1(MPT_SCSI_HOST *hd, int portnum, int target, int flags); |
200 | static int mptscsih_writeIOCPage4(MPT_SCSI_HOST *hd, int target_id, int bus); | 157 | static int mptscsih_writeIOCPage4(MPT_SCSI_HOST *hd, int target_id, int bus); |
201 | static int mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); | 158 | int mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); |
202 | static void mptscsih_timer_expired(unsigned long data); | ||
203 | static int mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *iocmd); | 159 | static int mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *iocmd); |
204 | static int mptscsih_synchronize_cache(MPT_SCSI_HOST *hd, int portnum); | 160 | static int mptscsih_synchronize_cache(MPT_SCSI_HOST *hd, int portnum); |
205 | 161 | ||
@@ -212,29 +168,14 @@ static int mptscsih_doDv(MPT_SCSI_HOST *hd, int channel, int target); | |||
212 | static void mptscsih_dv_parms(MPT_SCSI_HOST *hd, DVPARAMETERS *dv,void *pPage); | 168 | static void mptscsih_dv_parms(MPT_SCSI_HOST *hd, DVPARAMETERS *dv,void *pPage); |
213 | static void mptscsih_fillbuf(char *buffer, int size, int index, int width); | 169 | static void mptscsih_fillbuf(char *buffer, int size, int index, int width); |
214 | #endif | 170 | #endif |
215 | /* module entry point */ | ||
216 | static int __init mptscsih_init (void); | ||
217 | static void __exit mptscsih_exit (void); | ||
218 | 171 | ||
219 | static int mptscsih_probe (struct pci_dev *, const struct pci_device_id *); | 172 | void mptscsih_remove(struct pci_dev *); |
220 | static void mptscsih_remove(struct pci_dev *); | 173 | void mptscsih_shutdown(struct device *); |
221 | static void mptscsih_shutdown(struct device *); | ||
222 | #ifdef CONFIG_PM | 174 | #ifdef CONFIG_PM |
223 | static int mptscsih_suspend(struct pci_dev *pdev, pm_message_t state); | 175 | int mptscsih_suspend(struct pci_dev *pdev, pm_message_t state); |
224 | static int mptscsih_resume(struct pci_dev *pdev); | 176 | int mptscsih_resume(struct pci_dev *pdev); |
225 | #endif | 177 | #endif |
226 | 178 | ||
227 | |||
228 | /* | ||
229 | * Private data... | ||
230 | */ | ||
231 | |||
232 | static int mpt_scsi_hosts = 0; | ||
233 | |||
234 | static int ScsiDoneCtx = -1; | ||
235 | static int ScsiTaskCtx = -1; | ||
236 | static int ScsiScanDvCtx = -1; /* Used only for bus scan and dv */ | ||
237 | |||
238 | #define SNS_LEN(scp) sizeof((scp)->sense_buffer) | 179 | #define SNS_LEN(scp) sizeof((scp)->sense_buffer) |
239 | 180 | ||
240 | #ifdef MPTSCSIH_ENABLE_DOMAIN_VALIDATION | 181 | #ifdef MPTSCSIH_ENABLE_DOMAIN_VALIDATION |
@@ -244,20 +185,9 @@ static int ScsiScanDvCtx = -1; /* Used only for bus scan and dv */ | |||
244 | static DEFINE_SPINLOCK(dvtaskQ_lock); | 185 | static DEFINE_SPINLOCK(dvtaskQ_lock); |
245 | static int dvtaskQ_active = 0; | 186 | static int dvtaskQ_active = 0; |
246 | static int dvtaskQ_release = 0; | 187 | static int dvtaskQ_release = 0; |
247 | static struct work_struct mptscsih_dvTask; | 188 | static struct work_struct dvTaskQ_task; |
248 | #endif | 189 | #endif |
249 | 190 | ||
250 | /* | ||
251 | * Wait Queue setup | ||
252 | */ | ||
253 | static DECLARE_WAIT_QUEUE_HEAD (scandv_waitq); | ||
254 | static int scandv_wait_done = 1; | ||
255 | |||
256 | |||
257 | /* Driver command line structure | ||
258 | */ | ||
259 | static struct scsi_host_template driver_template; | ||
260 | |||
261 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 191 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
262 | /** | 192 | /** |
263 | * mptscsih_add_sge - Place a simple SGE at address pAddr. | 193 | * mptscsih_add_sge - Place a simple SGE at address pAddr. |
@@ -619,7 +549,7 @@ nextSGEset: | |||
619 | * | 549 | * |
620 | * Returns 1 indicating alloc'd request frame ptr should be freed. | 550 | * Returns 1 indicating alloc'd request frame ptr should be freed. |
621 | */ | 551 | */ |
622 | static int | 552 | int |
623 | mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) | 553 | mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) |
624 | { | 554 | { |
625 | struct scsi_cmnd *sc; | 555 | struct scsi_cmnd *sc; |
@@ -677,8 +607,8 @@ mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) | |||
677 | sc->request_bufflen, xfer_cnt)); | 607 | sc->request_bufflen, xfer_cnt)); |
678 | 608 | ||
679 | if (scsi_state & MPI_SCSI_STATE_AUTOSENSE_VALID) | 609 | if (scsi_state & MPI_SCSI_STATE_AUTOSENSE_VALID) |
680 | copy_sense_data(sc, hd, mf, pScsiReply); | 610 | mptscsih_copy_sense_data(sc, hd, mf, pScsiReply); |
681 | 611 | ||
682 | /* | 612 | /* |
683 | * Look for + dump FCP ResponseInfo[]! | 613 | * Look for + dump FCP ResponseInfo[]! |
684 | */ | 614 | */ |
@@ -740,7 +670,7 @@ mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) | |||
740 | } | 670 | } |
741 | dreplyprintk((KERN_NOTICE "RESIDUAL_MISMATCH: result=%x on id=%d\n", sc->result, sc->target)); | 671 | dreplyprintk((KERN_NOTICE "RESIDUAL_MISMATCH: result=%x on id=%d\n", sc->result, sc->target)); |
742 | break; | 672 | break; |
743 | 673 | ||
744 | case MPI_IOCSTATUS_SCSI_DATA_UNDERRUN: /* 0x0045 */ | 674 | case MPI_IOCSTATUS_SCSI_DATA_UNDERRUN: /* 0x0045 */ |
745 | /* | 675 | /* |
746 | * Do upfront check for valid SenseData and give it | 676 | * Do upfront check for valid SenseData and give it |
@@ -773,7 +703,7 @@ mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) | |||
773 | */ | 703 | */ |
774 | if (scsi_status == MPI_SCSI_STATUS_TASK_SET_FULL) | 704 | if (scsi_status == MPI_SCSI_STATUS_TASK_SET_FULL) |
775 | mptscsih_report_queue_full(sc, pScsiReply, pScsiReq); | 705 | mptscsih_report_queue_full(sc, pScsiReply, pScsiReq); |
776 | 706 | ||
777 | break; | 707 | break; |
778 | 708 | ||
779 | case MPI_IOCSTATUS_SCSI_RECOVERED_ERROR: /* 0x0040 */ | 709 | case MPI_IOCSTATUS_SCSI_RECOVERED_ERROR: /* 0x0040 */ |
@@ -905,18 +835,16 @@ mptscsih_flush_running_cmds(MPT_SCSI_HOST *hd) | |||
905 | * Do OS callback | 835 | * Do OS callback |
906 | * Free driver resources (chain, msg buffers) | 836 | * Free driver resources (chain, msg buffers) |
907 | */ | 837 | */ |
908 | if (scsi_device_online(SCpnt->device)) { | 838 | if (SCpnt->use_sg) { |
909 | if (SCpnt->use_sg) { | 839 | pci_unmap_sg(ioc->pcidev, |
910 | pci_unmap_sg(ioc->pcidev, | 840 | (struct scatterlist *) SCpnt->request_buffer, |
911 | (struct scatterlist *) SCpnt->request_buffer, | 841 | SCpnt->use_sg, |
912 | SCpnt->use_sg, | 842 | SCpnt->sc_data_direction); |
913 | SCpnt->sc_data_direction); | 843 | } else if (SCpnt->request_bufflen) { |
914 | } else if (SCpnt->request_bufflen) { | 844 | pci_unmap_single(ioc->pcidev, |
915 | pci_unmap_single(ioc->pcidev, | 845 | SCpnt->SCp.dma_handle, |
916 | SCpnt->SCp.dma_handle, | 846 | SCpnt->request_bufflen, |
917 | SCpnt->request_bufflen, | 847 | SCpnt->sc_data_direction); |
918 | SCpnt->sc_data_direction); | ||
919 | } | ||
920 | } | 848 | } |
921 | SCpnt->result = DID_RESET << 16; | 849 | SCpnt->result = DID_RESET << 16; |
922 | SCpnt->host_scribble = NULL; | 850 | SCpnt->host_scribble = NULL; |
@@ -981,11 +909,6 @@ mptscsih_search_running_cmds(MPT_SCSI_HOST *hd, uint target, uint lun) | |||
981 | } | 909 | } |
982 | 910 | ||
983 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 911 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
984 | /* | ||
985 | * Hack! It might be nice to report if a device is returning QUEUE_FULL | ||
986 | * but maybe not each and every time... | ||
987 | */ | ||
988 | static long last_queue_full = 0; | ||
989 | 912 | ||
990 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 913 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
991 | /* | 914 | /* |
@@ -1003,280 +926,20 @@ static void | |||
1003 | mptscsih_report_queue_full(struct scsi_cmnd *sc, SCSIIOReply_t *pScsiReply, SCSIIORequest_t *pScsiReq) | 926 | mptscsih_report_queue_full(struct scsi_cmnd *sc, SCSIIOReply_t *pScsiReply, SCSIIORequest_t *pScsiReq) |
1004 | { | 927 | { |
1005 | long time = jiffies; | 928 | long time = jiffies; |
1006 | |||
1007 | if (time - last_queue_full > 10 * HZ) { | ||
1008 | char *ioc_str = "ioc?"; | ||
1009 | |||
1010 | if (sc->device && sc->device->host != NULL && sc->device->host->hostdata != NULL) | ||
1011 | ioc_str = ((MPT_SCSI_HOST *)sc->device->host->hostdata)->ioc->name; | ||
1012 | dprintk((MYIOC_s_WARN_FMT "Device (%d:%d:%d) reported QUEUE_FULL!\n", | ||
1013 | ioc_str, 0, sc->device->id, sc->device->lun)); | ||
1014 | last_queue_full = time; | ||
1015 | } | ||
1016 | } | ||
1017 | |||
1018 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
1019 | static char *info_kbuf = NULL; | ||
1020 | |||
1021 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
1022 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
1023 | /* | ||
1024 | * mptscsih_probe - Installs scsi devices per bus. | ||
1025 | * @pdev: Pointer to pci_dev structure | ||
1026 | * | ||
1027 | * Returns 0 for success, non-zero for failure. | ||
1028 | * | ||
1029 | */ | ||
1030 | |||
1031 | static int | ||
1032 | mptscsih_probe(struct pci_dev *pdev, const struct pci_device_id *id) | ||
1033 | { | ||
1034 | struct Scsi_Host *sh; | ||
1035 | MPT_SCSI_HOST *hd; | 929 | MPT_SCSI_HOST *hd; |
1036 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); | ||
1037 | unsigned long flags; | ||
1038 | int sz, ii; | ||
1039 | int numSGE = 0; | ||
1040 | int scale; | ||
1041 | int ioc_cap; | ||
1042 | u8 *mem; | ||
1043 | int error=0; | ||
1044 | |||
1045 | |||
1046 | /* 20010202 -sralston | ||
1047 | * Added sanity check on readiness of the MPT adapter. | ||
1048 | */ | ||
1049 | if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) { | ||
1050 | printk(MYIOC_s_WARN_FMT | ||
1051 | "Skipping because it's not operational!\n", | ||
1052 | ioc->name); | ||
1053 | return -ENODEV; | ||
1054 | } | ||
1055 | |||
1056 | if (!ioc->active) { | ||
1057 | printk(MYIOC_s_WARN_FMT "Skipping because it's disabled!\n", | ||
1058 | ioc->name); | ||
1059 | return -ENODEV; | ||
1060 | } | ||
1061 | |||
1062 | /* Sanity check - ensure at least 1 port is INITIATOR capable | ||
1063 | */ | ||
1064 | ioc_cap = 0; | ||
1065 | for (ii=0; ii < ioc->facts.NumberOfPorts; ii++) { | ||
1066 | if (ioc->pfacts[ii].ProtocolFlags & | ||
1067 | MPI_PORTFACTS_PROTOCOL_INITIATOR) | ||
1068 | ioc_cap ++; | ||
1069 | } | ||
1070 | |||
1071 | if (!ioc_cap) { | ||
1072 | printk(MYIOC_s_WARN_FMT | ||
1073 | "Skipping ioc=%p because SCSI Initiator mode is NOT enabled!\n", | ||
1074 | ioc->name, ioc); | ||
1075 | return -ENODEV; | ||
1076 | } | ||
1077 | |||
1078 | sh = scsi_host_alloc(&driver_template, sizeof(MPT_SCSI_HOST)); | ||
1079 | |||
1080 | if (!sh) { | ||
1081 | printk(MYIOC_s_WARN_FMT | ||
1082 | "Unable to register controller with SCSI subsystem\n", | ||
1083 | ioc->name); | ||
1084 | return -1; | ||
1085 | } | ||
1086 | |||
1087 | spin_lock_irqsave(&ioc->FreeQlock, flags); | ||
1088 | |||
1089 | /* Attach the SCSI Host to the IOC structure | ||
1090 | */ | ||
1091 | ioc->sh = sh; | ||
1092 | |||
1093 | sh->io_port = 0; | ||
1094 | sh->n_io_port = 0; | ||
1095 | sh->irq = 0; | ||
1096 | |||
1097 | /* set 16 byte cdb's */ | ||
1098 | sh->max_cmd_len = 16; | ||
1099 | |||
1100 | /* Yikes! This is important! | ||
1101 | * Otherwise, by default, linux | ||
1102 | * only scans target IDs 0-7! | ||
1103 | * pfactsN->MaxDevices unreliable | ||
1104 | * (not supported in early | ||
1105 | * versions of the FW). | ||
1106 | * max_id = 1 + actual max id, | ||
1107 | * max_lun = 1 + actual last lun, | ||
1108 | * see hosts.h :o( | ||
1109 | */ | ||
1110 | if (ioc->bus_type == SCSI) { | ||
1111 | sh->max_id = MPT_MAX_SCSI_DEVICES; | ||
1112 | } else { | ||
1113 | /* For FC, increase the queue depth | ||
1114 | * from MPT_SCSI_CAN_QUEUE (31) | ||
1115 | * to MPT_FC_CAN_QUEUE (63). | ||
1116 | */ | ||
1117 | sh->can_queue = MPT_FC_CAN_QUEUE; | ||
1118 | sh->max_id = | ||
1119 | MPT_MAX_FC_DEVICES<256 ? MPT_MAX_FC_DEVICES : 255; | ||
1120 | } | ||
1121 | |||
1122 | sh->max_lun = MPT_LAST_LUN + 1; | ||
1123 | sh->max_channel = 0; | ||
1124 | sh->this_id = ioc->pfacts[0].PortSCSIID; | ||
1125 | |||
1126 | /* Required entry. | ||
1127 | */ | ||
1128 | sh->unique_id = ioc->id; | ||
1129 | |||
1130 | /* Verify that we won't exceed the maximum | ||
1131 | * number of chain buffers | ||
1132 | * We can optimize: ZZ = req_sz/sizeof(SGE) | ||
1133 | * For 32bit SGE's: | ||
1134 | * numSGE = 1 + (ZZ-1)*(maxChain -1) + ZZ | ||
1135 | * + (req_sz - 64)/sizeof(SGE) | ||
1136 | * A slightly different algorithm is required for | ||
1137 | * 64bit SGEs. | ||
1138 | */ | ||
1139 | scale = ioc->req_sz/(sizeof(dma_addr_t) + sizeof(u32)); | ||
1140 | if (sizeof(dma_addr_t) == sizeof(u64)) { | ||
1141 | numSGE = (scale - 1) * | ||
1142 | (ioc->facts.MaxChainDepth-1) + scale + | ||
1143 | (ioc->req_sz - 60) / (sizeof(dma_addr_t) + | ||
1144 | sizeof(u32)); | ||
1145 | } else { | ||
1146 | numSGE = 1 + (scale - 1) * | ||
1147 | (ioc->facts.MaxChainDepth-1) + scale + | ||
1148 | (ioc->req_sz - 64) / (sizeof(dma_addr_t) + | ||
1149 | sizeof(u32)); | ||
1150 | } | ||
1151 | |||
1152 | if (numSGE < sh->sg_tablesize) { | ||
1153 | /* Reset this value */ | ||
1154 | dprintk((MYIOC_s_INFO_FMT | ||
1155 | "Resetting sg_tablesize to %d from %d\n", | ||
1156 | ioc->name, numSGE, sh->sg_tablesize)); | ||
1157 | sh->sg_tablesize = numSGE; | ||
1158 | } | ||
1159 | |||
1160 | /* Set the pci device pointer in Scsi_Host structure. | ||
1161 | */ | ||
1162 | scsi_set_device(sh, &ioc->pcidev->dev); | ||
1163 | |||
1164 | spin_unlock_irqrestore(&ioc->FreeQlock, flags); | ||
1165 | |||
1166 | hd = (MPT_SCSI_HOST *) sh->hostdata; | ||
1167 | hd->ioc = ioc; | ||
1168 | |||
1169 | /* SCSI needs scsi_cmnd lookup table! | ||
1170 | * (with size equal to req_depth*PtrSz!) | ||
1171 | */ | ||
1172 | sz = ioc->req_depth * sizeof(void *); | ||
1173 | mem = kmalloc(sz, GFP_ATOMIC); | ||
1174 | if (mem == NULL) { | ||
1175 | error = -ENOMEM; | ||
1176 | goto mptscsih_probe_failed; | ||
1177 | } | ||
1178 | |||
1179 | memset(mem, 0, sz); | ||
1180 | hd->ScsiLookup = (struct scsi_cmnd **) mem; | ||
1181 | |||
1182 | dprintk((MYIOC_s_INFO_FMT "ScsiLookup @ %p, sz=%d\n", | ||
1183 | ioc->name, hd->ScsiLookup, sz)); | ||
1184 | |||
1185 | /* Allocate memory for the device structures. | ||
1186 | * A non-Null pointer at an offset | ||
1187 | * indicates a device exists. | ||
1188 | * max_id = 1 + maximum id (hosts.h) | ||
1189 | */ | ||
1190 | sz = sh->max_id * sizeof(void *); | ||
1191 | mem = kmalloc(sz, GFP_ATOMIC); | ||
1192 | if (mem == NULL) { | ||
1193 | error = -ENOMEM; | ||
1194 | goto mptscsih_probe_failed; | ||
1195 | } | ||
1196 | |||
1197 | memset(mem, 0, sz); | ||
1198 | hd->Targets = (VirtDevice **) mem; | ||
1199 | |||
1200 | dprintk((KERN_INFO | ||
1201 | " Targets @ %p, sz=%d\n", hd->Targets, sz)); | ||
1202 | |||
1203 | /* Clear the TM flags | ||
1204 | */ | ||
1205 | hd->tmPending = 0; | ||
1206 | hd->tmState = TM_STATE_NONE; | ||
1207 | hd->resetPending = 0; | ||
1208 | hd->abortSCpnt = NULL; | ||
1209 | |||
1210 | /* Clear the pointer used to store | ||
1211 | * single-threaded commands, i.e., those | ||
1212 | * issued during a bus scan, dv and | ||
1213 | * configuration pages. | ||
1214 | */ | ||
1215 | hd->cmdPtr = NULL; | ||
1216 | 930 | ||
1217 | /* Initialize this SCSI Hosts' timers | 931 | if (sc->device == NULL) |
1218 | * To use, set the timer expires field | 932 | return; |
1219 | * and add_timer | 933 | if (sc->device->host == NULL) |
1220 | */ | 934 | return; |
1221 | init_timer(&hd->timer); | 935 | if ((hd = (MPT_SCSI_HOST *)sc->device->host->hostdata) == NULL) |
1222 | hd->timer.data = (unsigned long) hd; | 936 | return; |
1223 | hd->timer.function = mptscsih_timer_expired; | ||
1224 | |||
1225 | if (ioc->bus_type == SCSI) { | ||
1226 | /* Update with the driver setup | ||
1227 | * values. | ||
1228 | */ | ||
1229 | if (ioc->spi_data.maxBusWidth > mpt_width) | ||
1230 | ioc->spi_data.maxBusWidth = mpt_width; | ||
1231 | if (ioc->spi_data.minSyncFactor < mpt_factor) | ||
1232 | ioc->spi_data.minSyncFactor = mpt_factor; | ||
1233 | |||
1234 | if (ioc->spi_data.minSyncFactor == MPT_ASYNC) { | ||
1235 | ioc->spi_data.maxSyncOffset = 0; | ||
1236 | } | ||
1237 | |||
1238 | ioc->spi_data.Saf_Te = mpt_saf_te; | ||
1239 | |||
1240 | hd->negoNvram = 0; | ||
1241 | #ifndef MPTSCSIH_ENABLE_DOMAIN_VALIDATION | ||
1242 | hd->negoNvram = MPT_SCSICFG_USE_NVRAM; | ||
1243 | #endif | ||
1244 | ioc->spi_data.forceDv = 0; | ||
1245 | ioc->spi_data.noQas = 0; | ||
1246 | for (ii=0; ii < MPT_MAX_SCSI_DEVICES; ii++) { | ||
1247 | ioc->spi_data.dvStatus[ii] = | ||
1248 | MPT_SCSICFG_NEGOTIATE; | ||
1249 | } | ||
1250 | |||
1251 | for (ii=0; ii < MPT_MAX_SCSI_DEVICES; ii++) | ||
1252 | ioc->spi_data.dvStatus[ii] |= | ||
1253 | MPT_SCSICFG_DV_NOT_DONE; | ||
1254 | |||
1255 | dinitprintk((MYIOC_s_INFO_FMT | ||
1256 | "dv %x width %x factor %x saf_te %x\n", | ||
1257 | ioc->name, mpt_dv, | ||
1258 | mpt_width, | ||
1259 | mpt_factor, | ||
1260 | mpt_saf_te)); | ||
1261 | } | ||
1262 | |||
1263 | mpt_scsi_hosts++; | ||
1264 | 937 | ||
1265 | error = scsi_add_host (sh, &ioc->pcidev->dev); | 938 | if (time - hd->last_queue_full > 10 * HZ) { |
1266 | if(error) { | 939 | dprintk((MYIOC_s_WARN_FMT "Device (%d:%d:%d) reported QUEUE_FULL!\n", |
1267 | dprintk((KERN_ERR MYNAM | 940 | hd->ioc->name, 0, sc->device->id, sc->device->lun)); |
1268 | "scsi_add_host failed\n")); | 941 | hd->last_queue_full = time; |
1269 | goto mptscsih_probe_failed; | ||
1270 | } | 942 | } |
1271 | |||
1272 | scsi_scan_host(sh); | ||
1273 | return 0; | ||
1274 | |||
1275 | mptscsih_probe_failed: | ||
1276 | |||
1277 | mptscsih_remove(pdev); | ||
1278 | return error; | ||
1279 | |||
1280 | } | 943 | } |
1281 | 944 | ||
1282 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 945 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
@@ -1286,7 +949,7 @@ mptscsih_probe_failed: | |||
1286 | * | 949 | * |
1287 | * | 950 | * |
1288 | */ | 951 | */ |
1289 | static void | 952 | void |
1290 | mptscsih_remove(struct pci_dev *pdev) | 953 | mptscsih_remove(struct pci_dev *pdev) |
1291 | { | 954 | { |
1292 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); | 955 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); |
@@ -1294,12 +957,16 @@ mptscsih_remove(struct pci_dev *pdev) | |||
1294 | MPT_SCSI_HOST *hd; | 957 | MPT_SCSI_HOST *hd; |
1295 | int count; | 958 | int count; |
1296 | unsigned long flags; | 959 | unsigned long flags; |
960 | int sz1; | ||
1297 | 961 | ||
1298 | if(!host) | 962 | if(!host) |
1299 | return; | 963 | return; |
1300 | 964 | ||
1301 | scsi_remove_host(host); | 965 | scsi_remove_host(host); |
1302 | 966 | ||
967 | if((hd = (MPT_SCSI_HOST *)host->hostdata) == NULL) | ||
968 | return; | ||
969 | |||
1303 | #ifdef MPTSCSIH_ENABLE_DOMAIN_VALIDATION | 970 | #ifdef MPTSCSIH_ENABLE_DOMAIN_VALIDATION |
1304 | /* Check DV thread active */ | 971 | /* Check DV thread active */ |
1305 | count = 10 * HZ; | 972 | count = 10 * HZ; |
@@ -1321,40 +988,36 @@ mptscsih_remove(struct pci_dev *pdev) | |||
1321 | #endif | 988 | #endif |
1322 | #endif | 989 | #endif |
1323 | 990 | ||
1324 | hd = (MPT_SCSI_HOST *)host->hostdata; | 991 | mptscsih_shutdown(&pdev->dev); |
1325 | if (hd != NULL) { | ||
1326 | int sz1; | ||
1327 | 992 | ||
1328 | mptscsih_shutdown(&pdev->dev); | 993 | sz1=0; |
1329 | 994 | ||
1330 | sz1=0; | 995 | if (hd->ScsiLookup != NULL) { |
996 | sz1 = hd->ioc->req_depth * sizeof(void *); | ||
997 | kfree(hd->ScsiLookup); | ||
998 | hd->ScsiLookup = NULL; | ||
999 | } | ||
1331 | 1000 | ||
1332 | if (hd->ScsiLookup != NULL) { | 1001 | /* |
1333 | sz1 = hd->ioc->req_depth * sizeof(void *); | 1002 | * Free pointer array. |
1334 | kfree(hd->ScsiLookup); | 1003 | */ |
1335 | hd->ScsiLookup = NULL; | 1004 | kfree(hd->Targets); |
1336 | } | 1005 | hd->Targets = NULL; |
1337 | 1006 | ||
1338 | if (hd->Targets != NULL) { | 1007 | dprintk((MYIOC_s_INFO_FMT |
1339 | /* | 1008 | "Free'd ScsiLookup (%d) memory\n", |
1340 | * Free pointer array. | 1009 | hd->ioc->name, sz1)); |
1341 | */ | ||
1342 | kfree(hd->Targets); | ||
1343 | hd->Targets = NULL; | ||
1344 | } | ||
1345 | 1010 | ||
1346 | dprintk((MYIOC_s_INFO_FMT | 1011 | kfree(hd->info_kbuf); |
1347 | "Free'd ScsiLookup (%d) memory\n", | ||
1348 | hd->ioc->name, sz1)); | ||
1349 | 1012 | ||
1350 | /* NULL the Scsi_Host pointer | 1013 | /* NULL the Scsi_Host pointer |
1351 | */ | 1014 | */ |
1352 | hd->ioc->sh = NULL; | 1015 | hd->ioc->sh = NULL; |
1353 | } | ||
1354 | 1016 | ||
1355 | scsi_host_put(host); | 1017 | scsi_host_put(host); |
1356 | mpt_scsi_hosts--; | ||
1357 | 1018 | ||
1019 | mpt_detach(pdev); | ||
1020 | |||
1358 | } | 1021 | } |
1359 | 1022 | ||
1360 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1023 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
@@ -1362,7 +1025,7 @@ mptscsih_remove(struct pci_dev *pdev) | |||
1362 | * mptscsih_shutdown - reboot notifier | 1025 | * mptscsih_shutdown - reboot notifier |
1363 | * | 1026 | * |
1364 | */ | 1027 | */ |
1365 | static void | 1028 | void |
1366 | mptscsih_shutdown(struct device * dev) | 1029 | mptscsih_shutdown(struct device * dev) |
1367 | { | 1030 | { |
1368 | MPT_ADAPTER *ioc = pci_get_drvdata(to_pci_dev(dev)); | 1031 | MPT_ADAPTER *ioc = pci_get_drvdata(to_pci_dev(dev)); |
@@ -1384,15 +1047,15 @@ mptscsih_shutdown(struct device * dev) | |||
1384 | #ifdef CONFIG_PM | 1047 | #ifdef CONFIG_PM |
1385 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1048 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
1386 | /* | 1049 | /* |
1387 | * mptscsih_suspend - Fusion MPT scsie driver suspend routine. | 1050 | * mptscsih_suspend - Fusion MPT scsi driver suspend routine. |
1388 | * | 1051 | * |
1389 | * | 1052 | * |
1390 | */ | 1053 | */ |
1391 | static int | 1054 | int |
1392 | mptscsih_suspend(struct pci_dev *pdev, pm_message_t state) | 1055 | mptscsih_suspend(struct pci_dev *pdev, pm_message_t state) |
1393 | { | 1056 | { |
1394 | mptscsih_shutdown(&pdev->dev); | 1057 | mptscsih_shutdown(&pdev->dev); |
1395 | return 0; | 1058 | return mpt_suspend(pdev,state); |
1396 | } | 1059 | } |
1397 | 1060 | ||
1398 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1061 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
@@ -1401,13 +1064,15 @@ mptscsih_suspend(struct pci_dev *pdev, pm_message_t state) | |||
1401 | * | 1064 | * |
1402 | * | 1065 | * |
1403 | */ | 1066 | */ |
1404 | static int | 1067 | int |
1405 | mptscsih_resume(struct pci_dev *pdev) | 1068 | mptscsih_resume(struct pci_dev *pdev) |
1406 | { | 1069 | { |
1407 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); | 1070 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); |
1408 | struct Scsi_Host *host = ioc->sh; | 1071 | struct Scsi_Host *host = ioc->sh; |
1409 | MPT_SCSI_HOST *hd; | 1072 | MPT_SCSI_HOST *hd; |
1410 | 1073 | ||
1074 | mpt_resume(pdev); | ||
1075 | |||
1411 | if(!host) | 1076 | if(!host) |
1412 | return 0; | 1077 | return 0; |
1413 | 1078 | ||
@@ -1422,9 +1087,9 @@ mptscsih_resume(struct pci_dev *pdev) | |||
1422 | if (!dvtaskQ_active) { | 1087 | if (!dvtaskQ_active) { |
1423 | dvtaskQ_active = 1; | 1088 | dvtaskQ_active = 1; |
1424 | spin_unlock_irqrestore(&dvtaskQ_lock, lflags); | 1089 | spin_unlock_irqrestore(&dvtaskQ_lock, lflags); |
1425 | INIT_WORK(&mptscsih_dvTask, | 1090 | INIT_WORK(&dvTaskQ_task, |
1426 | mptscsih_domainValidation, (void *) hd); | 1091 | mptscsih_domainValidation, (void *) hd); |
1427 | schedule_work(&mptscsih_dvTask); | 1092 | schedule_work(&dvTaskQ_task); |
1428 | } else { | 1093 | } else { |
1429 | spin_unlock_irqrestore(&dvtaskQ_lock, lflags); | 1094 | spin_unlock_irqrestore(&dvtaskQ_lock, lflags); |
1430 | } | 1095 | } |
@@ -1435,82 +1100,6 @@ mptscsih_resume(struct pci_dev *pdev) | |||
1435 | 1100 | ||
1436 | #endif | 1101 | #endif |
1437 | 1102 | ||
1438 | static struct mpt_pci_driver mptscsih_driver = { | ||
1439 | .probe = mptscsih_probe, | ||
1440 | .remove = mptscsih_remove, | ||
1441 | .shutdown = mptscsih_shutdown, | ||
1442 | #ifdef CONFIG_PM | ||
1443 | .suspend = mptscsih_suspend, | ||
1444 | .resume = mptscsih_resume, | ||
1445 | #endif | ||
1446 | }; | ||
1447 | |||
1448 | /* SCSI host fops start here... */ | ||
1449 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
1450 | /** | ||
1451 | * mptscsih_init - Register MPT adapter(s) as SCSI host(s) with | ||
1452 | * linux scsi mid-layer. | ||
1453 | * | ||
1454 | * Returns 0 for success, non-zero for failure. | ||
1455 | */ | ||
1456 | static int __init | ||
1457 | mptscsih_init(void) | ||
1458 | { | ||
1459 | |||
1460 | show_mptmod_ver(my_NAME, my_VERSION); | ||
1461 | |||
1462 | ScsiDoneCtx = mpt_register(mptscsih_io_done, MPTSCSIH_DRIVER); | ||
1463 | ScsiTaskCtx = mpt_register(mptscsih_taskmgmt_complete, MPTSCSIH_DRIVER); | ||
1464 | ScsiScanDvCtx = mpt_register(mptscsih_scandv_complete, MPTSCSIH_DRIVER); | ||
1465 | |||
1466 | if (mpt_event_register(ScsiDoneCtx, mptscsih_event_process) == 0) { | ||
1467 | devtprintk((KERN_INFO MYNAM | ||
1468 | ": Registered for IOC event notifications\n")); | ||
1469 | } | ||
1470 | |||
1471 | if (mpt_reset_register(ScsiDoneCtx, mptscsih_ioc_reset) == 0) { | ||
1472 | dprintk((KERN_INFO MYNAM | ||
1473 | ": Registered for IOC reset notifications\n")); | ||
1474 | } | ||
1475 | |||
1476 | if(mpt_device_driver_register(&mptscsih_driver, | ||
1477 | MPTSCSIH_DRIVER) != 0 ) { | ||
1478 | dprintk((KERN_INFO MYNAM | ||
1479 | ": failed to register dd callbacks\n")); | ||
1480 | } | ||
1481 | |||
1482 | return 0; | ||
1483 | |||
1484 | } | ||
1485 | |||
1486 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
1487 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
1488 | /** | ||
1489 | * mptscsih_exit - Unregisters MPT adapter(s) | ||
1490 | * | ||
1491 | */ | ||
1492 | static void __exit | ||
1493 | mptscsih_exit(void) | ||
1494 | { | ||
1495 | mpt_device_driver_deregister(MPTSCSIH_DRIVER); | ||
1496 | |||
1497 | mpt_reset_deregister(ScsiDoneCtx); | ||
1498 | dprintk((KERN_INFO MYNAM | ||
1499 | ": Deregistered for IOC reset notifications\n")); | ||
1500 | |||
1501 | mpt_event_deregister(ScsiDoneCtx); | ||
1502 | dprintk((KERN_INFO MYNAM | ||
1503 | ": Deregistered for IOC event notifications\n")); | ||
1504 | |||
1505 | mpt_deregister(ScsiScanDvCtx); | ||
1506 | mpt_deregister(ScsiTaskCtx); | ||
1507 | mpt_deregister(ScsiDoneCtx); | ||
1508 | |||
1509 | if (info_kbuf != NULL) | ||
1510 | kfree(info_kbuf); | ||
1511 | |||
1512 | } | ||
1513 | |||
1514 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1103 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
1515 | /** | 1104 | /** |
1516 | * mptscsih_info - Return information about MPT adapter | 1105 | * mptscsih_info - Return information about MPT adapter |
@@ -1520,24 +1109,25 @@ mptscsih_exit(void) | |||
1520 | * | 1109 | * |
1521 | * Returns pointer to buffer where information was written. | 1110 | * Returns pointer to buffer where information was written. |
1522 | */ | 1111 | */ |
1523 | static const char * | 1112 | const char * |
1524 | mptscsih_info(struct Scsi_Host *SChost) | 1113 | mptscsih_info(struct Scsi_Host *SChost) |
1525 | { | 1114 | { |
1526 | MPT_SCSI_HOST *h; | 1115 | MPT_SCSI_HOST *h; |
1527 | int size = 0; | 1116 | int size = 0; |
1528 | 1117 | ||
1529 | if (info_kbuf == NULL) | ||
1530 | if ((info_kbuf = kmalloc(0x1000 /* 4Kb */, GFP_KERNEL)) == NULL) | ||
1531 | return info_kbuf; | ||
1532 | |||
1533 | h = (MPT_SCSI_HOST *)SChost->hostdata; | 1118 | h = (MPT_SCSI_HOST *)SChost->hostdata; |
1534 | info_kbuf[0] = '\0'; | 1119 | |
1535 | if (h) { | 1120 | if (h) { |
1536 | mpt_print_ioc_summary(h->ioc, info_kbuf, &size, 0, 0); | 1121 | if (h->info_kbuf == NULL) |
1537 | info_kbuf[size-1] = '\0'; | 1122 | if ((h->info_kbuf = kmalloc(0x1000 /* 4Kb */, GFP_KERNEL)) == NULL) |
1123 | return h->info_kbuf; | ||
1124 | h->info_kbuf[0] = '\0'; | ||
1125 | |||
1126 | mpt_print_ioc_summary(h->ioc, h->info_kbuf, &size, 0, 0); | ||
1127 | h->info_kbuf[size-1] = '\0'; | ||
1538 | } | 1128 | } |
1539 | 1129 | ||
1540 | return info_kbuf; | 1130 | return h->info_kbuf; |
1541 | } | 1131 | } |
1542 | 1132 | ||
1543 | struct info_str { | 1133 | struct info_str { |
@@ -1547,7 +1137,8 @@ struct info_str { | |||
1547 | int pos; | 1137 | int pos; |
1548 | }; | 1138 | }; |
1549 | 1139 | ||
1550 | static void copy_mem_info(struct info_str *info, char *data, int len) | 1140 | static void |
1141 | mptscsih_copy_mem_info(struct info_str *info, char *data, int len) | ||
1551 | { | 1142 | { |
1552 | if (info->pos + len > info->length) | 1143 | if (info->pos + len > info->length) |
1553 | len = info->length - info->pos; | 1144 | len = info->length - info->pos; |
@@ -1568,7 +1159,8 @@ static void copy_mem_info(struct info_str *info, char *data, int len) | |||
1568 | } | 1159 | } |
1569 | } | 1160 | } |
1570 | 1161 | ||
1571 | static int copy_info(struct info_str *info, char *fmt, ...) | 1162 | static int |
1163 | mptscsih_copy_info(struct info_str *info, char *fmt, ...) | ||
1572 | { | 1164 | { |
1573 | va_list args; | 1165 | va_list args; |
1574 | char buf[81]; | 1166 | char buf[81]; |
@@ -1578,11 +1170,12 @@ static int copy_info(struct info_str *info, char *fmt, ...) | |||
1578 | len = vsprintf(buf, fmt, args); | 1170 | len = vsprintf(buf, fmt, args); |
1579 | va_end(args); | 1171 | va_end(args); |
1580 | 1172 | ||
1581 | copy_mem_info(info, buf, len); | 1173 | mptscsih_copy_mem_info(info, buf, len); |
1582 | return len; | 1174 | return len; |
1583 | } | 1175 | } |
1584 | 1176 | ||
1585 | static int mptscsih_host_info(MPT_ADAPTER *ioc, char *pbuf, off_t offset, int len) | 1177 | static int |
1178 | mptscsih_host_info(MPT_ADAPTER *ioc, char *pbuf, off_t offset, int len) | ||
1586 | { | 1179 | { |
1587 | struct info_str info; | 1180 | struct info_str info; |
1588 | 1181 | ||
@@ -1591,10 +1184,10 @@ static int mptscsih_host_info(MPT_ADAPTER *ioc, char *pbuf, off_t offset, int le | |||
1591 | info.offset = offset; | 1184 | info.offset = offset; |
1592 | info.pos = 0; | 1185 | info.pos = 0; |
1593 | 1186 | ||
1594 | copy_info(&info, "%s: %s, ", ioc->name, ioc->prod_name); | 1187 | mptscsih_copy_info(&info, "%s: %s, ", ioc->name, ioc->prod_name); |
1595 | copy_info(&info, "%s%08xh, ", MPT_FW_REV_MAGIC_ID_STRING, ioc->facts.FWVersion.Word); | 1188 | mptscsih_copy_info(&info, "%s%08xh, ", MPT_FW_REV_MAGIC_ID_STRING, ioc->facts.FWVersion.Word); |
1596 | copy_info(&info, "Ports=%d, ", ioc->facts.NumberOfPorts); | 1189 | mptscsih_copy_info(&info, "Ports=%d, ", ioc->facts.NumberOfPorts); |
1597 | copy_info(&info, "MaxQ=%d\n", ioc->req_depth); | 1190 | mptscsih_copy_info(&info, "MaxQ=%d\n", ioc->req_depth); |
1598 | 1191 | ||
1599 | return ((info.pos > info.offset) ? info.pos - info.offset : 0); | 1192 | return ((info.pos > info.offset) ? info.pos - info.offset : 0); |
1600 | } | 1193 | } |
@@ -1612,7 +1205,7 @@ static int mptscsih_host_info(MPT_ADAPTER *ioc, char *pbuf, off_t offset, int le | |||
1612 | * hostno: scsi host number | 1205 | * hostno: scsi host number |
1613 | * func: if write = 1; if read = 0 | 1206 | * func: if write = 1; if read = 0 |
1614 | */ | 1207 | */ |
1615 | static int | 1208 | int |
1616 | mptscsih_proc_info(struct Scsi_Host *host, char *buffer, char **start, off_t offset, | 1209 | mptscsih_proc_info(struct Scsi_Host *host, char *buffer, char **start, off_t offset, |
1617 | int length, int func) | 1210 | int length, int func) |
1618 | { | 1211 | { |
@@ -1649,7 +1242,7 @@ mptscsih_proc_info(struct Scsi_Host *host, char *buffer, char **start, off_t off | |||
1649 | * | 1242 | * |
1650 | * Returns 0. (rtn value discarded by linux scsi mid-layer) | 1243 | * Returns 0. (rtn value discarded by linux scsi mid-layer) |
1651 | */ | 1244 | */ |
1652 | static int | 1245 | int |
1653 | mptscsih_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) | 1246 | mptscsih_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) |
1654 | { | 1247 | { |
1655 | MPT_SCSI_HOST *hd; | 1248 | MPT_SCSI_HOST *hd; |
@@ -1684,7 +1277,7 @@ mptscsih_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) | |||
1684 | /* | 1277 | /* |
1685 | * Put together a MPT SCSI request... | 1278 | * Put together a MPT SCSI request... |
1686 | */ | 1279 | */ |
1687 | if ((mf = mpt_get_msg_frame(ScsiDoneCtx, hd->ioc)) == NULL) { | 1280 | if ((mf = mpt_get_msg_frame(hd->ioc->DoneCtx, hd->ioc)) == NULL) { |
1688 | dprintk((MYIOC_s_WARN_FMT "QueueCmd, no msg frames!!\n", | 1281 | dprintk((MYIOC_s_WARN_FMT "QueueCmd, no msg frames!!\n", |
1689 | hd->ioc->name)); | 1282 | hd->ioc->name)); |
1690 | return SCSI_MLQUEUE_HOST_BUSY; | 1283 | return SCSI_MLQUEUE_HOST_BUSY; |
@@ -1696,8 +1289,7 @@ mptscsih_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) | |||
1696 | 1289 | ||
1697 | ADD_INDEX_LOG(my_idx); | 1290 | ADD_INDEX_LOG(my_idx); |
1698 | 1291 | ||
1699 | /* BUG FIX! 19991030 -sralston | 1292 | /* TUR's being issued with scsictl=0x02000000 (DATA_IN)! |
1700 | * TUR's being issued with scsictl=0x02000000 (DATA_IN)! | ||
1701 | * Seems we may receive a buffer (datalen>0) even when there | 1293 | * Seems we may receive a buffer (datalen>0) even when there |
1702 | * will be no data transfer! GRRRRR... | 1294 | * will be no data transfer! GRRRRR... |
1703 | */ | 1295 | */ |
@@ -1791,9 +1383,9 @@ mptscsih_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) | |||
1791 | if (!dvtaskQ_active) { | 1383 | if (!dvtaskQ_active) { |
1792 | dvtaskQ_active = 1; | 1384 | dvtaskQ_active = 1; |
1793 | spin_unlock_irqrestore(&dvtaskQ_lock, lflags); | 1385 | spin_unlock_irqrestore(&dvtaskQ_lock, lflags); |
1794 | INIT_WORK(&mptscsih_dvTask, mptscsih_domainValidation, (void *) hd); | 1386 | INIT_WORK(&dvTaskQ_task, mptscsih_domainValidation, (void *) hd); |
1795 | 1387 | ||
1796 | schedule_work(&mptscsih_dvTask); | 1388 | schedule_work(&dvTaskQ_task); |
1797 | } else { | 1389 | } else { |
1798 | spin_unlock_irqrestore(&dvtaskQ_lock, lflags); | 1390 | spin_unlock_irqrestore(&dvtaskQ_lock, lflags); |
1799 | } | 1391 | } |
@@ -1819,7 +1411,7 @@ mptscsih_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) | |||
1819 | } | 1411 | } |
1820 | #endif | 1412 | #endif |
1821 | 1413 | ||
1822 | mpt_put_msg_frame(ScsiDoneCtx, hd->ioc, mf); | 1414 | mpt_put_msg_frame(hd->ioc->DoneCtx, hd->ioc, mf); |
1823 | dmfprintk((MYIOC_s_INFO_FMT "Issued SCSI cmd (%p) mf=%p idx=%d\n", | 1415 | dmfprintk((MYIOC_s_INFO_FMT "Issued SCSI cmd (%p) mf=%p idx=%d\n", |
1824 | hd->ioc->name, SCpnt, mf, my_idx)); | 1416 | hd->ioc->name, SCpnt, mf, my_idx)); |
1825 | DBG_DUMP_REQUEST_FRAME(mf) | 1417 | DBG_DUMP_REQUEST_FRAME(mf) |
@@ -2036,7 +1628,7 @@ mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 target, u8 lun | |||
2036 | 1628 | ||
2037 | /* Return Fail to calling function if no message frames available. | 1629 | /* Return Fail to calling function if no message frames available. |
2038 | */ | 1630 | */ |
2039 | if ((mf = mpt_get_msg_frame(ScsiTaskCtx, hd->ioc)) == NULL) { | 1631 | if ((mf = mpt_get_msg_frame(hd->ioc->TaskCtx, hd->ioc)) == NULL) { |
2040 | dfailprintk((MYIOC_s_ERR_FMT "IssueTaskMgmt, no msg frames!!\n", | 1632 | dfailprintk((MYIOC_s_ERR_FMT "IssueTaskMgmt, no msg frames!!\n", |
2041 | hd->ioc->name)); | 1633 | hd->ioc->name)); |
2042 | //return FAILED; | 1634 | //return FAILED; |
@@ -2075,7 +1667,7 @@ mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 target, u8 lun | |||
2075 | 1667 | ||
2076 | DBG_DUMP_TM_REQUEST_FRAME((u32 *)pScsiTm); | 1668 | DBG_DUMP_TM_REQUEST_FRAME((u32 *)pScsiTm); |
2077 | 1669 | ||
2078 | if ((retval = mpt_send_handshake_request(ScsiTaskCtx, hd->ioc, | 1670 | if ((retval = mpt_send_handshake_request(hd->ioc->TaskCtx, hd->ioc, |
2079 | sizeof(SCSITaskMgmt_t), (u32*)pScsiTm, | 1671 | sizeof(SCSITaskMgmt_t), (u32*)pScsiTm, |
2080 | CAN_SLEEP)) != 0) { | 1672 | CAN_SLEEP)) != 0) { |
2081 | dfailprintk((MYIOC_s_ERR_FMT "_send_handshake FAILED!" | 1673 | dfailprintk((MYIOC_s_ERR_FMT "_send_handshake FAILED!" |
@@ -2107,7 +1699,7 @@ mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 target, u8 lun | |||
2107 | * | 1699 | * |
2108 | * Returns SUCCESS or FAILED. | 1700 | * Returns SUCCESS or FAILED. |
2109 | */ | 1701 | */ |
2110 | static int | 1702 | int |
2111 | mptscsih_abort(struct scsi_cmnd * SCpnt) | 1703 | mptscsih_abort(struct scsi_cmnd * SCpnt) |
2112 | { | 1704 | { |
2113 | MPT_SCSI_HOST *hd; | 1705 | MPT_SCSI_HOST *hd; |
@@ -2115,7 +1707,6 @@ mptscsih_abort(struct scsi_cmnd * SCpnt) | |||
2115 | MPT_FRAME_HDR *mf; | 1707 | MPT_FRAME_HDR *mf; |
2116 | u32 ctx2abort; | 1708 | u32 ctx2abort; |
2117 | int scpnt_idx; | 1709 | int scpnt_idx; |
2118 | spinlock_t *host_lock = SCpnt->device->host->host_lock; | ||
2119 | 1710 | ||
2120 | /* If we can't locate our host adapter structure, return FAILED status. | 1711 | /* If we can't locate our host adapter structure, return FAILED status. |
2121 | */ | 1712 | */ |
@@ -2163,7 +1754,6 @@ mptscsih_abort(struct scsi_cmnd * SCpnt) | |||
2163 | 1754 | ||
2164 | hd->abortSCpnt = SCpnt; | 1755 | hd->abortSCpnt = SCpnt; |
2165 | 1756 | ||
2166 | spin_unlock_irq(host_lock); | ||
2167 | if (mptscsih_TMHandler(hd, MPI_SCSITASKMGMT_TASKTYPE_ABORT_TASK, | 1757 | if (mptscsih_TMHandler(hd, MPI_SCSITASKMGMT_TASKTYPE_ABORT_TASK, |
2168 | SCpnt->device->channel, SCpnt->device->id, SCpnt->device->lun, | 1758 | SCpnt->device->channel, SCpnt->device->id, SCpnt->device->lun, |
2169 | ctx2abort, 2 /* 2 second timeout */) | 1759 | ctx2abort, 2 /* 2 second timeout */) |
@@ -2180,8 +1770,6 @@ mptscsih_abort(struct scsi_cmnd * SCpnt) | |||
2180 | hd->tmPending = 0; | 1770 | hd->tmPending = 0; |
2181 | hd->tmState = TM_STATE_NONE; | 1771 | hd->tmState = TM_STATE_NONE; |
2182 | 1772 | ||
2183 | spin_lock_irq(host_lock); | ||
2184 | |||
2185 | /* Unmap the DMA buffers, if any. */ | 1773 | /* Unmap the DMA buffers, if any. */ |
2186 | if (SCpnt->use_sg) { | 1774 | if (SCpnt->use_sg) { |
2187 | pci_unmap_sg(ioc->pcidev, (struct scatterlist *) SCpnt->request_buffer, | 1775 | pci_unmap_sg(ioc->pcidev, (struct scatterlist *) SCpnt->request_buffer, |
@@ -2197,7 +1785,6 @@ mptscsih_abort(struct scsi_cmnd * SCpnt) | |||
2197 | mpt_free_msg_frame(ioc, mf); | 1785 | mpt_free_msg_frame(ioc, mf); |
2198 | return FAILED; | 1786 | return FAILED; |
2199 | } | 1787 | } |
2200 | spin_lock_irq(host_lock); | ||
2201 | return SUCCESS; | 1788 | return SUCCESS; |
2202 | } | 1789 | } |
2203 | 1790 | ||
@@ -2210,11 +1797,10 @@ mptscsih_abort(struct scsi_cmnd * SCpnt) | |||
2210 | * | 1797 | * |
2211 | * Returns SUCCESS or FAILED. | 1798 | * Returns SUCCESS or FAILED. |
2212 | */ | 1799 | */ |
2213 | static int | 1800 | int |
2214 | mptscsih_dev_reset(struct scsi_cmnd * SCpnt) | 1801 | mptscsih_dev_reset(struct scsi_cmnd * SCpnt) |
2215 | { | 1802 | { |
2216 | MPT_SCSI_HOST *hd; | 1803 | MPT_SCSI_HOST *hd; |
2217 | spinlock_t *host_lock = SCpnt->device->host->host_lock; | ||
2218 | 1804 | ||
2219 | /* If we can't locate our host adapter structure, return FAILED status. | 1805 | /* If we can't locate our host adapter structure, return FAILED status. |
2220 | */ | 1806 | */ |
@@ -2231,7 +1817,6 @@ mptscsih_dev_reset(struct scsi_cmnd * SCpnt) | |||
2231 | printk(KERN_WARNING MYNAM ": %s: >> Attempting target reset! (sc=%p)\n", | 1817 | printk(KERN_WARNING MYNAM ": %s: >> Attempting target reset! (sc=%p)\n", |
2232 | hd->ioc->name, SCpnt); | 1818 | hd->ioc->name, SCpnt); |
2233 | 1819 | ||
2234 | spin_unlock_irq(host_lock); | ||
2235 | if (mptscsih_TMHandler(hd, MPI_SCSITASKMGMT_TASKTYPE_TARGET_RESET, | 1820 | if (mptscsih_TMHandler(hd, MPI_SCSITASKMGMT_TASKTYPE_TARGET_RESET, |
2236 | SCpnt->device->channel, SCpnt->device->id, | 1821 | SCpnt->device->channel, SCpnt->device->id, |
2237 | 0, 0, 5 /* 5 second timeout */) | 1822 | 0, 0, 5 /* 5 second timeout */) |
@@ -2243,12 +1828,10 @@ mptscsih_dev_reset(struct scsi_cmnd * SCpnt) | |||
2243 | hd->ioc->name, SCpnt); | 1828 | hd->ioc->name, SCpnt); |
2244 | hd->tmPending = 0; | 1829 | hd->tmPending = 0; |
2245 | hd->tmState = TM_STATE_NONE; | 1830 | hd->tmState = TM_STATE_NONE; |
2246 | spin_lock_irq(host_lock); | ||
2247 | return FAILED; | 1831 | return FAILED; |
2248 | } | 1832 | } |
2249 | spin_lock_irq(host_lock); | ||
2250 | return SUCCESS; | ||
2251 | 1833 | ||
1834 | return SUCCESS; | ||
2252 | } | 1835 | } |
2253 | 1836 | ||
2254 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1837 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
@@ -2260,7 +1843,7 @@ mptscsih_dev_reset(struct scsi_cmnd * SCpnt) | |||
2260 | * | 1843 | * |
2261 | * Returns SUCCESS or FAILED. | 1844 | * Returns SUCCESS or FAILED. |
2262 | */ | 1845 | */ |
2263 | static int | 1846 | int |
2264 | mptscsih_bus_reset(struct scsi_cmnd * SCpnt) | 1847 | mptscsih_bus_reset(struct scsi_cmnd * SCpnt) |
2265 | { | 1848 | { |
2266 | MPT_SCSI_HOST *hd; | 1849 | MPT_SCSI_HOST *hd; |
@@ -2282,7 +1865,6 @@ mptscsih_bus_reset(struct scsi_cmnd * SCpnt) | |||
2282 | hd->timeouts++; | 1865 | hd->timeouts++; |
2283 | 1866 | ||
2284 | /* We are now ready to execute the task management request. */ | 1867 | /* We are now ready to execute the task management request. */ |
2285 | spin_unlock_irq(host_lock); | ||
2286 | if (mptscsih_TMHandler(hd, MPI_SCSITASKMGMT_TASKTYPE_RESET_BUS, | 1868 | if (mptscsih_TMHandler(hd, MPI_SCSITASKMGMT_TASKTYPE_RESET_BUS, |
2287 | SCpnt->device->channel, 0, 0, 0, 5 /* 5 second timeout */) | 1869 | SCpnt->device->channel, 0, 0, 0, 5 /* 5 second timeout */) |
2288 | < 0){ | 1870 | < 0){ |
@@ -2298,7 +1880,7 @@ mptscsih_bus_reset(struct scsi_cmnd * SCpnt) | |||
2298 | spin_lock_irq(host_lock); | 1880 | spin_lock_irq(host_lock); |
2299 | return FAILED; | 1881 | return FAILED; |
2300 | } | 1882 | } |
2301 | spin_lock_irq(host_lock); | 1883 | |
2302 | return SUCCESS; | 1884 | return SUCCESS; |
2303 | } | 1885 | } |
2304 | 1886 | ||
@@ -2312,12 +1894,11 @@ mptscsih_bus_reset(struct scsi_cmnd * SCpnt) | |||
2312 | * | 1894 | * |
2313 | * Returns SUCCESS or FAILED. | 1895 | * Returns SUCCESS or FAILED. |
2314 | */ | 1896 | */ |
2315 | static int | 1897 | int |
2316 | mptscsih_host_reset(struct scsi_cmnd *SCpnt) | 1898 | mptscsih_host_reset(struct scsi_cmnd *SCpnt) |
2317 | { | 1899 | { |
2318 | MPT_SCSI_HOST * hd; | 1900 | MPT_SCSI_HOST * hd; |
2319 | int status = SUCCESS; | 1901 | int status = SUCCESS; |
2320 | spinlock_t *host_lock = SCpnt->device->host->host_lock; | ||
2321 | 1902 | ||
2322 | /* If we can't locate the host to reset, then we failed. */ | 1903 | /* If we can't locate the host to reset, then we failed. */ |
2323 | if ((hd = (MPT_SCSI_HOST *) SCpnt->device->host->hostdata) == NULL){ | 1904 | if ((hd = (MPT_SCSI_HOST *) SCpnt->device->host->hostdata) == NULL){ |
@@ -2333,7 +1914,6 @@ mptscsih_host_reset(struct scsi_cmnd *SCpnt) | |||
2333 | /* If our attempts to reset the host failed, then return a failed | 1914 | /* If our attempts to reset the host failed, then return a failed |
2334 | * status. The host will be taken off line by the SCSI mid-layer. | 1915 | * status. The host will be taken off line by the SCSI mid-layer. |
2335 | */ | 1916 | */ |
2336 | spin_unlock_irq(host_lock); | ||
2337 | if (mpt_HardResetHandler(hd->ioc, CAN_SLEEP) < 0){ | 1917 | if (mpt_HardResetHandler(hd->ioc, CAN_SLEEP) < 0){ |
2338 | status = FAILED; | 1918 | status = FAILED; |
2339 | } else { | 1919 | } else { |
@@ -2343,8 +1923,6 @@ mptscsih_host_reset(struct scsi_cmnd *SCpnt) | |||
2343 | hd->tmPending = 0; | 1923 | hd->tmPending = 0; |
2344 | hd->tmState = TM_STATE_NONE; | 1924 | hd->tmState = TM_STATE_NONE; |
2345 | } | 1925 | } |
2346 | spin_lock_irq(host_lock); | ||
2347 | |||
2348 | 1926 | ||
2349 | dtmprintk( ( KERN_WARNING MYNAM ": mptscsih_host_reset: " | 1927 | dtmprintk( ( KERN_WARNING MYNAM ": mptscsih_host_reset: " |
2350 | "Status = %s\n", | 1928 | "Status = %s\n", |
@@ -2426,7 +2004,7 @@ mptscsih_tm_wait_for_completion(MPT_SCSI_HOST * hd, ulong timeout ) | |||
2426 | * | 2004 | * |
2427 | * Returns 1 indicating alloc'd request frame ptr should be freed. | 2005 | * Returns 1 indicating alloc'd request frame ptr should be freed. |
2428 | */ | 2006 | */ |
2429 | static int | 2007 | int |
2430 | mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) | 2008 | mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) |
2431 | { | 2009 | { |
2432 | SCSITaskMgmtReply_t *pScsiTmReply; | 2010 | SCSITaskMgmtReply_t *pScsiTmReply; |
@@ -2509,7 +2087,7 @@ mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *m | |||
2509 | /* | 2087 | /* |
2510 | * This is anyones guess quite frankly. | 2088 | * This is anyones guess quite frankly. |
2511 | */ | 2089 | */ |
2512 | static int | 2090 | int |
2513 | mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev, | 2091 | mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev, |
2514 | sector_t capacity, int geom[]) | 2092 | sector_t capacity, int geom[]) |
2515 | { | 2093 | { |
@@ -2556,7 +2134,7 @@ mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev, | |||
2556 | * Return non-zero if allocation fails. | 2134 | * Return non-zero if allocation fails. |
2557 | * Init memory once per id (not LUN). | 2135 | * Init memory once per id (not LUN). |
2558 | */ | 2136 | */ |
2559 | static int | 2137 | int |
2560 | mptscsih_slave_alloc(struct scsi_device *device) | 2138 | mptscsih_slave_alloc(struct scsi_device *device) |
2561 | { | 2139 | { |
2562 | struct Scsi_Host *host = device->host; | 2140 | struct Scsi_Host *host = device->host; |
@@ -2599,7 +2177,8 @@ mptscsih_slave_alloc(struct scsi_device *device) | |||
2599 | return 0; | 2177 | return 0; |
2600 | } | 2178 | } |
2601 | 2179 | ||
2602 | static int mptscsih_is_raid_volume(MPT_SCSI_HOST *hd, uint id) | 2180 | static int |
2181 | mptscsih_is_raid_volume(MPT_SCSI_HOST *hd, uint id) | ||
2603 | { | 2182 | { |
2604 | int i; | 2183 | int i; |
2605 | 2184 | ||
@@ -2618,7 +2197,7 @@ static int mptscsih_is_raid_volume(MPT_SCSI_HOST *hd, uint id) | |||
2618 | * OS entry point to allow for host driver to free allocated memory | 2197 | * OS entry point to allow for host driver to free allocated memory |
2619 | * Called if no device present or device being unloaded | 2198 | * Called if no device present or device being unloaded |
2620 | */ | 2199 | */ |
2621 | static void | 2200 | void |
2622 | mptscsih_slave_destroy(struct scsi_device *device) | 2201 | mptscsih_slave_destroy(struct scsi_device *device) |
2623 | { | 2202 | { |
2624 | struct Scsi_Host *host = device->host; | 2203 | struct Scsi_Host *host = device->host; |
@@ -2639,7 +2218,7 @@ mptscsih_slave_destroy(struct scsi_device *device) | |||
2639 | 2218 | ||
2640 | kfree(hd->Targets[target]); | 2219 | kfree(hd->Targets[target]); |
2641 | hd->Targets[target] = NULL; | 2220 | hd->Targets[target] = NULL; |
2642 | 2221 | ||
2643 | if (hd->ioc->bus_type == SCSI) { | 2222 | if (hd->ioc->bus_type == SCSI) { |
2644 | if (mptscsih_is_raid_volume(hd, target)) { | 2223 | if (mptscsih_is_raid_volume(hd, target)) { |
2645 | hd->ioc->spi_data.forceDv |= MPT_SCSICFG_RELOAD_IOC_PG3; | 2224 | hd->ioc->spi_data.forceDv |= MPT_SCSICFG_RELOAD_IOC_PG3; |
@@ -2695,7 +2274,7 @@ mptscsih_set_queue_depth(struct scsi_device *device, MPT_SCSI_HOST *hd, | |||
2695 | * member to 1 if a device does not support Q tags. | 2274 | * member to 1 if a device does not support Q tags. |
2696 | * Return non-zero if fails. | 2275 | * Return non-zero if fails. |
2697 | */ | 2276 | */ |
2698 | static int | 2277 | int |
2699 | mptscsih_slave_configure(struct scsi_device *device) | 2278 | mptscsih_slave_configure(struct scsi_device *device) |
2700 | { | 2279 | { |
2701 | struct Scsi_Host *sh = device->host; | 2280 | struct Scsi_Host *sh = device->host; |
@@ -2758,7 +2337,7 @@ slave_configure_exit: | |||
2758 | return 0; | 2337 | return 0; |
2759 | } | 2338 | } |
2760 | 2339 | ||
2761 | static ssize_t | 2340 | ssize_t |
2762 | mptscsih_store_queue_depth(struct device *dev, const char *buf, size_t count) | 2341 | mptscsih_store_queue_depth(struct device *dev, const char *buf, size_t count) |
2763 | { | 2342 | { |
2764 | int depth; | 2343 | int depth; |
@@ -2788,7 +2367,7 @@ mptscsih_store_queue_depth(struct device *dev, const char *buf, size_t count) | |||
2788 | * | 2367 | * |
2789 | */ | 2368 | */ |
2790 | static void | 2369 | static void |
2791 | copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SCSIIOReply_t *pScsiReply) | 2370 | mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SCSIIOReply_t *pScsiReply) |
2792 | { | 2371 | { |
2793 | VirtDevice *target; | 2372 | VirtDevice *target; |
2794 | SCSIIORequest_t *pReq; | 2373 | SCSIIORequest_t *pReq; |
@@ -2854,7 +2433,7 @@ SCPNT_TO_LOOKUP_IDX(struct scsi_cmnd *sc) | |||
2854 | } | 2433 | } |
2855 | 2434 | ||
2856 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 2435 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
2857 | static int | 2436 | int |
2858 | mptscsih_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) | 2437 | mptscsih_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) |
2859 | { | 2438 | { |
2860 | MPT_SCSI_HOST *hd; | 2439 | MPT_SCSI_HOST *hd; |
@@ -2949,8 +2528,8 @@ mptscsih_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) | |||
2949 | */ | 2528 | */ |
2950 | hd->pLocal = &hd->localReply; | 2529 | hd->pLocal = &hd->localReply; |
2951 | hd->pLocal->completion = MPT_SCANDV_DID_RESET; | 2530 | hd->pLocal->completion = MPT_SCANDV_DID_RESET; |
2952 | scandv_wait_done = 1; | 2531 | hd->scandv_wait_done = 1; |
2953 | wake_up(&scandv_waitq); | 2532 | wake_up(&hd->scandv_waitq); |
2954 | hd->cmdPtr = NULL; | 2533 | hd->cmdPtr = NULL; |
2955 | } | 2534 | } |
2956 | 2535 | ||
@@ -2969,7 +2548,7 @@ mptscsih_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) | |||
2969 | } | 2548 | } |
2970 | 2549 | ||
2971 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 2550 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
2972 | static int | 2551 | int |
2973 | mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply) | 2552 | mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply) |
2974 | { | 2553 | { |
2975 | MPT_SCSI_HOST *hd; | 2554 | MPT_SCSI_HOST *hd; |
@@ -3085,42 +2664,6 @@ mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply) | |||
3085 | return 1; /* currently means nothing really */ | 2664 | return 1; /* currently means nothing really */ |
3086 | } | 2665 | } |
3087 | 2666 | ||
3088 | static struct device_attribute mptscsih_queue_depth_attr = { | ||
3089 | .attr = { | ||
3090 | .name = "queue_depth", | ||
3091 | .mode = S_IWUSR, | ||
3092 | }, | ||
3093 | .store = mptscsih_store_queue_depth, | ||
3094 | }; | ||
3095 | |||
3096 | static struct device_attribute *mptscsih_dev_attrs[] = { | ||
3097 | &mptscsih_queue_depth_attr, | ||
3098 | NULL, | ||
3099 | }; | ||
3100 | |||
3101 | static struct scsi_host_template driver_template = { | ||
3102 | .proc_name = "mptscsih", | ||
3103 | .proc_info = mptscsih_proc_info, | ||
3104 | .name = "MPT SCSI Host", | ||
3105 | .info = mptscsih_info, | ||
3106 | .queuecommand = mptscsih_qcmd, | ||
3107 | .slave_alloc = mptscsih_slave_alloc, | ||
3108 | .slave_configure = mptscsih_slave_configure, | ||
3109 | .slave_destroy = mptscsih_slave_destroy, | ||
3110 | .eh_abort_handler = mptscsih_abort, | ||
3111 | .eh_device_reset_handler = mptscsih_dev_reset, | ||
3112 | .eh_bus_reset_handler = mptscsih_bus_reset, | ||
3113 | .eh_host_reset_handler = mptscsih_host_reset, | ||
3114 | .bios_param = mptscsih_bios_param, | ||
3115 | .can_queue = MPT_SCSI_CAN_QUEUE, | ||
3116 | .this_id = -1, | ||
3117 | .sg_tablesize = MPT_SCSI_SG_DEPTH, | ||
3118 | .max_sectors = 8192, | ||
3119 | .cmd_per_lun = 7, | ||
3120 | .use_clustering = ENABLE_CLUSTERING, | ||
3121 | .sdev_attrs = mptscsih_dev_attrs, | ||
3122 | }; | ||
3123 | |||
3124 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 2667 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
3125 | /* | 2668 | /* |
3126 | * mptscsih_initTarget - Target, LUN alloc/free functionality. | 2669 | * mptscsih_initTarget - Target, LUN alloc/free functionality. |
@@ -3158,9 +2701,9 @@ mptscsih_initTarget(MPT_SCSI_HOST *hd, int bus_id, int target_id, u8 lun, char * | |||
3158 | * around a bug in th emid-layer in some distributions in which the mid-layer will | 2701 | * around a bug in th emid-layer in some distributions in which the mid-layer will |
3159 | * continue to try to communicate to the LUN and evntually create a dummy LUN. | 2702 | * continue to try to communicate to the LUN and evntually create a dummy LUN. |
3160 | */ | 2703 | */ |
3161 | if (mpt_pq_filter && dlen && (data[0] & 0xE0)) | 2704 | if (hd->mpt_pq_filter && dlen && (data[0] & 0xE0)) |
3162 | data[0] |= 0x40; | 2705 | data[0] |= 0x40; |
3163 | 2706 | ||
3164 | /* Is LUN supported? If so, upper 2 bits will be 0 | 2707 | /* Is LUN supported? If so, upper 2 bits will be 0 |
3165 | * in first byte of inquiry data. | 2708 | * in first byte of inquiry data. |
3166 | */ | 2709 | */ |
@@ -3307,7 +2850,7 @@ mptscsih_setTargetNegoParms(MPT_SCSI_HOST *hd, VirtDevice *target, char byte56) | |||
3307 | ddvtprintk((KERN_INFO "Enabling QAS on id=%d due to ~TARGET_FLAGS_VALID_56!\n", id)); | 2850 | ddvtprintk((KERN_INFO "Enabling QAS on id=%d due to ~TARGET_FLAGS_VALID_56!\n", id)); |
3308 | noQas = 0; | 2851 | noQas = 0; |
3309 | } | 2852 | } |
3310 | 2853 | ||
3311 | offset = pspi_data->maxSyncOffset; | 2854 | offset = pspi_data->maxSyncOffset; |
3312 | 2855 | ||
3313 | /* If RAID, never disable QAS | 2856 | /* If RAID, never disable QAS |
@@ -3401,7 +2944,7 @@ mptscsih_setTargetNegoParms(MPT_SCSI_HOST *hd, VirtDevice *target, char byte56) | |||
3401 | if ( (vdev = hd->Targets[ii]) ) { | 2944 | if ( (vdev = hd->Targets[ii]) ) { |
3402 | vdev->negoFlags |= MPT_TARGET_NO_NEGO_QAS; | 2945 | vdev->negoFlags |= MPT_TARGET_NO_NEGO_QAS; |
3403 | mptscsih_writeSDP1(hd, 0, ii, vdev->negoFlags); | 2946 | mptscsih_writeSDP1(hd, 0, ii, vdev->negoFlags); |
3404 | } | 2947 | } |
3405 | } | 2948 | } |
3406 | } | 2949 | } |
3407 | } | 2950 | } |
@@ -3426,14 +2969,15 @@ mptscsih_setTargetNegoParms(MPT_SCSI_HOST *hd, VirtDevice *target, char byte56) | |||
3426 | * Tapes, initTarget will set this flag on completion of Inquiry command. | 2969 | * Tapes, initTarget will set this flag on completion of Inquiry command. |
3427 | * Called only if DV_NOT_DONE flag is set | 2970 | * Called only if DV_NOT_DONE flag is set |
3428 | */ | 2971 | */ |
3429 | static void mptscsih_set_dvflags(MPT_SCSI_HOST *hd, SCSIIORequest_t *pReq) | 2972 | static void |
2973 | mptscsih_set_dvflags(MPT_SCSI_HOST *hd, SCSIIORequest_t *pReq) | ||
3430 | { | 2974 | { |
3431 | u8 cmd; | 2975 | u8 cmd; |
3432 | ScsiCfgData *pSpi; | 2976 | ScsiCfgData *pSpi; |
3433 | 2977 | ||
3434 | ddvtprintk((" set_dvflags: id=%d lun=%d negoNvram=%x cmd=%x\n", | 2978 | ddvtprintk((" set_dvflags: id=%d lun=%d negoNvram=%x cmd=%x\n", |
3435 | pReq->TargetID, pReq->LUN[1], hd->negoNvram, pReq->CDB[0])); | 2979 | pReq->TargetID, pReq->LUN[1], hd->negoNvram, pReq->CDB[0])); |
3436 | 2980 | ||
3437 | if ((pReq->LUN[1] != 0) || (hd->negoNvram != 0)) | 2981 | if ((pReq->LUN[1] != 0) || (hd->negoNvram != 0)) |
3438 | return; | 2982 | return; |
3439 | 2983 | ||
@@ -3464,7 +3008,8 @@ static void mptscsih_set_dvflags(MPT_SCSI_HOST *hd, SCSIIORequest_t *pReq) | |||
3464 | * If no Target, bus reset on 1st I/O. Set the flag to | 3008 | * If no Target, bus reset on 1st I/O. Set the flag to |
3465 | * prevent any future negotiations to this device. | 3009 | * prevent any future negotiations to this device. |
3466 | */ | 3010 | */ |
3467 | static void mptscsih_no_negotiate(MPT_SCSI_HOST *hd, int target_id) | 3011 | static void |
3012 | mptscsih_no_negotiate(MPT_SCSI_HOST *hd, int target_id) | ||
3468 | { | 3013 | { |
3469 | 3014 | ||
3470 | if ((hd->Targets) && (hd->Targets[target_id] == NULL)) | 3015 | if ((hd->Targets) && (hd->Targets[target_id] == NULL)) |
@@ -3631,7 +3176,7 @@ mptscsih_writeSDP1(MPT_SCSI_HOST *hd, int portnum, int target_id, int flags) | |||
3631 | offset = pTarget->maxOffset; | 3176 | offset = pTarget->maxOffset; |
3632 | negoFlags = pTarget->negoFlags; | 3177 | negoFlags = pTarget->negoFlags; |
3633 | } | 3178 | } |
3634 | 3179 | ||
3635 | #ifdef MPTSCSIH_ENABLE_DOMAIN_VALIDATION | 3180 | #ifdef MPTSCSIH_ENABLE_DOMAIN_VALIDATION |
3636 | /* Force to async and narrow if DV has not been executed | 3181 | /* Force to async and narrow if DV has not been executed |
3637 | * for this ID | 3182 | * for this ID |
@@ -3653,7 +3198,7 @@ mptscsih_writeSDP1(MPT_SCSI_HOST *hd, int portnum, int target_id, int flags) | |||
3653 | 3198 | ||
3654 | /* Get a MF for this command. | 3199 | /* Get a MF for this command. |
3655 | */ | 3200 | */ |
3656 | if ((mf = mpt_get_msg_frame(ScsiDoneCtx, ioc)) == NULL) { | 3201 | if ((mf = mpt_get_msg_frame(ioc->DoneCtx, ioc)) == NULL) { |
3657 | dprintk((MYIOC_s_WARN_FMT "write SDP1: no msg frames!\n", | 3202 | dprintk((MYIOC_s_WARN_FMT "write SDP1: no msg frames!\n", |
3658 | ioc->name)); | 3203 | ioc->name)); |
3659 | return -EAGAIN; | 3204 | return -EAGAIN; |
@@ -3717,7 +3262,7 @@ mptscsih_writeSDP1(MPT_SCSI_HOST *hd, int portnum, int target_id, int flags) | |||
3717 | ioc->name, id, (id | (bus<<8)), | 3262 | ioc->name, id, (id | (bus<<8)), |
3718 | requested, configuration)); | 3263 | requested, configuration)); |
3719 | 3264 | ||
3720 | mpt_put_msg_frame(ScsiDoneCtx, ioc, mf); | 3265 | mpt_put_msg_frame(ioc->DoneCtx, ioc, mf); |
3721 | } | 3266 | } |
3722 | 3267 | ||
3723 | return 0; | 3268 | return 0; |
@@ -3748,7 +3293,7 @@ mptscsih_writeIOCPage4(MPT_SCSI_HOST *hd, int target_id, int bus) | |||
3748 | 3293 | ||
3749 | /* Get a MF for this command. | 3294 | /* Get a MF for this command. |
3750 | */ | 3295 | */ |
3751 | if ((mf = mpt_get_msg_frame(ScsiDoneCtx, ioc)) == NULL) { | 3296 | if ((mf = mpt_get_msg_frame(ioc->DoneCtx, ioc)) == NULL) { |
3752 | dprintk((MYIOC_s_WARN_FMT "writeIOCPage4 : no msg frames!\n", | 3297 | dprintk((MYIOC_s_WARN_FMT "writeIOCPage4 : no msg frames!\n", |
3753 | ioc->name)); | 3298 | ioc->name)); |
3754 | return -EAGAIN; | 3299 | return -EAGAIN; |
@@ -3794,7 +3339,7 @@ mptscsih_writeIOCPage4(MPT_SCSI_HOST *hd, int target_id, int bus) | |||
3794 | "writeIOCPage4: MaxSEP=%d ActiveSEP=%d id=%d bus=%d\n", | 3339 | "writeIOCPage4: MaxSEP=%d ActiveSEP=%d id=%d bus=%d\n", |
3795 | ioc->name, IOCPage4Ptr->MaxSEP, IOCPage4Ptr->ActiveSEP, target_id, bus)); | 3340 | ioc->name, IOCPage4Ptr->MaxSEP, IOCPage4Ptr->ActiveSEP, target_id, bus)); |
3796 | 3341 | ||
3797 | mpt_put_msg_frame(ScsiDoneCtx, ioc, mf); | 3342 | mpt_put_msg_frame(ioc->DoneCtx, ioc, mf); |
3798 | 3343 | ||
3799 | return 0; | 3344 | return 0; |
3800 | } | 3345 | } |
@@ -3824,7 +3369,7 @@ mptscsih_writeIOCPage4(MPT_SCSI_HOST *hd, int target_id, int bus) | |||
3824 | * in the IOC member localReply structure. | 3369 | * in the IOC member localReply structure. |
3825 | * Used ONLY for DV and other internal commands. | 3370 | * Used ONLY for DV and other internal commands. |
3826 | */ | 3371 | */ |
3827 | static int | 3372 | int |
3828 | mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) | 3373 | mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) |
3829 | { | 3374 | { |
3830 | MPT_SCSI_HOST *hd; | 3375 | MPT_SCSI_HOST *hd; |
@@ -3832,6 +3377,8 @@ mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) | |||
3832 | int completionCode; | 3377 | int completionCode; |
3833 | u16 req_idx; | 3378 | u16 req_idx; |
3834 | 3379 | ||
3380 | hd = (MPT_SCSI_HOST *) ioc->sh->hostdata; | ||
3381 | |||
3835 | if ((mf == NULL) || | 3382 | if ((mf == NULL) || |
3836 | (mf >= MPT_INDEX_2_MFPTR(ioc, ioc->req_depth))) { | 3383 | (mf >= MPT_INDEX_2_MFPTR(ioc, ioc->req_depth))) { |
3837 | printk(MYIOC_s_ERR_FMT | 3384 | printk(MYIOC_s_ERR_FMT |
@@ -3840,7 +3387,6 @@ mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) | |||
3840 | goto wakeup; | 3387 | goto wakeup; |
3841 | } | 3388 | } |
3842 | 3389 | ||
3843 | hd = (MPT_SCSI_HOST *) ioc->sh->hostdata; | ||
3844 | del_timer(&hd->timer); | 3390 | del_timer(&hd->timer); |
3845 | req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); | 3391 | req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); |
3846 | hd->ScsiLookup[req_idx] = NULL; | 3392 | hd->ScsiLookup[req_idx] = NULL; |
@@ -3972,8 +3518,8 @@ wakeup: | |||
3972 | /* | 3518 | /* |
3973 | * Wake up the original calling thread | 3519 | * Wake up the original calling thread |
3974 | */ | 3520 | */ |
3975 | scandv_wait_done = 1; | 3521 | hd->scandv_wait_done = 1; |
3976 | wake_up(&scandv_waitq); | 3522 | wake_up(&hd->scandv_waitq); |
3977 | 3523 | ||
3978 | return 1; | 3524 | return 1; |
3979 | } | 3525 | } |
@@ -3984,7 +3530,8 @@ wakeup: | |||
3984 | * @data: Pointer to MPT_SCSI_HOST recast as an unsigned long | 3530 | * @data: Pointer to MPT_SCSI_HOST recast as an unsigned long |
3985 | * | 3531 | * |
3986 | */ | 3532 | */ |
3987 | static void mptscsih_timer_expired(unsigned long data) | 3533 | void |
3534 | mptscsih_timer_expired(unsigned long data) | ||
3988 | { | 3535 | { |
3989 | MPT_SCSI_HOST *hd = (MPT_SCSI_HOST *) data; | 3536 | MPT_SCSI_HOST *hd = (MPT_SCSI_HOST *) data; |
3990 | 3537 | ||
@@ -4051,7 +3598,7 @@ mptscsih_do_raid(MPT_SCSI_HOST *hd, u8 action, INTERNAL_CMD *io) | |||
4051 | 3598 | ||
4052 | /* Get and Populate a free Frame | 3599 | /* Get and Populate a free Frame |
4053 | */ | 3600 | */ |
4054 | if ((mf = mpt_get_msg_frame(ScsiScanDvCtx, hd->ioc)) == NULL) { | 3601 | if ((mf = mpt_get_msg_frame(hd->ioc->InternalCtx, hd->ioc)) == NULL) { |
4055 | ddvprintk((MYIOC_s_WARN_FMT "_do_raid: no msg frames!\n", | 3602 | ddvprintk((MYIOC_s_WARN_FMT "_do_raid: no msg frames!\n", |
4056 | hd->ioc->name)); | 3603 | hd->ioc->name)); |
4057 | return -EAGAIN; | 3604 | return -EAGAIN; |
@@ -4077,7 +3624,7 @@ mptscsih_do_raid(MPT_SCSI_HOST *hd, u8 action, INTERNAL_CMD *io) | |||
4077 | 3624 | ||
4078 | hd->pLocal = NULL; | 3625 | hd->pLocal = NULL; |
4079 | hd->timer.expires = jiffies + HZ*10; /* 10 second timeout */ | 3626 | hd->timer.expires = jiffies + HZ*10; /* 10 second timeout */ |
4080 | scandv_wait_done = 0; | 3627 | hd->scandv_wait_done = 0; |
4081 | 3628 | ||
4082 | /* Save cmd pointer, for resource free if timeout or | 3629 | /* Save cmd pointer, for resource free if timeout or |
4083 | * FW reload occurs | 3630 | * FW reload occurs |
@@ -4085,8 +3632,8 @@ mptscsih_do_raid(MPT_SCSI_HOST *hd, u8 action, INTERNAL_CMD *io) | |||
4085 | hd->cmdPtr = mf; | 3632 | hd->cmdPtr = mf; |
4086 | 3633 | ||
4087 | add_timer(&hd->timer); | 3634 | add_timer(&hd->timer); |
4088 | mpt_put_msg_frame(ScsiScanDvCtx, hd->ioc, mf); | 3635 | mpt_put_msg_frame(hd->ioc->InternalCtx, hd->ioc, mf); |
4089 | wait_event(scandv_waitq, scandv_wait_done); | 3636 | wait_event(hd->scandv_waitq, hd->scandv_wait_done); |
4090 | 3637 | ||
4091 | if ((hd->pLocal == NULL) || (hd->pLocal->completion != MPT_SCANDV_GOOD)) | 3638 | if ((hd->pLocal == NULL) || (hd->pLocal->completion != MPT_SCANDV_GOOD)) |
4092 | return -1; | 3639 | return -1; |
@@ -4232,7 +3779,7 @@ mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *io) | |||
4232 | 3779 | ||
4233 | /* Get and Populate a free Frame | 3780 | /* Get and Populate a free Frame |
4234 | */ | 3781 | */ |
4235 | if ((mf = mpt_get_msg_frame(ScsiScanDvCtx, hd->ioc)) == NULL) { | 3782 | if ((mf = mpt_get_msg_frame(hd->ioc->InternalCtx, hd->ioc)) == NULL) { |
4236 | ddvprintk((MYIOC_s_WARN_FMT "No msg frames!\n", | 3783 | ddvprintk((MYIOC_s_WARN_FMT "No msg frames!\n", |
4237 | hd->ioc->name)); | 3784 | hd->ioc->name)); |
4238 | return -EBUSY; | 3785 | return -EBUSY; |
@@ -4314,7 +3861,7 @@ mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *io) | |||
4314 | */ | 3861 | */ |
4315 | hd->pLocal = NULL; | 3862 | hd->pLocal = NULL; |
4316 | hd->timer.expires = jiffies + HZ*cmdTimeout; | 3863 | hd->timer.expires = jiffies + HZ*cmdTimeout; |
4317 | scandv_wait_done = 0; | 3864 | hd->scandv_wait_done = 0; |
4318 | 3865 | ||
4319 | /* Save cmd pointer, for resource free if timeout or | 3866 | /* Save cmd pointer, for resource free if timeout or |
4320 | * FW reload occurs | 3867 | * FW reload occurs |
@@ -4322,8 +3869,8 @@ mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *io) | |||
4322 | hd->cmdPtr = mf; | 3869 | hd->cmdPtr = mf; |
4323 | 3870 | ||
4324 | add_timer(&hd->timer); | 3871 | add_timer(&hd->timer); |
4325 | mpt_put_msg_frame(ScsiScanDvCtx, hd->ioc, mf); | 3872 | mpt_put_msg_frame(hd->ioc->InternalCtx, hd->ioc, mf); |
4326 | wait_event(scandv_waitq, scandv_wait_done); | 3873 | wait_event(hd->scandv_waitq, hd->scandv_wait_done); |
4327 | 3874 | ||
4328 | if (hd->pLocal) { | 3875 | if (hd->pLocal) { |
4329 | rc = hd->pLocal->completion; | 3876 | rc = hd->pLocal->completion; |
@@ -4640,7 +4187,8 @@ mptscsih_domainValidation(void *arg) | |||
4640 | 4187 | ||
4641 | /* Search IOC page 3 to determine if this is hidden physical disk | 4188 | /* Search IOC page 3 to determine if this is hidden physical disk |
4642 | */ | 4189 | */ |
4643 | static int mptscsih_is_phys_disk(MPT_ADAPTER *ioc, int id) | 4190 | static int |
4191 | mptscsih_is_phys_disk(MPT_ADAPTER *ioc, int id) | ||
4644 | { | 4192 | { |
4645 | if (ioc->spi_data.pIocPg3) { | 4193 | if (ioc->spi_data.pIocPg3) { |
4646 | Ioc3PhysDisk_t *pPDisk = ioc->spi_data.pIocPg3->PhysDisk; | 4194 | Ioc3PhysDisk_t *pPDisk = ioc->spi_data.pIocPg3->PhysDisk; |
@@ -4659,7 +4207,8 @@ static int mptscsih_is_phys_disk(MPT_ADAPTER *ioc, int id) | |||
4659 | 4207 | ||
4660 | /* Write SDP1 if no QAS has been enabled | 4208 | /* Write SDP1 if no QAS has been enabled |
4661 | */ | 4209 | */ |
4662 | static void mptscsih_qas_check(MPT_SCSI_HOST *hd, int id) | 4210 | static void |
4211 | mptscsih_qas_check(MPT_SCSI_HOST *hd, int id) | ||
4663 | { | 4212 | { |
4664 | VirtDevice *pTarget; | 4213 | VirtDevice *pTarget; |
4665 | int ii; | 4214 | int ii; |
@@ -5157,7 +4706,7 @@ mptscsih_doDv(MPT_SCSI_HOST *hd, int bus_number, int id) | |||
5157 | } | 4706 | } |
5158 | ddvprintk((MYIOC_s_NOTE_FMT "DV: Basic test on id=%d completed OK.\n", ioc->name, id)); | 4707 | ddvprintk((MYIOC_s_NOTE_FMT "DV: Basic test on id=%d completed OK.\n", ioc->name, id)); |
5159 | 4708 | ||
5160 | if (mpt_dv == 0) | 4709 | if (ioc->spi_data.mpt_dv == 0) |
5161 | goto target_done; | 4710 | goto target_done; |
5162 | 4711 | ||
5163 | inq0 = (*pbuf1) & 0x1F; | 4712 | inq0 = (*pbuf1) & 0x1F; |
@@ -6015,7 +5564,29 @@ mptscsih_fillbuf(char *buffer, int size, int index, int width) | |||
6015 | } | 5564 | } |
6016 | #endif /* ~MPTSCSIH_ENABLE_DOMAIN_VALIDATION */ | 5565 | #endif /* ~MPTSCSIH_ENABLE_DOMAIN_VALIDATION */ |
6017 | 5566 | ||
6018 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 5567 | EXPORT_SYMBOL(mptscsih_remove); |
5568 | EXPORT_SYMBOL(mptscsih_shutdown); | ||
5569 | #ifdef CONFIG_PM | ||
5570 | EXPORT_SYMBOL(mptscsih_suspend); | ||
5571 | EXPORT_SYMBOL(mptscsih_resume); | ||
5572 | #endif | ||
5573 | EXPORT_SYMBOL(mptscsih_proc_info); | ||
5574 | EXPORT_SYMBOL(mptscsih_info); | ||
5575 | EXPORT_SYMBOL(mptscsih_qcmd); | ||
5576 | EXPORT_SYMBOL(mptscsih_slave_alloc); | ||
5577 | EXPORT_SYMBOL(mptscsih_slave_destroy); | ||
5578 | EXPORT_SYMBOL(mptscsih_slave_configure); | ||
5579 | EXPORT_SYMBOL(mptscsih_abort); | ||
5580 | EXPORT_SYMBOL(mptscsih_dev_reset); | ||
5581 | EXPORT_SYMBOL(mptscsih_bus_reset); | ||
5582 | EXPORT_SYMBOL(mptscsih_host_reset); | ||
5583 | EXPORT_SYMBOL(mptscsih_bios_param); | ||
5584 | EXPORT_SYMBOL(mptscsih_io_done); | ||
5585 | EXPORT_SYMBOL(mptscsih_taskmgmt_complete); | ||
5586 | EXPORT_SYMBOL(mptscsih_scandv_complete); | ||
5587 | EXPORT_SYMBOL(mptscsih_event_process); | ||
5588 | EXPORT_SYMBOL(mptscsih_ioc_reset); | ||
5589 | EXPORT_SYMBOL(mptscsih_store_queue_depth); | ||
5590 | EXPORT_SYMBOL(mptscsih_timer_expired); | ||
6019 | 5591 | ||
6020 | module_init(mptscsih_init); | 5592 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
6021 | module_exit(mptscsih_exit); | ||
diff --git a/drivers/message/fusion/mptscsih.h b/drivers/message/fusion/mptscsih.h index 5cb2fd45c38f..9f519836effa 100644 --- a/drivers/message/fusion/mptscsih.h +++ b/drivers/message/fusion/mptscsih.h | |||
@@ -1,26 +1,13 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/message/fusion/mptscsih.h | 2 | * linux/drivers/message/fusion/mptscsi.h |
3 | * High performance SCSI / Fibre Channel SCSI Host device driver. | 3 | * High performance SCSI / Fibre Channel SCSI Host device driver. |
4 | * For use with PCI chip/adapter(s): | 4 | * For use with PCI chip/adapter(s): |
5 | * LSIFC9xx/LSI409xx Fibre Channel | 5 | * LSIFC9xx/LSI409xx Fibre Channel |
6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
7 | * | 7 | * |
8 | * Credits: | 8 | * Copyright (c) 1999-2005 LSI Logic Corporation |
9 | * This driver would not exist if not for Alan Cox's development | ||
10 | * of the linux i2o driver. | ||
11 | * | ||
12 | * A huge debt of gratitude is owed to David S. Miller (DaveM) | ||
13 | * for fixing much of the stupid and broken stuff in the early | ||
14 | * driver while porting to sparc64 platform. THANK YOU! | ||
15 | * | ||
16 | * (see also mptbase.c) | ||
17 | * | ||
18 | * Copyright (c) 1999-2004 LSI Logic Corporation | ||
19 | * Originally By: Steven J. Ralston | ||
20 | * (mailto:netscape.net) | ||
21 | * (mailto:mpt_linux_developer@lsil.com) | 9 | * (mailto:mpt_linux_developer@lsil.com) |
22 | * | 10 | * |
23 | * $Id: mptscsih.h,v 1.21 2002/12/03 21:26:35 pdelaney Exp $ | ||
24 | */ | 11 | */ |
25 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 12 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
26 | /* | 13 | /* |
@@ -91,4 +78,30 @@ | |||
91 | #define MPTSCSIH_MIN_SYNC 0x08 | 78 | #define MPTSCSIH_MIN_SYNC 0x08 |
92 | #define MPTSCSIH_SAF_TE 0 | 79 | #define MPTSCSIH_SAF_TE 0 |
93 | 80 | ||
81 | |||
82 | #endif | ||
83 | |||
84 | extern void mptscsih_remove(struct pci_dev *); | ||
85 | extern void mptscsih_shutdown(struct device *); | ||
86 | #ifdef CONFIG_PM | ||
87 | extern int mptscsih_suspend(struct pci_dev *pdev, u32 state); | ||
88 | extern int mptscsih_resume(struct pci_dev *pdev); | ||
94 | #endif | 89 | #endif |
90 | extern int mptscsih_proc_info(struct Scsi_Host *host, char *buffer, char **start, off_t offset, int length, int func); | ||
91 | extern const char * mptscsih_info(struct Scsi_Host *SChost); | ||
92 | extern int mptscsih_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)); | ||
93 | extern int mptscsih_slave_alloc(struct scsi_device *device); | ||
94 | extern void mptscsih_slave_destroy(struct scsi_device *device); | ||
95 | extern int mptscsih_slave_configure(struct scsi_device *device); | ||
96 | extern int mptscsih_abort(struct scsi_cmnd * SCpnt); | ||
97 | extern int mptscsih_dev_reset(struct scsi_cmnd * SCpnt); | ||
98 | extern int mptscsih_bus_reset(struct scsi_cmnd * SCpnt); | ||
99 | extern int mptscsih_host_reset(struct scsi_cmnd *SCpnt); | ||
100 | extern int mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev, sector_t capacity, int geom[]); | ||
101 | extern int mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); | ||
102 | extern int mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); | ||
103 | extern int mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); | ||
104 | extern int mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply); | ||
105 | extern int mptscsih_ioc_reset(MPT_ADAPTER *ioc, int post_reset); | ||
106 | extern ssize_t mptscsih_store_queue_depth(struct device *dev, const char *buf, size_t count); | ||
107 | extern void mptscsih_timer_expired(unsigned long data); | ||
diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c new file mode 100644 index 000000000000..5f9a61b85b3b --- /dev/null +++ b/drivers/message/fusion/mptspi.c | |||
@@ -0,0 +1,486 @@ | |||
1 | /* | ||
2 | * linux/drivers/message/fusion/mptspi.c | ||
3 | * For use with LSI Logic PCI chip/adapter(s) | ||
4 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | ||
5 | * | ||
6 | * Copyright (c) 1999-2005 LSI Logic Corporation | ||
7 | * (mailto:mpt_linux_developer@lsil.com) | ||
8 | * | ||
9 | */ | ||
10 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
11 | /* | ||
12 | This program is free software; you can redistribute it and/or modify | ||
13 | it under the terms of the GNU General Public License as published by | ||
14 | the Free Software Foundation; version 2 of the License. | ||
15 | |||
16 | This program is distributed in the hope that it will be useful, | ||
17 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
19 | GNU General Public License for more details. | ||
20 | |||
21 | NO WARRANTY | ||
22 | THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
23 | CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT | ||
24 | LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, | ||
25 | MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is | ||
26 | solely responsible for determining the appropriateness of using and | ||
27 | distributing the Program and assumes all risks associated with its | ||
28 | exercise of rights under this Agreement, including but not limited to | ||
29 | the risks and costs of program errors, damage to or loss of data, | ||
30 | programs or equipment, and unavailability or interruption of operations. | ||
31 | |||
32 | DISCLAIMER OF LIABILITY | ||
33 | NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY | ||
34 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
35 | DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND | ||
36 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | ||
37 | TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | ||
38 | USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED | ||
39 | HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES | ||
40 | |||
41 | You should have received a copy of the GNU General Public License | ||
42 | along with this program; if not, write to the Free Software | ||
43 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
44 | */ | ||
45 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
46 | |||
47 | #include "linux_compat.h" /* linux-2.6 tweaks */ | ||
48 | #include <linux/module.h> | ||
49 | #include <linux/kernel.h> | ||
50 | #include <linux/init.h> | ||
51 | #include <linux/errno.h> | ||
52 | #include <linux/kdev_t.h> | ||
53 | #include <linux/blkdev.h> | ||
54 | #include <linux/delay.h> /* for mdelay */ | ||
55 | #include <linux/interrupt.h> /* needed for in_interrupt() proto */ | ||
56 | #include <linux/reboot.h> /* notifier code */ | ||
57 | #include <linux/sched.h> | ||
58 | #include <linux/workqueue.h> | ||
59 | |||
60 | #include <scsi/scsi.h> | ||
61 | #include <scsi/scsi_cmnd.h> | ||
62 | #include <scsi/scsi_device.h> | ||
63 | #include <scsi/scsi_host.h> | ||
64 | #include <scsi/scsi_tcq.h> | ||
65 | |||
66 | #include "mptbase.h" | ||
67 | #include "mptscsih.h" | ||
68 | |||
69 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
70 | #define my_NAME "Fusion MPT SPI Host driver" | ||
71 | #define my_VERSION MPT_LINUX_VERSION_COMMON | ||
72 | #define MYNAM "mptspi" | ||
73 | |||
74 | MODULE_AUTHOR(MODULEAUTHOR); | ||
75 | MODULE_DESCRIPTION(my_NAME); | ||
76 | MODULE_LICENSE("GPL"); | ||
77 | |||
78 | /* Command line args */ | ||
79 | #ifdef MPTSCSIH_ENABLE_DOMAIN_VALIDATION | ||
80 | static int mpt_dv = MPTSCSIH_DOMAIN_VALIDATION; | ||
81 | module_param(mpt_dv, int, 0); | ||
82 | MODULE_PARM_DESC(mpt_dv, " DV Algorithm: enhanced=1, basic=0 (default=MPTSCSIH_DOMAIN_VALIDATION=1)"); | ||
83 | |||
84 | static int mpt_width = MPTSCSIH_MAX_WIDTH; | ||
85 | module_param(mpt_width, int, 0); | ||
86 | MODULE_PARM_DESC(mpt_width, " Max Bus Width: wide=1, narrow=0 (default=MPTSCSIH_MAX_WIDTH=1)"); | ||
87 | |||
88 | static ushort mpt_factor = MPTSCSIH_MIN_SYNC; | ||
89 | module_param(mpt_factor, ushort, 0); | ||
90 | MODULE_PARM_DESC(mpt_factor, " Min Sync Factor (default=MPTSCSIH_MIN_SYNC=0x08)"); | ||
91 | #endif | ||
92 | |||
93 | static int mpt_saf_te = MPTSCSIH_SAF_TE; | ||
94 | module_param(mpt_saf_te, int, 0); | ||
95 | MODULE_PARM_DESC(mpt_saf_te, " Force enabling SEP Processor: enable=1 (default=MPTSCSIH_SAF_TE=0)"); | ||
96 | |||
97 | static int mpt_pq_filter = 0; | ||
98 | module_param(mpt_pq_filter, int, 0); | ||
99 | MODULE_PARM_DESC(mpt_pq_filter, " Enable peripheral qualifier filter: enable=1 (default=0)"); | ||
100 | |||
101 | static int mptspiDoneCtx = -1; | ||
102 | static int mptspiTaskCtx = -1; | ||
103 | static int mptspiInternalCtx = -1; /* Used only for internal commands */ | ||
104 | |||
105 | static struct device_attribute mptspi_queue_depth_attr = { | ||
106 | .attr = { | ||
107 | .name = "queue_depth", | ||
108 | .mode = S_IWUSR, | ||
109 | }, | ||
110 | .store = mptscsih_store_queue_depth, | ||
111 | }; | ||
112 | |||
113 | static struct device_attribute *mptspi_dev_attrs[] = { | ||
114 | &mptspi_queue_depth_attr, | ||
115 | NULL, | ||
116 | }; | ||
117 | |||
118 | static struct scsi_host_template mptspi_driver_template = { | ||
119 | .proc_name = "mptspi", | ||
120 | .proc_info = mptscsih_proc_info, | ||
121 | .name = "MPT SPI Host", | ||
122 | .info = mptscsih_info, | ||
123 | .queuecommand = mptscsih_qcmd, | ||
124 | .slave_alloc = mptscsih_slave_alloc, | ||
125 | .slave_configure = mptscsih_slave_configure, | ||
126 | .slave_destroy = mptscsih_slave_destroy, | ||
127 | .eh_abort_handler = mptscsih_abort, | ||
128 | .eh_device_reset_handler = mptscsih_dev_reset, | ||
129 | .eh_bus_reset_handler = mptscsih_bus_reset, | ||
130 | .eh_host_reset_handler = mptscsih_host_reset, | ||
131 | .bios_param = mptscsih_bios_param, | ||
132 | .can_queue = MPT_SCSI_CAN_QUEUE, | ||
133 | .this_id = -1, | ||
134 | .sg_tablesize = MPT_SCSI_SG_DEPTH, | ||
135 | .max_sectors = 8192, | ||
136 | .cmd_per_lun = 7, | ||
137 | .use_clustering = ENABLE_CLUSTERING, | ||
138 | .sdev_attrs = mptspi_dev_attrs, | ||
139 | }; | ||
140 | |||
141 | |||
142 | /**************************************************************************** | ||
143 | * Supported hardware | ||
144 | */ | ||
145 | |||
146 | static struct pci_device_id mptspi_pci_table[] = { | ||
147 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_53C1030, | ||
148 | PCI_ANY_ID, PCI_ANY_ID }, | ||
149 | { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_1030_53C1035, | ||
150 | PCI_ANY_ID, PCI_ANY_ID }, | ||
151 | {0} /* Terminating entry */ | ||
152 | }; | ||
153 | MODULE_DEVICE_TABLE(pci, mptspi_pci_table); | ||
154 | |||
155 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
156 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
157 | /* | ||
158 | * mptspi_probe - Installs scsi devices per bus. | ||
159 | * @pdev: Pointer to pci_dev structure | ||
160 | * | ||
161 | * Returns 0 for success, non-zero for failure. | ||
162 | * | ||
163 | */ | ||
164 | static int | ||
165 | mptspi_probe(struct pci_dev *pdev, const struct pci_device_id *id) | ||
166 | { | ||
167 | struct Scsi_Host *sh; | ||
168 | MPT_SCSI_HOST *hd; | ||
169 | MPT_ADAPTER *ioc; | ||
170 | unsigned long flags; | ||
171 | int sz, ii; | ||
172 | int numSGE = 0; | ||
173 | int scale; | ||
174 | int ioc_cap; | ||
175 | u8 *mem; | ||
176 | int error=0; | ||
177 | int r; | ||
178 | |||
179 | if ((r = mpt_attach(pdev,id)) != 0) | ||
180 | return r; | ||
181 | |||
182 | ioc = pci_get_drvdata(pdev); | ||
183 | ioc->DoneCtx = mptspiDoneCtx; | ||
184 | ioc->TaskCtx = mptspiTaskCtx; | ||
185 | ioc->InternalCtx = mptspiInternalCtx; | ||
186 | |||
187 | /* Added sanity check on readiness of the MPT adapter. | ||
188 | */ | ||
189 | if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) { | ||
190 | printk(MYIOC_s_WARN_FMT | ||
191 | "Skipping because it's not operational!\n", | ||
192 | ioc->name); | ||
193 | return -ENODEV; | ||
194 | } | ||
195 | |||
196 | if (!ioc->active) { | ||
197 | printk(MYIOC_s_WARN_FMT "Skipping because it's disabled!\n", | ||
198 | ioc->name); | ||
199 | return -ENODEV; | ||
200 | } | ||
201 | |||
202 | /* Sanity check - ensure at least 1 port is INITIATOR capable | ||
203 | */ | ||
204 | ioc_cap = 0; | ||
205 | for (ii=0; ii < ioc->facts.NumberOfPorts; ii++) { | ||
206 | if (ioc->pfacts[ii].ProtocolFlags & | ||
207 | MPI_PORTFACTS_PROTOCOL_INITIATOR) | ||
208 | ioc_cap ++; | ||
209 | } | ||
210 | |||
211 | if (!ioc_cap) { | ||
212 | printk(MYIOC_s_WARN_FMT | ||
213 | "Skipping ioc=%p because SCSI Initiator mode is NOT enabled!\n", | ||
214 | ioc->name, ioc); | ||
215 | return -ENODEV; | ||
216 | } | ||
217 | |||
218 | sh = scsi_host_alloc(&mptspi_driver_template, sizeof(MPT_SCSI_HOST)); | ||
219 | |||
220 | if (!sh) { | ||
221 | printk(MYIOC_s_WARN_FMT | ||
222 | "Unable to register controller with SCSI subsystem\n", | ||
223 | ioc->name); | ||
224 | return -1; | ||
225 | } | ||
226 | |||
227 | spin_lock_irqsave(&ioc->FreeQlock, flags); | ||
228 | |||
229 | /* Attach the SCSI Host to the IOC structure | ||
230 | */ | ||
231 | ioc->sh = sh; | ||
232 | |||
233 | sh->io_port = 0; | ||
234 | sh->n_io_port = 0; | ||
235 | sh->irq = 0; | ||
236 | |||
237 | /* set 16 byte cdb's */ | ||
238 | sh->max_cmd_len = 16; | ||
239 | |||
240 | /* Yikes! This is important! | ||
241 | * Otherwise, by default, linux | ||
242 | * only scans target IDs 0-7! | ||
243 | * pfactsN->MaxDevices unreliable | ||
244 | * (not supported in early | ||
245 | * versions of the FW). | ||
246 | * max_id = 1 + actual max id, | ||
247 | * max_lun = 1 + actual last lun, | ||
248 | * see hosts.h :o( | ||
249 | */ | ||
250 | sh->max_id = MPT_MAX_SCSI_DEVICES; | ||
251 | |||
252 | sh->max_lun = MPT_LAST_LUN + 1; | ||
253 | sh->max_channel = 0; | ||
254 | sh->this_id = ioc->pfacts[0].PortSCSIID; | ||
255 | |||
256 | /* Required entry. | ||
257 | */ | ||
258 | sh->unique_id = ioc->id; | ||
259 | |||
260 | /* Verify that we won't exceed the maximum | ||
261 | * number of chain buffers | ||
262 | * We can optimize: ZZ = req_sz/sizeof(SGE) | ||
263 | * For 32bit SGE's: | ||
264 | * numSGE = 1 + (ZZ-1)*(maxChain -1) + ZZ | ||
265 | * + (req_sz - 64)/sizeof(SGE) | ||
266 | * A slightly different algorithm is required for | ||
267 | * 64bit SGEs. | ||
268 | */ | ||
269 | scale = ioc->req_sz/(sizeof(dma_addr_t) + sizeof(u32)); | ||
270 | if (sizeof(dma_addr_t) == sizeof(u64)) { | ||
271 | numSGE = (scale - 1) * | ||
272 | (ioc->facts.MaxChainDepth-1) + scale + | ||
273 | (ioc->req_sz - 60) / (sizeof(dma_addr_t) + | ||
274 | sizeof(u32)); | ||
275 | } else { | ||
276 | numSGE = 1 + (scale - 1) * | ||
277 | (ioc->facts.MaxChainDepth-1) + scale + | ||
278 | (ioc->req_sz - 64) / (sizeof(dma_addr_t) + | ||
279 | sizeof(u32)); | ||
280 | } | ||
281 | |||
282 | if (numSGE < sh->sg_tablesize) { | ||
283 | /* Reset this value */ | ||
284 | dprintk((MYIOC_s_INFO_FMT | ||
285 | "Resetting sg_tablesize to %d from %d\n", | ||
286 | ioc->name, numSGE, sh->sg_tablesize)); | ||
287 | sh->sg_tablesize = numSGE; | ||
288 | } | ||
289 | |||
290 | /* Set the pci device pointer in Scsi_Host structure. | ||
291 | */ | ||
292 | scsi_set_device(sh, &ioc->pcidev->dev); | ||
293 | |||
294 | spin_unlock_irqrestore(&ioc->FreeQlock, flags); | ||
295 | |||
296 | hd = (MPT_SCSI_HOST *) sh->hostdata; | ||
297 | hd->ioc = ioc; | ||
298 | |||
299 | /* SCSI needs scsi_cmnd lookup table! | ||
300 | * (with size equal to req_depth*PtrSz!) | ||
301 | */ | ||
302 | sz = ioc->req_depth * sizeof(void *); | ||
303 | mem = kmalloc(sz, GFP_ATOMIC); | ||
304 | if (mem == NULL) { | ||
305 | error = -ENOMEM; | ||
306 | goto mptspi_probe_failed; | ||
307 | } | ||
308 | |||
309 | memset(mem, 0, sz); | ||
310 | hd->ScsiLookup = (struct scsi_cmnd **) mem; | ||
311 | |||
312 | dprintk((MYIOC_s_INFO_FMT "ScsiLookup @ %p, sz=%d\n", | ||
313 | ioc->name, hd->ScsiLookup, sz)); | ||
314 | |||
315 | /* Allocate memory for the device structures. | ||
316 | * A non-Null pointer at an offset | ||
317 | * indicates a device exists. | ||
318 | * max_id = 1 + maximum id (hosts.h) | ||
319 | */ | ||
320 | sz = sh->max_id * sizeof(void *); | ||
321 | mem = kmalloc(sz, GFP_ATOMIC); | ||
322 | if (mem == NULL) { | ||
323 | error = -ENOMEM; | ||
324 | goto mptspi_probe_failed; | ||
325 | } | ||
326 | |||
327 | memset(mem, 0, sz); | ||
328 | hd->Targets = (VirtDevice **) mem; | ||
329 | |||
330 | dprintk((KERN_INFO | ||
331 | " Targets @ %p, sz=%d\n", hd->Targets, sz)); | ||
332 | |||
333 | /* Clear the TM flags | ||
334 | */ | ||
335 | hd->tmPending = 0; | ||
336 | hd->tmState = TM_STATE_NONE; | ||
337 | hd->resetPending = 0; | ||
338 | hd->abortSCpnt = NULL; | ||
339 | |||
340 | /* Clear the pointer used to store | ||
341 | * single-threaded commands, i.e., those | ||
342 | * issued during a bus scan, dv and | ||
343 | * configuration pages. | ||
344 | */ | ||
345 | hd->cmdPtr = NULL; | ||
346 | |||
347 | /* Initialize this SCSI Hosts' timers | ||
348 | * To use, set the timer expires field | ||
349 | * and add_timer | ||
350 | */ | ||
351 | init_timer(&hd->timer); | ||
352 | hd->timer.data = (unsigned long) hd; | ||
353 | hd->timer.function = mptscsih_timer_expired; | ||
354 | |||
355 | ioc->spi_data.Saf_Te = mpt_saf_te; | ||
356 | hd->mpt_pq_filter = mpt_pq_filter; | ||
357 | |||
358 | #ifdef MPTSCSIH_ENABLE_DOMAIN_VALIDATION | ||
359 | if (ioc->spi_data.maxBusWidth > mpt_width) | ||
360 | ioc->spi_data.maxBusWidth = mpt_width; | ||
361 | if (ioc->spi_data.minSyncFactor < mpt_factor) | ||
362 | ioc->spi_data.minSyncFactor = mpt_factor; | ||
363 | if (ioc->spi_data.minSyncFactor == MPT_ASYNC) { | ||
364 | ioc->spi_data.maxSyncOffset = 0; | ||
365 | } | ||
366 | ioc->spi_data.mpt_dv = mpt_dv; | ||
367 | hd->negoNvram = 0; | ||
368 | |||
369 | ddvprintk((MYIOC_s_INFO_FMT | ||
370 | "dv %x width %x factor %x saf_te %x mpt_pq_filter %x\n", | ||
371 | ioc->name, | ||
372 | mpt_dv, | ||
373 | mpt_width, | ||
374 | mpt_factor, | ||
375 | mpt_saf_te, | ||
376 | mpt_pq_filter)); | ||
377 | #else | ||
378 | hd->negoNvram = MPT_SCSICFG_USE_NVRAM; | ||
379 | ddvprintk((MYIOC_s_INFO_FMT | ||
380 | "saf_te %x mpt_pq_filter %x\n", | ||
381 | ioc->name, | ||
382 | mpt_saf_te, | ||
383 | mpt_pq_filter)); | ||
384 | #endif | ||
385 | |||
386 | ioc->spi_data.forceDv = 0; | ||
387 | ioc->spi_data.noQas = 0; | ||
388 | |||
389 | for (ii=0; ii < MPT_MAX_SCSI_DEVICES; ii++) | ||
390 | ioc->spi_data.dvStatus[ii] = | ||
391 | MPT_SCSICFG_NEGOTIATE; | ||
392 | |||
393 | for (ii=0; ii < MPT_MAX_SCSI_DEVICES; ii++) | ||
394 | ioc->spi_data.dvStatus[ii] |= | ||
395 | MPT_SCSICFG_DV_NOT_DONE; | ||
396 | |||
397 | init_waitqueue_head(&hd->scandv_waitq); | ||
398 | hd->scandv_wait_done = 0; | ||
399 | hd->last_queue_full = 0; | ||
400 | |||
401 | error = scsi_add_host (sh, &ioc->pcidev->dev); | ||
402 | if(error) { | ||
403 | dprintk((KERN_ERR MYNAM | ||
404 | "scsi_add_host failed\n")); | ||
405 | goto mptspi_probe_failed; | ||
406 | } | ||
407 | |||
408 | scsi_scan_host(sh); | ||
409 | return 0; | ||
410 | |||
411 | mptspi_probe_failed: | ||
412 | |||
413 | mptscsih_remove(pdev); | ||
414 | return error; | ||
415 | } | ||
416 | |||
417 | static struct pci_driver mptspi_driver = { | ||
418 | .name = "mptspi", | ||
419 | .id_table = mptspi_pci_table, | ||
420 | .probe = mptspi_probe, | ||
421 | .remove = __devexit_p(mptscsih_remove), | ||
422 | .driver = { | ||
423 | .shutdown = mptscsih_shutdown, | ||
424 | }, | ||
425 | #ifdef CONFIG_PM | ||
426 | .suspend = mptscsih_suspend, | ||
427 | .resume = mptscsih_resume, | ||
428 | #endif | ||
429 | }; | ||
430 | |||
431 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
432 | /** | ||
433 | * mptspi_init - Register MPT adapter(s) as SCSI host(s) with | ||
434 | * linux scsi mid-layer. | ||
435 | * | ||
436 | * Returns 0 for success, non-zero for failure. | ||
437 | */ | ||
438 | static int __init | ||
439 | mptspi_init(void) | ||
440 | { | ||
441 | |||
442 | show_mptmod_ver(my_NAME, my_VERSION); | ||
443 | |||
444 | mptspiDoneCtx = mpt_register(mptscsih_io_done, MPTSPI_DRIVER); | ||
445 | mptspiTaskCtx = mpt_register(mptscsih_taskmgmt_complete, MPTSPI_DRIVER); | ||
446 | mptspiInternalCtx = mpt_register(mptscsih_scandv_complete, MPTSPI_DRIVER); | ||
447 | |||
448 | if (mpt_event_register(mptspiDoneCtx, mptscsih_event_process) == 0) { | ||
449 | devtprintk((KERN_INFO MYNAM | ||
450 | ": Registered for IOC event notifications\n")); | ||
451 | } | ||
452 | |||
453 | if (mpt_reset_register(mptspiDoneCtx, mptscsih_ioc_reset) == 0) { | ||
454 | dprintk((KERN_INFO MYNAM | ||
455 | ": Registered for IOC reset notifications\n")); | ||
456 | } | ||
457 | |||
458 | return pci_register_driver(&mptspi_driver); | ||
459 | } | ||
460 | |||
461 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
462 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
463 | /** | ||
464 | * mptspi_exit - Unregisters MPT adapter(s) | ||
465 | * | ||
466 | */ | ||
467 | static void __exit | ||
468 | mptspi_exit(void) | ||
469 | { | ||
470 | pci_unregister_driver(&mptspi_driver); | ||
471 | |||
472 | mpt_reset_deregister(mptspiDoneCtx); | ||
473 | dprintk((KERN_INFO MYNAM | ||
474 | ": Deregistered for IOC reset notifications\n")); | ||
475 | |||
476 | mpt_event_deregister(mptspiDoneCtx); | ||
477 | dprintk((KERN_INFO MYNAM | ||
478 | ": Deregistered for IOC event notifications\n")); | ||
479 | |||
480 | mpt_deregister(mptspiInternalCtx); | ||
481 | mpt_deregister(mptspiTaskCtx); | ||
482 | mpt_deregister(mptspiDoneCtx); | ||
483 | } | ||
484 | |||
485 | module_init(mptspi_init); | ||
486 | module_exit(mptspi_exit); | ||
diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c index 7b74c87b569e..4830b7759061 100644 --- a/drivers/message/i2o/i2o_block.c +++ b/drivers/message/i2o/i2o_block.c | |||
@@ -573,6 +573,7 @@ static int i2o_block_reply(struct i2o_controller *c, u32 m, | |||
573 | static void i2o_block_event(struct i2o_event *evt) | 573 | static void i2o_block_event(struct i2o_event *evt) |
574 | { | 574 | { |
575 | osm_info("block-osm: event received\n"); | 575 | osm_info("block-osm: event received\n"); |
576 | kfree(evt); | ||
576 | }; | 577 | }; |
577 | 578 | ||
578 | /* | 579 | /* |
diff --git a/drivers/net/irda/Kconfig b/drivers/net/irda/Kconfig index 1c553d7efdd9..ca5914091d3a 100644 --- a/drivers/net/irda/Kconfig +++ b/drivers/net/irda/Kconfig | |||
@@ -389,7 +389,7 @@ config VIA_FIR | |||
389 | help | 389 | help |
390 | Say Y here if you want to build support for the VIA VT8231 | 390 | Say Y here if you want to build support for the VIA VT8231 |
391 | and VIA VT1211 IrDA controllers, found on the motherboards using | 391 | and VIA VT1211 IrDA controllers, found on the motherboards using |
392 | those those VIA chipsets. To use this controller, you will need | 392 | those VIA chipsets. To use this controller, you will need |
393 | to plug a specific 5 pins FIR IrDA dongle in the specific | 393 | to plug a specific 5 pins FIR IrDA dongle in the specific |
394 | motherboard connector. The driver provides support for SIR, MIR | 394 | motherboard connector. The driver provides support for SIR, MIR |
395 | and FIR (4Mbps) speeds. | 395 | and FIR (4Mbps) speeds. |
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c index 13ed8dc1e91d..55af32e9bf08 100644 --- a/drivers/net/iseries_veth.c +++ b/drivers/net/iseries_veth.c | |||
@@ -802,13 +802,14 @@ static void veth_tx_timeout(struct net_device *dev) | |||
802 | 802 | ||
803 | spin_lock_irqsave(&port->pending_gate, flags); | 803 | spin_lock_irqsave(&port->pending_gate, flags); |
804 | 804 | ||
805 | if (!port->pending_lpmask) { | ||
806 | spin_unlock_irqrestore(&port->pending_gate, flags); | ||
807 | return; | ||
808 | } | ||
809 | |||
805 | printk(KERN_WARNING "%s: Tx timeout! Resetting lp connections: %08x\n", | 810 | printk(KERN_WARNING "%s: Tx timeout! Resetting lp connections: %08x\n", |
806 | dev->name, port->pending_lpmask); | 811 | dev->name, port->pending_lpmask); |
807 | 812 | ||
808 | /* If we've timed out the queue must be stopped, which should | ||
809 | * only ever happen when there is a pending packet. */ | ||
810 | WARN_ON(! port->pending_lpmask); | ||
811 | |||
812 | for (i = 0; i < HVMAXARCHITECTEDLPS; i++) { | 813 | for (i = 0; i < HVMAXARCHITECTEDLPS; i++) { |
813 | struct veth_lpar_connection *cnx = veth_cnx[i]; | 814 | struct veth_lpar_connection *cnx = veth_cnx[i]; |
814 | 815 | ||
diff --git a/drivers/net/pcmcia/3c574_cs.c b/drivers/net/pcmcia/3c574_cs.c index 41e517114807..c6e8b25f9685 100644 --- a/drivers/net/pcmcia/3c574_cs.c +++ b/drivers/net/pcmcia/3c574_cs.c | |||
@@ -1274,6 +1274,9 @@ static int el3_close(struct net_device *dev) | |||
1274 | spin_lock_irqsave(&lp->window_lock, flags); | 1274 | spin_lock_irqsave(&lp->window_lock, flags); |
1275 | update_stats(dev); | 1275 | update_stats(dev); |
1276 | spin_unlock_irqrestore(&lp->window_lock, flags); | 1276 | spin_unlock_irqrestore(&lp->window_lock, flags); |
1277 | |||
1278 | /* force interrupts off */ | ||
1279 | outw(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); | ||
1277 | } | 1280 | } |
1278 | 1281 | ||
1279 | link->open--; | 1282 | link->open--; |
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 882c59fe9f8d..ce449fe90e6d 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -435,7 +435,7 @@ struct rtl8169_private { | |||
435 | struct work_struct task; | 435 | struct work_struct task; |
436 | }; | 436 | }; |
437 | 437 | ||
438 | MODULE_AUTHOR("Realtek and the Linux r8169 crew <netdev@oss.sgi.com>"); | 438 | MODULE_AUTHOR("Realtek and the Linux r8169 crew <netdev@vger.kernel.org>"); |
439 | MODULE_DESCRIPTION("RealTek RTL-8169 Gigabit Ethernet driver"); | 439 | MODULE_DESCRIPTION("RealTek RTL-8169 Gigabit Ethernet driver"); |
440 | module_param_array(media, int, &num_media, 0); | 440 | module_param_array(media, int, &num_media, 0); |
441 | MODULE_PARM_DESC(media, "force phy operation. Deprecated by ethtool (8)."); | 441 | MODULE_PARM_DESC(media, "force phy operation. Deprecated by ethtool (8)."); |
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index fc9b5cd957aa..a0b8848049c9 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -7,7 +7,12 @@ | |||
7 | * Copyright (C) 2005 Broadcom Corporation. | 7 | * Copyright (C) 2005 Broadcom Corporation. |
8 | * | 8 | * |
9 | * Firmware is: | 9 | * Firmware is: |
10 | * Copyright (C) 2000-2003 Broadcom Corporation. | 10 | * Derived from proprietary unpublished source code, |
11 | * Copyright (C) 2000-2003 Broadcom Corporation. | ||
12 | * | ||
13 | * Permission is hereby granted for the distribution of this firmware | ||
14 | * data in hexadecimal or equivalent format, provided this copyright | ||
15 | * notice is accompanying it. | ||
11 | */ | 16 | */ |
12 | 17 | ||
13 | #include <linux/config.h> | 18 | #include <linux/config.h> |
@@ -61,8 +66,8 @@ | |||
61 | 66 | ||
62 | #define DRV_MODULE_NAME "tg3" | 67 | #define DRV_MODULE_NAME "tg3" |
63 | #define PFX DRV_MODULE_NAME ": " | 68 | #define PFX DRV_MODULE_NAME ": " |
64 | #define DRV_MODULE_VERSION "3.29" | 69 | #define DRV_MODULE_VERSION "3.31" |
65 | #define DRV_MODULE_RELDATE "May 23, 2005" | 70 | #define DRV_MODULE_RELDATE "June 8, 2005" |
66 | 71 | ||
67 | #define TG3_DEF_MAC_MODE 0 | 72 | #define TG3_DEF_MAC_MODE 0 |
68 | #define TG3_DEF_RX_MODE 0 | 73 | #define TG3_DEF_RX_MODE 0 |
@@ -8555,6 +8560,16 @@ static void __devinit tg3_get_eeprom_hw_cfg(struct tg3 *tp) | |||
8555 | 8560 | ||
8556 | case NIC_SRAM_DATA_CFG_LED_MODE_MAC: | 8561 | case NIC_SRAM_DATA_CFG_LED_MODE_MAC: |
8557 | tp->led_ctrl = LED_CTRL_MODE_MAC; | 8562 | tp->led_ctrl = LED_CTRL_MODE_MAC; |
8563 | |||
8564 | /* Default to PHY_1_MODE if 0 (MAC_MODE) is | ||
8565 | * read on some older 5700/5701 bootcode. | ||
8566 | */ | ||
8567 | if (GET_ASIC_REV(tp->pci_chip_rev_id) == | ||
8568 | ASIC_REV_5700 || | ||
8569 | GET_ASIC_REV(tp->pci_chip_rev_id) == | ||
8570 | ASIC_REV_5701) | ||
8571 | tp->led_ctrl = LED_CTRL_MODE_PHY_1; | ||
8572 | |||
8558 | break; | 8573 | break; |
8559 | 8574 | ||
8560 | case SHASTA_EXT_LED_SHARED: | 8575 | case SHASTA_EXT_LED_SHARED: |
@@ -9680,10 +9695,24 @@ static int __devinit tg3_test_dma(struct tg3 *tp) | |||
9680 | } | 9695 | } |
9681 | if ((tp->dma_rwctrl & DMA_RWCTRL_WRITE_BNDRY_MASK) != | 9696 | if ((tp->dma_rwctrl & DMA_RWCTRL_WRITE_BNDRY_MASK) != |
9682 | DMA_RWCTRL_WRITE_BNDRY_16) { | 9697 | DMA_RWCTRL_WRITE_BNDRY_16) { |
9698 | static struct pci_device_id dma_wait_state_chipsets[] = { | ||
9699 | { PCI_DEVICE(PCI_VENDOR_ID_APPLE, | ||
9700 | PCI_DEVICE_ID_APPLE_UNI_N_PCI15) }, | ||
9701 | { }, | ||
9702 | }; | ||
9703 | |||
9683 | /* DMA test passed without adjusting DMA boundary, | 9704 | /* DMA test passed without adjusting DMA boundary, |
9684 | * just restore the calculated DMA boundary | 9705 | * now look for chipsets that are known to expose the |
9706 | * DMA bug without failing the test. | ||
9685 | */ | 9707 | */ |
9686 | tp->dma_rwctrl = saved_dma_rwctrl; | 9708 | if (pci_dev_present(dma_wait_state_chipsets)) { |
9709 | tp->dma_rwctrl &= ~DMA_RWCTRL_WRITE_BNDRY_MASK; | ||
9710 | tp->dma_rwctrl |= DMA_RWCTRL_WRITE_BNDRY_16; | ||
9711 | } | ||
9712 | else | ||
9713 | /* Safe to use the calculated DMA boundary. */ | ||
9714 | tp->dma_rwctrl = saved_dma_rwctrl; | ||
9715 | |||
9687 | tw32(TG3PCI_DMA_RW_CTRL, tp->dma_rwctrl); | 9716 | tw32(TG3PCI_DMA_RW_CTRL, tp->dma_rwctrl); |
9688 | } | 9717 | } |
9689 | 9718 | ||
diff --git a/drivers/pci/hotplug/cpci_hotplug_core.c b/drivers/pci/hotplug/cpci_hotplug_core.c index 8132d946c384..30af105271a2 100644 --- a/drivers/pci/hotplug/cpci_hotplug_core.c +++ b/drivers/pci/hotplug/cpci_hotplug_core.c | |||
@@ -217,6 +217,8 @@ static void release_slot(struct hotplug_slot *hotplug_slot) | |||
217 | kfree(slot->hotplug_slot->info); | 217 | kfree(slot->hotplug_slot->info); |
218 | kfree(slot->hotplug_slot->name); | 218 | kfree(slot->hotplug_slot->name); |
219 | kfree(slot->hotplug_slot); | 219 | kfree(slot->hotplug_slot); |
220 | if (slot->dev) | ||
221 | pci_dev_put(slot->dev); | ||
220 | kfree(slot); | 222 | kfree(slot); |
221 | } | 223 | } |
222 | 224 | ||
diff --git a/drivers/pci/hotplug/cpci_hotplug_pci.c b/drivers/pci/hotplug/cpci_hotplug_pci.c index c878028ad215..225b5e551dd6 100644 --- a/drivers/pci/hotplug/cpci_hotplug_pci.c +++ b/drivers/pci/hotplug/cpci_hotplug_pci.c | |||
@@ -315,9 +315,12 @@ int cpci_unconfigure_slot(struct slot* slot) | |||
315 | PCI_DEVFN(PCI_SLOT(slot->devfn), i)); | 315 | PCI_DEVFN(PCI_SLOT(slot->devfn), i)); |
316 | if (dev) { | 316 | if (dev) { |
317 | pci_remove_bus_device(dev); | 317 | pci_remove_bus_device(dev); |
318 | slot->dev = NULL; | 318 | pci_dev_put(dev); |
319 | } | 319 | } |
320 | } | 320 | } |
321 | pci_dev_put(slot->dev); | ||
322 | slot->dev = NULL; | ||
323 | |||
321 | dbg("%s - exit", __FUNCTION__); | 324 | dbg("%s - exit", __FUNCTION__); |
322 | return 0; | 325 | return 0; |
323 | } | 326 | } |
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index fe98553c978f..f315df2005bc 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c | |||
@@ -393,7 +393,10 @@ int pci_register_driver(struct pci_driver *drv) | |||
393 | drv->driver.bus = &pci_bus_type; | 393 | drv->driver.bus = &pci_bus_type; |
394 | drv->driver.probe = pci_device_probe; | 394 | drv->driver.probe = pci_device_probe; |
395 | drv->driver.remove = pci_device_remove; | 395 | drv->driver.remove = pci_device_remove; |
396 | drv->driver.shutdown = pci_device_shutdown, | 396 | /* FIXME, once all of the existing PCI drivers have been fixed to set |
397 | * the pci shutdown function, this test can go away. */ | ||
398 | if (!drv->driver.shutdown) | ||
399 | drv->driver.shutdown = pci_device_shutdown, | ||
397 | drv->driver.owner = drv->owner; | 400 | drv->driver.owner = drv->owner; |
398 | drv->driver.kobj.ktype = &pci_driver_kobj_type; | 401 | drv->driver.kobj.ktype = &pci_driver_kobj_type; |
399 | pci_init_dynids(&drv->dynids); | 402 | pci_init_dynids(&drv->dynids); |
diff --git a/drivers/pci/pci.ids b/drivers/pci/pci.ids index 93481b41b613..1d2ef1e2ffc6 100644 --- a/drivers/pci/pci.ids +++ b/drivers/pci/pci.ids | |||
@@ -7173,6 +7173,7 @@ | |||
7173 | 080f Sentry5 DDR/SDR RAM Controller | 7173 | 080f Sentry5 DDR/SDR RAM Controller |
7174 | 0811 Sentry5 External Interface Core | 7174 | 0811 Sentry5 External Interface Core |
7175 | 0816 BCM3302 Sentry5 MIPS32 CPU | 7175 | 0816 BCM3302 Sentry5 MIPS32 CPU |
7176 | 1600 NetXtreme BCM5752 Gigabit Ethernet PCI Express | ||
7176 | 1644 NetXtreme BCM5700 Gigabit Ethernet | 7177 | 1644 NetXtreme BCM5700 Gigabit Ethernet |
7177 | 1014 0277 Broadcom Vigil B5700 1000Base-T | 7178 | 1014 0277 Broadcom Vigil B5700 1000Base-T |
7178 | 1028 00d1 Broadcom BCM5700 | 7179 | 1028 00d1 Broadcom BCM5700 |
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index b7ae87823c69..fd48b201eb53 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -125,7 +125,7 @@ static inline unsigned int pci_calc_resource_flags(unsigned int flags) | |||
125 | /* | 125 | /* |
126 | * Find the extent of a PCI decode.. | 126 | * Find the extent of a PCI decode.. |
127 | */ | 127 | */ |
128 | static u32 pci_size(u32 base, u32 maxbase, unsigned long mask) | 128 | static u32 pci_size(u32 base, u32 maxbase, u32 mask) |
129 | { | 129 | { |
130 | u32 size = mask & maxbase; /* Find the significant bits */ | 130 | u32 size = mask & maxbase; /* Find the significant bits */ |
131 | if (!size) | 131 | if (!size) |
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 637e9493034b..968033fd29f0 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
@@ -456,21 +456,16 @@ static void __init quirk_amd_8131_ioapic(struct pci_dev *dev) | |||
456 | } | 456 | } |
457 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8131_APIC, quirk_amd_8131_ioapic ); | 457 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8131_APIC, quirk_amd_8131_ioapic ); |
458 | 458 | ||
459 | static void __init quirk_svw_msi(struct pci_dev *dev) | ||
460 | { | ||
461 | pci_msi_quirk = 1; | ||
462 | printk(KERN_WARNING "PCI: MSI quirk detected. pci_msi_quirk set.\n"); | ||
463 | } | ||
464 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_GCNB_LE, quirk_svw_msi ); | ||
459 | #endif /* CONFIG_X86_IO_APIC */ | 465 | #endif /* CONFIG_X86_IO_APIC */ |
460 | 466 | ||
461 | 467 | ||
462 | /* | 468 | /* |
463 | * Via 686A/B: The PCI_INTERRUPT_LINE register for the on-chip | ||
464 | * devices, USB0/1, AC97, MC97, and ACPI, has an unusual feature: | ||
465 | * when written, it makes an internal connection to the PIC. | ||
466 | * For these devices, this register is defined to be 4 bits wide. | ||
467 | * Normally this is fine. However for IO-APIC motherboards, or | ||
468 | * non-x86 architectures (yes Via exists on PPC among other places), | ||
469 | * we must mask the PCI_INTERRUPT_LINE value versus 0xf to get | ||
470 | * interrupts delivered properly. | ||
471 | */ | ||
472 | |||
473 | /* | ||
474 | * FIXME: it is questionable that quirk_via_acpi | 469 | * FIXME: it is questionable that quirk_via_acpi |
475 | * is needed. It shows up as an ISA bridge, and does not | 470 | * is needed. It shows up as an ISA bridge, and does not |
476 | * support the PCI_INTERRUPT_LINE register at all. Therefore | 471 | * support the PCI_INTERRUPT_LINE register at all. Therefore |
@@ -492,28 +487,30 @@ static void __devinit quirk_via_acpi(struct pci_dev *d) | |||
492 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_3, quirk_via_acpi ); | 487 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_3, quirk_via_acpi ); |
493 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_4, quirk_via_acpi ); | 488 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_4, quirk_via_acpi ); |
494 | 489 | ||
495 | static void quirk_via_irqpic(struct pci_dev *dev) | 490 | /* |
491 | * Via 686A/B: The PCI_INTERRUPT_LINE register for the on-chip | ||
492 | * devices, USB0/1, AC97, MC97, and ACPI, has an unusual feature: | ||
493 | * when written, it makes an internal connection to the PIC. | ||
494 | * For these devices, this register is defined to be 4 bits wide. | ||
495 | * Normally this is fine. However for IO-APIC motherboards, or | ||
496 | * non-x86 architectures (yes Via exists on PPC among other places), | ||
497 | * we must mask the PCI_INTERRUPT_LINE value versus 0xf to get | ||
498 | * interrupts delivered properly. | ||
499 | */ | ||
500 | static void quirk_via_irq(struct pci_dev *dev) | ||
496 | { | 501 | { |
497 | u8 irq, new_irq; | 502 | u8 irq, new_irq; |
498 | 503 | ||
499 | #ifdef CONFIG_X86_IO_APIC | ||
500 | if (nr_ioapics && !skip_ioapic_setup) | ||
501 | return; | ||
502 | #endif | ||
503 | #ifdef CONFIG_ACPI | ||
504 | if (acpi_irq_model != ACPI_IRQ_MODEL_PIC) | ||
505 | return; | ||
506 | #endif | ||
507 | new_irq = dev->irq & 0xf; | 504 | new_irq = dev->irq & 0xf; |
508 | pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq); | 505 | pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq); |
509 | if (new_irq != irq) { | 506 | if (new_irq != irq) { |
510 | printk(KERN_INFO "PCI: Via PIC IRQ fixup for %s, from %d to %d\n", | 507 | printk(KERN_INFO "PCI: Via IRQ fixup for %s, from %d to %d\n", |
511 | pci_name(dev), irq, new_irq); | 508 | pci_name(dev), irq, new_irq); |
512 | udelay(15); /* unknown if delay really needed */ | 509 | udelay(15); /* unknown if delay really needed */ |
513 | pci_write_config_byte(dev, PCI_INTERRUPT_LINE, new_irq); | 510 | pci_write_config_byte(dev, PCI_INTERRUPT_LINE, new_irq); |
514 | } | 511 | } |
515 | } | 512 | } |
516 | DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_ANY_ID, quirk_via_irqpic); | 513 | DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_ANY_ID, quirk_via_irq); |
517 | 514 | ||
518 | /* | 515 | /* |
519 | * PIIX3 USB: We have to disable USB interrupts that are | 516 | * PIIX3 USB: We have to disable USB interrupts that are |
diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c index 68d151aaa474..e17b4d58a9f6 100644 --- a/drivers/s390/scsi/zfcp_aux.c +++ b/drivers/s390/scsi/zfcp_aux.c | |||
@@ -97,11 +97,6 @@ MODULE_PARM_DESC(loglevel, | |||
97 | "FC ERP QDIO CIO Config FSF SCSI Other, " | 97 | "FC ERP QDIO CIO Config FSF SCSI Other, " |
98 | "levels: 0=none 1=normal 2=devel 3=trace"); | 98 | "levels: 0=none 1=normal 2=devel 3=trace"); |
99 | 99 | ||
100 | #ifdef ZFCP_PRINT_FLAGS | ||
101 | u32 flags_dump = 0; | ||
102 | module_param(flags_dump, uint, 0); | ||
103 | #endif | ||
104 | |||
105 | /****************************************************************/ | 100 | /****************************************************************/ |
106 | /************** Functions without logging ***********************/ | 101 | /************** Functions without logging ***********************/ |
107 | /****************************************************************/ | 102 | /****************************************************************/ |
@@ -223,13 +218,20 @@ zfcp_in_els_dbf_event(struct zfcp_adapter *adapter, const char *text, | |||
223 | * Parse "device=..." parameter string. | 218 | * Parse "device=..." parameter string. |
224 | */ | 219 | */ |
225 | static int __init | 220 | static int __init |
226 | zfcp_device_setup(char *str) | 221 | zfcp_device_setup(char *devstr) |
227 | { | 222 | { |
228 | char *tmp; | 223 | char *tmp, *str; |
224 | size_t len; | ||
229 | 225 | ||
230 | if (!str) | 226 | if (!devstr) |
231 | return 0; | 227 | return 0; |
232 | 228 | ||
229 | len = strlen(devstr) + 1; | ||
230 | str = (char *) kmalloc(len, GFP_KERNEL); | ||
231 | if (!str) | ||
232 | goto err_out; | ||
233 | memcpy(str, devstr, len); | ||
234 | |||
233 | tmp = strchr(str, ','); | 235 | tmp = strchr(str, ','); |
234 | if (!tmp) | 236 | if (!tmp) |
235 | goto err_out; | 237 | goto err_out; |
@@ -246,10 +248,12 @@ zfcp_device_setup(char *str) | |||
246 | zfcp_data.init_fcp_lun = simple_strtoull(tmp, &tmp, 0); | 248 | zfcp_data.init_fcp_lun = simple_strtoull(tmp, &tmp, 0); |
247 | if (*tmp != '\0') | 249 | if (*tmp != '\0') |
248 | goto err_out; | 250 | goto err_out; |
251 | kfree(str); | ||
249 | return 1; | 252 | return 1; |
250 | 253 | ||
251 | err_out: | 254 | err_out: |
252 | ZFCP_LOG_NORMAL("Parse error for device parameter string %s\n", str); | 255 | ZFCP_LOG_NORMAL("Parse error for device parameter string %s\n", str); |
256 | kfree(str); | ||
253 | return 0; | 257 | return 0; |
254 | } | 258 | } |
255 | 259 | ||
@@ -525,7 +529,7 @@ zfcp_cfdc_dev_ioctl(struct file *file, unsigned int command, | |||
525 | 529 | ||
526 | out: | 530 | out: |
527 | if (fsf_req != NULL) | 531 | if (fsf_req != NULL) |
528 | zfcp_fsf_req_cleanup(fsf_req); | 532 | zfcp_fsf_req_free(fsf_req); |
529 | 533 | ||
530 | if ((adapter != NULL) && (retval != -ENXIO)) | 534 | if ((adapter != NULL) && (retval != -ENXIO)) |
531 | zfcp_adapter_put(adapter); | 535 | zfcp_adapter_put(adapter); |
@@ -1154,7 +1158,7 @@ zfcp_adapter_enqueue(struct ccw_device *ccw_device) | |||
1154 | INIT_LIST_HEAD(&adapter->port_remove_lh); | 1158 | INIT_LIST_HEAD(&adapter->port_remove_lh); |
1155 | 1159 | ||
1156 | /* initialize list of fsf requests */ | 1160 | /* initialize list of fsf requests */ |
1157 | rwlock_init(&adapter->fsf_req_list_lock); | 1161 | spin_lock_init(&adapter->fsf_req_list_lock); |
1158 | INIT_LIST_HEAD(&adapter->fsf_req_list_head); | 1162 | INIT_LIST_HEAD(&adapter->fsf_req_list_head); |
1159 | 1163 | ||
1160 | /* initialize abort lock */ | 1164 | /* initialize abort lock */ |
@@ -1239,9 +1243,9 @@ zfcp_adapter_dequeue(struct zfcp_adapter *adapter) | |||
1239 | zfcp_sysfs_adapter_remove_files(&adapter->ccw_device->dev); | 1243 | zfcp_sysfs_adapter_remove_files(&adapter->ccw_device->dev); |
1240 | dev_set_drvdata(&adapter->ccw_device->dev, NULL); | 1244 | dev_set_drvdata(&adapter->ccw_device->dev, NULL); |
1241 | /* sanity check: no pending FSF requests */ | 1245 | /* sanity check: no pending FSF requests */ |
1242 | read_lock_irqsave(&adapter->fsf_req_list_lock, flags); | 1246 | spin_lock_irqsave(&adapter->fsf_req_list_lock, flags); |
1243 | retval = !list_empty(&adapter->fsf_req_list_head); | 1247 | retval = !list_empty(&adapter->fsf_req_list_head); |
1244 | read_unlock_irqrestore(&adapter->fsf_req_list_lock, flags); | 1248 | spin_unlock_irqrestore(&adapter->fsf_req_list_lock, flags); |
1245 | if (retval) { | 1249 | if (retval) { |
1246 | ZFCP_LOG_NORMAL("bug: adapter %s (%p) still in use, " | 1250 | ZFCP_LOG_NORMAL("bug: adapter %s (%p) still in use, " |
1247 | "%i requests outstanding\n", | 1251 | "%i requests outstanding\n", |
@@ -1483,19 +1487,15 @@ zfcp_fsf_incoming_els_rscn(struct zfcp_adapter *adapter, | |||
1483 | fcp_rscn_element++; | 1487 | fcp_rscn_element++; |
1484 | switch (fcp_rscn_element->addr_format) { | 1488 | switch (fcp_rscn_element->addr_format) { |
1485 | case ZFCP_PORT_ADDRESS: | 1489 | case ZFCP_PORT_ADDRESS: |
1486 | ZFCP_LOG_FLAGS(1, "ZFCP_PORT_ADDRESS\n"); | ||
1487 | range_mask = ZFCP_PORTS_RANGE_PORT; | 1490 | range_mask = ZFCP_PORTS_RANGE_PORT; |
1488 | break; | 1491 | break; |
1489 | case ZFCP_AREA_ADDRESS: | 1492 | case ZFCP_AREA_ADDRESS: |
1490 | ZFCP_LOG_FLAGS(1, "ZFCP_AREA_ADDRESS\n"); | ||
1491 | range_mask = ZFCP_PORTS_RANGE_AREA; | 1493 | range_mask = ZFCP_PORTS_RANGE_AREA; |
1492 | break; | 1494 | break; |
1493 | case ZFCP_DOMAIN_ADDRESS: | 1495 | case ZFCP_DOMAIN_ADDRESS: |
1494 | ZFCP_LOG_FLAGS(1, "ZFCP_DOMAIN_ADDRESS\n"); | ||
1495 | range_mask = ZFCP_PORTS_RANGE_DOMAIN; | 1496 | range_mask = ZFCP_PORTS_RANGE_DOMAIN; |
1496 | break; | 1497 | break; |
1497 | case ZFCP_FABRIC_ADDRESS: | 1498 | case ZFCP_FABRIC_ADDRESS: |
1498 | ZFCP_LOG_FLAGS(1, "ZFCP_FABRIC_ADDRESS\n"); | ||
1499 | range_mask = ZFCP_PORTS_RANGE_FABRIC; | 1499 | range_mask = ZFCP_PORTS_RANGE_FABRIC; |
1500 | break; | 1500 | break; |
1501 | default: | 1501 | default: |
@@ -1762,7 +1762,10 @@ static void zfcp_ns_gid_pn_handler(unsigned long data) | |||
1762 | ct_iu_req = zfcp_sg_to_address(ct->req); | 1762 | ct_iu_req = zfcp_sg_to_address(ct->req); |
1763 | ct_iu_resp = zfcp_sg_to_address(ct->resp); | 1763 | ct_iu_resp = zfcp_sg_to_address(ct->resp); |
1764 | 1764 | ||
1765 | if ((ct->status != 0) || zfcp_check_ct_response(&ct_iu_resp->header)) { | 1765 | if (ct->status != 0) |
1766 | goto failed; | ||
1767 | |||
1768 | if (zfcp_check_ct_response(&ct_iu_resp->header)) { | ||
1766 | /* FIXME: do we need some specific erp entry points */ | 1769 | /* FIXME: do we need some specific erp entry points */ |
1767 | atomic_set_mask(ZFCP_STATUS_PORT_INVALID_WWPN, &port->status); | 1770 | atomic_set_mask(ZFCP_STATUS_PORT_INVALID_WWPN, &port->status); |
1768 | goto failed; | 1771 | goto failed; |
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index c5daf372f853..4103b5be7683 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -62,9 +62,6 @@ | |||
62 | #include <linux/syscalls.h> | 62 | #include <linux/syscalls.h> |
63 | #include <linux/ioctl.h> | 63 | #include <linux/ioctl.h> |
64 | 64 | ||
65 | /************************ DEBUG FLAGS *****************************************/ | ||
66 | |||
67 | #define ZFCP_PRINT_FLAGS | ||
68 | 65 | ||
69 | /********************* GENERAL DEFINES *********************************/ | 66 | /********************* GENERAL DEFINES *********************************/ |
70 | 67 | ||
@@ -152,8 +149,10 @@ typedef u32 scsi_lun_t; | |||
152 | #define FSF_QTCB_UNSOLICITED_STATUS 0x6305 | 149 | #define FSF_QTCB_UNSOLICITED_STATUS 0x6305 |
153 | #define ZFCP_STATUS_READ_FAILED_THRESHOLD 3 | 150 | #define ZFCP_STATUS_READ_FAILED_THRESHOLD 3 |
154 | #define ZFCP_STATUS_READS_RECOM FSF_STATUS_READS_RECOM | 151 | #define ZFCP_STATUS_READS_RECOM FSF_STATUS_READS_RECOM |
155 | #define ZFCP_EXCHANGE_CONFIG_DATA_RETRIES 6 | 152 | |
156 | #define ZFCP_EXCHANGE_CONFIG_DATA_SLEEP 50 | 153 | /* Do 1st retry in 1 second, then double the timeout for each following retry */ |
154 | #define ZFCP_EXCHANGE_CONFIG_DATA_FIRST_SLEEP 100 | ||
155 | #define ZFCP_EXCHANGE_CONFIG_DATA_RETRIES 7 | ||
157 | 156 | ||
158 | /* timeout value for "default timer" for fsf requests */ | 157 | /* timeout value for "default timer" for fsf requests */ |
159 | #define ZFCP_FSF_REQUEST_TIMEOUT (60*HZ); | 158 | #define ZFCP_FSF_REQUEST_TIMEOUT (60*HZ); |
@@ -472,17 +471,6 @@ do { \ | |||
472 | ZFCP_LOG(ZFCP_LOG_LEVEL_TRACE, fmt , ##args) | 471 | ZFCP_LOG(ZFCP_LOG_LEVEL_TRACE, fmt , ##args) |
473 | #endif | 472 | #endif |
474 | 473 | ||
475 | #ifndef ZFCP_PRINT_FLAGS | ||
476 | # define ZFCP_LOG_FLAGS(level, fmt, args...) | ||
477 | #else | ||
478 | extern u32 flags_dump; | ||
479 | # define ZFCP_LOG_FLAGS(level, fmt, args...) \ | ||
480 | do { \ | ||
481 | if (level <= flags_dump) \ | ||
482 | _ZFCP_LOG(fmt, ##args); \ | ||
483 | } while (0) | ||
484 | #endif | ||
485 | |||
486 | /*************** ADAPTER/PORT/UNIT AND FSF_REQ STATUS FLAGS ******************/ | 474 | /*************** ADAPTER/PORT/UNIT AND FSF_REQ STATUS FLAGS ******************/ |
487 | 475 | ||
488 | /* | 476 | /* |
@@ -502,6 +490,7 @@ do { \ | |||
502 | #define ZFCP_STATUS_COMMON_CLOSING 0x02000000 | 490 | #define ZFCP_STATUS_COMMON_CLOSING 0x02000000 |
503 | #define ZFCP_STATUS_COMMON_ERP_INUSE 0x01000000 | 491 | #define ZFCP_STATUS_COMMON_ERP_INUSE 0x01000000 |
504 | #define ZFCP_STATUS_COMMON_ACCESS_DENIED 0x00800000 | 492 | #define ZFCP_STATUS_COMMON_ACCESS_DENIED 0x00800000 |
493 | #define ZFCP_STATUS_COMMON_ACCESS_BOXED 0x00400000 | ||
505 | 494 | ||
506 | /* adapter status */ | 495 | /* adapter status */ |
507 | #define ZFCP_STATUS_ADAPTER_QDIOUP 0x00000002 | 496 | #define ZFCP_STATUS_ADAPTER_QDIOUP 0x00000002 |
@@ -763,6 +752,7 @@ typedef void (*zfcp_send_els_handler_t)(unsigned long); | |||
763 | /** | 752 | /** |
764 | * struct zfcp_send_els - used to pass parameters to function zfcp_fsf_send_els | 753 | * struct zfcp_send_els - used to pass parameters to function zfcp_fsf_send_els |
765 | * @adapter: adapter where request is sent from | 754 | * @adapter: adapter where request is sent from |
755 | * @port: port where ELS is destinated (port reference count has to be increased) | ||
766 | * @d_id: destiniation id of port where request is sent to | 756 | * @d_id: destiniation id of port where request is sent to |
767 | * @req: scatter-gather list for request | 757 | * @req: scatter-gather list for request |
768 | * @resp: scatter-gather list for response | 758 | * @resp: scatter-gather list for response |
@@ -777,6 +767,7 @@ typedef void (*zfcp_send_els_handler_t)(unsigned long); | |||
777 | */ | 767 | */ |
778 | struct zfcp_send_els { | 768 | struct zfcp_send_els { |
779 | struct zfcp_adapter *adapter; | 769 | struct zfcp_adapter *adapter; |
770 | struct zfcp_port *port; | ||
780 | fc_id_t d_id; | 771 | fc_id_t d_id; |
781 | struct scatterlist *req; | 772 | struct scatterlist *req; |
782 | struct scatterlist *resp; | 773 | struct scatterlist *resp; |
@@ -871,7 +862,7 @@ struct zfcp_adapter { | |||
871 | u32 ports; /* number of remote ports */ | 862 | u32 ports; /* number of remote ports */ |
872 | struct timer_list scsi_er_timer; /* SCSI err recovery watch */ | 863 | struct timer_list scsi_er_timer; /* SCSI err recovery watch */ |
873 | struct list_head fsf_req_list_head; /* head of FSF req list */ | 864 | struct list_head fsf_req_list_head; /* head of FSF req list */ |
874 | rwlock_t fsf_req_list_lock; /* lock for ops on list of | 865 | spinlock_t fsf_req_list_lock; /* lock for ops on list of |
875 | FSF requests */ | 866 | FSF requests */ |
876 | atomic_t fsf_reqs_active; /* # active FSF reqs */ | 867 | atomic_t fsf_reqs_active; /* # active FSF reqs */ |
877 | struct zfcp_qdio_queue request_queue; /* request queue */ | 868 | struct zfcp_qdio_queue request_queue; /* request queue */ |
diff --git a/drivers/s390/scsi/zfcp_erp.c b/drivers/s390/scsi/zfcp_erp.c index 53ebc1cdfe2d..0cf31f7d1c0f 100644 --- a/drivers/s390/scsi/zfcp_erp.c +++ b/drivers/s390/scsi/zfcp_erp.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | #include "zfcp_ext.h" | 36 | #include "zfcp_ext.h" |
37 | 37 | ||
38 | static int zfcp_erp_adisc(struct zfcp_adapter *, fc_id_t); | 38 | static int zfcp_erp_adisc(struct zfcp_port *); |
39 | static void zfcp_erp_adisc_handler(unsigned long); | 39 | static void zfcp_erp_adisc_handler(unsigned long); |
40 | 40 | ||
41 | static int zfcp_erp_adapter_reopen_internal(struct zfcp_adapter *, int); | 41 | static int zfcp_erp_adapter_reopen_internal(struct zfcp_adapter *, int); |
@@ -295,12 +295,12 @@ zfcp_erp_unit_shutdown(struct zfcp_unit *unit, int clear_mask) | |||
295 | 295 | ||
296 | /** | 296 | /** |
297 | * zfcp_erp_adisc - send ADISC ELS command | 297 | * zfcp_erp_adisc - send ADISC ELS command |
298 | * @adapter: adapter structure | 298 | * @port: port structure |
299 | * @d_id: d_id of port where ADISC is sent to | ||
300 | */ | 299 | */ |
301 | int | 300 | int |
302 | zfcp_erp_adisc(struct zfcp_adapter *adapter, fc_id_t d_id) | 301 | zfcp_erp_adisc(struct zfcp_port *port) |
303 | { | 302 | { |
303 | struct zfcp_adapter *adapter = port->adapter; | ||
304 | struct zfcp_send_els *send_els; | 304 | struct zfcp_send_els *send_els; |
305 | struct zfcp_ls_adisc *adisc; | 305 | struct zfcp_ls_adisc *adisc; |
306 | void *address = NULL; | 306 | void *address = NULL; |
@@ -332,7 +332,8 @@ zfcp_erp_adisc(struct zfcp_adapter *adapter, fc_id_t d_id) | |||
332 | send_els->req_count = send_els->resp_count = 1; | 332 | send_els->req_count = send_els->resp_count = 1; |
333 | 333 | ||
334 | send_els->adapter = adapter; | 334 | send_els->adapter = adapter; |
335 | send_els->d_id = d_id; | 335 | send_els->port = port; |
336 | send_els->d_id = port->d_id; | ||
336 | send_els->handler = zfcp_erp_adisc_handler; | 337 | send_els->handler = zfcp_erp_adisc_handler; |
337 | send_els->handler_data = (unsigned long) send_els; | 338 | send_els->handler_data = (unsigned long) send_els; |
338 | 339 | ||
@@ -350,7 +351,7 @@ zfcp_erp_adisc(struct zfcp_adapter *adapter, fc_id_t d_id) | |||
350 | ZFCP_LOG_INFO("ADISC request from s_id 0x%08x to d_id 0x%08x " | 351 | ZFCP_LOG_INFO("ADISC request from s_id 0x%08x to d_id 0x%08x " |
351 | "(wwpn=0x%016Lx, wwnn=0x%016Lx, " | 352 | "(wwpn=0x%016Lx, wwnn=0x%016Lx, " |
352 | "hard_nport_id=0x%08x, nport_id=0x%08x)\n", | 353 | "hard_nport_id=0x%08x, nport_id=0x%08x)\n", |
353 | adapter->s_id, d_id, (wwn_t) adisc->wwpn, | 354 | adapter->s_id, send_els->d_id, (wwn_t) adisc->wwpn, |
354 | (wwn_t) adisc->wwnn, adisc->hard_nport_id, | 355 | (wwn_t) adisc->wwnn, adisc->hard_nport_id, |
355 | adisc->nport_id); | 356 | adisc->nport_id); |
356 | 357 | ||
@@ -367,7 +368,7 @@ zfcp_erp_adisc(struct zfcp_adapter *adapter, fc_id_t d_id) | |||
367 | retval = zfcp_fsf_send_els(send_els); | 368 | retval = zfcp_fsf_send_els(send_els); |
368 | if (retval != 0) { | 369 | if (retval != 0) { |
369 | ZFCP_LOG_NORMAL("error: initiation of Send ELS failed for port " | 370 | ZFCP_LOG_NORMAL("error: initiation of Send ELS failed for port " |
370 | "0x%08x on adapter %s\n", d_id, | 371 | "0x%08x on adapter %s\n", send_els->d_id, |
371 | zfcp_get_busid_by_adapter(adapter)); | 372 | zfcp_get_busid_by_adapter(adapter)); |
372 | del_timer(send_els->timer); | 373 | del_timer(send_els->timer); |
373 | goto freemem; | 374 | goto freemem; |
@@ -411,14 +412,9 @@ zfcp_erp_adisc_handler(unsigned long data) | |||
411 | del_timer(send_els->timer); | 412 | del_timer(send_els->timer); |
412 | 413 | ||
413 | adapter = send_els->adapter; | 414 | adapter = send_els->adapter; |
415 | port = send_els->port; | ||
414 | d_id = send_els->d_id; | 416 | d_id = send_els->d_id; |
415 | 417 | ||
416 | read_lock(&zfcp_data.config_lock); | ||
417 | port = zfcp_get_port_by_did(send_els->adapter, send_els->d_id); | ||
418 | read_unlock(&zfcp_data.config_lock); | ||
419 | |||
420 | BUG_ON(port == NULL); | ||
421 | |||
422 | /* request rejected or timed out */ | 418 | /* request rejected or timed out */ |
423 | if (send_els->status != 0) { | 419 | if (send_els->status != 0) { |
424 | ZFCP_LOG_NORMAL("ELS request rejected/timed out, " | 420 | ZFCP_LOG_NORMAL("ELS request rejected/timed out, " |
@@ -482,7 +478,7 @@ zfcp_test_link(struct zfcp_port *port) | |||
482 | int retval; | 478 | int retval; |
483 | 479 | ||
484 | zfcp_port_get(port); | 480 | zfcp_port_get(port); |
485 | retval = zfcp_erp_adisc(port->adapter, port->d_id); | 481 | retval = zfcp_erp_adisc(port); |
486 | if (retval != 0) { | 482 | if (retval != 0) { |
487 | zfcp_port_put(port); | 483 | zfcp_port_put(port); |
488 | ZFCP_LOG_NORMAL("reopen needed for port 0x%016Lx " | 484 | ZFCP_LOG_NORMAL("reopen needed for port 0x%016Lx " |
@@ -895,7 +891,7 @@ zfcp_erp_strategy_check_fsfreq(struct zfcp_erp_action *erp_action) | |||
895 | 891 | ||
896 | if (erp_action->fsf_req) { | 892 | if (erp_action->fsf_req) { |
897 | /* take lock to ensure that request is not being deleted meanwhile */ | 893 | /* take lock to ensure that request is not being deleted meanwhile */ |
898 | write_lock(&adapter->fsf_req_list_lock); | 894 | spin_lock(&adapter->fsf_req_list_lock); |
899 | /* check whether fsf req does still exist */ | 895 | /* check whether fsf req does still exist */ |
900 | list_for_each_entry(fsf_req, &adapter->fsf_req_list_head, list) | 896 | list_for_each_entry(fsf_req, &adapter->fsf_req_list_head, list) |
901 | if (fsf_req == erp_action->fsf_req) | 897 | if (fsf_req == erp_action->fsf_req) |
@@ -938,7 +934,7 @@ zfcp_erp_strategy_check_fsfreq(struct zfcp_erp_action *erp_action) | |||
938 | */ | 934 | */ |
939 | erp_action->fsf_req = NULL; | 935 | erp_action->fsf_req = NULL; |
940 | } | 936 | } |
941 | write_unlock(&adapter->fsf_req_list_lock); | 937 | spin_unlock(&adapter->fsf_req_list_lock); |
942 | } else | 938 | } else |
943 | debug_text_event(adapter->erp_dbf, 3, "a_ca_noreq"); | 939 | debug_text_event(adapter->erp_dbf, 3, "a_ca_noreq"); |
944 | 940 | ||
@@ -2286,12 +2282,12 @@ zfcp_erp_adapter_strategy_open_fsf_xconfig(struct zfcp_erp_action *erp_action) | |||
2286 | { | 2282 | { |
2287 | int retval = ZFCP_ERP_SUCCEEDED; | 2283 | int retval = ZFCP_ERP_SUCCEEDED; |
2288 | int retries; | 2284 | int retries; |
2285 | int sleep = ZFCP_EXCHANGE_CONFIG_DATA_FIRST_SLEEP; | ||
2289 | struct zfcp_adapter *adapter = erp_action->adapter; | 2286 | struct zfcp_adapter *adapter = erp_action->adapter; |
2290 | 2287 | ||
2291 | atomic_clear_mask(ZFCP_STATUS_ADAPTER_XCONFIG_OK, &adapter->status); | 2288 | atomic_clear_mask(ZFCP_STATUS_ADAPTER_XCONFIG_OK, &adapter->status); |
2292 | retries = ZFCP_EXCHANGE_CONFIG_DATA_RETRIES; | ||
2293 | 2289 | ||
2294 | do { | 2290 | for (retries = ZFCP_EXCHANGE_CONFIG_DATA_RETRIES; retries; retries--) { |
2295 | atomic_clear_mask(ZFCP_STATUS_ADAPTER_HOST_CON_INIT, | 2291 | atomic_clear_mask(ZFCP_STATUS_ADAPTER_HOST_CON_INIT, |
2296 | &adapter->status); | 2292 | &adapter->status); |
2297 | ZFCP_LOG_DEBUG("Doing exchange config data\n"); | 2293 | ZFCP_LOG_DEBUG("Doing exchange config data\n"); |
@@ -2329,16 +2325,17 @@ zfcp_erp_adapter_strategy_open_fsf_xconfig(struct zfcp_erp_action *erp_action) | |||
2329 | zfcp_get_busid_by_adapter(adapter)); | 2325 | zfcp_get_busid_by_adapter(adapter)); |
2330 | break; | 2326 | break; |
2331 | } | 2327 | } |
2332 | if (atomic_test_mask(ZFCP_STATUS_ADAPTER_HOST_CON_INIT, | 2328 | |
2333 | &adapter->status)) { | 2329 | if (!atomic_test_mask(ZFCP_STATUS_ADAPTER_HOST_CON_INIT, |
2334 | ZFCP_LOG_DEBUG("host connection still initialising... " | 2330 | &adapter->status)) |
2335 | "waiting and retrying...\n"); | 2331 | break; |
2336 | /* sleep a little bit before retry */ | 2332 | |
2337 | msleep(jiffies_to_msecs(ZFCP_EXCHANGE_CONFIG_DATA_SLEEP)); | 2333 | ZFCP_LOG_DEBUG("host connection still initialising... " |
2338 | } | 2334 | "waiting and retrying...\n"); |
2339 | } while ((retries--) && | 2335 | /* sleep a little bit before retry */ |
2340 | atomic_test_mask(ZFCP_STATUS_ADAPTER_HOST_CON_INIT, | 2336 | msleep(jiffies_to_msecs(sleep)); |
2341 | &adapter->status)); | 2337 | sleep *= 2; |
2338 | } | ||
2342 | 2339 | ||
2343 | if (!atomic_test_mask(ZFCP_STATUS_ADAPTER_XCONFIG_OK, | 2340 | if (!atomic_test_mask(ZFCP_STATUS_ADAPTER_XCONFIG_OK, |
2344 | &adapter->status)) { | 2341 | &adapter->status)) { |
@@ -3485,6 +3482,45 @@ zfcp_erp_action_to_ready(struct zfcp_erp_action *erp_action) | |||
3485 | } | 3482 | } |
3486 | 3483 | ||
3487 | /* | 3484 | /* |
3485 | * function: zfcp_erp_port_boxed | ||
3486 | * | ||
3487 | * purpose: | ||
3488 | */ | ||
3489 | void | ||
3490 | zfcp_erp_port_boxed(struct zfcp_port *port) | ||
3491 | { | ||
3492 | struct zfcp_adapter *adapter = port->adapter; | ||
3493 | unsigned long flags; | ||
3494 | |||
3495 | debug_text_event(adapter->erp_dbf, 3, "p_access_boxed"); | ||
3496 | debug_event(adapter->erp_dbf, 3, &port->wwpn, sizeof(wwn_t)); | ||
3497 | read_lock_irqsave(&zfcp_data.config_lock, flags); | ||
3498 | zfcp_erp_modify_port_status(port, | ||
3499 | ZFCP_STATUS_COMMON_ACCESS_BOXED, | ||
3500 | ZFCP_SET); | ||
3501 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); | ||
3502 | zfcp_erp_port_reopen(port, ZFCP_STATUS_COMMON_ERP_FAILED); | ||
3503 | } | ||
3504 | |||
3505 | /* | ||
3506 | * function: zfcp_erp_unit_boxed | ||
3507 | * | ||
3508 | * purpose: | ||
3509 | */ | ||
3510 | void | ||
3511 | zfcp_erp_unit_boxed(struct zfcp_unit *unit) | ||
3512 | { | ||
3513 | struct zfcp_adapter *adapter = unit->port->adapter; | ||
3514 | |||
3515 | debug_text_event(adapter->erp_dbf, 3, "u_access_boxed"); | ||
3516 | debug_event(adapter->erp_dbf, 3, &unit->fcp_lun, sizeof(fcp_lun_t)); | ||
3517 | zfcp_erp_modify_unit_status(unit, | ||
3518 | ZFCP_STATUS_COMMON_ACCESS_BOXED, | ||
3519 | ZFCP_SET); | ||
3520 | zfcp_erp_unit_reopen(unit, ZFCP_STATUS_COMMON_ERP_FAILED); | ||
3521 | } | ||
3522 | |||
3523 | /* | ||
3488 | * function: zfcp_erp_port_access_denied | 3524 | * function: zfcp_erp_port_access_denied |
3489 | * | 3525 | * |
3490 | * purpose: | 3526 | * purpose: |
@@ -3495,11 +3531,13 @@ zfcp_erp_port_access_denied(struct zfcp_port *port) | |||
3495 | struct zfcp_adapter *adapter = port->adapter; | 3531 | struct zfcp_adapter *adapter = port->adapter; |
3496 | unsigned long flags; | 3532 | unsigned long flags; |
3497 | 3533 | ||
3498 | debug_text_event(adapter->erp_dbf, 3, "p_access_block"); | 3534 | debug_text_event(adapter->erp_dbf, 3, "p_access_denied"); |
3499 | debug_event(adapter->erp_dbf, 3, &port->wwpn, sizeof(wwn_t)); | 3535 | debug_event(adapter->erp_dbf, 3, &port->wwpn, sizeof(wwn_t)); |
3500 | read_lock_irqsave(&zfcp_data.config_lock, flags); | 3536 | read_lock_irqsave(&zfcp_data.config_lock, flags); |
3501 | zfcp_erp_modify_port_status(port, ZFCP_STATUS_COMMON_ERP_FAILED | | 3537 | zfcp_erp_modify_port_status(port, |
3502 | ZFCP_STATUS_COMMON_ACCESS_DENIED, ZFCP_SET); | 3538 | ZFCP_STATUS_COMMON_ERP_FAILED | |
3539 | ZFCP_STATUS_COMMON_ACCESS_DENIED, | ||
3540 | ZFCP_SET); | ||
3503 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); | 3541 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); |
3504 | } | 3542 | } |
3505 | 3543 | ||
@@ -3513,10 +3551,12 @@ zfcp_erp_unit_access_denied(struct zfcp_unit *unit) | |||
3513 | { | 3551 | { |
3514 | struct zfcp_adapter *adapter = unit->port->adapter; | 3552 | struct zfcp_adapter *adapter = unit->port->adapter; |
3515 | 3553 | ||
3516 | debug_text_event(adapter->erp_dbf, 3, "u_access_block"); | 3554 | debug_text_event(adapter->erp_dbf, 3, "u_access_denied"); |
3517 | debug_event(adapter->erp_dbf, 3, &unit->fcp_lun, sizeof(fcp_lun_t)); | 3555 | debug_event(adapter->erp_dbf, 3, &unit->fcp_lun, sizeof(fcp_lun_t)); |
3518 | zfcp_erp_modify_unit_status(unit, ZFCP_STATUS_COMMON_ERP_FAILED | | 3556 | zfcp_erp_modify_unit_status(unit, |
3519 | ZFCP_STATUS_COMMON_ACCESS_DENIED, ZFCP_SET); | 3557 | ZFCP_STATUS_COMMON_ERP_FAILED | |
3558 | ZFCP_STATUS_COMMON_ACCESS_DENIED, | ||
3559 | ZFCP_SET); | ||
3520 | } | 3560 | } |
3521 | 3561 | ||
3522 | /* | 3562 | /* |
@@ -3530,7 +3570,7 @@ zfcp_erp_adapter_access_changed(struct zfcp_adapter *adapter) | |||
3530 | struct zfcp_port *port; | 3570 | struct zfcp_port *port; |
3531 | unsigned long flags; | 3571 | unsigned long flags; |
3532 | 3572 | ||
3533 | debug_text_event(adapter->erp_dbf, 3, "a_access_unblock"); | 3573 | debug_text_event(adapter->erp_dbf, 3, "a_access_recover"); |
3534 | debug_event(adapter->erp_dbf, 3, &adapter->name, 8); | 3574 | debug_event(adapter->erp_dbf, 3, &adapter->name, 8); |
3535 | 3575 | ||
3536 | read_lock_irqsave(&zfcp_data.config_lock, flags); | 3576 | read_lock_irqsave(&zfcp_data.config_lock, flags); |
@@ -3553,10 +3593,12 @@ zfcp_erp_port_access_changed(struct zfcp_port *port) | |||
3553 | struct zfcp_adapter *adapter = port->adapter; | 3593 | struct zfcp_adapter *adapter = port->adapter; |
3554 | struct zfcp_unit *unit; | 3594 | struct zfcp_unit *unit; |
3555 | 3595 | ||
3556 | debug_text_event(adapter->erp_dbf, 3, "p_access_unblock"); | 3596 | debug_text_event(adapter->erp_dbf, 3, "p_access_recover"); |
3557 | debug_event(adapter->erp_dbf, 3, &port->wwpn, sizeof(wwn_t)); | 3597 | debug_event(adapter->erp_dbf, 3, &port->wwpn, sizeof(wwn_t)); |
3558 | 3598 | ||
3559 | if (!atomic_test_mask(ZFCP_STATUS_COMMON_ACCESS_DENIED, | 3599 | if (!atomic_test_mask(ZFCP_STATUS_COMMON_ACCESS_DENIED, |
3600 | &port->status) && | ||
3601 | !atomic_test_mask(ZFCP_STATUS_COMMON_ACCESS_BOXED, | ||
3560 | &port->status)) { | 3602 | &port->status)) { |
3561 | if (!atomic_test_mask(ZFCP_STATUS_PORT_WKA, &port->status)) | 3603 | if (!atomic_test_mask(ZFCP_STATUS_PORT_WKA, &port->status)) |
3562 | list_for_each_entry(unit, &port->unit_list_head, list) | 3604 | list_for_each_entry(unit, &port->unit_list_head, list) |
@@ -3583,10 +3625,13 @@ zfcp_erp_unit_access_changed(struct zfcp_unit *unit) | |||
3583 | { | 3625 | { |
3584 | struct zfcp_adapter *adapter = unit->port->adapter; | 3626 | struct zfcp_adapter *adapter = unit->port->adapter; |
3585 | 3627 | ||
3586 | debug_text_event(adapter->erp_dbf, 3, "u_access_unblock"); | 3628 | debug_text_event(adapter->erp_dbf, 3, "u_access_recover"); |
3587 | debug_event(adapter->erp_dbf, 3, &unit->fcp_lun, sizeof(fcp_lun_t)); | 3629 | debug_event(adapter->erp_dbf, 3, &unit->fcp_lun, sizeof(fcp_lun_t)); |
3588 | 3630 | ||
3589 | if (!atomic_test_mask(ZFCP_STATUS_COMMON_ACCESS_DENIED, &unit->status)) | 3631 | if (!atomic_test_mask(ZFCP_STATUS_COMMON_ACCESS_DENIED, |
3632 | &unit->status) && | ||
3633 | !atomic_test_mask(ZFCP_STATUS_COMMON_ACCESS_BOXED, | ||
3634 | &unit->status)) | ||
3590 | return; | 3635 | return; |
3591 | 3636 | ||
3592 | ZFCP_LOG_NORMAL("reopen of unit 0x%016Lx on port 0x%016Lx " | 3637 | ZFCP_LOG_NORMAL("reopen of unit 0x%016Lx on port 0x%016Lx " |
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index d5fd43352071..42df7e57eeae 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h | |||
@@ -116,7 +116,7 @@ extern int zfcp_fsf_send_fcp_command_task(struct zfcp_adapter *, | |||
116 | struct timer_list*, int); | 116 | struct timer_list*, int); |
117 | extern int zfcp_fsf_req_complete(struct zfcp_fsf_req *); | 117 | extern int zfcp_fsf_req_complete(struct zfcp_fsf_req *); |
118 | extern void zfcp_fsf_incoming_els(struct zfcp_fsf_req *); | 118 | extern void zfcp_fsf_incoming_els(struct zfcp_fsf_req *); |
119 | extern void zfcp_fsf_req_cleanup(struct zfcp_fsf_req *); | 119 | extern void zfcp_fsf_req_free(struct zfcp_fsf_req *); |
120 | extern struct zfcp_fsf_req *zfcp_fsf_send_fcp_command_task_management( | 120 | extern struct zfcp_fsf_req *zfcp_fsf_send_fcp_command_task_management( |
121 | struct zfcp_adapter *, struct zfcp_unit *, u8, int); | 121 | struct zfcp_adapter *, struct zfcp_unit *, u8, int); |
122 | extern struct zfcp_fsf_req *zfcp_fsf_abort_fcp_command( | 122 | extern struct zfcp_fsf_req *zfcp_fsf_abort_fcp_command( |
@@ -171,6 +171,8 @@ extern int zfcp_erp_async_handler(struct zfcp_erp_action *, unsigned long); | |||
171 | 171 | ||
172 | extern int zfcp_test_link(struct zfcp_port *); | 172 | extern int zfcp_test_link(struct zfcp_port *); |
173 | 173 | ||
174 | extern void zfcp_erp_port_boxed(struct zfcp_port *); | ||
175 | extern void zfcp_erp_unit_boxed(struct zfcp_unit *); | ||
174 | extern void zfcp_erp_port_access_denied(struct zfcp_port *); | 176 | extern void zfcp_erp_port_access_denied(struct zfcp_port *); |
175 | extern void zfcp_erp_unit_access_denied(struct zfcp_unit *); | 177 | extern void zfcp_erp_unit_access_denied(struct zfcp_unit *); |
176 | extern void zfcp_erp_adapter_access_changed(struct zfcp_adapter *); | 178 | extern void zfcp_erp_adapter_access_changed(struct zfcp_adapter *); |
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index 148b11c822bf..0d9f20edc490 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c | |||
@@ -61,7 +61,6 @@ static int zfcp_fsf_fsfstatus_eval(struct zfcp_fsf_req *); | |||
61 | static int zfcp_fsf_fsfstatus_qual_eval(struct zfcp_fsf_req *); | 61 | static int zfcp_fsf_fsfstatus_qual_eval(struct zfcp_fsf_req *); |
62 | static int zfcp_fsf_req_dispatch(struct zfcp_fsf_req *); | 62 | static int zfcp_fsf_req_dispatch(struct zfcp_fsf_req *); |
63 | static void zfcp_fsf_req_dismiss(struct zfcp_fsf_req *); | 63 | static void zfcp_fsf_req_dismiss(struct zfcp_fsf_req *); |
64 | static void zfcp_fsf_req_free(struct zfcp_fsf_req *); | ||
65 | 64 | ||
66 | /* association between FSF command and FSF QTCB type */ | 65 | /* association between FSF command and FSF QTCB type */ |
67 | static u32 fsf_qtcb_type[] = { | 66 | static u32 fsf_qtcb_type[] = { |
@@ -149,13 +148,13 @@ zfcp_fsf_req_alloc(mempool_t *pool, int req_flags) | |||
149 | * | 148 | * |
150 | * locks: none | 149 | * locks: none |
151 | */ | 150 | */ |
152 | static void | 151 | void |
153 | zfcp_fsf_req_free(struct zfcp_fsf_req *fsf_req) | 152 | zfcp_fsf_req_free(struct zfcp_fsf_req *fsf_req) |
154 | { | 153 | { |
155 | if (likely(fsf_req->pool != NULL)) | 154 | if (likely(fsf_req->pool != NULL)) |
156 | mempool_free(fsf_req, fsf_req->pool); | 155 | mempool_free(fsf_req, fsf_req->pool); |
157 | else | 156 | else |
158 | kfree(fsf_req); | 157 | kfree(fsf_req); |
159 | } | 158 | } |
160 | 159 | ||
161 | /* | 160 | /* |
@@ -170,30 +169,21 @@ zfcp_fsf_req_free(struct zfcp_fsf_req *fsf_req) | |||
170 | int | 169 | int |
171 | zfcp_fsf_req_dismiss_all(struct zfcp_adapter *adapter) | 170 | zfcp_fsf_req_dismiss_all(struct zfcp_adapter *adapter) |
172 | { | 171 | { |
173 | int retval = 0; | ||
174 | struct zfcp_fsf_req *fsf_req, *tmp; | 172 | struct zfcp_fsf_req *fsf_req, *tmp; |
173 | unsigned long flags; | ||
174 | LIST_HEAD(remove_queue); | ||
175 | 175 | ||
176 | list_for_each_entry_safe(fsf_req, tmp, &adapter->fsf_req_list_head, | 176 | spin_lock_irqsave(&adapter->fsf_req_list_lock, flags); |
177 | list) | 177 | list_splice_init(&adapter->fsf_req_list_head, &remove_queue); |
178 | zfcp_fsf_req_dismiss(fsf_req); | 178 | atomic_set(&adapter->fsf_reqs_active, 0); |
179 | /* wait_event_timeout? */ | 179 | spin_unlock_irqrestore(&adapter->fsf_req_list_lock, flags); |
180 | while (!list_empty(&adapter->fsf_req_list_head)) { | ||
181 | ZFCP_LOG_DEBUG("fsf req list of adapter %s not yet empty\n", | ||
182 | zfcp_get_busid_by_adapter(adapter)); | ||
183 | /* wait for woken intiators to clean up their requests */ | ||
184 | msleep(jiffies_to_msecs(ZFCP_FSFREQ_CLEANUP_TIMEOUT)); | ||
185 | } | ||
186 | 180 | ||
187 | /* consistency check */ | 181 | list_for_each_entry_safe(fsf_req, tmp, &remove_queue, list) { |
188 | if (atomic_read(&adapter->fsf_reqs_active)) { | 182 | list_del(&fsf_req->list); |
189 | ZFCP_LOG_NORMAL("bug: There are still %d FSF requests pending " | 183 | zfcp_fsf_req_dismiss(fsf_req); |
190 | "on adapter %s after cleanup.\n", | ||
191 | atomic_read(&adapter->fsf_reqs_active), | ||
192 | zfcp_get_busid_by_adapter(adapter)); | ||
193 | atomic_set(&adapter->fsf_reqs_active, 0); | ||
194 | } | 184 | } |
195 | 185 | ||
196 | return retval; | 186 | return 0; |
197 | } | 187 | } |
198 | 188 | ||
199 | /* | 189 | /* |
@@ -226,10 +216,6 @@ zfcp_fsf_req_complete(struct zfcp_fsf_req *fsf_req) | |||
226 | { | 216 | { |
227 | int retval = 0; | 217 | int retval = 0; |
228 | int cleanup; | 218 | int cleanup; |
229 | struct zfcp_adapter *adapter = fsf_req->adapter; | ||
230 | |||
231 | /* do some statistics */ | ||
232 | atomic_dec(&adapter->fsf_reqs_active); | ||
233 | 219 | ||
234 | if (unlikely(fsf_req->fsf_command == FSF_QTCB_UNSOLICITED_STATUS)) { | 220 | if (unlikely(fsf_req->fsf_command == FSF_QTCB_UNSOLICITED_STATUS)) { |
235 | ZFCP_LOG_DEBUG("Status read response received\n"); | 221 | ZFCP_LOG_DEBUG("Status read response received\n"); |
@@ -260,7 +246,7 @@ zfcp_fsf_req_complete(struct zfcp_fsf_req *fsf_req) | |||
260 | * lock must not be held here since it will be | 246 | * lock must not be held here since it will be |
261 | * grabed by the called routine, too | 247 | * grabed by the called routine, too |
262 | */ | 248 | */ |
263 | zfcp_fsf_req_cleanup(fsf_req); | 249 | zfcp_fsf_req_free(fsf_req); |
264 | } else { | 250 | } else { |
265 | /* notify initiator waiting for the requests completion */ | 251 | /* notify initiator waiting for the requests completion */ |
266 | ZFCP_LOG_TRACE("waking initiator of FSF request %p\n",fsf_req); | 252 | ZFCP_LOG_TRACE("waking initiator of FSF request %p\n",fsf_req); |
@@ -346,15 +332,10 @@ zfcp_fsf_protstatus_eval(struct zfcp_fsf_req *fsf_req) | |||
346 | switch (fsf_req->qtcb->prefix.prot_status) { | 332 | switch (fsf_req->qtcb->prefix.prot_status) { |
347 | 333 | ||
348 | case FSF_PROT_GOOD: | 334 | case FSF_PROT_GOOD: |
349 | ZFCP_LOG_TRACE("FSF_PROT_GOOD\n"); | ||
350 | break; | ||
351 | |||
352 | case FSF_PROT_FSF_STATUS_PRESENTED: | 335 | case FSF_PROT_FSF_STATUS_PRESENTED: |
353 | ZFCP_LOG_TRACE("FSF_PROT_FSF_STATUS_PRESENTED\n"); | ||
354 | break; | 336 | break; |
355 | 337 | ||
356 | case FSF_PROT_QTCB_VERSION_ERROR: | 338 | case FSF_PROT_QTCB_VERSION_ERROR: |
357 | ZFCP_LOG_FLAGS(0, "FSF_PROT_QTCB_VERSION_ERROR\n"); | ||
358 | ZFCP_LOG_NORMAL("error: The adapter %s contains " | 339 | ZFCP_LOG_NORMAL("error: The adapter %s contains " |
359 | "microcode of version 0x%x, the device driver " | 340 | "microcode of version 0x%x, the device driver " |
360 | "only supports 0x%x. Aborting.\n", | 341 | "only supports 0x%x. Aborting.\n", |
@@ -371,7 +352,6 @@ zfcp_fsf_protstatus_eval(struct zfcp_fsf_req *fsf_req) | |||
371 | break; | 352 | break; |
372 | 353 | ||
373 | case FSF_PROT_SEQ_NUMB_ERROR: | 354 | case FSF_PROT_SEQ_NUMB_ERROR: |
374 | ZFCP_LOG_FLAGS(0, "FSF_PROT_SEQ_NUMB_ERROR\n"); | ||
375 | ZFCP_LOG_NORMAL("bug: Sequence number mismatch between " | 355 | ZFCP_LOG_NORMAL("bug: Sequence number mismatch between " |
376 | "driver (0x%x) and adapter %s (0x%x). " | 356 | "driver (0x%x) and adapter %s (0x%x). " |
377 | "Restarting all operations on this adapter.\n", | 357 | "Restarting all operations on this adapter.\n", |
@@ -390,7 +370,6 @@ zfcp_fsf_protstatus_eval(struct zfcp_fsf_req *fsf_req) | |||
390 | break; | 370 | break; |
391 | 371 | ||
392 | case FSF_PROT_UNSUPP_QTCB_TYPE: | 372 | case FSF_PROT_UNSUPP_QTCB_TYPE: |
393 | ZFCP_LOG_FLAGS(0, "FSF_PROT_UNSUP_QTCB_TYPE\n"); | ||
394 | ZFCP_LOG_NORMAL("error: Packet header type used by the " | 373 | ZFCP_LOG_NORMAL("error: Packet header type used by the " |
395 | "device driver is incompatible with " | 374 | "device driver is incompatible with " |
396 | "that used on adapter %s. " | 375 | "that used on adapter %s. " |
@@ -405,7 +384,6 @@ zfcp_fsf_protstatus_eval(struct zfcp_fsf_req *fsf_req) | |||
405 | break; | 384 | break; |
406 | 385 | ||
407 | case FSF_PROT_HOST_CONNECTION_INITIALIZING: | 386 | case FSF_PROT_HOST_CONNECTION_INITIALIZING: |
408 | ZFCP_LOG_FLAGS(1, "FSF_PROT_HOST_CONNECTION_INITIALIZING\n"); | ||
409 | zfcp_cmd_dbf_event_fsf("hconinit", fsf_req, | 387 | zfcp_cmd_dbf_event_fsf("hconinit", fsf_req, |
410 | &fsf_req->qtcb->prefix.prot_status_qual, | 388 | &fsf_req->qtcb->prefix.prot_status_qual, |
411 | sizeof (union fsf_prot_status_qual)); | 389 | sizeof (union fsf_prot_status_qual)); |
@@ -416,7 +394,6 @@ zfcp_fsf_protstatus_eval(struct zfcp_fsf_req *fsf_req) | |||
416 | break; | 394 | break; |
417 | 395 | ||
418 | case FSF_PROT_DUPLICATE_REQUEST_ID: | 396 | case FSF_PROT_DUPLICATE_REQUEST_ID: |
419 | ZFCP_LOG_FLAGS(0, "FSF_PROT_DUPLICATE_REQUEST_IDS\n"); | ||
420 | if (fsf_req->qtcb) { | 397 | if (fsf_req->qtcb) { |
421 | ZFCP_LOG_NORMAL("bug: The request identifier 0x%Lx " | 398 | ZFCP_LOG_NORMAL("bug: The request identifier 0x%Lx " |
422 | "to the adapter %s is ambiguous. " | 399 | "to the adapter %s is ambiguous. " |
@@ -445,7 +422,6 @@ zfcp_fsf_protstatus_eval(struct zfcp_fsf_req *fsf_req) | |||
445 | break; | 422 | break; |
446 | 423 | ||
447 | case FSF_PROT_LINK_DOWN: | 424 | case FSF_PROT_LINK_DOWN: |
448 | ZFCP_LOG_FLAGS(1, "FSF_PROT_LINK_DOWN\n"); | ||
449 | /* | 425 | /* |
450 | * 'test and set' is not atomic here - | 426 | * 'test and set' is not atomic here - |
451 | * it's ok as long as calls to our response queue handler | 427 | * it's ok as long as calls to our response queue handler |
@@ -502,13 +478,11 @@ zfcp_fsf_protstatus_eval(struct zfcp_fsf_req *fsf_req) | |||
502 | ZFCP_STATUS_COMMON_ERP_FAILED, | 478 | ZFCP_STATUS_COMMON_ERP_FAILED, |
503 | &adapter->status); | 479 | &adapter->status); |
504 | zfcp_erp_adapter_reopen(adapter, 0); | 480 | zfcp_erp_adapter_reopen(adapter, 0); |
505 | debug_text_event(adapter->erp_dbf, 1, "prot_link_down"); | ||
506 | } | 481 | } |
507 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 482 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
508 | break; | 483 | break; |
509 | 484 | ||
510 | case FSF_PROT_REEST_QUEUE: | 485 | case FSF_PROT_REEST_QUEUE: |
511 | ZFCP_LOG_FLAGS(1, "FSF_PROT_REEST_QUEUE\n"); | ||
512 | debug_text_event(adapter->erp_dbf, 1, "prot_reest_queue"); | 486 | debug_text_event(adapter->erp_dbf, 1, "prot_reest_queue"); |
513 | ZFCP_LOG_INFO("The local link to adapter with " | 487 | ZFCP_LOG_INFO("The local link to adapter with " |
514 | "%s was re-plugged. " | 488 | "%s was re-plugged. " |
@@ -528,7 +502,6 @@ zfcp_fsf_protstatus_eval(struct zfcp_fsf_req *fsf_req) | |||
528 | break; | 502 | break; |
529 | 503 | ||
530 | case FSF_PROT_ERROR_STATE: | 504 | case FSF_PROT_ERROR_STATE: |
531 | ZFCP_LOG_FLAGS(0, "FSF_PROT_ERROR_STATE\n"); | ||
532 | ZFCP_LOG_NORMAL("error: The adapter %s " | 505 | ZFCP_LOG_NORMAL("error: The adapter %s " |
533 | "has entered the error state. " | 506 | "has entered the error state. " |
534 | "Restarting all operations on this " | 507 | "Restarting all operations on this " |
@@ -589,7 +562,6 @@ zfcp_fsf_fsfstatus_eval(struct zfcp_fsf_req *fsf_req) | |||
589 | /* evaluate FSF Status */ | 562 | /* evaluate FSF Status */ |
590 | switch (fsf_req->qtcb->header.fsf_status) { | 563 | switch (fsf_req->qtcb->header.fsf_status) { |
591 | case FSF_UNKNOWN_COMMAND: | 564 | case FSF_UNKNOWN_COMMAND: |
592 | ZFCP_LOG_FLAGS(0, "FSF_UNKNOWN_COMMAND\n"); | ||
593 | ZFCP_LOG_NORMAL("bug: Command issued by the device driver is " | 565 | ZFCP_LOG_NORMAL("bug: Command issued by the device driver is " |
594 | "not known by the adapter %s " | 566 | "not known by the adapter %s " |
595 | "Stopping all operations on this adapter. " | 567 | "Stopping all operations on this adapter. " |
@@ -606,14 +578,12 @@ zfcp_fsf_fsfstatus_eval(struct zfcp_fsf_req *fsf_req) | |||
606 | break; | 578 | break; |
607 | 579 | ||
608 | case FSF_FCP_RSP_AVAILABLE: | 580 | case FSF_FCP_RSP_AVAILABLE: |
609 | ZFCP_LOG_FLAGS(2, "FSF_FCP_RSP_AVAILABLE\n"); | ||
610 | ZFCP_LOG_DEBUG("FCP Sense data will be presented to the " | 581 | ZFCP_LOG_DEBUG("FCP Sense data will be presented to the " |
611 | "SCSI stack.\n"); | 582 | "SCSI stack.\n"); |
612 | debug_text_event(fsf_req->adapter->erp_dbf, 3, "fsf_s_rsp"); | 583 | debug_text_event(fsf_req->adapter->erp_dbf, 3, "fsf_s_rsp"); |
613 | break; | 584 | break; |
614 | 585 | ||
615 | case FSF_ADAPTER_STATUS_AVAILABLE: | 586 | case FSF_ADAPTER_STATUS_AVAILABLE: |
616 | ZFCP_LOG_FLAGS(2, "FSF_ADAPTER_STATUS_AVAILABLE\n"); | ||
617 | debug_text_event(fsf_req->adapter->erp_dbf, 2, "fsf_s_astatus"); | 587 | debug_text_event(fsf_req->adapter->erp_dbf, 2, "fsf_s_astatus"); |
618 | zfcp_fsf_fsfstatus_qual_eval(fsf_req); | 588 | zfcp_fsf_fsfstatus_qual_eval(fsf_req); |
619 | break; | 589 | break; |
@@ -647,11 +617,9 @@ zfcp_fsf_fsfstatus_qual_eval(struct zfcp_fsf_req *fsf_req) | |||
647 | 617 | ||
648 | switch (fsf_req->qtcb->header.fsf_status_qual.word[0]) { | 618 | switch (fsf_req->qtcb->header.fsf_status_qual.word[0]) { |
649 | case FSF_SQ_FCP_RSP_AVAILABLE: | 619 | case FSF_SQ_FCP_RSP_AVAILABLE: |
650 | ZFCP_LOG_FLAGS(2, "FSF_SQ_FCP_RSP_AVAILABLE\n"); | ||
651 | debug_text_event(fsf_req->adapter->erp_dbf, 4, "fsf_sq_rsp"); | 620 | debug_text_event(fsf_req->adapter->erp_dbf, 4, "fsf_sq_rsp"); |
652 | break; | 621 | break; |
653 | case FSF_SQ_RETRY_IF_POSSIBLE: | 622 | case FSF_SQ_RETRY_IF_POSSIBLE: |
654 | ZFCP_LOG_FLAGS(2, "FSF_SQ_RETRY_IF_POSSIBLE\n"); | ||
655 | /* The SCSI-stack may now issue retries or escalate */ | 623 | /* The SCSI-stack may now issue retries or escalate */ |
656 | debug_text_event(fsf_req->adapter->erp_dbf, 2, "fsf_sq_retry"); | 624 | debug_text_event(fsf_req->adapter->erp_dbf, 2, "fsf_sq_retry"); |
657 | zfcp_cmd_dbf_event_fsf("sqretry", fsf_req, | 625 | zfcp_cmd_dbf_event_fsf("sqretry", fsf_req, |
@@ -660,7 +628,6 @@ zfcp_fsf_fsfstatus_qual_eval(struct zfcp_fsf_req *fsf_req) | |||
660 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 628 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
661 | break; | 629 | break; |
662 | case FSF_SQ_COMMAND_ABORTED: | 630 | case FSF_SQ_COMMAND_ABORTED: |
663 | ZFCP_LOG_FLAGS(2, "FSF_SQ_COMMAND_ABORTED\n"); | ||
664 | /* Carry the aborted state on to upper layer */ | 631 | /* Carry the aborted state on to upper layer */ |
665 | debug_text_event(fsf_req->adapter->erp_dbf, 2, "fsf_sq_abort"); | 632 | debug_text_event(fsf_req->adapter->erp_dbf, 2, "fsf_sq_abort"); |
666 | zfcp_cmd_dbf_event_fsf("sqabort", fsf_req, | 633 | zfcp_cmd_dbf_event_fsf("sqabort", fsf_req, |
@@ -670,7 +637,6 @@ zfcp_fsf_fsfstatus_qual_eval(struct zfcp_fsf_req *fsf_req) | |||
670 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 637 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
671 | break; | 638 | break; |
672 | case FSF_SQ_NO_RECOM: | 639 | case FSF_SQ_NO_RECOM: |
673 | ZFCP_LOG_FLAGS(0, "FSF_SQ_NO_RECOM\n"); | ||
674 | debug_text_exception(fsf_req->adapter->erp_dbf, 0, | 640 | debug_text_exception(fsf_req->adapter->erp_dbf, 0, |
675 | "fsf_sq_no_rec"); | 641 | "fsf_sq_no_rec"); |
676 | ZFCP_LOG_NORMAL("bug: No recommendation could be given for a" | 642 | ZFCP_LOG_NORMAL("bug: No recommendation could be given for a" |
@@ -684,7 +650,6 @@ zfcp_fsf_fsfstatus_qual_eval(struct zfcp_fsf_req *fsf_req) | |||
684 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 650 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
685 | break; | 651 | break; |
686 | case FSF_SQ_ULP_PROGRAMMING_ERROR: | 652 | case FSF_SQ_ULP_PROGRAMMING_ERROR: |
687 | ZFCP_LOG_FLAGS(0, "FSF_SQ_ULP_PROGRAMMING_ERROR\n"); | ||
688 | ZFCP_LOG_NORMAL("error: not enough SBALs for data transfer " | 653 | ZFCP_LOG_NORMAL("error: not enough SBALs for data transfer " |
689 | "(adapter %s)\n", | 654 | "(adapter %s)\n", |
690 | zfcp_get_busid_by_adapter(fsf_req->adapter)); | 655 | zfcp_get_busid_by_adapter(fsf_req->adapter)); |
@@ -740,72 +705,58 @@ zfcp_fsf_req_dispatch(struct zfcp_fsf_req *fsf_req) | |||
740 | switch (fsf_req->fsf_command) { | 705 | switch (fsf_req->fsf_command) { |
741 | 706 | ||
742 | case FSF_QTCB_FCP_CMND: | 707 | case FSF_QTCB_FCP_CMND: |
743 | ZFCP_LOG_FLAGS(3, "FSF_QTCB_FCP_CMND\n"); | ||
744 | zfcp_fsf_send_fcp_command_handler(fsf_req); | 708 | zfcp_fsf_send_fcp_command_handler(fsf_req); |
745 | break; | 709 | break; |
746 | 710 | ||
747 | case FSF_QTCB_ABORT_FCP_CMND: | 711 | case FSF_QTCB_ABORT_FCP_CMND: |
748 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_ABORT_FCP_CMND\n"); | ||
749 | zfcp_fsf_abort_fcp_command_handler(fsf_req); | 712 | zfcp_fsf_abort_fcp_command_handler(fsf_req); |
750 | break; | 713 | break; |
751 | 714 | ||
752 | case FSF_QTCB_SEND_GENERIC: | 715 | case FSF_QTCB_SEND_GENERIC: |
753 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_SEND_GENERIC\n"); | ||
754 | zfcp_fsf_send_ct_handler(fsf_req); | 716 | zfcp_fsf_send_ct_handler(fsf_req); |
755 | break; | 717 | break; |
756 | 718 | ||
757 | case FSF_QTCB_OPEN_PORT_WITH_DID: | 719 | case FSF_QTCB_OPEN_PORT_WITH_DID: |
758 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_OPEN_PORT_WITH_DID\n"); | ||
759 | zfcp_fsf_open_port_handler(fsf_req); | 720 | zfcp_fsf_open_port_handler(fsf_req); |
760 | break; | 721 | break; |
761 | 722 | ||
762 | case FSF_QTCB_OPEN_LUN: | 723 | case FSF_QTCB_OPEN_LUN: |
763 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_OPEN_LUN\n"); | ||
764 | zfcp_fsf_open_unit_handler(fsf_req); | 724 | zfcp_fsf_open_unit_handler(fsf_req); |
765 | break; | 725 | break; |
766 | 726 | ||
767 | case FSF_QTCB_CLOSE_LUN: | 727 | case FSF_QTCB_CLOSE_LUN: |
768 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_CLOSE_LUN\n"); | ||
769 | zfcp_fsf_close_unit_handler(fsf_req); | 728 | zfcp_fsf_close_unit_handler(fsf_req); |
770 | break; | 729 | break; |
771 | 730 | ||
772 | case FSF_QTCB_CLOSE_PORT: | 731 | case FSF_QTCB_CLOSE_PORT: |
773 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_CLOSE_PORT\n"); | ||
774 | zfcp_fsf_close_port_handler(fsf_req); | 732 | zfcp_fsf_close_port_handler(fsf_req); |
775 | break; | 733 | break; |
776 | 734 | ||
777 | case FSF_QTCB_CLOSE_PHYSICAL_PORT: | 735 | case FSF_QTCB_CLOSE_PHYSICAL_PORT: |
778 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_CLOSE_PHYSICAL_PORT\n"); | ||
779 | zfcp_fsf_close_physical_port_handler(fsf_req); | 736 | zfcp_fsf_close_physical_port_handler(fsf_req); |
780 | break; | 737 | break; |
781 | 738 | ||
782 | case FSF_QTCB_EXCHANGE_CONFIG_DATA: | 739 | case FSF_QTCB_EXCHANGE_CONFIG_DATA: |
783 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_EXCHANGE_CONFIG_DATA\n"); | ||
784 | zfcp_fsf_exchange_config_data_handler(fsf_req); | 740 | zfcp_fsf_exchange_config_data_handler(fsf_req); |
785 | break; | 741 | break; |
786 | 742 | ||
787 | case FSF_QTCB_EXCHANGE_PORT_DATA: | 743 | case FSF_QTCB_EXCHANGE_PORT_DATA: |
788 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_EXCHANGE_PORT_DATA\n"); | ||
789 | zfcp_fsf_exchange_port_data_handler(fsf_req); | 744 | zfcp_fsf_exchange_port_data_handler(fsf_req); |
790 | break; | 745 | break; |
791 | 746 | ||
792 | case FSF_QTCB_SEND_ELS: | 747 | case FSF_QTCB_SEND_ELS: |
793 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_SEND_ELS\n"); | ||
794 | zfcp_fsf_send_els_handler(fsf_req); | 748 | zfcp_fsf_send_els_handler(fsf_req); |
795 | break; | 749 | break; |
796 | 750 | ||
797 | case FSF_QTCB_DOWNLOAD_CONTROL_FILE: | 751 | case FSF_QTCB_DOWNLOAD_CONTROL_FILE: |
798 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_DOWNLOAD_CONTROL_FILE\n"); | ||
799 | zfcp_fsf_control_file_handler(fsf_req); | 752 | zfcp_fsf_control_file_handler(fsf_req); |
800 | break; | 753 | break; |
801 | 754 | ||
802 | case FSF_QTCB_UPLOAD_CONTROL_FILE: | 755 | case FSF_QTCB_UPLOAD_CONTROL_FILE: |
803 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_UPLOAD_CONTROL_FILE\n"); | ||
804 | zfcp_fsf_control_file_handler(fsf_req); | 756 | zfcp_fsf_control_file_handler(fsf_req); |
805 | break; | 757 | break; |
806 | 758 | ||
807 | default: | 759 | default: |
808 | ZFCP_LOG_FLAGS(2, "FSF_QTCB_UNKNOWN\n"); | ||
809 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 760 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
810 | ZFCP_LOG_NORMAL("bug: Command issued by the device driver is " | 761 | ZFCP_LOG_NORMAL("bug: Command issued by the device driver is " |
811 | "not supported by the adapter %s\n", | 762 | "not supported by the adapter %s\n", |
@@ -929,13 +880,11 @@ zfcp_fsf_status_read_port_closed(struct zfcp_fsf_req *fsf_req) | |||
929 | switch (status_buffer->status_subtype) { | 880 | switch (status_buffer->status_subtype) { |
930 | 881 | ||
931 | case FSF_STATUS_READ_SUB_CLOSE_PHYS_PORT: | 882 | case FSF_STATUS_READ_SUB_CLOSE_PHYS_PORT: |
932 | ZFCP_LOG_FLAGS(2, "FSF_STATUS_READ_SUB_CLOSE_PHYS_PORT\n"); | ||
933 | debug_text_event(adapter->erp_dbf, 3, "unsol_pc_phys:"); | 883 | debug_text_event(adapter->erp_dbf, 3, "unsol_pc_phys:"); |
934 | zfcp_erp_port_reopen(port, 0); | 884 | zfcp_erp_port_reopen(port, 0); |
935 | break; | 885 | break; |
936 | 886 | ||
937 | case FSF_STATUS_READ_SUB_ERROR_PORT: | 887 | case FSF_STATUS_READ_SUB_ERROR_PORT: |
938 | ZFCP_LOG_FLAGS(1, "FSF_STATUS_READ_SUB_ERROR_PORT\n"); | ||
939 | debug_text_event(adapter->erp_dbf, 1, "unsol_pc_err:"); | 888 | debug_text_event(adapter->erp_dbf, 1, "unsol_pc_err:"); |
940 | zfcp_erp_port_shutdown(port, 0); | 889 | zfcp_erp_port_shutdown(port, 0); |
941 | break; | 890 | break; |
@@ -973,14 +922,13 @@ zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req) | |||
973 | 922 | ||
974 | if (fsf_req->status & ZFCP_STATUS_FSFREQ_DISMISSED) { | 923 | if (fsf_req->status & ZFCP_STATUS_FSFREQ_DISMISSED) { |
975 | mempool_free(status_buffer, adapter->pool.data_status_read); | 924 | mempool_free(status_buffer, adapter->pool.data_status_read); |
976 | zfcp_fsf_req_cleanup(fsf_req); | 925 | zfcp_fsf_req_free(fsf_req); |
977 | goto out; | 926 | goto out; |
978 | } | 927 | } |
979 | 928 | ||
980 | switch (status_buffer->status_type) { | 929 | switch (status_buffer->status_type) { |
981 | 930 | ||
982 | case FSF_STATUS_READ_PORT_CLOSED: | 931 | case FSF_STATUS_READ_PORT_CLOSED: |
983 | ZFCP_LOG_FLAGS(1, "FSF_STATUS_READ_PORT_CLOSED\n"); | ||
984 | debug_text_event(adapter->erp_dbf, 3, "unsol_pclosed:"); | 932 | debug_text_event(adapter->erp_dbf, 3, "unsol_pclosed:"); |
985 | debug_event(adapter->erp_dbf, 3, | 933 | debug_event(adapter->erp_dbf, 3, |
986 | &status_buffer->d_id, sizeof (u32)); | 934 | &status_buffer->d_id, sizeof (u32)); |
@@ -988,13 +936,11 @@ zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req) | |||
988 | break; | 936 | break; |
989 | 937 | ||
990 | case FSF_STATUS_READ_INCOMING_ELS: | 938 | case FSF_STATUS_READ_INCOMING_ELS: |
991 | ZFCP_LOG_FLAGS(1, "FSF_STATUS_READ_INCOMING_ELS\n"); | ||
992 | debug_text_event(adapter->erp_dbf, 3, "unsol_els:"); | 939 | debug_text_event(adapter->erp_dbf, 3, "unsol_els:"); |
993 | zfcp_fsf_incoming_els(fsf_req); | 940 | zfcp_fsf_incoming_els(fsf_req); |
994 | break; | 941 | break; |
995 | 942 | ||
996 | case FSF_STATUS_READ_SENSE_DATA_AVAIL: | 943 | case FSF_STATUS_READ_SENSE_DATA_AVAIL: |
997 | ZFCP_LOG_FLAGS(1, "FSF_STATUS_READ_SENSE_DATA_AVAIL\n"); | ||
998 | debug_text_event(adapter->erp_dbf, 3, "unsol_sense:"); | 944 | debug_text_event(adapter->erp_dbf, 3, "unsol_sense:"); |
999 | ZFCP_LOG_INFO("unsolicited sense data received (adapter %s)\n", | 945 | ZFCP_LOG_INFO("unsolicited sense data received (adapter %s)\n", |
1000 | zfcp_get_busid_by_adapter(adapter)); | 946 | zfcp_get_busid_by_adapter(adapter)); |
@@ -1003,7 +949,6 @@ zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req) | |||
1003 | break; | 949 | break; |
1004 | 950 | ||
1005 | case FSF_STATUS_READ_BIT_ERROR_THRESHOLD: | 951 | case FSF_STATUS_READ_BIT_ERROR_THRESHOLD: |
1006 | ZFCP_LOG_FLAGS(1, "FSF_STATUS_READ_BIT_ERROR_THRESHOLD\n"); | ||
1007 | debug_text_event(adapter->erp_dbf, 3, "unsol_bit_err:"); | 952 | debug_text_event(adapter->erp_dbf, 3, "unsol_bit_err:"); |
1008 | ZFCP_LOG_NORMAL("Bit error threshold data received:\n"); | 953 | ZFCP_LOG_NORMAL("Bit error threshold data received:\n"); |
1009 | ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_NORMAL, | 954 | ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_NORMAL, |
@@ -1012,7 +957,6 @@ zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req) | |||
1012 | break; | 957 | break; |
1013 | 958 | ||
1014 | case FSF_STATUS_READ_LINK_DOWN: | 959 | case FSF_STATUS_READ_LINK_DOWN: |
1015 | ZFCP_LOG_FLAGS(1, "FSF_STATUS_READ_LINK_DOWN\n"); | ||
1016 | debug_text_event(adapter->erp_dbf, 0, "unsol_link_down:"); | 960 | debug_text_event(adapter->erp_dbf, 0, "unsol_link_down:"); |
1017 | ZFCP_LOG_INFO("Local link to adapter %s is down\n", | 961 | ZFCP_LOG_INFO("Local link to adapter %s is down\n", |
1018 | zfcp_get_busid_by_adapter(adapter)); | 962 | zfcp_get_busid_by_adapter(adapter)); |
@@ -1022,7 +966,6 @@ zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req) | |||
1022 | break; | 966 | break; |
1023 | 967 | ||
1024 | case FSF_STATUS_READ_LINK_UP: | 968 | case FSF_STATUS_READ_LINK_UP: |
1025 | ZFCP_LOG_FLAGS(1, "FSF_STATUS_READ_LINK_UP\n"); | ||
1026 | debug_text_event(adapter->erp_dbf, 2, "unsol_link_up:"); | 969 | debug_text_event(adapter->erp_dbf, 2, "unsol_link_up:"); |
1027 | ZFCP_LOG_INFO("Local link to adapter %s was replugged. " | 970 | ZFCP_LOG_INFO("Local link to adapter %s was replugged. " |
1028 | "Restarting operations on this adapter\n", | 971 | "Restarting operations on this adapter\n", |
@@ -1037,7 +980,6 @@ zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req) | |||
1037 | break; | 980 | break; |
1038 | 981 | ||
1039 | case FSF_STATUS_READ_CFDC_UPDATED: | 982 | case FSF_STATUS_READ_CFDC_UPDATED: |
1040 | ZFCP_LOG_FLAGS(1, "FSF_STATUS_READ_CFDC_UPDATED\n"); | ||
1041 | debug_text_event(adapter->erp_dbf, 2, "unsol_cfdc_update:"); | 983 | debug_text_event(adapter->erp_dbf, 2, "unsol_cfdc_update:"); |
1042 | ZFCP_LOG_INFO("CFDC has been updated on the adapter %s\n", | 984 | ZFCP_LOG_INFO("CFDC has been updated on the adapter %s\n", |
1043 | zfcp_get_busid_by_adapter(adapter)); | 985 | zfcp_get_busid_by_adapter(adapter)); |
@@ -1045,7 +987,6 @@ zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req) | |||
1045 | break; | 987 | break; |
1046 | 988 | ||
1047 | case FSF_STATUS_READ_CFDC_HARDENED: | 989 | case FSF_STATUS_READ_CFDC_HARDENED: |
1048 | ZFCP_LOG_FLAGS(1, "FSF_STATUS_READ_CFDC_HARDENED\n"); | ||
1049 | debug_text_event(adapter->erp_dbf, 2, "unsol_cfdc_harden:"); | 990 | debug_text_event(adapter->erp_dbf, 2, "unsol_cfdc_harden:"); |
1050 | switch (status_buffer->status_subtype) { | 991 | switch (status_buffer->status_subtype) { |
1051 | case FSF_STATUS_READ_SUB_CFDC_HARDENED_ON_SE: | 992 | case FSF_STATUS_READ_SUB_CFDC_HARDENED_ON_SE: |
@@ -1078,7 +1019,7 @@ zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req) | |||
1078 | break; | 1019 | break; |
1079 | } | 1020 | } |
1080 | mempool_free(status_buffer, adapter->pool.data_status_read); | 1021 | mempool_free(status_buffer, adapter->pool.data_status_read); |
1081 | zfcp_fsf_req_cleanup(fsf_req); | 1022 | zfcp_fsf_req_free(fsf_req); |
1082 | /* | 1023 | /* |
1083 | * recycle buffer and start new request repeat until outbound | 1024 | * recycle buffer and start new request repeat until outbound |
1084 | * queue is empty or adapter shutdown is requested | 1025 | * queue is empty or adapter shutdown is requested |
@@ -1214,7 +1155,6 @@ zfcp_fsf_abort_fcp_command_handler(struct zfcp_fsf_req *new_fsf_req) | |||
1214 | 1155 | ||
1215 | case FSF_PORT_HANDLE_NOT_VALID: | 1156 | case FSF_PORT_HANDLE_NOT_VALID: |
1216 | if (status_qual >> 4 != status_qual % 0xf) { | 1157 | if (status_qual >> 4 != status_qual % 0xf) { |
1217 | ZFCP_LOG_FLAGS(2, "FSF_PORT_HANDLE_NOT_VALID\n"); | ||
1218 | debug_text_event(new_fsf_req->adapter->erp_dbf, 3, | 1158 | debug_text_event(new_fsf_req->adapter->erp_dbf, 3, |
1219 | "fsf_s_phand_nv0"); | 1159 | "fsf_s_phand_nv0"); |
1220 | /* | 1160 | /* |
@@ -1223,7 +1163,6 @@ zfcp_fsf_abort_fcp_command_handler(struct zfcp_fsf_req *new_fsf_req) | |||
1223 | * fine. | 1163 | * fine. |
1224 | */ | 1164 | */ |
1225 | } else { | 1165 | } else { |
1226 | ZFCP_LOG_FLAGS(1, "FSF_PORT_HANDLE_NOT_VALID\n"); | ||
1227 | ZFCP_LOG_INFO("Temporary port identifier 0x%x for " | 1166 | ZFCP_LOG_INFO("Temporary port identifier 0x%x for " |
1228 | "port 0x%016Lx on adapter %s invalid. " | 1167 | "port 0x%016Lx on adapter %s invalid. " |
1229 | "This may happen occasionally.\n", | 1168 | "This may happen occasionally.\n", |
@@ -1246,7 +1185,6 @@ zfcp_fsf_abort_fcp_command_handler(struct zfcp_fsf_req *new_fsf_req) | |||
1246 | case FSF_LUN_HANDLE_NOT_VALID: | 1185 | case FSF_LUN_HANDLE_NOT_VALID: |
1247 | if (status_qual >> 4 != status_qual % 0xf) { | 1186 | if (status_qual >> 4 != status_qual % 0xf) { |
1248 | /* 2 */ | 1187 | /* 2 */ |
1249 | ZFCP_LOG_FLAGS(0, "FSF_LUN_HANDLE_NOT_VALID\n"); | ||
1250 | debug_text_event(new_fsf_req->adapter->erp_dbf, 3, | 1188 | debug_text_event(new_fsf_req->adapter->erp_dbf, 3, |
1251 | "fsf_s_lhand_nv0"); | 1189 | "fsf_s_lhand_nv0"); |
1252 | /* | 1190 | /* |
@@ -1255,7 +1193,6 @@ zfcp_fsf_abort_fcp_command_handler(struct zfcp_fsf_req *new_fsf_req) | |||
1255 | * This is fine. | 1193 | * This is fine. |
1256 | */ | 1194 | */ |
1257 | } else { | 1195 | } else { |
1258 | ZFCP_LOG_FLAGS(1, "FSF_LUN_HANDLE_NOT_VALID\n"); | ||
1259 | ZFCP_LOG_INFO | 1196 | ZFCP_LOG_INFO |
1260 | ("Warning: Temporary LUN identifier 0x%x of LUN " | 1197 | ("Warning: Temporary LUN identifier 0x%x of LUN " |
1261 | "0x%016Lx on port 0x%016Lx on adapter %s is " | 1198 | "0x%016Lx on port 0x%016Lx on adapter %s is " |
@@ -1279,7 +1216,6 @@ zfcp_fsf_abort_fcp_command_handler(struct zfcp_fsf_req *new_fsf_req) | |||
1279 | break; | 1216 | break; |
1280 | 1217 | ||
1281 | case FSF_FCP_COMMAND_DOES_NOT_EXIST: | 1218 | case FSF_FCP_COMMAND_DOES_NOT_EXIST: |
1282 | ZFCP_LOG_FLAGS(2, "FSF_FCP_COMMAND_DOES_NOT_EXIST\n"); | ||
1283 | retval = 0; | 1219 | retval = 0; |
1284 | debug_text_event(new_fsf_req->adapter->erp_dbf, 3, | 1220 | debug_text_event(new_fsf_req->adapter->erp_dbf, 3, |
1285 | "fsf_s_no_exist"); | 1221 | "fsf_s_no_exist"); |
@@ -1287,50 +1223,37 @@ zfcp_fsf_abort_fcp_command_handler(struct zfcp_fsf_req *new_fsf_req) | |||
1287 | break; | 1223 | break; |
1288 | 1224 | ||
1289 | case FSF_PORT_BOXED: | 1225 | case FSF_PORT_BOXED: |
1290 | /* 2 */ | ||
1291 | ZFCP_LOG_FLAGS(0, "FSF_PORT_BOXED\n"); | ||
1292 | ZFCP_LOG_INFO("Remote port 0x%016Lx on adapter %s needs to " | 1226 | ZFCP_LOG_INFO("Remote port 0x%016Lx on adapter %s needs to " |
1293 | "be reopened\n", unit->port->wwpn, | 1227 | "be reopened\n", unit->port->wwpn, |
1294 | zfcp_get_busid_by_unit(unit)); | 1228 | zfcp_get_busid_by_unit(unit)); |
1295 | debug_text_event(new_fsf_req->adapter->erp_dbf, 2, | 1229 | debug_text_event(new_fsf_req->adapter->erp_dbf, 2, |
1296 | "fsf_s_pboxed"); | 1230 | "fsf_s_pboxed"); |
1297 | zfcp_erp_port_reopen(unit->port, 0); | 1231 | zfcp_erp_port_boxed(unit->port); |
1298 | new_fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | 1232 | new_fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR |
1299 | | ZFCP_STATUS_FSFREQ_RETRY; | 1233 | | ZFCP_STATUS_FSFREQ_RETRY; |
1300 | break; | 1234 | break; |
1301 | 1235 | ||
1302 | case FSF_LUN_BOXED: | 1236 | case FSF_LUN_BOXED: |
1303 | ZFCP_LOG_FLAGS(0, "FSF_LUN_BOXED\n"); | ||
1304 | ZFCP_LOG_INFO( | 1237 | ZFCP_LOG_INFO( |
1305 | "unit 0x%016Lx on port 0x%016Lx on adapter %s needs " | 1238 | "unit 0x%016Lx on port 0x%016Lx on adapter %s needs " |
1306 | "to be reopened\n", | 1239 | "to be reopened\n", |
1307 | unit->fcp_lun, unit->port->wwpn, | 1240 | unit->fcp_lun, unit->port->wwpn, |
1308 | zfcp_get_busid_by_unit(unit)); | 1241 | zfcp_get_busid_by_unit(unit)); |
1309 | debug_text_event(new_fsf_req->adapter->erp_dbf, 1, "fsf_s_lboxed"); | 1242 | debug_text_event(new_fsf_req->adapter->erp_dbf, 1, "fsf_s_lboxed"); |
1310 | zfcp_erp_unit_reopen(unit, 0); | 1243 | zfcp_erp_unit_boxed(unit); |
1311 | zfcp_cmd_dbf_event_fsf("unitbox", new_fsf_req, | ||
1312 | &new_fsf_req->qtcb->header.fsf_status_qual, | ||
1313 | sizeof(union fsf_status_qual)); | ||
1314 | new_fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | 1244 | new_fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR |
1315 | | ZFCP_STATUS_FSFREQ_RETRY; | 1245 | | ZFCP_STATUS_FSFREQ_RETRY; |
1316 | break; | 1246 | break; |
1317 | 1247 | ||
1318 | case FSF_ADAPTER_STATUS_AVAILABLE: | 1248 | case FSF_ADAPTER_STATUS_AVAILABLE: |
1319 | /* 2 */ | ||
1320 | ZFCP_LOG_FLAGS(0, "FSF_ADAPTER_STATUS_AVAILABLE\n"); | ||
1321 | switch (new_fsf_req->qtcb->header.fsf_status_qual.word[0]) { | 1249 | switch (new_fsf_req->qtcb->header.fsf_status_qual.word[0]) { |
1322 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: | 1250 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: |
1323 | ZFCP_LOG_FLAGS(2, | ||
1324 | "FSF_SQ_INVOKE_LINK_TEST_PROCEDURE\n"); | ||
1325 | debug_text_event(new_fsf_req->adapter->erp_dbf, 1, | 1251 | debug_text_event(new_fsf_req->adapter->erp_dbf, 1, |
1326 | "fsf_sq_ltest"); | 1252 | "fsf_sq_ltest"); |
1327 | /* reopening link to port */ | 1253 | zfcp_test_link(unit->port); |
1328 | zfcp_erp_port_reopen(unit->port, 0); | ||
1329 | new_fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 1254 | new_fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
1330 | break; | 1255 | break; |
1331 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: | 1256 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: |
1332 | ZFCP_LOG_FLAGS(2, | ||
1333 | "FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED\n"); | ||
1334 | /* SCSI stack will escalate */ | 1257 | /* SCSI stack will escalate */ |
1335 | debug_text_event(new_fsf_req->adapter->erp_dbf, 1, | 1258 | debug_text_event(new_fsf_req->adapter->erp_dbf, 1, |
1336 | "fsf_sq_ulp"); | 1259 | "fsf_sq_ulp"); |
@@ -1350,8 +1273,6 @@ zfcp_fsf_abort_fcp_command_handler(struct zfcp_fsf_req *new_fsf_req) | |||
1350 | break; | 1273 | break; |
1351 | 1274 | ||
1352 | case FSF_GOOD: | 1275 | case FSF_GOOD: |
1353 | /* 3 */ | ||
1354 | ZFCP_LOG_FLAGS(0, "FSF_GOOD\n"); | ||
1355 | retval = 0; | 1276 | retval = 0; |
1356 | new_fsf_req->status |= ZFCP_STATUS_FSFREQ_ABORTSUCCEEDED; | 1277 | new_fsf_req->status |= ZFCP_STATUS_FSFREQ_ABORTSUCCEEDED; |
1357 | break; | 1278 | break; |
@@ -1553,12 +1474,10 @@ zfcp_fsf_send_ct_handler(struct zfcp_fsf_req *fsf_req) | |||
1553 | switch (header->fsf_status) { | 1474 | switch (header->fsf_status) { |
1554 | 1475 | ||
1555 | case FSF_GOOD: | 1476 | case FSF_GOOD: |
1556 | ZFCP_LOG_FLAGS(2,"FSF_GOOD\n"); | ||
1557 | retval = 0; | 1477 | retval = 0; |
1558 | break; | 1478 | break; |
1559 | 1479 | ||
1560 | case FSF_SERVICE_CLASS_NOT_SUPPORTED: | 1480 | case FSF_SERVICE_CLASS_NOT_SUPPORTED: |
1561 | ZFCP_LOG_FLAGS(2, "FSF_SERVICE_CLASS_NOT_SUPPORTED\n"); | ||
1562 | if (adapter->fc_service_class <= 3) { | 1481 | if (adapter->fc_service_class <= 3) { |
1563 | ZFCP_LOG_INFO("error: adapter %s does not support fc " | 1482 | ZFCP_LOG_INFO("error: adapter %s does not support fc " |
1564 | "class %d.\n", | 1483 | "class %d.\n", |
@@ -1578,17 +1497,14 @@ zfcp_fsf_send_ct_handler(struct zfcp_fsf_req *fsf_req) | |||
1578 | break; | 1497 | break; |
1579 | 1498 | ||
1580 | case FSF_ADAPTER_STATUS_AVAILABLE: | 1499 | case FSF_ADAPTER_STATUS_AVAILABLE: |
1581 | ZFCP_LOG_FLAGS(2, "FSF_ADAPTER_STATUS_AVAILABLE\n"); | ||
1582 | switch (header->fsf_status_qual.word[0]){ | 1500 | switch (header->fsf_status_qual.word[0]){ |
1583 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: | 1501 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: |
1584 | ZFCP_LOG_FLAGS(2,"FSF_SQ_INVOKE_LINK_TEST_PROCEDURE\n"); | ||
1585 | /* reopening link to port */ | 1502 | /* reopening link to port */ |
1586 | debug_text_event(adapter->erp_dbf, 1, "fsf_sq_ltest"); | 1503 | debug_text_event(adapter->erp_dbf, 1, "fsf_sq_ltest"); |
1587 | zfcp_test_link(port); | 1504 | zfcp_test_link(port); |
1588 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 1505 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
1589 | break; | 1506 | break; |
1590 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: | 1507 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: |
1591 | ZFCP_LOG_FLAGS(2,"FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED\n"); | ||
1592 | /* ERP strategy will escalate */ | 1508 | /* ERP strategy will escalate */ |
1593 | debug_text_event(adapter->erp_dbf, 1, "fsf_sq_ulp"); | 1509 | debug_text_event(adapter->erp_dbf, 1, "fsf_sq_ulp"); |
1594 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 1510 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
@@ -1602,7 +1518,6 @@ zfcp_fsf_send_ct_handler(struct zfcp_fsf_req *fsf_req) | |||
1602 | break; | 1518 | break; |
1603 | 1519 | ||
1604 | case FSF_ACCESS_DENIED: | 1520 | case FSF_ACCESS_DENIED: |
1605 | ZFCP_LOG_FLAGS(2, "FSF_ACCESS_DENIED\n"); | ||
1606 | ZFCP_LOG_NORMAL("access denied, cannot send generic service " | 1521 | ZFCP_LOG_NORMAL("access denied, cannot send generic service " |
1607 | "command (adapter %s, port d_id=0x%08x)\n", | 1522 | "command (adapter %s, port d_id=0x%08x)\n", |
1608 | zfcp_get_busid_by_port(port), port->d_id); | 1523 | zfcp_get_busid_by_port(port), port->d_id); |
@@ -1625,7 +1540,6 @@ zfcp_fsf_send_ct_handler(struct zfcp_fsf_req *fsf_req) | |||
1625 | break; | 1540 | break; |
1626 | 1541 | ||
1627 | case FSF_GENERIC_COMMAND_REJECTED: | 1542 | case FSF_GENERIC_COMMAND_REJECTED: |
1628 | ZFCP_LOG_FLAGS(2, "FSF_GENERIC_COMMAND_REJECTED\n"); | ||
1629 | ZFCP_LOG_INFO("generic service command rejected " | 1543 | ZFCP_LOG_INFO("generic service command rejected " |
1630 | "(adapter %s, port d_id=0x%08x)\n", | 1544 | "(adapter %s, port d_id=0x%08x)\n", |
1631 | zfcp_get_busid_by_port(port), port->d_id); | 1545 | zfcp_get_busid_by_port(port), port->d_id); |
@@ -1638,7 +1552,6 @@ zfcp_fsf_send_ct_handler(struct zfcp_fsf_req *fsf_req) | |||
1638 | break; | 1552 | break; |
1639 | 1553 | ||
1640 | case FSF_PORT_HANDLE_NOT_VALID: | 1554 | case FSF_PORT_HANDLE_NOT_VALID: |
1641 | ZFCP_LOG_FLAGS(2, "FSF_PORT_HANDLE_NOT_VALID\n"); | ||
1642 | ZFCP_LOG_DEBUG("Temporary port identifier 0x%x for port " | 1555 | ZFCP_LOG_DEBUG("Temporary port identifier 0x%x for port " |
1643 | "0x%016Lx on adapter %s invalid. This may " | 1556 | "0x%016Lx on adapter %s invalid. This may " |
1644 | "happen occasionally.\n", port->handle, | 1557 | "happen occasionally.\n", port->handle, |
@@ -1653,12 +1566,11 @@ zfcp_fsf_send_ct_handler(struct zfcp_fsf_req *fsf_req) | |||
1653 | break; | 1566 | break; |
1654 | 1567 | ||
1655 | case FSF_PORT_BOXED: | 1568 | case FSF_PORT_BOXED: |
1656 | ZFCP_LOG_FLAGS(2, "FSF_PORT_BOXED\n"); | ||
1657 | ZFCP_LOG_INFO("port needs to be reopened " | 1569 | ZFCP_LOG_INFO("port needs to be reopened " |
1658 | "(adapter %s, port d_id=0x%08x)\n", | 1570 | "(adapter %s, port d_id=0x%08x)\n", |
1659 | zfcp_get_busid_by_port(port), port->d_id); | 1571 | zfcp_get_busid_by_port(port), port->d_id); |
1660 | debug_text_event(adapter->erp_dbf, 2, "fsf_s_pboxed"); | 1572 | debug_text_event(adapter->erp_dbf, 2, "fsf_s_pboxed"); |
1661 | zfcp_erp_port_reopen(port, 0); | 1573 | zfcp_erp_port_boxed(port); |
1662 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | 1574 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR |
1663 | | ZFCP_STATUS_FSFREQ_RETRY; | 1575 | | ZFCP_STATUS_FSFREQ_RETRY; |
1664 | break; | 1576 | break; |
@@ -1666,7 +1578,6 @@ zfcp_fsf_send_ct_handler(struct zfcp_fsf_req *fsf_req) | |||
1666 | /* following states should never occure, all cases avoided | 1578 | /* following states should never occure, all cases avoided |
1667 | in zfcp_fsf_send_ct - but who knows ... */ | 1579 | in zfcp_fsf_send_ct - but who knows ... */ |
1668 | case FSF_PAYLOAD_SIZE_MISMATCH: | 1580 | case FSF_PAYLOAD_SIZE_MISMATCH: |
1669 | ZFCP_LOG_FLAGS(2, "FSF_PAYLOAD_SIZE_MISMATCH\n"); | ||
1670 | ZFCP_LOG_INFO("payload size mismatch (adapter: %s, " | 1581 | ZFCP_LOG_INFO("payload size mismatch (adapter: %s, " |
1671 | "req_buf_length=%d, resp_buf_length=%d)\n", | 1582 | "req_buf_length=%d, resp_buf_length=%d)\n", |
1672 | zfcp_get_busid_by_adapter(adapter), | 1583 | zfcp_get_busid_by_adapter(adapter), |
@@ -1674,7 +1585,6 @@ zfcp_fsf_send_ct_handler(struct zfcp_fsf_req *fsf_req) | |||
1674 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 1585 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
1675 | break; | 1586 | break; |
1676 | case FSF_REQUEST_SIZE_TOO_LARGE: | 1587 | case FSF_REQUEST_SIZE_TOO_LARGE: |
1677 | ZFCP_LOG_FLAGS(2, "FSF_REQUEST_SIZE_TOO_LARGE\n"); | ||
1678 | ZFCP_LOG_INFO("request size too large (adapter: %s, " | 1588 | ZFCP_LOG_INFO("request size too large (adapter: %s, " |
1679 | "req_buf_length=%d)\n", | 1589 | "req_buf_length=%d)\n", |
1680 | zfcp_get_busid_by_adapter(adapter), | 1590 | zfcp_get_busid_by_adapter(adapter), |
@@ -1682,7 +1592,6 @@ zfcp_fsf_send_ct_handler(struct zfcp_fsf_req *fsf_req) | |||
1682 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 1592 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
1683 | break; | 1593 | break; |
1684 | case FSF_RESPONSE_SIZE_TOO_LARGE: | 1594 | case FSF_RESPONSE_SIZE_TOO_LARGE: |
1685 | ZFCP_LOG_FLAGS(2, "FSF_RESPONSE_SIZE_TOO_LARGE\n"); | ||
1686 | ZFCP_LOG_INFO("response size too large (adapter: %s, " | 1595 | ZFCP_LOG_INFO("response size too large (adapter: %s, " |
1687 | "resp_buf_length=%d)\n", | 1596 | "resp_buf_length=%d)\n", |
1688 | zfcp_get_busid_by_adapter(adapter), | 1597 | zfcp_get_busid_by_adapter(adapter), |
@@ -1690,7 +1599,6 @@ zfcp_fsf_send_ct_handler(struct zfcp_fsf_req *fsf_req) | |||
1690 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 1599 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
1691 | break; | 1600 | break; |
1692 | case FSF_SBAL_MISMATCH: | 1601 | case FSF_SBAL_MISMATCH: |
1693 | ZFCP_LOG_FLAGS(2, "FSF_SBAL_MISMATCH\n"); | ||
1694 | ZFCP_LOG_INFO("SBAL mismatch (adapter: %s, req_buf_length=%d, " | 1602 | ZFCP_LOG_INFO("SBAL mismatch (adapter: %s, req_buf_length=%d, " |
1695 | "resp_buf_length=%d)\n", | 1603 | "resp_buf_length=%d)\n", |
1696 | zfcp_get_busid_by_adapter(adapter), | 1604 | zfcp_get_busid_by_adapter(adapter), |
@@ -1846,8 +1754,8 @@ zfcp_fsf_send_els(struct zfcp_send_els *els) | |||
1846 | static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) | 1754 | static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) |
1847 | { | 1755 | { |
1848 | struct zfcp_adapter *adapter; | 1756 | struct zfcp_adapter *adapter; |
1849 | fc_id_t d_id; | ||
1850 | struct zfcp_port *port; | 1757 | struct zfcp_port *port; |
1758 | fc_id_t d_id; | ||
1851 | struct fsf_qtcb_header *header; | 1759 | struct fsf_qtcb_header *header; |
1852 | struct fsf_qtcb_bottom_support *bottom; | 1760 | struct fsf_qtcb_bottom_support *bottom; |
1853 | struct zfcp_send_els *send_els; | 1761 | struct zfcp_send_els *send_els; |
@@ -1856,6 +1764,7 @@ static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) | |||
1856 | 1764 | ||
1857 | send_els = fsf_req->data.send_els; | 1765 | send_els = fsf_req->data.send_els; |
1858 | adapter = send_els->adapter; | 1766 | adapter = send_els->adapter; |
1767 | port = send_els->port; | ||
1859 | d_id = send_els->d_id; | 1768 | d_id = send_els->d_id; |
1860 | header = &fsf_req->qtcb->header; | 1769 | header = &fsf_req->qtcb->header; |
1861 | bottom = &fsf_req->qtcb->bottom.support; | 1770 | bottom = &fsf_req->qtcb->bottom.support; |
@@ -1866,12 +1775,10 @@ static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) | |||
1866 | switch (header->fsf_status) { | 1775 | switch (header->fsf_status) { |
1867 | 1776 | ||
1868 | case FSF_GOOD: | 1777 | case FSF_GOOD: |
1869 | ZFCP_LOG_FLAGS(2, "FSF_GOOD\n"); | ||
1870 | retval = 0; | 1778 | retval = 0; |
1871 | break; | 1779 | break; |
1872 | 1780 | ||
1873 | case FSF_SERVICE_CLASS_NOT_SUPPORTED: | 1781 | case FSF_SERVICE_CLASS_NOT_SUPPORTED: |
1874 | ZFCP_LOG_FLAGS(2, "FSF_SERVICE_CLASS_NOT_SUPPORTED\n"); | ||
1875 | if (adapter->fc_service_class <= 3) { | 1782 | if (adapter->fc_service_class <= 3) { |
1876 | ZFCP_LOG_INFO("error: adapter %s does " | 1783 | ZFCP_LOG_INFO("error: adapter %s does " |
1877 | "not support fibrechannel class %d.\n", | 1784 | "not support fibrechannel class %d.\n", |
@@ -1891,22 +1798,14 @@ static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) | |||
1891 | break; | 1798 | break; |
1892 | 1799 | ||
1893 | case FSF_ADAPTER_STATUS_AVAILABLE: | 1800 | case FSF_ADAPTER_STATUS_AVAILABLE: |
1894 | ZFCP_LOG_FLAGS(2, "FSF_ADAPTER_STATUS_AVAILABLE\n"); | ||
1895 | switch (header->fsf_status_qual.word[0]){ | 1801 | switch (header->fsf_status_qual.word[0]){ |
1896 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: | 1802 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: |
1897 | ZFCP_LOG_FLAGS(2,"FSF_SQ_INVOKE_LINK_TEST_PROCEDURE\n"); | ||
1898 | debug_text_event(adapter->erp_dbf, 1, "fsf_sq_ltest"); | 1803 | debug_text_event(adapter->erp_dbf, 1, "fsf_sq_ltest"); |
1899 | if (send_els->ls_code != ZFCP_LS_ADISC) { | 1804 | if (port && (send_els->ls_code != ZFCP_LS_ADISC)) |
1900 | read_lock(&zfcp_data.config_lock); | 1805 | zfcp_test_link(port); |
1901 | port = zfcp_get_port_by_did(adapter, d_id); | ||
1902 | if (port) | ||
1903 | zfcp_test_link(port); | ||
1904 | read_unlock(&zfcp_data.config_lock); | ||
1905 | } | ||
1906 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 1806 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
1907 | break; | 1807 | break; |
1908 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: | 1808 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: |
1909 | ZFCP_LOG_FLAGS(2,"FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED\n"); | ||
1910 | debug_text_event(adapter->erp_dbf, 1, "fsf_sq_ulp"); | 1809 | debug_text_event(adapter->erp_dbf, 1, "fsf_sq_ulp"); |
1911 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 1810 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
1912 | retval = | 1811 | retval = |
@@ -1915,7 +1814,6 @@ static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) | |||
1915 | &header->fsf_status_qual.word[2]); | 1814 | &header->fsf_status_qual.word[2]); |
1916 | break; | 1815 | break; |
1917 | case FSF_SQ_RETRY_IF_POSSIBLE: | 1816 | case FSF_SQ_RETRY_IF_POSSIBLE: |
1918 | ZFCP_LOG_FLAGS(2, "FSF_SQ_RETRY_IF_POSSIBLE\n"); | ||
1919 | debug_text_event(adapter->erp_dbf, 1, "fsf_sq_retry"); | 1817 | debug_text_event(adapter->erp_dbf, 1, "fsf_sq_retry"); |
1920 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 1818 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
1921 | break; | 1819 | break; |
@@ -1928,7 +1826,6 @@ static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) | |||
1928 | break; | 1826 | break; |
1929 | 1827 | ||
1930 | case FSF_ELS_COMMAND_REJECTED: | 1828 | case FSF_ELS_COMMAND_REJECTED: |
1931 | ZFCP_LOG_FLAGS(2, "FSF_ELS_COMMAND_REJECTED\n"); | ||
1932 | ZFCP_LOG_INFO("ELS has been rejected because command filter " | 1829 | ZFCP_LOG_INFO("ELS has been rejected because command filter " |
1933 | "prohibited sending " | 1830 | "prohibited sending " |
1934 | "(adapter: %s, port d_id: 0x%08x)\n", | 1831 | "(adapter: %s, port d_id: 0x%08x)\n", |
@@ -1937,7 +1834,6 @@ static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) | |||
1937 | break; | 1834 | break; |
1938 | 1835 | ||
1939 | case FSF_PAYLOAD_SIZE_MISMATCH: | 1836 | case FSF_PAYLOAD_SIZE_MISMATCH: |
1940 | ZFCP_LOG_FLAGS(2, "FSF_PAYLOAD_SIZE_MISMATCH\n"); | ||
1941 | ZFCP_LOG_INFO( | 1837 | ZFCP_LOG_INFO( |
1942 | "ELS request size and ELS response size must be either " | 1838 | "ELS request size and ELS response size must be either " |
1943 | "both 0, or both greater than 0 " | 1839 | "both 0, or both greater than 0 " |
@@ -1948,7 +1844,6 @@ static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) | |||
1948 | break; | 1844 | break; |
1949 | 1845 | ||
1950 | case FSF_REQUEST_SIZE_TOO_LARGE: | 1846 | case FSF_REQUEST_SIZE_TOO_LARGE: |
1951 | ZFCP_LOG_FLAGS(2, "FSF_REQUEST_SIZE_TOO_LARGE\n"); | ||
1952 | ZFCP_LOG_INFO( | 1847 | ZFCP_LOG_INFO( |
1953 | "Length of the ELS request buffer, " | 1848 | "Length of the ELS request buffer, " |
1954 | "specified in QTCB bottom, " | 1849 | "specified in QTCB bottom, " |
@@ -1960,7 +1855,6 @@ static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) | |||
1960 | break; | 1855 | break; |
1961 | 1856 | ||
1962 | case FSF_RESPONSE_SIZE_TOO_LARGE: | 1857 | case FSF_RESPONSE_SIZE_TOO_LARGE: |
1963 | ZFCP_LOG_FLAGS(2, "FSF_RESPONSE_SIZE_TOO_LARGE\n"); | ||
1964 | ZFCP_LOG_INFO( | 1858 | ZFCP_LOG_INFO( |
1965 | "Length of the ELS response buffer, " | 1859 | "Length of the ELS response buffer, " |
1966 | "specified in QTCB bottom, " | 1860 | "specified in QTCB bottom, " |
@@ -1973,7 +1867,6 @@ static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) | |||
1973 | 1867 | ||
1974 | case FSF_SBAL_MISMATCH: | 1868 | case FSF_SBAL_MISMATCH: |
1975 | /* should never occure, avoided in zfcp_fsf_send_els */ | 1869 | /* should never occure, avoided in zfcp_fsf_send_els */ |
1976 | ZFCP_LOG_FLAGS(2, "FSF_SBAL_MISMATCH\n"); | ||
1977 | ZFCP_LOG_INFO("SBAL mismatch (adapter: %s, req_buf_length=%d, " | 1870 | ZFCP_LOG_INFO("SBAL mismatch (adapter: %s, req_buf_length=%d, " |
1978 | "resp_buf_length=%d)\n", | 1871 | "resp_buf_length=%d)\n", |
1979 | zfcp_get_busid_by_adapter(adapter), | 1872 | zfcp_get_busid_by_adapter(adapter), |
@@ -1982,7 +1875,6 @@ static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) | |||
1982 | break; | 1875 | break; |
1983 | 1876 | ||
1984 | case FSF_ACCESS_DENIED: | 1877 | case FSF_ACCESS_DENIED: |
1985 | ZFCP_LOG_FLAGS(2, "FSF_ACCESS_DENIED\n"); | ||
1986 | ZFCP_LOG_NORMAL("access denied, cannot send ELS command " | 1878 | ZFCP_LOG_NORMAL("access denied, cannot send ELS command " |
1987 | "(adapter %s, port d_id=0x%08x)\n", | 1879 | "(adapter %s, port d_id=0x%08x)\n", |
1988 | zfcp_get_busid_by_adapter(adapter), d_id); | 1880 | zfcp_get_busid_by_adapter(adapter), d_id); |
@@ -2000,11 +1892,8 @@ static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req) | |||
2000 | } | 1892 | } |
2001 | } | 1893 | } |
2002 | debug_text_event(adapter->erp_dbf, 1, "fsf_s_access"); | 1894 | debug_text_event(adapter->erp_dbf, 1, "fsf_s_access"); |
2003 | read_lock(&zfcp_data.config_lock); | ||
2004 | port = zfcp_get_port_by_did(adapter, d_id); | ||
2005 | if (port != NULL) | 1895 | if (port != NULL) |
2006 | zfcp_erp_port_access_denied(port); | 1896 | zfcp_erp_port_access_denied(port); |
2007 | read_unlock(&zfcp_data.config_lock); | ||
2008 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 1897 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
2009 | break; | 1898 | break; |
2010 | 1899 | ||
@@ -2195,14 +2084,11 @@ zfcp_fsf_exchange_config_data_handler(struct zfcp_fsf_req *fsf_req) | |||
2195 | switch (fsf_req->qtcb->header.fsf_status) { | 2084 | switch (fsf_req->qtcb->header.fsf_status) { |
2196 | 2085 | ||
2197 | case FSF_GOOD: | 2086 | case FSF_GOOD: |
2198 | ZFCP_LOG_FLAGS(2, "FSF_GOOD\n"); | ||
2199 | |||
2200 | if (zfcp_fsf_exchange_config_evaluate(fsf_req, 1)) | 2087 | if (zfcp_fsf_exchange_config_evaluate(fsf_req, 1)) |
2201 | return -EIO; | 2088 | return -EIO; |
2202 | 2089 | ||
2203 | switch (adapter->fc_topology) { | 2090 | switch (adapter->fc_topology) { |
2204 | case FSF_TOPO_P2P: | 2091 | case FSF_TOPO_P2P: |
2205 | ZFCP_LOG_FLAGS(1, "FSF_TOPO_P2P\n"); | ||
2206 | ZFCP_LOG_NORMAL("Point-to-Point fibrechannel " | 2092 | ZFCP_LOG_NORMAL("Point-to-Point fibrechannel " |
2207 | "configuration detected at adapter %s\n" | 2093 | "configuration detected at adapter %s\n" |
2208 | "Peer WWNN 0x%016llx, " | 2094 | "Peer WWNN 0x%016llx, " |
@@ -2216,7 +2102,6 @@ zfcp_fsf_exchange_config_data_handler(struct zfcp_fsf_req *fsf_req) | |||
2216 | "top-p-to-p"); | 2102 | "top-p-to-p"); |
2217 | break; | 2103 | break; |
2218 | case FSF_TOPO_AL: | 2104 | case FSF_TOPO_AL: |
2219 | ZFCP_LOG_FLAGS(1, "FSF_TOPO_AL\n"); | ||
2220 | ZFCP_LOG_NORMAL("error: Arbitrated loop fibrechannel " | 2105 | ZFCP_LOG_NORMAL("error: Arbitrated loop fibrechannel " |
2221 | "topology detected at adapter %s " | 2106 | "topology detected at adapter %s " |
2222 | "unsupported, shutting down adapter\n", | 2107 | "unsupported, shutting down adapter\n", |
@@ -2226,7 +2111,6 @@ zfcp_fsf_exchange_config_data_handler(struct zfcp_fsf_req *fsf_req) | |||
2226 | zfcp_erp_adapter_shutdown(adapter, 0); | 2111 | zfcp_erp_adapter_shutdown(adapter, 0); |
2227 | return -EIO; | 2112 | return -EIO; |
2228 | case FSF_TOPO_FABRIC: | 2113 | case FSF_TOPO_FABRIC: |
2229 | ZFCP_LOG_FLAGS(1, "FSF_TOPO_FABRIC\n"); | ||
2230 | ZFCP_LOG_INFO("Switched fabric fibrechannel " | 2114 | ZFCP_LOG_INFO("Switched fabric fibrechannel " |
2231 | "network detected at adapter %s.\n", | 2115 | "network detected at adapter %s.\n", |
2232 | zfcp_get_busid_by_adapter(adapter)); | 2116 | zfcp_get_busid_by_adapter(adapter)); |
@@ -2357,7 +2241,7 @@ zfcp_fsf_exchange_port_data(struct zfcp_adapter *adapter, | |||
2357 | wait_event(fsf_req->completion_wq, | 2241 | wait_event(fsf_req->completion_wq, |
2358 | fsf_req->status & ZFCP_STATUS_FSFREQ_COMPLETED); | 2242 | fsf_req->status & ZFCP_STATUS_FSFREQ_COMPLETED); |
2359 | del_timer_sync(timer); | 2243 | del_timer_sync(timer); |
2360 | zfcp_fsf_req_cleanup(fsf_req); | 2244 | zfcp_fsf_req_free(fsf_req); |
2361 | out: | 2245 | out: |
2362 | kfree(timer); | 2246 | kfree(timer); |
2363 | return retval; | 2247 | return retval; |
@@ -2379,7 +2263,6 @@ zfcp_fsf_exchange_port_data_handler(struct zfcp_fsf_req *fsf_req) | |||
2379 | 2263 | ||
2380 | switch (fsf_req->qtcb->header.fsf_status) { | 2264 | switch (fsf_req->qtcb->header.fsf_status) { |
2381 | case FSF_GOOD: | 2265 | case FSF_GOOD: |
2382 | ZFCP_LOG_FLAGS(2,"FSF_GOOD\n"); | ||
2383 | bottom = &fsf_req->qtcb->bottom.port; | 2266 | bottom = &fsf_req->qtcb->bottom.port; |
2384 | memcpy(data, bottom, sizeof(*data)); | 2267 | memcpy(data, bottom, sizeof(*data)); |
2385 | break; | 2268 | break; |
@@ -2481,7 +2364,6 @@ zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2481 | switch (header->fsf_status) { | 2364 | switch (header->fsf_status) { |
2482 | 2365 | ||
2483 | case FSF_PORT_ALREADY_OPEN: | 2366 | case FSF_PORT_ALREADY_OPEN: |
2484 | ZFCP_LOG_FLAGS(0, "FSF_PORT_ALREADY_OPEN\n"); | ||
2485 | ZFCP_LOG_NORMAL("bug: remote port 0x%016Lx on adapter %s " | 2367 | ZFCP_LOG_NORMAL("bug: remote port 0x%016Lx on adapter %s " |
2486 | "is already open.\n", | 2368 | "is already open.\n", |
2487 | port->wwpn, zfcp_get_busid_by_port(port)); | 2369 | port->wwpn, zfcp_get_busid_by_port(port)); |
@@ -2494,7 +2376,6 @@ zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2494 | break; | 2376 | break; |
2495 | 2377 | ||
2496 | case FSF_ACCESS_DENIED: | 2378 | case FSF_ACCESS_DENIED: |
2497 | ZFCP_LOG_FLAGS(2, "FSF_ACCESS_DENIED\n"); | ||
2498 | ZFCP_LOG_NORMAL("Access denied, cannot open port 0x%016Lx " | 2379 | ZFCP_LOG_NORMAL("Access denied, cannot open port 0x%016Lx " |
2499 | "on adapter %s\n", | 2380 | "on adapter %s\n", |
2500 | port->wwpn, zfcp_get_busid_by_port(port)); | 2381 | port->wwpn, zfcp_get_busid_by_port(port)); |
@@ -2517,7 +2398,6 @@ zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2517 | break; | 2398 | break; |
2518 | 2399 | ||
2519 | case FSF_MAXIMUM_NUMBER_OF_PORTS_EXCEEDED: | 2400 | case FSF_MAXIMUM_NUMBER_OF_PORTS_EXCEEDED: |
2520 | ZFCP_LOG_FLAGS(1, "FSF_MAXIMUM_NUMBER_OF_PORTS_EXCEEDED\n"); | ||
2521 | ZFCP_LOG_INFO("error: The FSF adapter is out of resources. " | 2401 | ZFCP_LOG_INFO("error: The FSF adapter is out of resources. " |
2522 | "The remote port 0x%016Lx on adapter %s " | 2402 | "The remote port 0x%016Lx on adapter %s " |
2523 | "could not be opened. Disabling it.\n", | 2403 | "could not be opened. Disabling it.\n", |
@@ -2529,11 +2409,8 @@ zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2529 | break; | 2409 | break; |
2530 | 2410 | ||
2531 | case FSF_ADAPTER_STATUS_AVAILABLE: | 2411 | case FSF_ADAPTER_STATUS_AVAILABLE: |
2532 | ZFCP_LOG_FLAGS(2, "FSF_ADAPTER_STATUS_AVAILABLE\n"); | ||
2533 | switch (header->fsf_status_qual.word[0]) { | 2412 | switch (header->fsf_status_qual.word[0]) { |
2534 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: | 2413 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: |
2535 | ZFCP_LOG_FLAGS(2, | ||
2536 | "FSF_SQ_INVOKE_LINK_TEST_PROCEDURE\n"); | ||
2537 | debug_text_event(fsf_req->adapter->erp_dbf, 1, | 2414 | debug_text_event(fsf_req->adapter->erp_dbf, 1, |
2538 | "fsf_sq_ltest"); | 2415 | "fsf_sq_ltest"); |
2539 | /* ERP strategy will escalate */ | 2416 | /* ERP strategy will escalate */ |
@@ -2546,7 +2423,6 @@ zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2546 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 2423 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
2547 | break; | 2424 | break; |
2548 | case FSF_SQ_NO_RETRY_POSSIBLE: | 2425 | case FSF_SQ_NO_RETRY_POSSIBLE: |
2549 | ZFCP_LOG_FLAGS(0, "FSF_SQ_NO_RETRY_POSSIBLE\n"); | ||
2550 | ZFCP_LOG_NORMAL("The remote port 0x%016Lx on " | 2426 | ZFCP_LOG_NORMAL("The remote port 0x%016Lx on " |
2551 | "adapter %s could not be opened. " | 2427 | "adapter %s could not be opened. " |
2552 | "Disabling it.\n", | 2428 | "Disabling it.\n", |
@@ -2572,7 +2448,6 @@ zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2572 | break; | 2448 | break; |
2573 | 2449 | ||
2574 | case FSF_GOOD: | 2450 | case FSF_GOOD: |
2575 | ZFCP_LOG_FLAGS(3, "FSF_GOOD\n"); | ||
2576 | /* save port handle assigned by FSF */ | 2451 | /* save port handle assigned by FSF */ |
2577 | port->handle = header->port_handle; | 2452 | port->handle = header->port_handle; |
2578 | ZFCP_LOG_INFO("The remote port 0x%016Lx via adapter %s " | 2453 | ZFCP_LOG_INFO("The remote port 0x%016Lx via adapter %s " |
@@ -2582,6 +2457,9 @@ zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2582 | /* mark port as open */ | 2457 | /* mark port as open */ |
2583 | atomic_set_mask(ZFCP_STATUS_COMMON_OPEN | | 2458 | atomic_set_mask(ZFCP_STATUS_COMMON_OPEN | |
2584 | ZFCP_STATUS_PORT_PHYS_OPEN, &port->status); | 2459 | ZFCP_STATUS_PORT_PHYS_OPEN, &port->status); |
2460 | atomic_clear_mask(ZFCP_STATUS_COMMON_ACCESS_DENIED | | ||
2461 | ZFCP_STATUS_COMMON_ACCESS_BOXED, | ||
2462 | &port->status); | ||
2585 | retval = 0; | 2463 | retval = 0; |
2586 | /* check whether D_ID has changed during open */ | 2464 | /* check whether D_ID has changed during open */ |
2587 | /* | 2465 | /* |
@@ -2630,7 +2508,6 @@ zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2630 | 2508 | ||
2631 | case FSF_UNKNOWN_OP_SUBTYPE: | 2509 | case FSF_UNKNOWN_OP_SUBTYPE: |
2632 | /* should never occure, subtype not set in zfcp_fsf_open_port */ | 2510 | /* should never occure, subtype not set in zfcp_fsf_open_port */ |
2633 | ZFCP_LOG_FLAGS(2, "FSF_UNKNOWN_OP_SUBTYPE\n"); | ||
2634 | ZFCP_LOG_INFO("unknown operation subtype (adapter: %s, " | 2511 | ZFCP_LOG_INFO("unknown operation subtype (adapter: %s, " |
2635 | "op_subtype=0x%x)\n", | 2512 | "op_subtype=0x%x)\n", |
2636 | zfcp_get_busid_by_port(port), | 2513 | zfcp_get_busid_by_port(port), |
@@ -2739,7 +2616,6 @@ zfcp_fsf_close_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2739 | switch (fsf_req->qtcb->header.fsf_status) { | 2616 | switch (fsf_req->qtcb->header.fsf_status) { |
2740 | 2617 | ||
2741 | case FSF_PORT_HANDLE_NOT_VALID: | 2618 | case FSF_PORT_HANDLE_NOT_VALID: |
2742 | ZFCP_LOG_FLAGS(1, "FSF_PORT_HANDLE_NOT_VALID\n"); | ||
2743 | ZFCP_LOG_INFO("Temporary port identifier 0x%x for port " | 2619 | ZFCP_LOG_INFO("Temporary port identifier 0x%x for port " |
2744 | "0x%016Lx on adapter %s invalid. This may happen " | 2620 | "0x%016Lx on adapter %s invalid. This may happen " |
2745 | "occasionally.\n", port->handle, | 2621 | "occasionally.\n", port->handle, |
@@ -2755,7 +2631,6 @@ zfcp_fsf_close_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2755 | break; | 2631 | break; |
2756 | 2632 | ||
2757 | case FSF_ADAPTER_STATUS_AVAILABLE: | 2633 | case FSF_ADAPTER_STATUS_AVAILABLE: |
2758 | ZFCP_LOG_FLAGS(2, "FSF_ADAPTER_STATUS_AVAILABLE\n"); | ||
2759 | /* Note: FSF has actually closed the port in this case. | 2634 | /* Note: FSF has actually closed the port in this case. |
2760 | * The status code is just daft. Fingers crossed for a change | 2635 | * The status code is just daft. Fingers crossed for a change |
2761 | */ | 2636 | */ |
@@ -2763,7 +2638,6 @@ zfcp_fsf_close_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2763 | break; | 2638 | break; |
2764 | 2639 | ||
2765 | case FSF_GOOD: | 2640 | case FSF_GOOD: |
2766 | ZFCP_LOG_FLAGS(3, "FSF_GOOD\n"); | ||
2767 | ZFCP_LOG_TRACE("remote port 0x016%Lx on adapter %s closed, " | 2641 | ZFCP_LOG_TRACE("remote port 0x016%Lx on adapter %s closed, " |
2768 | "port handle 0x%x\n", port->wwpn, | 2642 | "port handle 0x%x\n", port->wwpn, |
2769 | zfcp_get_busid_by_port(port), port->handle); | 2643 | zfcp_get_busid_by_port(port), port->handle); |
@@ -2884,7 +2758,6 @@ zfcp_fsf_close_physical_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2884 | switch (header->fsf_status) { | 2758 | switch (header->fsf_status) { |
2885 | 2759 | ||
2886 | case FSF_PORT_HANDLE_NOT_VALID: | 2760 | case FSF_PORT_HANDLE_NOT_VALID: |
2887 | ZFCP_LOG_FLAGS(1, "FSF_PORT_HANDLE_NOT_VALID\n"); | ||
2888 | ZFCP_LOG_INFO("Temporary port identifier 0x%x invalid" | 2761 | ZFCP_LOG_INFO("Temporary port identifier 0x%x invalid" |
2889 | "(adapter %s, port 0x%016Lx). " | 2762 | "(adapter %s, port 0x%016Lx). " |
2890 | "This may happen occasionally.\n", | 2763 | "This may happen occasionally.\n", |
@@ -2902,7 +2775,6 @@ zfcp_fsf_close_physical_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2902 | break; | 2775 | break; |
2903 | 2776 | ||
2904 | case FSF_ACCESS_DENIED: | 2777 | case FSF_ACCESS_DENIED: |
2905 | ZFCP_LOG_FLAGS(2, "FSF_ACCESS_DENIED\n"); | ||
2906 | ZFCP_LOG_NORMAL("Access denied, cannot close " | 2778 | ZFCP_LOG_NORMAL("Access denied, cannot close " |
2907 | "physical port 0x%016Lx on adapter %s\n", | 2779 | "physical port 0x%016Lx on adapter %s\n", |
2908 | port->wwpn, zfcp_get_busid_by_port(port)); | 2780 | port->wwpn, zfcp_get_busid_by_port(port)); |
@@ -2925,32 +2797,26 @@ zfcp_fsf_close_physical_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2925 | break; | 2797 | break; |
2926 | 2798 | ||
2927 | case FSF_PORT_BOXED: | 2799 | case FSF_PORT_BOXED: |
2928 | ZFCP_LOG_FLAGS(2, "FSF_PORT_BOXED\n"); | ||
2929 | ZFCP_LOG_DEBUG("The remote port 0x%016Lx on adapter " | 2800 | ZFCP_LOG_DEBUG("The remote port 0x%016Lx on adapter " |
2930 | "%s needs to be reopened but it was attempted " | 2801 | "%s needs to be reopened but it was attempted " |
2931 | "to close it physically.\n", | 2802 | "to close it physically.\n", |
2932 | port->wwpn, | 2803 | port->wwpn, |
2933 | zfcp_get_busid_by_port(port)); | 2804 | zfcp_get_busid_by_port(port)); |
2934 | debug_text_event(fsf_req->adapter->erp_dbf, 1, "fsf_s_pboxed"); | 2805 | debug_text_event(fsf_req->adapter->erp_dbf, 1, "fsf_s_pboxed"); |
2935 | zfcp_erp_port_reopen(port, 0); | 2806 | zfcp_erp_port_boxed(port); |
2936 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | | 2807 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | |
2937 | ZFCP_STATUS_FSFREQ_RETRY; | 2808 | ZFCP_STATUS_FSFREQ_RETRY; |
2938 | break; | 2809 | break; |
2939 | 2810 | ||
2940 | case FSF_ADAPTER_STATUS_AVAILABLE: | 2811 | case FSF_ADAPTER_STATUS_AVAILABLE: |
2941 | ZFCP_LOG_FLAGS(2, "FSF_ADAPTER_STATUS_AVAILABLE\n"); | ||
2942 | switch (header->fsf_status_qual.word[0]) { | 2812 | switch (header->fsf_status_qual.word[0]) { |
2943 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: | 2813 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: |
2944 | ZFCP_LOG_FLAGS(2, | ||
2945 | "FSF_SQ_INVOKE_LINK_TEST_PROCEDURE\n"); | ||
2946 | debug_text_event(fsf_req->adapter->erp_dbf, 1, | 2814 | debug_text_event(fsf_req->adapter->erp_dbf, 1, |
2947 | "fsf_sq_ltest"); | 2815 | "fsf_sq_ltest"); |
2948 | /* This will now be escalated by ERP */ | 2816 | /* This will now be escalated by ERP */ |
2949 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 2817 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
2950 | break; | 2818 | break; |
2951 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: | 2819 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: |
2952 | ZFCP_LOG_FLAGS(2, | ||
2953 | "FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED\n"); | ||
2954 | /* ERP strategy will escalate */ | 2820 | /* ERP strategy will escalate */ |
2955 | debug_text_event(fsf_req->adapter->erp_dbf, 1, | 2821 | debug_text_event(fsf_req->adapter->erp_dbf, 1, |
2956 | "fsf_sq_ulp"); | 2822 | "fsf_sq_ulp"); |
@@ -2970,7 +2836,6 @@ zfcp_fsf_close_physical_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2970 | break; | 2836 | break; |
2971 | 2837 | ||
2972 | case FSF_GOOD: | 2838 | case FSF_GOOD: |
2973 | ZFCP_LOG_FLAGS(3, "FSF_GOOD\n"); | ||
2974 | ZFCP_LOG_DEBUG("Remote port 0x%016Lx via adapter %s " | 2839 | ZFCP_LOG_DEBUG("Remote port 0x%016Lx via adapter %s " |
2975 | "physically closed, port handle 0x%x\n", | 2840 | "physically closed, port handle 0x%x\n", |
2976 | port->wwpn, | 2841 | port->wwpn, |
@@ -3116,7 +2981,6 @@ zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3116 | switch (header->fsf_status) { | 2981 | switch (header->fsf_status) { |
3117 | 2982 | ||
3118 | case FSF_PORT_HANDLE_NOT_VALID: | 2983 | case FSF_PORT_HANDLE_NOT_VALID: |
3119 | ZFCP_LOG_FLAGS(1, "FSF_PORT_HANDLE_NOT_VALID\n"); | ||
3120 | ZFCP_LOG_INFO("Temporary port identifier 0x%x " | 2984 | ZFCP_LOG_INFO("Temporary port identifier 0x%x " |
3121 | "for port 0x%016Lx on adapter %s invalid " | 2985 | "for port 0x%016Lx on adapter %s invalid " |
3122 | "This may happen occasionally\n", | 2986 | "This may happen occasionally\n", |
@@ -3132,7 +2996,6 @@ zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3132 | break; | 2996 | break; |
3133 | 2997 | ||
3134 | case FSF_LUN_ALREADY_OPEN: | 2998 | case FSF_LUN_ALREADY_OPEN: |
3135 | ZFCP_LOG_FLAGS(0, "FSF_LUN_ALREADY_OPEN\n"); | ||
3136 | ZFCP_LOG_NORMAL("bug: Attempted to open unit 0x%016Lx on " | 2999 | ZFCP_LOG_NORMAL("bug: Attempted to open unit 0x%016Lx on " |
3137 | "remote port 0x%016Lx on adapter %s twice.\n", | 3000 | "remote port 0x%016Lx on adapter %s twice.\n", |
3138 | unit->fcp_lun, | 3001 | unit->fcp_lun, |
@@ -3143,7 +3006,6 @@ zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3143 | break; | 3006 | break; |
3144 | 3007 | ||
3145 | case FSF_ACCESS_DENIED: | 3008 | case FSF_ACCESS_DENIED: |
3146 | ZFCP_LOG_FLAGS(2, "FSF_ACCESS_DENIED\n"); | ||
3147 | ZFCP_LOG_NORMAL("Access denied, cannot open unit 0x%016Lx on " | 3009 | ZFCP_LOG_NORMAL("Access denied, cannot open unit 0x%016Lx on " |
3148 | "remote port 0x%016Lx on adapter %s\n", | 3010 | "remote port 0x%016Lx on adapter %s\n", |
3149 | unit->fcp_lun, unit->port->wwpn, | 3011 | unit->fcp_lun, unit->port->wwpn, |
@@ -3169,18 +3031,16 @@ zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3169 | break; | 3031 | break; |
3170 | 3032 | ||
3171 | case FSF_PORT_BOXED: | 3033 | case FSF_PORT_BOXED: |
3172 | ZFCP_LOG_FLAGS(2, "FSF_PORT_BOXED\n"); | ||
3173 | ZFCP_LOG_DEBUG("The remote port 0x%016Lx on adapter %s " | 3034 | ZFCP_LOG_DEBUG("The remote port 0x%016Lx on adapter %s " |
3174 | "needs to be reopened\n", | 3035 | "needs to be reopened\n", |
3175 | unit->port->wwpn, zfcp_get_busid_by_unit(unit)); | 3036 | unit->port->wwpn, zfcp_get_busid_by_unit(unit)); |
3176 | debug_text_event(adapter->erp_dbf, 2, "fsf_s_pboxed"); | 3037 | debug_text_event(adapter->erp_dbf, 2, "fsf_s_pboxed"); |
3177 | zfcp_erp_port_reopen(unit->port, 0); | 3038 | zfcp_erp_port_boxed(unit->port); |
3178 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | | 3039 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | |
3179 | ZFCP_STATUS_FSFREQ_RETRY; | 3040 | ZFCP_STATUS_FSFREQ_RETRY; |
3180 | break; | 3041 | break; |
3181 | 3042 | ||
3182 | case FSF_LUN_SHARING_VIOLATION: | 3043 | case FSF_LUN_SHARING_VIOLATION: |
3183 | ZFCP_LOG_FLAGS(2, "FSF_LUN_SHARING_VIOLATION\n"); | ||
3184 | if (header->fsf_status_qual.word[0] != 0) { | 3044 | if (header->fsf_status_qual.word[0] != 0) { |
3185 | ZFCP_LOG_NORMAL("FCP-LUN 0x%Lx at the remote port " | 3045 | ZFCP_LOG_NORMAL("FCP-LUN 0x%Lx at the remote port " |
3186 | "with WWPN 0x%Lx " | 3046 | "with WWPN 0x%Lx " |
@@ -3224,7 +3084,6 @@ zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3224 | break; | 3084 | break; |
3225 | 3085 | ||
3226 | case FSF_MAXIMUM_NUMBER_OF_LUNS_EXCEEDED: | 3086 | case FSF_MAXIMUM_NUMBER_OF_LUNS_EXCEEDED: |
3227 | ZFCP_LOG_FLAGS(1, "FSF_MAXIMUM_NUMBER_OF_LUNS_EXCEEDED\n"); | ||
3228 | ZFCP_LOG_INFO("error: The adapter ran out of resources. " | 3087 | ZFCP_LOG_INFO("error: The adapter ran out of resources. " |
3229 | "There is no handle (temporary port identifier) " | 3088 | "There is no handle (temporary port identifier) " |
3230 | "available for unit 0x%016Lx on port 0x%016Lx " | 3089 | "available for unit 0x%016Lx on port 0x%016Lx " |
@@ -3239,20 +3098,15 @@ zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3239 | break; | 3098 | break; |
3240 | 3099 | ||
3241 | case FSF_ADAPTER_STATUS_AVAILABLE: | 3100 | case FSF_ADAPTER_STATUS_AVAILABLE: |
3242 | ZFCP_LOG_FLAGS(2, "FSF_ADAPTER_STATUS_AVAILABLE\n"); | ||
3243 | switch (header->fsf_status_qual.word[0]) { | 3101 | switch (header->fsf_status_qual.word[0]) { |
3244 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: | 3102 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: |
3245 | ZFCP_LOG_FLAGS(2, | ||
3246 | "FSF_SQ_INVOKE_LINK_TEST_PROCEDURE\n"); | ||
3247 | /* Re-establish link to port */ | 3103 | /* Re-establish link to port */ |
3248 | debug_text_event(adapter->erp_dbf, 1, | 3104 | debug_text_event(adapter->erp_dbf, 1, |
3249 | "fsf_sq_ltest"); | 3105 | "fsf_sq_ltest"); |
3250 | zfcp_erp_port_reopen(unit->port, 0); | 3106 | zfcp_test_link(unit->port); |
3251 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 3107 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
3252 | break; | 3108 | break; |
3253 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: | 3109 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: |
3254 | ZFCP_LOG_FLAGS(2, | ||
3255 | "FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED\n"); | ||
3256 | /* ERP strategy will escalate */ | 3110 | /* ERP strategy will escalate */ |
3257 | debug_text_event(adapter->erp_dbf, 1, | 3111 | debug_text_event(adapter->erp_dbf, 1, |
3258 | "fsf_sq_ulp"); | 3112 | "fsf_sq_ulp"); |
@@ -3271,7 +3125,6 @@ zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3271 | break; | 3125 | break; |
3272 | 3126 | ||
3273 | case FSF_INVALID_COMMAND_OPTION: | 3127 | case FSF_INVALID_COMMAND_OPTION: |
3274 | ZFCP_LOG_FLAGS(2, "FSF_INVALID_COMMAND_OPTION\n"); | ||
3275 | ZFCP_LOG_NORMAL( | 3128 | ZFCP_LOG_NORMAL( |
3276 | "Invalid option 0x%x has been specified " | 3129 | "Invalid option 0x%x has been specified " |
3277 | "in QTCB bottom sent to the adapter %s\n", | 3130 | "in QTCB bottom sent to the adapter %s\n", |
@@ -3282,7 +3135,6 @@ zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3282 | break; | 3135 | break; |
3283 | 3136 | ||
3284 | case FSF_GOOD: | 3137 | case FSF_GOOD: |
3285 | ZFCP_LOG_FLAGS(3, "FSF_GOOD\n"); | ||
3286 | /* save LUN handle assigned by FSF */ | 3138 | /* save LUN handle assigned by FSF */ |
3287 | unit->handle = header->lun_handle; | 3139 | unit->handle = header->lun_handle; |
3288 | ZFCP_LOG_TRACE("unit 0x%016Lx on remote port 0x%016Lx on " | 3140 | ZFCP_LOG_TRACE("unit 0x%016Lx on remote port 0x%016Lx on " |
@@ -3293,7 +3145,9 @@ zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3293 | unit->handle); | 3145 | unit->handle); |
3294 | /* mark unit as open */ | 3146 | /* mark unit as open */ |
3295 | atomic_set_mask(ZFCP_STATUS_COMMON_OPEN, &unit->status); | 3147 | atomic_set_mask(ZFCP_STATUS_COMMON_OPEN, &unit->status); |
3296 | 3148 | atomic_clear_mask(ZFCP_STATUS_COMMON_ACCESS_DENIED | | |
3149 | ZFCP_STATUS_COMMON_ACCESS_BOXED, | ||
3150 | &unit->status); | ||
3297 | if (adapter->supported_features & FSF_FEATURE_LUN_SHARING){ | 3151 | if (adapter->supported_features & FSF_FEATURE_LUN_SHARING){ |
3298 | if (!exclusive) | 3152 | if (!exclusive) |
3299 | atomic_set_mask(ZFCP_STATUS_UNIT_SHARED, | 3153 | atomic_set_mask(ZFCP_STATUS_UNIT_SHARED, |
@@ -3437,7 +3291,6 @@ zfcp_fsf_close_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3437 | switch (fsf_req->qtcb->header.fsf_status) { | 3291 | switch (fsf_req->qtcb->header.fsf_status) { |
3438 | 3292 | ||
3439 | case FSF_PORT_HANDLE_NOT_VALID: | 3293 | case FSF_PORT_HANDLE_NOT_VALID: |
3440 | ZFCP_LOG_FLAGS(1, "FSF_PORT_HANDLE_NOT_VALID\n"); | ||
3441 | ZFCP_LOG_INFO("Temporary port identifier 0x%x for port " | 3294 | ZFCP_LOG_INFO("Temporary port identifier 0x%x for port " |
3442 | "0x%016Lx on adapter %s invalid. This may " | 3295 | "0x%016Lx on adapter %s invalid. This may " |
3443 | "happen in rare circumstances\n", | 3296 | "happen in rare circumstances\n", |
@@ -3458,7 +3311,6 @@ zfcp_fsf_close_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3458 | break; | 3311 | break; |
3459 | 3312 | ||
3460 | case FSF_LUN_HANDLE_NOT_VALID: | 3313 | case FSF_LUN_HANDLE_NOT_VALID: |
3461 | ZFCP_LOG_FLAGS(1, "FSF_LUN_HANDLE_NOT_VALID\n"); | ||
3462 | ZFCP_LOG_INFO("Temporary LUN identifier 0x%x of unit " | 3314 | ZFCP_LOG_INFO("Temporary LUN identifier 0x%x of unit " |
3463 | "0x%016Lx on port 0x%016Lx on adapter %s is " | 3315 | "0x%016Lx on port 0x%016Lx on adapter %s is " |
3464 | "invalid. This may happen occasionally.\n", | 3316 | "invalid. This may happen occasionally.\n", |
@@ -3480,32 +3332,26 @@ zfcp_fsf_close_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3480 | break; | 3332 | break; |
3481 | 3333 | ||
3482 | case FSF_PORT_BOXED: | 3334 | case FSF_PORT_BOXED: |
3483 | ZFCP_LOG_FLAGS(2, "FSF_PORT_BOXED\n"); | ||
3484 | ZFCP_LOG_DEBUG("The remote port 0x%016Lx on adapter %s " | 3335 | ZFCP_LOG_DEBUG("The remote port 0x%016Lx on adapter %s " |
3485 | "needs to be reopened\n", | 3336 | "needs to be reopened\n", |
3486 | unit->port->wwpn, | 3337 | unit->port->wwpn, |
3487 | zfcp_get_busid_by_unit(unit)); | 3338 | zfcp_get_busid_by_unit(unit)); |
3488 | debug_text_event(fsf_req->adapter->erp_dbf, 2, "fsf_s_pboxed"); | 3339 | debug_text_event(fsf_req->adapter->erp_dbf, 2, "fsf_s_pboxed"); |
3489 | zfcp_erp_port_reopen(unit->port, 0); | 3340 | zfcp_erp_port_boxed(unit->port); |
3490 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | | 3341 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | |
3491 | ZFCP_STATUS_FSFREQ_RETRY; | 3342 | ZFCP_STATUS_FSFREQ_RETRY; |
3492 | break; | 3343 | break; |
3493 | 3344 | ||
3494 | case FSF_ADAPTER_STATUS_AVAILABLE: | 3345 | case FSF_ADAPTER_STATUS_AVAILABLE: |
3495 | ZFCP_LOG_FLAGS(2, "FSF_ADAPTER_STATUS_AVAILABLE\n"); | ||
3496 | switch (fsf_req->qtcb->header.fsf_status_qual.word[0]) { | 3346 | switch (fsf_req->qtcb->header.fsf_status_qual.word[0]) { |
3497 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: | 3347 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: |
3498 | ZFCP_LOG_FLAGS(2, | ||
3499 | "FSF_SQ_INVOKE_LINK_TEST_PROCEDURE\n"); | ||
3500 | /* re-establish link to port */ | 3348 | /* re-establish link to port */ |
3501 | debug_text_event(fsf_req->adapter->erp_dbf, 1, | 3349 | debug_text_event(fsf_req->adapter->erp_dbf, 1, |
3502 | "fsf_sq_ltest"); | 3350 | "fsf_sq_ltest"); |
3503 | zfcp_erp_port_reopen(unit->port, 0); | 3351 | zfcp_test_link(unit->port); |
3504 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | 3352 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; |
3505 | break; | 3353 | break; |
3506 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: | 3354 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: |
3507 | ZFCP_LOG_FLAGS(2, | ||
3508 | "FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED\n"); | ||
3509 | /* ERP strategy will escalate */ | 3355 | /* ERP strategy will escalate */ |
3510 | debug_text_event(fsf_req->adapter->erp_dbf, 1, | 3356 | debug_text_event(fsf_req->adapter->erp_dbf, 1, |
3511 | "fsf_sq_ulp"); | 3357 | "fsf_sq_ulp"); |
@@ -3526,7 +3372,6 @@ zfcp_fsf_close_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3526 | break; | 3372 | break; |
3527 | 3373 | ||
3528 | case FSF_GOOD: | 3374 | case FSF_GOOD: |
3529 | ZFCP_LOG_FLAGS(3, "FSF_GOOD\n"); | ||
3530 | ZFCP_LOG_TRACE("unit 0x%016Lx on port 0x%016Lx on adapter %s " | 3375 | ZFCP_LOG_TRACE("unit 0x%016Lx on port 0x%016Lx on adapter %s " |
3531 | "closed, port handle 0x%x\n", | 3376 | "closed, port handle 0x%x\n", |
3532 | unit->fcp_lun, | 3377 | unit->fcp_lun, |
@@ -3622,7 +3467,6 @@ zfcp_fsf_send_fcp_command_task(struct zfcp_adapter *adapter, | |||
3622 | */ | 3467 | */ |
3623 | switch (scsi_cmnd->sc_data_direction) { | 3468 | switch (scsi_cmnd->sc_data_direction) { |
3624 | case DMA_NONE: | 3469 | case DMA_NONE: |
3625 | ZFCP_LOG_FLAGS(3, "DMA_NONE\n"); | ||
3626 | fsf_req->qtcb->bottom.io.data_direction = FSF_DATADIR_CMND; | 3470 | fsf_req->qtcb->bottom.io.data_direction = FSF_DATADIR_CMND; |
3627 | /* | 3471 | /* |
3628 | * FIXME(qdio): | 3472 | * FIXME(qdio): |
@@ -3632,19 +3476,16 @@ zfcp_fsf_send_fcp_command_task(struct zfcp_adapter *adapter, | |||
3632 | sbtype = SBAL_FLAGS0_TYPE_READ; | 3476 | sbtype = SBAL_FLAGS0_TYPE_READ; |
3633 | break; | 3477 | break; |
3634 | case DMA_FROM_DEVICE: | 3478 | case DMA_FROM_DEVICE: |
3635 | ZFCP_LOG_FLAGS(3, "DMA_FROM_DEVICE\n"); | ||
3636 | fsf_req->qtcb->bottom.io.data_direction = FSF_DATADIR_READ; | 3479 | fsf_req->qtcb->bottom.io.data_direction = FSF_DATADIR_READ; |
3637 | sbtype = SBAL_FLAGS0_TYPE_READ; | 3480 | sbtype = SBAL_FLAGS0_TYPE_READ; |
3638 | fcp_cmnd_iu->rddata = 1; | 3481 | fcp_cmnd_iu->rddata = 1; |
3639 | break; | 3482 | break; |
3640 | case DMA_TO_DEVICE: | 3483 | case DMA_TO_DEVICE: |
3641 | ZFCP_LOG_FLAGS(3, "DMA_TO_DEVICE\n"); | ||
3642 | fsf_req->qtcb->bottom.io.data_direction = FSF_DATADIR_WRITE; | 3484 | fsf_req->qtcb->bottom.io.data_direction = FSF_DATADIR_WRITE; |
3643 | sbtype = SBAL_FLAGS0_TYPE_WRITE; | 3485 | sbtype = SBAL_FLAGS0_TYPE_WRITE; |
3644 | fcp_cmnd_iu->wddata = 1; | 3486 | fcp_cmnd_iu->wddata = 1; |
3645 | break; | 3487 | break; |
3646 | case DMA_BIDIRECTIONAL: | 3488 | case DMA_BIDIRECTIONAL: |
3647 | ZFCP_LOG_FLAGS(0, "DMA_BIDIRECTIONAL not supported\n"); | ||
3648 | default: | 3489 | default: |
3649 | /* | 3490 | /* |
3650 | * dummy, catch this condition earlier | 3491 | * dummy, catch this condition earlier |
@@ -3877,7 +3718,6 @@ zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) | |||
3877 | switch (header->fsf_status) { | 3718 | switch (header->fsf_status) { |
3878 | 3719 | ||
3879 | case FSF_PORT_HANDLE_NOT_VALID: | 3720 | case FSF_PORT_HANDLE_NOT_VALID: |
3880 | ZFCP_LOG_FLAGS(1, "FSF_PORT_HANDLE_NOT_VALID\n"); | ||
3881 | ZFCP_LOG_INFO("Temporary port identifier 0x%x for port " | 3721 | ZFCP_LOG_INFO("Temporary port identifier 0x%x for port " |
3882 | "0x%016Lx on adapter %s invalid\n", | 3722 | "0x%016Lx on adapter %s invalid\n", |
3883 | unit->port->handle, | 3723 | unit->port->handle, |
@@ -3892,7 +3732,6 @@ zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) | |||
3892 | break; | 3732 | break; |
3893 | 3733 | ||
3894 | case FSF_LUN_HANDLE_NOT_VALID: | 3734 | case FSF_LUN_HANDLE_NOT_VALID: |
3895 | ZFCP_LOG_FLAGS(1, "FSF_LUN_HANDLE_NOT_VALID\n"); | ||
3896 | ZFCP_LOG_INFO("Temporary LUN identifier 0x%x for unit " | 3735 | ZFCP_LOG_INFO("Temporary LUN identifier 0x%x for unit " |
3897 | "0x%016Lx on port 0x%016Lx on adapter %s is " | 3736 | "0x%016Lx on port 0x%016Lx on adapter %s is " |
3898 | "invalid. This may happen occasionally.\n", | 3737 | "invalid. This may happen occasionally.\n", |
@@ -3911,7 +3750,6 @@ zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) | |||
3911 | break; | 3750 | break; |
3912 | 3751 | ||
3913 | case FSF_HANDLE_MISMATCH: | 3752 | case FSF_HANDLE_MISMATCH: |
3914 | ZFCP_LOG_FLAGS(0, "FSF_HANDLE_MISMATCH\n"); | ||
3915 | ZFCP_LOG_NORMAL("bug: The port handle 0x%x has changed " | 3753 | ZFCP_LOG_NORMAL("bug: The port handle 0x%x has changed " |
3916 | "unexpectedly. (adapter %s, port 0x%016Lx, " | 3754 | "unexpectedly. (adapter %s, port 0x%016Lx, " |
3917 | "unit 0x%016Lx)\n", | 3755 | "unit 0x%016Lx)\n", |
@@ -3934,7 +3772,6 @@ zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) | |||
3934 | break; | 3772 | break; |
3935 | 3773 | ||
3936 | case FSF_SERVICE_CLASS_NOT_SUPPORTED: | 3774 | case FSF_SERVICE_CLASS_NOT_SUPPORTED: |
3937 | ZFCP_LOG_FLAGS(0, "FSF_SERVICE_CLASS_NOT_SUPPORTED\n"); | ||
3938 | if (fsf_req->adapter->fc_service_class <= 3) { | 3775 | if (fsf_req->adapter->fc_service_class <= 3) { |
3939 | ZFCP_LOG_NORMAL("error: The adapter %s does " | 3776 | ZFCP_LOG_NORMAL("error: The adapter %s does " |
3940 | "not support fibrechannel class %d.\n", | 3777 | "not support fibrechannel class %d.\n", |
@@ -3959,7 +3796,6 @@ zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) | |||
3959 | break; | 3796 | break; |
3960 | 3797 | ||
3961 | case FSF_FCPLUN_NOT_VALID: | 3798 | case FSF_FCPLUN_NOT_VALID: |
3962 | ZFCP_LOG_FLAGS(0, "FSF_FCPLUN_NOT_VALID\n"); | ||
3963 | ZFCP_LOG_NORMAL("bug: unit 0x%016Lx on port 0x%016Lx on " | 3799 | ZFCP_LOG_NORMAL("bug: unit 0x%016Lx on port 0x%016Lx on " |
3964 | "adapter %s does not have correct unit " | 3800 | "adapter %s does not have correct unit " |
3965 | "handle 0x%x\n", | 3801 | "handle 0x%x\n", |
@@ -3982,7 +3818,6 @@ zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) | |||
3982 | break; | 3818 | break; |
3983 | 3819 | ||
3984 | case FSF_ACCESS_DENIED: | 3820 | case FSF_ACCESS_DENIED: |
3985 | ZFCP_LOG_FLAGS(2, "FSF_ACCESS_DENIED\n"); | ||
3986 | ZFCP_LOG_NORMAL("Access denied, cannot send FCP command to " | 3821 | ZFCP_LOG_NORMAL("Access denied, cannot send FCP command to " |
3987 | "unit 0x%016Lx on port 0x%016Lx on " | 3822 | "unit 0x%016Lx on port 0x%016Lx on " |
3988 | "adapter %s\n", unit->fcp_lun, unit->port->wwpn, | 3823 | "adapter %s\n", unit->fcp_lun, unit->port->wwpn, |
@@ -4006,7 +3841,6 @@ zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) | |||
4006 | break; | 3841 | break; |
4007 | 3842 | ||
4008 | case FSF_DIRECTION_INDICATOR_NOT_VALID: | 3843 | case FSF_DIRECTION_INDICATOR_NOT_VALID: |
4009 | ZFCP_LOG_FLAGS(0, "FSF_DIRECTION_INDICATOR_NOT_VALID\n"); | ||
4010 | ZFCP_LOG_INFO("bug: Invalid data direction given for unit " | 3844 | ZFCP_LOG_INFO("bug: Invalid data direction given for unit " |
4011 | "0x%016Lx on port 0x%016Lx on adapter %s " | 3845 | "0x%016Lx on port 0x%016Lx on adapter %s " |
4012 | "(debug info %d)\n", | 3846 | "(debug info %d)\n", |
@@ -4026,7 +3860,6 @@ zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) | |||
4026 | break; | 3860 | break; |
4027 | 3861 | ||
4028 | case FSF_CMND_LENGTH_NOT_VALID: | 3862 | case FSF_CMND_LENGTH_NOT_VALID: |
4029 | ZFCP_LOG_FLAGS(0, "FSF_CMND_LENGTH_NOT_VALID\n"); | ||
4030 | ZFCP_LOG_NORMAL | 3863 | ZFCP_LOG_NORMAL |
4031 | ("bug: An invalid control-data-block length field " | 3864 | ("bug: An invalid control-data-block length field " |
4032 | "was found in a command for unit 0x%016Lx on port " | 3865 | "was found in a command for unit 0x%016Lx on port " |
@@ -4046,69 +3879,43 @@ zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) | |||
4046 | break; | 3879 | break; |
4047 | 3880 | ||
4048 | case FSF_PORT_BOXED: | 3881 | case FSF_PORT_BOXED: |
4049 | ZFCP_LOG_FLAGS(2, "FSF_PORT_BOXED\n"); | ||
4050 | ZFCP_LOG_DEBUG("The remote port 0x%016Lx on adapter %s " | 3882 | ZFCP_LOG_DEBUG("The remote port 0x%016Lx on adapter %s " |
4051 | "needs to be reopened\n", | 3883 | "needs to be reopened\n", |
4052 | unit->port->wwpn, zfcp_get_busid_by_unit(unit)); | 3884 | unit->port->wwpn, zfcp_get_busid_by_unit(unit)); |
4053 | debug_text_event(fsf_req->adapter->erp_dbf, 2, "fsf_s_pboxed"); | 3885 | debug_text_event(fsf_req->adapter->erp_dbf, 2, "fsf_s_pboxed"); |
4054 | zfcp_erp_port_reopen(unit->port, 0); | 3886 | zfcp_erp_port_boxed(unit->port); |
4055 | zfcp_cmd_dbf_event_fsf("portbox", fsf_req, | ||
4056 | &header->fsf_status_qual, | ||
4057 | sizeof (union fsf_status_qual)); | ||
4058 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | | 3887 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | |
4059 | ZFCP_STATUS_FSFREQ_RETRY; | 3888 | ZFCP_STATUS_FSFREQ_RETRY; |
4060 | break; | 3889 | break; |
4061 | 3890 | ||
4062 | case FSF_LUN_BOXED: | 3891 | case FSF_LUN_BOXED: |
4063 | ZFCP_LOG_FLAGS(0, "FSF_LUN_BOXED\n"); | ||
4064 | ZFCP_LOG_NORMAL("unit needs to be reopened (adapter %s, " | 3892 | ZFCP_LOG_NORMAL("unit needs to be reopened (adapter %s, " |
4065 | "wwpn=0x%016Lx, fcp_lun=0x%016Lx)\n", | 3893 | "wwpn=0x%016Lx, fcp_lun=0x%016Lx)\n", |
4066 | zfcp_get_busid_by_unit(unit), | 3894 | zfcp_get_busid_by_unit(unit), |
4067 | unit->port->wwpn, unit->fcp_lun); | 3895 | unit->port->wwpn, unit->fcp_lun); |
4068 | debug_text_event(fsf_req->adapter->erp_dbf, 1, "fsf_s_lboxed"); | 3896 | debug_text_event(fsf_req->adapter->erp_dbf, 1, "fsf_s_lboxed"); |
4069 | zfcp_erp_unit_reopen(unit, 0); | 3897 | zfcp_erp_unit_boxed(unit); |
4070 | zfcp_cmd_dbf_event_fsf("unitbox", fsf_req, | ||
4071 | &header->fsf_status_qual, | ||
4072 | sizeof(union fsf_status_qual)); | ||
4073 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | 3898 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR |
4074 | | ZFCP_STATUS_FSFREQ_RETRY; | 3899 | | ZFCP_STATUS_FSFREQ_RETRY; |
4075 | break; | 3900 | break; |
4076 | 3901 | ||
4077 | case FSF_ADAPTER_STATUS_AVAILABLE: | 3902 | case FSF_ADAPTER_STATUS_AVAILABLE: |
4078 | ZFCP_LOG_FLAGS(2, "FSF_ADAPTER_STATUS_AVAILABLE\n"); | ||
4079 | switch (header->fsf_status_qual.word[0]) { | 3903 | switch (header->fsf_status_qual.word[0]) { |
4080 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: | 3904 | case FSF_SQ_INVOKE_LINK_TEST_PROCEDURE: |
4081 | ZFCP_LOG_FLAGS(2, | ||
4082 | "FSF_SQ_INVOKE_LINK_TEST_PROCEDURE\n"); | ||
4083 | /* re-establish link to port */ | 3905 | /* re-establish link to port */ |
4084 | debug_text_event(fsf_req->adapter->erp_dbf, 1, | 3906 | debug_text_event(fsf_req->adapter->erp_dbf, 1, |
4085 | "fsf_sq_ltest"); | 3907 | "fsf_sq_ltest"); |
4086 | zfcp_erp_port_reopen(unit->port, 0); | 3908 | zfcp_test_link(unit->port); |
4087 | zfcp_cmd_dbf_event_fsf( | ||
4088 | "sqltest", | ||
4089 | fsf_req, | ||
4090 | &header->fsf_status_qual, | ||
4091 | sizeof (union fsf_status_qual)); | ||
4092 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | ||
4093 | break; | 3909 | break; |
4094 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: | 3910 | case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: |
4095 | ZFCP_LOG_FLAGS(3, | ||
4096 | "FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED\n"); | ||
4097 | /* FIXME(hw) need proper specs for proper action */ | 3911 | /* FIXME(hw) need proper specs for proper action */ |
4098 | /* let scsi stack deal with retries and escalation */ | 3912 | /* let scsi stack deal with retries and escalation */ |
4099 | debug_text_event(fsf_req->adapter->erp_dbf, 1, | 3913 | debug_text_event(fsf_req->adapter->erp_dbf, 1, |
4100 | "fsf_sq_ulp"); | 3914 | "fsf_sq_ulp"); |
4101 | zfcp_cmd_dbf_event_fsf( | ||
4102 | "sqdeperp", | ||
4103 | fsf_req, | ||
4104 | &header->fsf_status_qual, | ||
4105 | sizeof (union fsf_status_qual)); | ||
4106 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | ||
4107 | break; | 3915 | break; |
4108 | default: | 3916 | default: |
4109 | /* FIXME: shall we consider this a successful transfer? */ | ||
4110 | ZFCP_LOG_NORMAL | 3917 | ZFCP_LOG_NORMAL |
4111 | ("bug: Wrong status qualifier 0x%x arrived.\n", | 3918 | ("Unknown status qualifier 0x%x arrived.\n", |
4112 | header->fsf_status_qual.word[0]); | 3919 | header->fsf_status_qual.word[0]); |
4113 | debug_text_event(fsf_req->adapter->erp_dbf, 0, | 3920 | debug_text_event(fsf_req->adapter->erp_dbf, 0, |
4114 | "fsf_sq_inval:"); | 3921 | "fsf_sq_inval:"); |
@@ -4117,14 +3924,13 @@ zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) | |||
4117 | sizeof(u32)); | 3924 | sizeof(u32)); |
4118 | break; | 3925 | break; |
4119 | } | 3926 | } |
3927 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; | ||
4120 | break; | 3928 | break; |
4121 | 3929 | ||
4122 | case FSF_GOOD: | 3930 | case FSF_GOOD: |
4123 | ZFCP_LOG_FLAGS(3, "FSF_GOOD\n"); | ||
4124 | break; | 3931 | break; |
4125 | 3932 | ||
4126 | case FSF_FCP_RSP_AVAILABLE: | 3933 | case FSF_FCP_RSP_AVAILABLE: |
4127 | ZFCP_LOG_FLAGS(2, "FSF_FCP_RSP_AVAILABLE\n"); | ||
4128 | break; | 3934 | break; |
4129 | 3935 | ||
4130 | default: | 3936 | default: |
@@ -4217,14 +4023,12 @@ zfcp_fsf_send_fcp_command_task_handler(struct zfcp_fsf_req *fsf_req) | |||
4217 | ZFCP_LOG_DEBUG("rsp_len is valid\n"); | 4023 | ZFCP_LOG_DEBUG("rsp_len is valid\n"); |
4218 | switch (fcp_rsp_info[3]) { | 4024 | switch (fcp_rsp_info[3]) { |
4219 | case RSP_CODE_GOOD: | 4025 | case RSP_CODE_GOOD: |
4220 | ZFCP_LOG_FLAGS(3, "RSP_CODE_GOOD\n"); | ||
4221 | /* ok, continue */ | 4026 | /* ok, continue */ |
4222 | ZFCP_LOG_TRACE("no failure or Task Management " | 4027 | ZFCP_LOG_TRACE("no failure or Task Management " |
4223 | "Function complete\n"); | 4028 | "Function complete\n"); |
4224 | set_host_byte(&scpnt->result, DID_OK); | 4029 | set_host_byte(&scpnt->result, DID_OK); |
4225 | break; | 4030 | break; |
4226 | case RSP_CODE_LENGTH_MISMATCH: | 4031 | case RSP_CODE_LENGTH_MISMATCH: |
4227 | ZFCP_LOG_FLAGS(0, "RSP_CODE_LENGTH_MISMATCH\n"); | ||
4228 | /* hardware bug */ | 4032 | /* hardware bug */ |
4229 | ZFCP_LOG_NORMAL("bug: FCP response code indictates " | 4033 | ZFCP_LOG_NORMAL("bug: FCP response code indictates " |
4230 | "that the fibrechannel protocol data " | 4034 | "that the fibrechannel protocol data " |
@@ -4242,7 +4046,6 @@ zfcp_fsf_send_fcp_command_task_handler(struct zfcp_fsf_req *fsf_req) | |||
4242 | set_host_byte(&scpnt->result, DID_ERROR); | 4046 | set_host_byte(&scpnt->result, DID_ERROR); |
4243 | goto skip_fsfstatus; | 4047 | goto skip_fsfstatus; |
4244 | case RSP_CODE_FIELD_INVALID: | 4048 | case RSP_CODE_FIELD_INVALID: |
4245 | ZFCP_LOG_FLAGS(0, "RSP_CODE_FIELD_INVALID\n"); | ||
4246 | /* driver or hardware bug */ | 4049 | /* driver or hardware bug */ |
4247 | ZFCP_LOG_NORMAL("bug: FCP response code indictates " | 4050 | ZFCP_LOG_NORMAL("bug: FCP response code indictates " |
4248 | "that the fibrechannel protocol data " | 4051 | "that the fibrechannel protocol data " |
@@ -4261,7 +4064,6 @@ zfcp_fsf_send_fcp_command_task_handler(struct zfcp_fsf_req *fsf_req) | |||
4261 | zfcp_cmd_dbf_event_fsf("codeinv", fsf_req, NULL, 0); | 4064 | zfcp_cmd_dbf_event_fsf("codeinv", fsf_req, NULL, 0); |
4262 | goto skip_fsfstatus; | 4065 | goto skip_fsfstatus; |
4263 | case RSP_CODE_RO_MISMATCH: | 4066 | case RSP_CODE_RO_MISMATCH: |
4264 | ZFCP_LOG_FLAGS(0, "RSP_CODE_RO_MISMATCH\n"); | ||
4265 | /* hardware bug */ | 4067 | /* hardware bug */ |
4266 | ZFCP_LOG_NORMAL("bug: The FCP response code indicates " | 4068 | ZFCP_LOG_NORMAL("bug: The FCP response code indicates " |
4267 | "that conflicting values for the " | 4069 | "that conflicting values for the " |
@@ -4407,13 +4209,11 @@ zfcp_fsf_send_fcp_command_task_management_handler(struct zfcp_fsf_req *fsf_req) | |||
4407 | /* check FCP_RSP_INFO */ | 4209 | /* check FCP_RSP_INFO */ |
4408 | switch (fcp_rsp_info[3]) { | 4210 | switch (fcp_rsp_info[3]) { |
4409 | case RSP_CODE_GOOD: | 4211 | case RSP_CODE_GOOD: |
4410 | ZFCP_LOG_FLAGS(3, "RSP_CODE_GOOD\n"); | ||
4411 | /* ok, continue */ | 4212 | /* ok, continue */ |
4412 | ZFCP_LOG_DEBUG("no failure or Task Management " | 4213 | ZFCP_LOG_DEBUG("no failure or Task Management " |
4413 | "Function complete\n"); | 4214 | "Function complete\n"); |
4414 | break; | 4215 | break; |
4415 | case RSP_CODE_TASKMAN_UNSUPP: | 4216 | case RSP_CODE_TASKMAN_UNSUPP: |
4416 | ZFCP_LOG_FLAGS(0, "RSP_CODE_TASKMAN_UNSUPP\n"); | ||
4417 | ZFCP_LOG_NORMAL("bug: A reuested task management function " | 4217 | ZFCP_LOG_NORMAL("bug: A reuested task management function " |
4418 | "is not supported on the target device " | 4218 | "is not supported on the target device " |
4419 | "unit 0x%016Lx, port 0x%016Lx, adapter %s\n ", | 4219 | "unit 0x%016Lx, port 0x%016Lx, adapter %s\n ", |
@@ -4423,7 +4223,6 @@ zfcp_fsf_send_fcp_command_task_management_handler(struct zfcp_fsf_req *fsf_req) | |||
4423 | fsf_req->status |= ZFCP_STATUS_FSFREQ_TMFUNCNOTSUPP; | 4223 | fsf_req->status |= ZFCP_STATUS_FSFREQ_TMFUNCNOTSUPP; |
4424 | break; | 4224 | break; |
4425 | case RSP_CODE_TASKMAN_FAILED: | 4225 | case RSP_CODE_TASKMAN_FAILED: |
4426 | ZFCP_LOG_FLAGS(0, "RSP_CODE_TASKMAN_FAILED\n"); | ||
4427 | ZFCP_LOG_NORMAL("bug: A reuested task management function " | 4226 | ZFCP_LOG_NORMAL("bug: A reuested task management function " |
4428 | "failed to complete successfully. " | 4227 | "failed to complete successfully. " |
4429 | "unit 0x%016Lx, port 0x%016Lx, adapter %s.\n", | 4228 | "unit 0x%016Lx, port 0x%016Lx, adapter %s.\n", |
@@ -4610,7 +4409,6 @@ zfcp_fsf_control_file_handler(struct zfcp_fsf_req *fsf_req) | |||
4610 | switch (header->fsf_status) { | 4409 | switch (header->fsf_status) { |
4611 | 4410 | ||
4612 | case FSF_GOOD: | 4411 | case FSF_GOOD: |
4613 | ZFCP_LOG_FLAGS(2, "FSF_GOOD\n"); | ||
4614 | ZFCP_LOG_NORMAL( | 4412 | ZFCP_LOG_NORMAL( |
4615 | "The FSF request has been successfully completed " | 4413 | "The FSF request has been successfully completed " |
4616 | "on the adapter %s\n", | 4414 | "on the adapter %s\n", |
@@ -4618,7 +4416,6 @@ zfcp_fsf_control_file_handler(struct zfcp_fsf_req *fsf_req) | |||
4618 | break; | 4416 | break; |
4619 | 4417 | ||
4620 | case FSF_OPERATION_PARTIALLY_SUCCESSFUL: | 4418 | case FSF_OPERATION_PARTIALLY_SUCCESSFUL: |
4621 | ZFCP_LOG_FLAGS(2, "FSF_OPERATION_PARTIALLY_SUCCESSFUL\n"); | ||
4622 | if (bottom->operation_subtype == FSF_CFDC_OPERATION_SUBTYPE) { | 4419 | if (bottom->operation_subtype == FSF_CFDC_OPERATION_SUBTYPE) { |
4623 | switch (header->fsf_status_qual.word[0]) { | 4420 | switch (header->fsf_status_qual.word[0]) { |
4624 | 4421 | ||
@@ -4655,7 +4452,6 @@ zfcp_fsf_control_file_handler(struct zfcp_fsf_req *fsf_req) | |||
4655 | break; | 4452 | break; |
4656 | 4453 | ||
4657 | case FSF_AUTHORIZATION_FAILURE: | 4454 | case FSF_AUTHORIZATION_FAILURE: |
4658 | ZFCP_LOG_FLAGS(2, "FSF_AUTHORIZATION_FAILURE\n"); | ||
4659 | ZFCP_LOG_NORMAL( | 4455 | ZFCP_LOG_NORMAL( |
4660 | "Adapter %s does not accept privileged commands\n", | 4456 | "Adapter %s does not accept privileged commands\n", |
4661 | zfcp_get_busid_by_adapter(adapter)); | 4457 | zfcp_get_busid_by_adapter(adapter)); |
@@ -4664,7 +4460,6 @@ zfcp_fsf_control_file_handler(struct zfcp_fsf_req *fsf_req) | |||
4664 | break; | 4460 | break; |
4665 | 4461 | ||
4666 | case FSF_CFDC_ERROR_DETECTED: | 4462 | case FSF_CFDC_ERROR_DETECTED: |
4667 | ZFCP_LOG_FLAGS(2, "FSF_CFDC_ERROR_DETECTED\n"); | ||
4668 | ZFCP_LOG_NORMAL( | 4463 | ZFCP_LOG_NORMAL( |
4669 | "Error at position %d in the CFDC, " | 4464 | "Error at position %d in the CFDC, " |
4670 | "CFDC is discarded by the adapter %s\n", | 4465 | "CFDC is discarded by the adapter %s\n", |
@@ -4675,7 +4470,6 @@ zfcp_fsf_control_file_handler(struct zfcp_fsf_req *fsf_req) | |||
4675 | break; | 4470 | break; |
4676 | 4471 | ||
4677 | case FSF_CONTROL_FILE_UPDATE_ERROR: | 4472 | case FSF_CONTROL_FILE_UPDATE_ERROR: |
4678 | ZFCP_LOG_FLAGS(2, "FSF_CONTROL_FILE_UPDATE_ERROR\n"); | ||
4679 | ZFCP_LOG_NORMAL( | 4473 | ZFCP_LOG_NORMAL( |
4680 | "Adapter %s cannot harden the control file, " | 4474 | "Adapter %s cannot harden the control file, " |
4681 | "file is discarded\n", | 4475 | "file is discarded\n", |
@@ -4685,7 +4479,6 @@ zfcp_fsf_control_file_handler(struct zfcp_fsf_req *fsf_req) | |||
4685 | break; | 4479 | break; |
4686 | 4480 | ||
4687 | case FSF_CONTROL_FILE_TOO_LARGE: | 4481 | case FSF_CONTROL_FILE_TOO_LARGE: |
4688 | ZFCP_LOG_FLAGS(2, "FSF_CONTROL_FILE_TOO_LARGE\n"); | ||
4689 | ZFCP_LOG_NORMAL( | 4482 | ZFCP_LOG_NORMAL( |
4690 | "Control file is too large, file is discarded " | 4483 | "Control file is too large, file is discarded " |
4691 | "by the adapter %s\n", | 4484 | "by the adapter %s\n", |
@@ -4695,7 +4488,6 @@ zfcp_fsf_control_file_handler(struct zfcp_fsf_req *fsf_req) | |||
4695 | break; | 4488 | break; |
4696 | 4489 | ||
4697 | case FSF_ACCESS_CONFLICT_DETECTED: | 4490 | case FSF_ACCESS_CONFLICT_DETECTED: |
4698 | ZFCP_LOG_FLAGS(2, "FSF_ACCESS_CONFLICT_DETECTED\n"); | ||
4699 | if (bottom->operation_subtype == FSF_CFDC_OPERATION_SUBTYPE) | 4491 | if (bottom->operation_subtype == FSF_CFDC_OPERATION_SUBTYPE) |
4700 | ZFCP_LOG_NORMAL( | 4492 | ZFCP_LOG_NORMAL( |
4701 | "CFDC has been discarded by the adapter %s, " | 4493 | "CFDC has been discarded by the adapter %s, " |
@@ -4708,7 +4500,6 @@ zfcp_fsf_control_file_handler(struct zfcp_fsf_req *fsf_req) | |||
4708 | break; | 4500 | break; |
4709 | 4501 | ||
4710 | case FSF_CONFLICTS_OVERRULED: | 4502 | case FSF_CONFLICTS_OVERRULED: |
4711 | ZFCP_LOG_FLAGS(2, "FSF_CONFLICTS_OVERRULED\n"); | ||
4712 | if (bottom->operation_subtype == FSF_CFDC_OPERATION_SUBTYPE) | 4503 | if (bottom->operation_subtype == FSF_CFDC_OPERATION_SUBTYPE) |
4713 | ZFCP_LOG_NORMAL( | 4504 | ZFCP_LOG_NORMAL( |
4714 | "CFDC has been activated on the adapter %s, " | 4505 | "CFDC has been activated on the adapter %s, " |
@@ -4721,7 +4512,6 @@ zfcp_fsf_control_file_handler(struct zfcp_fsf_req *fsf_req) | |||
4721 | break; | 4512 | break; |
4722 | 4513 | ||
4723 | case FSF_UNKNOWN_OP_SUBTYPE: | 4514 | case FSF_UNKNOWN_OP_SUBTYPE: |
4724 | ZFCP_LOG_FLAGS(2, "FSF_UNKNOWN_OP_SUBTYPE\n"); | ||
4725 | ZFCP_LOG_NORMAL("unknown operation subtype (adapter: %s, " | 4515 | ZFCP_LOG_NORMAL("unknown operation subtype (adapter: %s, " |
4726 | "op_subtype=0x%x)\n", | 4516 | "op_subtype=0x%x)\n", |
4727 | zfcp_get_busid_by_adapter(adapter), | 4517 | zfcp_get_busid_by_adapter(adapter), |
@@ -4731,7 +4521,6 @@ zfcp_fsf_control_file_handler(struct zfcp_fsf_req *fsf_req) | |||
4731 | break; | 4521 | break; |
4732 | 4522 | ||
4733 | case FSF_INVALID_COMMAND_OPTION: | 4523 | case FSF_INVALID_COMMAND_OPTION: |
4734 | ZFCP_LOG_FLAGS(2, "FSF_INVALID_COMMAND_OPTION\n"); | ||
4735 | ZFCP_LOG_NORMAL( | 4524 | ZFCP_LOG_NORMAL( |
4736 | "Invalid option 0x%x has been specified " | 4525 | "Invalid option 0x%x has been specified " |
4737 | "in QTCB bottom sent to the adapter %s\n", | 4526 | "in QTCB bottom sent to the adapter %s\n", |
@@ -4800,7 +4589,7 @@ zfcp_fsf_req_wait_and_cleanup(struct zfcp_fsf_req *fsf_req, | |||
4800 | *status = fsf_req->status; | 4589 | *status = fsf_req->status; |
4801 | 4590 | ||
4802 | /* cleanup request */ | 4591 | /* cleanup request */ |
4803 | zfcp_fsf_req_cleanup(fsf_req); | 4592 | zfcp_fsf_req_free(fsf_req); |
4804 | out: | 4593 | out: |
4805 | return retval; | 4594 | return retval; |
4806 | } | 4595 | } |
@@ -4999,9 +4788,9 @@ zfcp_fsf_req_send(struct zfcp_fsf_req *fsf_req, struct timer_list *timer) | |||
4999 | inc_seq_no = 0; | 4788 | inc_seq_no = 0; |
5000 | 4789 | ||
5001 | /* put allocated FSF request at list tail */ | 4790 | /* put allocated FSF request at list tail */ |
5002 | write_lock_irqsave(&adapter->fsf_req_list_lock, flags); | 4791 | spin_lock_irqsave(&adapter->fsf_req_list_lock, flags); |
5003 | list_add_tail(&fsf_req->list, &adapter->fsf_req_list_head); | 4792 | list_add_tail(&fsf_req->list, &adapter->fsf_req_list_head); |
5004 | write_unlock_irqrestore(&adapter->fsf_req_list_lock, flags); | 4793 | spin_unlock_irqrestore(&adapter->fsf_req_list_lock, flags); |
5005 | 4794 | ||
5006 | /* figure out expiration time of timeout and start timeout */ | 4795 | /* figure out expiration time of timeout and start timeout */ |
5007 | if (unlikely(timer)) { | 4796 | if (unlikely(timer)) { |
@@ -5045,9 +4834,9 @@ zfcp_fsf_req_send(struct zfcp_fsf_req *fsf_req, struct timer_list *timer) | |||
5045 | */ | 4834 | */ |
5046 | if (timer) | 4835 | if (timer) |
5047 | del_timer(timer); | 4836 | del_timer(timer); |
5048 | write_lock_irqsave(&adapter->fsf_req_list_lock, flags); | 4837 | spin_lock_irqsave(&adapter->fsf_req_list_lock, flags); |
5049 | list_del(&fsf_req->list); | 4838 | list_del(&fsf_req->list); |
5050 | write_unlock_irqrestore(&adapter->fsf_req_list_lock, flags); | 4839 | spin_unlock_irqrestore(&adapter->fsf_req_list_lock, flags); |
5051 | /* | 4840 | /* |
5052 | * adjust the number of free SBALs in request queue as well as | 4841 | * adjust the number of free SBALs in request queue as well as |
5053 | * position of first one | 4842 | * position of first one |
@@ -5085,25 +4874,4 @@ zfcp_fsf_req_send(struct zfcp_fsf_req *fsf_req, struct timer_list *timer) | |||
5085 | return retval; | 4874 | return retval; |
5086 | } | 4875 | } |
5087 | 4876 | ||
5088 | /* | ||
5089 | * function: zfcp_fsf_req_cleanup | ||
5090 | * | ||
5091 | * purpose: cleans up an FSF request and removes it from the specified list | ||
5092 | * | ||
5093 | * returns: | ||
5094 | * | ||
5095 | * assumption: no pending SB in SBALEs other than QTCB | ||
5096 | */ | ||
5097 | void | ||
5098 | zfcp_fsf_req_cleanup(struct zfcp_fsf_req *fsf_req) | ||
5099 | { | ||
5100 | struct zfcp_adapter *adapter = fsf_req->adapter; | ||
5101 | unsigned long flags; | ||
5102 | |||
5103 | write_lock_irqsave(&adapter->fsf_req_list_lock, flags); | ||
5104 | list_del(&fsf_req->list); | ||
5105 | write_unlock_irqrestore(&adapter->fsf_req_list_lock, flags); | ||
5106 | zfcp_fsf_req_free(fsf_req); | ||
5107 | } | ||
5108 | |||
5109 | #undef ZFCP_LOG_AREA | 4877 | #undef ZFCP_LOG_AREA |
diff --git a/drivers/s390/scsi/zfcp_qdio.c b/drivers/s390/scsi/zfcp_qdio.c index 06e862d7bc90..24e16ec331d9 100644 --- a/drivers/s390/scsi/zfcp_qdio.c +++ b/drivers/s390/scsi/zfcp_qdio.c | |||
@@ -229,52 +229,14 @@ zfcp_qdio_handler_error_check(struct zfcp_adapter *adapter, | |||
229 | ZFCP_LOG_TRACE("status is" | 229 | ZFCP_LOG_TRACE("status is" |
230 | " QDIO_STATUS_OUTBOUND_INT \n"); | 230 | " QDIO_STATUS_OUTBOUND_INT \n"); |
231 | } | 231 | } |
232 | } // if (ZFCP_LOG_CHECK(ZFCP_LOG_LEVEL_TRACE)) | 232 | } |
233 | if (unlikely(status & QDIO_STATUS_LOOK_FOR_ERROR)) { | 233 | if (unlikely(status & QDIO_STATUS_LOOK_FOR_ERROR)) { |
234 | retval = -EIO; | 234 | retval = -EIO; |
235 | 235 | ||
236 | ZFCP_LOG_FLAGS(1, "QDIO_STATUS_LOOK_FOR_ERROR \n"); | ||
237 | |||
238 | ZFCP_LOG_INFO("QDIO problem occurred (status=0x%x, " | 236 | ZFCP_LOG_INFO("QDIO problem occurred (status=0x%x, " |
239 | "qdio_error=0x%x, siga_error=0x%x)\n", | 237 | "qdio_error=0x%x, siga_error=0x%x)\n", |
240 | status, qdio_error, siga_error); | 238 | status, qdio_error, siga_error); |
241 | 239 | ||
242 | if (status & QDIO_STATUS_ACTIVATE_CHECK_CONDITION) { | ||
243 | ZFCP_LOG_FLAGS(2, | ||
244 | "QDIO_STATUS_ACTIVATE_CHECK_CONDITION\n"); | ||
245 | } | ||
246 | if (status & QDIO_STATUS_MORE_THAN_ONE_QDIO_ERROR) { | ||
247 | ZFCP_LOG_FLAGS(2, | ||
248 | "QDIO_STATUS_MORE_THAN_ONE_QDIO_ERROR\n"); | ||
249 | } | ||
250 | if (status & QDIO_STATUS_MORE_THAN_ONE_SIGA_ERROR) { | ||
251 | ZFCP_LOG_FLAGS(2, | ||
252 | "QDIO_STATUS_MORE_THAN_ONE_SIGA_ERROR\n"); | ||
253 | } | ||
254 | |||
255 | if (siga_error & QDIO_SIGA_ERROR_ACCESS_EXCEPTION) { | ||
256 | ZFCP_LOG_FLAGS(2, "QDIO_SIGA_ERROR_ACCESS_EXCEPTION\n"); | ||
257 | } | ||
258 | |||
259 | if (siga_error & QDIO_SIGA_ERROR_B_BIT_SET) { | ||
260 | ZFCP_LOG_FLAGS(2, "QDIO_SIGA_ERROR_B_BIT_SET\n"); | ||
261 | } | ||
262 | |||
263 | switch (qdio_error) { | ||
264 | case 0: | ||
265 | ZFCP_LOG_FLAGS(3, "QDIO_OK"); | ||
266 | break; | ||
267 | case SLSB_P_INPUT_ERROR: | ||
268 | ZFCP_LOG_FLAGS(1, "SLSB_P_INPUT_ERROR\n"); | ||
269 | break; | ||
270 | case SLSB_P_OUTPUT_ERROR: | ||
271 | ZFCP_LOG_FLAGS(1, "SLSB_P_OUTPUT_ERROR\n"); | ||
272 | break; | ||
273 | default: | ||
274 | ZFCP_LOG_NORMAL("bug: unknown QDIO error 0x%x\n", | ||
275 | qdio_error); | ||
276 | break; | ||
277 | } | ||
278 | /* Restarting IO on the failed adapter from scratch */ | 240 | /* Restarting IO on the failed adapter from scratch */ |
279 | debug_text_event(adapter->erp_dbf, 1, "qdio_err"); | 241 | debug_text_event(adapter->erp_dbf, 1, "qdio_err"); |
280 | /* | 242 | /* |
@@ -484,37 +446,37 @@ int | |||
484 | zfcp_qdio_reqid_check(struct zfcp_adapter *adapter, void *sbale_addr) | 446 | zfcp_qdio_reqid_check(struct zfcp_adapter *adapter, void *sbale_addr) |
485 | { | 447 | { |
486 | struct zfcp_fsf_req *fsf_req; | 448 | struct zfcp_fsf_req *fsf_req; |
487 | int retval = 0; | ||
488 | 449 | ||
489 | /* invalid (per convention used in this driver) */ | 450 | /* invalid (per convention used in this driver) */ |
490 | if (unlikely(!sbale_addr)) { | 451 | if (unlikely(!sbale_addr)) { |
491 | ZFCP_LOG_NORMAL("bug: invalid reqid\n"); | 452 | ZFCP_LOG_NORMAL("bug: invalid reqid\n"); |
492 | retval = -EINVAL; | 453 | return -EINVAL; |
493 | goto out; | ||
494 | } | 454 | } |
495 | 455 | ||
496 | /* valid request id and thus (hopefully :) valid fsf_req address */ | 456 | /* valid request id and thus (hopefully :) valid fsf_req address */ |
497 | fsf_req = (struct zfcp_fsf_req *) sbale_addr; | 457 | fsf_req = (struct zfcp_fsf_req *) sbale_addr; |
498 | 458 | ||
459 | /* serialize with zfcp_fsf_req_dismiss_all */ | ||
460 | spin_lock(&adapter->fsf_req_list_lock); | ||
461 | if (list_empty(&adapter->fsf_req_list_head)) { | ||
462 | spin_unlock(&adapter->fsf_req_list_lock); | ||
463 | return 0; | ||
464 | } | ||
465 | list_del(&fsf_req->list); | ||
466 | atomic_dec(&adapter->fsf_reqs_active); | ||
467 | spin_unlock(&adapter->fsf_req_list_lock); | ||
468 | |||
499 | if (unlikely(adapter != fsf_req->adapter)) { | 469 | if (unlikely(adapter != fsf_req->adapter)) { |
500 | ZFCP_LOG_NORMAL("bug: invalid reqid (fsf_req=%p, " | 470 | ZFCP_LOG_NORMAL("bug: invalid reqid (fsf_req=%p, " |
501 | "fsf_req->adapter=%p, adapter=%p)\n", | 471 | "fsf_req->adapter=%p, adapter=%p)\n", |
502 | fsf_req, fsf_req->adapter, adapter); | 472 | fsf_req, fsf_req->adapter, adapter); |
503 | retval = -EINVAL; | 473 | return -EINVAL; |
504 | goto out; | ||
505 | } | ||
506 | |||
507 | ZFCP_LOG_TRACE("fsf_req at %p, QTCB at %p\n", fsf_req, fsf_req->qtcb); | ||
508 | if (likely(fsf_req->qtcb)) { | ||
509 | ZFCP_LOG_TRACE("hex dump of QTCB:\n"); | ||
510 | ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_TRACE, (char *) fsf_req->qtcb, | ||
511 | sizeof(struct fsf_qtcb)); | ||
512 | } | 474 | } |
513 | 475 | ||
514 | /* finish the FSF request */ | 476 | /* finish the FSF request */ |
515 | zfcp_fsf_req_complete(fsf_req); | 477 | zfcp_fsf_req_complete(fsf_req); |
516 | out: | 478 | |
517 | return retval; | 479 | return 0; |
518 | } | 480 | } |
519 | 481 | ||
520 | /** | 482 | /** |
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c index e21b547fd427..6965992ddbbf 100644 --- a/drivers/s390/scsi/zfcp_scsi.c +++ b/drivers/s390/scsi/zfcp_scsi.c | |||
@@ -433,7 +433,7 @@ zfcp_port_lookup(struct zfcp_adapter *adapter, int channel, scsi_id_t id) | |||
433 | * FAILED - otherwise | 433 | * FAILED - otherwise |
434 | */ | 434 | */ |
435 | int | 435 | int |
436 | zfcp_scsi_eh_abort_handler(struct scsi_cmnd *scpnt) | 436 | __zfcp_scsi_eh_abort_handler(struct scsi_cmnd *scpnt) |
437 | { | 437 | { |
438 | int retval = SUCCESS; | 438 | int retval = SUCCESS; |
439 | struct zfcp_fsf_req *new_fsf_req, *old_fsf_req; | 439 | struct zfcp_fsf_req *new_fsf_req, *old_fsf_req; |
@@ -575,7 +575,7 @@ zfcp_scsi_eh_abort_handler(struct scsi_cmnd *scpnt) | |||
575 | *(u64 *) & new_fsf_req->qtcb->header.fsf_status_qual.word[0]; | 575 | *(u64 *) & new_fsf_req->qtcb->header.fsf_status_qual.word[0]; |
576 | dbf_fsf_qual[1] = | 576 | dbf_fsf_qual[1] = |
577 | *(u64 *) & new_fsf_req->qtcb->header.fsf_status_qual.word[2]; | 577 | *(u64 *) & new_fsf_req->qtcb->header.fsf_status_qual.word[2]; |
578 | zfcp_fsf_req_cleanup(new_fsf_req); | 578 | zfcp_fsf_req_free(new_fsf_req); |
579 | #else | 579 | #else |
580 | retval = zfcp_fsf_req_wait_and_cleanup(new_fsf_req, | 580 | retval = zfcp_fsf_req_wait_and_cleanup(new_fsf_req, |
581 | ZFCP_UNINTERRUPTIBLE, &status); | 581 | ZFCP_UNINTERRUPTIBLE, &status); |
@@ -611,6 +611,17 @@ zfcp_scsi_eh_abort_handler(struct scsi_cmnd *scpnt) | |||
611 | return retval; | 611 | return retval; |
612 | } | 612 | } |
613 | 613 | ||
614 | int | ||
615 | zfcp_scsi_eh_abort_handler(struct scsi_cmnd *scpnt) | ||
616 | { | ||
617 | int rc; | ||
618 | struct Scsi_Host *scsi_host = scpnt->device->host; | ||
619 | spin_lock_irq(scsi_host->host_lock); | ||
620 | rc = __zfcp_scsi_eh_abort_handler(scpnt); | ||
621 | spin_unlock_irq(scsi_host->host_lock); | ||
622 | return rc; | ||
623 | } | ||
624 | |||
614 | /* | 625 | /* |
615 | * function: zfcp_scsi_eh_device_reset_handler | 626 | * function: zfcp_scsi_eh_device_reset_handler |
616 | * | 627 | * |
@@ -625,8 +636,6 @@ zfcp_scsi_eh_device_reset_handler(struct scsi_cmnd *scpnt) | |||
625 | struct zfcp_unit *unit = (struct zfcp_unit *) scpnt->device->hostdata; | 636 | struct zfcp_unit *unit = (struct zfcp_unit *) scpnt->device->hostdata; |
626 | struct Scsi_Host *scsi_host = scpnt->device->host; | 637 | struct Scsi_Host *scsi_host = scpnt->device->host; |
627 | 638 | ||
628 | spin_unlock_irq(scsi_host->host_lock); | ||
629 | |||
630 | if (!unit) { | 639 | if (!unit) { |
631 | ZFCP_LOG_NORMAL("bug: Tried reset for nonexistent unit\n"); | 640 | ZFCP_LOG_NORMAL("bug: Tried reset for nonexistent unit\n"); |
632 | retval = SUCCESS; | 641 | retval = SUCCESS; |
@@ -669,7 +678,6 @@ zfcp_scsi_eh_device_reset_handler(struct scsi_cmnd *scpnt) | |||
669 | retval = SUCCESS; | 678 | retval = SUCCESS; |
670 | } | 679 | } |
671 | out: | 680 | out: |
672 | spin_lock_irq(scsi_host->host_lock); | ||
673 | return retval; | 681 | return retval; |
674 | } | 682 | } |
675 | 683 | ||
@@ -723,8 +731,6 @@ zfcp_scsi_eh_bus_reset_handler(struct scsi_cmnd *scpnt) | |||
723 | struct zfcp_unit *unit; | 731 | struct zfcp_unit *unit; |
724 | struct Scsi_Host *scsi_host = scpnt->device->host; | 732 | struct Scsi_Host *scsi_host = scpnt->device->host; |
725 | 733 | ||
726 | spin_unlock_irq(scsi_host->host_lock); | ||
727 | |||
728 | unit = (struct zfcp_unit *) scpnt->device->hostdata; | 734 | unit = (struct zfcp_unit *) scpnt->device->hostdata; |
729 | ZFCP_LOG_NORMAL("bus reset because of problems with " | 735 | ZFCP_LOG_NORMAL("bus reset because of problems with " |
730 | "unit 0x%016Lx\n", unit->fcp_lun); | 736 | "unit 0x%016Lx\n", unit->fcp_lun); |
@@ -732,7 +738,6 @@ zfcp_scsi_eh_bus_reset_handler(struct scsi_cmnd *scpnt) | |||
732 | zfcp_erp_wait(unit->port->adapter); | 738 | zfcp_erp_wait(unit->port->adapter); |
733 | retval = SUCCESS; | 739 | retval = SUCCESS; |
734 | 740 | ||
735 | spin_lock_irq(scsi_host->host_lock); | ||
736 | return retval; | 741 | return retval; |
737 | } | 742 | } |
738 | 743 | ||
@@ -750,8 +755,6 @@ zfcp_scsi_eh_host_reset_handler(struct scsi_cmnd *scpnt) | |||
750 | struct zfcp_unit *unit; | 755 | struct zfcp_unit *unit; |
751 | struct Scsi_Host *scsi_host = scpnt->device->host; | 756 | struct Scsi_Host *scsi_host = scpnt->device->host; |
752 | 757 | ||
753 | spin_unlock_irq(scsi_host->host_lock); | ||
754 | |||
755 | unit = (struct zfcp_unit *) scpnt->device->hostdata; | 758 | unit = (struct zfcp_unit *) scpnt->device->hostdata; |
756 | ZFCP_LOG_NORMAL("host reset because of problems with " | 759 | ZFCP_LOG_NORMAL("host reset because of problems with " |
757 | "unit 0x%016Lx\n", unit->fcp_lun); | 760 | "unit 0x%016Lx\n", unit->fcp_lun); |
@@ -759,7 +762,6 @@ zfcp_scsi_eh_host_reset_handler(struct scsi_cmnd *scpnt) | |||
759 | zfcp_erp_wait(unit->port->adapter); | 762 | zfcp_erp_wait(unit->port->adapter); |
760 | retval = SUCCESS; | 763 | retval = SUCCESS; |
761 | 764 | ||
762 | spin_lock_irq(scsi_host->host_lock); | ||
763 | return retval; | 765 | return retval; |
764 | } | 766 | } |
765 | 767 | ||
diff --git a/drivers/scsi/3w-9xxx.c b/drivers/scsi/3w-9xxx.c index a2b18f5a4f93..34dbc37a79d4 100644 --- a/drivers/scsi/3w-9xxx.c +++ b/drivers/scsi/3w-9xxx.c | |||
@@ -1695,8 +1695,6 @@ static int twa_scsi_eh_reset(struct scsi_cmnd *SCpnt) | |||
1695 | 1695 | ||
1696 | tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; | 1696 | tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; |
1697 | 1697 | ||
1698 | spin_unlock_irq(tw_dev->host->host_lock); | ||
1699 | |||
1700 | tw_dev->num_resets++; | 1698 | tw_dev->num_resets++; |
1701 | 1699 | ||
1702 | printk(KERN_WARNING "3w-9xxx: scsi%d: WARNING: (0x%02X:0x%04X): Unit #%d: Command (0x%x) timed out, resetting card.\n", tw_dev->host->host_no, TW_DRIVER, 0x2c, SCpnt->device->id, SCpnt->cmnd[0]); | 1700 | printk(KERN_WARNING "3w-9xxx: scsi%d: WARNING: (0x%02X:0x%04X): Unit #%d: Command (0x%x) timed out, resetting card.\n", tw_dev->host->host_no, TW_DRIVER, 0x2c, SCpnt->device->id, SCpnt->cmnd[0]); |
@@ -1709,7 +1707,6 @@ static int twa_scsi_eh_reset(struct scsi_cmnd *SCpnt) | |||
1709 | 1707 | ||
1710 | retval = SUCCESS; | 1708 | retval = SUCCESS; |
1711 | out: | 1709 | out: |
1712 | spin_lock_irq(tw_dev->host->host_lock); | ||
1713 | return retval; | 1710 | return retval; |
1714 | } /* End twa_scsi_eh_reset() */ | 1711 | } /* End twa_scsi_eh_reset() */ |
1715 | 1712 | ||
diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c index 48f9ece1cbd0..b6dc576da430 100644 --- a/drivers/scsi/3w-xxxx.c +++ b/drivers/scsi/3w-xxxx.c | |||
@@ -1430,8 +1430,6 @@ static int tw_scsi_eh_reset(struct scsi_cmnd *SCpnt) | |||
1430 | 1430 | ||
1431 | tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; | 1431 | tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; |
1432 | 1432 | ||
1433 | spin_unlock_irq(tw_dev->host->host_lock); | ||
1434 | |||
1435 | tw_dev->num_resets++; | 1433 | tw_dev->num_resets++; |
1436 | 1434 | ||
1437 | printk(KERN_WARNING "3w-xxxx: scsi%d: WARNING: Unit #%d: Command (0x%x) timed out, resetting card.\n", tw_dev->host->host_no, SCpnt->device->id, SCpnt->cmnd[0]); | 1435 | printk(KERN_WARNING "3w-xxxx: scsi%d: WARNING: Unit #%d: Command (0x%x) timed out, resetting card.\n", tw_dev->host->host_no, SCpnt->device->id, SCpnt->cmnd[0]); |
@@ -1444,7 +1442,6 @@ static int tw_scsi_eh_reset(struct scsi_cmnd *SCpnt) | |||
1444 | 1442 | ||
1445 | retval = SUCCESS; | 1443 | retval = SUCCESS; |
1446 | out: | 1444 | out: |
1447 | spin_lock_irq(tw_dev->host->host_lock); | ||
1448 | return retval; | 1445 | return retval; |
1449 | } /* End tw_scsi_eh_reset() */ | 1446 | } /* End tw_scsi_eh_reset() */ |
1450 | 1447 | ||
diff --git a/drivers/scsi/53c700.c b/drivers/scsi/53c700.c index 4b1bb529f676..d151af9a6f15 100644 --- a/drivers/scsi/53c700.c +++ b/drivers/scsi/53c700.c | |||
@@ -170,7 +170,6 @@ MODULE_LICENSE("GPL"); | |||
170 | STATIC int NCR_700_queuecommand(struct scsi_cmnd *, void (*done)(struct scsi_cmnd *)); | 170 | STATIC int NCR_700_queuecommand(struct scsi_cmnd *, void (*done)(struct scsi_cmnd *)); |
171 | STATIC int NCR_700_abort(struct scsi_cmnd * SCpnt); | 171 | STATIC int NCR_700_abort(struct scsi_cmnd * SCpnt); |
172 | STATIC int NCR_700_bus_reset(struct scsi_cmnd * SCpnt); | 172 | STATIC int NCR_700_bus_reset(struct scsi_cmnd * SCpnt); |
173 | STATIC int NCR_700_dev_reset(struct scsi_cmnd * SCpnt); | ||
174 | STATIC int NCR_700_host_reset(struct scsi_cmnd * SCpnt); | 173 | STATIC int NCR_700_host_reset(struct scsi_cmnd * SCpnt); |
175 | STATIC void NCR_700_chip_setup(struct Scsi_Host *host); | 174 | STATIC void NCR_700_chip_setup(struct Scsi_Host *host); |
176 | STATIC void NCR_700_chip_reset(struct Scsi_Host *host); | 175 | STATIC void NCR_700_chip_reset(struct Scsi_Host *host); |
@@ -330,7 +329,6 @@ NCR_700_detect(struct scsi_host_template *tpnt, | |||
330 | /* Fill in the missing routines from the host template */ | 329 | /* Fill in the missing routines from the host template */ |
331 | tpnt->queuecommand = NCR_700_queuecommand; | 330 | tpnt->queuecommand = NCR_700_queuecommand; |
332 | tpnt->eh_abort_handler = NCR_700_abort; | 331 | tpnt->eh_abort_handler = NCR_700_abort; |
333 | tpnt->eh_device_reset_handler = NCR_700_dev_reset; | ||
334 | tpnt->eh_bus_reset_handler = NCR_700_bus_reset; | 332 | tpnt->eh_bus_reset_handler = NCR_700_bus_reset; |
335 | tpnt->eh_host_reset_handler = NCR_700_host_reset; | 333 | tpnt->eh_host_reset_handler = NCR_700_host_reset; |
336 | tpnt->can_queue = NCR_700_COMMAND_SLOTS_PER_HOST; | 334 | tpnt->can_queue = NCR_700_COMMAND_SLOTS_PER_HOST; |
@@ -1959,34 +1957,31 @@ NCR_700_bus_reset(struct scsi_cmnd * SCp) | |||
1959 | printk(KERN_INFO "scsi%d (%d:%d) New error handler wants BUS reset, cmd %p\n\t", | 1957 | printk(KERN_INFO "scsi%d (%d:%d) New error handler wants BUS reset, cmd %p\n\t", |
1960 | SCp->device->host->host_no, SCp->device->id, SCp->device->lun, SCp); | 1958 | SCp->device->host->host_no, SCp->device->id, SCp->device->lun, SCp); |
1961 | scsi_print_command(SCp); | 1959 | scsi_print_command(SCp); |
1960 | |||
1962 | /* In theory, eh_complete should always be null because the | 1961 | /* In theory, eh_complete should always be null because the |
1963 | * eh is single threaded, but just in case we're handling a | 1962 | * eh is single threaded, but just in case we're handling a |
1964 | * reset via sg or something */ | 1963 | * reset via sg or something */ |
1965 | while(hostdata->eh_complete != NULL) { | 1964 | spin_lock_irq(SCp->device->host->host_lock); |
1965 | while (hostdata->eh_complete != NULL) { | ||
1966 | spin_unlock_irq(SCp->device->host->host_lock); | 1966 | spin_unlock_irq(SCp->device->host->host_lock); |
1967 | msleep_interruptible(100); | 1967 | msleep_interruptible(100); |
1968 | spin_lock_irq(SCp->device->host->host_lock); | 1968 | spin_lock_irq(SCp->device->host->host_lock); |
1969 | } | 1969 | } |
1970 | |||
1970 | hostdata->eh_complete = &complete; | 1971 | hostdata->eh_complete = &complete; |
1971 | NCR_700_internal_bus_reset(SCp->device->host); | 1972 | NCR_700_internal_bus_reset(SCp->device->host); |
1973 | |||
1972 | spin_unlock_irq(SCp->device->host->host_lock); | 1974 | spin_unlock_irq(SCp->device->host->host_lock); |
1973 | wait_for_completion(&complete); | 1975 | wait_for_completion(&complete); |
1974 | spin_lock_irq(SCp->device->host->host_lock); | 1976 | spin_lock_irq(SCp->device->host->host_lock); |
1977 | |||
1975 | hostdata->eh_complete = NULL; | 1978 | hostdata->eh_complete = NULL; |
1976 | /* Revalidate the transport parameters of the failing device */ | 1979 | /* Revalidate the transport parameters of the failing device */ |
1977 | if(hostdata->fast) | 1980 | if(hostdata->fast) |
1978 | spi_schedule_dv_device(SCp->device); | 1981 | spi_schedule_dv_device(SCp->device); |
1979 | return SUCCESS; | ||
1980 | } | ||
1981 | 1982 | ||
1982 | STATIC int | 1983 | spin_unlock_irq(SCp->device->host->host_lock); |
1983 | NCR_700_dev_reset(struct scsi_cmnd * SCp) | 1984 | return SUCCESS; |
1984 | { | ||
1985 | printk(KERN_INFO "scsi%d (%d:%d) New error handler wants device reset\n\t", | ||
1986 | SCp->device->host->host_no, SCp->device->id, SCp->device->lun); | ||
1987 | scsi_print_command(SCp); | ||
1988 | |||
1989 | return FAILED; | ||
1990 | } | 1985 | } |
1991 | 1986 | ||
1992 | STATIC int | 1987 | STATIC int |
@@ -1996,8 +1991,13 @@ NCR_700_host_reset(struct scsi_cmnd * SCp) | |||
1996 | SCp->device->host->host_no, SCp->device->id, SCp->device->lun); | 1991 | SCp->device->host->host_no, SCp->device->id, SCp->device->lun); |
1997 | scsi_print_command(SCp); | 1992 | scsi_print_command(SCp); |
1998 | 1993 | ||
1994 | spin_lock_irq(SCp->device->host->host_lock); | ||
1995 | |||
1999 | NCR_700_internal_bus_reset(SCp->device->host); | 1996 | NCR_700_internal_bus_reset(SCp->device->host); |
2000 | NCR_700_chip_reset(SCp->device->host); | 1997 | NCR_700_chip_reset(SCp->device->host); |
1998 | |||
1999 | spin_unlock_irq(SCp->device->host->host_lock); | ||
2000 | |||
2001 | return SUCCESS; | 2001 | return SUCCESS; |
2002 | } | 2002 | } |
2003 | 2003 | ||
diff --git a/drivers/scsi/BusLogic.c b/drivers/scsi/BusLogic.c index 15e4b122d56e..9d6040bfa064 100644 --- a/drivers/scsi/BusLogic.c +++ b/drivers/scsi/BusLogic.c | |||
@@ -2746,9 +2746,15 @@ static int BusLogic_host_reset(struct scsi_cmnd * SCpnt) | |||
2746 | 2746 | ||
2747 | unsigned int id = SCpnt->device->id; | 2747 | unsigned int id = SCpnt->device->id; |
2748 | struct BusLogic_TargetStatistics *stats = &HostAdapter->TargetStatistics[id]; | 2748 | struct BusLogic_TargetStatistics *stats = &HostAdapter->TargetStatistics[id]; |
2749 | int rc; | ||
2750 | |||
2751 | spin_lock_irq(SCpnt->device->host->host_lock); | ||
2752 | |||
2749 | BusLogic_IncrementErrorCounter(&stats->HostAdapterResetsRequested); | 2753 | BusLogic_IncrementErrorCounter(&stats->HostAdapterResetsRequested); |
2750 | 2754 | ||
2751 | return BusLogic_ResetHostAdapter(HostAdapter, false); | 2755 | rc = BusLogic_ResetHostAdapter(HostAdapter, false); |
2756 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
2757 | return rc; | ||
2752 | } | 2758 | } |
2753 | 2759 | ||
2754 | /* | 2760 | /* |
diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c index 56a695c6ab52..5beed4f6d985 100644 --- a/drivers/scsi/FlashPoint.c +++ b/drivers/scsi/FlashPoint.c | |||
@@ -22,8 +22,6 @@ | |||
22 | #ifndef CONFIG_SCSI_OMIT_FLASHPOINT | 22 | #ifndef CONFIG_SCSI_OMIT_FLASHPOINT |
23 | 23 | ||
24 | 24 | ||
25 | #define UNIX | ||
26 | #define FW_TYPE _SCCB_MGR_ | ||
27 | #define MAX_CARDS 8 | 25 | #define MAX_CARDS 8 |
28 | #undef BUSTYPE_PCI | 26 | #undef BUSTYPE_PCI |
29 | 27 | ||
@@ -34,8 +32,6 @@ | |||
34 | #define OS_OutPortByte(port, value) outb(value, port) | 32 | #define OS_OutPortByte(port, value) outb(value, port) |
35 | #define OS_OutPortWord(port, value) outw(value, port) | 33 | #define OS_OutPortWord(port, value) outw(value, port) |
36 | #define OS_OutPortLong(port, value) outl(value, port) | 34 | #define OS_OutPortLong(port, value) outl(value, port) |
37 | #define OS_Lock(x) | ||
38 | #define OS_UnLock(x) | ||
39 | 35 | ||
40 | 36 | ||
41 | /* | 37 | /* |
@@ -51,164 +47,17 @@ | |||
51 | #define SccbMgr_isr FlashPoint_HandleInterrupt | 47 | #define SccbMgr_isr FlashPoint_HandleInterrupt |
52 | 48 | ||
53 | 49 | ||
54 | /* | ||
55 | Define name replacements to avoid kernel namespace pollution. | ||
56 | */ | ||
57 | |||
58 | #define BL_Card FPT_BL_Card | ||
59 | #define BusMasterInit FPT_BusMasterInit | ||
60 | #define CalcCrc16 FPT_CalcCrc16 | ||
61 | #define CalcLrc FPT_CalcLrc | ||
62 | #define ChkIfChipInitialized FPT_ChkIfChipInitialized | ||
63 | #define DiagBusMaster FPT_DiagBusMaster | ||
64 | #define DiagEEPROM FPT_DiagEEPROM | ||
65 | #define DiagXbow FPT_DiagXbow | ||
66 | #define GetTarLun FPT_GetTarLun | ||
67 | #define RNVRamData FPT_RNVRamData | ||
68 | #define RdStack FPT_RdStack | ||
69 | #define SccbMgrTableInitAll FPT_SccbMgrTableInitAll | ||
70 | #define SccbMgrTableInitCard FPT_SccbMgrTableInitCard | ||
71 | #define SccbMgrTableInitTarget FPT_SccbMgrTableInitTarget | ||
72 | #define SccbMgr_bad_isr FPT_SccbMgr_bad_isr | ||
73 | #define SccbMgr_scsi_reset FPT_SccbMgr_scsi_reset | ||
74 | #define SccbMgr_timer_expired FPT_SccbMgr_timer_expired | ||
75 | #define SendMsg FPT_SendMsg | ||
76 | #define Wait FPT_Wait | ||
77 | #define Wait1Second FPT_Wait1Second | ||
78 | #define WrStack FPT_WrStack | ||
79 | #define XbowInit FPT_XbowInit | ||
80 | #define autoCmdCmplt FPT_autoCmdCmplt | ||
81 | #define autoLoadDefaultMap FPT_autoLoadDefaultMap | ||
82 | #define busMstrDataXferStart FPT_busMstrDataXferStart | ||
83 | #define busMstrSGDataXferStart FPT_busMstrSGDataXferStart | ||
84 | #define busMstrTimeOut FPT_busMstrTimeOut | ||
85 | #define dataXferProcessor FPT_dataXferProcessor | ||
86 | #define default_intena FPT_default_intena | ||
87 | #define hostDataXferAbort FPT_hostDataXferAbort | ||
88 | #define hostDataXferRestart FPT_hostDataXferRestart | ||
89 | #define inisci FPT_inisci | ||
90 | #define mbCards FPT_mbCards | ||
91 | #define nvRamInfo FPT_nvRamInfo | ||
92 | #define phaseBusFree FPT_phaseBusFree | ||
93 | #define phaseChkFifo FPT_phaseChkFifo | ||
94 | #define phaseCommand FPT_phaseCommand | ||
95 | #define phaseDataIn FPT_phaseDataIn | ||
96 | #define phaseDataOut FPT_phaseDataOut | ||
97 | #define phaseDecode FPT_phaseDecode | ||
98 | #define phaseIllegal FPT_phaseIllegal | ||
99 | #define phaseMsgIn FPT_phaseMsgIn | ||
100 | #define phaseMsgOut FPT_phaseMsgOut | ||
101 | #define phaseStatus FPT_phaseStatus | ||
102 | #define queueAddSccb FPT_queueAddSccb | ||
103 | #define queueCmdComplete FPT_queueCmdComplete | ||
104 | #define queueDisconnect FPT_queueDisconnect | ||
105 | #define queueFindSccb FPT_queueFindSccb | ||
106 | #define queueFlushSccb FPT_queueFlushSccb | ||
107 | #define queueFlushTargSccb FPT_queueFlushTargSccb | ||
108 | #define queueSearchSelect FPT_queueSearchSelect | ||
109 | #define queueSelectFail FPT_queueSelectFail | ||
110 | #define s_PhaseTbl FPT_s_PhaseTbl | ||
111 | #define scamHAString FPT_scamHAString | ||
112 | #define scamInfo FPT_scamInfo | ||
113 | #define scarb FPT_scarb | ||
114 | #define scasid FPT_scasid | ||
115 | #define scbusf FPT_scbusf | ||
116 | #define sccbMgrTbl FPT_sccbMgrTbl | ||
117 | #define schkdd FPT_schkdd | ||
118 | #define scini FPT_scini | ||
119 | #define sciso FPT_sciso | ||
120 | #define scmachid FPT_scmachid | ||
121 | #define scsavdi FPT_scsavdi | ||
122 | #define scsel FPT_scsel | ||
123 | #define scsell FPT_scsell | ||
124 | #define scsendi FPT_scsendi | ||
125 | #define scvalq FPT_scvalq | ||
126 | #define scwirod FPT_scwirod | ||
127 | #define scwiros FPT_scwiros | ||
128 | #define scwtsel FPT_scwtsel | ||
129 | #define scxferc FPT_scxferc | ||
130 | #define sdecm FPT_sdecm | ||
131 | #define sfm FPT_sfm | ||
132 | #define shandem FPT_shandem | ||
133 | #define sinits FPT_sinits | ||
134 | #define sisyncn FPT_sisyncn | ||
135 | #define sisyncr FPT_sisyncr | ||
136 | #define siwidn FPT_siwidn | ||
137 | #define siwidr FPT_siwidr | ||
138 | #define sres FPT_sres | ||
139 | #define sresb FPT_sresb | ||
140 | #define ssel FPT_ssel | ||
141 | #define ssenss FPT_ssenss | ||
142 | #define sssyncv FPT_sssyncv | ||
143 | #define stsyncn FPT_stsyncn | ||
144 | #define stwidn FPT_stwidn | ||
145 | #define sxfrp FPT_sxfrp | ||
146 | #define utilEERead FPT_utilEERead | ||
147 | #define utilEEReadOrg FPT_utilEEReadOrg | ||
148 | #define utilEESendCmdAddr FPT_utilEESendCmdAddr | ||
149 | #define utilEEWrite FPT_utilEEWrite | ||
150 | #define utilEEWriteOnOff FPT_utilEEWriteOnOff | ||
151 | #define utilUpdateResidual FPT_utilUpdateResidual | ||
152 | |||
153 | |||
154 | /*---------------------------------------------------------------------- | ||
155 | * | ||
156 | * | ||
157 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
158 | * | ||
159 | * This file is available under both the GNU General Public License | ||
160 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
161 | * | ||
162 | * $Workfile: globals.h $ | ||
163 | * | ||
164 | * Description: Common shared global defines. | ||
165 | * | ||
166 | * $Date: 1996/09/04 01:26:13 $ | ||
167 | * | ||
168 | * $Revision: 1.11 $ | ||
169 | * | ||
170 | *----------------------------------------------------------------------*/ | ||
171 | #ifndef __GLOBALS_H__ | ||
172 | #define __GLOBALS_H__ | ||
173 | |||
174 | #define _UCB_MGR_ 1 | ||
175 | #define _SCCB_MGR_ 2 | ||
176 | |||
177 | /*#include <osflags.h>*/ | ||
178 | |||
179 | #define MAX_CDBLEN 12 | 50 | #define MAX_CDBLEN 12 |
180 | 51 | ||
181 | #define SCAM_LEV_2 1 | 52 | #define SCAM_LEV_2 1 |
182 | 53 | ||
183 | #define CRCMASK 0xA001 | 54 | #define CRCMASK 0xA001 |
184 | 55 | ||
185 | /* In your osflags.h file, please ENSURE that only ONE OS FLAG | ||
186 | is on at a time !!! Also, please make sure you turn set the | ||
187 | variable FW_TYPE to either _UCB_MGR_ or _SCCB_MGR_ !!! */ | ||
188 | |||
189 | #if defined(DOS) || defined(WIN95_16) || defined(OS2) || defined(OTHER_16) | ||
190 | #define COMPILER_16_BIT 1 | ||
191 | #elif defined(NETWARE) || defined(NT) || defined(WIN95_32) || defined(UNIX) || defined(OTHER_32) || defined(SOLARIS_REAL_MODE) | ||
192 | #define COMPILER_32_BIT 1 | ||
193 | #endif | ||
194 | |||
195 | |||
196 | #define BL_VENDOR_ID 0x104B | 56 | #define BL_VENDOR_ID 0x104B |
197 | #define FP_DEVICE_ID 0x8130 | 57 | #define FP_DEVICE_ID 0x8130 |
198 | #define MM_DEVICE_ID 0x1040 | 58 | #define MM_DEVICE_ID 0x1040 |
199 | 59 | ||
200 | 60 | ||
201 | #ifndef FALSE | ||
202 | #define FALSE 0 | ||
203 | #endif | ||
204 | #ifndef TRUE | ||
205 | #define TRUE (!(FALSE)) | ||
206 | #endif | ||
207 | |||
208 | #ifndef NULL | ||
209 | #define NULL 0 | ||
210 | #endif | ||
211 | |||
212 | #define FAILURE 0xFFFFFFFFL | 61 | #define FAILURE 0xFFFFFFFFL |
213 | 62 | ||
214 | 63 | ||
@@ -222,27 +71,11 @@ typedef unsigned long * PULONG; | |||
222 | typedef void * PVOID; | 71 | typedef void * PVOID; |
223 | 72 | ||
224 | 73 | ||
225 | #if defined(COMPILER_16_BIT) | ||
226 | typedef unsigned char far * uchar_ptr; | ||
227 | typedef unsigned short far * ushort_ptr; | ||
228 | typedef unsigned long far * ulong_ptr; | ||
229 | #endif /* 16_BIT_COMPILER */ | ||
230 | |||
231 | #if defined(COMPILER_32_BIT) | ||
232 | typedef unsigned char * uchar_ptr; | 74 | typedef unsigned char * uchar_ptr; |
233 | typedef unsigned short * ushort_ptr; | 75 | typedef unsigned short * ushort_ptr; |
234 | typedef unsigned long * ulong_ptr; | 76 | typedef unsigned long * ulong_ptr; |
235 | #endif /* 32_BIT_COMPILER */ | ||
236 | 77 | ||
237 | 78 | ||
238 | /* NEW TYPE DEFINITIONS (shared with Mylex North) | ||
239 | |||
240 | ** Use following type defines to avoid confusion in 16 and 32-bit | ||
241 | ** environments. Avoid using 'int' as it denotes 16 bits in 16-bit | ||
242 | ** environment and 32 in 32-bit environments. | ||
243 | |||
244 | */ | ||
245 | |||
246 | #define s08bits char | 79 | #define s08bits char |
247 | #define s16bits short | 80 | #define s16bits short |
248 | #define s32bits long | 81 | #define s32bits long |
@@ -251,195 +84,19 @@ typedef unsigned long * ulong_ptr; | |||
251 | #define u16bits unsigned s16bits | 84 | #define u16bits unsigned s16bits |
252 | #define u32bits unsigned s32bits | 85 | #define u32bits unsigned s32bits |
253 | 86 | ||
254 | #if defined(COMPILER_16_BIT) | ||
255 | |||
256 | typedef u08bits far * pu08bits; | ||
257 | typedef u16bits far * pu16bits; | ||
258 | typedef u32bits far * pu32bits; | ||
259 | |||
260 | #endif /* COMPILER_16_BIT */ | ||
261 | |||
262 | #if defined(COMPILER_32_BIT) | ||
263 | |||
264 | typedef u08bits * pu08bits; | 87 | typedef u08bits * pu08bits; |
265 | typedef u16bits * pu16bits; | 88 | typedef u16bits * pu16bits; |
266 | typedef u32bits * pu32bits; | 89 | typedef u32bits * pu32bits; |
267 | 90 | ||
268 | #endif /* COMPILER_32_BIT */ | ||
269 | |||
270 | 91 | ||
271 | #define BIT(x) ((UCHAR)(1<<(x))) /* single-bit mask in bit position x */ | 92 | #define BIT(x) ((UCHAR)(1<<(x))) /* single-bit mask in bit position x */ |
272 | #define BITW(x) ((USHORT)(1<<(x))) /* single-bit mask in bit position x */ | 93 | #define BITW(x) ((USHORT)(1<<(x))) /* single-bit mask in bit position x */ |
273 | 94 | ||
274 | 95 | ||
275 | 96 | ||
276 | #if defined(DOS) | ||
277 | /*#include <dos.h>*/ | ||
278 | #undef inportb /* undefine for Borland Lib */ | ||
279 | #undef inport /* they may have define I/O function in LIB */ | ||
280 | #undef outportb | ||
281 | #undef outport | ||
282 | |||
283 | #define OS_InPortByte(ioport) inportb(ioport) | ||
284 | #define OS_InPortWord(ioport) inport(ioport) | ||
285 | #define OS_InPortLong(ioport) inportq(ioport, val) | ||
286 | #define OS_OutPortByte(ioport, val) outportb(ioport, val) | ||
287 | #define OS_OutPortWord(ioport, val) outport(ioport, val) | ||
288 | #define OS_OutPortLong(ioport) outportq(ioport, val) | ||
289 | #endif /* DOS */ | ||
290 | |||
291 | #if defined(NETWARE) || defined(OTHER_32) || defined(OTHER_16) | ||
292 | extern u08bits OS_InPortByte(u32bits ioport); | ||
293 | extern u16bits OS_InPortWord(u32bits ioport); | ||
294 | extern u32bits OS_InPortLong(u32bits ioport); | ||
295 | |||
296 | extern OS_InPortByteBuffer(u32bits ioport, pu08bits buffer, u32bits count); | ||
297 | extern OS_InPortWordBuffer(u32bits ioport, pu16bits buffer, u32bits count); | ||
298 | extern OS_OutPortByte(u32bits ioport, u08bits val); | ||
299 | extern OS_OutPortWord(u32bits ioport, u16bits val); | ||
300 | extern OS_OutPortLong(u32bits ioport, u32bits val); | ||
301 | extern OS_OutPortByteBuffer(u32bits ioport, pu08bits buffer, u32bits count); | ||
302 | extern OS_OutPortWordBuffer(u32bits ioport, pu16bits buffer, u32bits count); | ||
303 | #endif /* NETWARE || OTHER_32 || OTHER_16 */ | ||
304 | |||
305 | #if defined (NT) || defined(WIN95_32) || defined(WIN95_16) | ||
306 | #if defined(NT) | ||
307 | |||
308 | extern __declspec(dllimport) u08bits ScsiPortReadPortUchar(pu08bits ioport); | ||
309 | extern __declspec(dllimport) u16bits ScsiPortReadPortUshort(pu16bits ioport); | ||
310 | extern __declspec(dllimport) u32bits ScsiPortReadPortUlong(pu32bits ioport); | ||
311 | extern __declspec(dllimport) void ScsiPortWritePortUchar(pu08bits ioport, u08bits val); | ||
312 | extern __declspec(dllimport) void ScsiPortWritePortUshort(pu16bits port, u16bits val); | ||
313 | extern __declspec(dllimport) void ScsiPortWritePortUlong(pu32bits port, u32bits val); | ||
314 | |||
315 | #else | ||
316 | |||
317 | extern u08bits ScsiPortReadPortUchar(pu08bits ioport); | ||
318 | extern u16bits ScsiPortReadPortUshort(pu16bits ioport); | ||
319 | extern u32bits ScsiPortReadPortUlong(pu32bits ioport); | ||
320 | extern void ScsiPortWritePortUchar(pu08bits ioport, u08bits val); | ||
321 | extern void ScsiPortWritePortUshort(pu16bits port, u16bits val); | ||
322 | extern void ScsiPortWritePortUlong(pu32bits port, u32bits val); | ||
323 | #endif | ||
324 | 97 | ||
325 | 98 | typedef struct _SCCB *PSCCB; | |
326 | #define OS_InPortByte(ioport) ScsiPortReadPortUchar((pu08bits) ioport) | 99 | typedef void (*CALL_BK_FN)(PSCCB); |
327 | #define OS_InPortWord(ioport) ScsiPortReadPortUshort((pu16bits) ioport) | ||
328 | #define OS_InPortLong(ioport) ScsiPortReadPortUlong((pu32bits) ioport) | ||
329 | |||
330 | #define OS_OutPortByte(ioport, val) ScsiPortWritePortUchar((pu08bits) ioport, (u08bits) val) | ||
331 | #define OS_OutPortWord(ioport, val) ScsiPortWritePortUshort((pu16bits) ioport, (u16bits) val) | ||
332 | #define OS_OutPortLong(ioport, val) ScsiPortWritePortUlong((pu32bits) ioport, (u32bits) val) | ||
333 | #define OS_OutPortByteBuffer(ioport, buffer, count) \ | ||
334 | ScsiPortWritePortBufferUchar((pu08bits)&port, (pu08bits) buffer, (u32bits) count) | ||
335 | #define OS_OutPortWordBuffer(ioport, buffer, count) \ | ||
336 | ScsiPortWritePortBufferUshort((pu16bits)&port, (pu16bits) buffer, (u32bits) count) | ||
337 | |||
338 | #define OS_Lock(x) | ||
339 | #define OS_UnLock(x) | ||
340 | #endif /* NT || WIN95_32 || WIN95_16 */ | ||
341 | |||
342 | #if defined (UNIX) && !defined(OS_InPortByte) | ||
343 | #define OS_InPortByte(ioport) inb((u16bits)ioport) | ||
344 | #define OS_InPortWord(ioport) inw((u16bits)ioport) | ||
345 | #define OS_InPortLong(ioport) inl((u16bits)ioport) | ||
346 | #define OS_OutPortByte(ioport,val) outb((u16bits)ioport, (u08bits)val) | ||
347 | #define OS_OutPortWord(ioport,val) outw((u16bits)ioport, (u16bits)val) | ||
348 | #define OS_OutPortLong(ioport,val) outl((u16bits)ioport, (u32bits)val) | ||
349 | |||
350 | #define OS_Lock(x) | ||
351 | #define OS_UnLock(x) | ||
352 | #endif /* UNIX */ | ||
353 | |||
354 | |||
355 | #if defined(OS2) | ||
356 | extern u08bits inb(u32bits ioport); | ||
357 | extern u16bits inw(u32bits ioport); | ||
358 | extern void outb(u32bits ioport, u08bits val); | ||
359 | extern void outw(u32bits ioport, u16bits val); | ||
360 | |||
361 | #define OS_InPortByte(ioport) inb(ioport) | ||
362 | #define OS_InPortWord(ioport) inw(ioport) | ||
363 | #define OS_OutPortByte(ioport, val) outb(ioport, val) | ||
364 | #define OS_OutPortWord(ioport, val) outw(ioport, val) | ||
365 | extern u32bits OS_InPortLong(u32bits ioport); | ||
366 | extern void OS_OutPortLong(u32bits ioport, u32bits val); | ||
367 | |||
368 | #define OS_Lock(x) | ||
369 | #define OS_UnLock(x) | ||
370 | #endif /* OS2 */ | ||
371 | |||
372 | #if defined(SOLARIS_REAL_MODE) | ||
373 | |||
374 | extern unsigned char inb(unsigned long ioport); | ||
375 | extern unsigned short inw(unsigned long ioport); | ||
376 | |||
377 | #define OS_InPortByte(ioport) inb(ioport) | ||
378 | #define OS_InPortWord(ioport) inw(ioport) | ||
379 | |||
380 | extern void OS_OutPortByte(unsigned long ioport, unsigned char val); | ||
381 | extern void OS_OutPortWord(unsigned long ioport, unsigned short val); | ||
382 | extern unsigned long OS_InPortLong(unsigned long ioport); | ||
383 | extern void OS_OutPortLong(unsigned long ioport, unsigned long val); | ||
384 | |||
385 | #define OS_Lock(x) | ||
386 | #define OS_UnLock(x) | ||
387 | |||
388 | #endif /* SOLARIS_REAL_MODE */ | ||
389 | |||
390 | #endif /* __GLOBALS_H__ */ | ||
391 | |||
392 | /*---------------------------------------------------------------------- | ||
393 | * | ||
394 | * | ||
395 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
396 | * | ||
397 | * This file is available under both the GNU General Public License | ||
398 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
399 | * | ||
400 | * $Workfile: sccbmgr.h $ | ||
401 | * | ||
402 | * Description: Common shared SCCB Interface defines and SCCB | ||
403 | * Manager specifics defines. | ||
404 | * | ||
405 | * $Date: 1996/10/24 23:09:33 $ | ||
406 | * | ||
407 | * $Revision: 1.14 $ | ||
408 | * | ||
409 | *----------------------------------------------------------------------*/ | ||
410 | |||
411 | #ifndef __SCCB_H__ | ||
412 | #define __SCCB_H__ | ||
413 | |||
414 | /*#include <osflags.h>*/ | ||
415 | /*#include <globals.h>*/ | ||
416 | |||
417 | #if defined(BUGBUG) | ||
418 | #define debug_size 32 | ||
419 | #endif | ||
420 | |||
421 | #if defined(DOS) | ||
422 | |||
423 | typedef struct _SCCB near *PSCCB; | ||
424 | #if (FW_TYPE == _SCCB_MGR_) | ||
425 | typedef void (*CALL_BK_FN)(PSCCB); | ||
426 | #endif | ||
427 | |||
428 | #elif defined(OS2) | ||
429 | |||
430 | typedef struct _SCCB far *PSCCB; | ||
431 | #if (FW_TYPE == _SCCB_MGR_) | ||
432 | typedef void (far *CALL_BK_FN)(PSCCB); | ||
433 | #endif | ||
434 | |||
435 | #else | ||
436 | |||
437 | typedef struct _SCCB *PSCCB; | ||
438 | #if (FW_TYPE == _SCCB_MGR_) | ||
439 | typedef void (*CALL_BK_FN)(PSCCB); | ||
440 | #endif | ||
441 | |||
442 | #endif | ||
443 | 100 | ||
444 | 101 | ||
445 | typedef struct SCCBMgr_info { | 102 | typedef struct SCCBMgr_info { |
@@ -466,25 +123,13 @@ typedef struct SCCBMgr_info { | |||
466 | ULONG si_secondary_range; | 123 | ULONG si_secondary_range; |
467 | } SCCBMGR_INFO; | 124 | } SCCBMGR_INFO; |
468 | 125 | ||
469 | #if defined(DOS) | 126 | typedef SCCBMGR_INFO * PSCCBMGR_INFO; |
470 | typedef SCCBMGR_INFO * PSCCBMGR_INFO; | ||
471 | #else | ||
472 | #if defined (COMPILER_16_BIT) | ||
473 | typedef SCCBMGR_INFO far * PSCCBMGR_INFO; | ||
474 | #else | ||
475 | typedef SCCBMGR_INFO * PSCCBMGR_INFO; | ||
476 | #endif | ||
477 | #endif // defined(DOS) | ||
478 | 127 | ||
479 | 128 | ||
480 | 129 | #define SCSI_PARITY_ENA 0x0001 | |
481 | 130 | #define LOW_BYTE_TERM 0x0010 | |
482 | #if (FW_TYPE==_SCCB_MGR_) | 131 | #define HIGH_BYTE_TERM 0x0020 |
483 | #define SCSI_PARITY_ENA 0x0001 | 132 | #define BUSTYPE_PCI 0x3 |
484 | #define LOW_BYTE_TERM 0x0010 | ||
485 | #define HIGH_BYTE_TERM 0x0020 | ||
486 | #define BUSTYPE_PCI 0x3 | ||
487 | #endif | ||
488 | 133 | ||
489 | #define SUPPORT_16TAR_32LUN 0x0002 | 134 | #define SUPPORT_16TAR_32LUN 0x0002 |
490 | #define SOFT_RESET 0x0004 | 135 | #define SOFT_RESET 0x0004 |
@@ -553,9 +198,6 @@ typedef struct _SCCB { | |||
553 | UCHAR Save_CdbLen; | 198 | UCHAR Save_CdbLen; |
554 | UCHAR Sccb_XferState; | 199 | UCHAR Sccb_XferState; |
555 | ULONG Sccb_SGoffset; | 200 | ULONG Sccb_SGoffset; |
556 | #if (FW_TYPE == _UCB_MGR_) | ||
557 | PUCB Sccb_ucb_ptr; | ||
558 | #endif | ||
559 | } SCCB; | 201 | } SCCB; |
560 | 202 | ||
561 | #define SCCB_SIZE sizeof(SCCB) | 203 | #define SCCB_SIZE sizeof(SCCB) |
@@ -626,25 +268,9 @@ typedef struct _SCCB { | |||
626 | 268 | ||
627 | 269 | ||
628 | 270 | ||
629 | #if (FW_TYPE==_UCB_MGR_) | 271 | #define SCCB_INVALID_DIRECTION 0x18 /* Invalid target direction */ |
630 | #define HBA_AUTO_SENSE_FAIL 0x1B | 272 | #define SCCB_DUPLICATE_SCCB 0x19 /* Duplicate SCCB */ |
631 | #define HBA_TQ_REJECTED 0x1C | 273 | #define SCCB_SCSI_RST 0x35 /* SCSI RESET detected. */ |
632 | #define HBA_UNSUPPORTED_MSG 0x1D | ||
633 | #define HBA_HW_ERROR 0x20 | ||
634 | #define HBA_ATN_NOT_RESPONDED 0x21 | ||
635 | #define HBA_SCSI_RESET_BY_ADAPTER 0x22 | ||
636 | #define HBA_SCSI_RESET_BY_TARGET 0x23 | ||
637 | #define HBA_WRONG_CONNECTION 0x24 | ||
638 | #define HBA_BUS_DEVICE_RESET 0x25 | ||
639 | #define HBA_ABORT_QUEUE 0x26 | ||
640 | |||
641 | #else // these are not defined in BUDI/UCB | ||
642 | |||
643 | #define SCCB_INVALID_DIRECTION 0x18 /* Invalid target direction */ | ||
644 | #define SCCB_DUPLICATE_SCCB 0x19 /* Duplicate SCCB */ | ||
645 | #define SCCB_SCSI_RST 0x35 /* SCSI RESET detected. */ | ||
646 | |||
647 | #endif // (FW_TYPE==_UCB_MGR_) | ||
648 | 274 | ||
649 | 275 | ||
650 | #define SCCB_IN_PROCESS 0x00 | 276 | #define SCCB_IN_PROCESS 0x00 |
@@ -657,115 +283,20 @@ typedef struct _SCCB { | |||
657 | #define SCCB_SIZE sizeof(SCCB) | 283 | #define SCCB_SIZE sizeof(SCCB) |
658 | 284 | ||
659 | 285 | ||
660 | |||
661 | |||
662 | #if (FW_TYPE == _UCB_MGR_) | ||
663 | void SccbMgr_start_sccb(CARD_HANDLE pCurrCard, PUCB p_ucb); | ||
664 | s32bits SccbMgr_abort_sccb(CARD_HANDLE pCurrCard, PUCB p_ucb); | ||
665 | u08bits SccbMgr_my_int(CARD_HANDLE pCurrCard); | ||
666 | s32bits SccbMgr_isr(CARD_HANDLE pCurrCard); | ||
667 | void SccbMgr_scsi_reset(CARD_HANDLE pCurrCard); | ||
668 | void SccbMgr_timer_expired(CARD_HANDLE pCurrCard); | ||
669 | void SccbMgr_unload_card(CARD_HANDLE pCurrCard); | ||
670 | void SccbMgr_restore_foreign_state(CARD_HANDLE pCurrCard); | ||
671 | void SccbMgr_restore_native_state(CARD_HANDLE pCurrCard); | ||
672 | void SccbMgr_save_foreign_state(PADAPTER_INFO pAdapterInfo); | ||
673 | |||
674 | #endif | ||
675 | |||
676 | |||
677 | #if (FW_TYPE == _SCCB_MGR_) | ||
678 | |||
679 | #if defined (DOS) | ||
680 | int SccbMgr_sense_adapter(PSCCBMGR_INFO pCardInfo); | ||
681 | USHORT SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo); | ||
682 | void SccbMgr_start_sccb(USHORT pCurrCard, PSCCB p_SCCB); | ||
683 | int SccbMgr_abort_sccb(USHORT pCurrCard, PSCCB p_SCCB); | ||
684 | UCHAR SccbMgr_my_int(USHORT pCurrCard); | ||
685 | int SccbMgr_isr(USHORT pCurrCard); | ||
686 | void SccbMgr_scsi_reset(USHORT pCurrCard); | ||
687 | void SccbMgr_timer_expired(USHORT pCurrCard); | ||
688 | USHORT SccbMgr_status(USHORT pCurrCard); | ||
689 | void SccbMgr_unload_card(USHORT pCurrCard); | ||
690 | |||
691 | #else //non-DOS | ||
692 | |||
693 | int SccbMgr_sense_adapter(PSCCBMGR_INFO pCardInfo); | ||
694 | ULONG SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo); | ||
695 | void SccbMgr_start_sccb(ULONG pCurrCard, PSCCB p_SCCB); | ||
696 | int SccbMgr_abort_sccb(ULONG pCurrCard, PSCCB p_SCCB); | ||
697 | UCHAR SccbMgr_my_int(ULONG pCurrCard); | ||
698 | int SccbMgr_isr(ULONG pCurrCard); | ||
699 | void SccbMgr_scsi_reset(ULONG pCurrCard); | ||
700 | void SccbMgr_enable_int(ULONG pCurrCard); | ||
701 | void SccbMgr_disable_int(ULONG pCurrCard); | ||
702 | void SccbMgr_timer_expired(ULONG pCurrCard); | ||
703 | void SccbMgr_unload_card(ULONG pCurrCard); | ||
704 | |||
705 | #endif | ||
706 | #endif // (FW_TYPE == _SCCB_MGR_) | ||
707 | |||
708 | #endif /* __SCCB_H__ */ | ||
709 | |||
710 | /*---------------------------------------------------------------------- | ||
711 | * | ||
712 | * | ||
713 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
714 | * | ||
715 | * This file is available under both the GNU General Public License | ||
716 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
717 | * | ||
718 | * $Workfile: blx30.h $ | ||
719 | * | ||
720 | * Description: This module contains SCCB/UCB Manager implementation | ||
721 | * specific stuff. | ||
722 | * | ||
723 | * $Date: 1996/11/13 18:34:22 $ | ||
724 | * | ||
725 | * $Revision: 1.10 $ | ||
726 | * | ||
727 | *----------------------------------------------------------------------*/ | ||
728 | |||
729 | |||
730 | #ifndef __blx30_H__ | ||
731 | #define __blx30_H__ | ||
732 | |||
733 | /*#include <globals.h>*/ | ||
734 | |||
735 | #define ORION_FW_REV 3110 | 286 | #define ORION_FW_REV 3110 |
736 | 287 | ||
737 | |||
738 | |||
739 | |||
740 | #define HARP_REVD 1 | 288 | #define HARP_REVD 1 |
741 | 289 | ||
742 | 290 | ||
743 | #if defined(DOS) | ||
744 | #define QUEUE_DEPTH 8+1 /*1 for Normal disconnect 0 for Q'ing. */ | ||
745 | #else | ||
746 | #define QUEUE_DEPTH 254+1 /*1 for Normal disconnect 32 for Q'ing. */ | 291 | #define QUEUE_DEPTH 254+1 /*1 for Normal disconnect 32 for Q'ing. */ |
747 | #endif // defined(DOS) | ||
748 | 292 | ||
749 | #define MAX_MB_CARDS 4 /* Max. no of cards suppoerted on Mother Board */ | 293 | #define MAX_MB_CARDS 4 /* Max. no of cards suppoerted on Mother Board */ |
750 | 294 | ||
751 | #define WIDE_SCSI 1 | 295 | #define WIDE_SCSI 1 |
752 | 296 | ||
753 | #if defined(WIDE_SCSI) | 297 | #define MAX_SCSI_TAR 16 |
754 | #if defined(DOS) | 298 | #define MAX_LUN 32 |
755 | #define MAX_SCSI_TAR 16 | 299 | #define LUN_MASK 0x1f |
756 | #define MAX_LUN 8 | ||
757 | #define LUN_MASK 0x07 | ||
758 | #else | ||
759 | #define MAX_SCSI_TAR 16 | ||
760 | #define MAX_LUN 32 | ||
761 | #define LUN_MASK 0x1f | ||
762 | |||
763 | #endif | ||
764 | #else | ||
765 | #define MAX_SCSI_TAR 8 | ||
766 | #define MAX_LUN 8 | ||
767 | #define LUN_MASK 0x07 | ||
768 | #endif | ||
769 | 300 | ||
770 | #if defined(HARP_REVA) | 301 | #if defined(HARP_REVA) |
771 | #define SG_BUF_CNT 15 /*Number of prefetched elements. */ | 302 | #define SG_BUF_CNT 15 /*Number of prefetched elements. */ |
@@ -778,116 +309,12 @@ typedef struct _SCCB { | |||
778 | #define SG_ELEMENT_MASK 0xFFFFFFFFL | 309 | #define SG_ELEMENT_MASK 0xFFFFFFFFL |
779 | 310 | ||
780 | 311 | ||
781 | #if (FW_TYPE == _UCB_MGR_) | 312 | #define RD_HARPOON(ioport) OS_InPortByte((u32bits)ioport) |
782 | #define OPC_DECODE_NORMAL 0x0f7f | 313 | #define RDW_HARPOON(ioport) OS_InPortWord((u32bits)ioport) |
783 | #endif // _UCB_MGR_ | 314 | #define RD_HARP32(ioport,offset,data) (data = OS_InPortLong((u32bits)(ioport + offset))) |
784 | 315 | #define WR_HARPOON(ioport,val) OS_OutPortByte((u32bits)ioport,(u08bits) val) | |
785 | 316 | #define WRW_HARPOON(ioport,val) OS_OutPortWord((u32bits)ioport,(u16bits)val) | |
786 | 317 | #define WR_HARP32(ioport,offset,data) OS_OutPortLong((u32bits)(ioport + offset), data) | |
787 | #if defined(DOS) | ||
788 | |||
789 | /*#include <dos.h>*/ | ||
790 | #define RD_HARPOON(ioport) (OS_InPortByte(ioport)) | ||
791 | #define RDW_HARPOON(ioport) (OS_InPortWord(ioport)) | ||
792 | #define WR_HARPOON(ioport,val) (OS_OutPortByte(ioport,val)) | ||
793 | #define WRW_HARPOON(ioport,val) (OS_OutPortWord(ioport,val)) | ||
794 | |||
795 | #define RD_HARP32(port,offset,data) asm{db 66h; \ | ||
796 | push ax; \ | ||
797 | mov dx,port; \ | ||
798 | add dx, offset; \ | ||
799 | db 66h; \ | ||
800 | in ax,dx; \ | ||
801 | db 66h; \ | ||
802 | mov word ptr data,ax;\ | ||
803 | db 66h; \ | ||
804 | pop ax} | ||
805 | |||
806 | #define WR_HARP32(port,offset,data) asm{db 66h; \ | ||
807 | push ax; \ | ||
808 | mov dx,port; \ | ||
809 | add dx, offset; \ | ||
810 | db 66h; \ | ||
811 | mov ax,word ptr data;\ | ||
812 | db 66h; \ | ||
813 | out dx,ax; \ | ||
814 | db 66h; \ | ||
815 | pop ax} | ||
816 | #endif /* DOS */ | ||
817 | |||
818 | #if defined(NETWARE) || defined(OTHER_32) || defined(OTHER_16) | ||
819 | #define RD_HARPOON(ioport) OS_InPortByte((unsigned long)ioport) | ||
820 | #define RDW_HARPOON(ioport) OS_InPortWord((unsigned long)ioport) | ||
821 | #define RD_HARP32(ioport,offset,data) (data = OS_InPortLong(ioport + offset)) | ||
822 | #define WR_HARPOON(ioport,val) OS_OutPortByte((ULONG)ioport,(UCHAR) val) | ||
823 | #define WRW_HARPOON(ioport,val) OS_OutPortWord((ULONG)ioport,(USHORT)val) | ||
824 | #define WR_HARP32(ioport,offset,data) OS_OutPortLong((ioport + offset), data) | ||
825 | #endif /* NETWARE || OTHER_32 || OTHER_16 */ | ||
826 | |||
827 | #if defined(NT) || defined(WIN95_32) || defined(WIN95_16) | ||
828 | #define RD_HARPOON(ioport) OS_InPortByte((ULONG)ioport) | ||
829 | #define RDW_HARPOON(ioport) OS_InPortWord((ULONG)ioport) | ||
830 | #define RD_HARP32(ioport,offset,data) (data = OS_InPortLong((ULONG)(ioport + offset))) | ||
831 | #define WR_HARPOON(ioport,val) OS_OutPortByte((ULONG)ioport,(UCHAR) val) | ||
832 | #define WRW_HARPOON(ioport,val) OS_OutPortWord((ULONG)ioport,(USHORT)val) | ||
833 | #define WR_HARP32(ioport,offset,data) OS_OutPortLong((ULONG)(ioport + offset), data) | ||
834 | #endif /* NT || WIN95_32 || WIN95_16 */ | ||
835 | |||
836 | #if defined (UNIX) | ||
837 | #define RD_HARPOON(ioport) OS_InPortByte((u32bits)ioport) | ||
838 | #define RDW_HARPOON(ioport) OS_InPortWord((u32bits)ioport) | ||
839 | #define RD_HARP32(ioport,offset,data) (data = OS_InPortLong((u32bits)(ioport + offset))) | ||
840 | #define WR_HARPOON(ioport,val) OS_OutPortByte((u32bits)ioport,(u08bits) val) | ||
841 | #define WRW_HARPOON(ioport,val) OS_OutPortWord((u32bits)ioport,(u16bits)val) | ||
842 | #define WR_HARP32(ioport,offset,data) OS_OutPortLong((u32bits)(ioport + offset), data) | ||
843 | #endif /* UNIX */ | ||
844 | |||
845 | #if defined(OS2) | ||
846 | #define RD_HARPOON(ioport) OS_InPortByte((unsigned long)ioport) | ||
847 | #define RDW_HARPOON(ioport) OS_InPortWord((unsigned long)ioport) | ||
848 | #define RD_HARP32(ioport,offset,data) (data = OS_InPortLong((ULONG)(ioport + offset))) | ||
849 | #define WR_HARPOON(ioport,val) OS_OutPortByte((ULONG)ioport,(UCHAR) val) | ||
850 | #define WRW_HARPOON(ioport,val) OS_OutPortWord((ULONG)ioport,(USHORT)val) | ||
851 | #define WR_HARP32(ioport,offset,data) OS_OutPortLong(((ULONG)(ioport + offset)), data) | ||
852 | #endif /* OS2 */ | ||
853 | |||
854 | #if defined(SOLARIS_REAL_MODE) | ||
855 | |||
856 | #define RD_HARPOON(ioport) OS_InPortByte((unsigned long)ioport) | ||
857 | #define RDW_HARPOON(ioport) OS_InPortWord((unsigned long)ioport) | ||
858 | #define RD_HARP32(ioport,offset,data) (data = OS_InPortLong((ULONG)(ioport + offset))) | ||
859 | #define WR_HARPOON(ioport,val) OS_OutPortByte((ULONG)ioport,(UCHAR) val) | ||
860 | #define WRW_HARPOON(ioport,val) OS_OutPortWord((ULONG)ioport,(USHORT)val) | ||
861 | #define WR_HARP32(ioport,offset,data) OS_OutPortLong((ULONG)(ioport + offset), (ULONG)data) | ||
862 | |||
863 | #endif /* SOLARIS_REAL_MODE */ | ||
864 | |||
865 | #endif /* __BLX30_H__ */ | ||
866 | |||
867 | |||
868 | /*---------------------------------------------------------------------- | ||
869 | * | ||
870 | * | ||
871 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
872 | * | ||
873 | * This file is available under both the GNU General Public License | ||
874 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
875 | * | ||
876 | * $Workfile: target.h $ | ||
877 | * | ||
878 | * Description: Definitions for Target related structures | ||
879 | * | ||
880 | * $Date: 1996/12/11 22:06:20 $ | ||
881 | * | ||
882 | * $Revision: 1.9 $ | ||
883 | * | ||
884 | *----------------------------------------------------------------------*/ | ||
885 | |||
886 | #ifndef __TARGET__ | ||
887 | #define __TARGET__ | ||
888 | |||
889 | /*#include <globals.h>*/ | ||
890 | /*#include <blx30.h>*/ | ||
891 | 318 | ||
892 | 319 | ||
893 | #define TAR_SYNC_MASK (BIT(7)+BIT(6)) | 320 | #define TAR_SYNC_MASK (BIT(7)+BIT(6)) |
@@ -919,16 +346,7 @@ typedef struct _SCCB { | |||
919 | #define EE_WIDE_SCSI BIT(7) | 346 | #define EE_WIDE_SCSI BIT(7) |
920 | 347 | ||
921 | 348 | ||
922 | #if defined(DOS) | 349 | typedef struct SCCBMgr_tar_info *PSCCBMgr_tar_info; |
923 | typedef struct SCCBMgr_tar_info near *PSCCBMgr_tar_info; | ||
924 | |||
925 | #elif defined(OS2) | ||
926 | typedef struct SCCBMgr_tar_info far *PSCCBMgr_tar_info; | ||
927 | |||
928 | #else | ||
929 | typedef struct SCCBMgr_tar_info *PSCCBMgr_tar_info; | ||
930 | |||
931 | #endif | ||
932 | 350 | ||
933 | 351 | ||
934 | typedef struct SCCBMgr_tar_info { | 352 | typedef struct SCCBMgr_tar_info { |
@@ -949,11 +367,7 @@ typedef struct SCCBMgr_tar_info { | |||
949 | typedef struct NVRAMInfo { | 367 | typedef struct NVRAMInfo { |
950 | UCHAR niModel; /* Model No. of card */ | 368 | UCHAR niModel; /* Model No. of card */ |
951 | UCHAR niCardNo; /* Card no. */ | 369 | UCHAR niCardNo; /* Card no. */ |
952 | #if defined(DOS) | ||
953 | USHORT niBaseAddr; /* Port Address of card */ | ||
954 | #else | ||
955 | ULONG niBaseAddr; /* Port Address of card */ | 370 | ULONG niBaseAddr; /* Port Address of card */ |
956 | #endif | ||
957 | UCHAR niSysConf; /* Adapter Configuration byte - Byte 16 of eeprom map */ | 371 | UCHAR niSysConf; /* Adapter Configuration byte - Byte 16 of eeprom map */ |
958 | UCHAR niScsiConf; /* SCSI Configuration byte - Byte 17 of eeprom map */ | 372 | UCHAR niScsiConf; /* SCSI Configuration byte - Byte 17 of eeprom map */ |
959 | UCHAR niScamConf; /* SCAM Configuration byte - Byte 20 of eeprom map */ | 373 | UCHAR niScamConf; /* SCAM Configuration byte - Byte 20 of eeprom map */ |
@@ -962,13 +376,7 @@ typedef struct NVRAMInfo { | |||
962 | UCHAR niScamTbl[MAX_SCSI_TAR][4]; /* Compressed Scam name string of Targets */ | 376 | UCHAR niScamTbl[MAX_SCSI_TAR][4]; /* Compressed Scam name string of Targets */ |
963 | }NVRAMINFO; | 377 | }NVRAMINFO; |
964 | 378 | ||
965 | #if defined(DOS) | ||
966 | typedef NVRAMINFO near *PNVRamInfo; | ||
967 | #elif defined (OS2) | ||
968 | typedef NVRAMINFO far *PNVRamInfo; | ||
969 | #else | ||
970 | typedef NVRAMINFO *PNVRamInfo; | 379 | typedef NVRAMINFO *PNVRamInfo; |
971 | #endif | ||
972 | 380 | ||
973 | #define MODEL_LT 1 | 381 | #define MODEL_LT 1 |
974 | #define MODEL_DL 2 | 382 | #define MODEL_DL 2 |
@@ -978,17 +386,9 @@ typedef NVRAMINFO *PNVRamInfo; | |||
978 | 386 | ||
979 | typedef struct SCCBcard { | 387 | typedef struct SCCBcard { |
980 | PSCCB currentSCCB; | 388 | PSCCB currentSCCB; |
981 | #if (FW_TYPE==_SCCB_MGR_) | ||
982 | PSCCBMGR_INFO cardInfo; | 389 | PSCCBMGR_INFO cardInfo; |
983 | #else | ||
984 | PADAPTER_INFO cardInfo; | ||
985 | #endif | ||
986 | 390 | ||
987 | #if defined(DOS) | ||
988 | USHORT ioPort; | ||
989 | #else | ||
990 | ULONG ioPort; | 391 | ULONG ioPort; |
991 | #endif | ||
992 | 392 | ||
993 | USHORT cmdCounter; | 393 | USHORT cmdCounter; |
994 | UCHAR discQCount; | 394 | UCHAR discQCount; |
@@ -1002,13 +402,7 @@ typedef struct SCCBcard { | |||
1002 | 402 | ||
1003 | }SCCBCARD; | 403 | }SCCBCARD; |
1004 | 404 | ||
1005 | #if defined(DOS) | ||
1006 | typedef struct SCCBcard near *PSCCBcard; | ||
1007 | #elif defined (OS2) | ||
1008 | typedef struct SCCBcard far *PSCCBcard; | ||
1009 | #else | ||
1010 | typedef struct SCCBcard *PSCCBcard; | 405 | typedef struct SCCBcard *PSCCBcard; |
1011 | #endif | ||
1012 | 406 | ||
1013 | 407 | ||
1014 | #define F_TAG_STARTED 0x01 | 408 | #define F_TAG_STARTED 0x01 |
@@ -1063,29 +457,6 @@ typedef struct SCCBscam_info { | |||
1063 | 457 | ||
1064 | } SCCBSCAM_INFO, *PSCCBSCAM_INFO; | 458 | } SCCBSCAM_INFO, *PSCCBSCAM_INFO; |
1065 | 459 | ||
1066 | #endif | ||
1067 | /*---------------------------------------------------------------------- | ||
1068 | * | ||
1069 | * | ||
1070 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
1071 | * | ||
1072 | * This file is available under both the GNU General Public License | ||
1073 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
1074 | * | ||
1075 | * $Workfile: scsi2.h $ | ||
1076 | * | ||
1077 | * Description: Register definitions for HARPOON ASIC. | ||
1078 | * | ||
1079 | * $Date: 1996/11/13 18:32:57 $ | ||
1080 | * | ||
1081 | * $Revision: 1.4 $ | ||
1082 | * | ||
1083 | *----------------------------------------------------------------------*/ | ||
1084 | |||
1085 | #ifndef __SCSI_H__ | ||
1086 | #define __SCSI_H__ | ||
1087 | |||
1088 | |||
1089 | 460 | ||
1090 | #define SCSI_TEST_UNIT_READY 0x00 | 461 | #define SCSI_TEST_UNIT_READY 0x00 |
1091 | #define SCSI_REZERO_UNIT 0x01 | 462 | #define SCSI_REZERO_UNIT 0x01 |
@@ -1195,29 +566,6 @@ typedef struct SCCBscam_info { | |||
1195 | #define SYNC5MBS 0x32 | 566 | #define SYNC5MBS 0x32 |
1196 | #define MAX_OFFSET 0x0F /* Maxbyteoffset for Sync Xfers */ | 567 | #define MAX_OFFSET 0x0F /* Maxbyteoffset for Sync Xfers */ |
1197 | 568 | ||
1198 | #endif | ||
1199 | /*---------------------------------------------------------------------- | ||
1200 | * | ||
1201 | * | ||
1202 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
1203 | * | ||
1204 | * This file is available under both the GNU General Public License | ||
1205 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
1206 | * | ||
1207 | * $Workfile: eeprom.h $ | ||
1208 | * | ||
1209 | * Description: Definitions for EEPROM related structures | ||
1210 | * | ||
1211 | * $Date: 1996/11/13 18:28:39 $ | ||
1212 | * | ||
1213 | * $Revision: 1.4 $ | ||
1214 | * | ||
1215 | *----------------------------------------------------------------------*/ | ||
1216 | |||
1217 | #ifndef __EEPROM__ | ||
1218 | #define __EEPROM__ | ||
1219 | |||
1220 | /*#include <globals.h>*/ | ||
1221 | 569 | ||
1222 | #define EEPROM_WD_CNT 256 | 570 | #define EEPROM_WD_CNT 256 |
1223 | 571 | ||
@@ -1280,31 +628,6 @@ typedef struct SCCBscam_info { | |||
1280 | #define DISC_ENABLE_BIT BIT(6) | 628 | #define DISC_ENABLE_BIT BIT(6) |
1281 | 629 | ||
1282 | 630 | ||
1283 | #endif | ||
1284 | /*---------------------------------------------------------------------- | ||
1285 | * | ||
1286 | * | ||
1287 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
1288 | * | ||
1289 | * This file is available under both the GNU General Public License | ||
1290 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
1291 | * | ||
1292 | * $Workfile: harpoon.h $ | ||
1293 | * | ||
1294 | * Description: Register definitions for HARPOON ASIC. | ||
1295 | * | ||
1296 | * $Date: 1997/07/09 21:44:36 $ | ||
1297 | * | ||
1298 | * $Revision: 1.9 $ | ||
1299 | * | ||
1300 | *----------------------------------------------------------------------*/ | ||
1301 | |||
1302 | |||
1303 | /*#include <globals.h>*/ | ||
1304 | |||
1305 | #ifndef __HARPOON__ | ||
1306 | #define __HARPOON__ | ||
1307 | |||
1308 | 631 | ||
1309 | #define hp_vendor_id_0 0x00 /* LSB */ | 632 | #define hp_vendor_id_0 0x00 /* LSB */ |
1310 | #define ORION_VEND_0 0x4B | 633 | #define ORION_VEND_0 0x4B |
@@ -1578,8 +901,6 @@ typedef struct SCCBscam_info { | |||
1578 | 901 | ||
1579 | 902 | ||
1580 | 903 | ||
1581 | extern USHORT default_intena; | ||
1582 | |||
1583 | #define hp_intena 0x40 | 904 | #define hp_intena 0x40 |
1584 | 905 | ||
1585 | #define RESET BITW(7) | 906 | #define RESET BITW(7) |
@@ -1972,15 +1293,6 @@ typedef struct SCCBscam_info { | |||
1972 | xfercnt <<= 16,\ | 1293 | xfercnt <<= 16,\ |
1973 | xfercnt |= RDW_HARPOON((USHORT)(port+hp_xfercnt_0))) | 1294 | xfercnt |= RDW_HARPOON((USHORT)(port+hp_xfercnt_0))) |
1974 | */ | 1295 | */ |
1975 | #if defined(DOS) | ||
1976 | #define HP_SETUP_ADDR_CNT(port,addr,count) (WRW_HARPOON((USHORT)(port+hp_host_addr_lo), (USHORT)(addr & 0x0000FFFFL)),\ | ||
1977 | addr >>= 16,\ | ||
1978 | WRW_HARPOON((USHORT)(port+hp_host_addr_hmi), (USHORT)(addr & 0x0000FFFFL)),\ | ||
1979 | WR_HARP32(port,hp_xfercnt_0,count),\ | ||
1980 | WRW_HARPOON((USHORT)(port+hp_xfer_cnt_lo), (USHORT)(count & 0x0000FFFFL)),\ | ||
1981 | count >>= 16,\ | ||
1982 | WR_HARPOON(port+hp_xfer_cnt_hi, (count & 0xFF))) | ||
1983 | #else | ||
1984 | #define HP_SETUP_ADDR_CNT(port,addr,count) (WRW_HARPOON((port+hp_host_addr_lo), (USHORT)(addr & 0x0000FFFFL)),\ | 1296 | #define HP_SETUP_ADDR_CNT(port,addr,count) (WRW_HARPOON((port+hp_host_addr_lo), (USHORT)(addr & 0x0000FFFFL)),\ |
1985 | addr >>= 16,\ | 1297 | addr >>= 16,\ |
1986 | WRW_HARPOON((port+hp_host_addr_hmi), (USHORT)(addr & 0x0000FFFFL)),\ | 1298 | WRW_HARPOON((port+hp_host_addr_hmi), (USHORT)(addr & 0x0000FFFFL)),\ |
@@ -1988,7 +1300,6 @@ typedef struct SCCBscam_info { | |||
1988 | WRW_HARPOON((port+hp_xfer_cnt_lo), (USHORT)(count & 0x0000FFFFL)),\ | 1300 | WRW_HARPOON((port+hp_xfer_cnt_lo), (USHORT)(count & 0x0000FFFFL)),\ |
1989 | count >>= 16,\ | 1301 | count >>= 16,\ |
1990 | WR_HARPOON(port+hp_xfer_cnt_hi, (count & 0xFF))) | 1302 | WR_HARPOON(port+hp_xfer_cnt_hi, (count & 0xFF))) |
1991 | #endif | ||
1992 | 1303 | ||
1993 | #define ACCEPT_MSG(port) {while(RD_HARPOON(port+hp_scsisig) & SCSI_REQ){}\ | 1304 | #define ACCEPT_MSG(port) {while(RD_HARPOON(port+hp_scsisig) & SCSI_REQ){}\ |
1994 | WR_HARPOON(port+hp_scsisig, S_ILL_PH);} | 1305 | WR_HARPOON(port+hp_scsisig, S_ILL_PH);} |
@@ -2020,383 +1331,145 @@ typedef struct SCCBscam_info { | |||
2020 | 1331 | ||
2021 | 1332 | ||
2022 | 1333 | ||
2023 | #endif | ||
2024 | |||
2025 | 1334 | ||
2026 | #if (FW_TYPE==_UCB_MGR_) | ||
2027 | void ReadNVRam(PSCCBcard pCurrCard,PUCB p_ucb); | ||
2028 | void WriteNVRam(PSCCBcard pCurrCard,PUCB p_ucb); | ||
2029 | void UpdateCheckSum(u32bits baseport); | ||
2030 | #endif // (FW_TYPE==_UCB_MGR_) | ||
2031 | |||
2032 | #if defined(DOS) | ||
2033 | UCHAR sfm(USHORT port, PSCCB pcurrSCCB); | ||
2034 | void scsiStartAuto(USHORT port); | ||
2035 | UCHAR sisyncn(USHORT port, UCHAR p_card, UCHAR syncFlag); | ||
2036 | void ssel(USHORT port, UCHAR p_card); | ||
2037 | void sres(USHORT port, UCHAR p_card, PSCCBcard pCurrCard); | ||
2038 | void sdecm(UCHAR message, USHORT port, UCHAR p_card); | ||
2039 | void shandem(USHORT port, UCHAR p_card,PSCCB pCurrSCCB); | ||
2040 | void stsyncn(USHORT port, UCHAR p_card); | ||
2041 | void sisyncr(USHORT port,UCHAR sync_pulse, UCHAR offset); | ||
2042 | void sssyncv(USHORT p_port, UCHAR p_id, UCHAR p_sync_value, PSCCBMgr_tar_info currTar_Info); | ||
2043 | void sresb(USHORT port, UCHAR p_card); | ||
2044 | void sxfrp(USHORT p_port, UCHAR p_card); | ||
2045 | void schkdd(USHORT port, UCHAR p_card); | ||
2046 | UCHAR RdStack(USHORT port, UCHAR index); | ||
2047 | void WrStack(USHORT portBase, UCHAR index, UCHAR data); | ||
2048 | UCHAR ChkIfChipInitialized(USHORT ioPort); | ||
2049 | |||
2050 | #if defined(V302) | ||
2051 | UCHAR GetTarLun(USHORT port, UCHAR p_card, UCHAR our_target, PSCCBcard pCurrCard, PUCHAR tag, PUCHAR lun); | ||
2052 | #endif | ||
2053 | |||
2054 | void SendMsg(USHORT port, UCHAR message); | ||
2055 | void queueFlushTargSccb(UCHAR p_card, UCHAR thisTarg, UCHAR error_code); | ||
2056 | UCHAR scsellDOS(USHORT p_port, UCHAR targ_id); | ||
2057 | #else | ||
2058 | UCHAR sfm(ULONG port, PSCCB pcurrSCCB); | ||
2059 | void scsiStartAuto(ULONG port); | 1335 | void scsiStartAuto(ULONG port); |
2060 | UCHAR sisyncn(ULONG port, UCHAR p_card, UCHAR syncFlag); | 1336 | static UCHAR FPT_sisyncn(ULONG port, UCHAR p_card, UCHAR syncFlag); |
2061 | void ssel(ULONG port, UCHAR p_card); | 1337 | static void FPT_ssel(ULONG port, UCHAR p_card); |
2062 | void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard); | 1338 | static void FPT_sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard); |
2063 | void sdecm(UCHAR message, ULONG port, UCHAR p_card); | 1339 | static void FPT_shandem(ULONG port, UCHAR p_card,PSCCB pCurrSCCB); |
2064 | void shandem(ULONG port, UCHAR p_card,PSCCB pCurrSCCB); | 1340 | static void FPT_stsyncn(ULONG port, UCHAR p_card); |
2065 | void stsyncn(ULONG port, UCHAR p_card); | 1341 | static void FPT_sisyncr(ULONG port,UCHAR sync_pulse, UCHAR offset); |
2066 | void sisyncr(ULONG port,UCHAR sync_pulse, UCHAR offset); | 1342 | static void FPT_sssyncv(ULONG p_port, UCHAR p_id, UCHAR p_sync_value, |
2067 | void sssyncv(ULONG p_port, UCHAR p_id, UCHAR p_sync_value, PSCCBMgr_tar_info currTar_Info); | 1343 | PSCCBMgr_tar_info currTar_Info); |
2068 | void sresb(ULONG port, UCHAR p_card); | 1344 | static void FPT_sresb(ULONG port, UCHAR p_card); |
2069 | void sxfrp(ULONG p_port, UCHAR p_card); | 1345 | static void FPT_sxfrp(ULONG p_port, UCHAR p_card); |
2070 | void schkdd(ULONG port, UCHAR p_card); | 1346 | static void FPT_schkdd(ULONG port, UCHAR p_card); |
2071 | UCHAR RdStack(ULONG port, UCHAR index); | 1347 | static UCHAR FPT_RdStack(ULONG port, UCHAR index); |
2072 | void WrStack(ULONG portBase, UCHAR index, UCHAR data); | 1348 | static void FPT_WrStack(ULONG portBase, UCHAR index, UCHAR data); |
2073 | UCHAR ChkIfChipInitialized(ULONG ioPort); | 1349 | static UCHAR FPT_ChkIfChipInitialized(ULONG ioPort); |
2074 | |||
2075 | #if defined(V302) | ||
2076 | UCHAR GetTarLun(ULONG port, UCHAR p_card, UCHAR our_target, PSCCBcard pCurrCard, PUCHAR tar, PUCHAR lun); | ||
2077 | #endif | ||
2078 | 1350 | ||
2079 | void SendMsg(ULONG port, UCHAR message); | 1351 | static void FPT_SendMsg(ULONG port, UCHAR message); |
2080 | void queueFlushTargSccb(UCHAR p_card, UCHAR thisTarg, UCHAR error_code); | 1352 | static void FPT_queueFlushTargSccb(UCHAR p_card, UCHAR thisTarg, |
2081 | #endif | 1353 | UCHAR error_code); |
2082 | 1354 | ||
2083 | void ssenss(PSCCBcard pCurrCard); | 1355 | static void FPT_sinits(PSCCB p_sccb, UCHAR p_card); |
2084 | void sinits(PSCCB p_sccb, UCHAR p_card); | 1356 | static void FPT_RNVRamData(PNVRamInfo pNvRamInfo); |
2085 | void RNVRamData(PNVRamInfo pNvRamInfo); | ||
2086 | |||
2087 | #if defined(WIDE_SCSI) | ||
2088 | #if defined(DOS) | ||
2089 | UCHAR siwidn(USHORT port, UCHAR p_card); | ||
2090 | void stwidn(USHORT port, UCHAR p_card); | ||
2091 | void siwidr(USHORT port, UCHAR width); | ||
2092 | #else | ||
2093 | UCHAR siwidn(ULONG port, UCHAR p_card); | ||
2094 | void stwidn(ULONG port, UCHAR p_card); | ||
2095 | void siwidr(ULONG port, UCHAR width); | ||
2096 | #endif | ||
2097 | #endif | ||
2098 | 1357 | ||
1358 | static UCHAR FPT_siwidn(ULONG port, UCHAR p_card); | ||
1359 | static void FPT_stwidn(ULONG port, UCHAR p_card); | ||
1360 | static void FPT_siwidr(ULONG port, UCHAR width); | ||
2099 | 1361 | ||
2100 | void queueSelectFail(PSCCBcard pCurrCard, UCHAR p_card); | ||
2101 | void queueDisconnect(PSCCB p_SCCB, UCHAR p_card); | ||
2102 | void queueCmdComplete(PSCCBcard pCurrCard, PSCCB p_SCCB, UCHAR p_card); | ||
2103 | void queueSearchSelect(PSCCBcard pCurrCard, UCHAR p_card); | ||
2104 | void queueFlushSccb(UCHAR p_card, UCHAR error_code); | ||
2105 | void queueAddSccb(PSCCB p_SCCB, UCHAR card); | ||
2106 | UCHAR queueFindSccb(PSCCB p_SCCB, UCHAR p_card); | ||
2107 | void utilUpdateResidual(PSCCB p_SCCB); | ||
2108 | USHORT CalcCrc16(UCHAR buffer[]); | ||
2109 | UCHAR CalcLrc(UCHAR buffer[]); | ||
2110 | |||
2111 | |||
2112 | #if defined(DOS) | ||
2113 | void Wait1Second(USHORT p_port); | ||
2114 | void Wait(USHORT p_port, UCHAR p_delay); | ||
2115 | void utilEEWriteOnOff(USHORT p_port,UCHAR p_mode); | ||
2116 | void utilEEWrite(USHORT p_port, USHORT ee_data, USHORT ee_addr); | ||
2117 | USHORT utilEERead(USHORT p_port, USHORT ee_addr); | ||
2118 | USHORT utilEEReadOrg(USHORT p_port, USHORT ee_addr); | ||
2119 | void utilEESendCmdAddr(USHORT p_port, UCHAR ee_cmd, USHORT ee_addr); | ||
2120 | #else | ||
2121 | void Wait1Second(ULONG p_port); | ||
2122 | void Wait(ULONG p_port, UCHAR p_delay); | ||
2123 | void utilEEWriteOnOff(ULONG p_port,UCHAR p_mode); | ||
2124 | void utilEEWrite(ULONG p_port, USHORT ee_data, USHORT ee_addr); | ||
2125 | USHORT utilEERead(ULONG p_port, USHORT ee_addr); | ||
2126 | USHORT utilEEReadOrg(ULONG p_port, USHORT ee_addr); | ||
2127 | void utilEESendCmdAddr(ULONG p_port, UCHAR ee_cmd, USHORT ee_addr); | ||
2128 | #endif | ||
2129 | 1362 | ||
1363 | static void FPT_queueSelectFail(PSCCBcard pCurrCard, UCHAR p_card); | ||
1364 | static void FPT_queueDisconnect(PSCCB p_SCCB, UCHAR p_card); | ||
1365 | static void FPT_queueCmdComplete(PSCCBcard pCurrCard, PSCCB p_SCCB, | ||
1366 | UCHAR p_card); | ||
1367 | static void FPT_queueSearchSelect(PSCCBcard pCurrCard, UCHAR p_card); | ||
1368 | static void FPT_queueFlushSccb(UCHAR p_card, UCHAR error_code); | ||
1369 | static void FPT_queueAddSccb(PSCCB p_SCCB, UCHAR card); | ||
1370 | static UCHAR FPT_queueFindSccb(PSCCB p_SCCB, UCHAR p_card); | ||
1371 | static void FPT_utilUpdateResidual(PSCCB p_SCCB); | ||
1372 | static USHORT FPT_CalcCrc16(UCHAR buffer[]); | ||
1373 | static UCHAR FPT_CalcLrc(UCHAR buffer[]); | ||
2130 | 1374 | ||
2131 | 1375 | ||
2132 | #if defined(OS2) | 1376 | static void FPT_Wait1Second(ULONG p_port); |
2133 | void far phaseDataOut(ULONG port, UCHAR p_card); | 1377 | static void FPT_Wait(ULONG p_port, UCHAR p_delay); |
2134 | void far phaseDataIn(ULONG port, UCHAR p_card); | 1378 | static void FPT_utilEEWriteOnOff(ULONG p_port,UCHAR p_mode); |
2135 | void far phaseCommand(ULONG port, UCHAR p_card); | 1379 | static void FPT_utilEEWrite(ULONG p_port, USHORT ee_data, USHORT ee_addr); |
2136 | void far phaseStatus(ULONG port, UCHAR p_card); | 1380 | static USHORT FPT_utilEERead(ULONG p_port, USHORT ee_addr); |
2137 | void far phaseMsgOut(ULONG port, UCHAR p_card); | 1381 | static USHORT FPT_utilEEReadOrg(ULONG p_port, USHORT ee_addr); |
2138 | void far phaseMsgIn(ULONG port, UCHAR p_card); | 1382 | static void FPT_utilEESendCmdAddr(ULONG p_port, UCHAR ee_cmd, USHORT ee_addr); |
2139 | void far phaseIllegal(ULONG port, UCHAR p_card); | ||
2140 | #else | ||
2141 | #if defined(DOS) | ||
2142 | void phaseDataOut(USHORT port, UCHAR p_card); | ||
2143 | void phaseDataIn(USHORT port, UCHAR p_card); | ||
2144 | void phaseCommand(USHORT port, UCHAR p_card); | ||
2145 | void phaseStatus(USHORT port, UCHAR p_card); | ||
2146 | void phaseMsgOut(USHORT port, UCHAR p_card); | ||
2147 | void phaseMsgIn(USHORT port, UCHAR p_card); | ||
2148 | void phaseIllegal(USHORT port, UCHAR p_card); | ||
2149 | #else | ||
2150 | void phaseDataOut(ULONG port, UCHAR p_card); | ||
2151 | void phaseDataIn(ULONG port, UCHAR p_card); | ||
2152 | void phaseCommand(ULONG port, UCHAR p_card); | ||
2153 | void phaseStatus(ULONG port, UCHAR p_card); | ||
2154 | void phaseMsgOut(ULONG port, UCHAR p_card); | ||
2155 | void phaseMsgIn(ULONG port, UCHAR p_card); | ||
2156 | void phaseIllegal(ULONG port, UCHAR p_card); | ||
2157 | #endif | ||
2158 | #endif | ||
2159 | 1383 | ||
2160 | #if defined(DOS) | ||
2161 | void phaseDecode(USHORT port, UCHAR p_card); | ||
2162 | void phaseChkFifo(USHORT port, UCHAR p_card); | ||
2163 | void phaseBusFree(USHORT p_port, UCHAR p_card); | ||
2164 | #else | ||
2165 | void phaseDecode(ULONG port, UCHAR p_card); | ||
2166 | void phaseChkFifo(ULONG port, UCHAR p_card); | ||
2167 | void phaseBusFree(ULONG p_port, UCHAR p_card); | ||
2168 | #endif | ||
2169 | |||
2170 | |||
2171 | |||
2172 | |||
2173 | #if defined(DOS) | ||
2174 | void XbowInit(USHORT port, UCHAR scamFlg); | ||
2175 | void BusMasterInit(USHORT p_port); | ||
2176 | int DiagXbow(USHORT port); | ||
2177 | int DiagBusMaster(USHORT port); | ||
2178 | void DiagEEPROM(USHORT p_port); | ||
2179 | #else | ||
2180 | void XbowInit(ULONG port, UCHAR scamFlg); | ||
2181 | void BusMasterInit(ULONG p_port); | ||
2182 | int DiagXbow(ULONG port); | ||
2183 | int DiagBusMaster(ULONG port); | ||
2184 | void DiagEEPROM(ULONG p_port); | ||
2185 | #endif | ||
2186 | 1384 | ||
2187 | 1385 | ||
1386 | static void FPT_phaseDataOut(ULONG port, UCHAR p_card); | ||
1387 | static void FPT_phaseDataIn(ULONG port, UCHAR p_card); | ||
1388 | static void FPT_phaseCommand(ULONG port, UCHAR p_card); | ||
1389 | static void FPT_phaseStatus(ULONG port, UCHAR p_card); | ||
1390 | static void FPT_phaseMsgOut(ULONG port, UCHAR p_card); | ||
1391 | static void FPT_phaseMsgIn(ULONG port, UCHAR p_card); | ||
1392 | static void FPT_phaseIllegal(ULONG port, UCHAR p_card); | ||
2188 | 1393 | ||
1394 | static void FPT_phaseDecode(ULONG port, UCHAR p_card); | ||
1395 | static void FPT_phaseChkFifo(ULONG port, UCHAR p_card); | ||
1396 | static void FPT_phaseBusFree(ULONG p_port, UCHAR p_card); | ||
2189 | 1397 | ||
2190 | #if defined(DOS) | ||
2191 | void busMstrAbort(USHORT port); | ||
2192 | UCHAR busMstrTimeOut(USHORT port); | ||
2193 | void dataXferProcessor(USHORT port, PSCCBcard pCurrCard); | ||
2194 | void busMstrSGDataXferStart(USHORT port, PSCCB pCurrSCCB); | ||
2195 | void busMstrDataXferStart(USHORT port, PSCCB pCurrSCCB); | ||
2196 | void hostDataXferAbort(USHORT port, UCHAR p_card, PSCCB pCurrSCCB); | ||
2197 | #else | ||
2198 | void busMstrAbort(ULONG port); | ||
2199 | UCHAR busMstrTimeOut(ULONG port); | ||
2200 | void dataXferProcessor(ULONG port, PSCCBcard pCurrCard); | ||
2201 | void busMstrSGDataXferStart(ULONG port, PSCCB pCurrSCCB); | ||
2202 | void busMstrDataXferStart(ULONG port, PSCCB pCurrSCCB); | ||
2203 | void hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB); | ||
2204 | #endif | ||
2205 | void hostDataXferRestart(PSCCB currSCCB); | ||
2206 | 1398 | ||
2207 | 1399 | ||
2208 | #if defined (DOS) | ||
2209 | UCHAR SccbMgr_bad_isr(USHORT p_port, UCHAR p_card, PSCCBcard pCurrCard, USHORT p_int); | ||
2210 | #else | ||
2211 | UCHAR SccbMgr_bad_isr(ULONG p_port, UCHAR p_card, PSCCBcard pCurrCard, USHORT p_int); | ||
2212 | 1400 | ||
2213 | #endif | 1401 | static void FPT_XbowInit(ULONG port, UCHAR scamFlg); |
1402 | static void FPT_BusMasterInit(ULONG p_port); | ||
1403 | static void FPT_DiagEEPROM(ULONG p_port); | ||
2214 | 1404 | ||
2215 | void SccbMgrTableInitAll(void); | ||
2216 | void SccbMgrTableInitCard(PSCCBcard pCurrCard, UCHAR p_card); | ||
2217 | void SccbMgrTableInitTarget(UCHAR p_card, UCHAR target); | ||
2218 | |||
2219 | |||
2220 | |||
2221 | void scini(UCHAR p_card, UCHAR p_our_id, UCHAR p_power_up); | ||
2222 | |||
2223 | #if defined(DOS) | ||
2224 | int scarb(USHORT p_port, UCHAR p_sel_type); | ||
2225 | void scbusf(USHORT p_port); | ||
2226 | void scsel(USHORT p_port); | ||
2227 | void scasid(UCHAR p_card, USHORT p_port); | ||
2228 | UCHAR scxferc(USHORT p_port, UCHAR p_data); | ||
2229 | UCHAR scsendi(USHORT p_port, UCHAR p_id_string[]); | ||
2230 | UCHAR sciso(USHORT p_port, UCHAR p_id_string[]); | ||
2231 | void scwirod(USHORT p_port, UCHAR p_data_bit); | ||
2232 | void scwiros(USHORT p_port, UCHAR p_data_bit); | ||
2233 | UCHAR scvalq(UCHAR p_quintet); | ||
2234 | UCHAR scsell(USHORT p_port, UCHAR targ_id); | ||
2235 | void scwtsel(USHORT p_port); | ||
2236 | void inisci(UCHAR p_card, USHORT p_port, UCHAR p_our_id); | ||
2237 | void scsavdi(UCHAR p_card, USHORT p_port); | ||
2238 | #else | ||
2239 | int scarb(ULONG p_port, UCHAR p_sel_type); | ||
2240 | void scbusf(ULONG p_port); | ||
2241 | void scsel(ULONG p_port); | ||
2242 | void scasid(UCHAR p_card, ULONG p_port); | ||
2243 | UCHAR scxferc(ULONG p_port, UCHAR p_data); | ||
2244 | UCHAR scsendi(ULONG p_port, UCHAR p_id_string[]); | ||
2245 | UCHAR sciso(ULONG p_port, UCHAR p_id_string[]); | ||
2246 | void scwirod(ULONG p_port, UCHAR p_data_bit); | ||
2247 | void scwiros(ULONG p_port, UCHAR p_data_bit); | ||
2248 | UCHAR scvalq(UCHAR p_quintet); | ||
2249 | UCHAR scsell(ULONG p_port, UCHAR targ_id); | ||
2250 | void scwtsel(ULONG p_port); | ||
2251 | void inisci(UCHAR p_card, ULONG p_port, UCHAR p_our_id); | ||
2252 | void scsavdi(UCHAR p_card, ULONG p_port); | ||
2253 | #endif | ||
2254 | UCHAR scmachid(UCHAR p_card, UCHAR p_id_string[]); | ||
2255 | |||
2256 | |||
2257 | #if defined(DOS) | ||
2258 | void autoCmdCmplt(USHORT p_port, UCHAR p_card); | ||
2259 | void autoLoadDefaultMap(USHORT p_port); | ||
2260 | #else | ||
2261 | void autoCmdCmplt(ULONG p_port, UCHAR p_card); | ||
2262 | void autoLoadDefaultMap(ULONG p_port); | ||
2263 | #endif | ||
2264 | |||
2265 | |||
2266 | |||
2267 | #if (FW_TYPE==_SCCB_MGR_) | ||
2268 | void OS_start_timer(unsigned long ioport, unsigned long timeout); | ||
2269 | void OS_stop_timer(unsigned long ioport, unsigned long timeout); | ||
2270 | void OS_disable_int(unsigned char intvec); | ||
2271 | void OS_enable_int(unsigned char intvec); | ||
2272 | void OS_delay(unsigned long count); | ||
2273 | int OS_VirtToPhys(u32bits CardHandle, u32bits *physaddr, u32bits *virtaddr); | ||
2274 | #if !(defined(UNIX) || defined(OS2) || defined(SOLARIS_REAL_MODE)) | ||
2275 | void OS_Lock(PSCCBMGR_INFO pCardInfo); | ||
2276 | void OS_UnLock(PSCCBMGR_INFO pCardInfo); | ||
2277 | #endif // if FW_TYPE == ... | ||
2278 | |||
2279 | #endif | ||
2280 | |||
2281 | extern SCCBCARD BL_Card[MAX_CARDS]; | ||
2282 | extern SCCBMGR_TAR_INFO sccbMgrTbl[MAX_CARDS][MAX_SCSI_TAR]; | ||
2283 | |||
2284 | |||
2285 | #if defined(OS2) | ||
2286 | extern void (far *s_PhaseTbl[8]) (ULONG, UCHAR); | ||
2287 | #else | ||
2288 | #if defined(DOS) | ||
2289 | extern void (*s_PhaseTbl[8]) (USHORT, UCHAR); | ||
2290 | #else | ||
2291 | extern void (*s_PhaseTbl[8]) (ULONG, UCHAR); | ||
2292 | #endif | ||
2293 | #endif | ||
2294 | 1405 | ||
2295 | extern SCCBSCAM_INFO scamInfo[MAX_SCSI_TAR]; | ||
2296 | extern NVRAMINFO nvRamInfo[MAX_MB_CARDS]; | ||
2297 | #if defined(DOS) || defined(OS2) | ||
2298 | extern UCHAR temp_id_string[ID_STRING_LENGTH]; | ||
2299 | #endif | ||
2300 | extern UCHAR scamHAString[]; | ||
2301 | 1406 | ||
2302 | 1407 | ||
2303 | extern UCHAR mbCards; | 1408 | void busMstrAbort(ULONG port); |
2304 | #if defined(BUGBUG) | 1409 | static void FPT_dataXferProcessor(ULONG port, PSCCBcard pCurrCard); |
2305 | extern UCHAR debug_int[MAX_CARDS][debug_size]; | 1410 | static void FPT_busMstrSGDataXferStart(ULONG port, PSCCB pCurrSCCB); |
2306 | extern UCHAR debug_index[MAX_CARDS]; | 1411 | static void FPT_busMstrDataXferStart(ULONG port, PSCCB pCurrSCCB); |
2307 | void Debug_Load(UCHAR p_card, UCHAR p_bug_data); | 1412 | static void FPT_hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB); |
2308 | #endif | 1413 | static void FPT_hostDataXferRestart(PSCCB currSCCB); |
2309 | 1414 | ||
2310 | #if (FW_TYPE==_SCCB_MGR_) | ||
2311 | #if defined(DOS) | ||
2312 | extern UCHAR first_time; | ||
2313 | #endif | ||
2314 | #endif /* (FW_TYPE==_SCCB_MGR_) */ | ||
2315 | 1415 | ||
2316 | #if (FW_TYPE==_UCB_MGR_) | 1416 | static UCHAR FPT_SccbMgr_bad_isr(ULONG p_port, UCHAR p_card, |
2317 | #if defined(DOS) | 1417 | PSCCBcard pCurrCard, USHORT p_int); |
2318 | extern u08bits first_time; | ||
2319 | #endif | ||
2320 | #endif /* (FW_TYPE==_UCB_MGR_) */ | ||
2321 | 1418 | ||
2322 | #if defined(BUGBUG) | 1419 | static void FPT_SccbMgrTableInitAll(void); |
2323 | void Debug_Load(UCHAR p_card, UCHAR p_bug_data); | 1420 | static void FPT_SccbMgrTableInitCard(PSCCBcard pCurrCard, UCHAR p_card); |
2324 | #endif | 1421 | static void FPT_SccbMgrTableInitTarget(UCHAR p_card, UCHAR target); |
2325 | 1422 | ||
2326 | extern unsigned int SccbGlobalFlags; | ||
2327 | 1423 | ||
2328 | 1424 | ||
2329 | #ident "$Id: sccb.c 1.18 1997/06/10 16:47:04 mohan Exp $" | 1425 | static void FPT_scini(UCHAR p_card, UCHAR p_our_id, UCHAR p_power_up); |
2330 | /*---------------------------------------------------------------------- | ||
2331 | * | ||
2332 | * | ||
2333 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
2334 | * | ||
2335 | * This file is available under both the GNU General Public License | ||
2336 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
2337 | * | ||
2338 | * $Workfile: sccb.c $ | ||
2339 | * | ||
2340 | * Description: Functions relating to handling of the SCCB interface | ||
2341 | * between the device driver and the HARPOON. | ||
2342 | * | ||
2343 | * $Date: 1997/06/10 16:47:04 $ | ||
2344 | * | ||
2345 | * $Revision: 1.18 $ | ||
2346 | * | ||
2347 | *----------------------------------------------------------------------*/ | ||
2348 | 1426 | ||
2349 | /*#include <globals.h>*/ | 1427 | static int FPT_scarb(ULONG p_port, UCHAR p_sel_type); |
1428 | static void FPT_scbusf(ULONG p_port); | ||
1429 | static void FPT_scsel(ULONG p_port); | ||
1430 | static void FPT_scasid(UCHAR p_card, ULONG p_port); | ||
1431 | static UCHAR FPT_scxferc(ULONG p_port, UCHAR p_data); | ||
1432 | static UCHAR FPT_scsendi(ULONG p_port, UCHAR p_id_string[]); | ||
1433 | static UCHAR FPT_sciso(ULONG p_port, UCHAR p_id_string[]); | ||
1434 | static void FPT_scwirod(ULONG p_port, UCHAR p_data_bit); | ||
1435 | static void FPT_scwiros(ULONG p_port, UCHAR p_data_bit); | ||
1436 | static UCHAR FPT_scvalq(UCHAR p_quintet); | ||
1437 | static UCHAR FPT_scsell(ULONG p_port, UCHAR targ_id); | ||
1438 | static void FPT_scwtsel(ULONG p_port); | ||
1439 | static void FPT_inisci(UCHAR p_card, ULONG p_port, UCHAR p_our_id); | ||
1440 | static void FPT_scsavdi(UCHAR p_card, ULONG p_port); | ||
1441 | static UCHAR FPT_scmachid(UCHAR p_card, UCHAR p_id_string[]); | ||
2350 | 1442 | ||
2351 | #if (FW_TYPE==_UCB_MGR_) | ||
2352 | /*#include <budi.h>*/ | ||
2353 | /*#include <budioctl.h>*/ | ||
2354 | #endif | ||
2355 | 1443 | ||
2356 | /*#include <sccbmgr.h>*/ | 1444 | static void FPT_autoCmdCmplt(ULONG p_port, UCHAR p_card); |
2357 | /*#include <blx30.h>*/ | 1445 | static void FPT_autoLoadDefaultMap(ULONG p_port); |
2358 | /*#include <target.h>*/ | ||
2359 | /*#include <eeprom.h>*/ | ||
2360 | /*#include <scsi2.h>*/ | ||
2361 | /*#include <harpoon.h>*/ | ||
2362 | 1446 | ||
2363 | 1447 | ||
2364 | 1448 | ||
2365 | #if (FW_TYPE==_SCCB_MGR_) | 1449 | void OS_start_timer(unsigned long ioport, unsigned long timeout); |
2366 | #define mOS_Lock(card) OS_Lock((PSCCBMGR_INFO)(((PSCCBcard)card)->cardInfo)) | 1450 | void OS_stop_timer(unsigned long ioport, unsigned long timeout); |
2367 | #define mOS_UnLock(card) OS_UnLock((PSCCBMGR_INFO)(((PSCCBcard)card)->cardInfo)) | 1451 | void OS_disable_int(unsigned char intvec); |
2368 | #else /* FW_TYPE==_UCB_MGR_ */ | 1452 | void OS_enable_int(unsigned char intvec); |
2369 | #define mOS_Lock(card) OS_Lock((u32bits)(((PSCCBcard)card)->ioPort)) | 1453 | void OS_delay(unsigned long count); |
2370 | #define mOS_UnLock(card) OS_UnLock((u32bits)(((PSCCBcard)card)->ioPort)) | 1454 | int OS_VirtToPhys(u32bits CardHandle, u32bits *physaddr, u32bits *virtaddr); |
2371 | #endif | ||
2372 | 1455 | ||
1456 | static SCCBMGR_TAR_INFO FPT_sccbMgrTbl[MAX_CARDS][MAX_SCSI_TAR] = { { { 0 } } }; | ||
1457 | static SCCBCARD FPT_BL_Card[MAX_CARDS] = { { 0 } }; | ||
1458 | static SCCBSCAM_INFO FPT_scamInfo[MAX_SCSI_TAR] = { { { 0 } } }; | ||
1459 | static NVRAMINFO FPT_nvRamInfo[MAX_MB_CARDS] = { { 0 } }; | ||
2373 | 1460 | ||
2374 | /* | ||
2375 | extern SCCBMGR_TAR_INFO sccbMgrTbl[MAX_CARDS][MAX_SCSI_TAR]; | ||
2376 | extern SCCBCARD BL_Card[MAX_CARDS]; | ||
2377 | 1461 | ||
2378 | extern NVRAMINFO nvRamInfo[MAX_MB_CARDS]; | 1462 | static UCHAR FPT_mbCards = 0; |
2379 | extern UCHAR mbCards; | 1463 | static UCHAR FPT_scamHAString[] = {0x63, 0x07, 'B', 'U', 'S', 'L', 'O', 'G', 'I', 'C', \ |
1464 | ' ', 'B', 'T', '-', '9', '3', '0', \ | ||
1465 | 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, \ | ||
1466 | 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20}; | ||
2380 | 1467 | ||
2381 | #if defined (OS2) | 1468 | static USHORT FPT_default_intena = 0; |
2382 | extern void (far *s_PhaseTbl[8]) (ULONG, UCHAR); | ||
2383 | #else | ||
2384 | #if defined(DOS) | ||
2385 | extern void (*s_PhaseTbl[8]) (USHORT, UCHAR); | ||
2386 | #else | ||
2387 | extern void (*s_PhaseTbl[8]) (ULONG, UCHAR); | ||
2388 | #endif | ||
2389 | #endif | ||
2390 | 1469 | ||
2391 | 1470 | ||
2392 | #if defined(BUGBUG) | 1471 | static void (*FPT_s_PhaseTbl[8]) (ULONG, UCHAR)= { 0 }; |
2393 | extern UCHAR debug_int[MAX_CARDS][debug_size]; | ||
2394 | extern UCHAR debug_index[MAX_CARDS]; | ||
2395 | void Debug_Load(UCHAR p_card, UCHAR p_bug_data); | ||
2396 | #endif | ||
2397 | */ | ||
2398 | 1472 | ||
2399 | #if (FW_TYPE==_SCCB_MGR_) | ||
2400 | 1473 | ||
2401 | /*--------------------------------------------------------------------- | 1474 | /*--------------------------------------------------------------------- |
2402 | * | 1475 | * |
@@ -2406,27 +1479,16 @@ void Debug_Load(UCHAR p_card, UCHAR p_bug_data); | |||
2406 | * | 1479 | * |
2407 | *---------------------------------------------------------------------*/ | 1480 | *---------------------------------------------------------------------*/ |
2408 | 1481 | ||
2409 | int SccbMgr_sense_adapter(PSCCBMGR_INFO pCardInfo) | 1482 | static int SccbMgr_sense_adapter(PSCCBMGR_INFO pCardInfo) |
2410 | { | 1483 | { |
2411 | #if defined(DOS) | ||
2412 | #else | ||
2413 | static UCHAR first_time = 1; | 1484 | static UCHAR first_time = 1; |
2414 | #endif | ||
2415 | 1485 | ||
2416 | UCHAR i,j,id,ScamFlg; | 1486 | UCHAR i,j,id,ScamFlg; |
2417 | USHORT temp,temp2,temp3,temp4,temp5,temp6; | 1487 | USHORT temp,temp2,temp3,temp4,temp5,temp6; |
2418 | #if defined(DOS) | ||
2419 | USHORT ioport; | ||
2420 | #else | ||
2421 | ULONG ioport; | 1488 | ULONG ioport; |
2422 | #endif | ||
2423 | PNVRamInfo pCurrNvRam; | 1489 | PNVRamInfo pCurrNvRam; |
2424 | 1490 | ||
2425 | #if defined(DOS) | ||
2426 | ioport = (USHORT)pCardInfo->si_baseaddr; | ||
2427 | #else | ||
2428 | ioport = pCardInfo->si_baseaddr; | 1491 | ioport = pCardInfo->si_baseaddr; |
2429 | #endif | ||
2430 | 1492 | ||
2431 | 1493 | ||
2432 | if (RD_HARPOON(ioport+hp_vendor_id_0) != ORION_VEND_0) | 1494 | if (RD_HARPOON(ioport+hp_vendor_id_0) != ORION_VEND_0) |
@@ -2455,36 +1517,31 @@ int SccbMgr_sense_adapter(PSCCBMGR_INFO pCardInfo) | |||
2455 | 1517 | ||
2456 | if (first_time) | 1518 | if (first_time) |
2457 | { | 1519 | { |
2458 | SccbMgrTableInitAll(); | 1520 | FPT_SccbMgrTableInitAll(); |
2459 | first_time = 0; | 1521 | first_time = 0; |
2460 | mbCards = 0; | 1522 | FPT_mbCards = 0; |
2461 | } | 1523 | } |
2462 | 1524 | ||
2463 | if(RdStack(ioport, 0) != 0x00) { | 1525 | if(FPT_RdStack(ioport, 0) != 0x00) { |
2464 | if(ChkIfChipInitialized(ioport) == FALSE) | 1526 | if(FPT_ChkIfChipInitialized(ioport) == 0) |
2465 | { | 1527 | { |
2466 | pCurrNvRam = NULL; | 1528 | pCurrNvRam = NULL; |
2467 | WR_HARPOON(ioport+hp_semaphore, 0x00); | 1529 | WR_HARPOON(ioport+hp_semaphore, 0x00); |
2468 | XbowInit(ioport, 0); /*Must Init the SCSI before attempting */ | 1530 | FPT_XbowInit(ioport, 0); /*Must Init the SCSI before attempting */ |
2469 | DiagEEPROM(ioport); | 1531 | FPT_DiagEEPROM(ioport); |
2470 | } | 1532 | } |
2471 | else | 1533 | else |
2472 | { | 1534 | { |
2473 | if(mbCards < MAX_MB_CARDS) { | 1535 | if(FPT_mbCards < MAX_MB_CARDS) { |
2474 | pCurrNvRam = &nvRamInfo[mbCards]; | 1536 | pCurrNvRam = &FPT_nvRamInfo[FPT_mbCards]; |
2475 | mbCards++; | 1537 | FPT_mbCards++; |
2476 | pCurrNvRam->niBaseAddr = ioport; | 1538 | pCurrNvRam->niBaseAddr = ioport; |
2477 | RNVRamData(pCurrNvRam); | 1539 | FPT_RNVRamData(pCurrNvRam); |
2478 | }else | 1540 | }else |
2479 | return((int) FAILURE); | 1541 | return((int) FAILURE); |
2480 | } | 1542 | } |
2481 | }else | 1543 | }else |
2482 | pCurrNvRam = NULL; | 1544 | pCurrNvRam = NULL; |
2483 | #if defined (NO_BIOS_OPTION) | ||
2484 | pCurrNvRam = NULL; | ||
2485 | XbowInit(ioport, 0); /*Must Init the SCSI before attempting */ | ||
2486 | DiagEEPROM(ioport); | ||
2487 | #endif /* No BIOS Option */ | ||
2488 | 1545 | ||
2489 | WR_HARPOON(ioport+hp_clkctrl_0, CLKCTRL_DEFAULT); | 1546 | WR_HARPOON(ioport+hp_clkctrl_0, CLKCTRL_DEFAULT); |
2490 | WR_HARPOON(ioport+hp_sys_ctrl, 0x00); | 1547 | WR_HARPOON(ioport+hp_sys_ctrl, 0x00); |
@@ -2492,7 +1549,7 @@ int SccbMgr_sense_adapter(PSCCBMGR_INFO pCardInfo) | |||
2492 | if(pCurrNvRam) | 1549 | if(pCurrNvRam) |
2493 | pCardInfo->si_id = pCurrNvRam->niAdapId; | 1550 | pCardInfo->si_id = pCurrNvRam->niAdapId; |
2494 | else | 1551 | else |
2495 | pCardInfo->si_id = (UCHAR)(utilEERead(ioport, (ADAPTER_SCSI_ID/2)) & | 1552 | pCardInfo->si_id = (UCHAR)(FPT_utilEERead(ioport, (ADAPTER_SCSI_ID/2)) & |
2496 | (UCHAR)0x0FF); | 1553 | (UCHAR)0x0FF); |
2497 | 1554 | ||
2498 | pCardInfo->si_lun = 0x00; | 1555 | pCardInfo->si_lun = 0x00; |
@@ -2510,7 +1567,7 @@ int SccbMgr_sense_adapter(PSCCBMGR_INFO pCardInfo) | |||
2510 | temp = ((temp & 0x03) + ((temp << 4) & 0xc0)) + | 1567 | temp = ((temp & 0x03) + ((temp << 4) & 0xc0)) + |
2511 | (((temp << 4) & 0x0300) + ((temp << 8) & 0xc000)); | 1568 | (((temp << 4) & 0x0300) + ((temp << 8) & 0xc000)); |
2512 | }else | 1569 | }else |
2513 | temp = utilEERead(ioport, (USHORT)((SYNC_RATE_TBL/2)+id)); | 1570 | temp = FPT_utilEERead(ioport, (USHORT)((SYNC_RATE_TBL/2)+id)); |
2514 | 1571 | ||
2515 | for (i = 0; i < 2; temp >>=8,i++) { | 1572 | for (i = 0; i < 2; temp >>=8,i++) { |
2516 | 1573 | ||
@@ -2549,12 +1606,12 @@ int SccbMgr_sense_adapter(PSCCBMGR_INFO pCardInfo) | |||
2549 | if(pCurrNvRam) | 1606 | if(pCurrNvRam) |
2550 | i = pCurrNvRam->niSysConf; | 1607 | i = pCurrNvRam->niSysConf; |
2551 | else | 1608 | else |
2552 | i = (UCHAR)(utilEERead(ioport, (SYSTEM_CONFIG/2))); | 1609 | i = (UCHAR)(FPT_utilEERead(ioport, (SYSTEM_CONFIG/2))); |
2553 | 1610 | ||
2554 | if(pCurrNvRam) | 1611 | if(pCurrNvRam) |
2555 | ScamFlg = pCurrNvRam->niScamConf; | 1612 | ScamFlg = pCurrNvRam->niScamConf; |
2556 | else | 1613 | else |
2557 | ScamFlg = (UCHAR) utilEERead(ioport, SCAM_CONFIG/2); | 1614 | ScamFlg = (UCHAR) FPT_utilEERead(ioport, SCAM_CONFIG/2); |
2558 | 1615 | ||
2559 | pCardInfo->si_flags = 0x0000; | 1616 | pCardInfo->si_flags = 0x0000; |
2560 | 1617 | ||
@@ -2613,9 +1670,9 @@ int SccbMgr_sense_adapter(PSCCBMGR_INFO pCardInfo) | |||
2613 | break; | 1670 | break; |
2614 | } | 1671 | } |
2615 | }else{ | 1672 | }else{ |
2616 | temp = utilEERead(ioport, (MODEL_NUMB_0/2)); | 1673 | temp = FPT_utilEERead(ioport, (MODEL_NUMB_0/2)); |
2617 | pCardInfo->si_card_model[0] = (UCHAR)(temp >> 8); | 1674 | pCardInfo->si_card_model[0] = (UCHAR)(temp >> 8); |
2618 | temp = utilEERead(ioport, (MODEL_NUMB_2/2)); | 1675 | temp = FPT_utilEERead(ioport, (MODEL_NUMB_2/2)); |
2619 | 1676 | ||
2620 | pCardInfo->si_card_model[1] = (UCHAR)(temp & 0x00FF); | 1677 | pCardInfo->si_card_model[1] = (UCHAR)(temp & 0x00FF); |
2621 | pCardInfo->si_card_model[2] = (UCHAR)(temp >> 8); | 1678 | pCardInfo->si_card_model[2] = (UCHAR)(temp >> 8); |
@@ -2677,29 +1734,17 @@ int SccbMgr_sense_adapter(PSCCBMGR_INFO pCardInfo) | |||
2677 | 1734 | ||
2678 | SGRAM_ACCESS(ioport); | 1735 | SGRAM_ACCESS(ioport); |
2679 | 1736 | ||
2680 | s_PhaseTbl[0] = phaseDataOut; | 1737 | FPT_s_PhaseTbl[0] = FPT_phaseDataOut; |
2681 | s_PhaseTbl[1] = phaseDataIn; | 1738 | FPT_s_PhaseTbl[1] = FPT_phaseDataIn; |
2682 | s_PhaseTbl[2] = phaseIllegal; | 1739 | FPT_s_PhaseTbl[2] = FPT_phaseIllegal; |
2683 | s_PhaseTbl[3] = phaseIllegal; | 1740 | FPT_s_PhaseTbl[3] = FPT_phaseIllegal; |
2684 | s_PhaseTbl[4] = phaseCommand; | 1741 | FPT_s_PhaseTbl[4] = FPT_phaseCommand; |
2685 | s_PhaseTbl[5] = phaseStatus; | 1742 | FPT_s_PhaseTbl[5] = FPT_phaseStatus; |
2686 | s_PhaseTbl[6] = phaseMsgOut; | 1743 | FPT_s_PhaseTbl[6] = FPT_phaseMsgOut; |
2687 | s_PhaseTbl[7] = phaseMsgIn; | 1744 | FPT_s_PhaseTbl[7] = FPT_phaseMsgIn; |
2688 | 1745 | ||
2689 | pCardInfo->si_present = 0x01; | 1746 | pCardInfo->si_present = 0x01; |
2690 | 1747 | ||
2691 | #if defined(BUGBUG) | ||
2692 | |||
2693 | |||
2694 | for (i = 0; i < MAX_CARDS; i++) { | ||
2695 | |||
2696 | for (id=0; id<debug_size; id++) | ||
2697 | debug_int[i][id] = (UCHAR)0x00; | ||
2698 | debug_index[i] = 0; | ||
2699 | } | ||
2700 | |||
2701 | #endif | ||
2702 | |||
2703 | return(0); | 1748 | return(0); |
2704 | } | 1749 | } |
2705 | 1750 | ||
@@ -2712,27 +1757,15 @@ int SccbMgr_sense_adapter(PSCCBMGR_INFO pCardInfo) | |||
2712 | * | 1757 | * |
2713 | *---------------------------------------------------------------------*/ | 1758 | *---------------------------------------------------------------------*/ |
2714 | 1759 | ||
2715 | #if defined(DOS) | 1760 | static ULONG SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo) |
2716 | USHORT SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo) | ||
2717 | #else | ||
2718 | ULONG SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo) | ||
2719 | #endif | ||
2720 | { | 1761 | { |
2721 | PSCCBcard CurrCard = NULL; | 1762 | PSCCBcard CurrCard = NULL; |
2722 | PNVRamInfo pCurrNvRam; | 1763 | PNVRamInfo pCurrNvRam; |
2723 | UCHAR i,j,thisCard, ScamFlg; | 1764 | UCHAR i,j,thisCard, ScamFlg; |
2724 | USHORT temp,sync_bit_map,id; | 1765 | USHORT temp,sync_bit_map,id; |
2725 | #if defined(DOS) | ||
2726 | USHORT ioport; | ||
2727 | #else | ||
2728 | ULONG ioport; | 1766 | ULONG ioport; |
2729 | #endif | ||
2730 | 1767 | ||
2731 | #if defined(DOS) | ||
2732 | ioport = (USHORT)pCardInfo->si_baseaddr; | ||
2733 | #else | ||
2734 | ioport = pCardInfo->si_baseaddr; | 1768 | ioport = pCardInfo->si_baseaddr; |
2735 | #endif | ||
2736 | 1769 | ||
2737 | for(thisCard =0; thisCard <= MAX_CARDS; thisCard++) { | 1770 | for(thisCard =0; thisCard <= MAX_CARDS; thisCard++) { |
2738 | 1771 | ||
@@ -2741,24 +1774,24 @@ ULONG SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo) | |||
2741 | return(FAILURE); | 1774 | return(FAILURE); |
2742 | } | 1775 | } |
2743 | 1776 | ||
2744 | if (BL_Card[thisCard].ioPort == ioport) { | 1777 | if (FPT_BL_Card[thisCard].ioPort == ioport) { |
2745 | 1778 | ||
2746 | CurrCard = &BL_Card[thisCard]; | 1779 | CurrCard = &FPT_BL_Card[thisCard]; |
2747 | SccbMgrTableInitCard(CurrCard,thisCard); | 1780 | FPT_SccbMgrTableInitCard(CurrCard,thisCard); |
2748 | break; | 1781 | break; |
2749 | } | 1782 | } |
2750 | 1783 | ||
2751 | else if (BL_Card[thisCard].ioPort == 0x00) { | 1784 | else if (FPT_BL_Card[thisCard].ioPort == 0x00) { |
2752 | 1785 | ||
2753 | BL_Card[thisCard].ioPort = ioport; | 1786 | FPT_BL_Card[thisCard].ioPort = ioport; |
2754 | CurrCard = &BL_Card[thisCard]; | 1787 | CurrCard = &FPT_BL_Card[thisCard]; |
2755 | 1788 | ||
2756 | if(mbCards) | 1789 | if(FPT_mbCards) |
2757 | for(i = 0; i < mbCards; i++){ | 1790 | for(i = 0; i < FPT_mbCards; i++){ |
2758 | if(CurrCard->ioPort == nvRamInfo[i].niBaseAddr) | 1791 | if(CurrCard->ioPort == FPT_nvRamInfo[i].niBaseAddr) |
2759 | CurrCard->pNvRamInfo = &nvRamInfo[i]; | 1792 | CurrCard->pNvRamInfo = &FPT_nvRamInfo[i]; |
2760 | } | 1793 | } |
2761 | SccbMgrTableInitCard(CurrCard,thisCard); | 1794 | FPT_SccbMgrTableInitCard(CurrCard,thisCard); |
2762 | CurrCard->cardIndex = thisCard; | 1795 | CurrCard->cardIndex = thisCard; |
2763 | CurrCard->cardInfo = pCardInfo; | 1796 | CurrCard->cardInfo = pCardInfo; |
2764 | 1797 | ||
@@ -2772,22 +1805,14 @@ ULONG SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo) | |||
2772 | ScamFlg = pCurrNvRam->niScamConf; | 1805 | ScamFlg = pCurrNvRam->niScamConf; |
2773 | } | 1806 | } |
2774 | else{ | 1807 | else{ |
2775 | ScamFlg = (UCHAR) utilEERead(ioport, SCAM_CONFIG/2); | 1808 | ScamFlg = (UCHAR) FPT_utilEERead(ioport, SCAM_CONFIG/2); |
2776 | } | 1809 | } |
2777 | 1810 | ||
2778 | 1811 | ||
2779 | BusMasterInit(ioport); | 1812 | FPT_BusMasterInit(ioport); |
2780 | XbowInit(ioport, ScamFlg); | 1813 | FPT_XbowInit(ioport, ScamFlg); |
2781 | |||
2782 | #if defined (NO_BIOS_OPTION) | ||
2783 | 1814 | ||
2784 | 1815 | FPT_autoLoadDefaultMap(ioport); | |
2785 | if (DiagXbow(ioport)) return(FAILURE); | ||
2786 | if (DiagBusMaster(ioport)) return(FAILURE); | ||
2787 | |||
2788 | #endif /* No BIOS Option */ | ||
2789 | |||
2790 | autoLoadDefaultMap(ioport); | ||
2791 | 1816 | ||
2792 | 1817 | ||
2793 | for (i = 0,id = 0x01; i != pCardInfo->si_id; i++,id <<= 1){} | 1818 | for (i = 0,id = 0x01; i != pCardInfo->si_id; i++,id <<= 1){} |
@@ -2814,9 +1839,9 @@ ULONG SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo) | |||
2814 | 1839 | ||
2815 | if (!(pCardInfo->si_flags & SOFT_RESET)) { | 1840 | if (!(pCardInfo->si_flags & SOFT_RESET)) { |
2816 | 1841 | ||
2817 | sresb(ioport,thisCard); | 1842 | FPT_sresb(ioport,thisCard); |
2818 | 1843 | ||
2819 | scini(thisCard, pCardInfo->si_id, 0); | 1844 | FPT_scini(thisCard, pCardInfo->si_id, 0); |
2820 | } | 1845 | } |
2821 | 1846 | ||
2822 | 1847 | ||
@@ -2829,7 +1854,7 @@ ULONG SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo) | |||
2829 | CurrCard->globalFlags |= F_GREEN_PC; | 1854 | CurrCard->globalFlags |= F_GREEN_PC; |
2830 | } | 1855 | } |
2831 | else{ | 1856 | else{ |
2832 | if (utilEERead(ioport, (SYSTEM_CONFIG/2)) & GREEN_PC_ENA) | 1857 | if (FPT_utilEERead(ioport, (SYSTEM_CONFIG/2)) & GREEN_PC_ENA) |
2833 | CurrCard->globalFlags |= F_GREEN_PC; | 1858 | CurrCard->globalFlags |= F_GREEN_PC; |
2834 | } | 1859 | } |
2835 | 1860 | ||
@@ -2840,7 +1865,7 @@ ULONG SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo) | |||
2840 | CurrCard->globalFlags |= F_DO_RENEGO; | 1865 | CurrCard->globalFlags |= F_DO_RENEGO; |
2841 | } | 1866 | } |
2842 | else{ | 1867 | else{ |
2843 | if (utilEERead(ioport, (SCSI_CONFIG/2)) & RENEGO_ENA) | 1868 | if (FPT_utilEERead(ioport, (SCSI_CONFIG/2)) & RENEGO_ENA) |
2844 | CurrCard->globalFlags |= F_DO_RENEGO; | 1869 | CurrCard->globalFlags |= F_DO_RENEGO; |
2845 | } | 1870 | } |
2846 | 1871 | ||
@@ -2849,7 +1874,7 @@ ULONG SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo) | |||
2849 | CurrCard->globalFlags |= F_CONLUN_IO; | 1874 | CurrCard->globalFlags |= F_CONLUN_IO; |
2850 | } | 1875 | } |
2851 | else{ | 1876 | else{ |
2852 | if (utilEERead(ioport, (SCSI_CONFIG/2)) & CONNIO_ENA) | 1877 | if (FPT_utilEERead(ioport, (SCSI_CONFIG/2)) & CONNIO_ENA) |
2853 | CurrCard->globalFlags |= F_CONLUN_IO; | 1878 | CurrCard->globalFlags |= F_CONLUN_IO; |
2854 | } | 1879 | } |
2855 | 1880 | ||
@@ -2859,7 +1884,7 @@ ULONG SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo) | |||
2859 | for (i = 0,id = 1; i < MAX_SCSI_TAR; i++, id <<= 1) { | 1884 | for (i = 0,id = 1; i < MAX_SCSI_TAR; i++, id <<= 1) { |
2860 | 1885 | ||
2861 | if (temp & id) | 1886 | if (temp & id) |
2862 | sccbMgrTbl[thisCard][i].TarStatus |= TAR_ALLOW_DISC; | 1887 | FPT_sccbMgrTbl[thisCard][i].TarStatus |= TAR_ALLOW_DISC; |
2863 | } | 1888 | } |
2864 | 1889 | ||
2865 | sync_bit_map = 0x0001; | 1890 | sync_bit_map = 0x0001; |
@@ -2871,39 +1896,34 @@ ULONG SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo) | |||
2871 | temp = ((temp & 0x03) + ((temp << 4) & 0xc0)) + | 1896 | temp = ((temp & 0x03) + ((temp << 4) & 0xc0)) + |
2872 | (((temp << 4) & 0x0300) + ((temp << 8) & 0xc000)); | 1897 | (((temp << 4) & 0x0300) + ((temp << 8) & 0xc000)); |
2873 | }else | 1898 | }else |
2874 | temp = utilEERead(ioport, (USHORT)((SYNC_RATE_TBL/2)+id)); | 1899 | temp = FPT_utilEERead(ioport, (USHORT)((SYNC_RATE_TBL/2)+id)); |
2875 | 1900 | ||
2876 | for (i = 0; i < 2; temp >>=8,i++) { | 1901 | for (i = 0; i < 2; temp >>=8,i++) { |
2877 | 1902 | ||
2878 | if (pCardInfo->si_per_targ_init_sync & sync_bit_map) { | 1903 | if (pCardInfo->si_per_targ_init_sync & sync_bit_map) { |
2879 | 1904 | ||
2880 | sccbMgrTbl[thisCard][id*2+i].TarEEValue = (UCHAR)temp; | 1905 | FPT_sccbMgrTbl[thisCard][id*2+i].TarEEValue = (UCHAR)temp; |
2881 | } | 1906 | } |
2882 | 1907 | ||
2883 | else { | 1908 | else { |
2884 | sccbMgrTbl[thisCard][id*2+i].TarStatus |= SYNC_SUPPORTED; | 1909 | FPT_sccbMgrTbl[thisCard][id*2+i].TarStatus |= SYNC_SUPPORTED; |
2885 | sccbMgrTbl[thisCard][id*2+i].TarEEValue = | 1910 | FPT_sccbMgrTbl[thisCard][id*2+i].TarEEValue = |
2886 | (UCHAR)(temp & ~EE_SYNC_MASK); | 1911 | (UCHAR)(temp & ~EE_SYNC_MASK); |
2887 | } | 1912 | } |
2888 | 1913 | ||
2889 | #if defined(WIDE_SCSI) | ||
2890 | /* if ((pCardInfo->si_per_targ_wide_nego & sync_bit_map) || | 1914 | /* if ((pCardInfo->si_per_targ_wide_nego & sync_bit_map) || |
2891 | (id*2+i >= 8)){ | 1915 | (id*2+i >= 8)){ |
2892 | */ | 1916 | */ |
2893 | if (pCardInfo->si_per_targ_wide_nego & sync_bit_map){ | 1917 | if (pCardInfo->si_per_targ_wide_nego & sync_bit_map){ |
2894 | 1918 | ||
2895 | sccbMgrTbl[thisCard][id*2+i].TarEEValue |= EE_WIDE_SCSI; | 1919 | FPT_sccbMgrTbl[thisCard][id*2+i].TarEEValue |= EE_WIDE_SCSI; |
2896 | 1920 | ||
2897 | } | 1921 | } |
2898 | 1922 | ||
2899 | else { /* NARROW SCSI */ | 1923 | else { /* NARROW SCSI */ |
2900 | sccbMgrTbl[thisCard][id*2+i].TarStatus |= WIDE_NEGOCIATED; | 1924 | FPT_sccbMgrTbl[thisCard][id*2+i].TarStatus |= WIDE_NEGOCIATED; |
2901 | } | 1925 | } |
2902 | 1926 | ||
2903 | #else | ||
2904 | sccbMgrTbl[thisCard][id*2+i].TarStatus |= WIDE_NEGOCIATED; | ||
2905 | #endif | ||
2906 | |||
2907 | 1927 | ||
2908 | sync_bit_map <<= 1; | 1928 | sync_bit_map <<= 1; |
2909 | 1929 | ||
@@ -2915,1285 +1935,97 @@ ULONG SccbMgr_config_adapter(PSCCBMGR_INFO pCardInfo) | |||
2915 | WR_HARPOON((ioport+hp_semaphore), | 1935 | WR_HARPOON((ioport+hp_semaphore), |
2916 | (UCHAR)(RD_HARPOON((ioport+hp_semaphore)) | SCCB_MGR_PRESENT)); | 1936 | (UCHAR)(RD_HARPOON((ioport+hp_semaphore)) | SCCB_MGR_PRESENT)); |
2917 | 1937 | ||
2918 | #if defined(DOS) | ||
2919 | return((USHORT)CurrCard); | ||
2920 | #else | ||
2921 | return((ULONG)CurrCard); | 1938 | return((ULONG)CurrCard); |
2922 | #endif | ||
2923 | } | 1939 | } |
2924 | 1940 | ||
2925 | #else /* end (FW_TYPE==_SCCB_MGR_) */ | 1941 | static void SccbMgr_unload_card(ULONG pCurrCard) |
2926 | |||
2927 | |||
2928 | |||
2929 | STATIC s16bits FP_PresenceCheck(PMGR_INFO pMgrInfo) | ||
2930 | { | ||
2931 | PMGR_ENTRYPNTS pMgr_EntryPnts = &pMgrInfo->mi_Functions; | ||
2932 | |||
2933 | pMgr_EntryPnts->UCBMgr_probe_adapter = probe_adapter; | ||
2934 | pMgr_EntryPnts->UCBMgr_init_adapter = init_adapter; | ||
2935 | pMgr_EntryPnts->UCBMgr_start_UCB = SccbMgr_start_sccb; | ||
2936 | pMgr_EntryPnts->UCBMgr_build_UCB = build_UCB; | ||
2937 | pMgr_EntryPnts->UCBMgr_abort_UCB = SccbMgr_abort_sccb; | ||
2938 | pMgr_EntryPnts->UCBMgr_my_int = SccbMgr_my_int; | ||
2939 | pMgr_EntryPnts->UCBMgr_isr = SccbMgr_isr; | ||
2940 | pMgr_EntryPnts->UCBMgr_scsi_reset = SccbMgr_scsi_reset; | ||
2941 | pMgr_EntryPnts->UCBMgr_timer_expired = SccbMgr_timer_expired; | ||
2942 | #ifndef NO_IOCTLS | ||
2943 | pMgr_EntryPnts->UCBMgr_unload_card = SccbMgr_unload_card; | ||
2944 | pMgr_EntryPnts->UCBMgr_save_foreign_state = | ||
2945 | SccbMgr_save_foreign_state; | ||
2946 | pMgr_EntryPnts->UCBMgr_restore_foreign_state = | ||
2947 | SccbMgr_restore_foreign_state; | ||
2948 | pMgr_EntryPnts->UCBMgr_restore_native_state = | ||
2949 | SccbMgr_restore_native_state; | ||
2950 | #endif /*NO_IOCTLS*/ | ||
2951 | |||
2952 | pMgrInfo->mi_SGListFormat=0x01; | ||
2953 | pMgrInfo->mi_DataPtrFormat=0x01; | ||
2954 | pMgrInfo->mi_MaxSGElements= (u16bits) 0xffffffff; | ||
2955 | pMgrInfo->mi_MgrPrivateLen=sizeof(SCCB); | ||
2956 | pMgrInfo->mi_PCIVendorID=BL_VENDOR_ID; | ||
2957 | pMgrInfo->mi_PCIDeviceID=FP_DEVICE_ID; | ||
2958 | pMgrInfo->mi_MgrAttributes= ATTR_IO_MAPPED + | ||
2959 | ATTR_PHYSICAL_ADDRESS + | ||
2960 | ATTR_VIRTUAL_ADDRESS + | ||
2961 | ATTR_OVERLAPPED_IO_IOCTLS_OK; | ||
2962 | pMgrInfo->mi_IoRangeLen = 256; | ||
2963 | return(0); | ||
2964 | } | ||
2965 | |||
2966 | |||
2967 | |||
2968 | /*--------------------------------------------------------------------- | ||
2969 | * | ||
2970 | * Function: probe_adapter | ||
2971 | * | ||
2972 | * Description: Setup and/or Search for cards and return info to caller. | ||
2973 | * | ||
2974 | *---------------------------------------------------------------------*/ | ||
2975 | STATIC s32bits probe_adapter(PADAPTER_INFO pAdapterInfo) | ||
2976 | { | ||
2977 | u16bits temp,temp2,temp3,temp4; | ||
2978 | u08bits i,j,id; | ||
2979 | |||
2980 | #if defined(DOS) | ||
2981 | #else | ||
2982 | static u08bits first_time = 1; | ||
2983 | #endif | ||
2984 | BASE_PORT ioport; | ||
2985 | PNVRamInfo pCurrNvRam; | ||
2986 | |||
2987 | ioport = (BASE_PORT)pAdapterInfo->ai_baseaddr; | ||
2988 | |||
2989 | |||
2990 | |||
2991 | if (RD_HARPOON(ioport+hp_vendor_id_0) != ORION_VEND_0) | ||
2992 | return(1); | ||
2993 | |||
2994 | if ((RD_HARPOON(ioport+hp_vendor_id_1) != ORION_VEND_1)) | ||
2995 | return(2); | ||
2996 | |||
2997 | if ((RD_HARPOON(ioport+hp_device_id_0) != ORION_DEV_0)) | ||
2998 | return(3); | ||
2999 | |||
3000 | if ((RD_HARPOON(ioport+hp_device_id_1) != ORION_DEV_1)) | ||
3001 | return(4); | ||
3002 | |||
3003 | |||
3004 | if (RD_HARPOON(ioport+hp_rev_num) != 0x0f){ | ||
3005 | |||
3006 | |||
3007 | /* For new Harpoon then check for sub_device ID LSB | ||
3008 | the bits(0-3) must be all ZERO for compatible with | ||
3009 | current version of SCCBMgr, else skip this Harpoon | ||
3010 | device. */ | ||
3011 | |||
3012 | if (RD_HARPOON(ioport+hp_sub_device_id_0) & 0x0f) | ||
3013 | return(5); | ||
3014 | } | ||
3015 | |||
3016 | if (first_time) { | ||
3017 | |||
3018 | SccbMgrTableInitAll(); | ||
3019 | first_time = 0; | ||
3020 | mbCards = 0; | ||
3021 | } | ||
3022 | |||
3023 | if(RdStack(ioport, 0) != 0x00) { | ||
3024 | if(ChkIfChipInitialized(ioport) == FALSE) | ||
3025 | { | ||
3026 | pCurrNvRam = NULL; | ||
3027 | WR_HARPOON(ioport+hp_semaphore, 0x00); | ||
3028 | XbowInit(ioport, 0); /*Must Init the SCSI before attempting */ | ||
3029 | DiagEEPROM(ioport); | ||
3030 | } | ||
3031 | else | ||
3032 | { | ||
3033 | if(mbCards < MAX_MB_CARDS) { | ||
3034 | pCurrNvRam = &nvRamInfo[mbCards]; | ||
3035 | mbCards++; | ||
3036 | pCurrNvRam->niBaseAddr = ioport; | ||
3037 | RNVRamData(pCurrNvRam); | ||
3038 | }else | ||
3039 | return((int) FAILURE); | ||
3040 | } | ||
3041 | }else | ||
3042 | pCurrNvRam = NULL; | ||
3043 | |||
3044 | #if defined (NO_BIOS_OPTION) | ||
3045 | pCurrNvRam = NULL; | ||
3046 | XbowInit(ioport, 0); /*Must Init the SCSI before attempting */ | ||
3047 | DiagEEPROM(ioport); | ||
3048 | #endif /* No BIOS Option */ | ||
3049 | |||
3050 | WR_HARPOON(ioport+hp_clkctrl_0, CLKCTRL_DEFAULT); | ||
3051 | WR_HARPOON(ioport+hp_sys_ctrl, 0x00); | ||
3052 | |||
3053 | if(pCurrNvRam) | ||
3054 | pAdapterInfo->ai_id = pCurrNvRam->niAdapId; | ||
3055 | else | ||
3056 | pAdapterInfo->ai_id = (u08bits)(utilEERead(ioport, (ADAPTER_SCSI_ID/2)) & | ||
3057 | (u08bits)0x0FF); | ||
3058 | |||
3059 | pAdapterInfo->ai_lun = 0x00; | ||
3060 | pAdapterInfo->ai_fw_revision[0] = '3'; | ||
3061 | pAdapterInfo->ai_fw_revision[1] = '1'; | ||
3062 | pAdapterInfo->ai_fw_revision[2] = '1'; | ||
3063 | pAdapterInfo->ai_fw_revision[3] = ' '; | ||
3064 | pAdapterInfo->ai_NumChannels = 1; | ||
3065 | |||
3066 | temp2 = 0x0000; | ||
3067 | temp3 = 0x0000; | ||
3068 | temp4 = 0x0000; | ||
3069 | |||
3070 | for (id = 0; id < (16/2); id++) { | ||
3071 | |||
3072 | if(pCurrNvRam){ | ||
3073 | temp = (USHORT) pCurrNvRam->niSyncTbl[id]; | ||
3074 | temp = ((temp & 0x03) + ((temp << 4) & 0xc0)) + | ||
3075 | (((temp << 4) & 0x0300) + ((temp << 8) & 0xc000)); | ||
3076 | }else | ||
3077 | temp = utilEERead(ioport, (u16bits)((SYNC_RATE_TBL/2)+id)); | ||
3078 | |||
3079 | for (i = 0; i < 2; temp >>=8,i++) { | ||
3080 | |||
3081 | if ((temp & 0x03) != AUTO_RATE_00) { | ||
3082 | |||
3083 | temp2 >>= 0x01; | ||
3084 | temp2 |= 0x8000; | ||
3085 | } | ||
3086 | |||
3087 | else { | ||
3088 | temp2 >>= 0x01; | ||
3089 | } | ||
3090 | |||
3091 | if (temp & DISC_ENABLE_BIT) { | ||
3092 | |||
3093 | temp3 >>= 0x01; | ||
3094 | temp3 |= 0x8000; | ||
3095 | } | ||
3096 | |||
3097 | else { | ||
3098 | temp3 >>= 0x01; | ||
3099 | } | ||
3100 | |||
3101 | if (temp & WIDE_NEGO_BIT) { | ||
3102 | |||
3103 | temp4 >>= 0x01; | ||
3104 | temp4 |= 0x8000; | ||
3105 | } | ||
3106 | |||
3107 | else { | ||
3108 | temp4 >>= 0x01; | ||
3109 | } | ||
3110 | |||
3111 | } | ||
3112 | } | ||
3113 | |||
3114 | pAdapterInfo->ai_per_targ_init_sync = temp2; | ||
3115 | pAdapterInfo->ai_per_targ_no_disc = temp3; | ||
3116 | pAdapterInfo->ai_per_targ_wide_nego = temp4; | ||
3117 | if(pCurrNvRam) | ||
3118 | i = pCurrNvRam->niSysConf; | ||
3119 | else | ||
3120 | i = (u08bits)(utilEERead(ioport, (SYSTEM_CONFIG/2))); | ||
3121 | |||
3122 | /* | ||
3123 | ** interrupts always level-triggered for FlashPoint | ||
3124 | */ | ||
3125 | pAdapterInfo->ai_stateinfo |= LEVEL_TRIG; | ||
3126 | |||
3127 | if (i & 0x01) | ||
3128 | pAdapterInfo->ai_stateinfo |= SCSI_PARITY_ENA; | ||
3129 | |||
3130 | if (i & 0x02) /* SCSI Bus reset in AutoSCSI Set ? */ | ||
3131 | { | ||
3132 | if(pCurrNvRam) | ||
3133 | { | ||
3134 | j = pCurrNvRam->niScamConf; | ||
3135 | } | ||
3136 | else | ||
3137 | { | ||
3138 | j = (u08bits) utilEERead(ioport, SCAM_CONFIG/2); | ||
3139 | } | ||
3140 | if(j & SCAM_ENABLED) | ||
3141 | { | ||
3142 | if(j & SCAM_LEVEL2) | ||
3143 | { | ||
3144 | pAdapterInfo->ai_stateinfo |= SCAM2_ENA; | ||
3145 | } | ||
3146 | else | ||
3147 | { | ||
3148 | pAdapterInfo->ai_stateinfo |= SCAM1_ENA; | ||
3149 | } | ||
3150 | } | ||
3151 | } | ||
3152 | j = (RD_HARPOON(ioport+hp_bm_ctrl) & ~SCSI_TERM_ENA_L); | ||
3153 | if (i & 0x04) { | ||
3154 | j |= SCSI_TERM_ENA_L; | ||
3155 | pAdapterInfo->ai_stateinfo |= LOW_BYTE_TERM_ENA; | ||
3156 | } | ||
3157 | WR_HARPOON(ioport+hp_bm_ctrl, j ); | ||
3158 | |||
3159 | j = (RD_HARPOON(ioport+hp_ee_ctrl) & ~SCSI_TERM_ENA_H); | ||
3160 | if (i & 0x08) { | ||
3161 | j |= SCSI_TERM_ENA_H; | ||
3162 | pAdapterInfo->ai_stateinfo |= HIGH_BYTE_TERM_ENA; | ||
3163 | } | ||
3164 | WR_HARPOON(ioport+hp_ee_ctrl, j ); | ||
3165 | |||
3166 | if(RD_HARPOON(ioport + hp_page_ctrl) & BIOS_SHADOW) | ||
3167 | { | ||
3168 | pAdapterInfo->ai_FlashRomSize = 64 * 1024; /* 64k ROM */ | ||
3169 | } | ||
3170 | else | ||
3171 | { | ||
3172 | pAdapterInfo->ai_FlashRomSize = 32 * 1024; /* 32k ROM */ | ||
3173 | } | ||
3174 | |||
3175 | pAdapterInfo->ai_stateinfo |= (FAST20_ENA | TAG_QUEUE_ENA); | ||
3176 | if (!(RD_HARPOON(ioport+hp_page_ctrl) & NARROW_SCSI_CARD)) | ||
3177 | { | ||
3178 | pAdapterInfo->ai_attributes |= (WIDE_CAPABLE | FAST20_CAPABLE | ||
3179 | | SCAM2_CAPABLE | ||
3180 | | TAG_QUEUE_CAPABLE | ||
3181 | | SUPRESS_UNDERRRUNS_CAPABLE | ||
3182 | | SCSI_PARITY_CAPABLE); | ||
3183 | pAdapterInfo->ai_MaxTarg = 16; | ||
3184 | pAdapterInfo->ai_MaxLun = 32; | ||
3185 | } | ||
3186 | else | ||
3187 | { | ||
3188 | pAdapterInfo->ai_attributes |= (FAST20_CAPABLE | SCAM2_CAPABLE | ||
3189 | | TAG_QUEUE_CAPABLE | ||
3190 | | SUPRESS_UNDERRRUNS_CAPABLE | ||
3191 | | SCSI_PARITY_CAPABLE); | ||
3192 | pAdapterInfo->ai_MaxTarg = 8; | ||
3193 | pAdapterInfo->ai_MaxLun = 8; | ||
3194 | } | ||
3195 | |||
3196 | pAdapterInfo->ai_product_family = HARPOON_FAMILY; | ||
3197 | pAdapterInfo->ai_HBAbustype = BUSTYPE_PCI; | ||
3198 | |||
3199 | for (i=0;i<CARD_MODEL_NAMELEN;i++) | ||
3200 | { | ||
3201 | pAdapterInfo->ai_card_model[i]=' '; /* initialize the ai_card_model */ | ||
3202 | } | ||
3203 | |||
3204 | if(pCurrNvRam){ | ||
3205 | pAdapterInfo->ai_card_model[0] = '9'; | ||
3206 | switch(pCurrNvRam->niModel & 0x0f){ | ||
3207 | case MODEL_LT: | ||
3208 | pAdapterInfo->ai_card_model[1] = '3'; | ||
3209 | pAdapterInfo->ai_card_model[2] = '0'; | ||
3210 | break; | ||
3211 | case MODEL_LW: | ||
3212 | pAdapterInfo->ai_card_model[1] = '5'; | ||
3213 | pAdapterInfo->ai_card_model[2] = '0'; | ||
3214 | break; | ||
3215 | case MODEL_DL: | ||
3216 | pAdapterInfo->ai_card_model[1] = '3'; | ||
3217 | pAdapterInfo->ai_card_model[2] = '2'; | ||
3218 | break; | ||
3219 | case MODEL_DW: | ||
3220 | pAdapterInfo->ai_card_model[1] = '5'; | ||
3221 | pAdapterInfo->ai_card_model[2] = '2'; | ||
3222 | break; | ||
3223 | } | ||
3224 | }else{ | ||
3225 | temp = utilEERead(ioport, (MODEL_NUMB_0/2)); | ||
3226 | pAdapterInfo->ai_card_model[0] = (u08bits)(temp >> 8); | ||
3227 | temp = utilEERead(ioport, (MODEL_NUMB_2/2)); | ||
3228 | |||
3229 | pAdapterInfo->ai_card_model[1] = (u08bits)(temp & 0x00FF); | ||
3230 | pAdapterInfo->ai_card_model[2] = (u08bits)(temp >> 8); | ||
3231 | } | ||
3232 | |||
3233 | |||
3234 | |||
3235 | pAdapterInfo->ai_FiberProductType = 0; | ||
3236 | |||
3237 | pAdapterInfo->ai_secondary_range = 0; | ||
3238 | |||
3239 | for (i=0;i<WORLD_WIDE_NAMELEN;i++) | ||
3240 | { | ||
3241 | pAdapterInfo->ai_worldwidename[i]='\0'; | ||
3242 | } | ||
3243 | |||
3244 | for (i=0;i<VENDOR_NAMELEN;i++) | ||
3245 | { | ||
3246 | pAdapterInfo->ai_vendorstring[i]='\0'; | ||
3247 | } | ||
3248 | pAdapterInfo->ai_vendorstring[0]='B'; | ||
3249 | pAdapterInfo->ai_vendorstring[1]='U'; | ||
3250 | pAdapterInfo->ai_vendorstring[2]='S'; | ||
3251 | pAdapterInfo->ai_vendorstring[3]='L'; | ||
3252 | pAdapterInfo->ai_vendorstring[4]='O'; | ||
3253 | pAdapterInfo->ai_vendorstring[5]='G'; | ||
3254 | pAdapterInfo->ai_vendorstring[6]='I'; | ||
3255 | pAdapterInfo->ai_vendorstring[7]='C'; | ||
3256 | |||
3257 | for (i=0;i<FAMILY_NAMELEN;i++) | ||
3258 | { | ||
3259 | pAdapterInfo->ai_AdapterFamilyString[i]='\0'; | ||
3260 | } | ||
3261 | pAdapterInfo->ai_AdapterFamilyString[0]='F'; | ||
3262 | pAdapterInfo->ai_AdapterFamilyString[1]='L'; | ||
3263 | pAdapterInfo->ai_AdapterFamilyString[2]='A'; | ||
3264 | pAdapterInfo->ai_AdapterFamilyString[3]='S'; | ||
3265 | pAdapterInfo->ai_AdapterFamilyString[4]='H'; | ||
3266 | pAdapterInfo->ai_AdapterFamilyString[5]='P'; | ||
3267 | pAdapterInfo->ai_AdapterFamilyString[6]='O'; | ||
3268 | pAdapterInfo->ai_AdapterFamilyString[7]='I'; | ||
3269 | pAdapterInfo->ai_AdapterFamilyString[8]='N'; | ||
3270 | pAdapterInfo->ai_AdapterFamilyString[9]='T'; | ||
3271 | |||
3272 | ARAM_ACCESS(ioport); | ||
3273 | |||
3274 | for ( i = 0; i < 4; i++ ) { | ||
3275 | |||
3276 | pAdapterInfo->ai_XlatInfo[i] = | ||
3277 | RD_HARPOON(ioport+hp_aramBase+BIOS_DATA_OFFSET+i); | ||
3278 | } | ||
3279 | |||
3280 | /* return with -1 if no sort, else return with | ||
3281 | logical card number sorted by BIOS (zero-based) */ | ||
3282 | |||
3283 | |||
3284 | pAdapterInfo->ai_relative_cardnum = | ||
3285 | (u08bits)(RD_HARPOON(ioport+hp_aramBase+BIOS_RELATIVE_CARD)-1); | ||
3286 | |||
3287 | SGRAM_ACCESS(ioport); | ||
3288 | |||
3289 | s_PhaseTbl[0] = phaseDataOut; | ||
3290 | s_PhaseTbl[1] = phaseDataIn; | ||
3291 | s_PhaseTbl[2] = phaseIllegal; | ||
3292 | s_PhaseTbl[3] = phaseIllegal; | ||
3293 | s_PhaseTbl[4] = phaseCommand; | ||
3294 | s_PhaseTbl[5] = phaseStatus; | ||
3295 | s_PhaseTbl[6] = phaseMsgOut; | ||
3296 | s_PhaseTbl[7] = phaseMsgIn; | ||
3297 | |||
3298 | pAdapterInfo->ai_present = 0x01; | ||
3299 | |||
3300 | #if defined(BUGBUG) | ||
3301 | |||
3302 | |||
3303 | for (i = 0; i < MAX_CARDS; i++) { | ||
3304 | |||
3305 | for (id=0; id<debug_size; id++) | ||
3306 | debug_int[i][id] = (u08bits)0x00; | ||
3307 | debug_index[i] = 0; | ||
3308 | } | ||
3309 | |||
3310 | #endif | ||
3311 | |||
3312 | return(0); | ||
3313 | } | ||
3314 | |||
3315 | |||
3316 | |||
3317 | |||
3318 | |||
3319 | /*--------------------------------------------------------------------- | ||
3320 | * | ||
3321 | * Function: init_adapter, exported to BUDI via UCBMgr_init_adapter entry | ||
3322 | * | ||
3323 | * | ||
3324 | * Description: Setup adapter for normal operation (hard reset). | ||
3325 | * | ||
3326 | *---------------------------------------------------------------------*/ | ||
3327 | STATIC CARD_HANDLE init_adapter(PADAPTER_INFO pCardInfo) | ||
3328 | { | ||
3329 | PSCCBcard CurrCard; | ||
3330 | PNVRamInfo pCurrNvRam; | ||
3331 | u08bits i,j,thisCard, ScamFlg; | ||
3332 | u16bits temp,sync_bit_map,id; | ||
3333 | BASE_PORT ioport; | ||
3334 | |||
3335 | ioport = (BASE_PORT)pCardInfo->ai_baseaddr; | ||
3336 | |||
3337 | for(thisCard =0; thisCard <= MAX_CARDS; thisCard++) { | ||
3338 | |||
3339 | if (thisCard == MAX_CARDS) { | ||
3340 | |||
3341 | return(FAILURE); | ||
3342 | } | ||
3343 | |||
3344 | if (BL_Card[thisCard].ioPort == ioport) { | ||
3345 | |||
3346 | CurrCard = &BL_Card[thisCard]; | ||
3347 | SccbMgrTableInitCard(CurrCard,thisCard); | ||
3348 | break; | ||
3349 | } | ||
3350 | |||
3351 | else if (BL_Card[thisCard].ioPort == 0x00) { | ||
3352 | |||
3353 | BL_Card[thisCard].ioPort = ioport; | ||
3354 | CurrCard = &BL_Card[thisCard]; | ||
3355 | |||
3356 | if(mbCards) | ||
3357 | for(i = 0; i < mbCards; i++){ | ||
3358 | if(CurrCard->ioPort == nvRamInfo[i].niBaseAddr) | ||
3359 | CurrCard->pNvRamInfo = &nvRamInfo[i]; | ||
3360 | } | ||
3361 | SccbMgrTableInitCard(CurrCard,thisCard); | ||
3362 | CurrCard->cardIndex = thisCard; | ||
3363 | CurrCard->cardInfo = pCardInfo; | ||
3364 | |||
3365 | break; | ||
3366 | } | ||
3367 | } | ||
3368 | |||
3369 | pCurrNvRam = CurrCard->pNvRamInfo; | ||
3370 | |||
3371 | |||
3372 | if(pCurrNvRam){ | ||
3373 | ScamFlg = pCurrNvRam->niScamConf; | ||
3374 | } | ||
3375 | else{ | ||
3376 | ScamFlg = (UCHAR) utilEERead(ioport, SCAM_CONFIG/2); | ||
3377 | } | ||
3378 | |||
3379 | |||
3380 | BusMasterInit(ioport); | ||
3381 | XbowInit(ioport, ScamFlg); | ||
3382 | |||
3383 | #if defined (NO_BIOS_OPTION) | ||
3384 | |||
3385 | |||
3386 | if (DiagXbow(ioport)) return(FAILURE); | ||
3387 | if (DiagBusMaster(ioport)) return(FAILURE); | ||
3388 | |||
3389 | #endif /* No BIOS Option */ | ||
3390 | |||
3391 | autoLoadDefaultMap(ioport); | ||
3392 | |||
3393 | |||
3394 | for (i = 0,id = 0x01; i != pCardInfo->ai_id; i++,id <<= 1){} | ||
3395 | |||
3396 | WR_HARPOON(ioport+hp_selfid_0, id); | ||
3397 | WR_HARPOON(ioport+hp_selfid_1, 0x00); | ||
3398 | WR_HARPOON(ioport+hp_arb_id, pCardInfo->ai_id); | ||
3399 | CurrCard->ourId = (unsigned char) pCardInfo->ai_id; | ||
3400 | |||
3401 | i = (u08bits) pCardInfo->ai_stateinfo; | ||
3402 | if (i & SCSI_PARITY_ENA) | ||
3403 | WR_HARPOON(ioport+hp_portctrl_1,(HOST_MODE8 | CHK_SCSI_P)); | ||
3404 | |||
3405 | j = (RD_HARPOON(ioport+hp_bm_ctrl) & ~SCSI_TERM_ENA_L); | ||
3406 | if (i & LOW_BYTE_TERM_ENA) | ||
3407 | j |= SCSI_TERM_ENA_L; | ||
3408 | WR_HARPOON(ioport+hp_bm_ctrl, j); | ||
3409 | |||
3410 | j = (RD_HARPOON(ioport+hp_ee_ctrl) & ~SCSI_TERM_ENA_H); | ||
3411 | if (i & HIGH_BYTE_TERM_ENA) | ||
3412 | j |= SCSI_TERM_ENA_H; | ||
3413 | WR_HARPOON(ioport+hp_ee_ctrl, j ); | ||
3414 | |||
3415 | |||
3416 | if (!(pCardInfo->ai_stateinfo & NO_RESET_IN_INIT)) { | ||
3417 | |||
3418 | sresb(ioport,thisCard); | ||
3419 | |||
3420 | scini(thisCard, (u08bits) pCardInfo->ai_id, 0); | ||
3421 | } | ||
3422 | |||
3423 | |||
3424 | |||
3425 | if (pCardInfo->ai_stateinfo & SUPRESS_UNDERRRUNS_ENA) | ||
3426 | CurrCard->globalFlags |= F_NO_FILTER; | ||
3427 | |||
3428 | if(pCurrNvRam){ | ||
3429 | if(pCurrNvRam->niSysConf & 0x10) | ||
3430 | CurrCard->globalFlags |= F_GREEN_PC; | ||
3431 | } | ||
3432 | else{ | ||
3433 | if (utilEERead(ioport, (SYSTEM_CONFIG/2)) & GREEN_PC_ENA) | ||
3434 | CurrCard->globalFlags |= F_GREEN_PC; | ||
3435 | } | ||
3436 | |||
3437 | /* Set global flag to indicate Re-Negotiation to be done on all | ||
3438 | ckeck condition */ | ||
3439 | if(pCurrNvRam){ | ||
3440 | if(pCurrNvRam->niScsiConf & 0x04) | ||
3441 | CurrCard->globalFlags |= F_DO_RENEGO; | ||
3442 | } | ||
3443 | else{ | ||
3444 | if (utilEERead(ioport, (SCSI_CONFIG/2)) & RENEGO_ENA) | ||
3445 | CurrCard->globalFlags |= F_DO_RENEGO; | ||
3446 | } | ||
3447 | |||
3448 | if(pCurrNvRam){ | ||
3449 | if(pCurrNvRam->niScsiConf & 0x08) | ||
3450 | CurrCard->globalFlags |= F_CONLUN_IO; | ||
3451 | } | ||
3452 | else{ | ||
3453 | if (utilEERead(ioport, (SCSI_CONFIG/2)) & CONNIO_ENA) | ||
3454 | CurrCard->globalFlags |= F_CONLUN_IO; | ||
3455 | } | ||
3456 | |||
3457 | temp = pCardInfo->ai_per_targ_no_disc; | ||
3458 | |||
3459 | for (i = 0,id = 1; i < MAX_SCSI_TAR; i++, id <<= 1) { | ||
3460 | |||
3461 | if (temp & id) | ||
3462 | sccbMgrTbl[thisCard][i].TarStatus |= TAR_ALLOW_DISC; | ||
3463 | } | ||
3464 | |||
3465 | sync_bit_map = 0x0001; | ||
3466 | |||
3467 | for (id = 0; id < (MAX_SCSI_TAR/2); id++){ | ||
3468 | |||
3469 | if(pCurrNvRam){ | ||
3470 | temp = (USHORT) pCurrNvRam->niSyncTbl[id]; | ||
3471 | temp = ((temp & 0x03) + ((temp << 4) & 0xc0)) + | ||
3472 | (((temp << 4) & 0x0300) + ((temp << 8) & 0xc000)); | ||
3473 | }else | ||
3474 | temp = utilEERead(ioport, (u16bits)((SYNC_RATE_TBL/2)+id)); | ||
3475 | |||
3476 | for (i = 0; i < 2; temp >>=8,i++){ | ||
3477 | |||
3478 | if (pCardInfo->ai_per_targ_init_sync & sync_bit_map){ | ||
3479 | |||
3480 | sccbMgrTbl[thisCard][id*2+i].TarEEValue = (u08bits)temp; | ||
3481 | } | ||
3482 | |||
3483 | else { | ||
3484 | sccbMgrTbl[thisCard][id*2+i].TarStatus |= SYNC_SUPPORTED; | ||
3485 | sccbMgrTbl[thisCard][id*2+i].TarEEValue = | ||
3486 | (u08bits)(temp & ~EE_SYNC_MASK); | ||
3487 | } | ||
3488 | |||
3489 | #if defined(WIDE_SCSI) | ||
3490 | /* if ((pCardInfo->ai_per_targ_wide_nego & sync_bit_map) || | ||
3491 | (id*2+i >= 8)){ | ||
3492 | */ | ||
3493 | if (pCardInfo->ai_per_targ_wide_nego & sync_bit_map){ | ||
3494 | |||
3495 | sccbMgrTbl[thisCard][id*2+i].TarEEValue |= EE_WIDE_SCSI; | ||
3496 | |||
3497 | } | ||
3498 | |||
3499 | else { /* NARROW SCSI */ | ||
3500 | sccbMgrTbl[thisCard][id*2+i].TarStatus |= WIDE_NEGOCIATED; | ||
3501 | } | ||
3502 | |||
3503 | #else | ||
3504 | sccbMgrTbl[thisCard][id*2+i].TarStatus |= WIDE_NEGOCIATED; | ||
3505 | #endif | ||
3506 | |||
3507 | |||
3508 | sync_bit_map <<= 1; | ||
3509 | } | ||
3510 | } | ||
3511 | |||
3512 | |||
3513 | pCardInfo->ai_SGListFormat=0x01; | ||
3514 | pCardInfo->ai_DataPtrFormat=0x01; | ||
3515 | pCardInfo->ai_AEN_mask &= SCSI_RESET_COMPLETE; | ||
3516 | |||
3517 | WR_HARPOON((ioport+hp_semaphore), | ||
3518 | (u08bits)(RD_HARPOON((ioport+hp_semaphore)) | SCCB_MGR_PRESENT)); | ||
3519 | |||
3520 | return((u32bits)CurrCard); | ||
3521 | |||
3522 | } | ||
3523 | |||
3524 | |||
3525 | /*--------------------------------------------------------------------- | ||
3526 | * | ||
3527 | * Function: build_ucb, exported to BUDI via UCBMgr_build_ucb entry | ||
3528 | * | ||
3529 | * Description: prepare fw portion of ucb. do not start, resource not guaranteed | ||
3530 | * so don't manipulate anything that's derived from states which | ||
3531 | * may change | ||
3532 | * | ||
3533 | *---------------------------------------------------------------------*/ | ||
3534 | void build_UCB(CARD_HANDLE pCurrCard, PUCB p_ucb) | ||
3535 | { | ||
3536 | |||
3537 | u08bits thisCard; | ||
3538 | u08bits i,j; | ||
3539 | |||
3540 | PSCCB p_sccb; | ||
3541 | |||
3542 | |||
3543 | thisCard = ((PSCCBcard) pCurrCard)->cardIndex; | ||
3544 | |||
3545 | |||
3546 | p_sccb=(PSCCB)p_ucb->UCB_MgrPrivatePtr; | ||
3547 | |||
3548 | |||
3549 | p_sccb->Sccb_ucb_ptr=p_ucb; | ||
3550 | |||
3551 | switch (p_ucb->UCB_opcode & (OPC_DEVICE_RESET+OPC_XFER_SG+OPC_CHK_RESIDUAL)) | ||
3552 | { | ||
3553 | case OPC_DEVICE_RESET: | ||
3554 | p_sccb->OperationCode=RESET_COMMAND; | ||
3555 | break; | ||
3556 | case OPC_XFER_SG: | ||
3557 | p_sccb->OperationCode=SCATTER_GATHER_COMMAND; | ||
3558 | break; | ||
3559 | case OPC_XFER_SG+OPC_CHK_RESIDUAL: | ||
3560 | p_sccb->OperationCode=RESIDUAL_SG_COMMAND; | ||
3561 | break; | ||
3562 | case OPC_CHK_RESIDUAL: | ||
3563 | |||
3564 | p_sccb->OperationCode=RESIDUAL_COMMAND; | ||
3565 | break; | ||
3566 | default: | ||
3567 | p_sccb->OperationCode=SCSI_INITIATOR_COMMAND; | ||
3568 | break; | ||
3569 | } | ||
3570 | |||
3571 | if (p_ucb->UCB_opcode & OPC_TQ_ENABLE) | ||
3572 | { | ||
3573 | p_sccb->ControlByte = (u08bits)((p_ucb->UCB_opcode & OPC_TQ_MASK)>>2) | F_USE_CMD_Q; | ||
3574 | } | ||
3575 | else | ||
3576 | { | ||
3577 | p_sccb->ControlByte = 0; | ||
3578 | } | ||
3579 | |||
3580 | |||
3581 | p_sccb->CdbLength = (u08bits)p_ucb->UCB_cdblen; | ||
3582 | |||
3583 | if (p_ucb->UCB_opcode & OPC_NO_AUTO_SENSE) | ||
3584 | { | ||
3585 | p_sccb->RequestSenseLength = 0; | ||
3586 | } | ||
3587 | else | ||
3588 | { | ||
3589 | p_sccb->RequestSenseLength = (unsigned char) p_ucb->UCB_senselen; | ||
3590 | } | ||
3591 | |||
3592 | |||
3593 | if (p_ucb->UCB_opcode & OPC_XFER_SG) | ||
3594 | { | ||
3595 | p_sccb->DataPointer=p_ucb->UCB_virt_dataptr; | ||
3596 | p_sccb->DataLength = (((u32bits)p_ucb->UCB_NumSgElements)<<3); | ||
3597 | } | ||
3598 | else | ||
3599 | { | ||
3600 | p_sccb->DataPointer=p_ucb->UCB_phys_dataptr; | ||
3601 | p_sccb->DataLength=p_ucb->UCB_datalen; | ||
3602 | }; | ||
3603 | |||
3604 | p_sccb->HostStatus=0; | ||
3605 | p_sccb->TargetStatus=0; | ||
3606 | p_sccb->TargID=(unsigned char)p_ucb->UCB_targid; | ||
3607 | p_sccb->Lun=(unsigned char) p_ucb->UCB_lun; | ||
3608 | p_sccb->SccbIOPort=((PSCCBcard)pCurrCard)->ioPort; | ||
3609 | |||
3610 | j=p_ucb->UCB_cdblen; | ||
3611 | for (i=0;i<j;i++) | ||
3612 | { | ||
3613 | p_sccb->Cdb[i] = p_ucb->UCB_cdb[i]; | ||
3614 | } | ||
3615 | |||
3616 | p_sccb->SensePointer=p_ucb->UCB_phys_senseptr; | ||
3617 | |||
3618 | sinits(p_sccb,thisCard); | ||
3619 | |||
3620 | } | ||
3621 | #ifndef NO_IOCTLS | ||
3622 | |||
3623 | /*--------------------------------------------------------------------- | ||
3624 | * | ||
3625 | * Function: GetDevSyncRate | ||
3626 | * | ||
3627 | *---------------------------------------------------------------------*/ | ||
3628 | STATIC int GetDevSyncRate(PSCCBcard pCurrCard,PUCB p_ucb) | ||
3629 | { | ||
3630 | struct _SYNC_RATE_INFO * pSyncStr; | ||
3631 | PSCCBMgr_tar_info currTar_Info; | ||
3632 | BASE_PORT ioport; | ||
3633 | u08bits scsiID, j; | ||
3634 | |||
3635 | #if (FW_TYPE != _SCCB_MGR_) | ||
3636 | if( p_ucb->UCB_targid >= pCurrCard->cardInfo->ai_MaxTarg ) | ||
3637 | { | ||
3638 | return(1); | ||
3639 | } | ||
3640 | #endif | ||
3641 | |||
3642 | ioport = pCurrCard->ioPort; | ||
3643 | pSyncStr = (struct _SYNC_RATE_INFO *) p_ucb->UCB_virt_dataptr; | ||
3644 | scsiID = (u08bits) p_ucb->UCB_targid; | ||
3645 | currTar_Info = &sccbMgrTbl[pCurrCard->cardIndex][scsiID]; | ||
3646 | j = currTar_Info->TarSyncCtrl; | ||
3647 | |||
3648 | switch (currTar_Info->TarEEValue & EE_SYNC_MASK) | ||
3649 | { | ||
3650 | case EE_SYNC_ASYNC: | ||
3651 | pSyncStr->RequestMegaXferRate = 0x00; | ||
3652 | break; | ||
3653 | case EE_SYNC_5MB: | ||
3654 | pSyncStr->RequestMegaXferRate = (j & NARROW_SCSI) ? 50 : 100; | ||
3655 | break; | ||
3656 | case EE_SYNC_10MB: | ||
3657 | pSyncStr->RequestMegaXferRate = (j & NARROW_SCSI) ? 100 : 200; | ||
3658 | break; | ||
3659 | case EE_SYNC_20MB: | ||
3660 | pSyncStr->RequestMegaXferRate = (j & NARROW_SCSI) ? 200 : 400; | ||
3661 | break; | ||
3662 | } | ||
3663 | |||
3664 | switch ((j >> 5) & 0x07) | ||
3665 | { | ||
3666 | case 0x00: | ||
3667 | if((j & 0x07) == 0x00) | ||
3668 | { | ||
3669 | pSyncStr->ActualMegaXferRate = 0x00; /* Async Mode */ | ||
3670 | } | ||
3671 | else | ||
3672 | { | ||
3673 | pSyncStr->ActualMegaXferRate = (j & NARROW_SCSI) ? 200 : 400; | ||
3674 | } | ||
3675 | break; | ||
3676 | case 0x01: | ||
3677 | pSyncStr->ActualMegaXferRate = (j & NARROW_SCSI) ? 100 : 200; | ||
3678 | break; | ||
3679 | case 0x02: | ||
3680 | pSyncStr->ActualMegaXferRate = (j & NARROW_SCSI) ? 66 : 122; | ||
3681 | break; | ||
3682 | case 0x03: | ||
3683 | pSyncStr->ActualMegaXferRate = (j & NARROW_SCSI) ? 50 : 100; | ||
3684 | break; | ||
3685 | case 0x04: | ||
3686 | pSyncStr->ActualMegaXferRate = (j & NARROW_SCSI) ? 40 : 80; | ||
3687 | break; | ||
3688 | case 0x05: | ||
3689 | pSyncStr->ActualMegaXferRate = (j & NARROW_SCSI) ? 33 : 66; | ||
3690 | break; | ||
3691 | case 0x06: | ||
3692 | pSyncStr->ActualMegaXferRate = (j & NARROW_SCSI) ? 28 : 56; | ||
3693 | break; | ||
3694 | case 0x07: | ||
3695 | pSyncStr->ActualMegaXferRate = (j & NARROW_SCSI) ? 25 : 50; | ||
3696 | break; | ||
3697 | } | ||
3698 | pSyncStr->NegotiatedOffset = j & 0x0f; | ||
3699 | |||
3700 | return(0); | ||
3701 | } | ||
3702 | |||
3703 | /*--------------------------------------------------------------------- | ||
3704 | * | ||
3705 | * Function: SetDevSyncRate | ||
3706 | * | ||
3707 | *---------------------------------------------------------------------*/ | ||
3708 | STATIC int SetDevSyncRate(PSCCBcard pCurrCard, PUCB p_ucb) | ||
3709 | { | ||
3710 | struct _SYNC_RATE_INFO * pSyncStr; | ||
3711 | PSCCBMgr_tar_info currTar_Info; | ||
3712 | BASE_PORT ioPort; | ||
3713 | u08bits scsiID, i, j, syncVal; | ||
3714 | u16bits syncOffset, actualXferRate; | ||
3715 | union { | ||
3716 | u08bits tempb[2]; | ||
3717 | u16bits tempw; | ||
3718 | }temp2; | ||
3719 | |||
3720 | #if (FW_TYPE != _SCCB_MGR_) | ||
3721 | if( p_ucb->UCB_targid >= pCurrCard->cardInfo->ai_MaxTarg ) | ||
3722 | { | ||
3723 | return(1); | ||
3724 | } | ||
3725 | #endif | ||
3726 | |||
3727 | ioPort = pCurrCard->ioPort; | ||
3728 | pSyncStr = (struct _SYNC_RATE_INFO *) p_ucb->UCB_virt_dataptr; | ||
3729 | scsiID = (u08bits) p_ucb->UCB_targid; | ||
3730 | currTar_Info = &sccbMgrTbl[pCurrCard->cardIndex][scsiID]; | ||
3731 | i = RD_HARPOON(ioPort+hp_xfer_pad); /* Save current value */ | ||
3732 | WR_HARPOON(ioPort+hp_xfer_pad, (i | ID_UNLOCK)); | ||
3733 | WR_HARPOON(ioPort+hp_select_id, ((scsiID << 4) | scsiID)); | ||
3734 | j = RD_HARPOON(ioPort+hp_synctarg_0); | ||
3735 | WR_HARPOON(ioPort+hp_xfer_pad, i); /* restore value */ | ||
3736 | |||
3737 | actualXferRate = pSyncStr->ActualMegaXferRate; | ||
3738 | if(!(j & NARROW_SCSI)) | ||
3739 | { | ||
3740 | actualXferRate <<= 1; | ||
3741 | } | ||
3742 | if(actualXferRate == 0x00) | ||
3743 | { | ||
3744 | syncVal = EE_SYNC_ASYNC; /* Async Mode */ | ||
3745 | } | ||
3746 | if(actualXferRate == 0x0200) | ||
3747 | { | ||
3748 | syncVal = EE_SYNC_20MB; /* 20/40 MB Mode */ | ||
3749 | } | ||
3750 | if(actualXferRate > 0x0050 && actualXferRate < 0x0200 ) | ||
3751 | { | ||
3752 | syncVal = EE_SYNC_10MB; /* 10/20 MB Mode */ | ||
3753 | } | ||
3754 | else | ||
3755 | { | ||
3756 | syncVal = EE_SYNC_5MB; /* 5/10 MB Mode */ | ||
3757 | } | ||
3758 | if(currTar_Info->TarEEValue && EE_SYNC_MASK == syncVal) | ||
3759 | return(0); | ||
3760 | currTar_Info->TarEEValue = (currTar_Info->TarEEValue & !EE_SYNC_MASK) | ||
3761 | | syncVal; | ||
3762 | syncOffset = (SYNC_RATE_TBL + scsiID) / 2; | ||
3763 | temp2.tempw = utilEERead(ioPort, syncOffset); | ||
3764 | if(scsiID & 0x01) | ||
3765 | { | ||
3766 | temp2.tempb[0] = (temp2.tempb[0] & !EE_SYNC_MASK) | syncVal; | ||
3767 | } | ||
3768 | else | ||
3769 | { | ||
3770 | temp2.tempb[1] = (temp2.tempb[1] & !EE_SYNC_MASK) | syncVal; | ||
3771 | } | ||
3772 | utilEEWriteOnOff(ioPort, 1); | ||
3773 | utilEEWrite(ioPort, temp2.tempw, syncOffset); | ||
3774 | utilEEWriteOnOff(ioPort, 0); | ||
3775 | UpdateCheckSum(ioPort); | ||
3776 | |||
3777 | return(0); | ||
3778 | } | ||
3779 | /*--------------------------------------------------------------------- | ||
3780 | * | ||
3781 | * Function: GetDevWideMode | ||
3782 | * | ||
3783 | *---------------------------------------------------------------------*/ | ||
3784 | int GetDevWideMode(PSCCBcard pCurrCard,PUCB p_ucb) | ||
3785 | { | ||
3786 | u08bits *pData; | ||
3787 | |||
3788 | pData = (u08bits *)p_ucb->UCB_virt_dataptr; | ||
3789 | if(sccbMgrTbl[pCurrCard->cardIndex][p_ucb->UCB_targid].TarEEValue | ||
3790 | & EE_WIDE_SCSI) | ||
3791 | { | ||
3792 | *pData = 1; | ||
3793 | } | ||
3794 | else | ||
3795 | { | ||
3796 | *pData = 0; | ||
3797 | } | ||
3798 | |||
3799 | return(0); | ||
3800 | } | ||
3801 | |||
3802 | /*--------------------------------------------------------------------- | ||
3803 | * | ||
3804 | * Function: SetDevWideMode | ||
3805 | * | ||
3806 | *---------------------------------------------------------------------*/ | ||
3807 | int SetDevWideMode(PSCCBcard pCurrCard,PUCB p_ucb) | ||
3808 | { | ||
3809 | u08bits *pData; | ||
3810 | PSCCBMgr_tar_info currTar_Info; | ||
3811 | BASE_PORT ioPort; | ||
3812 | u08bits scsiID, scsiWideMode; | ||
3813 | u16bits syncOffset; | ||
3814 | union { | ||
3815 | u08bits tempb[2]; | ||
3816 | u16bits tempw; | ||
3817 | }temp2; | ||
3818 | |||
3819 | #if (FW_TYPE != _SCCB_MGR_) | ||
3820 | if( !(pCurrCard->cardInfo->ai_attributes & WIDE_CAPABLE) ) | ||
3821 | { | ||
3822 | return(1); | ||
3823 | } | ||
3824 | |||
3825 | if( p_ucb->UCB_targid >= pCurrCard->cardInfo->ai_MaxTarg ) | ||
3826 | { | ||
3827 | return(1); | ||
3828 | } | ||
3829 | #endif | ||
3830 | |||
3831 | ioPort = pCurrCard->ioPort; | ||
3832 | pData = (u08bits *)p_ucb->UCB_virt_dataptr; | ||
3833 | scsiID = (u08bits) p_ucb->UCB_targid; | ||
3834 | currTar_Info = &sccbMgrTbl[pCurrCard->cardIndex][scsiID]; | ||
3835 | |||
3836 | if(*pData) | ||
3837 | { | ||
3838 | if(currTar_Info->TarEEValue & EE_WIDE_SCSI) | ||
3839 | { | ||
3840 | return(0); | ||
3841 | } | ||
3842 | else | ||
3843 | { | ||
3844 | scsiWideMode = EE_WIDE_SCSI; | ||
3845 | } | ||
3846 | } | ||
3847 | else | ||
3848 | { | ||
3849 | if(!(currTar_Info->TarEEValue & EE_WIDE_SCSI)) | ||
3850 | { | ||
3851 | return(0); | ||
3852 | } | ||
3853 | else | ||
3854 | { | ||
3855 | scsiWideMode = 0; | ||
3856 | } | ||
3857 | } | ||
3858 | currTar_Info->TarEEValue = (currTar_Info->TarEEValue & !EE_WIDE_SCSI) | ||
3859 | | scsiWideMode; | ||
3860 | |||
3861 | syncOffset = (SYNC_RATE_TBL + scsiID) / 2; | ||
3862 | temp2.tempw = utilEERead(ioPort, syncOffset); | ||
3863 | if(scsiID & 0x01) | ||
3864 | { | ||
3865 | temp2.tempb[0] = (temp2.tempb[0] & !EE_WIDE_SCSI) | scsiWideMode; | ||
3866 | } | ||
3867 | else | ||
3868 | { | ||
3869 | temp2.tempb[1] = (temp2.tempb[1] & !EE_WIDE_SCSI) | scsiWideMode; | ||
3870 | } | ||
3871 | utilEEWriteOnOff(ioPort, 1); | ||
3872 | utilEEWrite(ioPort, temp2.tempw, syncOffset); | ||
3873 | utilEEWriteOnOff(ioPort, 0); | ||
3874 | UpdateCheckSum(ioPort); | ||
3875 | |||
3876 | return(0); | ||
3877 | } | ||
3878 | |||
3879 | /*--------------------------------------------------------------------- | ||
3880 | * | ||
3881 | * Function: ReadNVRam | ||
3882 | * | ||
3883 | *---------------------------------------------------------------------*/ | ||
3884 | void ReadNVRam(PSCCBcard pCurrCard,PUCB p_ucb) | ||
3885 | { | ||
3886 | u08bits *pdata; | ||
3887 | u16bits i,numwrds,numbytes,offset,temp; | ||
3888 | u08bits OneMore = FALSE; | ||
3889 | #if defined(DOS) | ||
3890 | u16bits ioport; | ||
3891 | #else | ||
3892 | u32bits ioport; | ||
3893 | #endif | ||
3894 | |||
3895 | numbytes = (u16bits) p_ucb->UCB_datalen; | ||
3896 | ioport = pCurrCard->ioPort; | ||
3897 | pdata = (u08bits *) p_ucb->UCB_virt_dataptr; | ||
3898 | offset = (u16bits) (p_ucb->UCB_IOCTLParams[0]); | ||
3899 | |||
3900 | |||
3901 | |||
3902 | if (offset & 0x1) | ||
3903 | { | ||
3904 | *((u16bits*) pdata) = utilEERead(ioport,(u16bits)((offset - 1) / 2)); /* 16 bit read */ | ||
3905 | *pdata = *(pdata + 1); | ||
3906 | ++offset; | ||
3907 | ++pdata; | ||
3908 | --numbytes; | ||
3909 | } | ||
3910 | |||
3911 | numwrds = numbytes / 2; | ||
3912 | if (numbytes & 1) | ||
3913 | OneMore = TRUE; | ||
3914 | |||
3915 | for (i = 0; i < numwrds; i++) | ||
3916 | { | ||
3917 | *((u16bits*) pdata) = utilEERead(ioport,(u16bits)(offset / 2)); | ||
3918 | pdata += 2; | ||
3919 | offset += 2; | ||
3920 | } | ||
3921 | if (OneMore) | ||
3922 | { | ||
3923 | --pdata; | ||
3924 | -- offset; | ||
3925 | temp = utilEERead(ioport,(u16bits)(offset / 2)); | ||
3926 | *pdata = (u08bits) (temp); | ||
3927 | } | ||
3928 | |||
3929 | } /* end proc ReadNVRam */ | ||
3930 | |||
3931 | |||
3932 | /*--------------------------------------------------------------------- | ||
3933 | * | ||
3934 | * Function: WriteNVRam | ||
3935 | * | ||
3936 | *---------------------------------------------------------------------*/ | ||
3937 | void WriteNVRam(PSCCBcard pCurrCard,PUCB p_ucb) | ||
3938 | { | ||
3939 | u08bits *pdata; | ||
3940 | u16bits i,numwrds,numbytes,offset, eeprom_end; | ||
3941 | u08bits OneMore = FALSE; | ||
3942 | union { | ||
3943 | u08bits tempb[2]; | ||
3944 | u16bits tempw; | ||
3945 | } temp2; | ||
3946 | |||
3947 | #if defined(DOS) | ||
3948 | u16bits ioport; | ||
3949 | #else | ||
3950 | u32bits ioport; | ||
3951 | #endif | ||
3952 | |||
3953 | numbytes = (u16bits) p_ucb->UCB_datalen; | ||
3954 | ioport = pCurrCard->ioPort; | ||
3955 | pdata = (u08bits *) p_ucb->UCB_virt_dataptr; | ||
3956 | offset = (u16bits) (p_ucb->UCB_IOCTLParams[0]); | ||
3957 | |||
3958 | if (RD_HARPOON(ioport+hp_page_ctrl) & NARROW_SCSI_CARD) | ||
3959 | eeprom_end = 512; | ||
3960 | else | ||
3961 | eeprom_end = 768; | ||
3962 | |||
3963 | if(offset > eeprom_end) | ||
3964 | return; | ||
3965 | |||
3966 | if((offset + numbytes) > eeprom_end) | ||
3967 | numbytes = eeprom_end - offset; | ||
3968 | |||
3969 | utilEEWriteOnOff(ioport,1); /* Enable write access to the EEPROM */ | ||
3970 | |||
3971 | |||
3972 | |||
3973 | if (offset & 0x1) | ||
3974 | { | ||
3975 | temp2.tempw = utilEERead(ioport,(u16bits)((offset - 1) / 2)); /* 16 bit read */ | ||
3976 | temp2.tempb[1] = *pdata; | ||
3977 | utilEEWrite(ioport, temp2.tempw, (u16bits)((offset -1) / 2)); | ||
3978 | *pdata = *(pdata + 1); | ||
3979 | ++offset; | ||
3980 | ++pdata; | ||
3981 | --numbytes; | ||
3982 | } | ||
3983 | |||
3984 | numwrds = numbytes / 2; | ||
3985 | if (numbytes & 1) | ||
3986 | OneMore = TRUE; | ||
3987 | |||
3988 | for (i = 0; i < numwrds; i++) | ||
3989 | { | ||
3990 | utilEEWrite(ioport, *((pu16bits)pdata),(u16bits)(offset / 2)); | ||
3991 | pdata += 2; | ||
3992 | offset += 2; | ||
3993 | } | ||
3994 | if (OneMore) | ||
3995 | { | ||
3996 | |||
3997 | temp2.tempw = utilEERead(ioport,(u16bits)(offset / 2)); | ||
3998 | temp2.tempb[0] = *pdata; | ||
3999 | utilEEWrite(ioport, temp2.tempw, (u16bits)(offset / 2)); | ||
4000 | } | ||
4001 | utilEEWriteOnOff(ioport,0); /* Turn off write access */ | ||
4002 | UpdateCheckSum((u32bits)ioport); | ||
4003 | |||
4004 | } /* end proc WriteNVRam */ | ||
4005 | |||
4006 | |||
4007 | |||
4008 | /*--------------------------------------------------------------------- | ||
4009 | * | ||
4010 | * Function: UpdateCheckSum | ||
4011 | * | ||
4012 | * Description: Update Check Sum in EEPROM | ||
4013 | * | ||
4014 | *---------------------------------------------------------------------*/ | ||
4015 | |||
4016 | |||
4017 | void UpdateCheckSum(u32bits baseport) | ||
4018 | { | ||
4019 | USHORT i,sum_data, eeprom_end; | ||
4020 | |||
4021 | sum_data = 0x0000; | ||
4022 | |||
4023 | |||
4024 | if (RD_HARPOON(baseport+hp_page_ctrl) & NARROW_SCSI_CARD) | ||
4025 | eeprom_end = 512; | ||
4026 | else | ||
4027 | eeprom_end = 768; | ||
4028 | |||
4029 | for (i = 1; i < eeprom_end/2; i++) | ||
4030 | { | ||
4031 | sum_data += utilEERead(baseport, i); | ||
4032 | } | ||
4033 | |||
4034 | utilEEWriteOnOff(baseport,1); /* Enable write access to the EEPROM */ | ||
4035 | |||
4036 | utilEEWrite(baseport, sum_data, EEPROM_CHECK_SUM/2); | ||
4037 | utilEEWriteOnOff(baseport,0); /* Turn off write access */ | ||
4038 | } | ||
4039 | |||
4040 | void SccbMgr_save_foreign_state(PADAPTER_INFO pAdapterInfo) | ||
4041 | { | ||
4042 | } | ||
4043 | |||
4044 | |||
4045 | void SccbMgr_restore_foreign_state(CARD_HANDLE pCurrCard) | ||
4046 | { | ||
4047 | } | ||
4048 | |||
4049 | void SccbMgr_restore_native_state(CARD_HANDLE pCurrCard) | ||
4050 | { | ||
4051 | } | ||
4052 | |||
4053 | #endif /* NO_IOCTLS */ | ||
4054 | |||
4055 | #endif /* (FW_TYPE==_UCB_MGR_) */ | ||
4056 | |||
4057 | #ifndef NO_IOCTLS | ||
4058 | #if (FW_TYPE==_UCB_MGR_) | ||
4059 | void SccbMgr_unload_card(CARD_HANDLE pCurrCard) | ||
4060 | #else | ||
4061 | #if defined(DOS) | ||
4062 | void SccbMgr_unload_card(USHORT pCurrCard) | ||
4063 | #else | ||
4064 | void SccbMgr_unload_card(ULONG pCurrCard) | ||
4065 | #endif | ||
4066 | #endif | ||
4067 | { | 1942 | { |
4068 | UCHAR i; | 1943 | UCHAR i; |
4069 | #if defined(DOS) | ||
4070 | USHORT portBase; | ||
4071 | USHORT regOffset; | ||
4072 | #else | ||
4073 | ULONG portBase; | 1944 | ULONG portBase; |
4074 | ULONG regOffset; | 1945 | ULONG regOffset; |
4075 | #endif | ||
4076 | ULONG scamData; | 1946 | ULONG scamData; |
4077 | #if defined(OS2) | ||
4078 | ULONG far *pScamTbl; | ||
4079 | #else | ||
4080 | ULONG *pScamTbl; | 1947 | ULONG *pScamTbl; |
4081 | #endif | ||
4082 | PNVRamInfo pCurrNvRam; | 1948 | PNVRamInfo pCurrNvRam; |
4083 | 1949 | ||
4084 | pCurrNvRam = ((PSCCBcard)pCurrCard)->pNvRamInfo; | 1950 | pCurrNvRam = ((PSCCBcard)pCurrCard)->pNvRamInfo; |
4085 | 1951 | ||
4086 | if(pCurrNvRam){ | 1952 | if(pCurrNvRam){ |
4087 | WrStack(pCurrNvRam->niBaseAddr, 0, pCurrNvRam->niModel); | 1953 | FPT_WrStack(pCurrNvRam->niBaseAddr, 0, pCurrNvRam->niModel); |
4088 | WrStack(pCurrNvRam->niBaseAddr, 1, pCurrNvRam->niSysConf); | 1954 | FPT_WrStack(pCurrNvRam->niBaseAddr, 1, pCurrNvRam->niSysConf); |
4089 | WrStack(pCurrNvRam->niBaseAddr, 2, pCurrNvRam->niScsiConf); | 1955 | FPT_WrStack(pCurrNvRam->niBaseAddr, 2, pCurrNvRam->niScsiConf); |
4090 | WrStack(pCurrNvRam->niBaseAddr, 3, pCurrNvRam->niScamConf); | 1956 | FPT_WrStack(pCurrNvRam->niBaseAddr, 3, pCurrNvRam->niScamConf); |
4091 | WrStack(pCurrNvRam->niBaseAddr, 4, pCurrNvRam->niAdapId); | 1957 | FPT_WrStack(pCurrNvRam->niBaseAddr, 4, pCurrNvRam->niAdapId); |
4092 | 1958 | ||
4093 | for(i = 0; i < MAX_SCSI_TAR / 2; i++) | 1959 | for(i = 0; i < MAX_SCSI_TAR / 2; i++) |
4094 | WrStack(pCurrNvRam->niBaseAddr, (UCHAR)(i+5), pCurrNvRam->niSyncTbl[i]); | 1960 | FPT_WrStack(pCurrNvRam->niBaseAddr, (UCHAR)(i+5), pCurrNvRam->niSyncTbl[i]); |
4095 | 1961 | ||
4096 | portBase = pCurrNvRam->niBaseAddr; | 1962 | portBase = pCurrNvRam->niBaseAddr; |
4097 | 1963 | ||
4098 | for(i = 0; i < MAX_SCSI_TAR; i++){ | 1964 | for(i = 0; i < MAX_SCSI_TAR; i++){ |
4099 | regOffset = hp_aramBase + 64 + i*4; | 1965 | regOffset = hp_aramBase + 64 + i*4; |
4100 | #if defined(OS2) | ||
4101 | pScamTbl = (ULONG far *) &pCurrNvRam->niScamTbl[i]; | ||
4102 | #else | ||
4103 | pScamTbl = (ULONG *) &pCurrNvRam->niScamTbl[i]; | 1966 | pScamTbl = (ULONG *) &pCurrNvRam->niScamTbl[i]; |
4104 | #endif | ||
4105 | scamData = *pScamTbl; | 1967 | scamData = *pScamTbl; |
4106 | WR_HARP32(portBase, regOffset, scamData); | 1968 | WR_HARP32(portBase, regOffset, scamData); |
4107 | } | 1969 | } |
4108 | 1970 | ||
4109 | }else{ | 1971 | }else{ |
4110 | WrStack(((PSCCBcard)pCurrCard)->ioPort, 0, 0); | 1972 | FPT_WrStack(((PSCCBcard)pCurrCard)->ioPort, 0, 0); |
4111 | } | 1973 | } |
4112 | } | 1974 | } |
4113 | #endif /* NO_IOCTLS */ | ||
4114 | 1975 | ||
4115 | 1976 | ||
4116 | void RNVRamData(PNVRamInfo pNvRamInfo) | 1977 | static void FPT_RNVRamData(PNVRamInfo pNvRamInfo) |
4117 | { | 1978 | { |
4118 | UCHAR i; | 1979 | UCHAR i; |
4119 | #if defined(DOS) | ||
4120 | USHORT portBase; | ||
4121 | USHORT regOffset; | ||
4122 | #else | ||
4123 | ULONG portBase; | 1980 | ULONG portBase; |
4124 | ULONG regOffset; | 1981 | ULONG regOffset; |
4125 | #endif | ||
4126 | ULONG scamData; | 1982 | ULONG scamData; |
4127 | #if defined (OS2) | ||
4128 | ULONG far *pScamTbl; | ||
4129 | #else | ||
4130 | ULONG *pScamTbl; | 1983 | ULONG *pScamTbl; |
4131 | #endif | ||
4132 | 1984 | ||
4133 | pNvRamInfo->niModel = RdStack(pNvRamInfo->niBaseAddr, 0); | 1985 | pNvRamInfo->niModel = FPT_RdStack(pNvRamInfo->niBaseAddr, 0); |
4134 | pNvRamInfo->niSysConf = RdStack(pNvRamInfo->niBaseAddr, 1); | 1986 | pNvRamInfo->niSysConf = FPT_RdStack(pNvRamInfo->niBaseAddr, 1); |
4135 | pNvRamInfo->niScsiConf = RdStack(pNvRamInfo->niBaseAddr, 2); | 1987 | pNvRamInfo->niScsiConf = FPT_RdStack(pNvRamInfo->niBaseAddr, 2); |
4136 | pNvRamInfo->niScamConf = RdStack(pNvRamInfo->niBaseAddr, 3); | 1988 | pNvRamInfo->niScamConf = FPT_RdStack(pNvRamInfo->niBaseAddr, 3); |
4137 | pNvRamInfo->niAdapId = RdStack(pNvRamInfo->niBaseAddr, 4); | 1989 | pNvRamInfo->niAdapId = FPT_RdStack(pNvRamInfo->niBaseAddr, 4); |
4138 | 1990 | ||
4139 | for(i = 0; i < MAX_SCSI_TAR / 2; i++) | 1991 | for(i = 0; i < MAX_SCSI_TAR / 2; i++) |
4140 | pNvRamInfo->niSyncTbl[i] = RdStack(pNvRamInfo->niBaseAddr, (UCHAR)(i+5)); | 1992 | pNvRamInfo->niSyncTbl[i] = FPT_RdStack(pNvRamInfo->niBaseAddr, (UCHAR)(i+5)); |
4141 | 1993 | ||
4142 | portBase = pNvRamInfo->niBaseAddr; | 1994 | portBase = pNvRamInfo->niBaseAddr; |
4143 | 1995 | ||
4144 | for(i = 0; i < MAX_SCSI_TAR; i++){ | 1996 | for(i = 0; i < MAX_SCSI_TAR; i++){ |
4145 | regOffset = hp_aramBase + 64 + i*4; | 1997 | regOffset = hp_aramBase + 64 + i*4; |
4146 | RD_HARP32(portBase, regOffset, scamData); | 1998 | RD_HARP32(portBase, regOffset, scamData); |
4147 | #if defined(OS2) | ||
4148 | pScamTbl = (ULONG far *) &pNvRamInfo->niScamTbl[i]; | ||
4149 | #else | ||
4150 | pScamTbl = (ULONG *) &pNvRamInfo->niScamTbl[i]; | 1999 | pScamTbl = (ULONG *) &pNvRamInfo->niScamTbl[i]; |
4151 | #endif | ||
4152 | *pScamTbl = scamData; | 2000 | *pScamTbl = scamData; |
4153 | } | 2001 | } |
4154 | 2002 | ||
4155 | } | 2003 | } |
4156 | 2004 | ||
4157 | #if defined(DOS) | 2005 | static UCHAR FPT_RdStack(ULONG portBase, UCHAR index) |
4158 | UCHAR RdStack(USHORT portBase, UCHAR index) | ||
4159 | #else | ||
4160 | UCHAR RdStack(ULONG portBase, UCHAR index) | ||
4161 | #endif | ||
4162 | { | 2006 | { |
4163 | WR_HARPOON(portBase + hp_stack_addr, index); | 2007 | WR_HARPOON(portBase + hp_stack_addr, index); |
4164 | return(RD_HARPOON(portBase + hp_stack_data)); | 2008 | return(RD_HARPOON(portBase + hp_stack_data)); |
4165 | } | 2009 | } |
4166 | 2010 | ||
4167 | #if defined(DOS) | 2011 | static void FPT_WrStack(ULONG portBase, UCHAR index, UCHAR data) |
4168 | void WrStack(USHORT portBase, UCHAR index, UCHAR data) | ||
4169 | #else | ||
4170 | void WrStack(ULONG portBase, UCHAR index, UCHAR data) | ||
4171 | #endif | ||
4172 | { | 2012 | { |
4173 | WR_HARPOON(portBase + hp_stack_addr, index); | 2013 | WR_HARPOON(portBase + hp_stack_addr, index); |
4174 | WR_HARPOON(portBase + hp_stack_data, data); | 2014 | WR_HARPOON(portBase + hp_stack_data, data); |
4175 | } | 2015 | } |
4176 | 2016 | ||
4177 | 2017 | ||
4178 | #if (FW_TYPE==_UCB_MGR_) | 2018 | static UCHAR FPT_ChkIfChipInitialized(ULONG ioPort) |
4179 | u08bits ChkIfChipInitialized(BASE_PORT ioPort) | ||
4180 | #else | ||
4181 | #if defined(DOS) | ||
4182 | UCHAR ChkIfChipInitialized(USHORT ioPort) | ||
4183 | #else | ||
4184 | UCHAR ChkIfChipInitialized(ULONG ioPort) | ||
4185 | #endif | ||
4186 | #endif | ||
4187 | { | 2019 | { |
4188 | if((RD_HARPOON(ioPort + hp_arb_id) & 0x0f) != RdStack(ioPort, 4)) | 2020 | if((RD_HARPOON(ioPort + hp_arb_id) & 0x0f) != FPT_RdStack(ioPort, 4)) |
4189 | return(FALSE); | 2021 | return(0); |
4190 | if((RD_HARPOON(ioPort + hp_clkctrl_0) & CLKCTRL_DEFAULT) | 2022 | if((RD_HARPOON(ioPort + hp_clkctrl_0) & CLKCTRL_DEFAULT) |
4191 | != CLKCTRL_DEFAULT) | 2023 | != CLKCTRL_DEFAULT) |
4192 | return(FALSE); | 2024 | return(0); |
4193 | if((RD_HARPOON(ioPort + hp_seltimeout) == TO_250ms) || | 2025 | if((RD_HARPOON(ioPort + hp_seltimeout) == TO_250ms) || |
4194 | (RD_HARPOON(ioPort + hp_seltimeout) == TO_290ms)) | 2026 | (RD_HARPOON(ioPort + hp_seltimeout) == TO_290ms)) |
4195 | return(TRUE); | 2027 | return(1); |
4196 | return(FALSE); | 2028 | return(0); |
4197 | 2029 | ||
4198 | } | 2030 | } |
4199 | /*--------------------------------------------------------------------- | 2031 | /*--------------------------------------------------------------------- |
@@ -4205,185 +2037,29 @@ UCHAR ChkIfChipInitialized(ULONG ioPort) | |||
4205 | * callback function. | 2037 | * callback function. |
4206 | * | 2038 | * |
4207 | *---------------------------------------------------------------------*/ | 2039 | *---------------------------------------------------------------------*/ |
4208 | #if (FW_TYPE==_UCB_MGR_) | 2040 | static void SccbMgr_start_sccb(ULONG pCurrCard, PSCCB p_Sccb) |
4209 | void SccbMgr_start_sccb(CARD_HANDLE pCurrCard, PUCB p_ucb) | ||
4210 | #else | ||
4211 | #if defined(DOS) | ||
4212 | void SccbMgr_start_sccb(USHORT pCurrCard, PSCCB p_Sccb) | ||
4213 | #else | ||
4214 | void SccbMgr_start_sccb(ULONG pCurrCard, PSCCB p_Sccb) | ||
4215 | #endif | ||
4216 | #endif | ||
4217 | { | 2041 | { |
4218 | #if defined(DOS) | ||
4219 | USHORT ioport; | ||
4220 | #else | ||
4221 | ULONG ioport; | 2042 | ULONG ioport; |
4222 | #endif | ||
4223 | UCHAR thisCard, lun; | 2043 | UCHAR thisCard, lun; |
4224 | PSCCB pSaveSccb; | 2044 | PSCCB pSaveSccb; |
4225 | CALL_BK_FN callback; | 2045 | CALL_BK_FN callback; |
4226 | 2046 | ||
4227 | #if (FW_TYPE==_UCB_MGR_) | ||
4228 | PSCCB p_Sccb; | ||
4229 | #endif | ||
4230 | |||
4231 | mOS_Lock((PSCCBcard)pCurrCard); | ||
4232 | thisCard = ((PSCCBcard) pCurrCard)->cardIndex; | 2047 | thisCard = ((PSCCBcard) pCurrCard)->cardIndex; |
4233 | ioport = ((PSCCBcard) pCurrCard)->ioPort; | 2048 | ioport = ((PSCCBcard) pCurrCard)->ioPort; |
4234 | 2049 | ||
4235 | #if (FW_TYPE==_UCB_MGR_) | ||
4236 | p_Sccb = (PSCCB)p_ucb->UCB_MgrPrivatePtr; | ||
4237 | #endif | ||
4238 | |||
4239 | if((p_Sccb->TargID > MAX_SCSI_TAR) || (p_Sccb->Lun > MAX_LUN)) | 2050 | if((p_Sccb->TargID > MAX_SCSI_TAR) || (p_Sccb->Lun > MAX_LUN)) |
4240 | { | 2051 | { |
4241 | 2052 | ||
4242 | #if (FW_TYPE==_UCB_MGR_) | ||
4243 | p_ucb->UCB_hbastat = SCCB_COMPLETE; | ||
4244 | p_ucb->UCB_status=SCCB_ERROR; | ||
4245 | callback = (CALL_BK_FN)p_ucb->UCB_callback; | ||
4246 | if (callback) | ||
4247 | callback(p_ucb); | ||
4248 | #endif | ||
4249 | |||
4250 | #if (FW_TYPE==_SCCB_MGR_) | ||
4251 | p_Sccb->HostStatus = SCCB_COMPLETE; | 2053 | p_Sccb->HostStatus = SCCB_COMPLETE; |
4252 | p_Sccb->SccbStatus = SCCB_ERROR; | 2054 | p_Sccb->SccbStatus = SCCB_ERROR; |
4253 | callback = (CALL_BK_FN)p_Sccb->SccbCallback; | 2055 | callback = (CALL_BK_FN)p_Sccb->SccbCallback; |
4254 | if (callback) | 2056 | if (callback) |
4255 | callback(p_Sccb); | 2057 | callback(p_Sccb); |
4256 | #endif | ||
4257 | 2058 | ||
4258 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4259 | return; | 2059 | return; |
4260 | } | 2060 | } |
4261 | 2061 | ||
4262 | #if (FW_TYPE==_SCCB_MGR_) | 2062 | FPT_sinits(p_Sccb,thisCard); |
4263 | sinits(p_Sccb,thisCard); | ||
4264 | #endif | ||
4265 | |||
4266 | |||
4267 | #if (FW_TYPE==_UCB_MGR_) | ||
4268 | #ifndef NO_IOCTLS | ||
4269 | |||
4270 | if (p_ucb->UCB_opcode & OPC_IOCTL) | ||
4271 | { | ||
4272 | |||
4273 | switch (p_ucb->UCB_IOCTLCommand) | ||
4274 | { | ||
4275 | case READ_NVRAM: | ||
4276 | ReadNVRam((PSCCBcard)pCurrCard,p_ucb); | ||
4277 | p_ucb->UCB_status=UCB_SUCCESS; | ||
4278 | callback = (CALL_BK_FN)p_ucb->UCB_callback; | ||
4279 | if (callback) | ||
4280 | callback(p_ucb); | ||
4281 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4282 | return; | ||
4283 | |||
4284 | case WRITE_NVRAM: | ||
4285 | WriteNVRam((PSCCBcard)pCurrCard,p_ucb); | ||
4286 | p_ucb->UCB_status=UCB_SUCCESS; | ||
4287 | callback = (CALL_BK_FN)p_ucb->UCB_callback; | ||
4288 | if (callback) | ||
4289 | callback(p_ucb); | ||
4290 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4291 | return; | ||
4292 | |||
4293 | case SEND_SCSI_PASSTHRU: | ||
4294 | #if (FW_TYPE != _SCCB_MGR_) | ||
4295 | if( p_ucb->UCB_targid >= | ||
4296 | ((PSCCBcard)pCurrCard)->cardInfo->ai_MaxTarg ) | ||
4297 | { | ||
4298 | p_ucb->UCB_status = UCB_ERROR; | ||
4299 | p_ucb->UCB_hbastat = HASTAT_HW_ERROR; | ||
4300 | callback = (CALL_BK_FN)p_ucb->UCB_callback; | ||
4301 | if (callback) | ||
4302 | callback(p_ucb); | ||
4303 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4304 | return; | ||
4305 | } | ||
4306 | #endif | ||
4307 | break; | ||
4308 | |||
4309 | case HARD_RESET: | ||
4310 | p_ucb->UCB_status = UCB_INVALID; | ||
4311 | callback = (CALL_BK_FN)p_ucb->UCB_callback; | ||
4312 | if (callback) | ||
4313 | callback(p_ucb); | ||
4314 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4315 | return; | ||
4316 | case GET_DEVICE_SYNCRATE: | ||
4317 | if( !GetDevSyncRate((PSCCBcard)pCurrCard,p_ucb) ) | ||
4318 | { | ||
4319 | p_ucb->UCB_status = UCB_SUCCESS; | ||
4320 | } | ||
4321 | else | ||
4322 | { | ||
4323 | p_ucb->UCB_status = UCB_ERROR; | ||
4324 | p_ucb->UCB_hbastat = HASTAT_HW_ERROR; | ||
4325 | } | ||
4326 | callback = (CALL_BK_FN)p_ucb->UCB_callback; | ||
4327 | if (callback) | ||
4328 | callback(p_ucb); | ||
4329 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4330 | return; | ||
4331 | case SET_DEVICE_SYNCRATE: | ||
4332 | if( !SetDevSyncRate((PSCCBcard)pCurrCard,p_ucb) ) | ||
4333 | { | ||
4334 | p_ucb->UCB_status = UCB_SUCCESS; | ||
4335 | } | ||
4336 | else | ||
4337 | { | ||
4338 | p_ucb->UCB_status = UCB_ERROR; | ||
4339 | p_ucb->UCB_hbastat = HASTAT_HW_ERROR; | ||
4340 | } | ||
4341 | callback = (CALL_BK_FN)p_ucb->UCB_callback; | ||
4342 | if (callback) | ||
4343 | callback(p_ucb); | ||
4344 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4345 | return; | ||
4346 | case GET_WIDE_MODE: | ||
4347 | if( !GetDevWideMode((PSCCBcard)pCurrCard,p_ucb) ) | ||
4348 | { | ||
4349 | p_ucb->UCB_status = UCB_SUCCESS; | ||
4350 | } | ||
4351 | else | ||
4352 | { | ||
4353 | p_ucb->UCB_status = UCB_ERROR; | ||
4354 | p_ucb->UCB_hbastat = HASTAT_HW_ERROR; | ||
4355 | } | ||
4356 | callback = (CALL_BK_FN)p_ucb->UCB_callback; | ||
4357 | if (callback) | ||
4358 | callback(p_ucb); | ||
4359 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4360 | return; | ||
4361 | case SET_WIDE_MODE: | ||
4362 | if( !SetDevWideMode((PSCCBcard)pCurrCard,p_ucb) ) | ||
4363 | { | ||
4364 | p_ucb->UCB_status = UCB_SUCCESS; | ||
4365 | } | ||
4366 | else | ||
4367 | { | ||
4368 | p_ucb->UCB_status = UCB_ERROR; | ||
4369 | p_ucb->UCB_hbastat = HASTAT_HW_ERROR; | ||
4370 | } | ||
4371 | callback = (CALL_BK_FN)p_ucb->UCB_callback; | ||
4372 | if (callback) | ||
4373 | callback(p_ucb); | ||
4374 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4375 | return; | ||
4376 | default: | ||
4377 | p_ucb->UCB_status=UCB_INVALID; | ||
4378 | callback = (CALL_BK_FN)p_ucb->UCB_callback; | ||
4379 | if (callback) | ||
4380 | callback(p_ucb); | ||
4381 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4382 | return; | ||
4383 | } | ||
4384 | } | ||
4385 | #endif /* NO_IOCTLS */ | ||
4386 | #endif /* (FW_TYPE==_UCB_MGR_) */ | ||
4387 | 2063 | ||
4388 | 2064 | ||
4389 | if (!((PSCCBcard) pCurrCard)->cmdCounter) | 2065 | if (!((PSCCBcard) pCurrCard)->cmdCounter) |
@@ -4408,12 +2084,12 @@ void SccbMgr_start_sccb(ULONG pCurrCard, PSCCB p_Sccb) | |||
4408 | { | 2084 | { |
4409 | pSaveSccb = ((PSCCBcard) pCurrCard)->currentSCCB; | 2085 | pSaveSccb = ((PSCCBcard) pCurrCard)->currentSCCB; |
4410 | ((PSCCBcard) pCurrCard)->currentSCCB = p_Sccb; | 2086 | ((PSCCBcard) pCurrCard)->currentSCCB = p_Sccb; |
4411 | queueSelectFail(&BL_Card[thisCard], thisCard); | 2087 | FPT_queueSelectFail(&FPT_BL_Card[thisCard], thisCard); |
4412 | ((PSCCBcard) pCurrCard)->currentSCCB = pSaveSccb; | 2088 | ((PSCCBcard) pCurrCard)->currentSCCB = pSaveSccb; |
4413 | } | 2089 | } |
4414 | else | 2090 | else |
4415 | { | 2091 | { |
4416 | queueAddSccb(p_Sccb,thisCard); | 2092 | FPT_queueAddSccb(p_Sccb,thisCard); |
4417 | } | 2093 | } |
4418 | } | 2094 | } |
4419 | 2095 | ||
@@ -4423,12 +2099,12 @@ void SccbMgr_start_sccb(ULONG pCurrCard, PSCCB p_Sccb) | |||
4423 | { | 2099 | { |
4424 | pSaveSccb = ((PSCCBcard) pCurrCard)->currentSCCB; | 2100 | pSaveSccb = ((PSCCBcard) pCurrCard)->currentSCCB; |
4425 | ((PSCCBcard) pCurrCard)->currentSCCB = p_Sccb; | 2101 | ((PSCCBcard) pCurrCard)->currentSCCB = p_Sccb; |
4426 | queueSelectFail(&BL_Card[thisCard], thisCard); | 2102 | FPT_queueSelectFail(&FPT_BL_Card[thisCard], thisCard); |
4427 | ((PSCCBcard) pCurrCard)->currentSCCB = pSaveSccb; | 2103 | ((PSCCBcard) pCurrCard)->currentSCCB = pSaveSccb; |
4428 | } | 2104 | } |
4429 | else | 2105 | else |
4430 | { | 2106 | { |
4431 | queueAddSccb(p_Sccb,thisCard); | 2107 | FPT_queueAddSccb(p_Sccb,thisCard); |
4432 | } | 2108 | } |
4433 | } | 2109 | } |
4434 | 2110 | ||
@@ -4437,23 +2113,17 @@ void SccbMgr_start_sccb(ULONG pCurrCard, PSCCB p_Sccb) | |||
4437 | MDISABLE_INT(ioport); | 2113 | MDISABLE_INT(ioport); |
4438 | 2114 | ||
4439 | if((((PSCCBcard) pCurrCard)->globalFlags & F_CONLUN_IO) && | 2115 | if((((PSCCBcard) pCurrCard)->globalFlags & F_CONLUN_IO) && |
4440 | ((sccbMgrTbl[thisCard][p_Sccb->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) | 2116 | ((FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) |
4441 | lun = p_Sccb->Lun; | 2117 | lun = p_Sccb->Lun; |
4442 | else | 2118 | else |
4443 | lun = 0; | 2119 | lun = 0; |
4444 | if ((((PSCCBcard) pCurrCard)->currentSCCB == NULL) && | 2120 | if ((((PSCCBcard) pCurrCard)->currentSCCB == NULL) && |
4445 | (sccbMgrTbl[thisCard][p_Sccb->TargID].TarSelQ_Cnt == 0) && | 2121 | (FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarSelQ_Cnt == 0) && |
4446 | (sccbMgrTbl[thisCard][p_Sccb->TargID].TarLUNBusy[lun] | 2122 | (FPT_sccbMgrTbl[thisCard][p_Sccb->TargID].TarLUNBusy[lun] |
4447 | == FALSE)) { | 2123 | == 0)) { |
4448 | 2124 | ||
4449 | ((PSCCBcard) pCurrCard)->currentSCCB = p_Sccb; | 2125 | ((PSCCBcard) pCurrCard)->currentSCCB = p_Sccb; |
4450 | mOS_UnLock((PSCCBcard)pCurrCard); | 2126 | FPT_ssel(p_Sccb->SccbIOPort,thisCard); |
4451 | #if defined(DOS) | ||
4452 | ssel((USHORT)p_Sccb->SccbIOPort,thisCard); | ||
4453 | #else | ||
4454 | ssel(p_Sccb->SccbIOPort,thisCard); | ||
4455 | #endif | ||
4456 | mOS_Lock((PSCCBcard)pCurrCard); | ||
4457 | } | 2127 | } |
4458 | 2128 | ||
4459 | else { | 2129 | else { |
@@ -4462,12 +2132,12 @@ void SccbMgr_start_sccb(ULONG pCurrCard, PSCCB p_Sccb) | |||
4462 | { | 2132 | { |
4463 | pSaveSccb = ((PSCCBcard) pCurrCard)->currentSCCB; | 2133 | pSaveSccb = ((PSCCBcard) pCurrCard)->currentSCCB; |
4464 | ((PSCCBcard) pCurrCard)->currentSCCB = p_Sccb; | 2134 | ((PSCCBcard) pCurrCard)->currentSCCB = p_Sccb; |
4465 | queueSelectFail(&BL_Card[thisCard], thisCard); | 2135 | FPT_queueSelectFail(&FPT_BL_Card[thisCard], thisCard); |
4466 | ((PSCCBcard) pCurrCard)->currentSCCB = pSaveSccb; | 2136 | ((PSCCBcard) pCurrCard)->currentSCCB = pSaveSccb; |
4467 | } | 2137 | } |
4468 | else | 2138 | else |
4469 | { | 2139 | { |
4470 | queueAddSccb(p_Sccb,thisCard); | 2140 | FPT_queueAddSccb(p_Sccb,thisCard); |
4471 | } | 2141 | } |
4472 | } | 2142 | } |
4473 | 2143 | ||
@@ -4475,7 +2145,6 @@ void SccbMgr_start_sccb(ULONG pCurrCard, PSCCB p_Sccb) | |||
4475 | MENABLE_INT(ioport); | 2145 | MENABLE_INT(ioport); |
4476 | } | 2146 | } |
4477 | 2147 | ||
4478 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4479 | } | 2148 | } |
4480 | 2149 | ||
4481 | 2150 | ||
@@ -4488,22 +2157,9 @@ void SccbMgr_start_sccb(ULONG pCurrCard, PSCCB p_Sccb) | |||
4488 | * callback function. | 2157 | * callback function. |
4489 | * | 2158 | * |
4490 | *---------------------------------------------------------------------*/ | 2159 | *---------------------------------------------------------------------*/ |
4491 | #if (FW_TYPE==_UCB_MGR_) | 2160 | static int SccbMgr_abort_sccb(ULONG pCurrCard, PSCCB p_Sccb) |
4492 | s32bits SccbMgr_abort_sccb(CARD_HANDLE pCurrCard, PUCB p_ucb) | ||
4493 | #else | ||
4494 | #if defined(DOS) | ||
4495 | int SccbMgr_abort_sccb(USHORT pCurrCard, PSCCB p_Sccb) | ||
4496 | #else | ||
4497 | int SccbMgr_abort_sccb(ULONG pCurrCard, PSCCB p_Sccb) | ||
4498 | #endif | ||
4499 | #endif | ||
4500 | |||
4501 | { | 2161 | { |
4502 | #if defined(DOS) | ||
4503 | USHORT ioport; | ||
4504 | #else | ||
4505 | ULONG ioport; | 2162 | ULONG ioport; |
4506 | #endif | ||
4507 | 2163 | ||
4508 | UCHAR thisCard; | 2164 | UCHAR thisCard; |
4509 | CALL_BK_FN callback; | 2165 | CALL_BK_FN callback; |
@@ -4512,53 +2168,31 @@ int SccbMgr_abort_sccb(ULONG pCurrCard, PSCCB p_Sccb) | |||
4512 | PSCCBMgr_tar_info currTar_Info; | 2168 | PSCCBMgr_tar_info currTar_Info; |
4513 | 2169 | ||
4514 | 2170 | ||
4515 | #if (FW_TYPE==_UCB_MGR_) | ||
4516 | PSCCB p_Sccb; | ||
4517 | p_Sccb=(PSCCB)p_ucb->UCB_MgrPrivatePtr; | ||
4518 | #endif | ||
4519 | |||
4520 | ioport = ((PSCCBcard) pCurrCard)->ioPort; | 2171 | ioport = ((PSCCBcard) pCurrCard)->ioPort; |
4521 | 2172 | ||
4522 | thisCard = ((PSCCBcard)pCurrCard)->cardIndex; | 2173 | thisCard = ((PSCCBcard)pCurrCard)->cardIndex; |
4523 | 2174 | ||
4524 | mOS_Lock((PSCCBcard)pCurrCard); | 2175 | if (!(RD_HARPOON(ioport+hp_page_ctrl) & G_INT_DISABLE)) |
4525 | |||
4526 | if (RD_HARPOON(ioport+hp_page_ctrl) & G_INT_DISABLE) | ||
4527 | { | 2176 | { |
4528 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4529 | } | ||
4530 | 2177 | ||
4531 | else | 2178 | if (FPT_queueFindSccb(p_Sccb,thisCard)) |
4532 | { | ||
4533 | |||
4534 | if (queueFindSccb(p_Sccb,thisCard)) | ||
4535 | { | 2179 | { |
4536 | 2180 | ||
4537 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4538 | |||
4539 | ((PSCCBcard)pCurrCard)->cmdCounter--; | 2181 | ((PSCCBcard)pCurrCard)->cmdCounter--; |
4540 | 2182 | ||
4541 | if (!((PSCCBcard)pCurrCard)->cmdCounter) | 2183 | if (!((PSCCBcard)pCurrCard)->cmdCounter) |
4542 | WR_HARPOON(ioport+hp_semaphore,(RD_HARPOON(ioport+hp_semaphore) | 2184 | WR_HARPOON(ioport+hp_semaphore,(RD_HARPOON(ioport+hp_semaphore) |
4543 | & (UCHAR)(~(SCCB_MGR_ACTIVE | TICKLE_ME)) )); | 2185 | & (UCHAR)(~(SCCB_MGR_ACTIVE | TICKLE_ME)) )); |
4544 | 2186 | ||
4545 | #if (FW_TYPE==_SCCB_MGR_) | ||
4546 | p_Sccb->SccbStatus = SCCB_ABORT; | 2187 | p_Sccb->SccbStatus = SCCB_ABORT; |
4547 | callback = p_Sccb->SccbCallback; | 2188 | callback = p_Sccb->SccbCallback; |
4548 | callback(p_Sccb); | 2189 | callback(p_Sccb); |
4549 | #else | ||
4550 | p_ucb->UCB_status=SCCB_ABORT; | ||
4551 | callback = (CALL_BK_FN)p_ucb->UCB_callback; | ||
4552 | callback(p_ucb); | ||
4553 | #endif | ||
4554 | 2190 | ||
4555 | return(0); | 2191 | return(0); |
4556 | } | 2192 | } |
4557 | 2193 | ||
4558 | else | 2194 | else |
4559 | { | 2195 | { |
4560 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4561 | |||
4562 | if (((PSCCBcard)pCurrCard)->currentSCCB == p_Sccb) | 2196 | if (((PSCCBcard)pCurrCard)->currentSCCB == p_Sccb) |
4563 | { | 2197 | { |
4564 | p_Sccb->SccbStatus = SCCB_ABORT; | 2198 | p_Sccb->SccbStatus = SCCB_ABORT; |
@@ -4579,21 +2213,18 @@ int SccbMgr_abort_sccb(ULONG pCurrCard, PSCCB p_Sccb) | |||
4579 | { | 2213 | { |
4580 | p_Sccb->SccbStatus = SCCB_ABORT; | 2214 | p_Sccb->SccbStatus = SCCB_ABORT; |
4581 | p_Sccb->Sccb_scsistat = ABORT_ST; | 2215 | p_Sccb->Sccb_scsistat = ABORT_ST; |
4582 | #if (FW_TYPE==_UCB_MGR_) | ||
4583 | p_ucb->UCB_status=SCCB_ABORT; | ||
4584 | #endif | ||
4585 | p_Sccb->Sccb_scsimsg = SMABORT_TAG; | 2216 | p_Sccb->Sccb_scsimsg = SMABORT_TAG; |
4586 | 2217 | ||
4587 | if(((PSCCBcard) pCurrCard)->currentSCCB == NULL) | 2218 | if(((PSCCBcard) pCurrCard)->currentSCCB == NULL) |
4588 | { | 2219 | { |
4589 | ((PSCCBcard) pCurrCard)->currentSCCB = p_Sccb; | 2220 | ((PSCCBcard) pCurrCard)->currentSCCB = p_Sccb; |
4590 | ssel(ioport, thisCard); | 2221 | FPT_ssel(ioport, thisCard); |
4591 | } | 2222 | } |
4592 | else | 2223 | else |
4593 | { | 2224 | { |
4594 | pSaveSCCB = ((PSCCBcard) pCurrCard)->currentSCCB; | 2225 | pSaveSCCB = ((PSCCBcard) pCurrCard)->currentSCCB; |
4595 | ((PSCCBcard) pCurrCard)->currentSCCB = p_Sccb; | 2226 | ((PSCCBcard) pCurrCard)->currentSCCB = p_Sccb; |
4596 | queueSelectFail((PSCCBcard) pCurrCard, thisCard); | 2227 | FPT_queueSelectFail((PSCCBcard) pCurrCard, thisCard); |
4597 | ((PSCCBcard) pCurrCard)->currentSCCB = pSaveSCCB; | 2228 | ((PSCCBcard) pCurrCard)->currentSCCB = pSaveSCCB; |
4598 | } | 2229 | } |
4599 | } | 2230 | } |
@@ -4602,9 +2233,9 @@ int SccbMgr_abort_sccb(ULONG pCurrCard, PSCCB p_Sccb) | |||
4602 | } | 2233 | } |
4603 | else | 2234 | else |
4604 | { | 2235 | { |
4605 | currTar_Info = &sccbMgrTbl[thisCard][p_Sccb->TargID]; | 2236 | currTar_Info = &FPT_sccbMgrTbl[thisCard][p_Sccb->TargID]; |
4606 | 2237 | ||
4607 | if(BL_Card[thisCard].discQ_Tbl[currTar_Info->LunDiscQ_Idx[p_Sccb->Lun]] | 2238 | if(FPT_BL_Card[thisCard].discQ_Tbl[currTar_Info->LunDiscQ_Idx[p_Sccb->Lun]] |
4608 | == p_Sccb) | 2239 | == p_Sccb) |
4609 | { | 2240 | { |
4610 | p_Sccb->SccbStatus = SCCB_ABORT; | 2241 | p_Sccb->SccbStatus = SCCB_ABORT; |
@@ -4626,37 +2257,20 @@ int SccbMgr_abort_sccb(ULONG pCurrCard, PSCCB p_Sccb) | |||
4626 | * interrupt for this card and disable the IRQ Pin if so. | 2257 | * interrupt for this card and disable the IRQ Pin if so. |
4627 | * | 2258 | * |
4628 | *---------------------------------------------------------------------*/ | 2259 | *---------------------------------------------------------------------*/ |
4629 | #if (FW_TYPE==_UCB_MGR_) | 2260 | static UCHAR SccbMgr_my_int(ULONG pCurrCard) |
4630 | u08bits SccbMgr_my_int(CARD_HANDLE pCurrCard) | ||
4631 | #else | ||
4632 | #if defined(DOS) | ||
4633 | UCHAR SccbMgr_my_int(USHORT pCurrCard) | ||
4634 | #else | ||
4635 | UCHAR SccbMgr_my_int(ULONG pCurrCard) | ||
4636 | #endif | ||
4637 | #endif | ||
4638 | { | 2261 | { |
4639 | #if defined(DOS) | ||
4640 | USHORT ioport; | ||
4641 | #else | ||
4642 | ULONG ioport; | 2262 | ULONG ioport; |
4643 | #endif | ||
4644 | 2263 | ||
4645 | ioport = ((PSCCBcard)pCurrCard)->ioPort; | 2264 | ioport = ((PSCCBcard)pCurrCard)->ioPort; |
4646 | 2265 | ||
4647 | if (RD_HARPOON(ioport+hp_int_status) & INT_ASSERTED) | 2266 | if (RD_HARPOON(ioport+hp_int_status) & INT_ASSERTED) |
4648 | { | 2267 | { |
4649 | 2268 | return(1); | |
4650 | #if defined(DOS) | ||
4651 | MDISABLE_INT(ioport); | ||
4652 | #endif | ||
4653 | |||
4654 | return(TRUE); | ||
4655 | } | 2269 | } |
4656 | 2270 | ||
4657 | else | 2271 | else |
4658 | 2272 | ||
4659 | return(FALSE); | 2273 | return(0); |
4660 | } | 2274 | } |
4661 | 2275 | ||
4662 | 2276 | ||
@@ -4670,37 +2284,19 @@ UCHAR SccbMgr_my_int(ULONG pCurrCard) | |||
4670 | * us. | 2284 | * us. |
4671 | * | 2285 | * |
4672 | *---------------------------------------------------------------------*/ | 2286 | *---------------------------------------------------------------------*/ |
4673 | #if (FW_TYPE==_UCB_MGR_) | 2287 | static int SccbMgr_isr(ULONG pCurrCard) |
4674 | s32bits SccbMgr_isr(CARD_HANDLE pCurrCard) | ||
4675 | #else | ||
4676 | #if defined(DOS) | ||
4677 | int SccbMgr_isr(USHORT pCurrCard) | ||
4678 | #else | ||
4679 | int SccbMgr_isr(ULONG pCurrCard) | ||
4680 | #endif | ||
4681 | #endif | ||
4682 | { | 2288 | { |
4683 | PSCCB currSCCB; | 2289 | PSCCB currSCCB; |
4684 | UCHAR thisCard,result,bm_status, bm_int_st; | 2290 | UCHAR thisCard,result,bm_status, bm_int_st; |
4685 | USHORT hp_int; | 2291 | USHORT hp_int; |
4686 | UCHAR i, target; | 2292 | UCHAR i, target; |
4687 | #if defined(DOS) | ||
4688 | USHORT ioport; | ||
4689 | #else | ||
4690 | ULONG ioport; | 2293 | ULONG ioport; |
4691 | #endif | ||
4692 | |||
4693 | mOS_Lock((PSCCBcard)pCurrCard); | ||
4694 | 2294 | ||
4695 | thisCard = ((PSCCBcard)pCurrCard)->cardIndex; | 2295 | thisCard = ((PSCCBcard)pCurrCard)->cardIndex; |
4696 | ioport = ((PSCCBcard)pCurrCard)->ioPort; | 2296 | ioport = ((PSCCBcard)pCurrCard)->ioPort; |
4697 | 2297 | ||
4698 | MDISABLE_INT(ioport); | 2298 | MDISABLE_INT(ioport); |
4699 | 2299 | ||
4700 | #if defined(BUGBUG) | ||
4701 | WR_HARPOON(ioport+hp_user_defined_D, RD_HARPOON(ioport+hp_int_status)); | ||
4702 | #endif | ||
4703 | |||
4704 | if ((bm_int_st=RD_HARPOON(ioport+hp_int_status)) & EXT_STATUS_ON) | 2300 | if ((bm_int_st=RD_HARPOON(ioport+hp_int_status)) & EXT_STATUS_ON) |
4705 | bm_status = RD_HARPOON(ioport+hp_ext_status) & (UCHAR)BAD_EXT_STATUS; | 2301 | bm_status = RD_HARPOON(ioport+hp_ext_status) & (UCHAR)BAD_EXT_STATUS; |
4706 | else | 2302 | else |
@@ -4708,33 +2304,20 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4708 | 2304 | ||
4709 | WR_HARPOON(ioport+hp_int_mask, (INT_CMD_COMPL | SCSI_INTERRUPT)); | 2305 | WR_HARPOON(ioport+hp_int_mask, (INT_CMD_COMPL | SCSI_INTERRUPT)); |
4710 | 2306 | ||
4711 | mOS_UnLock((PSCCBcard)pCurrCard); | 2307 | while ((hp_int = RDW_HARPOON((ioport+hp_intstat)) & FPT_default_intena) | |
4712 | |||
4713 | while ((hp_int = RDW_HARPOON((ioport+hp_intstat)) & default_intena) | | ||
4714 | bm_status) | 2308 | bm_status) |
4715 | { | 2309 | { |
4716 | 2310 | ||
4717 | currSCCB = ((PSCCBcard)pCurrCard)->currentSCCB; | 2311 | currSCCB = ((PSCCBcard)pCurrCard)->currentSCCB; |
4718 | 2312 | ||
4719 | #if defined(BUGBUG) | ||
4720 | Debug_Load(thisCard,(UCHAR) 0XFF); | ||
4721 | Debug_Load(thisCard,bm_int_st); | ||
4722 | |||
4723 | Debug_Load(thisCard,hp_int_0); | ||
4724 | Debug_Load(thisCard,hp_int_1); | ||
4725 | #endif | ||
4726 | |||
4727 | |||
4728 | if (hp_int & (FIFO | TIMEOUT | RESET | SCAM_SEL) || bm_status) { | 2313 | if (hp_int & (FIFO | TIMEOUT | RESET | SCAM_SEL) || bm_status) { |
4729 | result = SccbMgr_bad_isr(ioport,thisCard,((PSCCBcard)pCurrCard),hp_int); | 2314 | result = FPT_SccbMgr_bad_isr(ioport,thisCard,((PSCCBcard)pCurrCard),hp_int); |
4730 | WRW_HARPOON((ioport+hp_intstat), (FIFO | TIMEOUT | RESET | SCAM_SEL)); | 2315 | WRW_HARPOON((ioport+hp_intstat), (FIFO | TIMEOUT | RESET | SCAM_SEL)); |
4731 | bm_status = 0; | 2316 | bm_status = 0; |
4732 | 2317 | ||
4733 | if (result) { | 2318 | if (result) { |
4734 | 2319 | ||
4735 | mOS_Lock((PSCCBcard)pCurrCard); | ||
4736 | MENABLE_INT(ioport); | 2320 | MENABLE_INT(ioport); |
4737 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4738 | return(result); | 2321 | return(result); |
4739 | } | 2322 | } |
4740 | } | 2323 | } |
@@ -4753,7 +2336,7 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4753 | 2336 | ||
4754 | if (((PSCCBcard)pCurrCard)->globalFlags & F_HOST_XFER_ACT) | 2337 | if (((PSCCBcard)pCurrCard)->globalFlags & F_HOST_XFER_ACT) |
4755 | 2338 | ||
4756 | phaseChkFifo(ioport, thisCard); | 2339 | FPT_phaseChkFifo(ioport, thisCard); |
4757 | 2340 | ||
4758 | /* WRW_HARPOON((ioport+hp_intstat), | 2341 | /* WRW_HARPOON((ioport+hp_intstat), |
4759 | (BUS_FREE | ICMD_COMP | ITAR_DISC | XFER_CNT_0)); | 2342 | (BUS_FREE | ICMD_COMP | ITAR_DISC | XFER_CNT_0)); |
@@ -4761,7 +2344,7 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4761 | 2344 | ||
4762 | WRW_HARPOON((ioport+hp_intstat), CLR_ALL_INT_1); | 2345 | WRW_HARPOON((ioport+hp_intstat), CLR_ALL_INT_1); |
4763 | 2346 | ||
4764 | autoCmdCmplt(ioport,thisCard); | 2347 | FPT_autoCmdCmplt(ioport,thisCard); |
4765 | 2348 | ||
4766 | } | 2349 | } |
4767 | 2350 | ||
@@ -4771,7 +2354,7 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4771 | 2354 | ||
4772 | if (((PSCCBcard)pCurrCard)->globalFlags & F_HOST_XFER_ACT) { | 2355 | if (((PSCCBcard)pCurrCard)->globalFlags & F_HOST_XFER_ACT) { |
4773 | 2356 | ||
4774 | phaseChkFifo(ioport, thisCard); | 2357 | FPT_phaseChkFifo(ioport, thisCard); |
4775 | 2358 | ||
4776 | } | 2359 | } |
4777 | 2360 | ||
@@ -4784,7 +2367,7 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4784 | } | 2367 | } |
4785 | 2368 | ||
4786 | currSCCB->Sccb_scsistat = DISCONNECT_ST; | 2369 | currSCCB->Sccb_scsistat = DISCONNECT_ST; |
4787 | queueDisconnect(currSCCB,thisCard); | 2370 | FPT_queueDisconnect(currSCCB,thisCard); |
4788 | 2371 | ||
4789 | /* Wait for the BusFree before starting a new command. We | 2372 | /* Wait for the BusFree before starting a new command. We |
4790 | must also check for being reselected since the BusFree | 2373 | must also check for being reselected since the BusFree |
@@ -4803,9 +2386,7 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4803 | */ | 2386 | */ |
4804 | if (!(RDW_HARPOON((ioport+hp_intstat)) & (BUS_FREE | RSEL))) | 2387 | if (!(RDW_HARPOON((ioport+hp_intstat)) & (BUS_FREE | RSEL))) |
4805 | { | 2388 | { |
4806 | mOS_Lock((PSCCBcard)pCurrCard); | ||
4807 | MENABLE_INT(ioport); | 2389 | MENABLE_INT(ioport); |
4808 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4809 | return 0xFE; | 2390 | return 0xFE; |
4810 | } | 2391 | } |
4811 | 2392 | ||
@@ -4825,7 +2406,7 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4825 | { | 2406 | { |
4826 | if (((PSCCBcard)pCurrCard)->globalFlags & F_HOST_XFER_ACT) | 2407 | if (((PSCCBcard)pCurrCard)->globalFlags & F_HOST_XFER_ACT) |
4827 | { | 2408 | { |
4828 | phaseChkFifo(ioport, thisCard); | 2409 | FPT_phaseChkFifo(ioport, thisCard); |
4829 | } | 2410 | } |
4830 | 2411 | ||
4831 | if (RD_HARPOON(ioport+hp_gp_reg_1) == SMSAVE_DATA_PTR) | 2412 | if (RD_HARPOON(ioport+hp_gp_reg_1) == SMSAVE_DATA_PTR) |
@@ -4837,11 +2418,11 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4837 | 2418 | ||
4838 | WRW_HARPOON((ioport+hp_intstat), (BUS_FREE | ITAR_DISC)); | 2419 | WRW_HARPOON((ioport+hp_intstat), (BUS_FREE | ITAR_DISC)); |
4839 | currSCCB->Sccb_scsistat = DISCONNECT_ST; | 2420 | currSCCB->Sccb_scsistat = DISCONNECT_ST; |
4840 | queueDisconnect(currSCCB,thisCard); | 2421 | FPT_queueDisconnect(currSCCB,thisCard); |
4841 | } | 2422 | } |
4842 | 2423 | ||
4843 | sres(ioport,thisCard,((PSCCBcard)pCurrCard)); | 2424 | FPT_sres(ioport,thisCard,((PSCCBcard)pCurrCard)); |
4844 | phaseDecode(ioport,thisCard); | 2425 | FPT_phaseDecode(ioport,thisCard); |
4845 | 2426 | ||
4846 | } | 2427 | } |
4847 | 2428 | ||
@@ -4850,7 +2431,7 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4850 | { | 2431 | { |
4851 | 2432 | ||
4852 | WRW_HARPOON((ioport+hp_intstat), (IDO_STRT | XFER_CNT_0)); | 2433 | WRW_HARPOON((ioport+hp_intstat), (IDO_STRT | XFER_CNT_0)); |
4853 | phaseDecode(ioport,thisCard); | 2434 | FPT_phaseDecode(ioport,thisCard); |
4854 | 2435 | ||
4855 | } | 2436 | } |
4856 | 2437 | ||
@@ -4860,7 +2441,7 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4860 | WRW_HARPOON((ioport+hp_intstat), (PHASE | IUNKWN | PROG_HLT)); | 2441 | WRW_HARPOON((ioport+hp_intstat), (PHASE | IUNKWN | PROG_HLT)); |
4861 | if ((RD_HARPOON(ioport+hp_prgmcnt_0) & (UCHAR)0x3f)< (UCHAR)SELCHK) | 2442 | if ((RD_HARPOON(ioport+hp_prgmcnt_0) & (UCHAR)0x3f)< (UCHAR)SELCHK) |
4862 | { | 2443 | { |
4863 | phaseDecode(ioport,thisCard); | 2444 | FPT_phaseDecode(ioport,thisCard); |
4864 | } | 2445 | } |
4865 | else | 2446 | else |
4866 | { | 2447 | { |
@@ -4885,7 +2466,7 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4885 | 2466 | ||
4886 | WRW_HARPOON((ioport+hp_intstat), XFER_CNT_0); | 2467 | WRW_HARPOON((ioport+hp_intstat), XFER_CNT_0); |
4887 | 2468 | ||
4888 | schkdd(ioport,thisCard); | 2469 | FPT_schkdd(ioport,thisCard); |
4889 | 2470 | ||
4890 | } | 2471 | } |
4891 | 2472 | ||
@@ -4896,10 +2477,10 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4896 | 2477 | ||
4897 | if (((PSCCBcard)pCurrCard)->globalFlags & F_HOST_XFER_ACT) { | 2478 | if (((PSCCBcard)pCurrCard)->globalFlags & F_HOST_XFER_ACT) { |
4898 | 2479 | ||
4899 | hostDataXferAbort(ioport,thisCard,currSCCB); | 2480 | FPT_hostDataXferAbort(ioport,thisCard,currSCCB); |
4900 | } | 2481 | } |
4901 | 2482 | ||
4902 | phaseBusFree(ioport,thisCard); | 2483 | FPT_phaseBusFree(ioport,thisCard); |
4903 | } | 2484 | } |
4904 | 2485 | ||
4905 | 2486 | ||
@@ -4919,12 +2500,12 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4919 | 2500 | ||
4920 | if (((PSCCBcard)pCurrCard)->currentSCCB == NULL) { | 2501 | if (((PSCCBcard)pCurrCard)->currentSCCB == NULL) { |
4921 | 2502 | ||
4922 | queueSearchSelect(((PSCCBcard)pCurrCard),thisCard); | 2503 | FPT_queueSearchSelect(((PSCCBcard)pCurrCard),thisCard); |
4923 | } | 2504 | } |
4924 | 2505 | ||
4925 | if (((PSCCBcard)pCurrCard)->currentSCCB != NULL) { | 2506 | if (((PSCCBcard)pCurrCard)->currentSCCB != NULL) { |
4926 | ((PSCCBcard)pCurrCard)->globalFlags &= ~F_NEW_SCCB_CMD; | 2507 | ((PSCCBcard)pCurrCard)->globalFlags &= ~F_NEW_SCCB_CMD; |
4927 | ssel(ioport,thisCard); | 2508 | FPT_ssel(ioport,thisCard); |
4928 | } | 2509 | } |
4929 | 2510 | ||
4930 | break; | 2511 | break; |
@@ -4933,9 +2514,7 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4933 | 2514 | ||
4934 | } /*end while */ | 2515 | } /*end while */ |
4935 | 2516 | ||
4936 | mOS_Lock((PSCCBcard)pCurrCard); | ||
4937 | MENABLE_INT(ioport); | 2517 | MENABLE_INT(ioport); |
4938 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
4939 | 2518 | ||
4940 | return(0); | 2519 | return(0); |
4941 | } | 2520 | } |
@@ -4950,18 +2529,12 @@ int SccbMgr_isr(ULONG pCurrCard) | |||
4950 | * processing time. | 2529 | * processing time. |
4951 | * | 2530 | * |
4952 | *---------------------------------------------------------------------*/ | 2531 | *---------------------------------------------------------------------*/ |
4953 | #if defined(DOS) | 2532 | static UCHAR FPT_SccbMgr_bad_isr(ULONG p_port, UCHAR p_card, |
4954 | UCHAR SccbMgr_bad_isr(USHORT p_port, UCHAR p_card, PSCCBcard pCurrCard, USHORT p_int) | 2533 | PSCCBcard pCurrCard, USHORT p_int) |
4955 | #else | ||
4956 | UCHAR SccbMgr_bad_isr(ULONG p_port, UCHAR p_card, PSCCBcard pCurrCard, USHORT p_int) | ||
4957 | #endif | ||
4958 | { | 2534 | { |
4959 | #if defined(HARP_REVX) | 2535 | UCHAR temp, ScamFlg; |
4960 | ULONG timer; | 2536 | PSCCBMgr_tar_info currTar_Info; |
4961 | #endif | 2537 | PNVRamInfo pCurrNvRam; |
4962 | UCHAR temp, ScamFlg; | ||
4963 | PSCCBMgr_tar_info currTar_Info; | ||
4964 | PNVRamInfo pCurrNvRam; | ||
4965 | 2538 | ||
4966 | 2539 | ||
4967 | if (RD_HARPOON(p_port+hp_ext_status) & | 2540 | if (RD_HARPOON(p_port+hp_ext_status) & |
@@ -4971,7 +2544,7 @@ PNVRamInfo pCurrNvRam; | |||
4971 | if (pCurrCard->globalFlags & F_HOST_XFER_ACT) | 2544 | if (pCurrCard->globalFlags & F_HOST_XFER_ACT) |
4972 | { | 2545 | { |
4973 | 2546 | ||
4974 | hostDataXferAbort(p_port,p_card, pCurrCard->currentSCCB); | 2547 | FPT_hostDataXferAbort(p_port,p_card, pCurrCard->currentSCCB); |
4975 | } | 2548 | } |
4976 | 2549 | ||
4977 | if (RD_HARPOON(p_port+hp_pci_stat_cfg) & REC_MASTER_ABORT) | 2550 | if (RD_HARPOON(p_port+hp_pci_stat_cfg) & REC_MASTER_ABORT) |
@@ -4990,7 +2563,7 @@ PNVRamInfo pCurrNvRam; | |||
4990 | if (!pCurrCard->currentSCCB->HostStatus) | 2563 | if (!pCurrCard->currentSCCB->HostStatus) |
4991 | pCurrCard->currentSCCB->HostStatus = SCCB_BM_ERR; | 2564 | pCurrCard->currentSCCB->HostStatus = SCCB_BM_ERR; |
4992 | 2565 | ||
4993 | sxfrp(p_port,p_card); | 2566 | FPT_sxfrp(p_port,p_card); |
4994 | 2567 | ||
4995 | temp = (UCHAR)(RD_HARPOON(p_port+hp_ee_ctrl) & | 2568 | temp = (UCHAR)(RD_HARPOON(p_port+hp_ee_ctrl) & |
4996 | (EXT_ARB_ACK | SCSI_TERM_ENA_H)); | 2569 | (EXT_ARB_ACK | SCSI_TERM_ENA_H)); |
@@ -4999,7 +2572,7 @@ PNVRamInfo pCurrNvRam; | |||
4999 | 2572 | ||
5000 | if (!(RDW_HARPOON((p_port+hp_intstat)) & (BUS_FREE | RESET))) | 2573 | if (!(RDW_HARPOON((p_port+hp_intstat)) & (BUS_FREE | RESET))) |
5001 | { | 2574 | { |
5002 | phaseDecode(p_port,p_card); | 2575 | FPT_phaseDecode(p_port,p_card); |
5003 | } | 2576 | } |
5004 | } | 2577 | } |
5005 | } | 2578 | } |
@@ -5014,13 +2587,13 @@ PNVRamInfo pCurrNvRam; | |||
5014 | 2587 | ||
5015 | if (pCurrCard->globalFlags & F_HOST_XFER_ACT) | 2588 | if (pCurrCard->globalFlags & F_HOST_XFER_ACT) |
5016 | 2589 | ||
5017 | hostDataXferAbort(p_port,p_card, pCurrCard->currentSCCB); | 2590 | FPT_hostDataXferAbort(p_port,p_card, pCurrCard->currentSCCB); |
5018 | } | 2591 | } |
5019 | 2592 | ||
5020 | 2593 | ||
5021 | DISABLE_AUTO(p_port); | 2594 | DISABLE_AUTO(p_port); |
5022 | 2595 | ||
5023 | sresb(p_port,p_card); | 2596 | FPT_sresb(p_port,p_card); |
5024 | 2597 | ||
5025 | while(RD_HARPOON(p_port+hp_scsictrl_0) & SCSI_RST) {} | 2598 | while(RD_HARPOON(p_port+hp_scsictrl_0) & SCSI_RST) {} |
5026 | 2599 | ||
@@ -5029,12 +2602,12 @@ PNVRamInfo pCurrNvRam; | |||
5029 | ScamFlg = pCurrNvRam->niScamConf; | 2602 | ScamFlg = pCurrNvRam->niScamConf; |
5030 | } | 2603 | } |
5031 | else{ | 2604 | else{ |
5032 | ScamFlg = (UCHAR) utilEERead(p_port, SCAM_CONFIG/2); | 2605 | ScamFlg = (UCHAR) FPT_utilEERead(p_port, SCAM_CONFIG/2); |
5033 | } | 2606 | } |
5034 | 2607 | ||
5035 | XbowInit(p_port, ScamFlg); | 2608 | FPT_XbowInit(p_port, ScamFlg); |
5036 | 2609 | ||
5037 | scini(p_card, pCurrCard->ourId, 0); | 2610 | FPT_scini(p_card, pCurrCard->ourId, 0); |
5038 | 2611 | ||
5039 | return(0xFF); | 2612 | return(0xFF); |
5040 | } | 2613 | } |
@@ -5044,34 +2617,8 @@ PNVRamInfo pCurrNvRam; | |||
5044 | 2617 | ||
5045 | WRW_HARPOON((p_port+hp_intstat), FIFO); | 2618 | WRW_HARPOON((p_port+hp_intstat), FIFO); |
5046 | 2619 | ||
5047 | #if defined(HARP_REVX) | ||
5048 | |||
5049 | for (timer=0x00FFFFFFL; timer != 0x00000000L; timer--) { | ||
5050 | |||
5051 | if (RD_HARPOON(p_port+hp_xferstat) & FIFO_EMPTY) | ||
5052 | break; | ||
5053 | |||
5054 | if (RDW_HARPOON((p_port+hp_intstat)) & BUS_FREE) | ||
5055 | break; | ||
5056 | } | ||
5057 | |||
5058 | |||
5059 | if ( (RD_HARPOON(p_port+hp_xferstat) & FIFO_EMPTY) && | ||
5060 | (RD_HARPOON(p_port+hp_fiforead) != | ||
5061 | RD_HARPOON(p_port+hp_fifowrite)) && | ||
5062 | (RD_HARPOON(p_port+hp_xfercnt_0)) | ||
5063 | ) | ||
5064 | |||
5065 | WR_HARPOON((p_port+hp_xferstat), 0x01); | ||
5066 | |||
5067 | /* else | ||
5068 | */ | ||
5069 | /* sxfrp(p_port,p_card); | ||
5070 | */ | ||
5071 | #else | ||
5072 | if (pCurrCard->currentSCCB != NULL) | 2620 | if (pCurrCard->currentSCCB != NULL) |
5073 | sxfrp(p_port,p_card); | 2621 | FPT_sxfrp(p_port,p_card); |
5074 | #endif | ||
5075 | } | 2622 | } |
5076 | 2623 | ||
5077 | else if (p_int & TIMEOUT) | 2624 | else if (p_int & TIMEOUT) |
@@ -5085,12 +2632,12 @@ PNVRamInfo pCurrNvRam; | |||
5085 | pCurrCard->currentSCCB->HostStatus = SCCB_SELECTION_TIMEOUT; | 2632 | pCurrCard->currentSCCB->HostStatus = SCCB_SELECTION_TIMEOUT; |
5086 | 2633 | ||
5087 | 2634 | ||
5088 | currTar_Info = &sccbMgrTbl[p_card][pCurrCard->currentSCCB->TargID]; | 2635 | currTar_Info = &FPT_sccbMgrTbl[p_card][pCurrCard->currentSCCB->TargID]; |
5089 | if((pCurrCard->globalFlags & F_CONLUN_IO) && | 2636 | if((pCurrCard->globalFlags & F_CONLUN_IO) && |
5090 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) | 2637 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) |
5091 | currTar_Info->TarLUNBusy[pCurrCard->currentSCCB->Lun] = FALSE; | 2638 | currTar_Info->TarLUNBusy[pCurrCard->currentSCCB->Lun] = 0; |
5092 | else | 2639 | else |
5093 | currTar_Info->TarLUNBusy[0] = FALSE; | 2640 | currTar_Info->TarLUNBusy[0] = 0; |
5094 | 2641 | ||
5095 | 2642 | ||
5096 | if (currTar_Info->TarEEValue & EE_SYNC_MASK) | 2643 | if (currTar_Info->TarEEValue & EE_SYNC_MASK) |
@@ -5104,26 +2651,23 @@ PNVRamInfo pCurrNvRam; | |||
5104 | currTar_Info->TarStatus &= ~TAR_WIDE_MASK; | 2651 | currTar_Info->TarStatus &= ~TAR_WIDE_MASK; |
5105 | } | 2652 | } |
5106 | 2653 | ||
5107 | sssyncv(p_port, pCurrCard->currentSCCB->TargID, NARROW_SCSI,currTar_Info); | 2654 | FPT_sssyncv(p_port, pCurrCard->currentSCCB->TargID, NARROW_SCSI,currTar_Info); |
5108 | 2655 | ||
5109 | queueCmdComplete(pCurrCard, pCurrCard->currentSCCB, p_card); | 2656 | FPT_queueCmdComplete(pCurrCard, pCurrCard->currentSCCB, p_card); |
5110 | 2657 | ||
5111 | } | 2658 | } |
5112 | 2659 | ||
5113 | #if defined(SCAM_LEV_2) | ||
5114 | |||
5115 | else if (p_int & SCAM_SEL) | 2660 | else if (p_int & SCAM_SEL) |
5116 | { | 2661 | { |
5117 | 2662 | ||
5118 | scarb(p_port,LEVEL2_TAR); | 2663 | FPT_scarb(p_port,LEVEL2_TAR); |
5119 | scsel(p_port); | 2664 | FPT_scsel(p_port); |
5120 | scasid(p_card, p_port); | 2665 | FPT_scasid(p_card, p_port); |
5121 | 2666 | ||
5122 | scbusf(p_port); | 2667 | FPT_scbusf(p_port); |
5123 | 2668 | ||
5124 | WRW_HARPOON((p_port+hp_intstat), SCAM_SEL); | 2669 | WRW_HARPOON((p_port+hp_intstat), SCAM_SEL); |
5125 | } | 2670 | } |
5126 | #endif | ||
5127 | 2671 | ||
5128 | return(0x00); | 2672 | return(0x00); |
5129 | } | 2673 | } |
@@ -5131,126 +2675,25 @@ PNVRamInfo pCurrNvRam; | |||
5131 | 2675 | ||
5132 | /*--------------------------------------------------------------------- | 2676 | /*--------------------------------------------------------------------- |
5133 | * | 2677 | * |
5134 | * Function: SccbMgr_scsi_reset | ||
5135 | * | ||
5136 | * Description: A SCSI bus reset will be generated and all outstanding | ||
5137 | * Sccbs will be returned via the callback. | ||
5138 | * | ||
5139 | *---------------------------------------------------------------------*/ | ||
5140 | #if (FW_TYPE==_UCB_MGR_) | ||
5141 | void SccbMgr_scsi_reset(CARD_HANDLE pCurrCard) | ||
5142 | #else | ||
5143 | #if defined(DOS) | ||
5144 | void SccbMgr_scsi_reset(USHORT pCurrCard) | ||
5145 | #else | ||
5146 | void SccbMgr_scsi_reset(ULONG pCurrCard) | ||
5147 | #endif | ||
5148 | #endif | ||
5149 | { | ||
5150 | UCHAR thisCard; | ||
5151 | |||
5152 | thisCard = ((PSCCBcard)pCurrCard)->cardIndex; | ||
5153 | |||
5154 | mOS_Lock((PSCCBcard)pCurrCard); | ||
5155 | |||
5156 | if (((PSCCBcard) pCurrCard)->globalFlags & F_GREEN_PC) | ||
5157 | { | ||
5158 | WR_HARPOON(((PSCCBcard) pCurrCard)->ioPort+hp_clkctrl_0, CLKCTRL_DEFAULT); | ||
5159 | WR_HARPOON(((PSCCBcard) pCurrCard)->ioPort+hp_sys_ctrl, 0x00); | ||
5160 | } | ||
5161 | |||
5162 | sresb(((PSCCBcard)pCurrCard)->ioPort,thisCard); | ||
5163 | |||
5164 | if (RD_HARPOON(((PSCCBcard)pCurrCard)->ioPort+hp_ext_status) & BM_CMD_BUSY) | ||
5165 | { | ||
5166 | WR_HARPOON(((PSCCBcard) pCurrCard)->ioPort+hp_page_ctrl, | ||
5167 | (RD_HARPOON(((PSCCBcard) pCurrCard)->ioPort+hp_page_ctrl) | ||
5168 | & ~SCATTER_EN)); | ||
5169 | |||
5170 | WR_HARPOON(((PSCCBcard) pCurrCard)->ioPort+hp_sg_addr,0x00); | ||
5171 | |||
5172 | ((PSCCBcard) pCurrCard)->globalFlags &= ~F_HOST_XFER_ACT; | ||
5173 | busMstrTimeOut(((PSCCBcard) pCurrCard)->ioPort); | ||
5174 | |||
5175 | WR_HARPOON(((PSCCBcard) pCurrCard)->ioPort+hp_int_mask, | ||
5176 | (INT_CMD_COMPL | SCSI_INTERRUPT)); | ||
5177 | } | ||
5178 | |||
5179 | /* | ||
5180 | if (utilEERead(((PSCCBcard)pCurrCard)->ioPort, (SCAM_CONFIG/2)) | ||
5181 | & SCAM_ENABLED) | ||
5182 | */ | ||
5183 | scini(thisCard, ((PSCCBcard)pCurrCard)->ourId, 0); | ||
5184 | |||
5185 | #if (FW_TYPE==_UCB_MGR_) | ||
5186 | ((PSCCBcard)pCurrCard)->cardInfo->ai_AEN_routine(0x01,pCurrCard,0,0,0,0); | ||
5187 | #endif | ||
5188 | |||
5189 | mOS_UnLock((PSCCBcard)pCurrCard); | ||
5190 | } | ||
5191 | |||
5192 | |||
5193 | /*--------------------------------------------------------------------- | ||
5194 | * | ||
5195 | * Function: SccbMgr_timer_expired | ||
5196 | * | ||
5197 | * Description: This function allow me to kill my own job that has not | ||
5198 | * yet completed, and has cause a timeout to occur. This | ||
5199 | * timeout has caused the upper level driver to call this | ||
5200 | * function. | ||
5201 | * | ||
5202 | *---------------------------------------------------------------------*/ | ||
5203 | |||
5204 | #if (FW_TYPE==_UCB_MGR_) | ||
5205 | void SccbMgr_timer_expired(CARD_HANDLE pCurrCard) | ||
5206 | #else | ||
5207 | #if defined(DOS) | ||
5208 | void SccbMgr_timer_expired(USHORT pCurrCard) | ||
5209 | #else | ||
5210 | void SccbMgr_timer_expired(ULONG pCurrCard) | ||
5211 | #endif | ||
5212 | #endif | ||
5213 | { | ||
5214 | } | ||
5215 | |||
5216 | #if defined(DOS) | ||
5217 | /*--------------------------------------------------------------------- | ||
5218 | * | ||
5219 | * Function: SccbMgr_status | ||
5220 | * | ||
5221 | * Description: This function returns the number of outstanding SCCB's. | ||
5222 | * This is specific to the DOS enviroment, which needs this | ||
5223 | * to help them keep protected and real mode commands staight. | ||
5224 | * | ||
5225 | *---------------------------------------------------------------------*/ | ||
5226 | |||
5227 | USHORT SccbMgr_status(USHORT pCurrCard) | ||
5228 | { | ||
5229 | return(BL_Card[pCurrCard].cmdCounter); | ||
5230 | } | ||
5231 | #endif | ||
5232 | |||
5233 | /*--------------------------------------------------------------------- | ||
5234 | * | ||
5235 | * Function: SccbMgrTableInit | 2678 | * Function: SccbMgrTableInit |
5236 | * | 2679 | * |
5237 | * Description: Initialize all Sccb manager data structures. | 2680 | * Description: Initialize all Sccb manager data structures. |
5238 | * | 2681 | * |
5239 | *---------------------------------------------------------------------*/ | 2682 | *---------------------------------------------------------------------*/ |
5240 | 2683 | ||
5241 | void SccbMgrTableInitAll() | 2684 | static void FPT_SccbMgrTableInitAll() |
5242 | { | 2685 | { |
5243 | UCHAR thisCard; | 2686 | UCHAR thisCard; |
5244 | 2687 | ||
5245 | for (thisCard = 0; thisCard < MAX_CARDS; thisCard++) | 2688 | for (thisCard = 0; thisCard < MAX_CARDS; thisCard++) |
5246 | { | 2689 | { |
5247 | SccbMgrTableInitCard(&BL_Card[thisCard],thisCard); | 2690 | FPT_SccbMgrTableInitCard(&FPT_BL_Card[thisCard],thisCard); |
5248 | 2691 | ||
5249 | BL_Card[thisCard].ioPort = 0x00; | 2692 | FPT_BL_Card[thisCard].ioPort = 0x00; |
5250 | BL_Card[thisCard].cardInfo = NULL; | 2693 | FPT_BL_Card[thisCard].cardInfo = NULL; |
5251 | BL_Card[thisCard].cardIndex = 0xFF; | 2694 | FPT_BL_Card[thisCard].cardIndex = 0xFF; |
5252 | BL_Card[thisCard].ourId = 0x00; | 2695 | FPT_BL_Card[thisCard].ourId = 0x00; |
5253 | BL_Card[thisCard].pNvRamInfo = NULL; | 2696 | FPT_BL_Card[thisCard].pNvRamInfo = NULL; |
5254 | } | 2697 | } |
5255 | } | 2698 | } |
5256 | 2699 | ||
@@ -5263,20 +2706,20 @@ void SccbMgrTableInitAll() | |||
5263 | * | 2706 | * |
5264 | *---------------------------------------------------------------------*/ | 2707 | *---------------------------------------------------------------------*/ |
5265 | 2708 | ||
5266 | void SccbMgrTableInitCard(PSCCBcard pCurrCard, UCHAR p_card) | 2709 | static void FPT_SccbMgrTableInitCard(PSCCBcard pCurrCard, UCHAR p_card) |
5267 | { | 2710 | { |
5268 | UCHAR scsiID, qtag; | 2711 | UCHAR scsiID, qtag; |
5269 | 2712 | ||
5270 | for (qtag = 0; qtag < QUEUE_DEPTH; qtag++) | 2713 | for (qtag = 0; qtag < QUEUE_DEPTH; qtag++) |
5271 | { | 2714 | { |
5272 | BL_Card[p_card].discQ_Tbl[qtag] = NULL; | 2715 | FPT_BL_Card[p_card].discQ_Tbl[qtag] = NULL; |
5273 | } | 2716 | } |
5274 | 2717 | ||
5275 | for (scsiID = 0; scsiID < MAX_SCSI_TAR; scsiID++) | 2718 | for (scsiID = 0; scsiID < MAX_SCSI_TAR; scsiID++) |
5276 | { | 2719 | { |
5277 | sccbMgrTbl[p_card][scsiID].TarStatus = 0; | 2720 | FPT_sccbMgrTbl[p_card][scsiID].TarStatus = 0; |
5278 | sccbMgrTbl[p_card][scsiID].TarEEValue = 0; | 2721 | FPT_sccbMgrTbl[p_card][scsiID].TarEEValue = 0; |
5279 | SccbMgrTableInitTarget(p_card, scsiID); | 2722 | FPT_SccbMgrTableInitTarget(p_card, scsiID); |
5280 | } | 2723 | } |
5281 | 2724 | ||
5282 | pCurrCard->scanIndex = 0x00; | 2725 | pCurrCard->scanIndex = 0x00; |
@@ -5298,13 +2741,13 @@ void SccbMgrTableInitCard(PSCCBcard pCurrCard, UCHAR p_card) | |||
5298 | * | 2741 | * |
5299 | *---------------------------------------------------------------------*/ | 2742 | *---------------------------------------------------------------------*/ |
5300 | 2743 | ||
5301 | void SccbMgrTableInitTarget(UCHAR p_card, UCHAR target) | 2744 | static void FPT_SccbMgrTableInitTarget(UCHAR p_card, UCHAR target) |
5302 | { | 2745 | { |
5303 | 2746 | ||
5304 | UCHAR lun, qtag; | 2747 | UCHAR lun, qtag; |
5305 | PSCCBMgr_tar_info currTar_Info; | 2748 | PSCCBMgr_tar_info currTar_Info; |
5306 | 2749 | ||
5307 | currTar_Info = &sccbMgrTbl[p_card][target]; | 2750 | currTar_Info = &FPT_sccbMgrTbl[p_card][target]; |
5308 | 2751 | ||
5309 | currTar_Info->TarSelQ_Cnt = 0; | 2752 | currTar_Info->TarSelQ_Cnt = 0; |
5310 | currTar_Info->TarSyncCtrl = 0; | 2753 | currTar_Info->TarSyncCtrl = 0; |
@@ -5312,160 +2755,28 @@ void SccbMgrTableInitTarget(UCHAR p_card, UCHAR target) | |||
5312 | currTar_Info->TarSelQ_Head = NULL; | 2755 | currTar_Info->TarSelQ_Head = NULL; |
5313 | currTar_Info->TarSelQ_Tail = NULL; | 2756 | currTar_Info->TarSelQ_Tail = NULL; |
5314 | currTar_Info->TarTagQ_Cnt = 0; | 2757 | currTar_Info->TarTagQ_Cnt = 0; |
5315 | currTar_Info->TarLUN_CA = FALSE; | 2758 | currTar_Info->TarLUN_CA = 0; |
5316 | 2759 | ||
5317 | 2760 | ||
5318 | for (lun = 0; lun < MAX_LUN; lun++) | 2761 | for (lun = 0; lun < MAX_LUN; lun++) |
5319 | { | 2762 | { |
5320 | currTar_Info->TarLUNBusy[lun] = FALSE; | 2763 | currTar_Info->TarLUNBusy[lun] = 0; |
5321 | currTar_Info->LunDiscQ_Idx[lun] = 0; | 2764 | currTar_Info->LunDiscQ_Idx[lun] = 0; |
5322 | } | 2765 | } |
5323 | 2766 | ||
5324 | for (qtag = 0; qtag < QUEUE_DEPTH; qtag++) | 2767 | for (qtag = 0; qtag < QUEUE_DEPTH; qtag++) |
5325 | { | 2768 | { |
5326 | if(BL_Card[p_card].discQ_Tbl[qtag] != NULL) | 2769 | if(FPT_BL_Card[p_card].discQ_Tbl[qtag] != NULL) |
5327 | { | 2770 | { |
5328 | if(BL_Card[p_card].discQ_Tbl[qtag]->TargID == target) | 2771 | if(FPT_BL_Card[p_card].discQ_Tbl[qtag]->TargID == target) |
5329 | { | 2772 | { |
5330 | BL_Card[p_card].discQ_Tbl[qtag] = NULL; | 2773 | FPT_BL_Card[p_card].discQ_Tbl[qtag] = NULL; |
5331 | BL_Card[p_card].discQCount--; | 2774 | FPT_BL_Card[p_card].discQCount--; |
5332 | } | 2775 | } |
5333 | } | 2776 | } |
5334 | } | 2777 | } |
5335 | } | 2778 | } |
5336 | 2779 | ||
5337 | #if defined(BUGBUG) | ||
5338 | |||
5339 | /***************************************************************** | ||
5340 | * Save the current byte in the debug array | ||
5341 | *****************************************************************/ | ||
5342 | |||
5343 | |||
5344 | void Debug_Load(UCHAR p_card, UCHAR p_bug_data) | ||
5345 | { | ||
5346 | debug_int[p_card][debug_index[p_card]] = p_bug_data; | ||
5347 | debug_index[p_card]++; | ||
5348 | |||
5349 | if (debug_index[p_card] == debug_size) | ||
5350 | |||
5351 | debug_index[p_card] = 0; | ||
5352 | } | ||
5353 | |||
5354 | #endif | ||
5355 | #ident "$Id: sccb_dat.c 1.10 1997/02/22 03:16:02 awin Exp $" | ||
5356 | /*---------------------------------------------------------------------- | ||
5357 | * | ||
5358 | * | ||
5359 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
5360 | * | ||
5361 | * This file is available under both the GNU General Public License | ||
5362 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
5363 | * | ||
5364 | * $Workfile: sccb_dat.c $ | ||
5365 | * | ||
5366 | * Description: Functions relating to handling of the SCCB interface | ||
5367 | * between the device driver and the HARPOON. | ||
5368 | * | ||
5369 | * $Date: 1997/02/22 03:16:02 $ | ||
5370 | * | ||
5371 | * $Revision: 1.10 $ | ||
5372 | * | ||
5373 | *----------------------------------------------------------------------*/ | ||
5374 | |||
5375 | /*#include <globals.h>*/ | ||
5376 | |||
5377 | #if (FW_TYPE==_UCB_MGR_) | ||
5378 | /*#include <budi.h>*/ | ||
5379 | #endif | ||
5380 | |||
5381 | /*#include <sccbmgr.h>*/ | ||
5382 | /*#include <blx30.h>*/ | ||
5383 | /*#include <target.h>*/ | ||
5384 | /*#include <harpoon.h>*/ | ||
5385 | |||
5386 | /* | ||
5387 | ** IMPORTANT NOTE!!! | ||
5388 | ** | ||
5389 | ** You MUST preassign all data to a valid value or zero. This is | ||
5390 | ** required due to the MS compiler bug under OS/2 and Solaris Real-Mode | ||
5391 | ** driver environment. | ||
5392 | */ | ||
5393 | |||
5394 | |||
5395 | SCCBMGR_TAR_INFO sccbMgrTbl[MAX_CARDS][MAX_SCSI_TAR] = { { { 0 } } }; | ||
5396 | SCCBCARD BL_Card[MAX_CARDS] = { { 0 } }; | ||
5397 | SCCBSCAM_INFO scamInfo[MAX_SCSI_TAR] = { { { 0 } } }; | ||
5398 | NVRAMINFO nvRamInfo[MAX_MB_CARDS] = { { 0 } }; | ||
5399 | |||
5400 | |||
5401 | #if defined(OS2) | ||
5402 | void (far *s_PhaseTbl[8]) (ULONG, UCHAR) = { 0 }; | ||
5403 | UCHAR temp_id_string[ID_STRING_LENGTH] = { 0 }; | ||
5404 | #elif defined(SOLARIS_REAL_MODE) || defined(__STDC__) | ||
5405 | void (*s_PhaseTbl[8]) (ULONG, UCHAR) = { 0 }; | ||
5406 | #else | ||
5407 | void (*s_PhaseTbl[8]) (); | ||
5408 | #endif | ||
5409 | |||
5410 | #if defined(DOS) | ||
5411 | UCHAR first_time = 0; | ||
5412 | #endif | ||
5413 | |||
5414 | UCHAR mbCards = 0; | ||
5415 | UCHAR scamHAString[] = {0x63, 0x07, 'B', 'U', 'S', 'L', 'O', 'G', 'I', 'C', \ | ||
5416 | ' ', 'B', 'T', '-', '9', '3', '0', \ | ||
5417 | 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, \ | ||
5418 | 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20}; | ||
5419 | |||
5420 | USHORT default_intena = 0; | ||
5421 | |||
5422 | #if defined(BUGBUG) | ||
5423 | UCHAR debug_int[MAX_CARDS][debug_size] = { 0 }; | ||
5424 | UCHAR debug_index[MAX_CARDS] = { 0 }; | ||
5425 | UCHAR reserved_1[3] = { 0 }; | ||
5426 | #endif | ||
5427 | #ident "$Id: scsi.c 1.23 1997/07/09 21:42:54 mohan Exp $" | ||
5428 | /*---------------------------------------------------------------------- | ||
5429 | * | ||
5430 | * | ||
5431 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
5432 | * | ||
5433 | * This file is available under both the GNU General Public License | ||
5434 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
5435 | * | ||
5436 | * $Workfile: scsi.c $ | ||
5437 | * | ||
5438 | * Description: Functions for handling SCSI bus functions such as | ||
5439 | * selection/reselection, sync negotiation, message-in | ||
5440 | * decoding. | ||
5441 | * | ||
5442 | * $Date: 1997/07/09 21:42:54 $ | ||
5443 | * | ||
5444 | * $Revision: 1.23 $ | ||
5445 | * | ||
5446 | *----------------------------------------------------------------------*/ | ||
5447 | |||
5448 | /*#include <globals.h>*/ | ||
5449 | |||
5450 | #if (FW_TYPE==_UCB_MGR_) | ||
5451 | /*#include <budi.h>*/ | ||
5452 | #endif | ||
5453 | |||
5454 | /*#include <sccbmgr.h>*/ | ||
5455 | /*#include <blx30.h>*/ | ||
5456 | /*#include <target.h>*/ | ||
5457 | /*#include <scsi2.h>*/ | ||
5458 | /*#include <eeprom.h>*/ | ||
5459 | /*#include <harpoon.h>*/ | ||
5460 | |||
5461 | |||
5462 | /* | ||
5463 | extern SCCBCARD BL_Card[MAX_CARDS]; | ||
5464 | extern SCCBMGR_TAR_INFO sccbMgrTbl[MAX_CARDS][MAX_SCSI_TAR]; | ||
5465 | #if defined(BUGBUG) | ||
5466 | void Debug_Load(UCHAR p_card, UCHAR p_bug_data); | ||
5467 | #endif | ||
5468 | */ | ||
5469 | 2780 | ||
5470 | /*--------------------------------------------------------------------- | 2781 | /*--------------------------------------------------------------------- |
5471 | * | 2782 | * |
@@ -5476,11 +2787,7 @@ void Debug_Load(UCHAR p_card, UCHAR p_bug_data); | |||
5476 | * | 2787 | * |
5477 | *---------------------------------------------------------------------*/ | 2788 | *---------------------------------------------------------------------*/ |
5478 | 2789 | ||
5479 | #if defined(DOS) | 2790 | static UCHAR FPT_sfm(ULONG port, PSCCB pCurrSCCB) |
5480 | UCHAR sfm(USHORT port, PSCCB pCurrSCCB) | ||
5481 | #else | ||
5482 | UCHAR sfm(ULONG port, PSCCB pCurrSCCB) | ||
5483 | #endif | ||
5484 | { | 2791 | { |
5485 | UCHAR message; | 2792 | UCHAR message; |
5486 | USHORT TimeOutLoop; | 2793 | USHORT TimeOutLoop; |
@@ -5547,42 +2854,27 @@ UCHAR sfm(ULONG port, PSCCB pCurrSCCB) | |||
5547 | 2854 | ||
5548 | /*--------------------------------------------------------------------- | 2855 | /*--------------------------------------------------------------------- |
5549 | * | 2856 | * |
5550 | * Function: ssel | 2857 | * Function: FPT_ssel |
5551 | * | 2858 | * |
5552 | * Description: Load up automation and select target device. | 2859 | * Description: Load up automation and select target device. |
5553 | * | 2860 | * |
5554 | *---------------------------------------------------------------------*/ | 2861 | *---------------------------------------------------------------------*/ |
5555 | 2862 | ||
5556 | #if defined(DOS) | 2863 | static void FPT_ssel(ULONG port, UCHAR p_card) |
5557 | void ssel(USHORT port, UCHAR p_card) | ||
5558 | #else | ||
5559 | void ssel(ULONG port, UCHAR p_card) | ||
5560 | #endif | ||
5561 | { | 2864 | { |
5562 | 2865 | ||
5563 | #if defined(DOS) | ||
5564 | UCHAR auto_loaded, i, target, *theCCB; | 2866 | UCHAR auto_loaded, i, target, *theCCB; |
5565 | #elif defined(OS2) | ||
5566 | UCHAR auto_loaded, i, target; | ||
5567 | UCHAR far *theCCB; | ||
5568 | #else | ||
5569 | UCHAR auto_loaded, i, target, *theCCB; | ||
5570 | #endif | ||
5571 | 2867 | ||
5572 | #if defined(DOS) | ||
5573 | USHORT cdb_reg; | ||
5574 | #else | ||
5575 | ULONG cdb_reg; | 2868 | ULONG cdb_reg; |
5576 | #endif | ||
5577 | PSCCBcard CurrCard; | 2869 | PSCCBcard CurrCard; |
5578 | PSCCB currSCCB; | 2870 | PSCCB currSCCB; |
5579 | PSCCBMgr_tar_info currTar_Info; | 2871 | PSCCBMgr_tar_info currTar_Info; |
5580 | UCHAR lastTag, lun; | 2872 | UCHAR lastTag, lun; |
5581 | 2873 | ||
5582 | CurrCard = &BL_Card[p_card]; | 2874 | CurrCard = &FPT_BL_Card[p_card]; |
5583 | currSCCB = CurrCard->currentSCCB; | 2875 | currSCCB = CurrCard->currentSCCB; |
5584 | target = currSCCB->TargID; | 2876 | target = currSCCB->TargID; |
5585 | currTar_Info = &sccbMgrTbl[p_card][target]; | 2877 | currTar_Info = &FPT_sccbMgrTbl[p_card][target]; |
5586 | lastTag = CurrCard->tagQ_Lst; | 2878 | lastTag = CurrCard->tagQ_Lst; |
5587 | 2879 | ||
5588 | ARAM_ACCESS(port); | 2880 | ARAM_ACCESS(port); |
@@ -5599,60 +2891,53 @@ void ssel(ULONG port, UCHAR p_card) | |||
5599 | lun = 0; | 2891 | lun = 0; |
5600 | 2892 | ||
5601 | 2893 | ||
5602 | #if defined(DOS) | ||
5603 | currTar_Info->TarLUNBusy[lun] = TRUE; | ||
5604 | |||
5605 | #else | ||
5606 | |||
5607 | if (CurrCard->globalFlags & F_TAG_STARTED) | 2894 | if (CurrCard->globalFlags & F_TAG_STARTED) |
5608 | { | 2895 | { |
5609 | if (!(currSCCB->ControlByte & F_USE_CMD_Q)) | 2896 | if (!(currSCCB->ControlByte & F_USE_CMD_Q)) |
5610 | { | 2897 | { |
5611 | if ((currTar_Info->TarLUN_CA == FALSE) | 2898 | if ((currTar_Info->TarLUN_CA == 0) |
5612 | && ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) | 2899 | && ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) |
5613 | == TAG_Q_TRYING)) | 2900 | == TAG_Q_TRYING)) |
5614 | { | 2901 | { |
5615 | 2902 | ||
5616 | if (currTar_Info->TarTagQ_Cnt !=0) | 2903 | if (currTar_Info->TarTagQ_Cnt !=0) |
5617 | { | 2904 | { |
5618 | currTar_Info->TarLUNBusy[lun] = TRUE; | 2905 | currTar_Info->TarLUNBusy[lun] = 1; |
5619 | queueSelectFail(CurrCard,p_card); | 2906 | FPT_queueSelectFail(CurrCard,p_card); |
5620 | SGRAM_ACCESS(port); | 2907 | SGRAM_ACCESS(port); |
5621 | return; | 2908 | return; |
5622 | } | 2909 | } |
5623 | 2910 | ||
5624 | else { | 2911 | else { |
5625 | currTar_Info->TarLUNBusy[lun] = TRUE; | 2912 | currTar_Info->TarLUNBusy[lun] = 1; |
5626 | } | 2913 | } |
5627 | 2914 | ||
5628 | } /*End non-tagged */ | 2915 | } /*End non-tagged */ |
5629 | 2916 | ||
5630 | else { | 2917 | else { |
5631 | currTar_Info->TarLUNBusy[lun] = TRUE; | 2918 | currTar_Info->TarLUNBusy[lun] = 1; |
5632 | } | 2919 | } |
5633 | 2920 | ||
5634 | } /*!Use cmd Q Tagged */ | 2921 | } /*!Use cmd Q Tagged */ |
5635 | 2922 | ||
5636 | else { | 2923 | else { |
5637 | if (currTar_Info->TarLUN_CA == TRUE) | 2924 | if (currTar_Info->TarLUN_CA == 1) |
5638 | { | 2925 | { |
5639 | queueSelectFail(CurrCard,p_card); | 2926 | FPT_queueSelectFail(CurrCard,p_card); |
5640 | SGRAM_ACCESS(port); | 2927 | SGRAM_ACCESS(port); |
5641 | return; | 2928 | return; |
5642 | } | 2929 | } |
5643 | 2930 | ||
5644 | currTar_Info->TarLUNBusy[lun] = TRUE; | 2931 | currTar_Info->TarLUNBusy[lun] = 1; |
5645 | 2932 | ||
5646 | } /*else use cmd Q tagged */ | 2933 | } /*else use cmd Q tagged */ |
5647 | 2934 | ||
5648 | } /*if glob tagged started */ | 2935 | } /*if glob tagged started */ |
5649 | 2936 | ||
5650 | else { | 2937 | else { |
5651 | currTar_Info->TarLUNBusy[lun] = TRUE; | 2938 | currTar_Info->TarLUNBusy[lun] = 1; |
5652 | } | 2939 | } |
5653 | 2940 | ||
5654 | #endif /* DOS */ | ||
5655 | |||
5656 | 2941 | ||
5657 | 2942 | ||
5658 | if((((CurrCard->globalFlags & F_CONLUN_IO) && | 2943 | if((((CurrCard->globalFlags & F_CONLUN_IO) && |
@@ -5661,8 +2946,8 @@ void ssel(ULONG port, UCHAR p_card) | |||
5661 | { | 2946 | { |
5662 | if(CurrCard->discQCount >= QUEUE_DEPTH) | 2947 | if(CurrCard->discQCount >= QUEUE_DEPTH) |
5663 | { | 2948 | { |
5664 | currTar_Info->TarLUNBusy[lun] = TRUE; | 2949 | currTar_Info->TarLUNBusy[lun] = 1; |
5665 | queueSelectFail(CurrCard,p_card); | 2950 | FPT_queueSelectFail(CurrCard,p_card); |
5666 | SGRAM_ACCESS(port); | 2951 | SGRAM_ACCESS(port); |
5667 | return; | 2952 | return; |
5668 | } | 2953 | } |
@@ -5680,8 +2965,8 @@ void ssel(ULONG port, UCHAR p_card) | |||
5680 | } | 2965 | } |
5681 | if(i == QUEUE_DEPTH) | 2966 | if(i == QUEUE_DEPTH) |
5682 | { | 2967 | { |
5683 | currTar_Info->TarLUNBusy[lun] = TRUE; | 2968 | currTar_Info->TarLUNBusy[lun] = 1; |
5684 | queueSelectFail(CurrCard,p_card); | 2969 | FPT_queueSelectFail(CurrCard,p_card); |
5685 | SGRAM_ACCESS(port); | 2970 | SGRAM_ACCESS(port); |
5686 | return; | 2971 | return; |
5687 | } | 2972 | } |
@@ -5689,7 +2974,7 @@ void ssel(ULONG port, UCHAR p_card) | |||
5689 | 2974 | ||
5690 | 2975 | ||
5691 | 2976 | ||
5692 | auto_loaded = FALSE; | 2977 | auto_loaded = 0; |
5693 | 2978 | ||
5694 | WR_HARPOON(port+hp_select_id, target); | 2979 | WR_HARPOON(port+hp_select_id, target); |
5695 | WR_HARPOON(port+hp_gp_reg_3, target); /* Use by new automation logic */ | 2980 | WR_HARPOON(port+hp_gp_reg_3, target); /* Use by new automation logic */ |
@@ -5703,7 +2988,7 @@ void ssel(ULONG port, UCHAR p_card) | |||
5703 | currSCCB->Sccb_scsimsg = SMDEV_RESET; | 2988 | currSCCB->Sccb_scsimsg = SMDEV_RESET; |
5704 | 2989 | ||
5705 | WR_HARPOON(port+hp_autostart_3, (SELECT+SELCHK_STRT)); | 2990 | WR_HARPOON(port+hp_autostart_3, (SELECT+SELCHK_STRT)); |
5706 | auto_loaded = TRUE; | 2991 | auto_loaded = 1; |
5707 | currSCCB->Sccb_scsistat = SELECT_BDR_ST; | 2992 | currSCCB->Sccb_scsistat = SELECT_BDR_ST; |
5708 | 2993 | ||
5709 | if (currTar_Info->TarEEValue & EE_SYNC_MASK) | 2994 | if (currTar_Info->TarEEValue & EE_SYNC_MASK) |
@@ -5712,16 +2997,13 @@ void ssel(ULONG port, UCHAR p_card) | |||
5712 | currTar_Info->TarStatus &= ~TAR_SYNC_MASK; | 2997 | currTar_Info->TarStatus &= ~TAR_SYNC_MASK; |
5713 | } | 2998 | } |
5714 | 2999 | ||
5715 | #if defined(WIDE_SCSI) | ||
5716 | |||
5717 | if (currTar_Info->TarEEValue & EE_WIDE_SCSI) | 3000 | if (currTar_Info->TarEEValue & EE_WIDE_SCSI) |
5718 | { | 3001 | { |
5719 | currTar_Info->TarStatus &= ~TAR_WIDE_MASK; | 3002 | currTar_Info->TarStatus &= ~TAR_WIDE_MASK; |
5720 | } | 3003 | } |
5721 | #endif | ||
5722 | 3004 | ||
5723 | sssyncv(port, target, NARROW_SCSI,currTar_Info); | 3005 | FPT_sssyncv(port, target, NARROW_SCSI,currTar_Info); |
5724 | SccbMgrTableInitTarget(p_card, target); | 3006 | FPT_SccbMgrTableInitTarget(p_card, target); |
5725 | 3007 | ||
5726 | } | 3008 | } |
5727 | 3009 | ||
@@ -5740,24 +3022,18 @@ void ssel(ULONG port, UCHAR p_card) | |||
5740 | WRW_HARPOON((port+SYNC_MSGS+4), (BRH_OP+ALWAYS+NP )); | 3022 | WRW_HARPOON((port+SYNC_MSGS+4), (BRH_OP+ALWAYS+NP )); |
5741 | 3023 | ||
5742 | WR_HARPOON(port+hp_autostart_3, (SELECT+SELCHK_STRT)); | 3024 | WR_HARPOON(port+hp_autostart_3, (SELECT+SELCHK_STRT)); |
5743 | auto_loaded = TRUE; | 3025 | auto_loaded = 1; |
5744 | 3026 | ||
5745 | } | 3027 | } |
5746 | 3028 | ||
5747 | #if defined(WIDE_SCSI) | ||
5748 | |||
5749 | |||
5750 | else if (!(currTar_Info->TarStatus & WIDE_NEGOCIATED)) { | 3029 | else if (!(currTar_Info->TarStatus & WIDE_NEGOCIATED)) { |
5751 | auto_loaded = siwidn(port,p_card); | 3030 | auto_loaded = FPT_siwidn(port,p_card); |
5752 | currSCCB->Sccb_scsistat = SELECT_WN_ST; | 3031 | currSCCB->Sccb_scsistat = SELECT_WN_ST; |
5753 | } | 3032 | } |
5754 | 3033 | ||
5755 | #endif | ||
5756 | |||
5757 | |||
5758 | else if (!((currTar_Info->TarStatus & TAR_SYNC_MASK) | 3034 | else if (!((currTar_Info->TarStatus & TAR_SYNC_MASK) |
5759 | == SYNC_SUPPORTED)) { | 3035 | == SYNC_SUPPORTED)) { |
5760 | auto_loaded = sisyncn(port,p_card, FALSE); | 3036 | auto_loaded = FPT_sisyncn(port,p_card, 0); |
5761 | currSCCB->Sccb_scsistat = SELECT_SN_ST; | 3037 | currSCCB->Sccb_scsistat = SELECT_SN_ST; |
5762 | } | 3038 | } |
5763 | 3039 | ||
@@ -5765,7 +3041,6 @@ void ssel(ULONG port, UCHAR p_card) | |||
5765 | if (!auto_loaded) | 3041 | if (!auto_loaded) |
5766 | { | 3042 | { |
5767 | 3043 | ||
5768 | #if !defined(DOS) | ||
5769 | if (currSCCB->ControlByte & F_USE_CMD_Q) | 3044 | if (currSCCB->ControlByte & F_USE_CMD_Q) |
5770 | { | 3045 | { |
5771 | 3046 | ||
@@ -5789,7 +3064,7 @@ void ssel(ULONG port, UCHAR p_card) | |||
5789 | the wheels fall off. */ | 3064 | the wheels fall off. */ |
5790 | currSCCB->Sccb_scsistat = SELECT_ST; | 3065 | currSCCB->Sccb_scsistat = SELECT_ST; |
5791 | 3066 | ||
5792 | currTar_Info->TarLUNBusy[lun] = TRUE; | 3067 | currTar_Info->TarLUNBusy[lun] = 1; |
5793 | } | 3068 | } |
5794 | 3069 | ||
5795 | else | 3070 | else |
@@ -5818,8 +3093,8 @@ void ssel(ULONG port, UCHAR p_card) | |||
5818 | 3093 | ||
5819 | if ( i == QUEUE_DEPTH ) | 3094 | if ( i == QUEUE_DEPTH ) |
5820 | { | 3095 | { |
5821 | currTar_Info->TarLUNBusy[lun] = TRUE; | 3096 | currTar_Info->TarLUNBusy[lun] = 1; |
5822 | queueSelectFail(CurrCard,p_card); | 3097 | FPT_queueSelectFail(CurrCard,p_card); |
5823 | SGRAM_ACCESS(port); | 3098 | SGRAM_ACCESS(port); |
5824 | return; | 3099 | return; |
5825 | } | 3100 | } |
@@ -5832,7 +3107,6 @@ void ssel(ULONG port, UCHAR p_card) | |||
5832 | 3107 | ||
5833 | else | 3108 | else |
5834 | { | 3109 | { |
5835 | #endif /* !DOS */ | ||
5836 | 3110 | ||
5837 | WRW_HARPOON((port+ID_MSG_STRT),BRH_OP+ALWAYS+NTCMD); | 3111 | WRW_HARPOON((port+ID_MSG_STRT),BRH_OP+ALWAYS+NTCMD); |
5838 | 3112 | ||
@@ -5842,16 +3116,10 @@ void ssel(ULONG port, UCHAR p_card) | |||
5842 | currSCCB->Sccb_scsistat = SELECT_ST; | 3116 | currSCCB->Sccb_scsistat = SELECT_ST; |
5843 | 3117 | ||
5844 | WR_HARPOON(port+hp_autostart_3, (SELECT+SELCHK_STRT)); | 3118 | WR_HARPOON(port+hp_autostart_3, (SELECT+SELCHK_STRT)); |
5845 | #if !defined(DOS) | ||
5846 | } | 3119 | } |
5847 | #endif | ||
5848 | 3120 | ||
5849 | 3121 | ||
5850 | #if defined(OS2) | ||
5851 | theCCB = (UCHAR far *)&currSCCB->Cdb[0]; | ||
5852 | #else | ||
5853 | theCCB = (UCHAR *)&currSCCB->Cdb[0]; | 3122 | theCCB = (UCHAR *)&currSCCB->Cdb[0]; |
5854 | #endif | ||
5855 | 3123 | ||
5856 | cdb_reg = port + CMD_STRT; | 3124 | cdb_reg = port + CMD_STRT; |
5857 | 3125 | ||
@@ -5867,10 +3135,8 @@ void ssel(ULONG port, UCHAR p_card) | |||
5867 | 3135 | ||
5868 | } /* auto_loaded */ | 3136 | } /* auto_loaded */ |
5869 | 3137 | ||
5870 | #if defined(WIDE_SCSI) | ||
5871 | WRW_HARPOON((port+hp_fiforead), (USHORT) 0x00); | 3138 | WRW_HARPOON((port+hp_fiforead), (USHORT) 0x00); |
5872 | WR_HARPOON(port+hp_xferstat, 0x00); | 3139 | WR_HARPOON(port+hp_xferstat, 0x00); |
5873 | #endif | ||
5874 | 3140 | ||
5875 | WRW_HARPOON((port+hp_intstat), (PROG_HLT | TIMEOUT | SEL | BUS_FREE)); | 3141 | WRW_HARPOON((port+hp_intstat), (PROG_HLT | TIMEOUT | SEL | BUS_FREE)); |
5876 | 3142 | ||
@@ -5899,30 +3165,16 @@ void ssel(ULONG port, UCHAR p_card) | |||
5899 | 3165 | ||
5900 | /*--------------------------------------------------------------------- | 3166 | /*--------------------------------------------------------------------- |
5901 | * | 3167 | * |
5902 | * Function: sres | 3168 | * Function: FPT_sres |
5903 | * | 3169 | * |
5904 | * Description: Hookup the correct CCB and handle the incoming messages. | 3170 | * Description: Hookup the correct CCB and handle the incoming messages. |
5905 | * | 3171 | * |
5906 | *---------------------------------------------------------------------*/ | 3172 | *---------------------------------------------------------------------*/ |
5907 | 3173 | ||
5908 | #if defined(DOS) | 3174 | static void FPT_sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) |
5909 | void sres(USHORT port, UCHAR p_card, PSCCBcard pCurrCard) | ||
5910 | #else | ||
5911 | void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | ||
5912 | #endif | ||
5913 | { | 3175 | { |
5914 | 3176 | ||
5915 | #if defined(V302) | ||
5916 | #ifdef DOS | ||
5917 | UCHAR our_target,message, msgRetryCount; | ||
5918 | extern UCHAR lun, tag; | ||
5919 | #else | ||
5920 | UCHAR our_target,message,lun,tag, msgRetryCount; | ||
5921 | #endif | ||
5922 | |||
5923 | #else /* V302 */ | ||
5924 | UCHAR our_target, message, lun = 0, tag, msgRetryCount; | 3177 | UCHAR our_target, message, lun = 0, tag, msgRetryCount; |
5925 | #endif /* V302 */ | ||
5926 | 3178 | ||
5927 | 3179 | ||
5928 | PSCCBMgr_tar_info currTar_Info; | 3180 | PSCCBMgr_tar_info currTar_Info; |
@@ -5933,7 +3185,7 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
5933 | 3185 | ||
5934 | if(pCurrCard->currentSCCB != NULL) | 3186 | if(pCurrCard->currentSCCB != NULL) |
5935 | { | 3187 | { |
5936 | currTar_Info = &sccbMgrTbl[p_card][pCurrCard->currentSCCB->TargID]; | 3188 | currTar_Info = &FPT_sccbMgrTbl[p_card][pCurrCard->currentSCCB->TargID]; |
5937 | DISABLE_AUTO(port); | 3189 | DISABLE_AUTO(port); |
5938 | 3190 | ||
5939 | 3191 | ||
@@ -5954,7 +3206,7 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
5954 | if(((pCurrCard->globalFlags & F_CONLUN_IO) && | 3206 | if(((pCurrCard->globalFlags & F_CONLUN_IO) && |
5955 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) | 3207 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) |
5956 | { | 3208 | { |
5957 | currTar_Info->TarLUNBusy[currSCCB->Lun] = FALSE; | 3209 | currTar_Info->TarLUNBusy[currSCCB->Lun] = 0; |
5958 | if(currSCCB->Sccb_scsistat != ABORT_ST) | 3210 | if(currSCCB->Sccb_scsistat != ABORT_ST) |
5959 | { | 3211 | { |
5960 | pCurrCard->discQCount--; | 3212 | pCurrCard->discQCount--; |
@@ -5964,7 +3216,7 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
5964 | } | 3216 | } |
5965 | else | 3217 | else |
5966 | { | 3218 | { |
5967 | currTar_Info->TarLUNBusy[0] = FALSE; | 3219 | currTar_Info->TarLUNBusy[0] = 0; |
5968 | if(currSCCB->Sccb_tag) | 3220 | if(currSCCB->Sccb_tag) |
5969 | { | 3221 | { |
5970 | if(currSCCB->Sccb_scsistat != ABORT_ST) | 3222 | if(currSCCB->Sccb_scsistat != ABORT_ST) |
@@ -5982,29 +3234,21 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
5982 | } | 3234 | } |
5983 | } | 3235 | } |
5984 | 3236 | ||
5985 | queueSelectFail(&BL_Card[p_card],p_card); | 3237 | FPT_queueSelectFail(&FPT_BL_Card[p_card],p_card); |
5986 | } | 3238 | } |
5987 | 3239 | ||
5988 | #if defined(WIDE_SCSI) | ||
5989 | WRW_HARPOON((port+hp_fiforead), (USHORT) 0x00); | 3240 | WRW_HARPOON((port+hp_fiforead), (USHORT) 0x00); |
5990 | #endif | ||
5991 | 3241 | ||
5992 | 3242 | ||
5993 | our_target = (UCHAR)(RD_HARPOON(port+hp_select_id) >> 4); | 3243 | our_target = (UCHAR)(RD_HARPOON(port+hp_select_id) >> 4); |
5994 | currTar_Info = &sccbMgrTbl[p_card][our_target]; | 3244 | currTar_Info = &FPT_sccbMgrTbl[p_card][our_target]; |
5995 | 3245 | ||
5996 | 3246 | ||
5997 | msgRetryCount = 0; | 3247 | msgRetryCount = 0; |
5998 | do | 3248 | do |
5999 | { | 3249 | { |
6000 | 3250 | ||
6001 | #if defined(V302) | 3251 | currTar_Info = &FPT_sccbMgrTbl[p_card][our_target]; |
6002 | |||
6003 | message = GetTarLun(port, p_card, our_target, pCurrCard, &tag, &lun); | ||
6004 | |||
6005 | #else /* V302 */ | ||
6006 | |||
6007 | currTar_Info = &sccbMgrTbl[p_card][our_target]; | ||
6008 | tag = 0; | 3252 | tag = 0; |
6009 | 3253 | ||
6010 | 3254 | ||
@@ -6022,7 +3266,7 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
6022 | if ((RD_HARPOON(port+hp_scsisig) & S_SCSI_PHZ) == S_MSGI_PH) | 3266 | if ((RD_HARPOON(port+hp_scsisig) & S_SCSI_PHZ) == S_MSGI_PH) |
6023 | { | 3267 | { |
6024 | 3268 | ||
6025 | message = sfm(port,pCurrCard->currentSCCB); | 3269 | message = FPT_sfm(port,pCurrCard->currentSCCB); |
6026 | if (message) | 3270 | if (message) |
6027 | { | 3271 | { |
6028 | 3272 | ||
@@ -6030,7 +3274,6 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
6030 | { | 3274 | { |
6031 | lun = message & (UCHAR)LUN_MASK; | 3275 | lun = message & (UCHAR)LUN_MASK; |
6032 | 3276 | ||
6033 | #if !defined(DOS) | ||
6034 | if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_TRYING) | 3277 | if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_TRYING) |
6035 | { | 3278 | { |
6036 | if (currTar_Info->TarTagQ_Cnt != 0) | 3279 | if (currTar_Info->TarTagQ_Cnt != 0) |
@@ -6041,21 +3284,21 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
6041 | ACCEPT_MSG(port); /*Release the ACK for ID msg. */ | 3284 | ACCEPT_MSG(port); /*Release the ACK for ID msg. */ |
6042 | 3285 | ||
6043 | 3286 | ||
6044 | message = sfm(port,pCurrCard->currentSCCB); | 3287 | message = FPT_sfm(port,pCurrCard->currentSCCB); |
6045 | if (message) | 3288 | if (message) |
6046 | { | 3289 | { |
6047 | ACCEPT_MSG(port); | 3290 | ACCEPT_MSG(port); |
6048 | } | 3291 | } |
6049 | 3292 | ||
6050 | else | 3293 | else |
6051 | message = FALSE; | 3294 | message = 0; |
6052 | 3295 | ||
6053 | if(message != FALSE) | 3296 | if(message != 0) |
6054 | { | 3297 | { |
6055 | tag = sfm(port,pCurrCard->currentSCCB); | 3298 | tag = FPT_sfm(port,pCurrCard->currentSCCB); |
6056 | 3299 | ||
6057 | if (!(tag)) | 3300 | if (!(tag)) |
6058 | message = FALSE; | 3301 | message = 0; |
6059 | } | 3302 | } |
6060 | 3303 | ||
6061 | } /*C.A. exists! */ | 3304 | } /*C.A. exists! */ |
@@ -6063,7 +3306,6 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
6063 | } /*End Q cnt != 0 */ | 3306 | } /*End Q cnt != 0 */ |
6064 | 3307 | ||
6065 | } /*End Tag cmds supported! */ | 3308 | } /*End Tag cmds supported! */ |
6066 | #endif /* !DOS */ | ||
6067 | 3309 | ||
6068 | } /*End valid ID message. */ | 3310 | } /*End valid ID message. */ |
6069 | 3311 | ||
@@ -6078,7 +3320,7 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
6078 | else | 3320 | else |
6079 | { | 3321 | { |
6080 | 3322 | ||
6081 | message = FALSE; | 3323 | message = 0; |
6082 | } | 3324 | } |
6083 | } | 3325 | } |
6084 | else | 3326 | else |
@@ -6091,49 +3333,47 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
6091 | 3333 | ||
6092 | return; | 3334 | return; |
6093 | } | 3335 | } |
6094 | |||
6095 | #endif /* V302 */ | ||
6096 | 3336 | ||
6097 | if(message == FALSE) | 3337 | if(message == 0) |
6098 | { | 3338 | { |
6099 | msgRetryCount++; | 3339 | msgRetryCount++; |
6100 | if(msgRetryCount == 1) | 3340 | if(msgRetryCount == 1) |
6101 | { | 3341 | { |
6102 | SendMsg(port, SMPARITY); | 3342 | FPT_SendMsg(port, SMPARITY); |
6103 | } | 3343 | } |
6104 | else | 3344 | else |
6105 | { | 3345 | { |
6106 | SendMsg(port, SMDEV_RESET); | 3346 | FPT_SendMsg(port, SMDEV_RESET); |
6107 | 3347 | ||
6108 | sssyncv(port, our_target, NARROW_SCSI,currTar_Info); | 3348 | FPT_sssyncv(port, our_target, NARROW_SCSI,currTar_Info); |
6109 | 3349 | ||
6110 | if (sccbMgrTbl[p_card][our_target].TarEEValue & EE_SYNC_MASK) | 3350 | if (FPT_sccbMgrTbl[p_card][our_target].TarEEValue & EE_SYNC_MASK) |
6111 | { | 3351 | { |
6112 | 3352 | ||
6113 | sccbMgrTbl[p_card][our_target].TarStatus &= ~TAR_SYNC_MASK; | 3353 | FPT_sccbMgrTbl[p_card][our_target].TarStatus &= ~TAR_SYNC_MASK; |
6114 | 3354 | ||
6115 | } | 3355 | } |
6116 | 3356 | ||
6117 | if (sccbMgrTbl[p_card][our_target].TarEEValue & EE_WIDE_SCSI) | 3357 | if (FPT_sccbMgrTbl[p_card][our_target].TarEEValue & EE_WIDE_SCSI) |
6118 | { | 3358 | { |
6119 | 3359 | ||
6120 | sccbMgrTbl[p_card][our_target].TarStatus &= ~TAR_WIDE_MASK; | 3360 | FPT_sccbMgrTbl[p_card][our_target].TarStatus &= ~TAR_WIDE_MASK; |
6121 | } | 3361 | } |
6122 | 3362 | ||
6123 | 3363 | ||
6124 | queueFlushTargSccb(p_card, our_target, SCCB_COMPLETE); | 3364 | FPT_queueFlushTargSccb(p_card, our_target, SCCB_COMPLETE); |
6125 | SccbMgrTableInitTarget(p_card,our_target); | 3365 | FPT_SccbMgrTableInitTarget(p_card,our_target); |
6126 | return; | 3366 | return; |
6127 | } | 3367 | } |
6128 | } | 3368 | } |
6129 | }while(message == FALSE); | 3369 | }while(message == 0); |
6130 | 3370 | ||
6131 | 3371 | ||
6132 | 3372 | ||
6133 | if(((pCurrCard->globalFlags & F_CONLUN_IO) && | 3373 | if(((pCurrCard->globalFlags & F_CONLUN_IO) && |
6134 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) | 3374 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) |
6135 | { | 3375 | { |
6136 | currTar_Info->TarLUNBusy[lun] = TRUE; | 3376 | currTar_Info->TarLUNBusy[lun] = 1; |
6137 | pCurrCard->currentSCCB = pCurrCard->discQ_Tbl[currTar_Info->LunDiscQ_Idx[lun]]; | 3377 | pCurrCard->currentSCCB = pCurrCard->discQ_Tbl[currTar_Info->LunDiscQ_Idx[lun]]; |
6138 | if(pCurrCard->currentSCCB != NULL) | 3378 | if(pCurrCard->currentSCCB != NULL) |
6139 | { | 3379 | { |
@@ -6146,7 +3386,7 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
6146 | } | 3386 | } |
6147 | else | 3387 | else |
6148 | { | 3388 | { |
6149 | currTar_Info->TarLUNBusy[0] = TRUE; | 3389 | currTar_Info->TarLUNBusy[0] = 1; |
6150 | 3390 | ||
6151 | 3391 | ||
6152 | if (tag) | 3392 | if (tag) |
@@ -6182,7 +3422,7 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
6182 | /* During Abort Tag command, the target could have got re-selected | 3422 | /* During Abort Tag command, the target could have got re-selected |
6183 | and completed the command. Check the select Q and remove the CCB | 3423 | and completed the command. Check the select Q and remove the CCB |
6184 | if it is in the Select Q */ | 3424 | if it is in the Select Q */ |
6185 | queueFindSccb(pCurrCard->currentSCCB, p_card); | 3425 | FPT_queueFindSccb(pCurrCard->currentSCCB, p_card); |
6186 | } | 3426 | } |
6187 | } | 3427 | } |
6188 | 3428 | ||
@@ -6192,106 +3432,7 @@ void sres(ULONG port, UCHAR p_card, PSCCBcard pCurrCard) | |||
6192 | (RD_HARPOON(port+hp_scsisig) & SCSI_BSY)) ; | 3432 | (RD_HARPOON(port+hp_scsisig) & SCSI_BSY)) ; |
6193 | } | 3433 | } |
6194 | 3434 | ||
6195 | #if defined(V302) | 3435 | static void FPT_SendMsg(ULONG port, UCHAR message) |
6196 | |||
6197 | #if defined(DOS) | ||
6198 | UCHAR GetTarLun(USHORT port, UCHAR p_card, UCHAR our_target, PSCCBcard pCurrCard, PUCHAR tag, PUCHAR lun) | ||
6199 | #else | ||
6200 | UCHAR GetTarLun(ULONG port, UCHAR p_card, UCHAR our_target, PSCCBcard pCurrCard, PUCHAR tag, PUCHAR lun) | ||
6201 | #endif | ||
6202 | { | ||
6203 | UCHAR message; | ||
6204 | PSCCBMgr_tar_info currTar_Info; | ||
6205 | |||
6206 | |||
6207 | currTar_Info = &sccbMgrTbl[p_card][our_target]; | ||
6208 | *tag = 0; | ||
6209 | |||
6210 | |||
6211 | while(!(RD_HARPOON(port+hp_scsisig) & SCSI_REQ)) | ||
6212 | { | ||
6213 | if (! (RD_HARPOON(port+hp_scsisig) & SCSI_BSY)) | ||
6214 | { | ||
6215 | |||
6216 | WRW_HARPOON((port+hp_intstat), PHASE); | ||
6217 | return(TRUE); | ||
6218 | } | ||
6219 | } | ||
6220 | |||
6221 | WRW_HARPOON((port+hp_intstat), PHASE); | ||
6222 | if ((RD_HARPOON(port+hp_scsisig) & S_SCSI_PHZ) == S_MSGI_PH) | ||
6223 | { | ||
6224 | |||
6225 | message = sfm(port,pCurrCard->currentSCCB); | ||
6226 | if (message) | ||
6227 | { | ||
6228 | |||
6229 | if (message <= (0x80 | LUN_MASK)) | ||
6230 | { | ||
6231 | *lun = message & (UCHAR)LUN_MASK; | ||
6232 | |||
6233 | #if !defined(DOS) | ||
6234 | if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_TRYING) | ||
6235 | { | ||
6236 | if (currTar_Info->TarTagQ_Cnt != 0) | ||
6237 | { | ||
6238 | |||
6239 | if (!(currTar_Info->TarLUN_CA)) | ||
6240 | { | ||
6241 | ACCEPT_MSG(port); /*Release the ACK for ID msg. */ | ||
6242 | |||
6243 | |||
6244 | message = sfm(port,pCurrCard->currentSCCB); | ||
6245 | if (message) | ||
6246 | { | ||
6247 | ACCEPT_MSG(port); | ||
6248 | } | ||
6249 | |||
6250 | else | ||
6251 | return(FALSE); | ||
6252 | |||
6253 | *tag = sfm(port,pCurrCard->currentSCCB); | ||
6254 | |||
6255 | if (!(*tag)) return(FALSE); | ||
6256 | |||
6257 | } /*C.A. exists! */ | ||
6258 | |||
6259 | } /*End Q cnt != 0 */ | ||
6260 | |||
6261 | } /*End Tag cmds supported! */ | ||
6262 | #endif /* !DOS */ | ||
6263 | |||
6264 | } /*End valid ID message. */ | ||
6265 | |||
6266 | else | ||
6267 | { | ||
6268 | |||
6269 | ACCEPT_MSG_ATN(port); | ||
6270 | } | ||
6271 | |||
6272 | } /* End good id message. */ | ||
6273 | |||
6274 | else | ||
6275 | { | ||
6276 | |||
6277 | return(FALSE); | ||
6278 | } | ||
6279 | } | ||
6280 | else | ||
6281 | { | ||
6282 | ACCEPT_MSG_ATN(port); | ||
6283 | return(TRUE); | ||
6284 | } | ||
6285 | return(TRUE); | ||
6286 | } | ||
6287 | |||
6288 | #endif /* V302 */ | ||
6289 | |||
6290 | #if defined(DOS) | ||
6291 | void SendMsg(USHORT port, UCHAR message) | ||
6292 | #else | ||
6293 | void SendMsg(ULONG port, UCHAR message) | ||
6294 | #endif | ||
6295 | { | 3436 | { |
6296 | while(!(RD_HARPOON(port+hp_scsisig) & SCSI_REQ)) | 3437 | while(!(RD_HARPOON(port+hp_scsisig) & SCSI_REQ)) |
6297 | { | 3438 | { |
@@ -6334,26 +3475,22 @@ void SendMsg(ULONG port, UCHAR message) | |||
6334 | 3475 | ||
6335 | /*--------------------------------------------------------------------- | 3476 | /*--------------------------------------------------------------------- |
6336 | * | 3477 | * |
6337 | * Function: sdecm | 3478 | * Function: FPT_sdecm |
6338 | * | 3479 | * |
6339 | * Description: Determine the proper responce to the message from the | 3480 | * Description: Determine the proper responce to the message from the |
6340 | * target device. | 3481 | * target device. |
6341 | * | 3482 | * |
6342 | *---------------------------------------------------------------------*/ | 3483 | *---------------------------------------------------------------------*/ |
6343 | #if defined(DOS) | 3484 | static void FPT_sdecm(UCHAR message, ULONG port, UCHAR p_card) |
6344 | void sdecm(UCHAR message, USHORT port, UCHAR p_card) | ||
6345 | #else | ||
6346 | void sdecm(UCHAR message, ULONG port, UCHAR p_card) | ||
6347 | #endif | ||
6348 | { | 3485 | { |
6349 | PSCCB currSCCB; | 3486 | PSCCB currSCCB; |
6350 | PSCCBcard CurrCard; | 3487 | PSCCBcard CurrCard; |
6351 | PSCCBMgr_tar_info currTar_Info; | 3488 | PSCCBMgr_tar_info currTar_Info; |
6352 | 3489 | ||
6353 | CurrCard = &BL_Card[p_card]; | 3490 | CurrCard = &FPT_BL_Card[p_card]; |
6354 | currSCCB = CurrCard->currentSCCB; | 3491 | currSCCB = CurrCard->currentSCCB; |
6355 | 3492 | ||
6356 | currTar_Info = &sccbMgrTbl[p_card][currSCCB->TargID]; | 3493 | currTar_Info = &FPT_sccbMgrTbl[p_card][currSCCB->TargID]; |
6357 | 3494 | ||
6358 | if (message == SMREST_DATA_PTR) | 3495 | if (message == SMREST_DATA_PTR) |
6359 | { | 3496 | { |
@@ -6361,7 +3498,7 @@ void sdecm(UCHAR message, ULONG port, UCHAR p_card) | |||
6361 | { | 3498 | { |
6362 | currSCCB->Sccb_ATC = currSCCB->Sccb_savedATC; | 3499 | currSCCB->Sccb_ATC = currSCCB->Sccb_savedATC; |
6363 | 3500 | ||
6364 | hostDataXferRestart(currSCCB); | 3501 | FPT_hostDataXferRestart(currSCCB); |
6365 | } | 3502 | } |
6366 | 3503 | ||
6367 | ACCEPT_MSG(port); | 3504 | ACCEPT_MSG(port); |
@@ -6417,7 +3554,6 @@ void sdecm(UCHAR message, ULONG port, UCHAR p_card) | |||
6417 | currTar_Info->TarEEValue &= ~EE_SYNC_MASK; | 3554 | currTar_Info->TarEEValue &= ~EE_SYNC_MASK; |
6418 | } | 3555 | } |
6419 | 3556 | ||
6420 | #if defined(WIDE_SCSI) | ||
6421 | else if ((currSCCB->Sccb_scsistat == SELECT_WN_ST)) | 3557 | else if ((currSCCB->Sccb_scsistat == SELECT_WN_ST)) |
6422 | { | 3558 | { |
6423 | 3559 | ||
@@ -6428,7 +3564,6 @@ void sdecm(UCHAR message, ULONG port, UCHAR p_card) | |||
6428 | currTar_Info->TarEEValue &= ~EE_WIDE_SCSI; | 3564 | currTar_Info->TarEEValue &= ~EE_WIDE_SCSI; |
6429 | 3565 | ||
6430 | } | 3566 | } |
6431 | #endif | ||
6432 | 3567 | ||
6433 | else if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_TRYING ) | 3568 | else if ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) == TAG_Q_TRYING ) |
6434 | { | 3569 | { |
@@ -6460,9 +3595,9 @@ void sdecm(UCHAR message, ULONG port, UCHAR p_card) | |||
6460 | 3595 | ||
6461 | if((CurrCard->globalFlags & F_CONLUN_IO) && | 3596 | if((CurrCard->globalFlags & F_CONLUN_IO) && |
6462 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) | 3597 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) |
6463 | currTar_Info->TarLUNBusy[currSCCB->Lun] = TRUE; | 3598 | currTar_Info->TarLUNBusy[currSCCB->Lun] = 1; |
6464 | else | 3599 | else |
6465 | currTar_Info->TarLUNBusy[0] = TRUE; | 3600 | currTar_Info->TarLUNBusy[0] = 1; |
6466 | 3601 | ||
6467 | 3602 | ||
6468 | currSCCB->ControlByte &= ~(UCHAR)F_USE_CMD_Q; | 3603 | currSCCB->ControlByte &= ~(UCHAR)F_USE_CMD_Q; |
@@ -6490,7 +3625,7 @@ void sdecm(UCHAR message, ULONG port, UCHAR p_card) | |||
6490 | { | 3625 | { |
6491 | 3626 | ||
6492 | ACCEPT_MSG(port); | 3627 | ACCEPT_MSG(port); |
6493 | shandem(port,p_card,currSCCB); | 3628 | FPT_shandem(port,p_card,currSCCB); |
6494 | } | 3629 | } |
6495 | 3630 | ||
6496 | else if (message == SMIGNORWR) | 3631 | else if (message == SMIGNORWR) |
@@ -6498,7 +3633,7 @@ void sdecm(UCHAR message, ULONG port, UCHAR p_card) | |||
6498 | 3633 | ||
6499 | ACCEPT_MSG(port); /* ACK the RESIDUE MSG */ | 3634 | ACCEPT_MSG(port); /* ACK the RESIDUE MSG */ |
6500 | 3635 | ||
6501 | message = sfm(port,currSCCB); | 3636 | message = FPT_sfm(port,currSCCB); |
6502 | 3637 | ||
6503 | if(currSCCB->Sccb_scsimsg != SMPARITY) | 3638 | if(currSCCB->Sccb_scsimsg != SMPARITY) |
6504 | ACCEPT_MSG(port); | 3639 | ACCEPT_MSG(port); |
@@ -6520,25 +3655,21 @@ void sdecm(UCHAR message, ULONG port, UCHAR p_card) | |||
6520 | 3655 | ||
6521 | /*--------------------------------------------------------------------- | 3656 | /*--------------------------------------------------------------------- |
6522 | * | 3657 | * |
6523 | * Function: shandem | 3658 | * Function: FPT_shandem |
6524 | * | 3659 | * |
6525 | * Description: Decide what to do with the extended message. | 3660 | * Description: Decide what to do with the extended message. |
6526 | * | 3661 | * |
6527 | *---------------------------------------------------------------------*/ | 3662 | *---------------------------------------------------------------------*/ |
6528 | #if defined(DOS) | 3663 | static void FPT_shandem(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) |
6529 | void shandem(USHORT port, UCHAR p_card, PSCCB pCurrSCCB) | ||
6530 | #else | ||
6531 | void shandem(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | ||
6532 | #endif | ||
6533 | { | 3664 | { |
6534 | UCHAR length,message; | 3665 | UCHAR length,message; |
6535 | 3666 | ||
6536 | length = sfm(port,pCurrSCCB); | 3667 | length = FPT_sfm(port,pCurrSCCB); |
6537 | if (length) | 3668 | if (length) |
6538 | { | 3669 | { |
6539 | 3670 | ||
6540 | ACCEPT_MSG(port); | 3671 | ACCEPT_MSG(port); |
6541 | message = sfm(port,pCurrSCCB); | 3672 | message = FPT_sfm(port,pCurrSCCB); |
6542 | if (message) | 3673 | if (message) |
6543 | { | 3674 | { |
6544 | 3675 | ||
@@ -6549,7 +3680,7 @@ void shandem(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
6549 | { | 3680 | { |
6550 | 3681 | ||
6551 | ACCEPT_MSG(port); | 3682 | ACCEPT_MSG(port); |
6552 | stsyncn(port,p_card); | 3683 | FPT_stsyncn(port,p_card); |
6553 | } | 3684 | } |
6554 | else | 3685 | else |
6555 | { | 3686 | { |
@@ -6558,7 +3689,6 @@ void shandem(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
6558 | ACCEPT_MSG_ATN(port); | 3689 | ACCEPT_MSG_ATN(port); |
6559 | } | 3690 | } |
6560 | } | 3691 | } |
6561 | #if defined(WIDE_SCSI) | ||
6562 | else if (message == SMWDTR) | 3692 | else if (message == SMWDTR) |
6563 | { | 3693 | { |
6564 | 3694 | ||
@@ -6566,7 +3696,7 @@ void shandem(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
6566 | { | 3696 | { |
6567 | 3697 | ||
6568 | ACCEPT_MSG(port); | 3698 | ACCEPT_MSG(port); |
6569 | stwidn(port,p_card); | 3699 | FPT_stwidn(port,p_card); |
6570 | } | 3700 | } |
6571 | else | 3701 | else |
6572 | { | 3702 | { |
@@ -6577,7 +3707,6 @@ void shandem(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
6577 | WR_HARPOON(port+hp_autostart_1, (AUTO_IMMED+DISCONNECT_START)); | 3707 | WR_HARPOON(port+hp_autostart_1, (AUTO_IMMED+DISCONNECT_START)); |
6578 | } | 3708 | } |
6579 | } | 3709 | } |
6580 | #endif | ||
6581 | else | 3710 | else |
6582 | { | 3711 | { |
6583 | 3712 | ||
@@ -6603,24 +3732,20 @@ void shandem(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
6603 | 3732 | ||
6604 | /*--------------------------------------------------------------------- | 3733 | /*--------------------------------------------------------------------- |
6605 | * | 3734 | * |
6606 | * Function: sisyncn | 3735 | * Function: FPT_sisyncn |
6607 | * | 3736 | * |
6608 | * Description: Read in a message byte from the SCSI bus, and check | 3737 | * Description: Read in a message byte from the SCSI bus, and check |
6609 | * for a parity error. | 3738 | * for a parity error. |
6610 | * | 3739 | * |
6611 | *---------------------------------------------------------------------*/ | 3740 | *---------------------------------------------------------------------*/ |
6612 | 3741 | ||
6613 | #if defined(DOS) | 3742 | static UCHAR FPT_sisyncn(ULONG port, UCHAR p_card, UCHAR syncFlag) |
6614 | UCHAR sisyncn(USHORT port, UCHAR p_card, UCHAR syncFlag) | ||
6615 | #else | ||
6616 | UCHAR sisyncn(ULONG port, UCHAR p_card, UCHAR syncFlag) | ||
6617 | #endif | ||
6618 | { | 3743 | { |
6619 | PSCCB currSCCB; | 3744 | PSCCB currSCCB; |
6620 | PSCCBMgr_tar_info currTar_Info; | 3745 | PSCCBMgr_tar_info currTar_Info; |
6621 | 3746 | ||
6622 | currSCCB = BL_Card[p_card].currentSCCB; | 3747 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
6623 | currTar_Info = &sccbMgrTbl[p_card][currSCCB->TargID]; | 3748 | currTar_Info = &FPT_sccbMgrTbl[p_card][currSCCB->TargID]; |
6624 | 3749 | ||
6625 | if (!((currTar_Info->TarStatus & TAR_SYNC_MASK) == SYNC_TRYING)) { | 3750 | if (!((currTar_Info->TarStatus & TAR_SYNC_MASK) == SYNC_TRYING)) { |
6626 | 3751 | ||
@@ -6656,7 +3781,7 @@ UCHAR sisyncn(ULONG port, UCHAR p_card, UCHAR syncFlag) | |||
6656 | WRW_HARPOON((port+SYNC_MSGS+12),(BRH_OP+ALWAYS+NP )); | 3781 | WRW_HARPOON((port+SYNC_MSGS+12),(BRH_OP+ALWAYS+NP )); |
6657 | 3782 | ||
6658 | 3783 | ||
6659 | if(syncFlag == FALSE) | 3784 | if(syncFlag == 0) |
6660 | { | 3785 | { |
6661 | WR_HARPOON(port+hp_autostart_3, (SELECT+SELCHK_STRT)); | 3786 | WR_HARPOON(port+hp_autostart_3, (SELECT+SELCHK_STRT)); |
6662 | currTar_Info->TarStatus = ((currTar_Info->TarStatus & | 3787 | currTar_Info->TarStatus = ((currTar_Info->TarStatus & |
@@ -6668,14 +3793,14 @@ UCHAR sisyncn(ULONG port, UCHAR p_card, UCHAR syncFlag) | |||
6668 | } | 3793 | } |
6669 | 3794 | ||
6670 | 3795 | ||
6671 | return(TRUE); | 3796 | return(1); |
6672 | } | 3797 | } |
6673 | 3798 | ||
6674 | else { | 3799 | else { |
6675 | 3800 | ||
6676 | currTar_Info->TarStatus |= (UCHAR)SYNC_SUPPORTED; | 3801 | currTar_Info->TarStatus |= (UCHAR)SYNC_SUPPORTED; |
6677 | currTar_Info->TarEEValue &= ~EE_SYNC_MASK; | 3802 | currTar_Info->TarEEValue &= ~EE_SYNC_MASK; |
6678 | return(FALSE); | 3803 | return(0); |
6679 | } | 3804 | } |
6680 | } | 3805 | } |
6681 | 3806 | ||
@@ -6683,26 +3808,22 @@ UCHAR sisyncn(ULONG port, UCHAR p_card, UCHAR syncFlag) | |||
6683 | 3808 | ||
6684 | /*--------------------------------------------------------------------- | 3809 | /*--------------------------------------------------------------------- |
6685 | * | 3810 | * |
6686 | * Function: stsyncn | 3811 | * Function: FPT_stsyncn |
6687 | * | 3812 | * |
6688 | * Description: The has sent us a Sync Nego message so handle it as | 3813 | * Description: The has sent us a Sync Nego message so handle it as |
6689 | * necessary. | 3814 | * necessary. |
6690 | * | 3815 | * |
6691 | *---------------------------------------------------------------------*/ | 3816 | *---------------------------------------------------------------------*/ |
6692 | #if defined(DOS) | 3817 | static void FPT_stsyncn(ULONG port, UCHAR p_card) |
6693 | void stsyncn(USHORT port, UCHAR p_card) | ||
6694 | #else | ||
6695 | void stsyncn(ULONG port, UCHAR p_card) | ||
6696 | #endif | ||
6697 | { | 3818 | { |
6698 | UCHAR sync_msg,offset,sync_reg,our_sync_msg; | 3819 | UCHAR sync_msg,offset,sync_reg,our_sync_msg; |
6699 | PSCCB currSCCB; | 3820 | PSCCB currSCCB; |
6700 | PSCCBMgr_tar_info currTar_Info; | 3821 | PSCCBMgr_tar_info currTar_Info; |
6701 | 3822 | ||
6702 | currSCCB = BL_Card[p_card].currentSCCB; | 3823 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
6703 | currTar_Info = &sccbMgrTbl[p_card][currSCCB->TargID]; | 3824 | currTar_Info = &FPT_sccbMgrTbl[p_card][currSCCB->TargID]; |
6704 | 3825 | ||
6705 | sync_msg = sfm(port,currSCCB); | 3826 | sync_msg = FPT_sfm(port,currSCCB); |
6706 | 3827 | ||
6707 | if((sync_msg == 0x00) && (currSCCB->Sccb_scsimsg == SMPARITY)) | 3828 | if((sync_msg == 0x00) && (currSCCB->Sccb_scsimsg == SMPARITY)) |
6708 | { | 3829 | { |
@@ -6713,7 +3834,7 @@ void stsyncn(ULONG port, UCHAR p_card) | |||
6713 | ACCEPT_MSG(port); | 3834 | ACCEPT_MSG(port); |
6714 | 3835 | ||
6715 | 3836 | ||
6716 | offset = sfm(port,currSCCB); | 3837 | offset = FPT_sfm(port,currSCCB); |
6717 | 3838 | ||
6718 | if((offset == 0x00) && (currSCCB->Sccb_scsimsg == SMPARITY)) | 3839 | if((offset == 0x00) && (currSCCB->Sccb_scsimsg == SMPARITY)) |
6719 | { | 3840 | { |
@@ -6783,7 +3904,6 @@ void stsyncn(ULONG port, UCHAR p_card) | |||
6783 | } | 3904 | } |
6784 | 3905 | ||
6785 | 3906 | ||
6786 | #if defined(WIDE_SCSI) | ||
6787 | if (currTar_Info->TarStatus & WIDE_ENABLED) | 3907 | if (currTar_Info->TarStatus & WIDE_ENABLED) |
6788 | 3908 | ||
6789 | sync_reg |= offset; | 3909 | sync_reg |= offset; |
@@ -6792,11 +3912,7 @@ void stsyncn(ULONG port, UCHAR p_card) | |||
6792 | 3912 | ||
6793 | sync_reg |= (offset | NARROW_SCSI); | 3913 | sync_reg |= (offset | NARROW_SCSI); |
6794 | 3914 | ||
6795 | #else | 3915 | FPT_sssyncv(port,currSCCB->TargID,sync_reg,currTar_Info); |
6796 | sync_reg |= (offset | NARROW_SCSI); | ||
6797 | #endif | ||
6798 | |||
6799 | sssyncv(port,currSCCB->TargID,sync_reg,currTar_Info); | ||
6800 | 3916 | ||
6801 | 3917 | ||
6802 | if (currSCCB->Sccb_scsistat == SELECT_SN_ST) { | 3918 | if (currSCCB->Sccb_scsistat == SELECT_SN_ST) { |
@@ -6815,7 +3931,7 @@ void stsyncn(ULONG port, UCHAR p_card) | |||
6815 | 3931 | ||
6816 | ACCEPT_MSG_ATN(port); | 3932 | ACCEPT_MSG_ATN(port); |
6817 | 3933 | ||
6818 | sisyncr(port,sync_msg,offset); | 3934 | FPT_sisyncr(port,sync_msg,offset); |
6819 | 3935 | ||
6820 | currTar_Info->TarStatus = ((currTar_Info->TarStatus & | 3936 | currTar_Info->TarStatus = ((currTar_Info->TarStatus & |
6821 | ~(UCHAR)TAR_SYNC_MASK) | (UCHAR)SYNC_SUPPORTED); | 3937 | ~(UCHAR)TAR_SYNC_MASK) | (UCHAR)SYNC_SUPPORTED); |
@@ -6825,16 +3941,12 @@ void stsyncn(ULONG port, UCHAR p_card) | |||
6825 | 3941 | ||
6826 | /*--------------------------------------------------------------------- | 3942 | /*--------------------------------------------------------------------- |
6827 | * | 3943 | * |
6828 | * Function: sisyncr | 3944 | * Function: FPT_sisyncr |
6829 | * | 3945 | * |
6830 | * Description: Answer the targets sync message. | 3946 | * Description: Answer the targets sync message. |
6831 | * | 3947 | * |
6832 | *---------------------------------------------------------------------*/ | 3948 | *---------------------------------------------------------------------*/ |
6833 | #if defined(DOS) | 3949 | static void FPT_sisyncr(ULONG port,UCHAR sync_pulse, UCHAR offset) |
6834 | void sisyncr(USHORT port,UCHAR sync_pulse, UCHAR offset) | ||
6835 | #else | ||
6836 | void sisyncr(ULONG port,UCHAR sync_pulse, UCHAR offset) | ||
6837 | #endif | ||
6838 | { | 3950 | { |
6839 | ARAM_ACCESS(port); | 3951 | ARAM_ACCESS(port); |
6840 | WRW_HARPOON((port+SYNC_MSGS+0), (MPM_OP+AMSG_OUT+SMEXT )); | 3952 | WRW_HARPOON((port+SYNC_MSGS+0), (MPM_OP+AMSG_OUT+SMEXT )); |
@@ -6856,28 +3968,22 @@ void sisyncr(ULONG port,UCHAR sync_pulse, UCHAR offset) | |||
6856 | 3968 | ||
6857 | 3969 | ||
6858 | 3970 | ||
6859 | #if defined(WIDE_SCSI) | ||
6860 | |||
6861 | /*--------------------------------------------------------------------- | 3971 | /*--------------------------------------------------------------------- |
6862 | * | 3972 | * |
6863 | * Function: siwidn | 3973 | * Function: FPT_siwidn |
6864 | * | 3974 | * |
6865 | * Description: Read in a message byte from the SCSI bus, and check | 3975 | * Description: Read in a message byte from the SCSI bus, and check |
6866 | * for a parity error. | 3976 | * for a parity error. |
6867 | * | 3977 | * |
6868 | *---------------------------------------------------------------------*/ | 3978 | *---------------------------------------------------------------------*/ |
6869 | 3979 | ||
6870 | #if defined(DOS) | 3980 | static UCHAR FPT_siwidn(ULONG port, UCHAR p_card) |
6871 | UCHAR siwidn(USHORT port, UCHAR p_card) | ||
6872 | #else | ||
6873 | UCHAR siwidn(ULONG port, UCHAR p_card) | ||
6874 | #endif | ||
6875 | { | 3981 | { |
6876 | PSCCB currSCCB; | 3982 | PSCCB currSCCB; |
6877 | PSCCBMgr_tar_info currTar_Info; | 3983 | PSCCBMgr_tar_info currTar_Info; |
6878 | 3984 | ||
6879 | currSCCB = BL_Card[p_card].currentSCCB; | 3985 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
6880 | currTar_Info = &sccbMgrTbl[p_card][currSCCB->TargID]; | 3986 | currTar_Info = &FPT_sccbMgrTbl[p_card][currSCCB->TargID]; |
6881 | 3987 | ||
6882 | if (!((currTar_Info->TarStatus & TAR_WIDE_MASK) == WIDE_NEGOCIATED)) { | 3988 | if (!((currTar_Info->TarStatus & TAR_WIDE_MASK) == WIDE_NEGOCIATED)) { |
6883 | 3989 | ||
@@ -6900,7 +4006,7 @@ UCHAR siwidn(ULONG port, UCHAR p_card) | |||
6900 | currTar_Info->TarStatus = ((currTar_Info->TarStatus & | 4006 | currTar_Info->TarStatus = ((currTar_Info->TarStatus & |
6901 | ~(UCHAR)TAR_WIDE_MASK) | (UCHAR)WIDE_ENABLED); | 4007 | ~(UCHAR)TAR_WIDE_MASK) | (UCHAR)WIDE_ENABLED); |
6902 | 4008 | ||
6903 | return(TRUE); | 4009 | return(1); |
6904 | } | 4010 | } |
6905 | 4011 | ||
6906 | else { | 4012 | else { |
@@ -6909,7 +4015,7 @@ UCHAR siwidn(ULONG port, UCHAR p_card) | |||
6909 | ~(UCHAR)TAR_WIDE_MASK) | WIDE_NEGOCIATED); | 4015 | ~(UCHAR)TAR_WIDE_MASK) | WIDE_NEGOCIATED); |
6910 | 4016 | ||
6911 | currTar_Info->TarEEValue &= ~EE_WIDE_SCSI; | 4017 | currTar_Info->TarEEValue &= ~EE_WIDE_SCSI; |
6912 | return(FALSE); | 4018 | return(0); |
6913 | } | 4019 | } |
6914 | } | 4020 | } |
6915 | 4021 | ||
@@ -6917,26 +4023,22 @@ UCHAR siwidn(ULONG port, UCHAR p_card) | |||
6917 | 4023 | ||
6918 | /*--------------------------------------------------------------------- | 4024 | /*--------------------------------------------------------------------- |
6919 | * | 4025 | * |
6920 | * Function: stwidn | 4026 | * Function: FPT_stwidn |
6921 | * | 4027 | * |
6922 | * Description: The has sent us a Wide Nego message so handle it as | 4028 | * Description: The has sent us a Wide Nego message so handle it as |
6923 | * necessary. | 4029 | * necessary. |
6924 | * | 4030 | * |
6925 | *---------------------------------------------------------------------*/ | 4031 | *---------------------------------------------------------------------*/ |
6926 | #if defined(DOS) | 4032 | static void FPT_stwidn(ULONG port, UCHAR p_card) |
6927 | void stwidn(USHORT port, UCHAR p_card) | ||
6928 | #else | ||
6929 | void stwidn(ULONG port, UCHAR p_card) | ||
6930 | #endif | ||
6931 | { | 4033 | { |
6932 | UCHAR width; | 4034 | UCHAR width; |
6933 | PSCCB currSCCB; | 4035 | PSCCB currSCCB; |
6934 | PSCCBMgr_tar_info currTar_Info; | 4036 | PSCCBMgr_tar_info currTar_Info; |
6935 | 4037 | ||
6936 | currSCCB = BL_Card[p_card].currentSCCB; | 4038 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
6937 | currTar_Info = &sccbMgrTbl[p_card][currSCCB->TargID]; | 4039 | currTar_Info = &FPT_sccbMgrTbl[p_card][currSCCB->TargID]; |
6938 | 4040 | ||
6939 | width = sfm(port,currSCCB); | 4041 | width = FPT_sfm(port,currSCCB); |
6940 | 4042 | ||
6941 | if((width == 0x00) && (currSCCB->Sccb_scsimsg == SMPARITY)) | 4043 | if((width == 0x00) && (currSCCB->Sccb_scsimsg == SMPARITY)) |
6942 | { | 4044 | { |
@@ -6958,7 +4060,7 @@ void stwidn(ULONG port, UCHAR p_card) | |||
6958 | } | 4060 | } |
6959 | 4061 | ||
6960 | 4062 | ||
6961 | sssyncv(port,currSCCB->TargID,width,currTar_Info); | 4063 | FPT_sssyncv(port,currSCCB->TargID,width,currTar_Info); |
6962 | 4064 | ||
6963 | 4065 | ||
6964 | if (currSCCB->Sccb_scsistat == SELECT_WN_ST) | 4066 | if (currSCCB->Sccb_scsistat == SELECT_WN_ST) |
@@ -6972,7 +4074,7 @@ void stwidn(ULONG port, UCHAR p_card) | |||
6972 | { | 4074 | { |
6973 | ACCEPT_MSG_ATN(port); | 4075 | ACCEPT_MSG_ATN(port); |
6974 | ARAM_ACCESS(port); | 4076 | ARAM_ACCESS(port); |
6975 | sisyncn(port,p_card, TRUE); | 4077 | FPT_sisyncn(port,p_card, 1); |
6976 | currSCCB->Sccb_scsistat = SELECT_SN_ST; | 4078 | currSCCB->Sccb_scsistat = SELECT_SN_ST; |
6977 | SGRAM_ACCESS(port); | 4079 | SGRAM_ACCESS(port); |
6978 | } | 4080 | } |
@@ -6993,7 +4095,7 @@ void stwidn(ULONG port, UCHAR p_card) | |||
6993 | else | 4095 | else |
6994 | width = SM8BIT; | 4096 | width = SM8BIT; |
6995 | 4097 | ||
6996 | siwidr(port,width); | 4098 | FPT_siwidr(port,width); |
6997 | 4099 | ||
6998 | currTar_Info->TarStatus |= (WIDE_NEGOCIATED | WIDE_ENABLED); | 4100 | currTar_Info->TarStatus |= (WIDE_NEGOCIATED | WIDE_ENABLED); |
6999 | } | 4101 | } |
@@ -7002,16 +4104,12 @@ void stwidn(ULONG port, UCHAR p_card) | |||
7002 | 4104 | ||
7003 | /*--------------------------------------------------------------------- | 4105 | /*--------------------------------------------------------------------- |
7004 | * | 4106 | * |
7005 | * Function: siwidr | 4107 | * Function: FPT_siwidr |
7006 | * | 4108 | * |
7007 | * Description: Answer the targets Wide nego message. | 4109 | * Description: Answer the targets Wide nego message. |
7008 | * | 4110 | * |
7009 | *---------------------------------------------------------------------*/ | 4111 | *---------------------------------------------------------------------*/ |
7010 | #if defined(DOS) | 4112 | static void FPT_siwidr(ULONG port, UCHAR width) |
7011 | void siwidr(USHORT port, UCHAR width) | ||
7012 | #else | ||
7013 | void siwidr(ULONG port, UCHAR width) | ||
7014 | #endif | ||
7015 | { | 4113 | { |
7016 | ARAM_ACCESS(port); | 4114 | ARAM_ACCESS(port); |
7017 | WRW_HARPOON((port+SYNC_MSGS+0), (MPM_OP+AMSG_OUT+SMEXT )); | 4115 | WRW_HARPOON((port+SYNC_MSGS+0), (MPM_OP+AMSG_OUT+SMEXT )); |
@@ -7030,23 +4128,18 @@ void siwidr(ULONG port, UCHAR width) | |||
7030 | while (!(RDW_HARPOON((port+hp_intstat)) & (BUS_FREE | AUTO_INT))) {} | 4128 | while (!(RDW_HARPOON((port+hp_intstat)) & (BUS_FREE | AUTO_INT))) {} |
7031 | } | 4129 | } |
7032 | 4130 | ||
7033 | #endif | ||
7034 | |||
7035 | 4131 | ||
7036 | 4132 | ||
7037 | /*--------------------------------------------------------------------- | 4133 | /*--------------------------------------------------------------------- |
7038 | * | 4134 | * |
7039 | * Function: sssyncv | 4135 | * Function: FPT_sssyncv |
7040 | * | 4136 | * |
7041 | * Description: Write the desired value to the Sync Register for the | 4137 | * Description: Write the desired value to the Sync Register for the |
7042 | * ID specified. | 4138 | * ID specified. |
7043 | * | 4139 | * |
7044 | *---------------------------------------------------------------------*/ | 4140 | *---------------------------------------------------------------------*/ |
7045 | #if defined(DOS) | 4141 | static void FPT_sssyncv(ULONG p_port, UCHAR p_id, UCHAR p_sync_value, |
7046 | void sssyncv(USHORT p_port, UCHAR p_id, UCHAR p_sync_value,PSCCBMgr_tar_info currTar_Info) | 4142 | PSCCBMgr_tar_info currTar_Info) |
7047 | #else | ||
7048 | void sssyncv(ULONG p_port, UCHAR p_id, UCHAR p_sync_value,PSCCBMgr_tar_info currTar_Info) | ||
7049 | #endif | ||
7050 | { | 4143 | { |
7051 | UCHAR index; | 4144 | UCHAR index; |
7052 | 4145 | ||
@@ -7112,16 +4205,12 @@ void sssyncv(ULONG p_port, UCHAR p_id, UCHAR p_sync_value,PSCCBMgr_tar_info curr | |||
7112 | 4205 | ||
7113 | /*--------------------------------------------------------------------- | 4206 | /*--------------------------------------------------------------------- |
7114 | * | 4207 | * |
7115 | * Function: sresb | 4208 | * Function: FPT_sresb |
7116 | * | 4209 | * |
7117 | * Description: Reset the desired card's SCSI bus. | 4210 | * Description: Reset the desired card's SCSI bus. |
7118 | * | 4211 | * |
7119 | *---------------------------------------------------------------------*/ | 4212 | *---------------------------------------------------------------------*/ |
7120 | #if defined(DOS) | 4213 | static void FPT_sresb(ULONG port, UCHAR p_card) |
7121 | void sresb(USHORT port, UCHAR p_card) | ||
7122 | #else | ||
7123 | void sresb(ULONG port, UCHAR p_card) | ||
7124 | #endif | ||
7125 | { | 4214 | { |
7126 | UCHAR scsiID, i; | 4215 | UCHAR scsiID, i; |
7127 | 4216 | ||
@@ -7145,7 +4234,7 @@ void sresb(ULONG port, UCHAR p_card) | |||
7145 | 4234 | ||
7146 | WR_HARPOON(port+hp_scsictrl_0, ENA_SCAM_SEL); | 4235 | WR_HARPOON(port+hp_scsictrl_0, ENA_SCAM_SEL); |
7147 | 4236 | ||
7148 | Wait(port, TO_5ms); | 4237 | FPT_Wait(port, TO_5ms); |
7149 | 4238 | ||
7150 | WRW_HARPOON((port+hp_intstat), CLR_ALL_INT); | 4239 | WRW_HARPOON((port+hp_intstat), CLR_ALL_INT); |
7151 | 4240 | ||
@@ -7153,7 +4242,7 @@ void sresb(ULONG port, UCHAR p_card) | |||
7153 | 4242 | ||
7154 | for (scsiID = 0; scsiID < MAX_SCSI_TAR; scsiID++) | 4243 | for (scsiID = 0; scsiID < MAX_SCSI_TAR; scsiID++) |
7155 | { | 4244 | { |
7156 | currTar_Info = &sccbMgrTbl[p_card][scsiID]; | 4245 | currTar_Info = &FPT_sccbMgrTbl[p_card][scsiID]; |
7157 | 4246 | ||
7158 | if (currTar_Info->TarEEValue & EE_SYNC_MASK) | 4247 | if (currTar_Info->TarEEValue & EE_SYNC_MASK) |
7159 | { | 4248 | { |
@@ -7166,21 +4255,21 @@ void sresb(ULONG port, UCHAR p_card) | |||
7166 | currTar_Info->TarStatus &= ~TAR_WIDE_MASK; | 4255 | currTar_Info->TarStatus &= ~TAR_WIDE_MASK; |
7167 | } | 4256 | } |
7168 | 4257 | ||
7169 | sssyncv(port, scsiID, NARROW_SCSI,currTar_Info); | 4258 | FPT_sssyncv(port, scsiID, NARROW_SCSI,currTar_Info); |
7170 | 4259 | ||
7171 | SccbMgrTableInitTarget(p_card, scsiID); | 4260 | FPT_SccbMgrTableInitTarget(p_card, scsiID); |
7172 | } | 4261 | } |
7173 | 4262 | ||
7174 | BL_Card[p_card].scanIndex = 0x00; | 4263 | FPT_BL_Card[p_card].scanIndex = 0x00; |
7175 | BL_Card[p_card].currentSCCB = NULL; | 4264 | FPT_BL_Card[p_card].currentSCCB = NULL; |
7176 | BL_Card[p_card].globalFlags &= ~(F_TAG_STARTED | F_HOST_XFER_ACT | 4265 | FPT_BL_Card[p_card].globalFlags &= ~(F_TAG_STARTED | F_HOST_XFER_ACT |
7177 | | F_NEW_SCCB_CMD); | 4266 | | F_NEW_SCCB_CMD); |
7178 | BL_Card[p_card].cmdCounter = 0x00; | 4267 | FPT_BL_Card[p_card].cmdCounter = 0x00; |
7179 | BL_Card[p_card].discQCount = 0x00; | 4268 | FPT_BL_Card[p_card].discQCount = 0x00; |
7180 | BL_Card[p_card].tagQ_Lst = 0x01; | 4269 | FPT_BL_Card[p_card].tagQ_Lst = 0x01; |
7181 | 4270 | ||
7182 | for(i = 0; i < QUEUE_DEPTH; i++) | 4271 | for(i = 0; i < QUEUE_DEPTH; i++) |
7183 | BL_Card[p_card].discQ_Tbl[i] = NULL; | 4272 | FPT_BL_Card[p_card].discQ_Tbl[i] = NULL; |
7184 | 4273 | ||
7185 | WR_HARPOON(port+hp_page_ctrl, | 4274 | WR_HARPOON(port+hp_page_ctrl, |
7186 | (RD_HARPOON(port+hp_page_ctrl) & ~G_INT_DISABLE)); | 4275 | (RD_HARPOON(port+hp_page_ctrl) & ~G_INT_DISABLE)); |
@@ -7189,12 +4278,12 @@ void sresb(ULONG port, UCHAR p_card) | |||
7189 | 4278 | ||
7190 | /*--------------------------------------------------------------------- | 4279 | /*--------------------------------------------------------------------- |
7191 | * | 4280 | * |
7192 | * Function: ssenss | 4281 | * Function: FPT_ssenss |
7193 | * | 4282 | * |
7194 | * Description: Setup for the Auto Sense command. | 4283 | * Description: Setup for the Auto Sense command. |
7195 | * | 4284 | * |
7196 | *---------------------------------------------------------------------*/ | 4285 | *---------------------------------------------------------------------*/ |
7197 | void ssenss(PSCCBcard pCurrCard) | 4286 | static void FPT_ssenss(PSCCBcard pCurrCard) |
7198 | { | 4287 | { |
7199 | UCHAR i; | 4288 | UCHAR i; |
7200 | PSCCB currSCCB; | 4289 | PSCCB currSCCB; |
@@ -7236,27 +4325,23 @@ void ssenss(PSCCBcard pCurrCard) | |||
7236 | 4325 | ||
7237 | /*--------------------------------------------------------------------- | 4326 | /*--------------------------------------------------------------------- |
7238 | * | 4327 | * |
7239 | * Function: sxfrp | 4328 | * Function: FPT_sxfrp |
7240 | * | 4329 | * |
7241 | * Description: Transfer data into the bit bucket until the device | 4330 | * Description: Transfer data into the bit bucket until the device |
7242 | * decides to switch phase. | 4331 | * decides to switch phase. |
7243 | * | 4332 | * |
7244 | *---------------------------------------------------------------------*/ | 4333 | *---------------------------------------------------------------------*/ |
7245 | 4334 | ||
7246 | #if defined(DOS) | 4335 | static void FPT_sxfrp(ULONG p_port, UCHAR p_card) |
7247 | void sxfrp(USHORT p_port, UCHAR p_card) | ||
7248 | #else | ||
7249 | void sxfrp(ULONG p_port, UCHAR p_card) | ||
7250 | #endif | ||
7251 | { | 4336 | { |
7252 | UCHAR curr_phz; | 4337 | UCHAR curr_phz; |
7253 | 4338 | ||
7254 | 4339 | ||
7255 | DISABLE_AUTO(p_port); | 4340 | DISABLE_AUTO(p_port); |
7256 | 4341 | ||
7257 | if (BL_Card[p_card].globalFlags & F_HOST_XFER_ACT) { | 4342 | if (FPT_BL_Card[p_card].globalFlags & F_HOST_XFER_ACT) { |
7258 | 4343 | ||
7259 | hostDataXferAbort(p_port,p_card,BL_Card[p_card].currentSCCB); | 4344 | FPT_hostDataXferAbort(p_port,p_card,FPT_BL_Card[p_card].currentSCCB); |
7260 | 4345 | ||
7261 | } | 4346 | } |
7262 | 4347 | ||
@@ -7322,25 +4407,21 @@ void sxfrp(ULONG p_port, UCHAR p_card) | |||
7322 | 4407 | ||
7323 | /*--------------------------------------------------------------------- | 4408 | /*--------------------------------------------------------------------- |
7324 | * | 4409 | * |
7325 | * Function: schkdd | 4410 | * Function: FPT_schkdd |
7326 | * | 4411 | * |
7327 | * Description: Make sure data has been flushed from both FIFOs and abort | 4412 | * Description: Make sure data has been flushed from both FIFOs and abort |
7328 | * the operations if necessary. | 4413 | * the operations if necessary. |
7329 | * | 4414 | * |
7330 | *---------------------------------------------------------------------*/ | 4415 | *---------------------------------------------------------------------*/ |
7331 | 4416 | ||
7332 | #if defined(DOS) | 4417 | static void FPT_schkdd(ULONG port, UCHAR p_card) |
7333 | void schkdd(USHORT port, UCHAR p_card) | ||
7334 | #else | ||
7335 | void schkdd(ULONG port, UCHAR p_card) | ||
7336 | #endif | ||
7337 | { | 4418 | { |
7338 | USHORT TimeOutLoop; | 4419 | USHORT TimeOutLoop; |
7339 | UCHAR sPhase; | 4420 | UCHAR sPhase; |
7340 | 4421 | ||
7341 | PSCCB currSCCB; | 4422 | PSCCB currSCCB; |
7342 | 4423 | ||
7343 | currSCCB = BL_Card[p_card].currentSCCB; | 4424 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
7344 | 4425 | ||
7345 | 4426 | ||
7346 | if ((currSCCB->Sccb_scsistat != DATA_OUT_ST) && | 4427 | if ((currSCCB->Sccb_scsistat != DATA_OUT_ST) && |
@@ -7378,7 +4459,7 @@ void schkdd(ULONG port, UCHAR p_card) | |||
7378 | } | 4459 | } |
7379 | 4460 | ||
7380 | 4461 | ||
7381 | hostDataXferAbort(port,p_card,currSCCB); | 4462 | FPT_hostDataXferAbort(port,p_card,currSCCB); |
7382 | 4463 | ||
7383 | 4464 | ||
7384 | while (RD_HARPOON(port+hp_scsisig) & SCSI_ACK) {} | 4465 | while (RD_HARPOON(port+hp_scsisig) & SCSI_ACK) {} |
@@ -7412,21 +4493,21 @@ void schkdd(ULONG port, UCHAR p_card) | |||
7412 | if (!(currSCCB->Sccb_XferState & F_ALL_XFERRED)) | 4493 | if (!(currSCCB->Sccb_XferState & F_ALL_XFERRED)) |
7413 | { | 4494 | { |
7414 | if (currSCCB->Sccb_XferState & F_HOST_XFER_DIR) { | 4495 | if (currSCCB->Sccb_XferState & F_HOST_XFER_DIR) { |
7415 | phaseDataIn(port,p_card); | 4496 | FPT_phaseDataIn(port,p_card); |
7416 | } | 4497 | } |
7417 | 4498 | ||
7418 | else { | 4499 | else { |
7419 | phaseDataOut(port,p_card); | 4500 | FPT_phaseDataOut(port,p_card); |
7420 | } | 4501 | } |
7421 | } | 4502 | } |
7422 | else | 4503 | else |
7423 | { | 4504 | { |
7424 | sxfrp(port,p_card); | 4505 | FPT_sxfrp(port,p_card); |
7425 | if (!(RDW_HARPOON((port+hp_intstat)) & | 4506 | if (!(RDW_HARPOON((port+hp_intstat)) & |
7426 | (BUS_FREE | ICMD_COMP | ITAR_DISC | RESET))) | 4507 | (BUS_FREE | ICMD_COMP | ITAR_DISC | RESET))) |
7427 | { | 4508 | { |
7428 | WRW_HARPOON((port+hp_intstat), AUTO_INT); | 4509 | WRW_HARPOON((port+hp_intstat), AUTO_INT); |
7429 | phaseDecode(port,p_card); | 4510 | FPT_phaseDecode(port,p_card); |
7430 | } | 4511 | } |
7431 | } | 4512 | } |
7432 | 4513 | ||
@@ -7440,13 +4521,13 @@ void schkdd(ULONG port, UCHAR p_card) | |||
7440 | 4521 | ||
7441 | /*--------------------------------------------------------------------- | 4522 | /*--------------------------------------------------------------------- |
7442 | * | 4523 | * |
7443 | * Function: sinits | 4524 | * Function: FPT_sinits |
7444 | * | 4525 | * |
7445 | * Description: Setup SCCB manager fields in this SCCB. | 4526 | * Description: Setup SCCB manager fields in this SCCB. |
7446 | * | 4527 | * |
7447 | *---------------------------------------------------------------------*/ | 4528 | *---------------------------------------------------------------------*/ |
7448 | 4529 | ||
7449 | void sinits(PSCCB p_sccb, UCHAR p_card) | 4530 | static void FPT_sinits(PSCCB p_sccb, UCHAR p_card) |
7450 | { | 4531 | { |
7451 | PSCCBMgr_tar_info currTar_Info; | 4532 | PSCCBMgr_tar_info currTar_Info; |
7452 | 4533 | ||
@@ -7454,7 +4535,7 @@ void sinits(PSCCB p_sccb, UCHAR p_card) | |||
7454 | { | 4535 | { |
7455 | return; | 4536 | return; |
7456 | } | 4537 | } |
7457 | currTar_Info = &sccbMgrTbl[p_card][p_sccb->TargID]; | 4538 | currTar_Info = &FPT_sccbMgrTbl[p_card][p_sccb->TargID]; |
7458 | 4539 | ||
7459 | p_sccb->Sccb_XferState = 0x00; | 4540 | p_sccb->Sccb_XferState = 0x00; |
7460 | p_sccb->Sccb_XferCnt = p_sccb->DataLength; | 4541 | p_sccb->Sccb_XferCnt = p_sccb->DataLength; |
@@ -7485,7 +4566,7 @@ void sinits(PSCCB p_sccb, UCHAR p_card) | |||
7485 | else send Cmd with Disconnect Disable */ | 4566 | else send Cmd with Disconnect Disable */ |
7486 | 4567 | ||
7487 | /* | 4568 | /* |
7488 | if (((!(BL_Card[p_card].globalFlags & F_SINGLE_DEVICE)) && | 4569 | if (((!(FPT_BL_Card[p_card].globalFlags & F_SINGLE_DEVICE)) && |
7489 | (currTar_Info->TarStatus & TAR_ALLOW_DISC)) || | 4570 | (currTar_Info->TarStatus & TAR_ALLOW_DISC)) || |
7490 | (currTar_Info->TarStatus & TAG_Q_TRYING)) { | 4571 | (currTar_Info->TarStatus & TAG_Q_TRYING)) { |
7491 | */ | 4572 | */ |
@@ -7518,55 +4599,6 @@ void sinits(PSCCB p_sccb, UCHAR p_card) | |||
7518 | } | 4599 | } |
7519 | 4600 | ||
7520 | 4601 | ||
7521 | #ident "$Id: phase.c 1.11 1997/01/31 02:08:49 mohan Exp $" | ||
7522 | /*---------------------------------------------------------------------- | ||
7523 | * | ||
7524 | * | ||
7525 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
7526 | * | ||
7527 | * This file is available under both the GNU General Public License | ||
7528 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
7529 | * | ||
7530 | * $Workfile: phase.c $ | ||
7531 | * | ||
7532 | * Description: Functions to initially handle the SCSI bus phase when | ||
7533 | * the target asserts request (and the automation is not | ||
7534 | * enabled to handle the situation). | ||
7535 | * | ||
7536 | * $Date: 1997/01/31 02:08:49 $ | ||
7537 | * | ||
7538 | * $Revision: 1.11 $ | ||
7539 | * | ||
7540 | *----------------------------------------------------------------------*/ | ||
7541 | |||
7542 | /*#include <globals.h>*/ | ||
7543 | |||
7544 | #if (FW_TYPE==_UCB_MGR_) | ||
7545 | /*#include <budi.h>*/ | ||
7546 | #endif | ||
7547 | |||
7548 | /*#include <sccbmgr.h>*/ | ||
7549 | /*#include <blx30.h>*/ | ||
7550 | /*#include <target.h>*/ | ||
7551 | /*#include <scsi2.h>*/ | ||
7552 | /*#include <harpoon.h>*/ | ||
7553 | |||
7554 | |||
7555 | /* | ||
7556 | extern SCCBCARD BL_Card[MAX_CARDS]; | ||
7557 | extern SCCBMGR_TAR_INFO sccbMgrTbl[MAX_CARDS][MAX_SCSI_TAR]; | ||
7558 | |||
7559 | #if defined(OS2) | ||
7560 | extern void (far *s_PhaseTbl[8]) (ULONG, UCHAR); | ||
7561 | #else | ||
7562 | #if defined(DOS) | ||
7563 | extern void (*s_PhaseTbl[8]) (USHORT, UCHAR); | ||
7564 | #else | ||
7565 | extern void (*s_PhaseTbl[8]) (ULONG, UCHAR); | ||
7566 | #endif | ||
7567 | #endif | ||
7568 | */ | ||
7569 | |||
7570 | /*--------------------------------------------------------------------- | 4602 | /*--------------------------------------------------------------------- |
7571 | * | 4603 | * |
7572 | * Function: Phase Decode | 4604 | * Function: Phase Decode |
@@ -7575,29 +4607,17 @@ extern SCCBMGR_TAR_INFO sccbMgrTbl[MAX_CARDS][MAX_SCSI_TAR]; | |||
7575 | * | 4607 | * |
7576 | *---------------------------------------------------------------------*/ | 4608 | *---------------------------------------------------------------------*/ |
7577 | 4609 | ||
7578 | #if defined(DOS) | 4610 | static void FPT_phaseDecode(ULONG p_port, UCHAR p_card) |
7579 | void phaseDecode(USHORT p_port, UCHAR p_card) | ||
7580 | #else | ||
7581 | void phaseDecode(ULONG p_port, UCHAR p_card) | ||
7582 | #endif | ||
7583 | { | 4611 | { |
7584 | unsigned char phase_ref; | 4612 | unsigned char phase_ref; |
7585 | #if defined(OS2) | 4613 | void (*phase) (ULONG, UCHAR); |
7586 | void (far *phase) (ULONG, UCHAR); | ||
7587 | #else | ||
7588 | #if defined(DOS) | ||
7589 | void (*phase) (USHORT, UCHAR); | ||
7590 | #else | ||
7591 | void (*phase) (ULONG, UCHAR); | ||
7592 | #endif | ||
7593 | #endif | ||
7594 | 4614 | ||
7595 | 4615 | ||
7596 | DISABLE_AUTO(p_port); | 4616 | DISABLE_AUTO(p_port); |
7597 | 4617 | ||
7598 | phase_ref = (UCHAR) (RD_HARPOON(p_port+hp_scsisig) & S_SCSI_PHZ); | 4618 | phase_ref = (UCHAR) (RD_HARPOON(p_port+hp_scsisig) & S_SCSI_PHZ); |
7599 | 4619 | ||
7600 | phase = s_PhaseTbl[phase_ref]; | 4620 | phase = FPT_s_PhaseTbl[phase_ref]; |
7601 | 4621 | ||
7602 | (*phase)(p_port, p_card); /* Call the correct phase func */ | 4622 | (*phase)(p_port, p_card); /* Call the correct phase func */ |
7603 | } | 4623 | } |
@@ -7612,20 +4632,12 @@ void phaseDecode(ULONG p_port, UCHAR p_card) | |||
7612 | * | 4632 | * |
7613 | *---------------------------------------------------------------------*/ | 4633 | *---------------------------------------------------------------------*/ |
7614 | 4634 | ||
7615 | #if defined(OS2) | 4635 | static void FPT_phaseDataOut(ULONG port, UCHAR p_card) |
7616 | void far phaseDataOut(ULONG port, UCHAR p_card) | ||
7617 | #else | ||
7618 | #if defined(DOS) | ||
7619 | void phaseDataOut(USHORT port, UCHAR p_card) | ||
7620 | #else | ||
7621 | void phaseDataOut(ULONG port, UCHAR p_card) | ||
7622 | #endif | ||
7623 | #endif | ||
7624 | { | 4636 | { |
7625 | 4637 | ||
7626 | PSCCB currSCCB; | 4638 | PSCCB currSCCB; |
7627 | 4639 | ||
7628 | currSCCB = BL_Card[p_card].currentSCCB; | 4640 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
7629 | if (currSCCB == NULL) | 4641 | if (currSCCB == NULL) |
7630 | { | 4642 | { |
7631 | return; /* Exit if No SCCB record */ | 4643 | return; /* Exit if No SCCB record */ |
@@ -7640,14 +4652,7 @@ void phaseDataOut(ULONG port, UCHAR p_card) | |||
7640 | 4652 | ||
7641 | WR_HARPOON(port+hp_autostart_0, (END_DATA+END_DATA_START)); | 4653 | WR_HARPOON(port+hp_autostart_0, (END_DATA+END_DATA_START)); |
7642 | 4654 | ||
7643 | dataXferProcessor(port, &BL_Card[p_card]); | 4655 | FPT_dataXferProcessor(port, &FPT_BL_Card[p_card]); |
7644 | |||
7645 | #if defined(NOBUGBUG) | ||
7646 | if (RDW_HARPOON((port+hp_intstat)) & XFER_CNT_0) | ||
7647 | WRW_HARPOON((port+hp_intstat), XFER_CNT_0); | ||
7648 | |||
7649 | #endif | ||
7650 | |||
7651 | 4656 | ||
7652 | if (currSCCB->Sccb_XferCnt == 0) { | 4657 | if (currSCCB->Sccb_XferCnt == 0) { |
7653 | 4658 | ||
@@ -7656,9 +4661,9 @@ void phaseDataOut(ULONG port, UCHAR p_card) | |||
7656 | (currSCCB->HostStatus == SCCB_COMPLETE)) | 4661 | (currSCCB->HostStatus == SCCB_COMPLETE)) |
7657 | currSCCB->HostStatus = SCCB_DATA_OVER_RUN; | 4662 | currSCCB->HostStatus = SCCB_DATA_OVER_RUN; |
7658 | 4663 | ||
7659 | sxfrp(port,p_card); | 4664 | FPT_sxfrp(port,p_card); |
7660 | if (!(RDW_HARPOON((port+hp_intstat)) & (BUS_FREE | RESET))) | 4665 | if (!(RDW_HARPOON((port+hp_intstat)) & (BUS_FREE | RESET))) |
7661 | phaseDecode(port,p_card); | 4666 | FPT_phaseDecode(port,p_card); |
7662 | } | 4667 | } |
7663 | } | 4668 | } |
7664 | 4669 | ||
@@ -7671,20 +4676,12 @@ void phaseDataOut(ULONG port, UCHAR p_card) | |||
7671 | * | 4676 | * |
7672 | *---------------------------------------------------------------------*/ | 4677 | *---------------------------------------------------------------------*/ |
7673 | 4678 | ||
7674 | #if defined(OS2) | 4679 | static void FPT_phaseDataIn(ULONG port, UCHAR p_card) |
7675 | void far phaseDataIn(ULONG port, UCHAR p_card) | ||
7676 | #else | ||
7677 | #if defined(DOS) | ||
7678 | void phaseDataIn(USHORT port, UCHAR p_card) | ||
7679 | #else | ||
7680 | void phaseDataIn(ULONG port, UCHAR p_card) | ||
7681 | #endif | ||
7682 | #endif | ||
7683 | { | 4680 | { |
7684 | 4681 | ||
7685 | PSCCB currSCCB; | 4682 | PSCCB currSCCB; |
7686 | 4683 | ||
7687 | currSCCB = BL_Card[p_card].currentSCCB; | 4684 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
7688 | 4685 | ||
7689 | if (currSCCB == NULL) | 4686 | if (currSCCB == NULL) |
7690 | { | 4687 | { |
@@ -7702,7 +4699,7 @@ void phaseDataIn(ULONG port, UCHAR p_card) | |||
7702 | 4699 | ||
7703 | WR_HARPOON(port+hp_autostart_0, (END_DATA+END_DATA_START)); | 4700 | WR_HARPOON(port+hp_autostart_0, (END_DATA+END_DATA_START)); |
7704 | 4701 | ||
7705 | dataXferProcessor(port, &BL_Card[p_card]); | 4702 | FPT_dataXferProcessor(port, &FPT_BL_Card[p_card]); |
7706 | 4703 | ||
7707 | if (currSCCB->Sccb_XferCnt == 0) { | 4704 | if (currSCCB->Sccb_XferCnt == 0) { |
7708 | 4705 | ||
@@ -7711,9 +4708,9 @@ void phaseDataIn(ULONG port, UCHAR p_card) | |||
7711 | (currSCCB->HostStatus == SCCB_COMPLETE)) | 4708 | (currSCCB->HostStatus == SCCB_COMPLETE)) |
7712 | currSCCB->HostStatus = SCCB_DATA_OVER_RUN; | 4709 | currSCCB->HostStatus = SCCB_DATA_OVER_RUN; |
7713 | 4710 | ||
7714 | sxfrp(port,p_card); | 4711 | FPT_sxfrp(port,p_card); |
7715 | if (!(RDW_HARPOON((port+hp_intstat)) & (BUS_FREE | RESET))) | 4712 | if (!(RDW_HARPOON((port+hp_intstat)) & (BUS_FREE | RESET))) |
7716 | phaseDecode(port,p_card); | 4713 | FPT_phaseDecode(port,p_card); |
7717 | 4714 | ||
7718 | } | 4715 | } |
7719 | } | 4716 | } |
@@ -7726,25 +4723,13 @@ void phaseDataIn(ULONG port, UCHAR p_card) | |||
7726 | * | 4723 | * |
7727 | *---------------------------------------------------------------------*/ | 4724 | *---------------------------------------------------------------------*/ |
7728 | 4725 | ||
7729 | #if defined(OS2) | 4726 | static void FPT_phaseCommand(ULONG p_port, UCHAR p_card) |
7730 | void far phaseCommand(ULONG p_port, UCHAR p_card) | ||
7731 | #else | ||
7732 | #if defined(DOS) | ||
7733 | void phaseCommand(USHORT p_port, UCHAR p_card) | ||
7734 | #else | ||
7735 | void phaseCommand(ULONG p_port, UCHAR p_card) | ||
7736 | #endif | ||
7737 | #endif | ||
7738 | { | 4727 | { |
7739 | PSCCB currSCCB; | 4728 | PSCCB currSCCB; |
7740 | #if defined(DOS) | ||
7741 | USHORT cdb_reg; | ||
7742 | #else | ||
7743 | ULONG cdb_reg; | 4729 | ULONG cdb_reg; |
7744 | #endif | ||
7745 | UCHAR i; | 4730 | UCHAR i; |
7746 | 4731 | ||
7747 | currSCCB = BL_Card[p_card].currentSCCB; | 4732 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
7748 | 4733 | ||
7749 | if (currSCCB->OperationCode == RESET_COMMAND) { | 4734 | if (currSCCB->OperationCode == RESET_COMMAND) { |
7750 | 4735 | ||
@@ -7790,15 +4775,7 @@ void phaseCommand(ULONG p_port, UCHAR p_card) | |||
7790 | * | 4775 | * |
7791 | *---------------------------------------------------------------------*/ | 4776 | *---------------------------------------------------------------------*/ |
7792 | 4777 | ||
7793 | #if defined(OS2) | 4778 | static void FPT_phaseStatus(ULONG port, UCHAR p_card) |
7794 | void far phaseStatus(ULONG port, UCHAR p_card) | ||
7795 | #else | ||
7796 | #if defined(DOS) | ||
7797 | void phaseStatus(USHORT port, UCHAR p_card) | ||
7798 | #else | ||
7799 | void phaseStatus(ULONG port, UCHAR p_card) | ||
7800 | #endif | ||
7801 | #endif | ||
7802 | { | 4779 | { |
7803 | /* Start-up the automation to finish off this command and let the | 4780 | /* Start-up the automation to finish off this command and let the |
7804 | isr handle the interrupt for command complete when it comes in. | 4781 | isr handle the interrupt for command complete when it comes in. |
@@ -7820,21 +4797,13 @@ void phaseStatus(ULONG port, UCHAR p_card) | |||
7820 | * | 4797 | * |
7821 | *---------------------------------------------------------------------*/ | 4798 | *---------------------------------------------------------------------*/ |
7822 | 4799 | ||
7823 | #if defined(OS2) | 4800 | static void FPT_phaseMsgOut(ULONG port, UCHAR p_card) |
7824 | void far phaseMsgOut(ULONG port, UCHAR p_card) | ||
7825 | #else | ||
7826 | #if defined(DOS) | ||
7827 | void phaseMsgOut(USHORT port, UCHAR p_card) | ||
7828 | #else | ||
7829 | void phaseMsgOut(ULONG port, UCHAR p_card) | ||
7830 | #endif | ||
7831 | #endif | ||
7832 | { | 4801 | { |
7833 | UCHAR message,scsiID; | 4802 | UCHAR message,scsiID; |
7834 | PSCCB currSCCB; | 4803 | PSCCB currSCCB; |
7835 | PSCCBMgr_tar_info currTar_Info; | 4804 | PSCCBMgr_tar_info currTar_Info; |
7836 | 4805 | ||
7837 | currSCCB = BL_Card[p_card].currentSCCB; | 4806 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
7838 | 4807 | ||
7839 | if (currSCCB != NULL) { | 4808 | if (currSCCB != NULL) { |
7840 | 4809 | ||
@@ -7845,34 +4814,34 @@ void phaseMsgOut(ULONG port, UCHAR p_card) | |||
7845 | { | 4814 | { |
7846 | 4815 | ||
7847 | 4816 | ||
7848 | currTar_Info = &sccbMgrTbl[p_card][scsiID]; | 4817 | currTar_Info = &FPT_sccbMgrTbl[p_card][scsiID]; |
7849 | currTar_Info->TarSyncCtrl = 0; | 4818 | currTar_Info->TarSyncCtrl = 0; |
7850 | sssyncv(port, scsiID, NARROW_SCSI,currTar_Info); | 4819 | FPT_sssyncv(port, scsiID, NARROW_SCSI,currTar_Info); |
7851 | 4820 | ||
7852 | if (sccbMgrTbl[p_card][scsiID].TarEEValue & EE_SYNC_MASK) | 4821 | if (FPT_sccbMgrTbl[p_card][scsiID].TarEEValue & EE_SYNC_MASK) |
7853 | { | 4822 | { |
7854 | 4823 | ||
7855 | sccbMgrTbl[p_card][scsiID].TarStatus &= ~TAR_SYNC_MASK; | 4824 | FPT_sccbMgrTbl[p_card][scsiID].TarStatus &= ~TAR_SYNC_MASK; |
7856 | 4825 | ||
7857 | } | 4826 | } |
7858 | 4827 | ||
7859 | if (sccbMgrTbl[p_card][scsiID].TarEEValue & EE_WIDE_SCSI) | 4828 | if (FPT_sccbMgrTbl[p_card][scsiID].TarEEValue & EE_WIDE_SCSI) |
7860 | { | 4829 | { |
7861 | 4830 | ||
7862 | sccbMgrTbl[p_card][scsiID].TarStatus &= ~TAR_WIDE_MASK; | 4831 | FPT_sccbMgrTbl[p_card][scsiID].TarStatus &= ~TAR_WIDE_MASK; |
7863 | } | 4832 | } |
7864 | 4833 | ||
7865 | 4834 | ||
7866 | queueFlushSccb(p_card,SCCB_COMPLETE); | 4835 | FPT_queueFlushSccb(p_card,SCCB_COMPLETE); |
7867 | SccbMgrTableInitTarget(p_card,scsiID); | 4836 | FPT_SccbMgrTableInitTarget(p_card,scsiID); |
7868 | } | 4837 | } |
7869 | else if (currSCCB->Sccb_scsistat == ABORT_ST) | 4838 | else if (currSCCB->Sccb_scsistat == ABORT_ST) |
7870 | { | 4839 | { |
7871 | currSCCB->HostStatus = SCCB_COMPLETE; | 4840 | currSCCB->HostStatus = SCCB_COMPLETE; |
7872 | if(BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] != NULL) | 4841 | if(FPT_BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] != NULL) |
7873 | { | 4842 | { |
7874 | BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] = NULL; | 4843 | FPT_BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] = NULL; |
7875 | sccbMgrTbl[p_card][scsiID].TarTagQ_Cnt--; | 4844 | FPT_sccbMgrTbl[p_card][scsiID].TarTagQ_Cnt--; |
7876 | } | 4845 | } |
7877 | 4846 | ||
7878 | } | 4847 | } |
@@ -7885,7 +4854,7 @@ void phaseMsgOut(ULONG port, UCHAR p_card) | |||
7885 | { | 4854 | { |
7886 | currSCCB->Sccb_MGRFlags |= F_DEV_SELECTED; | 4855 | currSCCB->Sccb_MGRFlags |= F_DEV_SELECTED; |
7887 | 4856 | ||
7888 | ssel(port,p_card); | 4857 | FPT_ssel(port,p_card); |
7889 | return; | 4858 | return; |
7890 | } | 4859 | } |
7891 | } | 4860 | } |
@@ -7895,7 +4864,7 @@ void phaseMsgOut(ULONG port, UCHAR p_card) | |||
7895 | 4864 | ||
7896 | if (message == SMABORT) | 4865 | if (message == SMABORT) |
7897 | 4866 | ||
7898 | queueFlushSccb(p_card,SCCB_COMPLETE); | 4867 | FPT_queueFlushSccb(p_card,SCCB_COMPLETE); |
7899 | } | 4868 | } |
7900 | 4869 | ||
7901 | } | 4870 | } |
@@ -7930,25 +4899,25 @@ void phaseMsgOut(ULONG port, UCHAR p_card) | |||
7930 | if (currSCCB != NULL) | 4899 | if (currSCCB != NULL) |
7931 | { | 4900 | { |
7932 | 4901 | ||
7933 | if((BL_Card[p_card].globalFlags & F_CONLUN_IO) && | 4902 | if((FPT_BL_Card[p_card].globalFlags & F_CONLUN_IO) && |
7934 | ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) | 4903 | ((FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) |
7935 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = FALSE; | 4904 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = 0; |
7936 | else | 4905 | else |
7937 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = FALSE; | 4906 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = 0; |
7938 | 4907 | ||
7939 | queueCmdComplete(&BL_Card[p_card],currSCCB, p_card); | 4908 | FPT_queueCmdComplete(&FPT_BL_Card[p_card],currSCCB, p_card); |
7940 | } | 4909 | } |
7941 | 4910 | ||
7942 | else | 4911 | else |
7943 | { | 4912 | { |
7944 | BL_Card[p_card].globalFlags |= F_NEW_SCCB_CMD; | 4913 | FPT_BL_Card[p_card].globalFlags |= F_NEW_SCCB_CMD; |
7945 | } | 4914 | } |
7946 | } | 4915 | } |
7947 | 4916 | ||
7948 | else | 4917 | else |
7949 | { | 4918 | { |
7950 | 4919 | ||
7951 | sxfrp(port,p_card); | 4920 | FPT_sxfrp(port,p_card); |
7952 | } | 4921 | } |
7953 | } | 4922 | } |
7954 | 4923 | ||
@@ -7962,7 +4931,7 @@ void phaseMsgOut(ULONG port, UCHAR p_card) | |||
7962 | } | 4931 | } |
7963 | else | 4932 | else |
7964 | { | 4933 | { |
7965 | sxfrp(port,p_card); | 4934 | FPT_sxfrp(port,p_card); |
7966 | } | 4935 | } |
7967 | } | 4936 | } |
7968 | } | 4937 | } |
@@ -7976,25 +4945,17 @@ void phaseMsgOut(ULONG port, UCHAR p_card) | |||
7976 | * | 4945 | * |
7977 | *---------------------------------------------------------------------*/ | 4946 | *---------------------------------------------------------------------*/ |
7978 | 4947 | ||
7979 | #if defined(OS2) | 4948 | static void FPT_phaseMsgIn(ULONG port, UCHAR p_card) |
7980 | void far phaseMsgIn(ULONG port, UCHAR p_card) | ||
7981 | #else | ||
7982 | #if defined(DOS) | ||
7983 | void phaseMsgIn(USHORT port, UCHAR p_card) | ||
7984 | #else | ||
7985 | void phaseMsgIn(ULONG port, UCHAR p_card) | ||
7986 | #endif | ||
7987 | #endif | ||
7988 | { | 4949 | { |
7989 | UCHAR message; | 4950 | UCHAR message; |
7990 | PSCCB currSCCB; | 4951 | PSCCB currSCCB; |
7991 | 4952 | ||
7992 | currSCCB = BL_Card[p_card].currentSCCB; | 4953 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
7993 | 4954 | ||
7994 | if (BL_Card[p_card].globalFlags & F_HOST_XFER_ACT) | 4955 | if (FPT_BL_Card[p_card].globalFlags & F_HOST_XFER_ACT) |
7995 | { | 4956 | { |
7996 | 4957 | ||
7997 | phaseChkFifo(port, p_card); | 4958 | FPT_phaseChkFifo(port, p_card); |
7998 | } | 4959 | } |
7999 | 4960 | ||
8000 | message = RD_HARPOON(port+hp_scsidata_0); | 4961 | message = RD_HARPOON(port+hp_scsidata_0); |
@@ -8008,12 +4969,12 @@ void phaseMsgIn(ULONG port, UCHAR p_card) | |||
8008 | else | 4969 | else |
8009 | { | 4970 | { |
8010 | 4971 | ||
8011 | message = sfm(port,currSCCB); | 4972 | message = FPT_sfm(port,currSCCB); |
8012 | if (message) | 4973 | if (message) |
8013 | { | 4974 | { |
8014 | 4975 | ||
8015 | 4976 | ||
8016 | sdecm(message,port,p_card); | 4977 | FPT_sdecm(message,port,p_card); |
8017 | 4978 | ||
8018 | } | 4979 | } |
8019 | else | 4980 | else |
@@ -8037,19 +4998,11 @@ void phaseMsgIn(ULONG port, UCHAR p_card) | |||
8037 | * | 4998 | * |
8038 | *---------------------------------------------------------------------*/ | 4999 | *---------------------------------------------------------------------*/ |
8039 | 5000 | ||
8040 | #if defined(OS2) | 5001 | static void FPT_phaseIllegal(ULONG port, UCHAR p_card) |
8041 | void far phaseIllegal(ULONG port, UCHAR p_card) | ||
8042 | #else | ||
8043 | #if defined(DOS) | ||
8044 | void phaseIllegal(USHORT port, UCHAR p_card) | ||
8045 | #else | ||
8046 | void phaseIllegal(ULONG port, UCHAR p_card) | ||
8047 | #endif | ||
8048 | #endif | ||
8049 | { | 5002 | { |
8050 | PSCCB currSCCB; | 5003 | PSCCB currSCCB; |
8051 | 5004 | ||
8052 | currSCCB = BL_Card[p_card].currentSCCB; | 5005 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
8053 | 5006 | ||
8054 | WR_HARPOON(port+hp_scsisig, RD_HARPOON(port+hp_scsisig)); | 5007 | WR_HARPOON(port+hp_scsisig, RD_HARPOON(port+hp_scsisig)); |
8055 | if (currSCCB != NULL) { | 5008 | if (currSCCB != NULL) { |
@@ -8073,16 +5026,12 @@ void phaseIllegal(ULONG port, UCHAR p_card) | |||
8073 | * | 5026 | * |
8074 | *---------------------------------------------------------------------*/ | 5027 | *---------------------------------------------------------------------*/ |
8075 | 5028 | ||
8076 | #if defined(DOS) | 5029 | static void FPT_phaseChkFifo(ULONG port, UCHAR p_card) |
8077 | void phaseChkFifo(USHORT port, UCHAR p_card) | ||
8078 | #else | ||
8079 | void phaseChkFifo(ULONG port, UCHAR p_card) | ||
8080 | #endif | ||
8081 | { | 5030 | { |
8082 | ULONG xfercnt; | 5031 | ULONG xfercnt; |
8083 | PSCCB currSCCB; | 5032 | PSCCB currSCCB; |
8084 | 5033 | ||
8085 | currSCCB = BL_Card[p_card].currentSCCB; | 5034 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
8086 | 5035 | ||
8087 | if (currSCCB->Sccb_scsistat == DATA_IN_ST) | 5036 | if (currSCCB->Sccb_scsistat == DATA_IN_ST) |
8088 | { | 5037 | { |
@@ -8104,9 +5053,9 @@ void phaseChkFifo(ULONG port, UCHAR p_card) | |||
8104 | WRW_HARPOON((port+hp_intstat), PARITY); | 5053 | WRW_HARPOON((port+hp_intstat), PARITY); |
8105 | } | 5054 | } |
8106 | 5055 | ||
8107 | hostDataXferAbort(port,p_card,currSCCB); | 5056 | FPT_hostDataXferAbort(port,p_card,currSCCB); |
8108 | 5057 | ||
8109 | dataXferProcessor(port, &BL_Card[p_card]); | 5058 | FPT_dataXferProcessor(port, &FPT_BL_Card[p_card]); |
8110 | 5059 | ||
8111 | while((!(RD_HARPOON(port+hp_xferstat) & FIFO_EMPTY)) && | 5060 | while((!(RD_HARPOON(port+hp_xferstat) & FIFO_EMPTY)) && |
8112 | (RD_HARPOON(port+hp_ext_status) & BM_CMD_BUSY)) {} | 5061 | (RD_HARPOON(port+hp_ext_status) & BM_CMD_BUSY)) {} |
@@ -8116,22 +5065,7 @@ void phaseChkFifo(ULONG port, UCHAR p_card) | |||
8116 | 5065 | ||
8117 | 5066 | ||
8118 | 5067 | ||
8119 | #if defined(DOS) | ||
8120 | asm { mov dx,port; | ||
8121 | add dx,hp_xfercnt_2; | ||
8122 | in al,dx; | ||
8123 | dec dx; | ||
8124 | xor ah,ah; | ||
8125 | mov word ptr xfercnt+2,ax; | ||
8126 | in al,dx; | ||
8127 | dec dx; | ||
8128 | mov ah,al; | ||
8129 | in al,dx; | ||
8130 | mov word ptr xfercnt,ax; | ||
8131 | } | ||
8132 | #else | ||
8133 | GET_XFER_CNT(port,xfercnt); | 5068 | GET_XFER_CNT(port,xfercnt); |
8134 | #endif | ||
8135 | 5069 | ||
8136 | 5070 | ||
8137 | WR_HARPOON(port+hp_xfercnt_0, 0x00); | 5071 | WR_HARPOON(port+hp_xfercnt_0, 0x00); |
@@ -8151,7 +5085,7 @@ void phaseChkFifo(ULONG port, UCHAR p_card) | |||
8151 | } | 5085 | } |
8152 | 5086 | ||
8153 | 5087 | ||
8154 | hostDataXferAbort(port,p_card,currSCCB); | 5088 | FPT_hostDataXferAbort(port,p_card,currSCCB); |
8155 | 5089 | ||
8156 | 5090 | ||
8157 | WR_HARPOON(port+hp_fifowrite, 0x00); | 5091 | WR_HARPOON(port+hp_fifowrite, 0x00); |
@@ -8170,15 +5104,11 @@ void phaseChkFifo(ULONG port, UCHAR p_card) | |||
8170 | * because of command complete or from a disconnect. | 5104 | * because of command complete or from a disconnect. |
8171 | * | 5105 | * |
8172 | *---------------------------------------------------------------------*/ | 5106 | *---------------------------------------------------------------------*/ |
8173 | #if defined(DOS) | 5107 | static void FPT_phaseBusFree(ULONG port, UCHAR p_card) |
8174 | void phaseBusFree(USHORT port, UCHAR p_card) | ||
8175 | #else | ||
8176 | void phaseBusFree(ULONG port, UCHAR p_card) | ||
8177 | #endif | ||
8178 | { | 5108 | { |
8179 | PSCCB currSCCB; | 5109 | PSCCB currSCCB; |
8180 | 5110 | ||
8181 | currSCCB = BL_Card[p_card].currentSCCB; | 5111 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
8182 | 5112 | ||
8183 | if (currSCCB != NULL) | 5113 | if (currSCCB != NULL) |
8184 | { | 5114 | { |
@@ -8189,35 +5119,34 @@ void phaseBusFree(ULONG port, UCHAR p_card) | |||
8189 | if (currSCCB->OperationCode == RESET_COMMAND) | 5119 | if (currSCCB->OperationCode == RESET_COMMAND) |
8190 | { | 5120 | { |
8191 | 5121 | ||
8192 | if((BL_Card[p_card].globalFlags & F_CONLUN_IO) && | 5122 | if((FPT_BL_Card[p_card].globalFlags & F_CONLUN_IO) && |
8193 | ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) | 5123 | ((FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) |
8194 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = FALSE; | 5124 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = 0; |
8195 | else | 5125 | else |
8196 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = FALSE; | 5126 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = 0; |
8197 | 5127 | ||
8198 | queueCmdComplete(&BL_Card[p_card], currSCCB, p_card); | 5128 | FPT_queueCmdComplete(&FPT_BL_Card[p_card], currSCCB, p_card); |
8199 | 5129 | ||
8200 | queueSearchSelect(&BL_Card[p_card],p_card); | 5130 | FPT_queueSearchSelect(&FPT_BL_Card[p_card],p_card); |
8201 | 5131 | ||
8202 | } | 5132 | } |
8203 | 5133 | ||
8204 | else if(currSCCB->Sccb_scsistat == SELECT_SN_ST) | 5134 | else if(currSCCB->Sccb_scsistat == SELECT_SN_ST) |
8205 | { | 5135 | { |
8206 | sccbMgrTbl[p_card][currSCCB->TargID].TarStatus |= | 5136 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus |= |
8207 | (UCHAR)SYNC_SUPPORTED; | 5137 | (UCHAR)SYNC_SUPPORTED; |
8208 | sccbMgrTbl[p_card][currSCCB->TargID].TarEEValue &= ~EE_SYNC_MASK; | 5138 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarEEValue &= ~EE_SYNC_MASK; |
8209 | } | 5139 | } |
8210 | 5140 | ||
8211 | else if(currSCCB->Sccb_scsistat == SELECT_WN_ST) | 5141 | else if(currSCCB->Sccb_scsistat == SELECT_WN_ST) |
8212 | { | 5142 | { |
8213 | sccbMgrTbl[p_card][currSCCB->TargID].TarStatus = | 5143 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus = |
8214 | (sccbMgrTbl[p_card][currSCCB->TargID]. | 5144 | (FPT_sccbMgrTbl[p_card][currSCCB->TargID]. |
8215 | TarStatus & ~WIDE_ENABLED) | WIDE_NEGOCIATED; | 5145 | TarStatus & ~WIDE_ENABLED) | WIDE_NEGOCIATED; |
8216 | 5146 | ||
8217 | sccbMgrTbl[p_card][currSCCB->TargID].TarEEValue &= ~EE_WIDE_SCSI; | 5147 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarEEValue &= ~EE_WIDE_SCSI; |
8218 | } | 5148 | } |
8219 | 5149 | ||
8220 | #if !defined(DOS) | ||
8221 | else if(currSCCB->Sccb_scsistat == SELECT_Q_ST) | 5150 | else if(currSCCB->Sccb_scsistat == SELECT_Q_ST) |
8222 | { | 5151 | { |
8223 | /* Make sure this is not a phony BUS_FREE. If we were | 5152 | /* Make sure this is not a phony BUS_FREE. If we were |
@@ -8227,8 +5156,8 @@ void phaseBusFree(ULONG port, UCHAR p_card) | |||
8227 | if ((!(RD_HARPOON(port+hp_scsisig) & SCSI_BSY)) || | 5156 | if ((!(RD_HARPOON(port+hp_scsisig) & SCSI_BSY)) || |
8228 | (RDW_HARPOON((port+hp_intstat)) & RSEL)) | 5157 | (RDW_HARPOON((port+hp_intstat)) & RSEL)) |
8229 | { | 5158 | { |
8230 | sccbMgrTbl[p_card][currSCCB->TargID].TarStatus &= ~TAR_TAG_Q_MASK; | 5159 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus &= ~TAR_TAG_Q_MASK; |
8231 | sccbMgrTbl[p_card][currSCCB->TargID].TarStatus |= TAG_Q_REJECT; | 5160 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus |= TAG_Q_REJECT; |
8232 | } | 5161 | } |
8233 | 5162 | ||
8234 | else | 5163 | else |
@@ -8236,7 +5165,6 @@ void phaseBusFree(ULONG port, UCHAR p_card) | |||
8236 | return; | 5165 | return; |
8237 | } | 5166 | } |
8238 | } | 5167 | } |
8239 | #endif | ||
8240 | 5168 | ||
8241 | else | 5169 | else |
8242 | { | 5170 | { |
@@ -8248,18 +5176,18 @@ void phaseBusFree(ULONG port, UCHAR p_card) | |||
8248 | currSCCB->HostStatus = SCCB_PHASE_SEQUENCE_FAIL; | 5176 | currSCCB->HostStatus = SCCB_PHASE_SEQUENCE_FAIL; |
8249 | } | 5177 | } |
8250 | 5178 | ||
8251 | if((BL_Card[p_card].globalFlags & F_CONLUN_IO) && | 5179 | if((FPT_BL_Card[p_card].globalFlags & F_CONLUN_IO) && |
8252 | ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) | 5180 | ((FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) |
8253 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = FALSE; | 5181 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = 0; |
8254 | else | 5182 | else |
8255 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = FALSE; | 5183 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = 0; |
8256 | 5184 | ||
8257 | queueCmdComplete(&BL_Card[p_card], currSCCB, p_card); | 5185 | FPT_queueCmdComplete(&FPT_BL_Card[p_card], currSCCB, p_card); |
8258 | return; | 5186 | return; |
8259 | } | 5187 | } |
8260 | 5188 | ||
8261 | 5189 | ||
8262 | BL_Card[p_card].globalFlags |= F_NEW_SCCB_CMD; | 5190 | FPT_BL_Card[p_card].globalFlags |= F_NEW_SCCB_CMD; |
8263 | 5191 | ||
8264 | } /*end if !=null */ | 5192 | } /*end if !=null */ |
8265 | } | 5193 | } |
@@ -8267,44 +5195,6 @@ void phaseBusFree(ULONG port, UCHAR p_card) | |||
8267 | 5195 | ||
8268 | 5196 | ||
8269 | 5197 | ||
8270 | #ident "$Id: automate.c 1.14 1997/01/31 02:11:46 mohan Exp $" | ||
8271 | /*---------------------------------------------------------------------- | ||
8272 | * | ||
8273 | * | ||
8274 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
8275 | * | ||
8276 | * This file is available under both the GNU General Public License | ||
8277 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
8278 | * | ||
8279 | * $Workfile: automate.c $ | ||
8280 | * | ||
8281 | * Description: Functions relating to programming the automation of | ||
8282 | * the HARPOON. | ||
8283 | * | ||
8284 | * $Date: 1997/01/31 02:11:46 $ | ||
8285 | * | ||
8286 | * $Revision: 1.14 $ | ||
8287 | * | ||
8288 | *----------------------------------------------------------------------*/ | ||
8289 | |||
8290 | /*#include <globals.h>*/ | ||
8291 | |||
8292 | #if (FW_TYPE==_UCB_MGR_) | ||
8293 | /*#include <budi.h>*/ | ||
8294 | #endif | ||
8295 | |||
8296 | /*#include <sccbmgr.h>*/ | ||
8297 | /*#include <blx30.h>*/ | ||
8298 | /*#include <target.h>*/ | ||
8299 | /*#include <scsi2.h>*/ | ||
8300 | /*#include <harpoon.h>*/ | ||
8301 | |||
8302 | /* | ||
8303 | extern SCCBCARD BL_Card[MAX_CARDS]; | ||
8304 | extern SCCBMGR_TAR_INFO sccbMgrTbl[MAX_CARDS][MAX_SCSI_TAR]; | ||
8305 | extern SCCBCARD BL_Card[MAX_CARDS]; | ||
8306 | */ | ||
8307 | |||
8308 | /*--------------------------------------------------------------------- | 5198 | /*--------------------------------------------------------------------- |
8309 | * | 5199 | * |
8310 | * Function: Auto Load Default Map | 5200 | * Function: Auto Load Default Map |
@@ -8312,17 +5202,9 @@ extern SCCBCARD BL_Card[MAX_CARDS]; | |||
8312 | * Description: Load the Automation RAM with the defualt map values. | 5202 | * Description: Load the Automation RAM with the defualt map values. |
8313 | * | 5203 | * |
8314 | *---------------------------------------------------------------------*/ | 5204 | *---------------------------------------------------------------------*/ |
8315 | #if defined(DOS) | 5205 | static void FPT_autoLoadDefaultMap(ULONG p_port) |
8316 | void autoLoadDefaultMap(USHORT p_port) | ||
8317 | #else | ||
8318 | void autoLoadDefaultMap(ULONG p_port) | ||
8319 | #endif | ||
8320 | { | 5206 | { |
8321 | #if defined(DOS) | ||
8322 | USHORT map_addr; | ||
8323 | #else | ||
8324 | ULONG map_addr; | 5207 | ULONG map_addr; |
8325 | #endif | ||
8326 | 5208 | ||
8327 | ARAM_ACCESS(p_port); | 5209 | ARAM_ACCESS(p_port); |
8328 | map_addr = p_port + hp_aramBase; | 5210 | map_addr = p_port + hp_aramBase; |
@@ -8428,86 +5310,82 @@ void autoLoadDefaultMap(ULONG p_port) | |||
8428 | * | 5310 | * |
8429 | *---------------------------------------------------------------------*/ | 5311 | *---------------------------------------------------------------------*/ |
8430 | 5312 | ||
8431 | #if defined(DOS) | 5313 | static void FPT_autoCmdCmplt(ULONG p_port, UCHAR p_card) |
8432 | void autoCmdCmplt(USHORT p_port, UCHAR p_card) | ||
8433 | #else | ||
8434 | void autoCmdCmplt(ULONG p_port, UCHAR p_card) | ||
8435 | #endif | ||
8436 | { | 5314 | { |
8437 | PSCCB currSCCB; | 5315 | PSCCB currSCCB; |
8438 | UCHAR status_byte; | 5316 | UCHAR status_byte; |
8439 | 5317 | ||
8440 | currSCCB = BL_Card[p_card].currentSCCB; | 5318 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
8441 | 5319 | ||
8442 | status_byte = RD_HARPOON(p_port+hp_gp_reg_0); | 5320 | status_byte = RD_HARPOON(p_port+hp_gp_reg_0); |
8443 | 5321 | ||
8444 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUN_CA = FALSE; | 5322 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUN_CA = 0; |
8445 | 5323 | ||
8446 | if (status_byte != SSGOOD) { | 5324 | if (status_byte != SSGOOD) { |
8447 | 5325 | ||
8448 | if (status_byte == SSQ_FULL) { | 5326 | if (status_byte == SSQ_FULL) { |
8449 | 5327 | ||
8450 | 5328 | ||
8451 | if(((BL_Card[p_card].globalFlags & F_CONLUN_IO) && | 5329 | if(((FPT_BL_Card[p_card].globalFlags & F_CONLUN_IO) && |
8452 | ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) | 5330 | ((FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) |
8453 | { | 5331 | { |
8454 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = TRUE; | 5332 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = 1; |
8455 | if(BL_Card[p_card].discQCount != 0) | 5333 | if(FPT_BL_Card[p_card].discQCount != 0) |
8456 | BL_Card[p_card].discQCount--; | 5334 | FPT_BL_Card[p_card].discQCount--; |
8457 | BL_Card[p_card].discQ_Tbl[sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[currSCCB->Lun]] = NULL; | 5335 | FPT_BL_Card[p_card].discQ_Tbl[FPT_sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[currSCCB->Lun]] = NULL; |
8458 | } | 5336 | } |
8459 | else | 5337 | else |
8460 | { | 5338 | { |
8461 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = TRUE; | 5339 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = 1; |
8462 | if(currSCCB->Sccb_tag) | 5340 | if(currSCCB->Sccb_tag) |
8463 | { | 5341 | { |
8464 | if(BL_Card[p_card].discQCount != 0) | 5342 | if(FPT_BL_Card[p_card].discQCount != 0) |
8465 | BL_Card[p_card].discQCount--; | 5343 | FPT_BL_Card[p_card].discQCount--; |
8466 | BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] = NULL; | 5344 | FPT_BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] = NULL; |
8467 | }else | 5345 | }else |
8468 | { | 5346 | { |
8469 | if(BL_Card[p_card].discQCount != 0) | 5347 | if(FPT_BL_Card[p_card].discQCount != 0) |
8470 | BL_Card[p_card].discQCount--; | 5348 | FPT_BL_Card[p_card].discQCount--; |
8471 | BL_Card[p_card].discQ_Tbl[sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[0]] = NULL; | 5349 | FPT_BL_Card[p_card].discQ_Tbl[FPT_sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[0]] = NULL; |
8472 | } | 5350 | } |
8473 | } | 5351 | } |
8474 | 5352 | ||
8475 | currSCCB->Sccb_MGRFlags |= F_STATUSLOADED; | 5353 | currSCCB->Sccb_MGRFlags |= F_STATUSLOADED; |
8476 | 5354 | ||
8477 | queueSelectFail(&BL_Card[p_card],p_card); | 5355 | FPT_queueSelectFail(&FPT_BL_Card[p_card],p_card); |
8478 | 5356 | ||
8479 | return; | 5357 | return; |
8480 | } | 5358 | } |
8481 | 5359 | ||
8482 | if(currSCCB->Sccb_scsistat == SELECT_SN_ST) | 5360 | if(currSCCB->Sccb_scsistat == SELECT_SN_ST) |
8483 | { | 5361 | { |
8484 | sccbMgrTbl[p_card][currSCCB->TargID].TarStatus |= | 5362 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus |= |
8485 | (UCHAR)SYNC_SUPPORTED; | 5363 | (UCHAR)SYNC_SUPPORTED; |
8486 | 5364 | ||
8487 | sccbMgrTbl[p_card][currSCCB->TargID].TarEEValue &= ~EE_SYNC_MASK; | 5365 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarEEValue &= ~EE_SYNC_MASK; |
8488 | BL_Card[p_card].globalFlags |= F_NEW_SCCB_CMD; | 5366 | FPT_BL_Card[p_card].globalFlags |= F_NEW_SCCB_CMD; |
8489 | 5367 | ||
8490 | if(((BL_Card[p_card].globalFlags & F_CONLUN_IO) && | 5368 | if(((FPT_BL_Card[p_card].globalFlags & F_CONLUN_IO) && |
8491 | ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) | 5369 | ((FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) |
8492 | { | 5370 | { |
8493 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = TRUE; | 5371 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = 1; |
8494 | if(BL_Card[p_card].discQCount != 0) | 5372 | if(FPT_BL_Card[p_card].discQCount != 0) |
8495 | BL_Card[p_card].discQCount--; | 5373 | FPT_BL_Card[p_card].discQCount--; |
8496 | BL_Card[p_card].discQ_Tbl[sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[currSCCB->Lun]] = NULL; | 5374 | FPT_BL_Card[p_card].discQ_Tbl[FPT_sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[currSCCB->Lun]] = NULL; |
8497 | } | 5375 | } |
8498 | else | 5376 | else |
8499 | { | 5377 | { |
8500 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = TRUE; | 5378 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = 1; |
8501 | if(currSCCB->Sccb_tag) | 5379 | if(currSCCB->Sccb_tag) |
8502 | { | 5380 | { |
8503 | if(BL_Card[p_card].discQCount != 0) | 5381 | if(FPT_BL_Card[p_card].discQCount != 0) |
8504 | BL_Card[p_card].discQCount--; | 5382 | FPT_BL_Card[p_card].discQCount--; |
8505 | BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] = NULL; | 5383 | FPT_BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] = NULL; |
8506 | }else | 5384 | }else |
8507 | { | 5385 | { |
8508 | if(BL_Card[p_card].discQCount != 0) | 5386 | if(FPT_BL_Card[p_card].discQCount != 0) |
8509 | BL_Card[p_card].discQCount--; | 5387 | FPT_BL_Card[p_card].discQCount--; |
8510 | BL_Card[p_card].discQ_Tbl[sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[0]] = NULL; | 5388 | FPT_BL_Card[p_card].discQ_Tbl[FPT_sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[0]] = NULL; |
8511 | } | 5389 | } |
8512 | } | 5390 | } |
8513 | return; | 5391 | return; |
@@ -8517,34 +5395,34 @@ void autoCmdCmplt(ULONG p_port, UCHAR p_card) | |||
8517 | if(currSCCB->Sccb_scsistat == SELECT_WN_ST) | 5395 | if(currSCCB->Sccb_scsistat == SELECT_WN_ST) |
8518 | { | 5396 | { |
8519 | 5397 | ||
8520 | sccbMgrTbl[p_card][currSCCB->TargID].TarStatus = | 5398 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus = |
8521 | (sccbMgrTbl[p_card][currSCCB->TargID]. | 5399 | (FPT_sccbMgrTbl[p_card][currSCCB->TargID]. |
8522 | TarStatus & ~WIDE_ENABLED) | WIDE_NEGOCIATED; | 5400 | TarStatus & ~WIDE_ENABLED) | WIDE_NEGOCIATED; |
8523 | 5401 | ||
8524 | sccbMgrTbl[p_card][currSCCB->TargID].TarEEValue &= ~EE_WIDE_SCSI; | 5402 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarEEValue &= ~EE_WIDE_SCSI; |
8525 | BL_Card[p_card].globalFlags |= F_NEW_SCCB_CMD; | 5403 | FPT_BL_Card[p_card].globalFlags |= F_NEW_SCCB_CMD; |
8526 | 5404 | ||
8527 | if(((BL_Card[p_card].globalFlags & F_CONLUN_IO) && | 5405 | if(((FPT_BL_Card[p_card].globalFlags & F_CONLUN_IO) && |
8528 | ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) | 5406 | ((FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) |
8529 | { | 5407 | { |
8530 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = TRUE; | 5408 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = 1; |
8531 | if(BL_Card[p_card].discQCount != 0) | 5409 | if(FPT_BL_Card[p_card].discQCount != 0) |
8532 | BL_Card[p_card].discQCount--; | 5410 | FPT_BL_Card[p_card].discQCount--; |
8533 | BL_Card[p_card].discQ_Tbl[sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[currSCCB->Lun]] = NULL; | 5411 | FPT_BL_Card[p_card].discQ_Tbl[FPT_sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[currSCCB->Lun]] = NULL; |
8534 | } | 5412 | } |
8535 | else | 5413 | else |
8536 | { | 5414 | { |
8537 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = TRUE; | 5415 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = 1; |
8538 | if(currSCCB->Sccb_tag) | 5416 | if(currSCCB->Sccb_tag) |
8539 | { | 5417 | { |
8540 | if(BL_Card[p_card].discQCount != 0) | 5418 | if(FPT_BL_Card[p_card].discQCount != 0) |
8541 | BL_Card[p_card].discQCount--; | 5419 | FPT_BL_Card[p_card].discQCount--; |
8542 | BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] = NULL; | 5420 | FPT_BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] = NULL; |
8543 | }else | 5421 | }else |
8544 | { | 5422 | { |
8545 | if(BL_Card[p_card].discQCount != 0) | 5423 | if(FPT_BL_Card[p_card].discQCount != 0) |
8546 | BL_Card[p_card].discQCount--; | 5424 | FPT_BL_Card[p_card].discQCount--; |
8547 | BL_Card[p_card].discQ_Tbl[sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[0]] = NULL; | 5425 | FPT_BL_Card[p_card].discQ_Tbl[FPT_sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[0]] = NULL; |
8548 | } | 5426 | } |
8549 | } | 5427 | } |
8550 | return; | 5428 | return; |
@@ -8553,15 +5431,15 @@ void autoCmdCmplt(ULONG p_port, UCHAR p_card) | |||
8553 | 5431 | ||
8554 | if (status_byte == SSCHECK) | 5432 | if (status_byte == SSCHECK) |
8555 | { | 5433 | { |
8556 | if(BL_Card[p_card].globalFlags & F_DO_RENEGO) | 5434 | if(FPT_BL_Card[p_card].globalFlags & F_DO_RENEGO) |
8557 | { | 5435 | { |
8558 | if (sccbMgrTbl[p_card][currSCCB->TargID].TarEEValue & EE_SYNC_MASK) | 5436 | if (FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarEEValue & EE_SYNC_MASK) |
8559 | { | 5437 | { |
8560 | sccbMgrTbl[p_card][currSCCB->TargID].TarStatus &= ~TAR_SYNC_MASK; | 5438 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus &= ~TAR_SYNC_MASK; |
8561 | } | 5439 | } |
8562 | if (sccbMgrTbl[p_card][currSCCB->TargID].TarEEValue & EE_WIDE_SCSI) | 5440 | if (FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarEEValue & EE_WIDE_SCSI) |
8563 | { | 5441 | { |
8564 | sccbMgrTbl[p_card][currSCCB->TargID].TarStatus &= ~TAR_WIDE_MASK; | 5442 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus &= ~TAR_WIDE_MASK; |
8565 | } | 5443 | } |
8566 | } | 5444 | } |
8567 | } | 5445 | } |
@@ -8573,135 +5451,61 @@ void autoCmdCmplt(ULONG p_port, UCHAR p_card) | |||
8573 | 5451 | ||
8574 | if (status_byte == SSCHECK) { | 5452 | if (status_byte == SSCHECK) { |
8575 | 5453 | ||
8576 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUN_CA | 5454 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUN_CA |
8577 | = TRUE; | 5455 | = 1; |
8578 | 5456 | ||
8579 | 5457 | ||
8580 | #if (FW_TYPE==_SCCB_MGR_) | ||
8581 | if (currSCCB->RequestSenseLength != NO_AUTO_REQUEST_SENSE) { | 5458 | if (currSCCB->RequestSenseLength != NO_AUTO_REQUEST_SENSE) { |
8582 | 5459 | ||
8583 | if (currSCCB->RequestSenseLength == 0) | 5460 | if (currSCCB->RequestSenseLength == 0) |
8584 | currSCCB->RequestSenseLength = 14; | 5461 | currSCCB->RequestSenseLength = 14; |
8585 | 5462 | ||
8586 | ssenss(&BL_Card[p_card]); | 5463 | FPT_ssenss(&FPT_BL_Card[p_card]); |
8587 | BL_Card[p_card].globalFlags |= F_NEW_SCCB_CMD; | 5464 | FPT_BL_Card[p_card].globalFlags |= F_NEW_SCCB_CMD; |
8588 | 5465 | ||
8589 | if(((BL_Card[p_card].globalFlags & F_CONLUN_IO) && | 5466 | if(((FPT_BL_Card[p_card].globalFlags & F_CONLUN_IO) && |
8590 | ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) | 5467 | ((FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) |
8591 | { | 5468 | { |
8592 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = TRUE; | 5469 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = 1; |
8593 | if(BL_Card[p_card].discQCount != 0) | 5470 | if(FPT_BL_Card[p_card].discQCount != 0) |
8594 | BL_Card[p_card].discQCount--; | 5471 | FPT_BL_Card[p_card].discQCount--; |
8595 | BL_Card[p_card].discQ_Tbl[sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[currSCCB->Lun]] = NULL; | 5472 | FPT_BL_Card[p_card].discQ_Tbl[FPT_sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[currSCCB->Lun]] = NULL; |
8596 | } | 5473 | } |
8597 | else | 5474 | else |
8598 | { | 5475 | { |
8599 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = TRUE; | 5476 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = 1; |
8600 | if(currSCCB->Sccb_tag) | 5477 | if(currSCCB->Sccb_tag) |
8601 | { | 5478 | { |
8602 | if(BL_Card[p_card].discQCount != 0) | 5479 | if(FPT_BL_Card[p_card].discQCount != 0) |
8603 | BL_Card[p_card].discQCount--; | 5480 | FPT_BL_Card[p_card].discQCount--; |
8604 | BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] = NULL; | 5481 | FPT_BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] = NULL; |
8605 | }else | 5482 | }else |
8606 | { | 5483 | { |
8607 | if(BL_Card[p_card].discQCount != 0) | 5484 | if(FPT_BL_Card[p_card].discQCount != 0) |
8608 | BL_Card[p_card].discQCount--; | 5485 | FPT_BL_Card[p_card].discQCount--; |
8609 | BL_Card[p_card].discQ_Tbl[sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[0]] = NULL; | 5486 | FPT_BL_Card[p_card].discQ_Tbl[FPT_sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[0]] = NULL; |
8610 | } | 5487 | } |
8611 | } | 5488 | } |
8612 | return; | 5489 | return; |
8613 | } | 5490 | } |
8614 | #else | ||
8615 | if ((!(currSCCB->Sccb_ucb_ptr->UCB_opcode & OPC_NO_AUTO_SENSE)) && | ||
8616 | (currSCCB->RequestSenseLength)) | ||
8617 | { | ||
8618 | ssenss(&BL_Card[p_card]); | ||
8619 | BL_Card[p_card].globalFlags |= F_NEW_SCCB_CMD; | ||
8620 | |||
8621 | if(((BL_Card[p_card].globalFlags & F_CONLUN_IO) && | ||
8622 | ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) | ||
8623 | { | ||
8624 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = TRUE; | ||
8625 | if(BL_Card[p_card].discQCount != 0) | ||
8626 | BL_Card[p_card].discQCount--; | ||
8627 | BL_Card[p_card].discQ_Tbl[sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[currSCCB->Lun]] = NULL; | ||
8628 | } | ||
8629 | else | ||
8630 | { | ||
8631 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = TRUE; | ||
8632 | if(currSCCB->Sccb_tag) | ||
8633 | { | ||
8634 | if(BL_Card[p_card].discQCount != 0) | ||
8635 | BL_Card[p_card].discQCount--; | ||
8636 | BL_Card[p_card].discQ_Tbl[currSCCB->Sccb_tag] = NULL; | ||
8637 | }else | ||
8638 | { | ||
8639 | if(BL_Card[p_card].discQCount != 0) | ||
8640 | BL_Card[p_card].discQCount--; | ||
8641 | BL_Card[p_card].discQ_Tbl[sccbMgrTbl[p_card][currSCCB->TargID].LunDiscQ_Idx[0]] = NULL; | ||
8642 | } | ||
8643 | } | ||
8644 | return; | ||
8645 | } | ||
8646 | |||
8647 | #endif | ||
8648 | } | 5491 | } |
8649 | } | 5492 | } |
8650 | } | 5493 | } |
8651 | 5494 | ||
8652 | 5495 | ||
8653 | if((BL_Card[p_card].globalFlags & F_CONLUN_IO) && | 5496 | if((FPT_BL_Card[p_card].globalFlags & F_CONLUN_IO) && |
8654 | ((sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) | 5497 | ((FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) |
8655 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = FALSE; | 5498 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[currSCCB->Lun] = 0; |
8656 | else | 5499 | else |
8657 | sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = FALSE; | 5500 | FPT_sccbMgrTbl[p_card][currSCCB->TargID].TarLUNBusy[0] = 0; |
8658 | 5501 | ||
8659 | 5502 | ||
8660 | queueCmdComplete(&BL_Card[p_card], currSCCB, p_card); | 5503 | FPT_queueCmdComplete(&FPT_BL_Card[p_card], currSCCB, p_card); |
8661 | } | 5504 | } |
8662 | #ident "$Id: busmstr.c 1.8 1997/01/31 02:10:27 mohan Exp $" | ||
8663 | /*---------------------------------------------------------------------- | ||
8664 | * | ||
8665 | * | ||
8666 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
8667 | * | ||
8668 | * This file is available under both the GNU General Public License | ||
8669 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
8670 | * | ||
8671 | * $Workfile: busmstr.c $ | ||
8672 | * | ||
8673 | * Description: Functions to start, stop, and abort BusMaster operations. | ||
8674 | * | ||
8675 | * $Date: 1997/01/31 02:10:27 $ | ||
8676 | * | ||
8677 | * $Revision: 1.8 $ | ||
8678 | * | ||
8679 | *----------------------------------------------------------------------*/ | ||
8680 | |||
8681 | /*#include <globals.h>*/ | ||
8682 | |||
8683 | #if (FW_TYPE==_UCB_MGR_) | ||
8684 | /*#include <budi.h>*/ | ||
8685 | #endif | ||
8686 | |||
8687 | /*#include <sccbmgr.h>*/ | ||
8688 | /*#include <blx30.h>*/ | ||
8689 | /*#include <target.h>*/ | ||
8690 | /*#include <scsi2.h>*/ | ||
8691 | /*#include <harpoon.h>*/ | ||
8692 | |||
8693 | |||
8694 | /* | ||
8695 | extern SCCBCARD BL_Card[MAX_CARDS]; | ||
8696 | extern SCCBMGR_TAR_INFO sccbMgrTbl[MAX_CARDS][MAX_SCSI_TAR]; | ||
8697 | */ | ||
8698 | 5505 | ||
8699 | #define SHORT_WAIT 0x0000000F | 5506 | #define SHORT_WAIT 0x0000000F |
8700 | #define LONG_WAIT 0x0000FFFFL | 5507 | #define LONG_WAIT 0x0000FFFFL |
8701 | 5508 | ||
8702 | #if defined(BUGBUG) | ||
8703 | void Debug_Load(UCHAR p_card, UCHAR p_bug_data); | ||
8704 | #endif | ||
8705 | 5509 | ||
8706 | /*--------------------------------------------------------------------- | 5510 | /*--------------------------------------------------------------------- |
8707 | * | 5511 | * |
@@ -8721,11 +5525,7 @@ void Debug_Load(UCHAR p_card, UCHAR p_bug_data); | |||
8721 | * | 5525 | * |
8722 | *---------------------------------------------------------------------*/ | 5526 | *---------------------------------------------------------------------*/ |
8723 | 5527 | ||
8724 | #if defined(DOS) | 5528 | static void FPT_dataXferProcessor(ULONG port, PSCCBcard pCurrCard) |
8725 | void dataXferProcessor(USHORT port, PSCCBcard pCurrCard) | ||
8726 | #else | ||
8727 | void dataXferProcessor(ULONG port, PSCCBcard pCurrCard) | ||
8728 | #endif | ||
8729 | { | 5529 | { |
8730 | PSCCB currSCCB; | 5530 | PSCCB currSCCB; |
8731 | 5531 | ||
@@ -8741,7 +5541,7 @@ void dataXferProcessor(ULONG port, PSCCBcard pCurrCard) | |||
8741 | } | 5541 | } |
8742 | pCurrCard->globalFlags |= F_HOST_XFER_ACT; | 5542 | pCurrCard->globalFlags |= F_HOST_XFER_ACT; |
8743 | 5543 | ||
8744 | busMstrSGDataXferStart(port, currSCCB); | 5544 | FPT_busMstrSGDataXferStart(port, currSCCB); |
8745 | } | 5545 | } |
8746 | 5546 | ||
8747 | else | 5547 | else |
@@ -8750,7 +5550,7 @@ void dataXferProcessor(ULONG port, PSCCBcard pCurrCard) | |||
8750 | { | 5550 | { |
8751 | pCurrCard->globalFlags |= F_HOST_XFER_ACT; | 5551 | pCurrCard->globalFlags |= F_HOST_XFER_ACT; |
8752 | 5552 | ||
8753 | busMstrDataXferStart(port, currSCCB); | 5553 | FPT_busMstrDataXferStart(port, currSCCB); |
8754 | } | 5554 | } |
8755 | } | 5555 | } |
8756 | } | 5556 | } |
@@ -8763,20 +5563,12 @@ void dataXferProcessor(ULONG port, PSCCBcard pCurrCard) | |||
8763 | * Description: | 5563 | * Description: |
8764 | * | 5564 | * |
8765 | *---------------------------------------------------------------------*/ | 5565 | *---------------------------------------------------------------------*/ |
8766 | #if defined(DOS) | 5566 | static void FPT_busMstrSGDataXferStart(ULONG p_port, PSCCB pcurrSCCB) |
8767 | void busMstrSGDataXferStart(USHORT p_port, PSCCB pcurrSCCB) | ||
8768 | #else | ||
8769 | void busMstrSGDataXferStart(ULONG p_port, PSCCB pcurrSCCB) | ||
8770 | #endif | ||
8771 | { | 5567 | { |
8772 | ULONG count,addr,tmpSGCnt; | 5568 | ULONG count,addr,tmpSGCnt; |
8773 | UINT sg_index; | 5569 | UINT sg_index; |
8774 | UCHAR sg_count, i; | 5570 | UCHAR sg_count, i; |
8775 | #if defined(DOS) | ||
8776 | USHORT reg_offset; | ||
8777 | #else | ||
8778 | ULONG reg_offset; | 5571 | ULONG reg_offset; |
8779 | #endif | ||
8780 | 5572 | ||
8781 | 5573 | ||
8782 | if (pcurrSCCB->Sccb_XferState & F_HOST_XFER_DIR) { | 5574 | if (pcurrSCCB->Sccb_XferState & F_HOST_XFER_DIR) { |
@@ -8802,17 +5594,6 @@ void busMstrSGDataXferStart(ULONG p_port, PSCCB pcurrSCCB) | |||
8802 | while ((sg_count < (UCHAR)SG_BUF_CNT) && | 5594 | while ((sg_count < (UCHAR)SG_BUF_CNT) && |
8803 | ((ULONG)(sg_index * (UINT)SG_ELEMENT_SIZE) < pcurrSCCB->DataLength) ) { | 5595 | ((ULONG)(sg_index * (UINT)SG_ELEMENT_SIZE) < pcurrSCCB->DataLength) ) { |
8804 | 5596 | ||
8805 | #if defined(COMPILER_16_BIT) && !defined(DOS) | ||
8806 | tmpSGCnt += *(((ULONG far *)pcurrSCCB->DataPointer)+ | ||
8807 | (sg_index * 2)); | ||
8808 | |||
8809 | count |= *(((ULONG far *)pcurrSCCB->DataPointer)+ | ||
8810 | (sg_index * 2)); | ||
8811 | |||
8812 | addr = *(((ULONG far *)pcurrSCCB->DataPointer)+ | ||
8813 | ((sg_index * 2) + 1)); | ||
8814 | |||
8815 | #else | ||
8816 | tmpSGCnt += *(((ULONG *)pcurrSCCB->DataPointer)+ | 5597 | tmpSGCnt += *(((ULONG *)pcurrSCCB->DataPointer)+ |
8817 | (sg_index * 2)); | 5598 | (sg_index * 2)); |
8818 | 5599 | ||
@@ -8821,7 +5602,6 @@ void busMstrSGDataXferStart(ULONG p_port, PSCCB pcurrSCCB) | |||
8821 | 5602 | ||
8822 | addr = *(((ULONG *)pcurrSCCB->DataPointer)+ | 5603 | addr = *(((ULONG *)pcurrSCCB->DataPointer)+ |
8823 | ((sg_index * 2) + 1)); | 5604 | ((sg_index * 2) + 1)); |
8824 | #endif | ||
8825 | 5605 | ||
8826 | 5606 | ||
8827 | if ((!sg_count) && (pcurrSCCB->Sccb_SGoffset)) { | 5607 | if ((!sg_count) && (pcurrSCCB->Sccb_SGoffset)) { |
@@ -8888,11 +5668,7 @@ void busMstrSGDataXferStart(ULONG p_port, PSCCB pcurrSCCB) | |||
8888 | * Description: | 5668 | * Description: |
8889 | * | 5669 | * |
8890 | *---------------------------------------------------------------------*/ | 5670 | *---------------------------------------------------------------------*/ |
8891 | #if defined(DOS) | 5671 | static void FPT_busMstrDataXferStart(ULONG p_port, PSCCB pcurrSCCB) |
8892 | void busMstrDataXferStart(USHORT p_port, PSCCB pcurrSCCB) | ||
8893 | #else | ||
8894 | void busMstrDataXferStart(ULONG p_port, PSCCB pcurrSCCB) | ||
8895 | #endif | ||
8896 | { | 5672 | { |
8897 | ULONG addr,count; | 5673 | ULONG addr,count; |
8898 | 5674 | ||
@@ -8909,37 +5685,7 @@ void busMstrDataXferStart(ULONG p_port, PSCCB pcurrSCCB) | |||
8909 | 5685 | ||
8910 | } | 5686 | } |
8911 | 5687 | ||
8912 | #if defined(DOS) | ||
8913 | asm { mov dx,p_port; | ||
8914 | mov ax,word ptr count; | ||
8915 | add dx,hp_xfer_cnt_lo; | ||
8916 | out dx,al; | ||
8917 | inc dx; | ||
8918 | xchg ah,al | ||
8919 | out dx,al; | ||
8920 | inc dx; | ||
8921 | mov ax,word ptr count+2; | ||
8922 | out dx,al; | ||
8923 | inc dx; | ||
8924 | inc dx; | ||
8925 | mov ax,word ptr addr; | ||
8926 | out dx,al; | ||
8927 | inc dx; | ||
8928 | xchg ah,al | ||
8929 | out dx,al; | ||
8930 | inc dx; | ||
8931 | mov ax,word ptr addr+2; | ||
8932 | out dx,al; | ||
8933 | inc dx; | ||
8934 | xchg ah,al | ||
8935 | out dx,al; | ||
8936 | } | ||
8937 | |||
8938 | WR_HARP32(p_port,hp_xfercnt_0,count); | ||
8939 | |||
8940 | #else | ||
8941 | HP_SETUP_ADDR_CNT(p_port,addr,count); | 5688 | HP_SETUP_ADDR_CNT(p_port,addr,count); |
8942 | #endif | ||
8943 | 5689 | ||
8944 | 5690 | ||
8945 | if (pcurrSCCB->Sccb_XferState & F_HOST_XFER_DIR) { | 5691 | if (pcurrSCCB->Sccb_XferState & F_HOST_XFER_DIR) { |
@@ -8975,11 +5721,7 @@ void busMstrDataXferStart(ULONG p_port, PSCCB pcurrSCCB) | |||
8975 | * command busy is also time out, it'll just give up. | 5721 | * command busy is also time out, it'll just give up. |
8976 | * | 5722 | * |
8977 | *---------------------------------------------------------------------*/ | 5723 | *---------------------------------------------------------------------*/ |
8978 | #if defined(DOS) | 5724 | static UCHAR FPT_busMstrTimeOut(ULONG p_port) |
8979 | UCHAR busMstrTimeOut(USHORT p_port) | ||
8980 | #else | ||
8981 | UCHAR busMstrTimeOut(ULONG p_port) | ||
8982 | #endif | ||
8983 | { | 5725 | { |
8984 | ULONG timeout; | 5726 | ULONG timeout; |
8985 | 5727 | ||
@@ -9001,11 +5743,11 @@ UCHAR busMstrTimeOut(ULONG p_port) | |||
9001 | RD_HARPOON(p_port+hp_int_status); /*Clear command complete */ | 5743 | RD_HARPOON(p_port+hp_int_status); /*Clear command complete */ |
9002 | 5744 | ||
9003 | if (RD_HARPOON(p_port+hp_ext_status) & BM_CMD_BUSY) { | 5745 | if (RD_HARPOON(p_port+hp_ext_status) & BM_CMD_BUSY) { |
9004 | return(TRUE); | 5746 | return(1); |
9005 | } | 5747 | } |
9006 | 5748 | ||
9007 | else { | 5749 | else { |
9008 | return(FALSE); | 5750 | return(0); |
9009 | } | 5751 | } |
9010 | } | 5752 | } |
9011 | 5753 | ||
@@ -9017,18 +5759,14 @@ UCHAR busMstrTimeOut(ULONG p_port) | |||
9017 | * Description: Abort any in progress transfer. | 5759 | * Description: Abort any in progress transfer. |
9018 | * | 5760 | * |
9019 | *---------------------------------------------------------------------*/ | 5761 | *---------------------------------------------------------------------*/ |
9020 | #if defined(DOS) | 5762 | static void FPT_hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) |
9021 | void hostDataXferAbort(USHORT port, UCHAR p_card, PSCCB pCurrSCCB) | ||
9022 | #else | ||
9023 | void hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | ||
9024 | #endif | ||
9025 | { | 5763 | { |
9026 | 5764 | ||
9027 | ULONG timeout; | 5765 | ULONG timeout; |
9028 | ULONG remain_cnt; | 5766 | ULONG remain_cnt; |
9029 | UINT sg_ptr; | 5767 | UINT sg_ptr; |
9030 | 5768 | ||
9031 | BL_Card[p_card].globalFlags &= ~F_HOST_XFER_ACT; | 5769 | FPT_BL_Card[p_card].globalFlags &= ~F_HOST_XFER_ACT; |
9032 | 5770 | ||
9033 | if (pCurrSCCB->Sccb_XferState & F_AUTO_SENSE) { | 5771 | if (pCurrSCCB->Sccb_XferState & F_AUTO_SENSE) { |
9034 | 5772 | ||
@@ -9044,7 +5782,7 @@ void hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
9044 | 5782 | ||
9045 | if (RD_HARPOON(port+hp_ext_status) & BM_CMD_BUSY) { | 5783 | if (RD_HARPOON(port+hp_ext_status) & BM_CMD_BUSY) { |
9046 | 5784 | ||
9047 | if (busMstrTimeOut(port)) { | 5785 | if (FPT_busMstrTimeOut(port)) { |
9048 | 5786 | ||
9049 | if (pCurrSCCB->HostStatus == 0x00) | 5787 | if (pCurrSCCB->HostStatus == 0x00) |
9050 | 5788 | ||
@@ -9060,10 +5798,6 @@ void hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
9060 | 5798 | ||
9061 | { | 5799 | { |
9062 | pCurrSCCB->HostStatus = SCCB_BM_ERR; | 5800 | pCurrSCCB->HostStatus = SCCB_BM_ERR; |
9063 | #if defined(BUGBUG) | ||
9064 | WR_HARPOON(port+hp_dual_addr_lo, | ||
9065 | RD_HARPOON(port+hp_ext_status)); | ||
9066 | #endif | ||
9067 | } | 5801 | } |
9068 | } | 5802 | } |
9069 | } | 5803 | } |
@@ -9092,22 +5826,12 @@ void hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
9092 | 5826 | ||
9093 | sg_ptr--; | 5827 | sg_ptr--; |
9094 | 5828 | ||
9095 | #if defined(COMPILER_16_BIT) && !defined(DOS) | ||
9096 | if (remain_cnt > (ULONG)(*(((ULONG far *)pCurrSCCB-> | ||
9097 | DataPointer) + (sg_ptr * 2)))) { | ||
9098 | |||
9099 | remain_cnt -= (ULONG)(*(((ULONG far *)pCurrSCCB-> | ||
9100 | DataPointer) + (sg_ptr * 2))); | ||
9101 | } | ||
9102 | |||
9103 | #else | ||
9104 | if (remain_cnt > (ULONG)(*(((ULONG *)pCurrSCCB-> | 5829 | if (remain_cnt > (ULONG)(*(((ULONG *)pCurrSCCB-> |
9105 | DataPointer) + (sg_ptr * 2)))) { | 5830 | DataPointer) + (sg_ptr * 2)))) { |
9106 | 5831 | ||
9107 | remain_cnt -= (ULONG)(*(((ULONG *)pCurrSCCB-> | 5832 | remain_cnt -= (ULONG)(*(((ULONG *)pCurrSCCB-> |
9108 | DataPointer) + (sg_ptr * 2))); | 5833 | DataPointer) + (sg_ptr * 2))); |
9109 | } | 5834 | } |
9110 | #endif | ||
9111 | 5835 | ||
9112 | else { | 5836 | else { |
9113 | 5837 | ||
@@ -9147,7 +5871,7 @@ void hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
9147 | 5871 | ||
9148 | if (RD_HARPOON(port+hp_ext_status) & BM_CMD_BUSY) { | 5872 | if (RD_HARPOON(port+hp_ext_status) & BM_CMD_BUSY) { |
9149 | 5873 | ||
9150 | busMstrTimeOut(port); | 5874 | FPT_busMstrTimeOut(port); |
9151 | } | 5875 | } |
9152 | 5876 | ||
9153 | else { | 5877 | else { |
@@ -9159,10 +5883,6 @@ void hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
9159 | if (pCurrSCCB->HostStatus == 0x00) { | 5883 | if (pCurrSCCB->HostStatus == 0x00) { |
9160 | 5884 | ||
9161 | pCurrSCCB->HostStatus = SCCB_BM_ERR; | 5885 | pCurrSCCB->HostStatus = SCCB_BM_ERR; |
9162 | #if defined(BUGBUG) | ||
9163 | WR_HARPOON(port+hp_dual_addr_lo, | ||
9164 | RD_HARPOON(port+hp_ext_status)); | ||
9165 | #endif | ||
9166 | } | 5886 | } |
9167 | } | 5887 | } |
9168 | } | 5888 | } |
@@ -9203,7 +5923,7 @@ void hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
9203 | pCurrSCCB->HostStatus = SCCB_BM_ERR; | 5923 | pCurrSCCB->HostStatus = SCCB_BM_ERR; |
9204 | } | 5924 | } |
9205 | 5925 | ||
9206 | busMstrTimeOut(port); | 5926 | FPT_busMstrTimeOut(port); |
9207 | } | 5927 | } |
9208 | } | 5928 | } |
9209 | 5929 | ||
@@ -9214,10 +5934,6 @@ void hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
9214 | if (pCurrSCCB->HostStatus == 0x00) { | 5934 | if (pCurrSCCB->HostStatus == 0x00) { |
9215 | 5935 | ||
9216 | pCurrSCCB->HostStatus = SCCB_BM_ERR; | 5936 | pCurrSCCB->HostStatus = SCCB_BM_ERR; |
9217 | #if defined(BUGBUG) | ||
9218 | WR_HARPOON(port+hp_dual_addr_lo, | ||
9219 | RD_HARPOON(port+hp_ext_status)); | ||
9220 | #endif | ||
9221 | } | 5937 | } |
9222 | } | 5938 | } |
9223 | } | 5939 | } |
@@ -9241,7 +5957,7 @@ void hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
9241 | pCurrSCCB->HostStatus = SCCB_BM_ERR; | 5957 | pCurrSCCB->HostStatus = SCCB_BM_ERR; |
9242 | } | 5958 | } |
9243 | 5959 | ||
9244 | busMstrTimeOut(port); | 5960 | FPT_busMstrTimeOut(port); |
9245 | } | 5961 | } |
9246 | } | 5962 | } |
9247 | 5963 | ||
@@ -9253,10 +5969,6 @@ void hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
9253 | if (pCurrSCCB->HostStatus == 0x00) { | 5969 | if (pCurrSCCB->HostStatus == 0x00) { |
9254 | 5970 | ||
9255 | pCurrSCCB->HostStatus = SCCB_BM_ERR; | 5971 | pCurrSCCB->HostStatus = SCCB_BM_ERR; |
9256 | #if defined(BUGBUG) | ||
9257 | WR_HARPOON(port+hp_dual_addr_lo, | ||
9258 | RD_HARPOON(port+hp_ext_status)); | ||
9259 | #endif | ||
9260 | } | 5972 | } |
9261 | } | 5973 | } |
9262 | 5974 | ||
@@ -9305,15 +6017,11 @@ void hostDataXferAbort(ULONG port, UCHAR p_card, PSCCB pCurrSCCB) | |||
9305 | * pointers message. | 6017 | * pointers message. |
9306 | * | 6018 | * |
9307 | *---------------------------------------------------------------------*/ | 6019 | *---------------------------------------------------------------------*/ |
9308 | void hostDataXferRestart(PSCCB currSCCB) | 6020 | static void FPT_hostDataXferRestart(PSCCB currSCCB) |
9309 | { | 6021 | { |
9310 | ULONG data_count; | 6022 | ULONG data_count; |
9311 | UINT sg_index; | 6023 | UINT sg_index; |
9312 | #if defined(COMPILER_16_BIT) && !defined(DOS) | ||
9313 | ULONG far *sg_ptr; | ||
9314 | #else | ||
9315 | ULONG *sg_ptr; | 6024 | ULONG *sg_ptr; |
9316 | #endif | ||
9317 | 6025 | ||
9318 | if (currSCCB->Sccb_XferState & F_SG_XFER) { | 6026 | if (currSCCB->Sccb_XferState & F_SG_XFER) { |
9319 | 6027 | ||
@@ -9322,11 +6030,7 @@ void hostDataXferRestart(PSCCB currSCCB) | |||
9322 | sg_index = 0xffff; /*Index by long words into sg list. */ | 6030 | sg_index = 0xffff; /*Index by long words into sg list. */ |
9323 | data_count = 0; /*Running count of SG xfer counts. */ | 6031 | data_count = 0; /*Running count of SG xfer counts. */ |
9324 | 6032 | ||
9325 | #if defined(COMPILER_16_BIT) && !defined(DOS) | ||
9326 | sg_ptr = (ULONG far *)currSCCB->DataPointer; | ||
9327 | #else | ||
9328 | sg_ptr = (ULONG *)currSCCB->DataPointer; | 6033 | sg_ptr = (ULONG *)currSCCB->DataPointer; |
9329 | #endif | ||
9330 | 6034 | ||
9331 | while (data_count < currSCCB->Sccb_ATC) { | 6035 | while (data_count < currSCCB->Sccb_ATC) { |
9332 | 6036 | ||
@@ -9351,78 +6055,28 @@ void hostDataXferRestart(PSCCB currSCCB) | |||
9351 | currSCCB->Sccb_XferCnt = currSCCB->DataLength - currSCCB->Sccb_ATC; | 6055 | currSCCB->Sccb_XferCnt = currSCCB->DataLength - currSCCB->Sccb_ATC; |
9352 | } | 6056 | } |
9353 | } | 6057 | } |
9354 | #ident "$Id: scam.c 1.17 1997/03/20 23:49:37 mohan Exp $" | ||
9355 | /*---------------------------------------------------------------------- | ||
9356 | * | ||
9357 | * | ||
9358 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
9359 | * | ||
9360 | * This file is available under both the GNU General Public License | ||
9361 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
9362 | * | ||
9363 | * $Workfile: scam.c $ | ||
9364 | * | ||
9365 | * Description: Functions relating to handling of the SCAM selection | ||
9366 | * and the determination of the SCSI IDs to be assigned | ||
9367 | * to all perspective SCSI targets. | ||
9368 | * | ||
9369 | * $Date: 1997/03/20 23:49:37 $ | ||
9370 | * | ||
9371 | * $Revision: 1.17 $ | ||
9372 | * | ||
9373 | *----------------------------------------------------------------------*/ | ||
9374 | 6058 | ||
9375 | /*#include <globals.h>*/ | ||
9376 | |||
9377 | #if (FW_TYPE==_UCB_MGR_) | ||
9378 | /*#include <budi.h>*/ | ||
9379 | #endif | ||
9380 | 6059 | ||
9381 | /*#include <sccbmgr.h>*/ | ||
9382 | /*#include <blx30.h>*/ | ||
9383 | /*#include <target.h>*/ | ||
9384 | /*#include <scsi2.h>*/ | ||
9385 | /*#include <eeprom.h>*/ | ||
9386 | /*#include <harpoon.h>*/ | ||
9387 | 6060 | ||
9388 | |||
9389 | |||
9390 | /* | ||
9391 | extern SCCBMGR_TAR_INFO sccbMgrTbl[MAX_CARDS][MAX_SCSI_TAR]; | ||
9392 | extern SCCBCARD BL_Card[MAX_CARDS]; | ||
9393 | extern SCCBSCAM_INFO scamInfo[MAX_SCSI_TAR]; | ||
9394 | extern NVRAMINFO nvRamInfo[MAX_MB_CARDS]; | ||
9395 | #if defined(DOS) || defined(OS2) | ||
9396 | extern UCHAR temp_id_string[ID_STRING_LENGTH]; | ||
9397 | #endif | ||
9398 | extern UCHAR scamHAString[]; | ||
9399 | */ | ||
9400 | /*--------------------------------------------------------------------- | 6061 | /*--------------------------------------------------------------------- |
9401 | * | 6062 | * |
9402 | * Function: scini | 6063 | * Function: FPT_scini |
9403 | * | 6064 | * |
9404 | * Description: Setup all data structures necessary for SCAM selection. | 6065 | * Description: Setup all data structures necessary for SCAM selection. |
9405 | * | 6066 | * |
9406 | *---------------------------------------------------------------------*/ | 6067 | *---------------------------------------------------------------------*/ |
9407 | 6068 | ||
9408 | void scini(UCHAR p_card, UCHAR p_our_id, UCHAR p_power_up) | 6069 | static void FPT_scini(UCHAR p_card, UCHAR p_our_id, UCHAR p_power_up) |
9409 | { | 6070 | { |
9410 | 6071 | ||
9411 | #if defined(SCAM_LEV_2) | ||
9412 | UCHAR loser,assigned_id; | 6072 | UCHAR loser,assigned_id; |
9413 | #endif | ||
9414 | #if defined(DOS) | ||
9415 | |||
9416 | USHORT p_port; | ||
9417 | #else | ||
9418 | ULONG p_port; | 6073 | ULONG p_port; |
9419 | #endif | ||
9420 | 6074 | ||
9421 | UCHAR i,k,ScamFlg ; | 6075 | UCHAR i,k,ScamFlg ; |
9422 | PSCCBcard currCard; | 6076 | PSCCBcard currCard; |
9423 | PNVRamInfo pCurrNvRam; | 6077 | PNVRamInfo pCurrNvRam; |
9424 | 6078 | ||
9425 | currCard = &BL_Card[p_card]; | 6079 | currCard = &FPT_BL_Card[p_card]; |
9426 | p_port = currCard->ioPort; | 6080 | p_port = currCard->ioPort; |
9427 | pCurrNvRam = currCard->pNvRamInfo; | 6081 | pCurrNvRam = currCard->pNvRamInfo; |
9428 | 6082 | ||
@@ -9432,72 +6086,68 @@ void scini(UCHAR p_card, UCHAR p_our_id, UCHAR p_power_up) | |||
9432 | i = pCurrNvRam->niSysConf; | 6086 | i = pCurrNvRam->niSysConf; |
9433 | } | 6087 | } |
9434 | else{ | 6088 | else{ |
9435 | ScamFlg = (UCHAR) utilEERead(p_port, SCAM_CONFIG/2); | 6089 | ScamFlg = (UCHAR) FPT_utilEERead(p_port, SCAM_CONFIG/2); |
9436 | i = (UCHAR)(utilEERead(p_port, (SYSTEM_CONFIG/2))); | 6090 | i = (UCHAR)(FPT_utilEERead(p_port, (SYSTEM_CONFIG/2))); |
9437 | } | 6091 | } |
9438 | if(!(i & 0x02)) /* check if reset bus in AutoSCSI parameter set */ | 6092 | if(!(i & 0x02)) /* check if reset bus in AutoSCSI parameter set */ |
9439 | return; | 6093 | return; |
9440 | 6094 | ||
9441 | inisci(p_card,p_port, p_our_id); | 6095 | FPT_inisci(p_card,p_port, p_our_id); |
9442 | 6096 | ||
9443 | /* Force to wait 1 sec after SCSI bus reset. Some SCAM device FW | 6097 | /* Force to wait 1 sec after SCSI bus reset. Some SCAM device FW |
9444 | too slow to return to SCAM selection */ | 6098 | too slow to return to SCAM selection */ |
9445 | 6099 | ||
9446 | /* if (p_power_up) | 6100 | /* if (p_power_up) |
9447 | Wait1Second(p_port); | 6101 | FPT_Wait1Second(p_port); |
9448 | else | 6102 | else |
9449 | Wait(p_port, TO_250ms); */ | 6103 | FPT_Wait(p_port, TO_250ms); */ |
9450 | |||
9451 | Wait1Second(p_port); | ||
9452 | 6104 | ||
9453 | #if defined(SCAM_LEV_2) | 6105 | FPT_Wait1Second(p_port); |
9454 | 6106 | ||
9455 | if ((ScamFlg & SCAM_ENABLED) && (ScamFlg & SCAM_LEVEL2)) | 6107 | if ((ScamFlg & SCAM_ENABLED) && (ScamFlg & SCAM_LEVEL2)) |
9456 | { | 6108 | { |
9457 | while (!(scarb(p_port,INIT_SELTD))) {} | 6109 | while (!(FPT_scarb(p_port,INIT_SELTD))) {} |
9458 | 6110 | ||
9459 | scsel(p_port); | 6111 | FPT_scsel(p_port); |
9460 | 6112 | ||
9461 | do { | 6113 | do { |
9462 | scxferc(p_port,SYNC_PTRN); | 6114 | FPT_scxferc(p_port,SYNC_PTRN); |
9463 | scxferc(p_port,DOM_MSTR); | 6115 | FPT_scxferc(p_port,DOM_MSTR); |
9464 | loser = scsendi(p_port,&scamInfo[p_our_id].id_string[0]); | 6116 | loser = FPT_scsendi(p_port,&FPT_scamInfo[p_our_id].id_string[0]); |
9465 | } while ( loser == 0xFF ); | 6117 | } while ( loser == 0xFF ); |
9466 | 6118 | ||
9467 | scbusf(p_port); | 6119 | FPT_scbusf(p_port); |
9468 | 6120 | ||
9469 | if ((p_power_up) && (!loser)) | 6121 | if ((p_power_up) && (!loser)) |
9470 | { | 6122 | { |
9471 | sresb(p_port,p_card); | 6123 | FPT_sresb(p_port,p_card); |
9472 | Wait(p_port, TO_250ms); | 6124 | FPT_Wait(p_port, TO_250ms); |
9473 | 6125 | ||
9474 | while (!(scarb(p_port,INIT_SELTD))) {} | 6126 | while (!(FPT_scarb(p_port,INIT_SELTD))) {} |
9475 | 6127 | ||
9476 | scsel(p_port); | 6128 | FPT_scsel(p_port); |
9477 | 6129 | ||
9478 | do { | 6130 | do { |
9479 | scxferc(p_port, SYNC_PTRN); | 6131 | FPT_scxferc(p_port, SYNC_PTRN); |
9480 | scxferc(p_port, DOM_MSTR); | 6132 | FPT_scxferc(p_port, DOM_MSTR); |
9481 | loser = scsendi(p_port,&scamInfo[p_our_id]. | 6133 | loser = FPT_scsendi(p_port,&FPT_scamInfo[p_our_id]. |
9482 | id_string[0]); | 6134 | id_string[0]); |
9483 | } while ( loser == 0xFF ); | 6135 | } while ( loser == 0xFF ); |
9484 | 6136 | ||
9485 | scbusf(p_port); | 6137 | FPT_scbusf(p_port); |
9486 | } | 6138 | } |
9487 | } | 6139 | } |
9488 | 6140 | ||
9489 | else | 6141 | else |
9490 | { | 6142 | { |
9491 | loser = FALSE; | 6143 | loser = 0; |
9492 | } | 6144 | } |
9493 | 6145 | ||
9494 | 6146 | ||
9495 | if (!loser) | 6147 | if (!loser) |
9496 | { | 6148 | { |
9497 | 6149 | ||
9498 | #endif /* SCAM_LEV_2 */ | 6150 | FPT_scamInfo[p_our_id].state = ID_ASSIGNED; |
9499 | |||
9500 | scamInfo[p_our_id].state = ID_ASSIGNED; | ||
9501 | 6151 | ||
9502 | 6152 | ||
9503 | if (ScamFlg & SCAM_ENABLED) | 6153 | if (ScamFlg & SCAM_ENABLED) |
@@ -9505,18 +6155,18 @@ void scini(UCHAR p_card, UCHAR p_our_id, UCHAR p_power_up) | |||
9505 | 6155 | ||
9506 | for (i=0; i < MAX_SCSI_TAR; i++) | 6156 | for (i=0; i < MAX_SCSI_TAR; i++) |
9507 | { | 6157 | { |
9508 | if ((scamInfo[i].state == ID_UNASSIGNED) || | 6158 | if ((FPT_scamInfo[i].state == ID_UNASSIGNED) || |
9509 | (scamInfo[i].state == ID_UNUSED)) | 6159 | (FPT_scamInfo[i].state == ID_UNUSED)) |
9510 | { | 6160 | { |
9511 | if (scsell(p_port,i)) | 6161 | if (FPT_scsell(p_port,i)) |
9512 | { | 6162 | { |
9513 | scamInfo[i].state = LEGACY; | 6163 | FPT_scamInfo[i].state = LEGACY; |
9514 | if ((scamInfo[i].id_string[0] != 0xFF) || | 6164 | if ((FPT_scamInfo[i].id_string[0] != 0xFF) || |
9515 | (scamInfo[i].id_string[1] != 0xFA)) | 6165 | (FPT_scamInfo[i].id_string[1] != 0xFA)) |
9516 | { | 6166 | { |
9517 | 6167 | ||
9518 | scamInfo[i].id_string[0] = 0xFF; | 6168 | FPT_scamInfo[i].id_string[0] = 0xFF; |
9519 | scamInfo[i].id_string[1] = 0xFA; | 6169 | FPT_scamInfo[i].id_string[1] = 0xFA; |
9520 | if(pCurrNvRam == NULL) | 6170 | if(pCurrNvRam == NULL) |
9521 | currCard->globalFlags |= F_UPDATE_EEPROM; | 6171 | currCard->globalFlags |= F_UPDATE_EEPROM; |
9522 | } | 6172 | } |
@@ -9524,45 +6174,43 @@ void scini(UCHAR p_card, UCHAR p_our_id, UCHAR p_power_up) | |||
9524 | } | 6174 | } |
9525 | } | 6175 | } |
9526 | 6176 | ||
9527 | sresb(p_port,p_card); | 6177 | FPT_sresb(p_port,p_card); |
9528 | Wait1Second(p_port); | 6178 | FPT_Wait1Second(p_port); |
9529 | while (!(scarb(p_port,INIT_SELTD))) {} | 6179 | while (!(FPT_scarb(p_port,INIT_SELTD))) {} |
9530 | scsel(p_port); | 6180 | FPT_scsel(p_port); |
9531 | scasid(p_card, p_port); | 6181 | FPT_scasid(p_card, p_port); |
9532 | } | 6182 | } |
9533 | 6183 | ||
9534 | #if defined(SCAM_LEV_2) | ||
9535 | |||
9536 | } | 6184 | } |
9537 | 6185 | ||
9538 | else if ((loser) && (ScamFlg & SCAM_ENABLED)) | 6186 | else if ((loser) && (ScamFlg & SCAM_ENABLED)) |
9539 | { | 6187 | { |
9540 | scamInfo[p_our_id].id_string[0] = SLV_TYPE_CODE0; | 6188 | FPT_scamInfo[p_our_id].id_string[0] = SLV_TYPE_CODE0; |
9541 | assigned_id = FALSE; | 6189 | assigned_id = 0; |
9542 | scwtsel(p_port); | 6190 | FPT_scwtsel(p_port); |
9543 | 6191 | ||
9544 | do { | 6192 | do { |
9545 | while (scxferc(p_port,0x00) != SYNC_PTRN) {} | 6193 | while (FPT_scxferc(p_port,0x00) != SYNC_PTRN) {} |
9546 | 6194 | ||
9547 | i = scxferc(p_port,0x00); | 6195 | i = FPT_scxferc(p_port,0x00); |
9548 | if (i == ASSIGN_ID) | 6196 | if (i == ASSIGN_ID) |
9549 | { | 6197 | { |
9550 | if (!(scsendi(p_port,&scamInfo[p_our_id].id_string[0]))) | 6198 | if (!(FPT_scsendi(p_port,&FPT_scamInfo[p_our_id].id_string[0]))) |
9551 | { | 6199 | { |
9552 | i = scxferc(p_port,0x00); | 6200 | i = FPT_scxferc(p_port,0x00); |
9553 | if (scvalq(i)) | 6201 | if (FPT_scvalq(i)) |
9554 | { | 6202 | { |
9555 | k = scxferc(p_port,0x00); | 6203 | k = FPT_scxferc(p_port,0x00); |
9556 | 6204 | ||
9557 | if (scvalq(k)) | 6205 | if (FPT_scvalq(k)) |
9558 | { | 6206 | { |
9559 | currCard->ourId = | 6207 | currCard->ourId = |
9560 | ((UCHAR)(i<<3)+(k & (UCHAR)7)) & (UCHAR) 0x3F; | 6208 | ((UCHAR)(i<<3)+(k & (UCHAR)7)) & (UCHAR) 0x3F; |
9561 | inisci(p_card, p_port, p_our_id); | 6209 | FPT_inisci(p_card, p_port, p_our_id); |
9562 | scamInfo[currCard->ourId].state = ID_ASSIGNED; | 6210 | FPT_scamInfo[currCard->ourId].state = ID_ASSIGNED; |
9563 | scamInfo[currCard->ourId].id_string[0] | 6211 | FPT_scamInfo[currCard->ourId].id_string[0] |
9564 | = SLV_TYPE_CODE0; | 6212 | = SLV_TYPE_CODE0; |
9565 | assigned_id = TRUE; | 6213 | assigned_id = 1; |
9566 | } | 6214 | } |
9567 | } | 6215 | } |
9568 | } | 6216 | } |
@@ -9570,43 +6218,31 @@ void scini(UCHAR p_card, UCHAR p_our_id, UCHAR p_power_up) | |||
9570 | 6218 | ||
9571 | else if (i == SET_P_FLAG) | 6219 | else if (i == SET_P_FLAG) |
9572 | { | 6220 | { |
9573 | if (!(scsendi(p_port, | 6221 | if (!(FPT_scsendi(p_port, |
9574 | &scamInfo[p_our_id].id_string[0]))) | 6222 | &FPT_scamInfo[p_our_id].id_string[0]))) |
9575 | scamInfo[p_our_id].id_string[0] |= 0x80; | 6223 | FPT_scamInfo[p_our_id].id_string[0] |= 0x80; |
9576 | } | 6224 | } |
9577 | }while (!assigned_id); | 6225 | }while (!assigned_id); |
9578 | 6226 | ||
9579 | while (scxferc(p_port,0x00) != CFG_CMPLT) {} | 6227 | while (FPT_scxferc(p_port,0x00) != CFG_CMPLT) {} |
9580 | } | 6228 | } |
9581 | 6229 | ||
9582 | #endif /* SCAM_LEV_2 */ | ||
9583 | if (ScamFlg & SCAM_ENABLED) | 6230 | if (ScamFlg & SCAM_ENABLED) |
9584 | { | 6231 | { |
9585 | scbusf(p_port); | 6232 | FPT_scbusf(p_port); |
9586 | if (currCard->globalFlags & F_UPDATE_EEPROM) | 6233 | if (currCard->globalFlags & F_UPDATE_EEPROM) |
9587 | { | 6234 | { |
9588 | scsavdi(p_card, p_port); | 6235 | FPT_scsavdi(p_card, p_port); |
9589 | currCard->globalFlags &= ~F_UPDATE_EEPROM; | 6236 | currCard->globalFlags &= ~F_UPDATE_EEPROM; |
9590 | } | 6237 | } |
9591 | } | 6238 | } |
9592 | 6239 | ||
9593 | 6240 | ||
9594 | #if defined(DOS) | ||
9595 | for (i=0; i < MAX_SCSI_TAR; i++) | ||
9596 | { | ||
9597 | if (((ScamFlg & SCAM_ENABLED) && (scamInfo[i].state == LEGACY)) | ||
9598 | || (i != p_our_id)) | ||
9599 | { | ||
9600 | scsellDOS(p_port,i); | ||
9601 | } | ||
9602 | } | ||
9603 | #endif | ||
9604 | |||
9605 | /* | 6241 | /* |
9606 | for (i=0,k=0; i < MAX_SCSI_TAR; i++) | 6242 | for (i=0,k=0; i < MAX_SCSI_TAR; i++) |
9607 | { | 6243 | { |
9608 | if ((scamInfo[i].state == ID_ASSIGNED) || | 6244 | if ((FPT_scamInfo[i].state == ID_ASSIGNED) || |
9609 | (scamInfo[i].state == LEGACY)) | 6245 | (FPT_scamInfo[i].state == LEGACY)) |
9610 | k++; | 6246 | k++; |
9611 | } | 6247 | } |
9612 | 6248 | ||
@@ -9620,17 +6256,13 @@ void scini(UCHAR p_card, UCHAR p_our_id, UCHAR p_power_up) | |||
9620 | 6256 | ||
9621 | /*--------------------------------------------------------------------- | 6257 | /*--------------------------------------------------------------------- |
9622 | * | 6258 | * |
9623 | * Function: scarb | 6259 | * Function: FPT_scarb |
9624 | * | 6260 | * |
9625 | * Description: Gain control of the bus and wait SCAM select time (250ms) | 6261 | * Description: Gain control of the bus and wait SCAM select time (250ms) |
9626 | * | 6262 | * |
9627 | *---------------------------------------------------------------------*/ | 6263 | *---------------------------------------------------------------------*/ |
9628 | 6264 | ||
9629 | #if defined(DOS) | 6265 | static int FPT_scarb(ULONG p_port, UCHAR p_sel_type) |
9630 | int scarb(USHORT p_port, UCHAR p_sel_type) | ||
9631 | #else | ||
9632 | int scarb(ULONG p_port, UCHAR p_sel_type) | ||
9633 | #endif | ||
9634 | { | 6266 | { |
9635 | if (p_sel_type == INIT_SELTD) | 6267 | if (p_sel_type == INIT_SELTD) |
9636 | { | 6268 | { |
@@ -9639,10 +6271,10 @@ int scarb(ULONG p_port, UCHAR p_sel_type) | |||
9639 | 6271 | ||
9640 | 6272 | ||
9641 | if (RD_HARPOON(p_port+hp_scsisig) & SCSI_SEL) | 6273 | if (RD_HARPOON(p_port+hp_scsisig) & SCSI_SEL) |
9642 | return(FALSE); | 6274 | return(0); |
9643 | 6275 | ||
9644 | if (RD_HARPOON(p_port+hp_scsidata_0) != 00) | 6276 | if (RD_HARPOON(p_port+hp_scsidata_0) != 00) |
9645 | return(FALSE); | 6277 | return(0); |
9646 | 6278 | ||
9647 | WR_HARPOON(p_port+hp_scsisig, (RD_HARPOON(p_port+hp_scsisig) | SCSI_BSY)); | 6279 | WR_HARPOON(p_port+hp_scsisig, (RD_HARPOON(p_port+hp_scsisig) | SCSI_BSY)); |
9648 | 6280 | ||
@@ -9650,7 +6282,7 @@ int scarb(ULONG p_port, UCHAR p_sel_type) | |||
9650 | 6282 | ||
9651 | WR_HARPOON(p_port+hp_scsisig, (RD_HARPOON(p_port+hp_scsisig) & | 6283 | WR_HARPOON(p_port+hp_scsisig, (RD_HARPOON(p_port+hp_scsisig) & |
9652 | ~SCSI_BSY)); | 6284 | ~SCSI_BSY)); |
9653 | return(FALSE); | 6285 | return(0); |
9654 | } | 6286 | } |
9655 | 6287 | ||
9656 | 6288 | ||
@@ -9660,7 +6292,7 @@ int scarb(ULONG p_port, UCHAR p_sel_type) | |||
9660 | 6292 | ||
9661 | WR_HARPOON(p_port+hp_scsisig, (RD_HARPOON(p_port+hp_scsisig) & | 6293 | WR_HARPOON(p_port+hp_scsisig, (RD_HARPOON(p_port+hp_scsisig) & |
9662 | ~(SCSI_BSY | SCSI_SEL))); | 6294 | ~(SCSI_BSY | SCSI_SEL))); |
9663 | return(FALSE); | 6295 | return(0); |
9664 | } | 6296 | } |
9665 | } | 6297 | } |
9666 | 6298 | ||
@@ -9669,9 +6301,7 @@ int scarb(ULONG p_port, UCHAR p_sel_type) | |||
9669 | & ~ACTdeassert)); | 6301 | & ~ACTdeassert)); |
9670 | WR_HARPOON(p_port+hp_scsireset, SCAM_EN); | 6302 | WR_HARPOON(p_port+hp_scsireset, SCAM_EN); |
9671 | WR_HARPOON(p_port+hp_scsidata_0, 0x00); | 6303 | WR_HARPOON(p_port+hp_scsidata_0, 0x00); |
9672 | #if defined(WIDE_SCSI) | ||
9673 | WR_HARPOON(p_port+hp_scsidata_1, 0x00); | 6304 | WR_HARPOON(p_port+hp_scsidata_1, 0x00); |
9674 | #endif | ||
9675 | WR_HARPOON(p_port+hp_portctrl_0, SCSI_BUS_EN); | 6305 | WR_HARPOON(p_port+hp_portctrl_0, SCSI_BUS_EN); |
9676 | 6306 | ||
9677 | WR_HARPOON(p_port+hp_scsisig, (RD_HARPOON(p_port+hp_scsisig) | SCSI_MSG)); | 6307 | WR_HARPOON(p_port+hp_scsisig, (RD_HARPOON(p_port+hp_scsisig) | SCSI_MSG)); |
@@ -9679,25 +6309,21 @@ int scarb(ULONG p_port, UCHAR p_sel_type) | |||
9679 | WR_HARPOON(p_port+hp_scsisig, (RD_HARPOON(p_port+hp_scsisig) | 6309 | WR_HARPOON(p_port+hp_scsisig, (RD_HARPOON(p_port+hp_scsisig) |
9680 | & ~SCSI_BSY)); | 6310 | & ~SCSI_BSY)); |
9681 | 6311 | ||
9682 | Wait(p_port,TO_250ms); | 6312 | FPT_Wait(p_port,TO_250ms); |
9683 | 6313 | ||
9684 | return(TRUE); | 6314 | return(1); |
9685 | } | 6315 | } |
9686 | 6316 | ||
9687 | 6317 | ||
9688 | /*--------------------------------------------------------------------- | 6318 | /*--------------------------------------------------------------------- |
9689 | * | 6319 | * |
9690 | * Function: scbusf | 6320 | * Function: FPT_scbusf |
9691 | * | 6321 | * |
9692 | * Description: Release the SCSI bus and disable SCAM selection. | 6322 | * Description: Release the SCSI bus and disable SCAM selection. |
9693 | * | 6323 | * |
9694 | *---------------------------------------------------------------------*/ | 6324 | *---------------------------------------------------------------------*/ |
9695 | 6325 | ||
9696 | #if defined(DOS) | 6326 | static void FPT_scbusf(ULONG p_port) |
9697 | void scbusf(USHORT p_port) | ||
9698 | #else | ||
9699 | void scbusf(ULONG p_port) | ||
9700 | #endif | ||
9701 | { | 6327 | { |
9702 | WR_HARPOON(p_port+hp_page_ctrl, | 6328 | WR_HARPOON(p_port+hp_page_ctrl, |
9703 | (RD_HARPOON(p_port+hp_page_ctrl) | G_INT_DISABLE)); | 6329 | (RD_HARPOON(p_port+hp_page_ctrl) | G_INT_DISABLE)); |
@@ -9717,11 +6343,7 @@ void scbusf(ULONG p_port) | |||
9717 | WR_HARPOON(p_port+hp_clkctrl_0, (RD_HARPOON(p_port+hp_clkctrl_0) | 6343 | WR_HARPOON(p_port+hp_clkctrl_0, (RD_HARPOON(p_port+hp_clkctrl_0) |
9718 | | ACTdeassert)); | 6344 | | ACTdeassert)); |
9719 | 6345 | ||
9720 | #if defined(SCAM_LEV_2) | ||
9721 | WRW_HARPOON((p_port+hp_intstat), (BUS_FREE | AUTO_INT | SCAM_SEL)); | 6346 | WRW_HARPOON((p_port+hp_intstat), (BUS_FREE | AUTO_INT | SCAM_SEL)); |
9722 | #else | ||
9723 | WRW_HARPOON((p_port+hp_intstat), (BUS_FREE | AUTO_INT)); | ||
9724 | #endif | ||
9725 | 6347 | ||
9726 | WR_HARPOON(p_port+hp_page_ctrl, | 6348 | WR_HARPOON(p_port+hp_page_ctrl, |
9727 | (RD_HARPOON(p_port+hp_page_ctrl) & ~G_INT_DISABLE)); | 6349 | (RD_HARPOON(p_port+hp_page_ctrl) & ~G_INT_DISABLE)); |
@@ -9731,35 +6353,24 @@ void scbusf(ULONG p_port) | |||
9731 | 6353 | ||
9732 | /*--------------------------------------------------------------------- | 6354 | /*--------------------------------------------------------------------- |
9733 | * | 6355 | * |
9734 | * Function: scasid | 6356 | * Function: FPT_scasid |
9735 | * | 6357 | * |
9736 | * Description: Assign an ID to all the SCAM devices. | 6358 | * Description: Assign an ID to all the SCAM devices. |
9737 | * | 6359 | * |
9738 | *---------------------------------------------------------------------*/ | 6360 | *---------------------------------------------------------------------*/ |
9739 | 6361 | ||
9740 | #if defined(DOS) | 6362 | static void FPT_scasid(UCHAR p_card, ULONG p_port) |
9741 | void scasid(UCHAR p_card, USHORT p_port) | ||
9742 | #else | ||
9743 | void scasid(UCHAR p_card, ULONG p_port) | ||
9744 | #endif | ||
9745 | { | 6363 | { |
9746 | #if defined(DOS) || defined(OS2) | ||
9747 | /* Use external defined in global space area, instead of Stack | ||
9748 | space. WIN/95 DOS doesnot work TINY mode. The OS doesnot intialize | ||
9749 | SS equal to DS. Thus the array allocated on stack doesnot get | ||
9750 | access correctly */ | ||
9751 | #else | ||
9752 | UCHAR temp_id_string[ID_STRING_LENGTH]; | 6364 | UCHAR temp_id_string[ID_STRING_LENGTH]; |
9753 | #endif | ||
9754 | 6365 | ||
9755 | UCHAR i,k,scam_id; | 6366 | UCHAR i,k,scam_id; |
9756 | UCHAR crcBytes[3]; | 6367 | UCHAR crcBytes[3]; |
9757 | PNVRamInfo pCurrNvRam; | 6368 | PNVRamInfo pCurrNvRam; |
9758 | ushort_ptr pCrcBytes; | 6369 | ushort_ptr pCrcBytes; |
9759 | 6370 | ||
9760 | pCurrNvRam = BL_Card[p_card].pNvRamInfo; | 6371 | pCurrNvRam = FPT_BL_Card[p_card].pNvRamInfo; |
9761 | 6372 | ||
9762 | i=FALSE; | 6373 | i=0; |
9763 | 6374 | ||
9764 | while (!i) | 6375 | while (!i) |
9765 | { | 6376 | { |
@@ -9769,36 +6380,36 @@ void scasid(UCHAR p_card, ULONG p_port) | |||
9769 | temp_id_string[k] = (UCHAR) 0x00; | 6380 | temp_id_string[k] = (UCHAR) 0x00; |
9770 | } | 6381 | } |
9771 | 6382 | ||
9772 | scxferc(p_port,SYNC_PTRN); | 6383 | FPT_scxferc(p_port,SYNC_PTRN); |
9773 | scxferc(p_port,ASSIGN_ID); | 6384 | FPT_scxferc(p_port,ASSIGN_ID); |
9774 | 6385 | ||
9775 | if (!(sciso(p_port,&temp_id_string[0]))) | 6386 | if (!(FPT_sciso(p_port,&temp_id_string[0]))) |
9776 | { | 6387 | { |
9777 | if(pCurrNvRam){ | 6388 | if(pCurrNvRam){ |
9778 | pCrcBytes = (ushort_ptr)&crcBytes[0]; | 6389 | pCrcBytes = (ushort_ptr)&crcBytes[0]; |
9779 | *pCrcBytes = CalcCrc16(&temp_id_string[0]); | 6390 | *pCrcBytes = FPT_CalcCrc16(&temp_id_string[0]); |
9780 | crcBytes[2] = CalcLrc(&temp_id_string[0]); | 6391 | crcBytes[2] = FPT_CalcLrc(&temp_id_string[0]); |
9781 | temp_id_string[1] = crcBytes[2]; | 6392 | temp_id_string[1] = crcBytes[2]; |
9782 | temp_id_string[2] = crcBytes[0]; | 6393 | temp_id_string[2] = crcBytes[0]; |
9783 | temp_id_string[3] = crcBytes[1]; | 6394 | temp_id_string[3] = crcBytes[1]; |
9784 | for(k = 4; k < ID_STRING_LENGTH; k++) | 6395 | for(k = 4; k < ID_STRING_LENGTH; k++) |
9785 | temp_id_string[k] = (UCHAR) 0x00; | 6396 | temp_id_string[k] = (UCHAR) 0x00; |
9786 | } | 6397 | } |
9787 | i = scmachid(p_card,temp_id_string); | 6398 | i = FPT_scmachid(p_card,temp_id_string); |
9788 | 6399 | ||
9789 | if (i == CLR_PRIORITY) | 6400 | if (i == CLR_PRIORITY) |
9790 | { | 6401 | { |
9791 | scxferc(p_port,MISC_CODE); | 6402 | FPT_scxferc(p_port,MISC_CODE); |
9792 | scxferc(p_port,CLR_P_FLAG); | 6403 | FPT_scxferc(p_port,CLR_P_FLAG); |
9793 | i = FALSE; /*Not the last ID yet. */ | 6404 | i = 0; /*Not the last ID yet. */ |
9794 | } | 6405 | } |
9795 | 6406 | ||
9796 | else if (i != NO_ID_AVAIL) | 6407 | else if (i != NO_ID_AVAIL) |
9797 | { | 6408 | { |
9798 | if (i < 8 ) | 6409 | if (i < 8 ) |
9799 | scxferc(p_port,ID_0_7); | 6410 | FPT_scxferc(p_port,ID_0_7); |
9800 | else | 6411 | else |
9801 | scxferc(p_port,ID_8_F); | 6412 | FPT_scxferc(p_port,ID_8_F); |
9802 | 6413 | ||
9803 | scam_id = (i & (UCHAR) 0x07); | 6414 | scam_id = (i & (UCHAR) 0x07); |
9804 | 6415 | ||
@@ -9807,21 +6418,21 @@ void scasid(UCHAR p_card, ULONG p_port) | |||
9807 | if (!( k & i )) | 6418 | if (!( k & i )) |
9808 | scam_id += 0x08; /*Count number of zeros in DB0-3. */ | 6419 | scam_id += 0x08; /*Count number of zeros in DB0-3. */ |
9809 | 6420 | ||
9810 | scxferc(p_port,scam_id); | 6421 | FPT_scxferc(p_port,scam_id); |
9811 | 6422 | ||
9812 | i = FALSE; /*Not the last ID yet. */ | 6423 | i = 0; /*Not the last ID yet. */ |
9813 | } | 6424 | } |
9814 | } | 6425 | } |
9815 | 6426 | ||
9816 | else | 6427 | else |
9817 | { | 6428 | { |
9818 | i = TRUE; | 6429 | i = 1; |
9819 | } | 6430 | } |
9820 | 6431 | ||
9821 | } /*End while */ | 6432 | } /*End while */ |
9822 | 6433 | ||
9823 | scxferc(p_port,SYNC_PTRN); | 6434 | FPT_scxferc(p_port,SYNC_PTRN); |
9824 | scxferc(p_port,CFG_CMPLT); | 6435 | FPT_scxferc(p_port,CFG_CMPLT); |
9825 | } | 6436 | } |
9826 | 6437 | ||
9827 | 6438 | ||
@@ -9830,21 +6441,17 @@ void scasid(UCHAR p_card, ULONG p_port) | |||
9830 | 6441 | ||
9831 | /*--------------------------------------------------------------------- | 6442 | /*--------------------------------------------------------------------- |
9832 | * | 6443 | * |
9833 | * Function: scsel | 6444 | * Function: FPT_scsel |
9834 | * | 6445 | * |
9835 | * Description: Select all the SCAM devices. | 6446 | * Description: Select all the SCAM devices. |
9836 | * | 6447 | * |
9837 | *---------------------------------------------------------------------*/ | 6448 | *---------------------------------------------------------------------*/ |
9838 | 6449 | ||
9839 | #if defined(DOS) | 6450 | static void FPT_scsel(ULONG p_port) |
9840 | void scsel(USHORT p_port) | ||
9841 | #else | ||
9842 | void scsel(ULONG p_port) | ||
9843 | #endif | ||
9844 | { | 6451 | { |
9845 | 6452 | ||
9846 | WR_HARPOON(p_port+hp_scsisig, SCSI_SEL); | 6453 | WR_HARPOON(p_port+hp_scsisig, SCSI_SEL); |
9847 | scwiros(p_port, SCSI_MSG); | 6454 | FPT_scwiros(p_port, SCSI_MSG); |
9848 | 6455 | ||
9849 | WR_HARPOON(p_port+hp_scsisig, (SCSI_SEL | SCSI_BSY)); | 6456 | WR_HARPOON(p_port+hp_scsisig, (SCSI_SEL | SCSI_BSY)); |
9850 | 6457 | ||
@@ -9855,11 +6462,11 @@ void scsel(ULONG p_port) | |||
9855 | 6462 | ||
9856 | 6463 | ||
9857 | WR_HARPOON(p_port+hp_scsisig, (SCSI_BSY | SCSI_IOBIT | SCSI_CD)); | 6464 | WR_HARPOON(p_port+hp_scsisig, (SCSI_BSY | SCSI_IOBIT | SCSI_CD)); |
9858 | scwiros(p_port, SCSI_SEL); | 6465 | FPT_scwiros(p_port, SCSI_SEL); |
9859 | 6466 | ||
9860 | WR_HARPOON(p_port+hp_scsidata_0, (UCHAR)(RD_HARPOON(p_port+hp_scsidata_0) & | 6467 | WR_HARPOON(p_port+hp_scsidata_0, (UCHAR)(RD_HARPOON(p_port+hp_scsidata_0) & |
9861 | ~(UCHAR)BIT(6))); | 6468 | ~(UCHAR)BIT(6))); |
9862 | scwirod(p_port, BIT(6)); | 6469 | FPT_scwirod(p_port, BIT(6)); |
9863 | 6470 | ||
9864 | WR_HARPOON(p_port+hp_scsisig, (SCSI_SEL | SCSI_BSY | SCSI_IOBIT | SCSI_CD)); | 6471 | WR_HARPOON(p_port+hp_scsisig, (SCSI_SEL | SCSI_BSY | SCSI_IOBIT | SCSI_CD)); |
9865 | } | 6472 | } |
@@ -9868,17 +6475,13 @@ void scsel(ULONG p_port) | |||
9868 | 6475 | ||
9869 | /*--------------------------------------------------------------------- | 6476 | /*--------------------------------------------------------------------- |
9870 | * | 6477 | * |
9871 | * Function: scxferc | 6478 | * Function: FPT_scxferc |
9872 | * | 6479 | * |
9873 | * Description: Handshake the p_data (DB4-0) across the bus. | 6480 | * Description: Handshake the p_data (DB4-0) across the bus. |
9874 | * | 6481 | * |
9875 | *---------------------------------------------------------------------*/ | 6482 | *---------------------------------------------------------------------*/ |
9876 | 6483 | ||
9877 | #if defined(DOS) | 6484 | static UCHAR FPT_scxferc(ULONG p_port, UCHAR p_data) |
9878 | UCHAR scxferc(USHORT p_port, UCHAR p_data) | ||
9879 | #else | ||
9880 | UCHAR scxferc(ULONG p_port, UCHAR p_data) | ||
9881 | #endif | ||
9882 | { | 6485 | { |
9883 | UCHAR curr_data, ret_data; | 6486 | UCHAR curr_data, ret_data; |
9884 | 6487 | ||
@@ -9890,7 +6493,7 @@ UCHAR scxferc(ULONG p_port, UCHAR p_data) | |||
9890 | 6493 | ||
9891 | WR_HARPOON(p_port+hp_scsidata_0, curr_data); | 6494 | WR_HARPOON(p_port+hp_scsidata_0, curr_data); |
9892 | 6495 | ||
9893 | scwirod(p_port,BIT(7)); /*Wait for DB7 to be released. */ | 6496 | FPT_scwirod(p_port,BIT(7)); /*Wait for DB7 to be released. */ |
9894 | while (!(RD_HARPOON(p_port+hp_scsidata_0) & BIT(5))); | 6497 | while (!(RD_HARPOON(p_port+hp_scsidata_0) & BIT(5))); |
9895 | 6498 | ||
9896 | ret_data = (RD_HARPOON(p_port+hp_scsidata_0) & (UCHAR) 0x1F); | 6499 | ret_data = (RD_HARPOON(p_port+hp_scsidata_0) & (UCHAR) 0x1F); |
@@ -9903,7 +6506,7 @@ UCHAR scxferc(ULONG p_port, UCHAR p_data) | |||
9903 | 6506 | ||
9904 | WR_HARPOON(p_port+hp_scsidata_0, curr_data); | 6507 | WR_HARPOON(p_port+hp_scsidata_0, curr_data); |
9905 | 6508 | ||
9906 | scwirod(p_port,BIT(5)); /*Wait for DB5 to be released. */ | 6509 | FPT_scwirod(p_port,BIT(5)); /*Wait for DB5 to be released. */ |
9907 | 6510 | ||
9908 | curr_data &= ~(BIT(4)|BIT(3)|BIT(2)|BIT(1)|BIT(0)); /*Release data bits */ | 6511 | curr_data &= ~(BIT(4)|BIT(3)|BIT(2)|BIT(1)|BIT(0)); /*Release data bits */ |
9909 | curr_data |= BIT(7); | 6512 | curr_data |= BIT(7); |
@@ -9914,7 +6517,7 @@ UCHAR scxferc(ULONG p_port, UCHAR p_data) | |||
9914 | 6517 | ||
9915 | WR_HARPOON(p_port+hp_scsidata_0, curr_data); | 6518 | WR_HARPOON(p_port+hp_scsidata_0, curr_data); |
9916 | 6519 | ||
9917 | scwirod(p_port,BIT(6)); /*Wait for DB6 to be released. */ | 6520 | FPT_scwirod(p_port,BIT(6)); /*Wait for DB6 to be released. */ |
9918 | 6521 | ||
9919 | return(ret_data); | 6522 | return(ret_data); |
9920 | } | 6523 | } |
@@ -9922,39 +6525,35 @@ UCHAR scxferc(ULONG p_port, UCHAR p_data) | |||
9922 | 6525 | ||
9923 | /*--------------------------------------------------------------------- | 6526 | /*--------------------------------------------------------------------- |
9924 | * | 6527 | * |
9925 | * Function: scsendi | 6528 | * Function: FPT_scsendi |
9926 | * | 6529 | * |
9927 | * Description: Transfer our Identification string to determine if we | 6530 | * Description: Transfer our Identification string to determine if we |
9928 | * will be the dominant master. | 6531 | * will be the dominant master. |
9929 | * | 6532 | * |
9930 | *---------------------------------------------------------------------*/ | 6533 | *---------------------------------------------------------------------*/ |
9931 | 6534 | ||
9932 | #if defined(DOS) | 6535 | static UCHAR FPT_scsendi(ULONG p_port, UCHAR p_id_string[]) |
9933 | UCHAR scsendi(USHORT p_port, UCHAR p_id_string[]) | ||
9934 | #else | ||
9935 | UCHAR scsendi(ULONG p_port, UCHAR p_id_string[]) | ||
9936 | #endif | ||
9937 | { | 6536 | { |
9938 | UCHAR ret_data,byte_cnt,bit_cnt,defer; | 6537 | UCHAR ret_data,byte_cnt,bit_cnt,defer; |
9939 | 6538 | ||
9940 | defer = FALSE; | 6539 | defer = 0; |
9941 | 6540 | ||
9942 | for (byte_cnt = 0; byte_cnt < ID_STRING_LENGTH; byte_cnt++) { | 6541 | for (byte_cnt = 0; byte_cnt < ID_STRING_LENGTH; byte_cnt++) { |
9943 | 6542 | ||
9944 | for (bit_cnt = 0x80; bit_cnt != 0 ; bit_cnt >>= 1) { | 6543 | for (bit_cnt = 0x80; bit_cnt != 0 ; bit_cnt >>= 1) { |
9945 | 6544 | ||
9946 | if (defer) | 6545 | if (defer) |
9947 | ret_data = scxferc(p_port,00); | 6546 | ret_data = FPT_scxferc(p_port,00); |
9948 | 6547 | ||
9949 | else if (p_id_string[byte_cnt] & bit_cnt) | 6548 | else if (p_id_string[byte_cnt] & bit_cnt) |
9950 | 6549 | ||
9951 | ret_data = scxferc(p_port,02); | 6550 | ret_data = FPT_scxferc(p_port,02); |
9952 | 6551 | ||
9953 | else { | 6552 | else { |
9954 | 6553 | ||
9955 | ret_data = scxferc(p_port,01); | 6554 | ret_data = FPT_scxferc(p_port,01); |
9956 | if (ret_data & 02) | 6555 | if (ret_data & 02) |
9957 | defer = TRUE; | 6556 | defer = 1; |
9958 | } | 6557 | } |
9959 | 6558 | ||
9960 | if ((ret_data & 0x1C) == 0x10) | 6559 | if ((ret_data & 0x1C) == 0x10) |
@@ -9980,17 +6579,13 @@ UCHAR scsendi(ULONG p_port, UCHAR p_id_string[]) | |||
9980 | 6579 | ||
9981 | /*--------------------------------------------------------------------- | 6580 | /*--------------------------------------------------------------------- |
9982 | * | 6581 | * |
9983 | * Function: sciso | 6582 | * Function: FPT_sciso |
9984 | * | 6583 | * |
9985 | * Description: Transfer the Identification string. | 6584 | * Description: Transfer the Identification string. |
9986 | * | 6585 | * |
9987 | *---------------------------------------------------------------------*/ | 6586 | *---------------------------------------------------------------------*/ |
9988 | 6587 | ||
9989 | #if defined(DOS) | 6588 | static UCHAR FPT_sciso(ULONG p_port, UCHAR p_id_string[]) |
9990 | UCHAR sciso(USHORT p_port, UCHAR p_id_string[]) | ||
9991 | #else | ||
9992 | UCHAR sciso(ULONG p_port, UCHAR p_id_string[]) | ||
9993 | #endif | ||
9994 | { | 6589 | { |
9995 | UCHAR ret_data,the_data,byte_cnt,bit_cnt; | 6590 | UCHAR ret_data,the_data,byte_cnt,bit_cnt; |
9996 | 6591 | ||
@@ -10000,7 +6595,7 @@ UCHAR sciso(ULONG p_port, UCHAR p_id_string[]) | |||
10000 | 6595 | ||
10001 | for (bit_cnt = 0; bit_cnt < 8; bit_cnt++) { | 6596 | for (bit_cnt = 0; bit_cnt < 8; bit_cnt++) { |
10002 | 6597 | ||
10003 | ret_data = scxferc(p_port,0); | 6598 | ret_data = FPT_scxferc(p_port,0); |
10004 | 6599 | ||
10005 | if (ret_data & 0xFC) | 6600 | if (ret_data & 0xFC) |
10006 | return(0xFF); | 6601 | return(0xFF); |
@@ -10020,8 +6615,8 @@ UCHAR sciso(ULONG p_port, UCHAR p_id_string[]) | |||
10020 | { | 6615 | { |
10021 | byte_cnt = 0; | 6616 | byte_cnt = 0; |
10022 | bit_cnt = 0; | 6617 | bit_cnt = 0; |
10023 | scxferc(p_port, SYNC_PTRN); | 6618 | FPT_scxferc(p_port, SYNC_PTRN); |
10024 | scxferc(p_port, ASSIGN_ID); | 6619 | FPT_scxferc(p_port, ASSIGN_ID); |
10025 | continue; | 6620 | continue; |
10026 | } | 6621 | } |
10027 | */ | 6622 | */ |
@@ -10044,18 +6639,14 @@ UCHAR sciso(ULONG p_port, UCHAR p_id_string[]) | |||
10044 | 6639 | ||
10045 | /*--------------------------------------------------------------------- | 6640 | /*--------------------------------------------------------------------- |
10046 | * | 6641 | * |
10047 | * Function: scwirod | 6642 | * Function: FPT_scwirod |
10048 | * | 6643 | * |
10049 | * Description: Sample the SCSI data bus making sure the signal has been | 6644 | * Description: Sample the SCSI data bus making sure the signal has been |
10050 | * deasserted for the correct number of consecutive samples. | 6645 | * deasserted for the correct number of consecutive samples. |
10051 | * | 6646 | * |
10052 | *---------------------------------------------------------------------*/ | 6647 | *---------------------------------------------------------------------*/ |
10053 | 6648 | ||
10054 | #if defined(DOS) | 6649 | static void FPT_scwirod(ULONG p_port, UCHAR p_data_bit) |
10055 | void scwirod(USHORT p_port, UCHAR p_data_bit) | ||
10056 | #else | ||
10057 | void scwirod(ULONG p_port, UCHAR p_data_bit) | ||
10058 | #endif | ||
10059 | { | 6650 | { |
10060 | UCHAR i; | 6651 | UCHAR i; |
10061 | 6652 | ||
@@ -10077,18 +6668,14 @@ void scwirod(ULONG p_port, UCHAR p_data_bit) | |||
10077 | 6668 | ||
10078 | /*--------------------------------------------------------------------- | 6669 | /*--------------------------------------------------------------------- |
10079 | * | 6670 | * |
10080 | * Function: scwiros | 6671 | * Function: FPT_scwiros |
10081 | * | 6672 | * |
10082 | * Description: Sample the SCSI Signal lines making sure the signal has been | 6673 | * Description: Sample the SCSI Signal lines making sure the signal has been |
10083 | * deasserted for the correct number of consecutive samples. | 6674 | * deasserted for the correct number of consecutive samples. |
10084 | * | 6675 | * |
10085 | *---------------------------------------------------------------------*/ | 6676 | *---------------------------------------------------------------------*/ |
10086 | 6677 | ||
10087 | #if defined(DOS) | 6678 | static void FPT_scwiros(ULONG p_port, UCHAR p_data_bit) |
10088 | void scwiros(USHORT p_port, UCHAR p_data_bit) | ||
10089 | #else | ||
10090 | void scwiros(ULONG p_port, UCHAR p_data_bit) | ||
10091 | #endif | ||
10092 | { | 6679 | { |
10093 | UCHAR i; | 6680 | UCHAR i; |
10094 | 6681 | ||
@@ -10109,13 +6696,13 @@ void scwiros(ULONG p_port, UCHAR p_data_bit) | |||
10109 | 6696 | ||
10110 | /*--------------------------------------------------------------------- | 6697 | /*--------------------------------------------------------------------- |
10111 | * | 6698 | * |
10112 | * Function: scvalq | 6699 | * Function: FPT_scvalq |
10113 | * | 6700 | * |
10114 | * Description: Make sure we received a valid data byte. | 6701 | * Description: Make sure we received a valid data byte. |
10115 | * | 6702 | * |
10116 | *---------------------------------------------------------------------*/ | 6703 | *---------------------------------------------------------------------*/ |
10117 | 6704 | ||
10118 | UCHAR scvalq(UCHAR p_quintet) | 6705 | static UCHAR FPT_scvalq(UCHAR p_quintet) |
10119 | { | 6706 | { |
10120 | UCHAR count; | 6707 | UCHAR count; |
10121 | 6708 | ||
@@ -10125,16 +6712,16 @@ UCHAR scvalq(UCHAR p_quintet) | |||
10125 | } | 6712 | } |
10126 | 6713 | ||
10127 | if (p_quintet & 0x18) | 6714 | if (p_quintet & 0x18) |
10128 | return(FALSE); | 6715 | return(0); |
10129 | 6716 | ||
10130 | else | 6717 | else |
10131 | return(TRUE); | 6718 | return(1); |
10132 | } | 6719 | } |
10133 | 6720 | ||
10134 | 6721 | ||
10135 | /*--------------------------------------------------------------------- | 6722 | /*--------------------------------------------------------------------- |
10136 | * | 6723 | * |
10137 | * Function: scsell | 6724 | * Function: FPT_scsell |
10138 | * | 6725 | * |
10139 | * Description: Select the specified device ID using a selection timeout | 6726 | * Description: Select the specified device ID using a selection timeout |
10140 | * less than 4ms. If somebody responds then it is a legacy | 6727 | * less than 4ms. If somebody responds then it is a legacy |
@@ -10142,17 +6729,9 @@ UCHAR scvalq(UCHAR p_quintet) | |||
10142 | * | 6729 | * |
10143 | *---------------------------------------------------------------------*/ | 6730 | *---------------------------------------------------------------------*/ |
10144 | 6731 | ||
10145 | #if defined(DOS) | 6732 | static UCHAR FPT_scsell(ULONG p_port, UCHAR targ_id) |
10146 | UCHAR scsell(USHORT p_port, UCHAR targ_id) | ||
10147 | #else | ||
10148 | UCHAR scsell(ULONG p_port, UCHAR targ_id) | ||
10149 | #endif | ||
10150 | { | 6733 | { |
10151 | #if defined(DOS) | ||
10152 | USHORT i; | ||
10153 | #else | ||
10154 | ULONG i; | 6734 | ULONG i; |
10155 | #endif | ||
10156 | 6735 | ||
10157 | WR_HARPOON(p_port+hp_page_ctrl, | 6736 | WR_HARPOON(p_port+hp_page_ctrl, |
10158 | (RD_HARPOON(p_port+hp_page_ctrl) | G_INT_DISABLE)); | 6737 | (RD_HARPOON(p_port+hp_page_ctrl) | G_INT_DISABLE)); |
@@ -10182,7 +6761,7 @@ UCHAR scsell(ULONG p_port, UCHAR targ_id) | |||
10182 | (RESET | PROG_HLT | TIMEOUT | AUTO_INT))) {} | 6761 | (RESET | PROG_HLT | TIMEOUT | AUTO_INT))) {} |
10183 | 6762 | ||
10184 | if (RDW_HARPOON((p_port+hp_intstat)) & RESET) | 6763 | if (RDW_HARPOON((p_port+hp_intstat)) & RESET) |
10185 | Wait(p_port, TO_250ms); | 6764 | FPT_Wait(p_port, TO_250ms); |
10186 | 6765 | ||
10187 | DISABLE_AUTO(p_port); | 6766 | DISABLE_AUTO(p_port); |
10188 | 6767 | ||
@@ -10199,7 +6778,7 @@ UCHAR scsell(ULONG p_port, UCHAR targ_id) | |||
10199 | WR_HARPOON(p_port+hp_page_ctrl, | 6778 | WR_HARPOON(p_port+hp_page_ctrl, |
10200 | (RD_HARPOON(p_port+hp_page_ctrl) & ~G_INT_DISABLE)); | 6779 | (RD_HARPOON(p_port+hp_page_ctrl) & ~G_INT_DISABLE)); |
10201 | 6780 | ||
10202 | return(FALSE); /*No legacy device */ | 6781 | return(0); /*No legacy device */ |
10203 | } | 6782 | } |
10204 | 6783 | ||
10205 | else { | 6784 | else { |
@@ -10217,108 +6796,19 @@ UCHAR scsell(ULONG p_port, UCHAR targ_id) | |||
10217 | WR_HARPOON(p_port+hp_page_ctrl, | 6796 | WR_HARPOON(p_port+hp_page_ctrl, |
10218 | (RD_HARPOON(p_port+hp_page_ctrl) & ~G_INT_DISABLE)); | 6797 | (RD_HARPOON(p_port+hp_page_ctrl) & ~G_INT_DISABLE)); |
10219 | 6798 | ||
10220 | return(TRUE); /*Found one of them oldies! */ | 6799 | return(1); /*Found one of them oldies! */ |
10221 | } | 6800 | } |
10222 | } | 6801 | } |
10223 | 6802 | ||
10224 | #if defined(DOS) | ||
10225 | /*--------------------------------------------------------------------- | 6803 | /*--------------------------------------------------------------------- |
10226 | * | 6804 | * |
10227 | * Function: scsell for DOS | 6805 | * Function: FPT_scwtsel |
10228 | * | ||
10229 | * Description: Select the specified device ID using a selection timeout | ||
10230 | * less than 2ms. This was specially required to solve | ||
10231 | * the problem with Plextor 12X CD-ROM drive. This drive | ||
10232 | * was responding the Selection at the end of 4ms and | ||
10233 | * hanging the system. | ||
10234 | * | ||
10235 | *---------------------------------------------------------------------*/ | ||
10236 | |||
10237 | UCHAR scsellDOS(USHORT p_port, UCHAR targ_id) | ||
10238 | { | ||
10239 | USHORT i; | ||
10240 | |||
10241 | WR_HARPOON(p_port+hp_page_ctrl, | ||
10242 | (RD_HARPOON(p_port+hp_page_ctrl) | G_INT_DISABLE)); | ||
10243 | |||
10244 | ARAM_ACCESS(p_port); | ||
10245 | |||
10246 | WR_HARPOON(p_port+hp_addstat,(RD_HARPOON(p_port+hp_addstat) | SCAM_TIMER)); | ||
10247 | WR_HARPOON(p_port+hp_seltimeout,TO_2ms); | ||
10248 | |||
10249 | |||
10250 | for (i = p_port+CMD_STRT; i < p_port+CMD_STRT+12; i+=2) { | ||
10251 | WRW_HARPOON(i, (MPM_OP+ACOMMAND)); | ||
10252 | } | ||
10253 | WRW_HARPOON(i, (BRH_OP+ALWAYS+ NP)); | ||
10254 | |||
10255 | WRW_HARPOON((p_port+hp_intstat), | ||
10256 | (RESET | TIMEOUT | SEL | BUS_FREE | AUTO_INT)); | ||
10257 | |||
10258 | WR_HARPOON(p_port+hp_select_id, targ_id); | ||
10259 | |||
10260 | WR_HARPOON(p_port+hp_portctrl_0, SCSI_PORT); | ||
10261 | WR_HARPOON(p_port+hp_autostart_3, (SELECT | CMD_ONLY_STRT)); | ||
10262 | WR_HARPOON(p_port+hp_scsictrl_0, (SEL_TAR | ENA_RESEL)); | ||
10263 | |||
10264 | |||
10265 | while (!(RDW_HARPOON((p_port+hp_intstat)) & | ||
10266 | (RESET | PROG_HLT | TIMEOUT | AUTO_INT))) {} | ||
10267 | |||
10268 | if (RDW_HARPOON((p_port+hp_intstat)) & RESET) | ||
10269 | Wait(p_port, TO_250ms); | ||
10270 | |||
10271 | DISABLE_AUTO(p_port); | ||
10272 | |||
10273 | WR_HARPOON(p_port+hp_addstat,(RD_HARPOON(p_port+hp_addstat) & ~SCAM_TIMER)); | ||
10274 | WR_HARPOON(p_port+hp_seltimeout,TO_290ms); | ||
10275 | |||
10276 | SGRAM_ACCESS(p_port); | ||
10277 | |||
10278 | if (RDW_HARPOON((p_port+hp_intstat)) & (RESET | TIMEOUT) ) { | ||
10279 | |||
10280 | WRW_HARPOON((p_port+hp_intstat), | ||
10281 | (RESET | TIMEOUT | SEL | BUS_FREE | PHASE)); | ||
10282 | |||
10283 | WR_HARPOON(p_port+hp_page_ctrl, | ||
10284 | (RD_HARPOON(p_port+hp_page_ctrl) & ~G_INT_DISABLE)); | ||
10285 | |||
10286 | return(FALSE); /*No legacy device */ | ||
10287 | } | ||
10288 | |||
10289 | else { | ||
10290 | |||
10291 | while(!(RDW_HARPOON((p_port+hp_intstat)) & BUS_FREE)) { | ||
10292 | if (RD_HARPOON(p_port+hp_scsisig) & SCSI_REQ) | ||
10293 | { | ||
10294 | WR_HARPOON(p_port+hp_scsisig, (SCSI_ACK + S_ILL_PH)); | ||
10295 | ACCEPT_MSG(p_port); | ||
10296 | } | ||
10297 | } | ||
10298 | |||
10299 | WRW_HARPOON((p_port+hp_intstat), CLR_ALL_INT_1); | ||
10300 | |||
10301 | WR_HARPOON(p_port+hp_page_ctrl, | ||
10302 | (RD_HARPOON(p_port+hp_page_ctrl) & ~G_INT_DISABLE)); | ||
10303 | |||
10304 | return(TRUE); /*Found one of them oldies! */ | ||
10305 | } | ||
10306 | } | ||
10307 | #endif /* DOS */ | ||
10308 | |||
10309 | /*--------------------------------------------------------------------- | ||
10310 | * | ||
10311 | * Function: scwtsel | ||
10312 | * | 6806 | * |
10313 | * Description: Wait to be selected by another SCAM initiator. | 6807 | * Description: Wait to be selected by another SCAM initiator. |
10314 | * | 6808 | * |
10315 | *---------------------------------------------------------------------*/ | 6809 | *---------------------------------------------------------------------*/ |
10316 | 6810 | ||
10317 | #if defined(DOS) | 6811 | static void FPT_scwtsel(ULONG p_port) |
10318 | void scwtsel(USHORT p_port) | ||
10319 | #else | ||
10320 | void scwtsel(ULONG p_port) | ||
10321 | #endif | ||
10322 | { | 6812 | { |
10323 | while(!(RDW_HARPOON((p_port+hp_intstat)) & SCAM_SEL)) {} | 6813 | while(!(RDW_HARPOON((p_port+hp_intstat)) & SCAM_SEL)) {} |
10324 | } | 6814 | } |
@@ -10326,23 +6816,19 @@ void scwtsel(ULONG p_port) | |||
10326 | 6816 | ||
10327 | /*--------------------------------------------------------------------- | 6817 | /*--------------------------------------------------------------------- |
10328 | * | 6818 | * |
10329 | * Function: inisci | 6819 | * Function: FPT_inisci |
10330 | * | 6820 | * |
10331 | * Description: Setup the data Structure with the info from the EEPROM. | 6821 | * Description: Setup the data Structure with the info from the EEPROM. |
10332 | * | 6822 | * |
10333 | *---------------------------------------------------------------------*/ | 6823 | *---------------------------------------------------------------------*/ |
10334 | 6824 | ||
10335 | #if defined(DOS) | 6825 | static void FPT_inisci(UCHAR p_card, ULONG p_port, UCHAR p_our_id) |
10336 | void inisci(UCHAR p_card, USHORT p_port, UCHAR p_our_id) | ||
10337 | #else | ||
10338 | void inisci(UCHAR p_card, ULONG p_port, UCHAR p_our_id) | ||
10339 | #endif | ||
10340 | { | 6826 | { |
10341 | UCHAR i,k,max_id; | 6827 | UCHAR i,k,max_id; |
10342 | USHORT ee_data; | 6828 | USHORT ee_data; |
10343 | PNVRamInfo pCurrNvRam; | 6829 | PNVRamInfo pCurrNvRam; |
10344 | 6830 | ||
10345 | pCurrNvRam = BL_Card[p_card].pNvRamInfo; | 6831 | pCurrNvRam = FPT_BL_Card[p_card].pNvRamInfo; |
10346 | 6832 | ||
10347 | if (RD_HARPOON(p_port+hp_page_ctrl) & NARROW_SCSI_CARD) | 6833 | if (RD_HARPOON(p_port+hp_page_ctrl) & NARROW_SCSI_CARD) |
10348 | max_id = 0x08; | 6834 | max_id = 0x08; |
@@ -10354,14 +6840,14 @@ void inisci(UCHAR p_card, ULONG p_port, UCHAR p_our_id) | |||
10354 | for(i = 0; i < max_id; i++){ | 6840 | for(i = 0; i < max_id; i++){ |
10355 | 6841 | ||
10356 | for(k = 0; k < 4; k++) | 6842 | for(k = 0; k < 4; k++) |
10357 | scamInfo[i].id_string[k] = pCurrNvRam->niScamTbl[i][k]; | 6843 | FPT_scamInfo[i].id_string[k] = pCurrNvRam->niScamTbl[i][k]; |
10358 | for(k = 4; k < ID_STRING_LENGTH; k++) | 6844 | for(k = 4; k < ID_STRING_LENGTH; k++) |
10359 | scamInfo[i].id_string[k] = (UCHAR) 0x00; | 6845 | FPT_scamInfo[i].id_string[k] = (UCHAR) 0x00; |
10360 | 6846 | ||
10361 | if(scamInfo[i].id_string[0] == 0x00) | 6847 | if(FPT_scamInfo[i].id_string[0] == 0x00) |
10362 | scamInfo[i].state = ID_UNUSED; /*Default to unused ID. */ | 6848 | FPT_scamInfo[i].state = ID_UNUSED; /*Default to unused ID. */ |
10363 | else | 6849 | else |
10364 | scamInfo[i].state = ID_UNASSIGNED; /*Default to unassigned ID. */ | 6850 | FPT_scamInfo[i].state = ID_UNASSIGNED; /*Default to unassigned ID. */ |
10365 | 6851 | ||
10366 | } | 6852 | } |
10367 | }else { | 6853 | }else { |
@@ -10369,38 +6855,38 @@ void inisci(UCHAR p_card, ULONG p_port, UCHAR p_our_id) | |||
10369 | { | 6855 | { |
10370 | for (k=0; k < ID_STRING_LENGTH; k+=2) | 6856 | for (k=0; k < ID_STRING_LENGTH; k+=2) |
10371 | { | 6857 | { |
10372 | ee_data = utilEERead(p_port, (USHORT)((EE_SCAMBASE/2) + | 6858 | ee_data = FPT_utilEERead(p_port, (USHORT)((EE_SCAMBASE/2) + |
10373 | (USHORT) (i*((USHORT)ID_STRING_LENGTH/2)) + (USHORT)(k/2))); | 6859 | (USHORT) (i*((USHORT)ID_STRING_LENGTH/2)) + (USHORT)(k/2))); |
10374 | scamInfo[i].id_string[k] = (UCHAR) ee_data; | 6860 | FPT_scamInfo[i].id_string[k] = (UCHAR) ee_data; |
10375 | ee_data >>= 8; | 6861 | ee_data >>= 8; |
10376 | scamInfo[i].id_string[k+1] = (UCHAR) ee_data; | 6862 | FPT_scamInfo[i].id_string[k+1] = (UCHAR) ee_data; |
10377 | } | 6863 | } |
10378 | 6864 | ||
10379 | if ((scamInfo[i].id_string[0] == 0x00) || | 6865 | if ((FPT_scamInfo[i].id_string[0] == 0x00) || |
10380 | (scamInfo[i].id_string[0] == 0xFF)) | 6866 | (FPT_scamInfo[i].id_string[0] == 0xFF)) |
10381 | 6867 | ||
10382 | scamInfo[i].state = ID_UNUSED; /*Default to unused ID. */ | 6868 | FPT_scamInfo[i].state = ID_UNUSED; /*Default to unused ID. */ |
10383 | 6869 | ||
10384 | else | 6870 | else |
10385 | scamInfo[i].state = ID_UNASSIGNED; /*Default to unassigned ID. */ | 6871 | FPT_scamInfo[i].state = ID_UNASSIGNED; /*Default to unassigned ID. */ |
10386 | 6872 | ||
10387 | } | 6873 | } |
10388 | } | 6874 | } |
10389 | for(k = 0; k < ID_STRING_LENGTH; k++) | 6875 | for(k = 0; k < ID_STRING_LENGTH; k++) |
10390 | scamInfo[p_our_id].id_string[k] = scamHAString[k]; | 6876 | FPT_scamInfo[p_our_id].id_string[k] = FPT_scamHAString[k]; |
10391 | 6877 | ||
10392 | } | 6878 | } |
10393 | 6879 | ||
10394 | /*--------------------------------------------------------------------- | 6880 | /*--------------------------------------------------------------------- |
10395 | * | 6881 | * |
10396 | * Function: scmachid | 6882 | * Function: FPT_scmachid |
10397 | * | 6883 | * |
10398 | * Description: Match the Device ID string with our values stored in | 6884 | * Description: Match the Device ID string with our values stored in |
10399 | * the EEPROM. | 6885 | * the EEPROM. |
10400 | * | 6886 | * |
10401 | *---------------------------------------------------------------------*/ | 6887 | *---------------------------------------------------------------------*/ |
10402 | 6888 | ||
10403 | UCHAR scmachid(UCHAR p_card, UCHAR p_id_string[]) | 6889 | static UCHAR FPT_scmachid(UCHAR p_card, UCHAR p_id_string[]) |
10404 | { | 6890 | { |
10405 | 6891 | ||
10406 | UCHAR i,k,match; | 6892 | UCHAR i,k,match; |
@@ -10408,28 +6894,20 @@ UCHAR scmachid(UCHAR p_card, UCHAR p_id_string[]) | |||
10408 | 6894 | ||
10409 | for (i=0; i < MAX_SCSI_TAR; i++) { | 6895 | for (i=0; i < MAX_SCSI_TAR; i++) { |
10410 | 6896 | ||
10411 | #if !defined(SCAM_LEV_2) | 6897 | match = 1; |
10412 | if (scamInfo[i].state == ID_UNASSIGNED) | ||
10413 | { | ||
10414 | #endif | ||
10415 | match = TRUE; | ||
10416 | 6898 | ||
10417 | for (k=0; k < ID_STRING_LENGTH; k++) | 6899 | for (k=0; k < ID_STRING_LENGTH; k++) |
10418 | { | 6900 | { |
10419 | if (p_id_string[k] != scamInfo[i].id_string[k]) | 6901 | if (p_id_string[k] != FPT_scamInfo[i].id_string[k]) |
10420 | match = FALSE; | 6902 | match = 0; |
10421 | } | 6903 | } |
10422 | 6904 | ||
10423 | if (match) | 6905 | if (match) |
10424 | { | 6906 | { |
10425 | scamInfo[i].state = ID_ASSIGNED; | 6907 | FPT_scamInfo[i].state = ID_ASSIGNED; |
10426 | return(i); | 6908 | return(i); |
10427 | } | 6909 | } |
10428 | 6910 | ||
10429 | #if !defined(SCAM_LEV_2) | ||
10430 | } | ||
10431 | #endif | ||
10432 | |||
10433 | } | 6911 | } |
10434 | 6912 | ||
10435 | 6913 | ||
@@ -10448,17 +6926,17 @@ UCHAR scmachid(UCHAR p_card, UCHAR p_id_string[]) | |||
10448 | { | 6926 | { |
10449 | i--; | 6927 | i--; |
10450 | 6928 | ||
10451 | if (scamInfo[match].state == ID_UNUSED) | 6929 | if (FPT_scamInfo[match].state == ID_UNUSED) |
10452 | { | 6930 | { |
10453 | for (k=0; k < ID_STRING_LENGTH; k++) | 6931 | for (k=0; k < ID_STRING_LENGTH; k++) |
10454 | { | 6932 | { |
10455 | scamInfo[match].id_string[k] = p_id_string[k]; | 6933 | FPT_scamInfo[match].id_string[k] = p_id_string[k]; |
10456 | } | 6934 | } |
10457 | 6935 | ||
10458 | scamInfo[match].state = ID_ASSIGNED; | 6936 | FPT_scamInfo[match].state = ID_ASSIGNED; |
10459 | 6937 | ||
10460 | if(BL_Card[p_card].pNvRamInfo == NULL) | 6938 | if(FPT_BL_Card[p_card].pNvRamInfo == NULL) |
10461 | BL_Card[p_card].globalFlags |= F_UPDATE_EEPROM; | 6939 | FPT_BL_Card[p_card].globalFlags |= F_UPDATE_EEPROM; |
10462 | return(match); | 6940 | return(match); |
10463 | 6941 | ||
10464 | } | 6942 | } |
@@ -10498,17 +6976,17 @@ UCHAR scmachid(UCHAR p_card, UCHAR p_id_string[]) | |||
10498 | 6976 | ||
10499 | i--; | 6977 | i--; |
10500 | 6978 | ||
10501 | if (scamInfo[match].state == ID_UNASSIGNED) | 6979 | if (FPT_scamInfo[match].state == ID_UNASSIGNED) |
10502 | { | 6980 | { |
10503 | for (k=0; k < ID_STRING_LENGTH; k++) | 6981 | for (k=0; k < ID_STRING_LENGTH; k++) |
10504 | { | 6982 | { |
10505 | scamInfo[match].id_string[k] = p_id_string[k]; | 6983 | FPT_scamInfo[match].id_string[k] = p_id_string[k]; |
10506 | } | 6984 | } |
10507 | 6985 | ||
10508 | scamInfo[match].id_string[0] |= BIT(7); | 6986 | FPT_scamInfo[match].id_string[0] |= BIT(7); |
10509 | scamInfo[match].state = ID_ASSIGNED; | 6987 | FPT_scamInfo[match].state = ID_ASSIGNED; |
10510 | if(BL_Card[p_card].pNvRamInfo == NULL) | 6988 | if(FPT_BL_Card[p_card].pNvRamInfo == NULL) |
10511 | BL_Card[p_card].globalFlags |= F_UPDATE_EEPROM; | 6989 | FPT_BL_Card[p_card].globalFlags |= F_UPDATE_EEPROM; |
10512 | return(match); | 6990 | return(match); |
10513 | 6991 | ||
10514 | } | 6992 | } |
@@ -10531,17 +7009,13 @@ UCHAR scmachid(UCHAR p_card, UCHAR p_id_string[]) | |||
10531 | 7009 | ||
10532 | /*--------------------------------------------------------------------- | 7010 | /*--------------------------------------------------------------------- |
10533 | * | 7011 | * |
10534 | * Function: scsavdi | 7012 | * Function: FPT_scsavdi |
10535 | * | 7013 | * |
10536 | * Description: Save off the device SCAM ID strings. | 7014 | * Description: Save off the device SCAM ID strings. |
10537 | * | 7015 | * |
10538 | *---------------------------------------------------------------------*/ | 7016 | *---------------------------------------------------------------------*/ |
10539 | 7017 | ||
10540 | #if defined(DOS) | 7018 | static void FPT_scsavdi(UCHAR p_card, ULONG p_port) |
10541 | void scsavdi(UCHAR p_card, USHORT p_port) | ||
10542 | #else | ||
10543 | void scsavdi(UCHAR p_card, ULONG p_port) | ||
10544 | #endif | ||
10545 | { | 7019 | { |
10546 | UCHAR i,k,max_id; | 7020 | UCHAR i,k,max_id; |
10547 | USHORT ee_data,sum_data; | 7021 | USHORT ee_data,sum_data; |
@@ -10551,11 +7025,11 @@ void scsavdi(UCHAR p_card, ULONG p_port) | |||
10551 | 7025 | ||
10552 | for (i = 1; i < EE_SCAMBASE/2; i++) | 7026 | for (i = 1; i < EE_SCAMBASE/2; i++) |
10553 | { | 7027 | { |
10554 | sum_data += utilEERead(p_port, i); | 7028 | sum_data += FPT_utilEERead(p_port, i); |
10555 | } | 7029 | } |
10556 | 7030 | ||
10557 | 7031 | ||
10558 | utilEEWriteOnOff(p_port,1); /* Enable write access to the EEPROM */ | 7032 | FPT_utilEEWriteOnOff(p_port,1); /* Enable write access to the EEPROM */ |
10559 | 7033 | ||
10560 | if (RD_HARPOON(p_port+hp_page_ctrl) & NARROW_SCSI_CARD) | 7034 | if (RD_HARPOON(p_port+hp_page_ctrl) & NARROW_SCSI_CARD) |
10561 | max_id = 0x08; | 7035 | max_id = 0x08; |
@@ -10568,64 +7042,29 @@ void scsavdi(UCHAR p_card, ULONG p_port) | |||
10568 | 7042 | ||
10569 | for (k=0; k < ID_STRING_LENGTH; k+=2) | 7043 | for (k=0; k < ID_STRING_LENGTH; k+=2) |
10570 | { | 7044 | { |
10571 | ee_data = scamInfo[i].id_string[k+1]; | 7045 | ee_data = FPT_scamInfo[i].id_string[k+1]; |
10572 | ee_data <<= 8; | 7046 | ee_data <<= 8; |
10573 | ee_data |= scamInfo[i].id_string[k]; | 7047 | ee_data |= FPT_scamInfo[i].id_string[k]; |
10574 | sum_data += ee_data; | 7048 | sum_data += ee_data; |
10575 | utilEEWrite(p_port, ee_data, (USHORT)((EE_SCAMBASE/2) + | 7049 | FPT_utilEEWrite(p_port, ee_data, (USHORT)((EE_SCAMBASE/2) + |
10576 | (USHORT)(i*((USHORT)ID_STRING_LENGTH/2)) + (USHORT)(k/2))); | 7050 | (USHORT)(i*((USHORT)ID_STRING_LENGTH/2)) + (USHORT)(k/2))); |
10577 | } | 7051 | } |
10578 | } | 7052 | } |
10579 | 7053 | ||
10580 | 7054 | ||
10581 | utilEEWrite(p_port, sum_data, EEPROM_CHECK_SUM/2); | 7055 | FPT_utilEEWrite(p_port, sum_data, EEPROM_CHECK_SUM/2); |
10582 | utilEEWriteOnOff(p_port,0); /* Turn off write access */ | 7056 | FPT_utilEEWriteOnOff(p_port,0); /* Turn off write access */ |
10583 | } | 7057 | } |
10584 | #ident "$Id: diagnose.c 1.10 1997/06/10 16:51:47 mohan Exp $" | ||
10585 | /*---------------------------------------------------------------------- | ||
10586 | * | ||
10587 | * | ||
10588 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
10589 | * | ||
10590 | * This file is available under both the GNU General Public License | ||
10591 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
10592 | * | ||
10593 | * $Workfile: diagnose.c $ | ||
10594 | * | ||
10595 | * Description: Diagnostic funtions for testing the integrity of | ||
10596 | * the HARPOON. | ||
10597 | * | ||
10598 | * $Date: 1997/06/10 16:51:47 $ | ||
10599 | * | ||
10600 | * $Revision: 1.10 $ | ||
10601 | * | ||
10602 | *----------------------------------------------------------------------*/ | ||
10603 | |||
10604 | /*#include <globals.h>*/ | ||
10605 | |||
10606 | #if (FW_TYPE==_UCB_MGR_) | ||
10607 | /*#include <budi.h>*/ | ||
10608 | #endif | ||
10609 | |||
10610 | /*#include <sccbmgr.h>*/ | ||
10611 | /*#include <blx30.h>*/ | ||
10612 | /*#include <target.h>*/ | ||
10613 | /*#include <eeprom.h>*/ | ||
10614 | /*#include <harpoon.h>*/ | ||
10615 | 7058 | ||
10616 | /*--------------------------------------------------------------------- | 7059 | /*--------------------------------------------------------------------- |
10617 | * | 7060 | * |
10618 | * Function: XbowInit | 7061 | * Function: FPT_XbowInit |
10619 | * | 7062 | * |
10620 | * Description: Setup the Xbow for normal operation. | 7063 | * Description: Setup the Xbow for normal operation. |
10621 | * | 7064 | * |
10622 | *---------------------------------------------------------------------*/ | 7065 | *---------------------------------------------------------------------*/ |
10623 | 7066 | ||
10624 | #if defined(DOS) | 7067 | static void FPT_XbowInit(ULONG port, UCHAR ScamFlg) |
10625 | void XbowInit(USHORT port, UCHAR ScamFlg) | ||
10626 | #else | ||
10627 | void XbowInit(ULONG port, UCHAR ScamFlg) | ||
10628 | #endif | ||
10629 | { | 7068 | { |
10630 | UCHAR i; | 7069 | UCHAR i; |
10631 | 7070 | ||
@@ -10647,18 +7086,13 @@ UCHAR i; | |||
10647 | 7086 | ||
10648 | WRW_HARPOON((port+hp_intstat), CLR_ALL_INT); | 7087 | WRW_HARPOON((port+hp_intstat), CLR_ALL_INT); |
10649 | 7088 | ||
10650 | #if defined(SCAM_LEV_2) | 7089 | FPT_default_intena = RESET | RSEL | PROG_HLT | TIMEOUT | |
10651 | default_intena = RESET | RSEL | PROG_HLT | TIMEOUT | | ||
10652 | BUS_FREE | XFER_CNT_0 | AUTO_INT; | 7090 | BUS_FREE | XFER_CNT_0 | AUTO_INT; |
10653 | 7091 | ||
10654 | if ((ScamFlg & SCAM_ENABLED) && (ScamFlg & SCAM_LEVEL2)) | 7092 | if ((ScamFlg & SCAM_ENABLED) && (ScamFlg & SCAM_LEVEL2)) |
10655 | default_intena |= SCAM_SEL; | 7093 | FPT_default_intena |= SCAM_SEL; |
10656 | 7094 | ||
10657 | #else | 7095 | WRW_HARPOON((port+hp_intena), FPT_default_intena); |
10658 | default_intena = RESET | RSEL | PROG_HLT | TIMEOUT | | ||
10659 | BUS_FREE | XFER_CNT_0 | AUTO_INT; | ||
10660 | #endif | ||
10661 | WRW_HARPOON((port+hp_intena), default_intena); | ||
10662 | 7096 | ||
10663 | WR_HARPOON(port+hp_seltimeout,TO_290ms); | 7097 | WR_HARPOON(port+hp_seltimeout,TO_290ms); |
10664 | 7098 | ||
@@ -10667,26 +7101,6 @@ UCHAR i; | |||
10667 | if (RD_HARPOON(port+hp_page_ctrl) & NARROW_SCSI_CARD) | 7101 | if (RD_HARPOON(port+hp_page_ctrl) & NARROW_SCSI_CARD) |
10668 | WR_HARPOON(port+hp_addstat,SCSI_MODE8); | 7102 | WR_HARPOON(port+hp_addstat,SCSI_MODE8); |
10669 | 7103 | ||
10670 | #if defined(NO_BIOS_OPTION) | ||
10671 | |||
10672 | WR_HARPOON(port+hp_synctarg_0,NARROW_SCSI); | ||
10673 | WR_HARPOON(port+hp_synctarg_1,NARROW_SCSI); | ||
10674 | WR_HARPOON(port+hp_synctarg_2,NARROW_SCSI); | ||
10675 | WR_HARPOON(port+hp_synctarg_3,NARROW_SCSI); | ||
10676 | WR_HARPOON(port+hp_synctarg_4,NARROW_SCSI); | ||
10677 | WR_HARPOON(port+hp_synctarg_5,NARROW_SCSI); | ||
10678 | WR_HARPOON(port+hp_synctarg_6,NARROW_SCSI); | ||
10679 | WR_HARPOON(port+hp_synctarg_7,NARROW_SCSI); | ||
10680 | WR_HARPOON(port+hp_synctarg_8,NARROW_SCSI); | ||
10681 | WR_HARPOON(port+hp_synctarg_9,NARROW_SCSI); | ||
10682 | WR_HARPOON(port+hp_synctarg_10,NARROW_SCSI); | ||
10683 | WR_HARPOON(port+hp_synctarg_11,NARROW_SCSI); | ||
10684 | WR_HARPOON(port+hp_synctarg_12,NARROW_SCSI); | ||
10685 | WR_HARPOON(port+hp_synctarg_13,NARROW_SCSI); | ||
10686 | WR_HARPOON(port+hp_synctarg_14,NARROW_SCSI); | ||
10687 | WR_HARPOON(port+hp_synctarg_15,NARROW_SCSI); | ||
10688 | |||
10689 | #endif | ||
10690 | WR_HARPOON(port+hp_page_ctrl, i); | 7104 | WR_HARPOON(port+hp_page_ctrl, i); |
10691 | 7105 | ||
10692 | } | 7106 | } |
@@ -10694,17 +7108,13 @@ UCHAR i; | |||
10694 | 7108 | ||
10695 | /*--------------------------------------------------------------------- | 7109 | /*--------------------------------------------------------------------- |
10696 | * | 7110 | * |
10697 | * Function: BusMasterInit | 7111 | * Function: FPT_BusMasterInit |
10698 | * | 7112 | * |
10699 | * Description: Initialize the BusMaster for normal operations. | 7113 | * Description: Initialize the BusMaster for normal operations. |
10700 | * | 7114 | * |
10701 | *---------------------------------------------------------------------*/ | 7115 | *---------------------------------------------------------------------*/ |
10702 | 7116 | ||
10703 | #if defined(DOS) | 7117 | static void FPT_BusMasterInit(ULONG p_port) |
10704 | void BusMasterInit(USHORT p_port) | ||
10705 | #else | ||
10706 | void BusMasterInit(ULONG p_port) | ||
10707 | #endif | ||
10708 | { | 7118 | { |
10709 | 7119 | ||
10710 | 7120 | ||
@@ -10719,13 +7129,6 @@ void BusMasterInit(ULONG p_port) | |||
10719 | WR_HARPOON(p_port+hp_ee_ctrl, (SCSI_TERM_ENA_H)); | 7129 | WR_HARPOON(p_port+hp_ee_ctrl, (SCSI_TERM_ENA_H)); |
10720 | 7130 | ||
10721 | 7131 | ||
10722 | #if defined(NT) | ||
10723 | |||
10724 | WR_HARPOON(p_port+hp_pci_cmd_cfg, (RD_HARPOON(p_port+hp_pci_cmd_cfg) | ||
10725 | & ~MEM_SPACE_ENA)); | ||
10726 | |||
10727 | #endif | ||
10728 | |||
10729 | RD_HARPOON(p_port+hp_int_status); /*Clear interrupts. */ | 7132 | RD_HARPOON(p_port+hp_int_status); /*Clear interrupts. */ |
10730 | WR_HARPOON(p_port+hp_int_mask, (INT_CMD_COMPL | SCSI_INTERRUPT)); | 7133 | WR_HARPOON(p_port+hp_int_mask, (INT_CMD_COMPL | SCSI_INTERRUPT)); |
10731 | WR_HARPOON(p_port+hp_page_ctrl, (RD_HARPOON(p_port+hp_page_ctrl) & | 7134 | WR_HARPOON(p_port+hp_page_ctrl, (RD_HARPOON(p_port+hp_page_ctrl) & |
@@ -10735,147 +7138,14 @@ void BusMasterInit(ULONG p_port) | |||
10735 | 7138 | ||
10736 | /*--------------------------------------------------------------------- | 7139 | /*--------------------------------------------------------------------- |
10737 | * | 7140 | * |
10738 | * Function: DiagXbow | 7141 | * Function: FPT_DiagEEPROM |
10739 | * | ||
10740 | * Description: Test Xbow integrity. Non-zero return indicates an error. | ||
10741 | * | ||
10742 | *---------------------------------------------------------------------*/ | ||
10743 | |||
10744 | #if defined(DOS) | ||
10745 | int DiagXbow(USHORT port) | ||
10746 | #else | ||
10747 | int DiagXbow(ULONG port) | ||
10748 | #endif | ||
10749 | { | ||
10750 | unsigned char fifo_cnt,loop_cnt; | ||
10751 | |||
10752 | unsigned char fifodata[5]; | ||
10753 | fifodata[0] = 0x00; | ||
10754 | fifodata[1] = 0xFF; | ||
10755 | fifodata[2] = 0x55; | ||
10756 | fifodata[3] = 0xAA; | ||
10757 | fifodata[4] = 0x00; | ||
10758 | |||
10759 | |||
10760 | WRW_HARPOON((port+hp_intstat), CLR_ALL_INT); | ||
10761 | WRW_HARPOON((port+hp_intena), 0x0000); | ||
10762 | |||
10763 | WR_HARPOON(port+hp_seltimeout,TO_5ms); | ||
10764 | |||
10765 | WR_HARPOON(port+hp_portctrl_0,START_TO); | ||
10766 | |||
10767 | |||
10768 | for(fifodata[4] = 0x01; fifodata[4] != (UCHAR) 0; fifodata[4] = fifodata[4] << 1) { | ||
10769 | |||
10770 | WR_HARPOON(port+hp_selfid_0,fifodata[4]); | ||
10771 | WR_HARPOON(port+hp_selfid_1,fifodata[4]); | ||
10772 | |||
10773 | if ((RD_HARPOON(port+hp_selfid_0) != fifodata[4]) || | ||
10774 | (RD_HARPOON(port+hp_selfid_1) != fifodata[4])) | ||
10775 | return(1); | ||
10776 | } | ||
10777 | |||
10778 | |||
10779 | for(loop_cnt = 0; loop_cnt < 4; loop_cnt++) { | ||
10780 | |||
10781 | WR_HARPOON(port+hp_portctrl_0,(HOST_PORT | HOST_WRT | START_TO)); | ||
10782 | |||
10783 | |||
10784 | for (fifo_cnt = 0; fifo_cnt < FIFO_LEN; fifo_cnt++) { | ||
10785 | |||
10786 | WR_HARPOON(port+hp_fifodata_0, fifodata[loop_cnt]); | ||
10787 | } | ||
10788 | |||
10789 | |||
10790 | if (!(RD_HARPOON(port+hp_xferstat) & FIFO_FULL)) | ||
10791 | return(1); | ||
10792 | |||
10793 | |||
10794 | WR_HARPOON(port+hp_portctrl_0,(HOST_PORT | START_TO)); | ||
10795 | |||
10796 | for (fifo_cnt = 0; fifo_cnt < FIFO_LEN; fifo_cnt++) { | ||
10797 | |||
10798 | if (RD_HARPOON(port+hp_fifodata_0) != fifodata[loop_cnt]) | ||
10799 | return(1); | ||
10800 | } | ||
10801 | |||
10802 | |||
10803 | if (!(RD_HARPOON(port+hp_xferstat) & FIFO_EMPTY)) | ||
10804 | return(1); | ||
10805 | } | ||
10806 | |||
10807 | |||
10808 | while(!(RDW_HARPOON((port+hp_intstat)) & TIMEOUT)) {} | ||
10809 | |||
10810 | |||
10811 | WR_HARPOON(port+hp_seltimeout,TO_290ms); | ||
10812 | |||
10813 | WRW_HARPOON((port+hp_intstat), CLR_ALL_INT); | ||
10814 | |||
10815 | WRW_HARPOON((port+hp_intena), default_intena); | ||
10816 | |||
10817 | return(0); | ||
10818 | } | ||
10819 | |||
10820 | |||
10821 | /*--------------------------------------------------------------------- | ||
10822 | * | ||
10823 | * Function: DiagBusMaster | ||
10824 | * | ||
10825 | * Description: Test BusMaster integrity. Non-zero return indicates an | ||
10826 | * error. | ||
10827 | * | ||
10828 | *---------------------------------------------------------------------*/ | ||
10829 | |||
10830 | #if defined(DOS) | ||
10831 | int DiagBusMaster(USHORT port) | ||
10832 | #else | ||
10833 | int DiagBusMaster(ULONG port) | ||
10834 | #endif | ||
10835 | { | ||
10836 | UCHAR testdata; | ||
10837 | |||
10838 | for(testdata = (UCHAR) 1; testdata != (UCHAR)0; testdata = testdata << 1) { | ||
10839 | |||
10840 | WR_HARPOON(port+hp_xfer_cnt_lo,testdata); | ||
10841 | WR_HARPOON(port+hp_xfer_cnt_mi,testdata); | ||
10842 | WR_HARPOON(port+hp_xfer_cnt_hi,testdata); | ||
10843 | WR_HARPOON(port+hp_host_addr_lo,testdata); | ||
10844 | WR_HARPOON(port+hp_host_addr_lmi,testdata); | ||
10845 | WR_HARPOON(port+hp_host_addr_hmi,testdata); | ||
10846 | WR_HARPOON(port+hp_host_addr_hi,testdata); | ||
10847 | |||
10848 | if ((RD_HARPOON(port+hp_xfer_cnt_lo) != testdata) || | ||
10849 | (RD_HARPOON(port+hp_xfer_cnt_mi) != testdata) || | ||
10850 | (RD_HARPOON(port+hp_xfer_cnt_hi) != testdata) || | ||
10851 | (RD_HARPOON(port+hp_host_addr_lo) != testdata) || | ||
10852 | (RD_HARPOON(port+hp_host_addr_lmi) != testdata) || | ||
10853 | (RD_HARPOON(port+hp_host_addr_hmi) != testdata) || | ||
10854 | (RD_HARPOON(port+hp_host_addr_hi) != testdata)) | ||
10855 | |||
10856 | return(1); | ||
10857 | } | ||
10858 | RD_HARPOON(port+hp_int_status); /*Clear interrupts. */ | ||
10859 | return(0); | ||
10860 | } | ||
10861 | |||
10862 | |||
10863 | |||
10864 | /*--------------------------------------------------------------------- | ||
10865 | * | ||
10866 | * Function: DiagEEPROM | ||
10867 | * | 7142 | * |
10868 | * Description: Verfiy checksum and 'Key' and initialize the EEPROM if | 7143 | * Description: Verfiy checksum and 'Key' and initialize the EEPROM if |
10869 | * necessary. | 7144 | * necessary. |
10870 | * | 7145 | * |
10871 | *---------------------------------------------------------------------*/ | 7146 | *---------------------------------------------------------------------*/ |
10872 | 7147 | ||
10873 | #if defined(DOS) | 7148 | static void FPT_DiagEEPROM(ULONG p_port) |
10874 | void DiagEEPROM(USHORT p_port) | ||
10875 | #else | ||
10876 | void DiagEEPROM(ULONG p_port) | ||
10877 | #endif | ||
10878 | |||
10879 | { | 7149 | { |
10880 | USHORT index,temp,max_wd_cnt; | 7150 | USHORT index,temp,max_wd_cnt; |
10881 | 7151 | ||
@@ -10884,185 +7154,148 @@ void DiagEEPROM(ULONG p_port) | |||
10884 | else | 7154 | else |
10885 | max_wd_cnt = EEPROM_WD_CNT * 2; | 7155 | max_wd_cnt = EEPROM_WD_CNT * 2; |
10886 | 7156 | ||
10887 | temp = utilEERead(p_port, FW_SIGNATURE/2); | 7157 | temp = FPT_utilEERead(p_port, FW_SIGNATURE/2); |
10888 | 7158 | ||
10889 | if (temp == 0x4641) { | 7159 | if (temp == 0x4641) { |
10890 | 7160 | ||
10891 | for (index = 2; index < max_wd_cnt; index++) { | 7161 | for (index = 2; index < max_wd_cnt; index++) { |
10892 | 7162 | ||
10893 | temp += utilEERead(p_port, index); | 7163 | temp += FPT_utilEERead(p_port, index); |
10894 | 7164 | ||
10895 | } | 7165 | } |
10896 | 7166 | ||
10897 | if (temp == utilEERead(p_port, EEPROM_CHECK_SUM/2)) { | 7167 | if (temp == FPT_utilEERead(p_port, EEPROM_CHECK_SUM/2)) { |
10898 | 7168 | ||
10899 | return; /*EEPROM is Okay so return now! */ | 7169 | return; /*EEPROM is Okay so return now! */ |
10900 | } | 7170 | } |
10901 | } | 7171 | } |
10902 | 7172 | ||
10903 | 7173 | ||
10904 | utilEEWriteOnOff(p_port,(UCHAR)1); | 7174 | FPT_utilEEWriteOnOff(p_port,(UCHAR)1); |
10905 | 7175 | ||
10906 | for (index = 0; index < max_wd_cnt; index++) { | 7176 | for (index = 0; index < max_wd_cnt; index++) { |
10907 | 7177 | ||
10908 | utilEEWrite(p_port, 0x0000, index); | 7178 | FPT_utilEEWrite(p_port, 0x0000, index); |
10909 | } | 7179 | } |
10910 | 7180 | ||
10911 | temp = 0; | 7181 | temp = 0; |
10912 | 7182 | ||
10913 | utilEEWrite(p_port, 0x4641, FW_SIGNATURE/2); | 7183 | FPT_utilEEWrite(p_port, 0x4641, FW_SIGNATURE/2); |
10914 | temp += 0x4641; | 7184 | temp += 0x4641; |
10915 | utilEEWrite(p_port, 0x3920, MODEL_NUMB_0/2); | 7185 | FPT_utilEEWrite(p_port, 0x3920, MODEL_NUMB_0/2); |
10916 | temp += 0x3920; | 7186 | temp += 0x3920; |
10917 | utilEEWrite(p_port, 0x3033, MODEL_NUMB_2/2); | 7187 | FPT_utilEEWrite(p_port, 0x3033, MODEL_NUMB_2/2); |
10918 | temp += 0x3033; | 7188 | temp += 0x3033; |
10919 | utilEEWrite(p_port, 0x2020, MODEL_NUMB_4/2); | 7189 | FPT_utilEEWrite(p_port, 0x2020, MODEL_NUMB_4/2); |
10920 | temp += 0x2020; | 7190 | temp += 0x2020; |
10921 | utilEEWrite(p_port, 0x70D3, SYSTEM_CONFIG/2); | 7191 | FPT_utilEEWrite(p_port, 0x70D3, SYSTEM_CONFIG/2); |
10922 | temp += 0x70D3; | 7192 | temp += 0x70D3; |
10923 | utilEEWrite(p_port, 0x0010, BIOS_CONFIG/2); | 7193 | FPT_utilEEWrite(p_port, 0x0010, BIOS_CONFIG/2); |
10924 | temp += 0x0010; | 7194 | temp += 0x0010; |
10925 | utilEEWrite(p_port, 0x0003, SCAM_CONFIG/2); | 7195 | FPT_utilEEWrite(p_port, 0x0003, SCAM_CONFIG/2); |
10926 | temp += 0x0003; | 7196 | temp += 0x0003; |
10927 | utilEEWrite(p_port, 0x0007, ADAPTER_SCSI_ID/2); | 7197 | FPT_utilEEWrite(p_port, 0x0007, ADAPTER_SCSI_ID/2); |
10928 | temp += 0x0007; | 7198 | temp += 0x0007; |
10929 | 7199 | ||
10930 | utilEEWrite(p_port, 0x0000, IGNORE_B_SCAN/2); | 7200 | FPT_utilEEWrite(p_port, 0x0000, IGNORE_B_SCAN/2); |
10931 | temp += 0x0000; | 7201 | temp += 0x0000; |
10932 | utilEEWrite(p_port, 0x0000, SEND_START_ENA/2); | 7202 | FPT_utilEEWrite(p_port, 0x0000, SEND_START_ENA/2); |
10933 | temp += 0x0000; | 7203 | temp += 0x0000; |
10934 | utilEEWrite(p_port, 0x0000, DEVICE_ENABLE/2); | 7204 | FPT_utilEEWrite(p_port, 0x0000, DEVICE_ENABLE/2); |
10935 | temp += 0x0000; | 7205 | temp += 0x0000; |
10936 | 7206 | ||
10937 | utilEEWrite(p_port, 0x4242, SYNC_RATE_TBL01/2); | 7207 | FPT_utilEEWrite(p_port, 0x4242, SYNC_RATE_TBL01/2); |
10938 | temp += 0x4242; | 7208 | temp += 0x4242; |
10939 | utilEEWrite(p_port, 0x4242, SYNC_RATE_TBL23/2); | 7209 | FPT_utilEEWrite(p_port, 0x4242, SYNC_RATE_TBL23/2); |
10940 | temp += 0x4242; | 7210 | temp += 0x4242; |
10941 | utilEEWrite(p_port, 0x4242, SYNC_RATE_TBL45/2); | 7211 | FPT_utilEEWrite(p_port, 0x4242, SYNC_RATE_TBL45/2); |
10942 | temp += 0x4242; | 7212 | temp += 0x4242; |
10943 | utilEEWrite(p_port, 0x4242, SYNC_RATE_TBL67/2); | 7213 | FPT_utilEEWrite(p_port, 0x4242, SYNC_RATE_TBL67/2); |
10944 | temp += 0x4242; | 7214 | temp += 0x4242; |
10945 | utilEEWrite(p_port, 0x4242, SYNC_RATE_TBL89/2); | 7215 | FPT_utilEEWrite(p_port, 0x4242, SYNC_RATE_TBL89/2); |
10946 | temp += 0x4242; | 7216 | temp += 0x4242; |
10947 | utilEEWrite(p_port, 0x4242, SYNC_RATE_TBLab/2); | 7217 | FPT_utilEEWrite(p_port, 0x4242, SYNC_RATE_TBLab/2); |
10948 | temp += 0x4242; | 7218 | temp += 0x4242; |
10949 | utilEEWrite(p_port, 0x4242, SYNC_RATE_TBLcd/2); | 7219 | FPT_utilEEWrite(p_port, 0x4242, SYNC_RATE_TBLcd/2); |
10950 | temp += 0x4242; | 7220 | temp += 0x4242; |
10951 | utilEEWrite(p_port, 0x4242, SYNC_RATE_TBLef/2); | 7221 | FPT_utilEEWrite(p_port, 0x4242, SYNC_RATE_TBLef/2); |
10952 | temp += 0x4242; | 7222 | temp += 0x4242; |
10953 | 7223 | ||
10954 | 7224 | ||
10955 | utilEEWrite(p_port, 0x6C46, 64/2); /*PRODUCT ID */ | 7225 | FPT_utilEEWrite(p_port, 0x6C46, 64/2); /*PRODUCT ID */ |
10956 | temp += 0x6C46; | 7226 | temp += 0x6C46; |
10957 | utilEEWrite(p_port, 0x7361, 66/2); /* FlashPoint LT */ | 7227 | FPT_utilEEWrite(p_port, 0x7361, 66/2); /* FlashPoint LT */ |
10958 | temp += 0x7361; | 7228 | temp += 0x7361; |
10959 | utilEEWrite(p_port, 0x5068, 68/2); | 7229 | FPT_utilEEWrite(p_port, 0x5068, 68/2); |
10960 | temp += 0x5068; | 7230 | temp += 0x5068; |
10961 | utilEEWrite(p_port, 0x696F, 70/2); | 7231 | FPT_utilEEWrite(p_port, 0x696F, 70/2); |
10962 | temp += 0x696F; | 7232 | temp += 0x696F; |
10963 | utilEEWrite(p_port, 0x746E, 72/2); | 7233 | FPT_utilEEWrite(p_port, 0x746E, 72/2); |
10964 | temp += 0x746E; | 7234 | temp += 0x746E; |
10965 | utilEEWrite(p_port, 0x4C20, 74/2); | 7235 | FPT_utilEEWrite(p_port, 0x4C20, 74/2); |
10966 | temp += 0x4C20; | 7236 | temp += 0x4C20; |
10967 | utilEEWrite(p_port, 0x2054, 76/2); | 7237 | FPT_utilEEWrite(p_port, 0x2054, 76/2); |
10968 | temp += 0x2054; | 7238 | temp += 0x2054; |
10969 | utilEEWrite(p_port, 0x2020, 78/2); | 7239 | FPT_utilEEWrite(p_port, 0x2020, 78/2); |
10970 | temp += 0x2020; | 7240 | temp += 0x2020; |
10971 | 7241 | ||
10972 | index = ((EE_SCAMBASE/2)+(7*16)); | 7242 | index = ((EE_SCAMBASE/2)+(7*16)); |
10973 | utilEEWrite(p_port, (0x0700+TYPE_CODE0), index); | 7243 | FPT_utilEEWrite(p_port, (0x0700+TYPE_CODE0), index); |
10974 | temp += (0x0700+TYPE_CODE0); | 7244 | temp += (0x0700+TYPE_CODE0); |
10975 | index++; | 7245 | index++; |
10976 | utilEEWrite(p_port, 0x5542, index); /*Vendor ID code */ | 7246 | FPT_utilEEWrite(p_port, 0x5542, index); /*Vendor ID code */ |
10977 | temp += 0x5542; /* BUSLOGIC */ | 7247 | temp += 0x5542; /* BUSLOGIC */ |
10978 | index++; | 7248 | index++; |
10979 | utilEEWrite(p_port, 0x4C53, index); | 7249 | FPT_utilEEWrite(p_port, 0x4C53, index); |
10980 | temp += 0x4C53; | 7250 | temp += 0x4C53; |
10981 | index++; | 7251 | index++; |
10982 | utilEEWrite(p_port, 0x474F, index); | 7252 | FPT_utilEEWrite(p_port, 0x474F, index); |
10983 | temp += 0x474F; | 7253 | temp += 0x474F; |
10984 | index++; | 7254 | index++; |
10985 | utilEEWrite(p_port, 0x4349, index); | 7255 | FPT_utilEEWrite(p_port, 0x4349, index); |
10986 | temp += 0x4349; | 7256 | temp += 0x4349; |
10987 | index++; | 7257 | index++; |
10988 | utilEEWrite(p_port, 0x5442, index); /*Vendor unique code */ | 7258 | FPT_utilEEWrite(p_port, 0x5442, index); /*Vendor unique code */ |
10989 | temp += 0x5442; /* BT- 930 */ | 7259 | temp += 0x5442; /* BT- 930 */ |
10990 | index++; | 7260 | index++; |
10991 | utilEEWrite(p_port, 0x202D, index); | 7261 | FPT_utilEEWrite(p_port, 0x202D, index); |
10992 | temp += 0x202D; | 7262 | temp += 0x202D; |
10993 | index++; | 7263 | index++; |
10994 | utilEEWrite(p_port, 0x3339, index); | 7264 | FPT_utilEEWrite(p_port, 0x3339, index); |
10995 | temp += 0x3339; | 7265 | temp += 0x3339; |
10996 | index++; /*Serial # */ | 7266 | index++; /*Serial # */ |
10997 | utilEEWrite(p_port, 0x2030, index); /* 01234567 */ | 7267 | FPT_utilEEWrite(p_port, 0x2030, index); /* 01234567 */ |
10998 | temp += 0x2030; | 7268 | temp += 0x2030; |
10999 | index++; | 7269 | index++; |
11000 | utilEEWrite(p_port, 0x5453, index); | 7270 | FPT_utilEEWrite(p_port, 0x5453, index); |
11001 | temp += 0x5453; | 7271 | temp += 0x5453; |
11002 | index++; | 7272 | index++; |
11003 | utilEEWrite(p_port, 0x5645, index); | 7273 | FPT_utilEEWrite(p_port, 0x5645, index); |
11004 | temp += 0x5645; | 7274 | temp += 0x5645; |
11005 | index++; | 7275 | index++; |
11006 | utilEEWrite(p_port, 0x2045, index); | 7276 | FPT_utilEEWrite(p_port, 0x2045, index); |
11007 | temp += 0x2045; | 7277 | temp += 0x2045; |
11008 | index++; | 7278 | index++; |
11009 | utilEEWrite(p_port, 0x202F, index); | 7279 | FPT_utilEEWrite(p_port, 0x202F, index); |
11010 | temp += 0x202F; | 7280 | temp += 0x202F; |
11011 | index++; | 7281 | index++; |
11012 | utilEEWrite(p_port, 0x4F4A, index); | 7282 | FPT_utilEEWrite(p_port, 0x4F4A, index); |
11013 | temp += 0x4F4A; | 7283 | temp += 0x4F4A; |
11014 | index++; | 7284 | index++; |
11015 | utilEEWrite(p_port, 0x204E, index); | 7285 | FPT_utilEEWrite(p_port, 0x204E, index); |
11016 | temp += 0x204E; | 7286 | temp += 0x204E; |
11017 | index++; | 7287 | index++; |
11018 | utilEEWrite(p_port, 0x3539, index); | 7288 | FPT_utilEEWrite(p_port, 0x3539, index); |
11019 | temp += 0x3539; | 7289 | temp += 0x3539; |
11020 | 7290 | ||
11021 | 7291 | ||
11022 | 7292 | ||
11023 | utilEEWrite(p_port, temp, EEPROM_CHECK_SUM/2); | 7293 | FPT_utilEEWrite(p_port, temp, EEPROM_CHECK_SUM/2); |
11024 | 7294 | ||
11025 | utilEEWriteOnOff(p_port,(UCHAR)0); | 7295 | FPT_utilEEWriteOnOff(p_port,(UCHAR)0); |
11026 | 7296 | ||
11027 | } | 7297 | } |
11028 | 7298 | ||
11029 | #ident "$Id: utility.c 1.23 1997/06/10 16:55:06 mohan Exp $" | ||
11030 | /*---------------------------------------------------------------------- | ||
11031 | * | ||
11032 | * | ||
11033 | * Copyright 1995-1996 by Mylex Corporation. All Rights Reserved | ||
11034 | * | ||
11035 | * This file is available under both the GNU General Public License | ||
11036 | * and a BSD-style copyright; see LICENSE.FlashPoint for details. | ||
11037 | * | ||
11038 | * $Workfile: utility.c $ | ||
11039 | * | ||
11040 | * Description: Utility functions relating to queueing and EEPROM | ||
11041 | * manipulation and any other garbage functions. | ||
11042 | * | ||
11043 | * $Date: 1997/06/10 16:55:06 $ | ||
11044 | * | ||
11045 | * $Revision: 1.23 $ | ||
11046 | * | ||
11047 | *----------------------------------------------------------------------*/ | ||
11048 | /*#include <globals.h>*/ | ||
11049 | |||
11050 | #if (FW_TYPE==_UCB_MGR_) | ||
11051 | /*#include <budi.h>*/ | ||
11052 | #endif | ||
11053 | |||
11054 | /*#include <sccbmgr.h>*/ | ||
11055 | /*#include <blx30.h>*/ | ||
11056 | /*#include <target.h>*/ | ||
11057 | /*#include <scsi2.h>*/ | ||
11058 | /*#include <harpoon.h>*/ | ||
11059 | |||
11060 | |||
11061 | /* | ||
11062 | extern SCCBCARD BL_Card[MAX_CARDS]; | ||
11063 | extern SCCBMGR_TAR_INFO sccbMgrTbl[MAX_CARDS][MAX_SCSI_TAR]; | ||
11064 | extern unsigned int SccbGlobalFlags; | ||
11065 | */ | ||
11066 | 7299 | ||
11067 | /*--------------------------------------------------------------------- | 7300 | /*--------------------------------------------------------------------- |
11068 | * | 7301 | * |
@@ -11072,7 +7305,7 @@ extern unsigned int SccbGlobalFlags; | |||
11072 | * | 7305 | * |
11073 | *---------------------------------------------------------------------*/ | 7306 | *---------------------------------------------------------------------*/ |
11074 | 7307 | ||
11075 | void queueSearchSelect(PSCCBcard pCurrCard, UCHAR p_card) | 7308 | static void FPT_queueSearchSelect(PSCCBcard pCurrCard, UCHAR p_card) |
11076 | { | 7309 | { |
11077 | UCHAR scan_ptr, lun; | 7310 | UCHAR scan_ptr, lun; |
11078 | PSCCBMgr_tar_info currTar_Info; | 7311 | PSCCBMgr_tar_info currTar_Info; |
@@ -11081,7 +7314,7 @@ void queueSearchSelect(PSCCBcard pCurrCard, UCHAR p_card) | |||
11081 | scan_ptr = pCurrCard->scanIndex; | 7314 | scan_ptr = pCurrCard->scanIndex; |
11082 | do | 7315 | do |
11083 | { | 7316 | { |
11084 | currTar_Info = &sccbMgrTbl[p_card][scan_ptr]; | 7317 | currTar_Info = &FPT_sccbMgrTbl[p_card][scan_ptr]; |
11085 | if((pCurrCard->globalFlags & F_CONLUN_IO) && | 7318 | if((pCurrCard->globalFlags & F_CONLUN_IO) && |
11086 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) | 7319 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING)) |
11087 | { | 7320 | { |
@@ -11094,7 +7327,7 @@ void queueSearchSelect(PSCCBcard pCurrCard, UCHAR p_card) | |||
11094 | 7327 | ||
11095 | for(lun=0; lun < MAX_LUN; lun++) | 7328 | for(lun=0; lun < MAX_LUN; lun++) |
11096 | { | 7329 | { |
11097 | if(currTar_Info->TarLUNBusy[lun] == FALSE) | 7330 | if(currTar_Info->TarLUNBusy[lun] == 0) |
11098 | { | 7331 | { |
11099 | 7332 | ||
11100 | pCurrCard->currentSCCB = currTar_Info->TarSelQ_Head; | 7333 | pCurrCard->currentSCCB = currTar_Info->TarSelQ_Head; |
@@ -11153,7 +7386,7 @@ void queueSearchSelect(PSCCBcard pCurrCard, UCHAR p_card) | |||
11153 | else | 7386 | else |
11154 | { | 7387 | { |
11155 | if ((currTar_Info->TarSelQ_Cnt != 0) && | 7388 | if ((currTar_Info->TarSelQ_Cnt != 0) && |
11156 | (currTar_Info->TarLUNBusy[0] == FALSE)) | 7389 | (currTar_Info->TarLUNBusy[0] == 0)) |
11157 | { | 7390 | { |
11158 | 7391 | ||
11159 | pCurrCard->currentSCCB = currTar_Info->TarSelQ_Head; | 7392 | pCurrCard->currentSCCB = currTar_Info->TarSelQ_Head; |
@@ -11203,7 +7436,7 @@ void queueSearchSelect(PSCCBcard pCurrCard, UCHAR p_card) | |||
11203 | * | 7436 | * |
11204 | *---------------------------------------------------------------------*/ | 7437 | *---------------------------------------------------------------------*/ |
11205 | 7438 | ||
11206 | void queueSelectFail(PSCCBcard pCurrCard, UCHAR p_card) | 7439 | static void FPT_queueSelectFail(PSCCBcard pCurrCard, UCHAR p_card) |
11207 | { | 7440 | { |
11208 | UCHAR thisTarg; | 7441 | UCHAR thisTarg; |
11209 | PSCCBMgr_tar_info currTar_Info; | 7442 | PSCCBMgr_tar_info currTar_Info; |
@@ -11211,7 +7444,7 @@ void queueSelectFail(PSCCBcard pCurrCard, UCHAR p_card) | |||
11211 | if (pCurrCard->currentSCCB != NULL) | 7444 | if (pCurrCard->currentSCCB != NULL) |
11212 | { | 7445 | { |
11213 | thisTarg = (UCHAR)(((PSCCB)(pCurrCard->currentSCCB))->TargID); | 7446 | thisTarg = (UCHAR)(((PSCCB)(pCurrCard->currentSCCB))->TargID); |
11214 | currTar_Info = &sccbMgrTbl[p_card][thisTarg]; | 7447 | currTar_Info = &FPT_sccbMgrTbl[p_card][thisTarg]; |
11215 | 7448 | ||
11216 | pCurrCard->currentSCCB->Sccb_backlink = (PSCCB)NULL; | 7449 | pCurrCard->currentSCCB->Sccb_backlink = (PSCCB)NULL; |
11217 | 7450 | ||
@@ -11242,103 +7475,10 @@ void queueSelectFail(PSCCBcard pCurrCard, UCHAR p_card) | |||
11242 | * | 7475 | * |
11243 | *---------------------------------------------------------------------*/ | 7476 | *---------------------------------------------------------------------*/ |
11244 | 7477 | ||
11245 | void queueCmdComplete(PSCCBcard pCurrCard, PSCCB p_sccb, UCHAR p_card) | 7478 | static void FPT_queueCmdComplete(PSCCBcard pCurrCard, PSCCB p_sccb, |
7479 | UCHAR p_card) | ||
11246 | { | 7480 | { |
11247 | 7481 | ||
11248 | #if (FW_TYPE==_UCB_MGR_) | ||
11249 | |||
11250 | u08bits SCSIcmd; | ||
11251 | CALL_BK_FN callback; | ||
11252 | PSCCBMgr_tar_info currTar_Info; | ||
11253 | |||
11254 | PUCB p_ucb; | ||
11255 | p_ucb=p_sccb->Sccb_ucb_ptr; | ||
11256 | |||
11257 | SCSIcmd = p_sccb->Cdb[0]; | ||
11258 | |||
11259 | |||
11260 | if (!(p_sccb->Sccb_XferState & F_ALL_XFERRED)) | ||
11261 | { | ||
11262 | |||
11263 | if ((p_ucb->UCB_opcode & OPC_CHK_UNDER_OVER_RUN) && | ||
11264 | (p_sccb->HostStatus == SCCB_COMPLETE) && | ||
11265 | (p_sccb->TargetStatus != SSCHECK)) | ||
11266 | |||
11267 | if ((SCSIcmd == SCSI_READ) || | ||
11268 | (SCSIcmd == SCSI_WRITE) || | ||
11269 | (SCSIcmd == SCSI_READ_EXTENDED) || | ||
11270 | (SCSIcmd == SCSI_WRITE_EXTENDED) || | ||
11271 | (SCSIcmd == SCSI_WRITE_AND_VERIFY) || | ||
11272 | (SCSIcmd == SCSI_START_STOP_UNIT) || | ||
11273 | (pCurrCard->globalFlags & F_NO_FILTER) | ||
11274 | ) | ||
11275 | p_sccb->HostStatus = SCCB_DATA_UNDER_RUN; | ||
11276 | } | ||
11277 | |||
11278 | p_ucb->UCB_status=SCCB_SUCCESS; | ||
11279 | |||
11280 | if ((p_ucb->UCB_hbastat=p_sccb->HostStatus) || (p_ucb->UCB_scsistat=p_sccb->TargetStatus)) | ||
11281 | { | ||
11282 | p_ucb->UCB_status=SCCB_ERROR; | ||
11283 | } | ||
11284 | |||
11285 | if ((p_sccb->OperationCode == RESIDUAL_SG_COMMAND) || | ||
11286 | (p_sccb->OperationCode == RESIDUAL_COMMAND)) | ||
11287 | { | ||
11288 | |||
11289 | utilUpdateResidual(p_sccb); | ||
11290 | |||
11291 | p_ucb->UCB_datalen=p_sccb->DataLength; | ||
11292 | } | ||
11293 | |||
11294 | pCurrCard->cmdCounter--; | ||
11295 | if (!pCurrCard->cmdCounter) | ||
11296 | { | ||
11297 | |||
11298 | if (pCurrCard->globalFlags & F_GREEN_PC) | ||
11299 | { | ||
11300 | WR_HARPOON(pCurrCard->ioPort+hp_clkctrl_0,(PWR_DWN | CLKCTRL_DEFAULT)); | ||
11301 | WR_HARPOON(pCurrCard->ioPort+hp_sys_ctrl, STOP_CLK); | ||
11302 | } | ||
11303 | |||
11304 | WR_HARPOON(pCurrCard->ioPort+hp_semaphore, | ||
11305 | (RD_HARPOON(pCurrCard->ioPort+hp_semaphore) & ~SCCB_MGR_ACTIVE)); | ||
11306 | } | ||
11307 | |||
11308 | if(pCurrCard->discQCount != 0) | ||
11309 | { | ||
11310 | currTar_Info = &sccbMgrTbl[p_card][p_sccb->TargID]; | ||
11311 | if(((pCurrCard->globalFlags & F_CONLUN_IO) && | ||
11312 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) | ||
11313 | { | ||
11314 | pCurrCard->discQCount--; | ||
11315 | pCurrCard->discQ_Tbl[currTar_Info->LunDiscQ_Idx[p_sccb->Lun]] = NULL; | ||
11316 | } | ||
11317 | else | ||
11318 | { | ||
11319 | if(p_sccb->Sccb_tag) | ||
11320 | { | ||
11321 | pCurrCard->discQCount--; | ||
11322 | pCurrCard->discQ_Tbl[p_sccb->Sccb_tag] = NULL; | ||
11323 | }else | ||
11324 | { | ||
11325 | pCurrCard->discQCount--; | ||
11326 | pCurrCard->discQ_Tbl[currTar_Info->LunDiscQ_Idx[0]] = NULL; | ||
11327 | } | ||
11328 | } | ||
11329 | |||
11330 | } | ||
11331 | callback = (CALL_BK_FN)p_ucb->UCB_callback; | ||
11332 | callback(p_ucb); | ||
11333 | pCurrCard->globalFlags |= F_NEW_SCCB_CMD; | ||
11334 | pCurrCard->currentSCCB = NULL; | ||
11335 | } | ||
11336 | |||
11337 | |||
11338 | |||
11339 | |||
11340 | #else | ||
11341 | |||
11342 | UCHAR i, SCSIcmd; | 7482 | UCHAR i, SCSIcmd; |
11343 | CALL_BK_FN callback; | 7483 | CALL_BK_FN callback; |
11344 | PSCCBMgr_tar_info currTar_Info; | 7484 | PSCCBMgr_tar_info currTar_Info; |
@@ -11383,7 +7523,7 @@ void queueCmdComplete(PSCCBcard pCurrCard, PSCCB p_sccb, UCHAR p_card) | |||
11383 | if ((p_sccb->OperationCode == RESIDUAL_SG_COMMAND) || | 7523 | if ((p_sccb->OperationCode == RESIDUAL_SG_COMMAND) || |
11384 | (p_sccb->OperationCode == RESIDUAL_COMMAND)) { | 7524 | (p_sccb->OperationCode == RESIDUAL_COMMAND)) { |
11385 | 7525 | ||
11386 | utilUpdateResidual(p_sccb); | 7526 | FPT_utilUpdateResidual(p_sccb); |
11387 | } | 7527 | } |
11388 | 7528 | ||
11389 | pCurrCard->cmdCounter--; | 7529 | pCurrCard->cmdCounter--; |
@@ -11401,7 +7541,7 @@ void queueCmdComplete(PSCCBcard pCurrCard, PSCCB p_sccb, UCHAR p_card) | |||
11401 | 7541 | ||
11402 | if(pCurrCard->discQCount != 0) | 7542 | if(pCurrCard->discQCount != 0) |
11403 | { | 7543 | { |
11404 | currTar_Info = &sccbMgrTbl[p_card][p_sccb->TargID]; | 7544 | currTar_Info = &FPT_sccbMgrTbl[p_card][p_sccb->TargID]; |
11405 | if(((pCurrCard->globalFlags & F_CONLUN_IO) && | 7545 | if(((pCurrCard->globalFlags & F_CONLUN_IO) && |
11406 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) | 7546 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) |
11407 | { | 7547 | { |
@@ -11428,7 +7568,6 @@ void queueCmdComplete(PSCCBcard pCurrCard, PSCCB p_sccb, UCHAR p_card) | |||
11428 | pCurrCard->globalFlags |= F_NEW_SCCB_CMD; | 7568 | pCurrCard->globalFlags |= F_NEW_SCCB_CMD; |
11429 | pCurrCard->currentSCCB = NULL; | 7569 | pCurrCard->currentSCCB = NULL; |
11430 | } | 7570 | } |
11431 | #endif /* ( if FW_TYPE==...) */ | ||
11432 | 7571 | ||
11433 | 7572 | ||
11434 | /*--------------------------------------------------------------------- | 7573 | /*--------------------------------------------------------------------- |
@@ -11438,30 +7577,30 @@ void queueCmdComplete(PSCCBcard pCurrCard, PSCCB p_sccb, UCHAR p_card) | |||
11438 | * Description: Add SCCB to our disconnect array. | 7577 | * Description: Add SCCB to our disconnect array. |
11439 | * | 7578 | * |
11440 | *---------------------------------------------------------------------*/ | 7579 | *---------------------------------------------------------------------*/ |
11441 | void queueDisconnect(PSCCB p_sccb, UCHAR p_card) | 7580 | static void FPT_queueDisconnect(PSCCB p_sccb, UCHAR p_card) |
11442 | { | 7581 | { |
11443 | PSCCBMgr_tar_info currTar_Info; | 7582 | PSCCBMgr_tar_info currTar_Info; |
11444 | 7583 | ||
11445 | currTar_Info = &sccbMgrTbl[p_card][p_sccb->TargID]; | 7584 | currTar_Info = &FPT_sccbMgrTbl[p_card][p_sccb->TargID]; |
11446 | 7585 | ||
11447 | if(((BL_Card[p_card].globalFlags & F_CONLUN_IO) && | 7586 | if(((FPT_BL_Card[p_card].globalFlags & F_CONLUN_IO) && |
11448 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) | 7587 | ((currTar_Info->TarStatus & TAR_TAG_Q_MASK) != TAG_Q_TRYING))) |
11449 | { | 7588 | { |
11450 | BL_Card[p_card].discQ_Tbl[currTar_Info->LunDiscQ_Idx[p_sccb->Lun]] = p_sccb; | 7589 | FPT_BL_Card[p_card].discQ_Tbl[currTar_Info->LunDiscQ_Idx[p_sccb->Lun]] = p_sccb; |
11451 | } | 7590 | } |
11452 | else | 7591 | else |
11453 | { | 7592 | { |
11454 | if (p_sccb->Sccb_tag) | 7593 | if (p_sccb->Sccb_tag) |
11455 | { | 7594 | { |
11456 | BL_Card[p_card].discQ_Tbl[p_sccb->Sccb_tag] = p_sccb; | 7595 | FPT_BL_Card[p_card].discQ_Tbl[p_sccb->Sccb_tag] = p_sccb; |
11457 | sccbMgrTbl[p_card][p_sccb->TargID].TarLUNBusy[0] = FALSE; | 7596 | FPT_sccbMgrTbl[p_card][p_sccb->TargID].TarLUNBusy[0] = 0; |
11458 | sccbMgrTbl[p_card][p_sccb->TargID].TarTagQ_Cnt++; | 7597 | FPT_sccbMgrTbl[p_card][p_sccb->TargID].TarTagQ_Cnt++; |
11459 | }else | 7598 | }else |
11460 | { | 7599 | { |
11461 | BL_Card[p_card].discQ_Tbl[currTar_Info->LunDiscQ_Idx[0]] = p_sccb; | 7600 | FPT_BL_Card[p_card].discQ_Tbl[currTar_Info->LunDiscQ_Idx[0]] = p_sccb; |
11462 | } | 7601 | } |
11463 | } | 7602 | } |
11464 | BL_Card[p_card].currentSCCB = NULL; | 7603 | FPT_BL_Card[p_card].currentSCCB = NULL; |
11465 | } | 7604 | } |
11466 | 7605 | ||
11467 | 7606 | ||
@@ -11473,29 +7612,29 @@ void queueDisconnect(PSCCB p_sccb, UCHAR p_card) | |||
11473 | * | 7612 | * |
11474 | *---------------------------------------------------------------------*/ | 7613 | *---------------------------------------------------------------------*/ |
11475 | 7614 | ||
11476 | void queueFlushSccb(UCHAR p_card, UCHAR error_code) | 7615 | static void FPT_queueFlushSccb(UCHAR p_card, UCHAR error_code) |
11477 | { | 7616 | { |
11478 | UCHAR qtag,thisTarg; | 7617 | UCHAR qtag,thisTarg; |
11479 | PSCCB currSCCB; | 7618 | PSCCB currSCCB; |
11480 | PSCCBMgr_tar_info currTar_Info; | 7619 | PSCCBMgr_tar_info currTar_Info; |
11481 | 7620 | ||
11482 | currSCCB = BL_Card[p_card].currentSCCB; | 7621 | currSCCB = FPT_BL_Card[p_card].currentSCCB; |
11483 | if(currSCCB != NULL) | 7622 | if(currSCCB != NULL) |
11484 | { | 7623 | { |
11485 | thisTarg = (UCHAR)currSCCB->TargID; | 7624 | thisTarg = (UCHAR)currSCCB->TargID; |
11486 | currTar_Info = &sccbMgrTbl[p_card][thisTarg]; | 7625 | currTar_Info = &FPT_sccbMgrTbl[p_card][thisTarg]; |
11487 | 7626 | ||
11488 | for (qtag=0; qtag<QUEUE_DEPTH; qtag++) { | 7627 | for (qtag=0; qtag<QUEUE_DEPTH; qtag++) { |
11489 | 7628 | ||
11490 | if (BL_Card[p_card].discQ_Tbl[qtag] && | 7629 | if (FPT_BL_Card[p_card].discQ_Tbl[qtag] && |
11491 | (BL_Card[p_card].discQ_Tbl[qtag]->TargID == thisTarg)) | 7630 | (FPT_BL_Card[p_card].discQ_Tbl[qtag]->TargID == thisTarg)) |
11492 | { | 7631 | { |
11493 | 7632 | ||
11494 | BL_Card[p_card].discQ_Tbl[qtag]->HostStatus = (UCHAR)error_code; | 7633 | FPT_BL_Card[p_card].discQ_Tbl[qtag]->HostStatus = (UCHAR)error_code; |
11495 | 7634 | ||
11496 | queueCmdComplete(&BL_Card[p_card],BL_Card[p_card].discQ_Tbl[qtag], p_card); | 7635 | FPT_queueCmdComplete(&FPT_BL_Card[p_card],FPT_BL_Card[p_card].discQ_Tbl[qtag], p_card); |
11497 | 7636 | ||
11498 | BL_Card[p_card].discQ_Tbl[qtag] = NULL; | 7637 | FPT_BL_Card[p_card].discQ_Tbl[qtag] = NULL; |
11499 | currTar_Info->TarTagQ_Cnt--; | 7638 | currTar_Info->TarTagQ_Cnt--; |
11500 | 7639 | ||
11501 | } | 7640 | } |
@@ -11512,24 +7651,25 @@ void queueFlushSccb(UCHAR p_card, UCHAR error_code) | |||
11512 | * | 7651 | * |
11513 | *---------------------------------------------------------------------*/ | 7652 | *---------------------------------------------------------------------*/ |
11514 | 7653 | ||
11515 | void queueFlushTargSccb(UCHAR p_card, UCHAR thisTarg, UCHAR error_code) | 7654 | static void FPT_queueFlushTargSccb(UCHAR p_card, UCHAR thisTarg, |
7655 | UCHAR error_code) | ||
11516 | { | 7656 | { |
11517 | UCHAR qtag; | 7657 | UCHAR qtag; |
11518 | PSCCBMgr_tar_info currTar_Info; | 7658 | PSCCBMgr_tar_info currTar_Info; |
11519 | 7659 | ||
11520 | currTar_Info = &sccbMgrTbl[p_card][thisTarg]; | 7660 | currTar_Info = &FPT_sccbMgrTbl[p_card][thisTarg]; |
11521 | 7661 | ||
11522 | for (qtag=0; qtag<QUEUE_DEPTH; qtag++) { | 7662 | for (qtag=0; qtag<QUEUE_DEPTH; qtag++) { |
11523 | 7663 | ||
11524 | if (BL_Card[p_card].discQ_Tbl[qtag] && | 7664 | if (FPT_BL_Card[p_card].discQ_Tbl[qtag] && |
11525 | (BL_Card[p_card].discQ_Tbl[qtag]->TargID == thisTarg)) | 7665 | (FPT_BL_Card[p_card].discQ_Tbl[qtag]->TargID == thisTarg)) |
11526 | { | 7666 | { |
11527 | 7667 | ||
11528 | BL_Card[p_card].discQ_Tbl[qtag]->HostStatus = (UCHAR)error_code; | 7668 | FPT_BL_Card[p_card].discQ_Tbl[qtag]->HostStatus = (UCHAR)error_code; |
11529 | 7669 | ||
11530 | queueCmdComplete(&BL_Card[p_card],BL_Card[p_card].discQ_Tbl[qtag], p_card); | 7670 | FPT_queueCmdComplete(&FPT_BL_Card[p_card],FPT_BL_Card[p_card].discQ_Tbl[qtag], p_card); |
11531 | 7671 | ||
11532 | BL_Card[p_card].discQ_Tbl[qtag] = NULL; | 7672 | FPT_BL_Card[p_card].discQ_Tbl[qtag] = NULL; |
11533 | currTar_Info->TarTagQ_Cnt--; | 7673 | currTar_Info->TarTagQ_Cnt--; |
11534 | 7674 | ||
11535 | } | 7675 | } |
@@ -11541,10 +7681,10 @@ void queueFlushTargSccb(UCHAR p_card, UCHAR thisTarg, UCHAR error_code) | |||
11541 | 7681 | ||
11542 | 7682 | ||
11543 | 7683 | ||
11544 | void queueAddSccb(PSCCB p_SCCB, UCHAR p_card) | 7684 | static void FPT_queueAddSccb(PSCCB p_SCCB, UCHAR p_card) |
11545 | { | 7685 | { |
11546 | PSCCBMgr_tar_info currTar_Info; | 7686 | PSCCBMgr_tar_info currTar_Info; |
11547 | currTar_Info = &sccbMgrTbl[p_card][p_SCCB->TargID]; | 7687 | currTar_Info = &FPT_sccbMgrTbl[p_card][p_SCCB->TargID]; |
11548 | 7688 | ||
11549 | p_SCCB->Sccb_forwardlink = NULL; | 7689 | p_SCCB->Sccb_forwardlink = NULL; |
11550 | 7690 | ||
@@ -11575,12 +7715,12 @@ void queueAddSccb(PSCCB p_SCCB, UCHAR p_card) | |||
11575 | * | 7715 | * |
11576 | *---------------------------------------------------------------------*/ | 7716 | *---------------------------------------------------------------------*/ |
11577 | 7717 | ||
11578 | UCHAR queueFindSccb(PSCCB p_SCCB, UCHAR p_card) | 7718 | static UCHAR FPT_queueFindSccb(PSCCB p_SCCB, UCHAR p_card) |
11579 | { | 7719 | { |
11580 | PSCCB q_ptr; | 7720 | PSCCB q_ptr; |
11581 | PSCCBMgr_tar_info currTar_Info; | 7721 | PSCCBMgr_tar_info currTar_Info; |
11582 | 7722 | ||
11583 | currTar_Info = &sccbMgrTbl[p_card][p_SCCB->TargID]; | 7723 | currTar_Info = &FPT_sccbMgrTbl[p_card][p_SCCB->TargID]; |
11584 | 7724 | ||
11585 | q_ptr = currTar_Info->TarSelQ_Head; | 7725 | q_ptr = currTar_Info->TarSelQ_Head; |
11586 | 7726 | ||
@@ -11609,7 +7749,7 @@ UCHAR queueFindSccb(PSCCB p_SCCB, UCHAR p_card) | |||
11609 | 7749 | ||
11610 | currTar_Info->TarSelQ_Cnt--; | 7750 | currTar_Info->TarSelQ_Cnt--; |
11611 | 7751 | ||
11612 | return(TRUE); | 7752 | return(1); |
11613 | } | 7753 | } |
11614 | 7754 | ||
11615 | else { | 7755 | else { |
@@ -11618,7 +7758,7 @@ UCHAR queueFindSccb(PSCCB p_SCCB, UCHAR p_card) | |||
11618 | } | 7758 | } |
11619 | 7759 | ||
11620 | 7760 | ||
11621 | return(FALSE); | 7761 | return(0); |
11622 | 7762 | ||
11623 | } | 7763 | } |
11624 | 7764 | ||
@@ -11636,15 +7776,11 @@ UCHAR queueFindSccb(PSCCB p_SCCB, UCHAR p_card) | |||
11636 | * | 7776 | * |
11637 | *---------------------------------------------------------------------*/ | 7777 | *---------------------------------------------------------------------*/ |
11638 | 7778 | ||
11639 | void utilUpdateResidual(PSCCB p_SCCB) | 7779 | static void FPT_utilUpdateResidual(PSCCB p_SCCB) |
11640 | { | 7780 | { |
11641 | ULONG partial_cnt; | 7781 | ULONG partial_cnt; |
11642 | UINT sg_index; | 7782 | UINT sg_index; |
11643 | #if defined(COMPILER_16_BIT) && !defined(DOS) | ||
11644 | ULONG far *sg_ptr; | ||
11645 | #else | ||
11646 | ULONG *sg_ptr; | 7783 | ULONG *sg_ptr; |
11647 | #endif | ||
11648 | 7784 | ||
11649 | if (p_SCCB->Sccb_XferState & F_ALL_XFERRED) { | 7785 | if (p_SCCB->Sccb_XferState & F_ALL_XFERRED) { |
11650 | 7786 | ||
@@ -11657,11 +7793,7 @@ void utilUpdateResidual(PSCCB p_SCCB) | |||
11657 | 7793 | ||
11658 | sg_index = p_SCCB->Sccb_sgseg; | 7794 | sg_index = p_SCCB->Sccb_sgseg; |
11659 | 7795 | ||
11660 | #if defined(COMPILER_16_BIT) && !defined(DOS) | ||
11661 | sg_ptr = (ULONG far *)p_SCCB->DataPointer; | ||
11662 | #else | ||
11663 | sg_ptr = (ULONG *)p_SCCB->DataPointer; | 7796 | sg_ptr = (ULONG *)p_SCCB->DataPointer; |
11664 | #endif | ||
11665 | 7797 | ||
11666 | if (p_SCCB->Sccb_SGoffset) { | 7798 | if (p_SCCB->Sccb_SGoffset) { |
11667 | 7799 | ||
@@ -11694,17 +7826,13 @@ void utilUpdateResidual(PSCCB p_SCCB) | |||
11694 | * | 7826 | * |
11695 | *---------------------------------------------------------------------*/ | 7827 | *---------------------------------------------------------------------*/ |
11696 | 7828 | ||
11697 | #if defined(DOS) | 7829 | static void FPT_Wait1Second(ULONG p_port) |
11698 | void Wait1Second(USHORT p_port) | ||
11699 | #else | ||
11700 | void Wait1Second(ULONG p_port) | ||
11701 | #endif | ||
11702 | { | 7830 | { |
11703 | UCHAR i; | 7831 | UCHAR i; |
11704 | 7832 | ||
11705 | for(i=0; i < 4; i++) { | 7833 | for(i=0; i < 4; i++) { |
11706 | 7834 | ||
11707 | Wait(p_port, TO_250ms); | 7835 | FPT_Wait(p_port, TO_250ms); |
11708 | 7836 | ||
11709 | if ((RD_HARPOON(p_port+hp_scsictrl_0) & SCSI_RST)) | 7837 | if ((RD_HARPOON(p_port+hp_scsictrl_0) & SCSI_RST)) |
11710 | break; | 7838 | break; |
@@ -11717,17 +7845,13 @@ void Wait1Second(ULONG p_port) | |||
11717 | 7845 | ||
11718 | /*--------------------------------------------------------------------- | 7846 | /*--------------------------------------------------------------------- |
11719 | * | 7847 | * |
11720 | * Function: Wait | 7848 | * Function: FPT_Wait |
11721 | * | 7849 | * |
11722 | * Description: Wait the desired delay. | 7850 | * Description: Wait the desired delay. |
11723 | * | 7851 | * |
11724 | *---------------------------------------------------------------------*/ | 7852 | *---------------------------------------------------------------------*/ |
11725 | 7853 | ||
11726 | #if defined(DOS) | 7854 | static void FPT_Wait(ULONG p_port, UCHAR p_delay) |
11727 | void Wait(USHORT p_port, UCHAR p_delay) | ||
11728 | #else | ||
11729 | void Wait(ULONG p_port, UCHAR p_delay) | ||
11730 | #endif | ||
11731 | { | 7855 | { |
11732 | UCHAR old_timer; | 7856 | UCHAR old_timer; |
11733 | UCHAR green_flag; | 7857 | UCHAR green_flag; |
@@ -11739,7 +7863,7 @@ void Wait(ULONG p_port, UCHAR p_delay) | |||
11739 | 7863 | ||
11740 | WR_HARPOON(p_port+hp_seltimeout,p_delay); | 7864 | WR_HARPOON(p_port+hp_seltimeout,p_delay); |
11741 | WRW_HARPOON((p_port+hp_intstat), TIMEOUT); | 7865 | WRW_HARPOON((p_port+hp_intstat), TIMEOUT); |
11742 | WRW_HARPOON((p_port+hp_intena), (default_intena & ~TIMEOUT)); | 7866 | WRW_HARPOON((p_port+hp_intena), (FPT_default_intena & ~TIMEOUT)); |
11743 | 7867 | ||
11744 | 7868 | ||
11745 | WR_HARPOON(p_port+hp_portctrl_0, | 7869 | WR_HARPOON(p_port+hp_portctrl_0, |
@@ -11758,7 +7882,7 @@ void Wait(ULONG p_port, UCHAR p_delay) | |||
11758 | (RD_HARPOON(p_port+hp_portctrl_0) & ~START_TO)); | 7882 | (RD_HARPOON(p_port+hp_portctrl_0) & ~START_TO)); |
11759 | 7883 | ||
11760 | WRW_HARPOON((p_port+hp_intstat), TIMEOUT); | 7884 | WRW_HARPOON((p_port+hp_intstat), TIMEOUT); |
11761 | WRW_HARPOON((p_port+hp_intena), default_intena); | 7885 | WRW_HARPOON((p_port+hp_intena), FPT_default_intena); |
11762 | 7886 | ||
11763 | WR_HARPOON(p_port+hp_clkctrl_0,green_flag); | 7887 | WR_HARPOON(p_port+hp_clkctrl_0,green_flag); |
11764 | 7888 | ||
@@ -11775,11 +7899,7 @@ void Wait(ULONG p_port, UCHAR p_delay) | |||
11775 | * | 7899 | * |
11776 | *---------------------------------------------------------------------*/ | 7900 | *---------------------------------------------------------------------*/ |
11777 | 7901 | ||
11778 | #if defined(DOS) | 7902 | static void FPT_utilEEWriteOnOff(ULONG p_port,UCHAR p_mode) |
11779 | void utilEEWriteOnOff(USHORT p_port,UCHAR p_mode) | ||
11780 | #else | ||
11781 | void utilEEWriteOnOff(ULONG p_port,UCHAR p_mode) | ||
11782 | #endif | ||
11783 | { | 7903 | { |
11784 | UCHAR ee_value; | 7904 | UCHAR ee_value; |
11785 | 7905 | ||
@@ -11787,12 +7907,12 @@ void utilEEWriteOnOff(ULONG p_port,UCHAR p_mode) | |||
11787 | 7907 | ||
11788 | if (p_mode) | 7908 | if (p_mode) |
11789 | 7909 | ||
11790 | utilEESendCmdAddr(p_port, EWEN, EWEN_ADDR); | 7910 | FPT_utilEESendCmdAddr(p_port, EWEN, EWEN_ADDR); |
11791 | 7911 | ||
11792 | else | 7912 | else |
11793 | 7913 | ||
11794 | 7914 | ||
11795 | utilEESendCmdAddr(p_port, EWDS, EWDS_ADDR); | 7915 | FPT_utilEESendCmdAddr(p_port, EWDS, EWDS_ADDR); |
11796 | 7916 | ||
11797 | WR_HARPOON(p_port+hp_ee_ctrl, (ee_value | SEE_MS)); /*Turn off CS */ | 7917 | WR_HARPOON(p_port+hp_ee_ctrl, (ee_value | SEE_MS)); /*Turn off CS */ |
11798 | WR_HARPOON(p_port+hp_ee_ctrl, ee_value); /*Turn off Master Select */ | 7918 | WR_HARPOON(p_port+hp_ee_ctrl, ee_value); /*Turn off Master Select */ |
@@ -11808,11 +7928,7 @@ void utilEEWriteOnOff(ULONG p_port,UCHAR p_mode) | |||
11808 | * | 7928 | * |
11809 | *---------------------------------------------------------------------*/ | 7929 | *---------------------------------------------------------------------*/ |
11810 | 7930 | ||
11811 | #if defined(DOS) | 7931 | static void FPT_utilEEWrite(ULONG p_port, USHORT ee_data, USHORT ee_addr) |
11812 | void utilEEWrite(USHORT p_port, USHORT ee_data, USHORT ee_addr) | ||
11813 | #else | ||
11814 | void utilEEWrite(ULONG p_port, USHORT ee_data, USHORT ee_addr) | ||
11815 | #endif | ||
11816 | { | 7932 | { |
11817 | 7933 | ||
11818 | UCHAR ee_value; | 7934 | UCHAR ee_value; |
@@ -11823,7 +7939,7 @@ void utilEEWrite(ULONG p_port, USHORT ee_data, USHORT ee_addr) | |||
11823 | 7939 | ||
11824 | 7940 | ||
11825 | 7941 | ||
11826 | utilEESendCmdAddr(p_port, EE_WRITE, ee_addr); | 7942 | FPT_utilEESendCmdAddr(p_port, EE_WRITE, ee_addr); |
11827 | 7943 | ||
11828 | 7944 | ||
11829 | ee_value |= (SEE_MS + SEE_CS); | 7945 | ee_value |= (SEE_MS + SEE_CS); |
@@ -11847,7 +7963,7 @@ void utilEEWrite(ULONG p_port, USHORT ee_data, USHORT ee_addr) | |||
11847 | ee_value &= (EXT_ARB_ACK | SCSI_TERM_ENA_H); | 7963 | ee_value &= (EXT_ARB_ACK | SCSI_TERM_ENA_H); |
11848 | WR_HARPOON(p_port+hp_ee_ctrl, (ee_value | SEE_MS)); | 7964 | WR_HARPOON(p_port+hp_ee_ctrl, (ee_value | SEE_MS)); |
11849 | 7965 | ||
11850 | Wait(p_port, TO_10ms); | 7966 | FPT_Wait(p_port, TO_10ms); |
11851 | 7967 | ||
11852 | WR_HARPOON(p_port+hp_ee_ctrl, (ee_value | SEE_MS | SEE_CS)); /* Set CS to EEPROM */ | 7968 | WR_HARPOON(p_port+hp_ee_ctrl, (ee_value | SEE_MS | SEE_CS)); /* Set CS to EEPROM */ |
11853 | WR_HARPOON(p_port+hp_ee_ctrl, (ee_value | SEE_MS)); /* Turn off CS */ | 7969 | WR_HARPOON(p_port+hp_ee_ctrl, (ee_value | SEE_MS)); /* Turn off CS */ |
@@ -11863,19 +7979,15 @@ void utilEEWrite(ULONG p_port, USHORT ee_data, USHORT ee_addr) | |||
11863 | * | 7979 | * |
11864 | *---------------------------------------------------------------------*/ | 7980 | *---------------------------------------------------------------------*/ |
11865 | 7981 | ||
11866 | #if defined(DOS) | 7982 | static USHORT FPT_utilEERead(ULONG p_port, USHORT ee_addr) |
11867 | USHORT utilEERead(USHORT p_port, USHORT ee_addr) | ||
11868 | #else | ||
11869 | USHORT utilEERead(ULONG p_port, USHORT ee_addr) | ||
11870 | #endif | ||
11871 | { | 7983 | { |
11872 | USHORT i, ee_data1, ee_data2; | 7984 | USHORT i, ee_data1, ee_data2; |
11873 | 7985 | ||
11874 | i = 0; | 7986 | i = 0; |
11875 | ee_data1 = utilEEReadOrg(p_port, ee_addr); | 7987 | ee_data1 = FPT_utilEEReadOrg(p_port, ee_addr); |
11876 | do | 7988 | do |
11877 | { | 7989 | { |
11878 | ee_data2 = utilEEReadOrg(p_port, ee_addr); | 7990 | ee_data2 = FPT_utilEEReadOrg(p_port, ee_addr); |
11879 | 7991 | ||
11880 | if(ee_data1 == ee_data2) | 7992 | if(ee_data1 == ee_data2) |
11881 | return(ee_data1); | 7993 | return(ee_data1); |
@@ -11897,11 +8009,7 @@ USHORT utilEERead(ULONG p_port, USHORT ee_addr) | |||
11897 | * | 8009 | * |
11898 | *---------------------------------------------------------------------*/ | 8010 | *---------------------------------------------------------------------*/ |
11899 | 8011 | ||
11900 | #if defined(DOS) | 8012 | static USHORT FPT_utilEEReadOrg(ULONG p_port, USHORT ee_addr) |
11901 | USHORT utilEEReadOrg(USHORT p_port, USHORT ee_addr) | ||
11902 | #else | ||
11903 | USHORT utilEEReadOrg(ULONG p_port, USHORT ee_addr) | ||
11904 | #endif | ||
11905 | { | 8013 | { |
11906 | 8014 | ||
11907 | UCHAR ee_value; | 8015 | UCHAR ee_value; |
@@ -11911,7 +8019,7 @@ USHORT utilEEReadOrg(ULONG p_port, USHORT ee_addr) | |||
11911 | (SEE_MS | SEE_CS)); | 8019 | (SEE_MS | SEE_CS)); |
11912 | 8020 | ||
11913 | 8021 | ||
11914 | utilEESendCmdAddr(p_port, EE_READ, ee_addr); | 8022 | FPT_utilEESendCmdAddr(p_port, EE_READ, ee_addr); |
11915 | 8023 | ||
11916 | 8024 | ||
11917 | ee_value |= (SEE_MS + SEE_CS); | 8025 | ee_value |= (SEE_MS + SEE_CS); |
@@ -11949,11 +8057,7 @@ USHORT utilEEReadOrg(ULONG p_port, USHORT ee_addr) | |||
11949 | * | 8057 | * |
11950 | *---------------------------------------------------------------------*/ | 8058 | *---------------------------------------------------------------------*/ |
11951 | 8059 | ||
11952 | #if defined(DOS) | 8060 | static void FPT_utilEESendCmdAddr(ULONG p_port, UCHAR ee_cmd, USHORT ee_addr) |
11953 | void utilEESendCmdAddr(USHORT p_port, UCHAR ee_cmd, USHORT ee_addr) | ||
11954 | #else | ||
11955 | void utilEESendCmdAddr(ULONG p_port, UCHAR ee_cmd, USHORT ee_addr) | ||
11956 | #endif | ||
11957 | { | 8061 | { |
11958 | UCHAR ee_value; | 8062 | UCHAR ee_value; |
11959 | UCHAR narrow_flg; | 8063 | UCHAR narrow_flg; |
@@ -12016,7 +8120,7 @@ void utilEESendCmdAddr(ULONG p_port, UCHAR ee_cmd, USHORT ee_addr) | |||
12016 | } | 8120 | } |
12017 | } | 8121 | } |
12018 | 8122 | ||
12019 | USHORT CalcCrc16(UCHAR buffer[]) | 8123 | static USHORT FPT_CalcCrc16(UCHAR buffer[]) |
12020 | { | 8124 | { |
12021 | USHORT crc=0; | 8125 | USHORT crc=0; |
12022 | int i,j; | 8126 | int i,j; |
@@ -12036,7 +8140,7 @@ USHORT CalcCrc16(UCHAR buffer[]) | |||
12036 | return(crc); | 8140 | return(crc); |
12037 | } | 8141 | } |
12038 | 8142 | ||
12039 | UCHAR CalcLrc(UCHAR buffer[]) | 8143 | static UCHAR FPT_CalcLrc(UCHAR buffer[]) |
12040 | { | 8144 | { |
12041 | int i; | 8145 | int i; |
12042 | UCHAR lrc; | 8146 | UCHAR lrc; |
@@ -12109,33 +8213,6 @@ FlashPoint__HandleInterrupt(FlashPoint_CardHandle_T CardHandle) | |||
12109 | #define FlashPoint_HandleInterrupt FlashPoint__HandleInterrupt | 8213 | #define FlashPoint_HandleInterrupt FlashPoint__HandleInterrupt |
12110 | 8214 | ||
12111 | 8215 | ||
12112 | /* | ||
12113 | FlashPoint_InquireTargetInfo returns the Synchronous Period, Synchronous | ||
12114 | Offset, and Wide Transfers Active information for TargetID on CardHandle. | ||
12115 | */ | ||
12116 | |||
12117 | void FlashPoint_InquireTargetInfo(FlashPoint_CardHandle_T CardHandle, | ||
12118 | int TargetID, | ||
12119 | unsigned char *SynchronousPeriod, | ||
12120 | unsigned char *SynchronousOffset, | ||
12121 | unsigned char *WideTransfersActive) | ||
12122 | { | ||
12123 | SCCBMGR_TAR_INFO *TargetInfo = | ||
12124 | &sccbMgrTbl[((SCCBCARD *)CardHandle)->cardIndex][TargetID]; | ||
12125 | if ((TargetInfo->TarSyncCtrl & SYNC_OFFSET) > 0) | ||
12126 | { | ||
12127 | *SynchronousPeriod = 5 * ((TargetInfo->TarSyncCtrl >> 5) + 1); | ||
12128 | *SynchronousOffset = TargetInfo->TarSyncCtrl & SYNC_OFFSET; | ||
12129 | } | ||
12130 | else | ||
12131 | { | ||
12132 | *SynchronousPeriod = 0; | ||
12133 | *SynchronousOffset = 0; | ||
12134 | } | ||
12135 | *WideTransfersActive = (TargetInfo->TarSyncCtrl & NARROW_SCSI ? 0 : 1); | ||
12136 | } | ||
12137 | |||
12138 | |||
12139 | #else /* CONFIG_SCSI_OMIT_FLASHPOINT */ | 8216 | #else /* CONFIG_SCSI_OMIT_FLASHPOINT */ |
12140 | 8217 | ||
12141 | 8218 | ||
@@ -12151,9 +8228,6 @@ extern int FlashPoint_AbortCCB(FlashPoint_CardHandle_T, struct BusLogic_CCB *); | |||
12151 | extern boolean FlashPoint_InterruptPending(FlashPoint_CardHandle_T); | 8228 | extern boolean FlashPoint_InterruptPending(FlashPoint_CardHandle_T); |
12152 | extern int FlashPoint_HandleInterrupt(FlashPoint_CardHandle_T); | 8229 | extern int FlashPoint_HandleInterrupt(FlashPoint_CardHandle_T); |
12153 | extern void FlashPoint_ReleaseHostAdapter(FlashPoint_CardHandle_T); | 8230 | extern void FlashPoint_ReleaseHostAdapter(FlashPoint_CardHandle_T); |
12154 | extern void FlashPoint_InquireTargetInfo(FlashPoint_CardHandle_T, | ||
12155 | int, unsigned char *, | ||
12156 | unsigned char *, unsigned char *); | ||
12157 | 8231 | ||
12158 | 8232 | ||
12159 | #endif /* CONFIG_SCSI_OMIT_FLASHPOINT */ | 8233 | #endif /* CONFIG_SCSI_OMIT_FLASHPOINT */ |
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 1811cb240315..96df148ed969 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig | |||
@@ -137,6 +137,24 @@ config CHR_DEV_SG | |||
137 | 137 | ||
138 | If unsure, say N. | 138 | If unsure, say N. |
139 | 139 | ||
140 | config CHR_DEV_SCH | ||
141 | tristate "SCSI media changer support" | ||
142 | depends on SCSI | ||
143 | ---help--- | ||
144 | This is a driver for SCSI media changers. Most common devices are | ||
145 | tape libraries and MOD/CDROM jukeboxes. *Real* jukeboxes, you | ||
146 | don't need this for those tiny 6-slot cdrom changers. Media | ||
147 | changers are listed as "Type: Medium Changer" in /proc/scsi/scsi. | ||
148 | If you have such hardware and want to use it with linux, say Y | ||
149 | here. Check <file:Documentation/scsi-changer.txt> for details. | ||
150 | |||
151 | If you want to compile this as a module ( = code which can be | ||
152 | inserted in and removed from the running kernel whenever you want), | ||
153 | say M here and read <file:Documentation/modules.txt> and | ||
154 | <file:Documentation/scsi.txt>. The module will be called ch.o. | ||
155 | If unsure, say N. | ||
156 | |||
157 | |||
140 | comment "Some SCSI devices (e.g. CD jukebox) support multiple LUNs" | 158 | comment "Some SCSI devices (e.g. CD jukebox) support multiple LUNs" |
141 | depends on SCSI | 159 | depends on SCSI |
142 | 160 | ||
@@ -1192,28 +1210,6 @@ config SCSI_PAS16 | |||
1192 | To compile this driver as a module, choose M here: the | 1210 | To compile this driver as a module, choose M here: the |
1193 | module will be called pas16. | 1211 | module will be called pas16. |
1194 | 1212 | ||
1195 | config SCSI_PCI2000 | ||
1196 | tristate "PCI2000 support" | ||
1197 | depends on PCI && SCSI && BROKEN | ||
1198 | help | ||
1199 | This is support for the PCI2000I EIDE interface card which acts as a | ||
1200 | SCSI host adapter. Please read the SCSI-HOWTO, available from | ||
1201 | <http://www.tldp.org/docs.html#howto>. | ||
1202 | |||
1203 | To compile this driver as a module, choose M here: the | ||
1204 | module will be called pci2000. | ||
1205 | |||
1206 | config SCSI_PCI2220I | ||
1207 | tristate "PCI2220i support" | ||
1208 | depends on PCI && SCSI && BROKEN | ||
1209 | help | ||
1210 | This is support for the PCI2220i EIDE interface card which acts as a | ||
1211 | SCSI host adapter. Please read the SCSI-HOWTO, available from | ||
1212 | <http://www.tldp.org/docs.html#howto>. | ||
1213 | |||
1214 | To compile this driver as a module, choose M here: the | ||
1215 | module will be called pci2220i. | ||
1216 | |||
1217 | config SCSI_PSI240I | 1213 | config SCSI_PSI240I |
1218 | tristate "PSI240i support" | 1214 | tristate "PSI240i support" |
1219 | depends on ISA && SCSI | 1215 | depends on ISA && SCSI |
@@ -1752,7 +1748,7 @@ config SCSI_NCR53C7xx_FAST | |||
1752 | 1748 | ||
1753 | config SUN3_SCSI | 1749 | config SUN3_SCSI |
1754 | tristate "Sun3 NCR5380 SCSI" | 1750 | tristate "Sun3 NCR5380 SCSI" |
1755 | depends on SUN3 && SCSI | 1751 | depends on SUN3 && SCSI && BROKEN |
1756 | help | 1752 | help |
1757 | This option will enable support for the OBIO (onboard io) NCR5380 | 1753 | This option will enable support for the OBIO (onboard io) NCR5380 |
1758 | SCSI controller found in the Sun 3/50 and 3/60, as well as for | 1754 | SCSI controller found in the Sun 3/50 and 3/60, as well as for |
diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile index 9cb9fe7d623a..3746fb9fa2f5 100644 --- a/drivers/scsi/Makefile +++ b/drivers/scsi/Makefile | |||
@@ -50,8 +50,6 @@ obj-$(CONFIG_MVME16x_SCSI) += mvme16x.o 53c7xx.o | |||
50 | obj-$(CONFIG_BVME6000_SCSI) += bvme6000.o 53c7xx.o | 50 | obj-$(CONFIG_BVME6000_SCSI) += bvme6000.o 53c7xx.o |
51 | obj-$(CONFIG_SCSI_SIM710) += 53c700.o sim710.o | 51 | obj-$(CONFIG_SCSI_SIM710) += 53c700.o sim710.o |
52 | obj-$(CONFIG_SCSI_ADVANSYS) += advansys.o | 52 | obj-$(CONFIG_SCSI_ADVANSYS) += advansys.o |
53 | obj-$(CONFIG_SCSI_PCI2000) += pci2000.o | ||
54 | obj-$(CONFIG_SCSI_PCI2220I) += pci2220i.o | ||
55 | obj-$(CONFIG_SCSI_PSI240I) += psi240i.o | 53 | obj-$(CONFIG_SCSI_PSI240I) += psi240i.o |
56 | obj-$(CONFIG_SCSI_BUSLOGIC) += BusLogic.o | 54 | obj-$(CONFIG_SCSI_BUSLOGIC) += BusLogic.o |
57 | obj-$(CONFIG_SCSI_DPT_I2O) += dpt_i2o.o | 55 | obj-$(CONFIG_SCSI_DPT_I2O) += dpt_i2o.o |
@@ -142,6 +140,7 @@ obj-$(CONFIG_CHR_DEV_OSST) += osst.o | |||
142 | obj-$(CONFIG_BLK_DEV_SD) += sd_mod.o | 140 | obj-$(CONFIG_BLK_DEV_SD) += sd_mod.o |
143 | obj-$(CONFIG_BLK_DEV_SR) += sr_mod.o | 141 | obj-$(CONFIG_BLK_DEV_SR) += sr_mod.o |
144 | obj-$(CONFIG_CHR_DEV_SG) += sg.o | 142 | obj-$(CONFIG_CHR_DEV_SG) += sg.o |
143 | obj-$(CONFIG_CHR_DEV_SCH) += ch.o | ||
145 | 144 | ||
146 | scsi_mod-y += scsi.o hosts.o scsi_ioctl.o constants.o \ | 145 | scsi_mod-y += scsi.o hosts.o scsi_ioctl.o constants.o \ |
147 | scsicam.o scsi_error.o scsi_lib.o \ | 146 | scsicam.o scsi_error.o scsi_lib.o \ |
diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c index 770fa841e389..f8ec6fe7d858 100644 --- a/drivers/scsi/NCR5380.c +++ b/drivers/scsi/NCR5380.c | |||
@@ -2825,39 +2825,17 @@ static int NCR5380_abort(Scsi_Cmnd * cmd) { | |||
2825 | * Locks: host lock taken by caller | 2825 | * Locks: host lock taken by caller |
2826 | */ | 2826 | */ |
2827 | 2827 | ||
2828 | static int NCR5380_bus_reset(Scsi_Cmnd * cmd) { | 2828 | static int NCR5380_bus_reset(Scsi_Cmnd * cmd) |
2829 | NCR5380_local_declare(); | 2829 | { |
2830 | NCR5380_setup(cmd->device->host); | 2830 | struct Scsi_Host *instance = cmd->device->host; |
2831 | |||
2832 | NCR5380_print_status(cmd->device->host); | ||
2833 | do_reset(cmd->device->host); | ||
2834 | return SUCCESS; | ||
2835 | } | ||
2836 | |||
2837 | /* | ||
2838 | * Function : int NCR5380_device_reset (Scsi_Cmnd *cmd) | ||
2839 | * | ||
2840 | * Purpose : reset a SCSI device | ||
2841 | * | ||
2842 | * Returns : FAILED | ||
2843 | * | ||
2844 | * Locks: io_request_lock held by caller | ||
2845 | */ | ||
2846 | 2831 | ||
2847 | static int NCR5380_device_reset(Scsi_Cmnd * cmd) { | 2832 | NCR5380_local_declare(); |
2848 | return FAILED; | 2833 | NCR5380_setup(instance); |
2849 | } | 2834 | NCR5380_print_status(instance); |
2850 | 2835 | ||
2851 | /* | 2836 | spin_lock_irq(instance->host_lock); |
2852 | * Function : int NCR5380_host_reset (Scsi_Cmnd *cmd) | 2837 | do_reset(instance); |
2853 | * | 2838 | spin_unlock_irq(instance->host_lock); |
2854 | * Purpose : reset a SCSI device | ||
2855 | * | ||
2856 | * Returns : FAILED | ||
2857 | * | ||
2858 | * Locks: io_request_lock held by caller | ||
2859 | */ | ||
2860 | 2839 | ||
2861 | static int NCR5380_host_reset(Scsi_Cmnd * cmd) { | 2840 | return SUCCESS; |
2862 | return FAILED; | ||
2863 | } | 2841 | } |
diff --git a/drivers/scsi/NCR5380.h b/drivers/scsi/NCR5380.h index b5103f94d627..c3462e358d1c 100644 --- a/drivers/scsi/NCR5380.h +++ b/drivers/scsi/NCR5380.h | |||
@@ -306,8 +306,6 @@ static void NCR5380_print(struct Scsi_Host *instance); | |||
306 | #endif | 306 | #endif |
307 | static int NCR5380_abort(Scsi_Cmnd * cmd); | 307 | static int NCR5380_abort(Scsi_Cmnd * cmd); |
308 | static int NCR5380_bus_reset(Scsi_Cmnd * cmd); | 308 | static int NCR5380_bus_reset(Scsi_Cmnd * cmd); |
309 | static int NCR5380_host_reset(Scsi_Cmnd * cmd); | ||
310 | static int NCR5380_device_reset(Scsi_Cmnd * cmd); | ||
311 | static int NCR5380_queue_command(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *)); | 309 | static int NCR5380_queue_command(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *)); |
312 | static int NCR5380_proc_info(struct Scsi_Host *instance, char *buffer, char **start, | 310 | static int NCR5380_proc_info(struct Scsi_Host *instance, char *buffer, char **start, |
313 | off_t offset, int length, int inout); | 311 | off_t offset, int length, int inout); |
diff --git a/drivers/scsi/NCR53C9x.c b/drivers/scsi/NCR53C9x.c index 74b93564a258..6ceabbd42a3d 100644 --- a/drivers/scsi/NCR53C9x.c +++ b/drivers/scsi/NCR53C9x.c | |||
@@ -94,7 +94,7 @@ enum { | |||
94 | }; | 94 | }; |
95 | 95 | ||
96 | /* The master ring of all esp hosts we are managing in this driver. */ | 96 | /* The master ring of all esp hosts we are managing in this driver. */ |
97 | struct NCR_ESP *espchain; | 97 | static struct NCR_ESP *espchain; |
98 | int nesps = 0, esps_in_use = 0, esps_running = 0; | 98 | int nesps = 0, esps_in_use = 0, esps_running = 0; |
99 | 99 | ||
100 | irqreturn_t esp_intr(int irq, void *dev_id, struct pt_regs *pregs); | 100 | irqreturn_t esp_intr(int irq, void *dev_id, struct pt_regs *pregs); |
@@ -1467,14 +1467,12 @@ int esp_reset(Scsi_Cmnd *SCptr) | |||
1467 | { | 1467 | { |
1468 | struct NCR_ESP *esp = (struct NCR_ESP *) SCptr->device->host->hostdata; | 1468 | struct NCR_ESP *esp = (struct NCR_ESP *) SCptr->device->host->hostdata; |
1469 | 1469 | ||
1470 | spin_lock_irq(esp->ehost->host_lock); | ||
1470 | (void) esp_do_resetbus(esp, esp->eregs); | 1471 | (void) esp_do_resetbus(esp, esp->eregs); |
1471 | |||
1472 | spin_unlock_irq(esp->ehost->host_lock); | 1472 | spin_unlock_irq(esp->ehost->host_lock); |
1473 | 1473 | ||
1474 | wait_event(esp->reset_queue, (esp->resetting_bus == 0)); | 1474 | wait_event(esp->reset_queue, (esp->resetting_bus == 0)); |
1475 | 1475 | ||
1476 | spin_lock_irq(esp->ehost->host_lock); | ||
1477 | |||
1478 | return SUCCESS; | 1476 | return SUCCESS; |
1479 | } | 1477 | } |
1480 | 1478 | ||
diff --git a/drivers/scsi/NCR53c406a.c b/drivers/scsi/NCR53c406a.c index c685d546f838..b2002ba6e2aa 100644 --- a/drivers/scsi/NCR53c406a.c +++ b/drivers/scsi/NCR53c406a.c | |||
@@ -722,15 +722,12 @@ static int NCR53c406a_queue(Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *)) | |||
722 | return 0; | 722 | return 0; |
723 | } | 723 | } |
724 | 724 | ||
725 | static int NCR53c406a_abort(Scsi_Cmnd * SCpnt) | ||
726 | { | ||
727 | DEB(printk("NCR53c406a_abort called\n")); | ||
728 | return FAILED; /* Don't know how to abort */ | ||
729 | } | ||
730 | |||
731 | static int NCR53c406a_host_reset(Scsi_Cmnd * SCpnt) | 725 | static int NCR53c406a_host_reset(Scsi_Cmnd * SCpnt) |
732 | { | 726 | { |
733 | DEB(printk("NCR53c406a_reset called\n")); | 727 | DEB(printk("NCR53c406a_reset called\n")); |
728 | |||
729 | spin_lock_irq(SCpnt->device->host->host_lock); | ||
730 | |||
734 | outb(C4_IMG, CONFIG4); /* Select reg set 0 */ | 731 | outb(C4_IMG, CONFIG4); /* Select reg set 0 */ |
735 | outb(CHIP_RESET, CMD_REG); | 732 | outb(CHIP_RESET, CMD_REG); |
736 | outb(SCSI_NOP, CMD_REG); /* required after reset */ | 733 | outb(SCSI_NOP, CMD_REG); /* required after reset */ |
@@ -738,17 +735,10 @@ static int NCR53c406a_host_reset(Scsi_Cmnd * SCpnt) | |||
738 | chip_init(); | 735 | chip_init(); |
739 | 736 | ||
740 | rtrc(2); | 737 | rtrc(2); |
741 | return SUCCESS; | ||
742 | } | ||
743 | 738 | ||
744 | static int NCR53c406a_device_reset(Scsi_Cmnd * SCpnt) | 739 | spin_unlock_irq(SCpnt->device->host->host_lock); |
745 | { | ||
746 | return FAILED; | ||
747 | } | ||
748 | 740 | ||
749 | static int NCR53c406a_bus_reset(Scsi_Cmnd * SCpnt) | 741 | return SUCCESS; |
750 | { | ||
751 | return FAILED; | ||
752 | } | 742 | } |
753 | 743 | ||
754 | static int NCR53c406a_biosparm(struct scsi_device *disk, | 744 | static int NCR53c406a_biosparm(struct scsi_device *disk, |
@@ -1075,9 +1065,6 @@ static Scsi_Host_Template driver_template = | |||
1075 | .release = NCR53c406a_release, | 1065 | .release = NCR53c406a_release, |
1076 | .info = NCR53c406a_info /* info */, | 1066 | .info = NCR53c406a_info /* info */, |
1077 | .queuecommand = NCR53c406a_queue /* queuecommand */, | 1067 | .queuecommand = NCR53c406a_queue /* queuecommand */, |
1078 | .eh_abort_handler = NCR53c406a_abort /* abort */, | ||
1079 | .eh_bus_reset_handler = NCR53c406a_bus_reset /* reset */, | ||
1080 | .eh_device_reset_handler = NCR53c406a_device_reset /* reset */, | ||
1081 | .eh_host_reset_handler = NCR53c406a_host_reset /* reset */, | 1068 | .eh_host_reset_handler = NCR53c406a_host_reset /* reset */, |
1082 | .bios_param = NCR53c406a_biosparm /* biosparm */, | 1069 | .bios_param = NCR53c406a_biosparm /* biosparm */, |
1083 | .can_queue = 1 /* can_queue */, | 1070 | .can_queue = 1 /* can_queue */, |
diff --git a/drivers/scsi/a2091.c b/drivers/scsi/a2091.c index 9928a2fbce0c..f7a1751e892d 100644 --- a/drivers/scsi/a2091.c +++ b/drivers/scsi/a2091.c | |||
@@ -221,7 +221,14 @@ int __init a2091_detect(Scsi_Host_Template *tpnt) | |||
221 | static int a2091_bus_reset(Scsi_Cmnd *cmd) | 221 | static int a2091_bus_reset(Scsi_Cmnd *cmd) |
222 | { | 222 | { |
223 | /* FIXME perform bus-specific reset */ | 223 | /* FIXME perform bus-specific reset */ |
224 | |||
225 | /* FIXME 2: kill this function, and let midlayer fall back | ||
226 | to the same action, calling wd33c93_host_reset() */ | ||
227 | |||
228 | spin_lock_irq(cmd->device->host->host_lock); | ||
224 | wd33c93_host_reset(cmd); | 229 | wd33c93_host_reset(cmd); |
230 | spin_unlock_irq(cmd->device->host->host_lock); | ||
231 | |||
225 | return SUCCESS; | 232 | return SUCCESS; |
226 | } | 233 | } |
227 | 234 | ||
diff --git a/drivers/scsi/a3000.c b/drivers/scsi/a3000.c index f8a89ec25042..306caf56f3d9 100644 --- a/drivers/scsi/a3000.c +++ b/drivers/scsi/a3000.c | |||
@@ -208,7 +208,14 @@ fail_register: | |||
208 | static int a3000_bus_reset(Scsi_Cmnd *cmd) | 208 | static int a3000_bus_reset(Scsi_Cmnd *cmd) |
209 | { | 209 | { |
210 | /* FIXME perform bus-specific reset */ | 210 | /* FIXME perform bus-specific reset */ |
211 | |||
212 | /* FIXME 2: kill this entire function, which should | ||
213 | cause mid-layer to call wd33c93_host_reset anyway? */ | ||
214 | |||
215 | spin_lock_irq(cmd->device->host->host_lock); | ||
211 | wd33c93_host_reset(cmd); | 216 | wd33c93_host_reset(cmd); |
217 | spin_unlock_irq(cmd->device->host->host_lock); | ||
218 | |||
212 | return SUCCESS; | 219 | return SUCCESS; |
213 | } | 220 | } |
214 | 221 | ||
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c index f3fc35386060..f02c99641467 100644 --- a/drivers/scsi/aacraid/aachba.c +++ b/drivers/scsi/aacraid/aachba.c | |||
@@ -53,10 +53,6 @@ | |||
53 | #define INQD_PDT_DMASK 0x1F /* Peripheral Device Type Mask */ | 53 | #define INQD_PDT_DMASK 0x1F /* Peripheral Device Type Mask */ |
54 | #define INQD_PDT_QMASK 0xE0 /* Peripheral Device Qualifer Mask */ | 54 | #define INQD_PDT_QMASK 0xE0 /* Peripheral Device Qualifer Mask */ |
55 | 55 | ||
56 | #define MAX_FIB_DATA (sizeof(struct hw_fib) - sizeof(FIB_HEADER)) | ||
57 | |||
58 | #define MAX_DRIVER_SG_SEGMENT_COUNT 17 | ||
59 | |||
60 | /* | 56 | /* |
61 | * Sense codes | 57 | * Sense codes |
62 | */ | 58 | */ |
@@ -158,6 +154,13 @@ MODULE_PARM_DESC(dacmode, "Control whether dma addressing is using 64 bit DAC. 0 | |||
158 | module_param(commit, int, 0); | 154 | module_param(commit, int, 0); |
159 | MODULE_PARM_DESC(commit, "Control whether a COMMIT_CONFIG is issued to the adapter for foreign arrays.\nThis is typically needed in systems that do not have a BIOS. 0=off, 1=on"); | 155 | MODULE_PARM_DESC(commit, "Control whether a COMMIT_CONFIG is issued to the adapter for foreign arrays.\nThis is typically needed in systems that do not have a BIOS. 0=off, 1=on"); |
160 | 156 | ||
157 | int numacb = -1; | ||
158 | module_param(numacb, int, S_IRUGO|S_IWUSR); | ||
159 | MODULE_PARM_DESC(numacb, "Request a limit to the number of adapter control blocks (FIB) allocated. Valid\nvalues are 512 and down. Default is to use suggestion from Firmware."); | ||
160 | |||
161 | int acbsize = -1; | ||
162 | module_param(acbsize, int, S_IRUGO|S_IWUSR); | ||
163 | MODULE_PARM_DESC(acbsize, "Request a specific adapter control block (FIB) size. Valid values are 512,\n2048, 4096 and 8192. Default is to use suggestion from Firmware."); | ||
161 | /** | 164 | /** |
162 | * aac_get_config_status - check the adapter configuration | 165 | * aac_get_config_status - check the adapter configuration |
163 | * @common: adapter to query | 166 | * @common: adapter to query |
@@ -462,7 +465,7 @@ static int probe_container(struct aac_dev *dev, int cid) | |||
462 | 1, 1, | 465 | 1, 1, |
463 | NULL, NULL); | 466 | NULL, NULL); |
464 | if (status < 0) { | 467 | if (status < 0) { |
465 | printk(KERN_WARNING "aacraid: probe_containers query failed.\n"); | 468 | printk(KERN_WARNING "aacraid: probe_container query failed.\n"); |
466 | goto error; | 469 | goto error; |
467 | } | 470 | } |
468 | 471 | ||
@@ -562,10 +565,10 @@ static void setinqstr(int devtype, void *data, int tindex) | |||
562 | inqstrcpy ("V1.0", str->prl); | 565 | inqstrcpy ("V1.0", str->prl); |
563 | } | 566 | } |
564 | 567 | ||
565 | void set_sense(u8 *sense_buf, u8 sense_key, u8 sense_code, | 568 | static void set_sense(u8 *sense_buf, u8 sense_key, u8 sense_code, |
566 | u8 a_sense_code, u8 incorrect_length, | 569 | u8 a_sense_code, u8 incorrect_length, |
567 | u8 bit_pointer, u16 field_pointer, | 570 | u8 bit_pointer, u16 field_pointer, |
568 | u32 residue) | 571 | u32 residue) |
569 | { | 572 | { |
570 | sense_buf[0] = 0xF0; /* Sense data valid, err code 70h (current error) */ | 573 | sense_buf[0] = 0xF0; /* Sense data valid, err code 70h (current error) */ |
571 | sense_buf[1] = 0; /* Segment number, always zero */ | 574 | sense_buf[1] = 0; /* Segment number, always zero */ |
@@ -605,35 +608,63 @@ void set_sense(u8 *sense_buf, u8 sense_key, u8 sense_code, | |||
605 | int aac_get_adapter_info(struct aac_dev* dev) | 608 | int aac_get_adapter_info(struct aac_dev* dev) |
606 | { | 609 | { |
607 | struct fib* fibptr; | 610 | struct fib* fibptr; |
608 | struct aac_adapter_info* info; | ||
609 | int rcode; | 611 | int rcode; |
610 | u32 tmp; | 612 | u32 tmp; |
613 | struct aac_adapter_info * info; | ||
614 | |||
611 | if (!(fibptr = fib_alloc(dev))) | 615 | if (!(fibptr = fib_alloc(dev))) |
612 | return -ENOMEM; | 616 | return -ENOMEM; |
613 | 617 | ||
614 | fib_init(fibptr); | 618 | fib_init(fibptr); |
615 | info = (struct aac_adapter_info*) fib_data(fibptr); | 619 | info = (struct aac_adapter_info *) fib_data(fibptr); |
616 | 620 | memset(info,0,sizeof(*info)); | |
617 | memset(info,0,sizeof(struct aac_adapter_info)); | ||
618 | 621 | ||
619 | rcode = fib_send(RequestAdapterInfo, | 622 | rcode = fib_send(RequestAdapterInfo, |
620 | fibptr, | 623 | fibptr, |
621 | sizeof(struct aac_adapter_info), | 624 | sizeof(*info), |
622 | FsaNormal, | 625 | FsaNormal, |
623 | 1, 1, | 626 | 1, 1, |
624 | NULL, | 627 | NULL, |
625 | NULL); | 628 | NULL); |
629 | |||
630 | if (rcode < 0) { | ||
631 | fib_complete(fibptr); | ||
632 | fib_free(fibptr); | ||
633 | return rcode; | ||
634 | } | ||
635 | memcpy(&dev->adapter_info, info, sizeof(*info)); | ||
636 | |||
637 | if (dev->adapter_info.options & AAC_OPT_SUPPLEMENT_ADAPTER_INFO) { | ||
638 | struct aac_supplement_adapter_info * info; | ||
626 | 639 | ||
627 | memcpy(&dev->adapter_info, info, sizeof(struct aac_adapter_info)); | 640 | fib_init(fibptr); |
641 | |||
642 | info = (struct aac_supplement_adapter_info *) fib_data(fibptr); | ||
643 | |||
644 | memset(info,0,sizeof(*info)); | ||
645 | |||
646 | rcode = fib_send(RequestSupplementAdapterInfo, | ||
647 | fibptr, | ||
648 | sizeof(*info), | ||
649 | FsaNormal, | ||
650 | 1, 1, | ||
651 | NULL, | ||
652 | NULL); | ||
653 | |||
654 | if (rcode >= 0) | ||
655 | memcpy(&dev->supplement_adapter_info, info, sizeof(*info)); | ||
656 | } | ||
628 | 657 | ||
629 | tmp = le32_to_cpu(dev->adapter_info.kernelrev); | 658 | tmp = le32_to_cpu(dev->adapter_info.kernelrev); |
630 | printk(KERN_INFO "%s%d: kernel %d.%d-%d[%d]\n", | 659 | printk(KERN_INFO "%s%d: kernel %d.%d-%d[%d] %.*s\n", |
631 | dev->name, | 660 | dev->name, |
632 | dev->id, | 661 | dev->id, |
633 | tmp>>24, | 662 | tmp>>24, |
634 | (tmp>>16)&0xff, | 663 | (tmp>>16)&0xff, |
635 | tmp&0xff, | 664 | tmp&0xff, |
636 | le32_to_cpu(dev->adapter_info.kernelbuild)); | 665 | le32_to_cpu(dev->adapter_info.kernelbuild), |
666 | (int)sizeof(dev->supplement_adapter_info.BuildDate), | ||
667 | dev->supplement_adapter_info.BuildDate); | ||
637 | tmp = le32_to_cpu(dev->adapter_info.monitorrev); | 668 | tmp = le32_to_cpu(dev->adapter_info.monitorrev); |
638 | printk(KERN_INFO "%s%d: monitor %d.%d-%d[%d]\n", | 669 | printk(KERN_INFO "%s%d: monitor %d.%d-%d[%d]\n", |
639 | dev->name, dev->id, | 670 | dev->name, dev->id, |
@@ -707,6 +738,38 @@ int aac_get_adapter_info(struct aac_dev* dev) | |||
707 | rcode = -ENOMEM; | 738 | rcode = -ENOMEM; |
708 | } | 739 | } |
709 | } | 740 | } |
741 | /* | ||
742 | * 57 scatter gather elements | ||
743 | */ | ||
744 | dev->scsi_host_ptr->sg_tablesize = (dev->max_fib_size - | ||
745 | sizeof(struct aac_fibhdr) - | ||
746 | sizeof(struct aac_write) + sizeof(struct sgmap)) / | ||
747 | sizeof(struct sgmap); | ||
748 | if (dev->dac_support) { | ||
749 | /* | ||
750 | * 38 scatter gather elements | ||
751 | */ | ||
752 | dev->scsi_host_ptr->sg_tablesize = | ||
753 | (dev->max_fib_size - | ||
754 | sizeof(struct aac_fibhdr) - | ||
755 | sizeof(struct aac_write64) + | ||
756 | sizeof(struct sgmap64)) / | ||
757 | sizeof(struct sgmap64); | ||
758 | } | ||
759 | dev->scsi_host_ptr->max_sectors = AAC_MAX_32BIT_SGBCOUNT; | ||
760 | if(!(dev->adapter_info.options & AAC_OPT_NEW_COMM)) { | ||
761 | /* | ||
762 | * Worst case size that could cause sg overflow when | ||
763 | * we break up SG elements that are larger than 64KB. | ||
764 | * Would be nice if we could tell the SCSI layer what | ||
765 | * the maximum SG element size can be. Worst case is | ||
766 | * (sg_tablesize-1) 4KB elements with one 64KB | ||
767 | * element. | ||
768 | * 32bit -> 468 or 238KB 64bit -> 424 or 212KB | ||
769 | */ | ||
770 | dev->scsi_host_ptr->max_sectors = | ||
771 | (dev->scsi_host_ptr->sg_tablesize * 8) + 112; | ||
772 | } | ||
710 | 773 | ||
711 | fib_complete(fibptr); | 774 | fib_complete(fibptr); |
712 | fib_free(fibptr); | 775 | fib_free(fibptr); |
@@ -747,8 +810,10 @@ static void read_callback(void *context, struct fib * fibptr) | |||
747 | if (le32_to_cpu(readreply->status) == ST_OK) | 810 | if (le32_to_cpu(readreply->status) == ST_OK) |
748 | scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | SAM_STAT_GOOD; | 811 | scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | SAM_STAT_GOOD; |
749 | else { | 812 | else { |
750 | printk(KERN_WARNING "read_callback: read failed, status = %d\n", | 813 | #ifdef AAC_DETAILED_STATUS_INFO |
751 | le32_to_cpu(readreply->status)); | 814 | printk(KERN_WARNING "read_callback: io failed, status = %d\n", |
815 | le32_to_cpu(readreply->status)); | ||
816 | #endif | ||
752 | scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | SAM_STAT_CHECK_CONDITION; | 817 | scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | SAM_STAT_CHECK_CONDITION; |
753 | set_sense((u8 *) &dev->fsa_dev[cid].sense_data, | 818 | set_sense((u8 *) &dev->fsa_dev[cid].sense_data, |
754 | HARDWARE_ERROR, | 819 | HARDWARE_ERROR, |
@@ -813,7 +878,7 @@ static void write_callback(void *context, struct fib * fibptr) | |||
813 | aac_io_done(scsicmd); | 878 | aac_io_done(scsicmd); |
814 | } | 879 | } |
815 | 880 | ||
816 | int aac_read(struct scsi_cmnd * scsicmd, int cid) | 881 | static int aac_read(struct scsi_cmnd * scsicmd, int cid) |
817 | { | 882 | { |
818 | u32 lba; | 883 | u32 lba; |
819 | u32 count; | 884 | u32 count; |
@@ -842,7 +907,8 @@ int aac_read(struct scsi_cmnd * scsicmd, int cid) | |||
842 | lba = (scsicmd->cmnd[2] << 24) | (scsicmd->cmnd[3] << 16) | (scsicmd->cmnd[4] << 8) | scsicmd->cmnd[5]; | 907 | lba = (scsicmd->cmnd[2] << 24) | (scsicmd->cmnd[3] << 16) | (scsicmd->cmnd[4] << 8) | scsicmd->cmnd[5]; |
843 | count = (scsicmd->cmnd[7] << 8) | scsicmd->cmnd[8]; | 908 | count = (scsicmd->cmnd[7] << 8) | scsicmd->cmnd[8]; |
844 | } | 909 | } |
845 | dprintk((KERN_DEBUG "aac_read[cpu %d]: lba = %u, t = %ld.\n", smp_processor_id(), lba, jiffies)); | 910 | dprintk((KERN_DEBUG "aac_read[cpu %d]: lba = %u, t = %ld.\n", |
911 | smp_processor_id(), (unsigned long long)lba, jiffies)); | ||
846 | /* | 912 | /* |
847 | * Alocate and initialize a Fib | 913 | * Alocate and initialize a Fib |
848 | */ | 914 | */ |
@@ -852,7 +918,7 @@ int aac_read(struct scsi_cmnd * scsicmd, int cid) | |||
852 | 918 | ||
853 | fib_init(cmd_fibcontext); | 919 | fib_init(cmd_fibcontext); |
854 | 920 | ||
855 | if(dev->dac_support == 1) { | 921 | if (dev->dac_support == 1) { |
856 | struct aac_read64 *readcmd; | 922 | struct aac_read64 *readcmd; |
857 | readcmd = (struct aac_read64 *) fib_data(cmd_fibcontext); | 923 | readcmd = (struct aac_read64 *) fib_data(cmd_fibcontext); |
858 | readcmd->command = cpu_to_le32(VM_CtHostRead64); | 924 | readcmd->command = cpu_to_le32(VM_CtHostRead64); |
@@ -886,14 +952,11 @@ int aac_read(struct scsi_cmnd * scsicmd, int cid) | |||
886 | readcmd->block = cpu_to_le32(lba); | 952 | readcmd->block = cpu_to_le32(lba); |
887 | readcmd->count = cpu_to_le32(count * 512); | 953 | readcmd->count = cpu_to_le32(count * 512); |
888 | 954 | ||
889 | if (count * 512 > (64 * 1024)) | ||
890 | BUG(); | ||
891 | |||
892 | aac_build_sg(scsicmd, &readcmd->sg); | 955 | aac_build_sg(scsicmd, &readcmd->sg); |
893 | fibsize = sizeof(struct aac_read) + | 956 | fibsize = sizeof(struct aac_read) + |
894 | ((le32_to_cpu(readcmd->sg.count) - 1) * | 957 | ((le32_to_cpu(readcmd->sg.count) - 1) * |
895 | sizeof (struct sgentry)); | 958 | sizeof (struct sgentry)); |
896 | BUG_ON (fibsize > (sizeof(struct hw_fib) - | 959 | BUG_ON (fibsize > (dev->max_fib_size - |
897 | sizeof(struct aac_fibhdr))); | 960 | sizeof(struct aac_fibhdr))); |
898 | /* | 961 | /* |
899 | * Now send the Fib to the adapter | 962 | * Now send the Fib to the adapter |
@@ -976,7 +1039,7 @@ static int aac_write(struct scsi_cmnd * scsicmd, int cid) | |||
976 | fibsize = sizeof(struct aac_write64) + | 1039 | fibsize = sizeof(struct aac_write64) + |
977 | ((le32_to_cpu(writecmd->sg.count) - 1) * | 1040 | ((le32_to_cpu(writecmd->sg.count) - 1) * |
978 | sizeof (struct sgentry64)); | 1041 | sizeof (struct sgentry64)); |
979 | BUG_ON (fibsize > (sizeof(struct hw_fib) - | 1042 | BUG_ON (fibsize > (dev->max_fib_size - |
980 | sizeof(struct aac_fibhdr))); | 1043 | sizeof(struct aac_fibhdr))); |
981 | /* | 1044 | /* |
982 | * Now send the Fib to the adapter | 1045 | * Now send the Fib to the adapter |
@@ -998,15 +1061,11 @@ static int aac_write(struct scsi_cmnd * scsicmd, int cid) | |||
998 | writecmd->sg.count = cpu_to_le32(1); | 1061 | writecmd->sg.count = cpu_to_le32(1); |
999 | /* ->stable is not used - it did mean which type of write */ | 1062 | /* ->stable is not used - it did mean which type of write */ |
1000 | 1063 | ||
1001 | if (count * 512 > (64 * 1024)) { | ||
1002 | BUG(); | ||
1003 | } | ||
1004 | |||
1005 | aac_build_sg(scsicmd, &writecmd->sg); | 1064 | aac_build_sg(scsicmd, &writecmd->sg); |
1006 | fibsize = sizeof(struct aac_write) + | 1065 | fibsize = sizeof(struct aac_write) + |
1007 | ((le32_to_cpu(writecmd->sg.count) - 1) * | 1066 | ((le32_to_cpu(writecmd->sg.count) - 1) * |
1008 | sizeof (struct sgentry)); | 1067 | sizeof (struct sgentry)); |
1009 | BUG_ON (fibsize > (sizeof(struct hw_fib) - | 1068 | BUG_ON (fibsize > (dev->max_fib_size - |
1010 | sizeof(struct aac_fibhdr))); | 1069 | sizeof(struct aac_fibhdr))); |
1011 | /* | 1070 | /* |
1012 | * Now send the Fib to the adapter | 1071 | * Now send the Fib to the adapter |
@@ -1025,7 +1084,6 @@ static int aac_write(struct scsi_cmnd * scsicmd, int cid) | |||
1025 | */ | 1084 | */ |
1026 | if (status == -EINPROGRESS) | 1085 | if (status == -EINPROGRESS) |
1027 | { | 1086 | { |
1028 | dprintk("write queued.\n"); | ||
1029 | return 0; | 1087 | return 0; |
1030 | } | 1088 | } |
1031 | 1089 | ||
@@ -1111,7 +1169,7 @@ static int aac_synchronize(struct scsi_cmnd *scsicmd, int cid) | |||
1111 | return SCSI_MLQUEUE_DEVICE_BUSY; | 1169 | return SCSI_MLQUEUE_DEVICE_BUSY; |
1112 | 1170 | ||
1113 | /* | 1171 | /* |
1114 | * Alocate and initialize a Fib | 1172 | * Allocate and initialize a Fib |
1115 | */ | 1173 | */ |
1116 | if (!(cmd_fibcontext = | 1174 | if (!(cmd_fibcontext = |
1117 | fib_alloc((struct aac_dev *)scsicmd->device->host->hostdata))) | 1175 | fib_alloc((struct aac_dev *)scsicmd->device->host->hostdata))) |
@@ -1403,7 +1461,7 @@ int aac_scsi_cmd(struct scsi_cmnd * scsicmd) | |||
1403 | /* | 1461 | /* |
1404 | * Unhandled commands | 1462 | * Unhandled commands |
1405 | */ | 1463 | */ |
1406 | printk(KERN_WARNING "Unhandled SCSI Command: 0x%x.\n", scsicmd->cmnd[0]); | 1464 | dprintk((KERN_WARNING "Unhandled SCSI Command: 0x%x.\n", scsicmd->cmnd[0])); |
1407 | scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | SAM_STAT_CHECK_CONDITION; | 1465 | scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | SAM_STAT_CHECK_CONDITION; |
1408 | set_sense((u8 *) &dev->fsa_dev[cid].sense_data, | 1466 | set_sense((u8 *) &dev->fsa_dev[cid].sense_data, |
1409 | ILLEGAL_REQUEST, SENCODE_INVALID_COMMAND, | 1467 | ILLEGAL_REQUEST, SENCODE_INVALID_COMMAND, |
@@ -1818,7 +1876,7 @@ static int aac_send_srb_fib(struct scsi_cmnd* scsicmd) | |||
1818 | fibsize = sizeof (struct aac_srb) - sizeof (struct sgentry) + | 1876 | fibsize = sizeof (struct aac_srb) - sizeof (struct sgentry) + |
1819 | ((le32_to_cpu(srbcmd->sg.count) & 0xff) * | 1877 | ((le32_to_cpu(srbcmd->sg.count) & 0xff) * |
1820 | sizeof (struct sgentry64)); | 1878 | sizeof (struct sgentry64)); |
1821 | BUG_ON (fibsize > (sizeof(struct hw_fib) - | 1879 | BUG_ON (fibsize > (dev->max_fib_size - |
1822 | sizeof(struct aac_fibhdr))); | 1880 | sizeof(struct aac_fibhdr))); |
1823 | 1881 | ||
1824 | /* | 1882 | /* |
@@ -1840,7 +1898,7 @@ static int aac_send_srb_fib(struct scsi_cmnd* scsicmd) | |||
1840 | fibsize = sizeof (struct aac_srb) + | 1898 | fibsize = sizeof (struct aac_srb) + |
1841 | (((le32_to_cpu(srbcmd->sg.count) & 0xff) - 1) * | 1899 | (((le32_to_cpu(srbcmd->sg.count) & 0xff) - 1) * |
1842 | sizeof (struct sgentry)); | 1900 | sizeof (struct sgentry)); |
1843 | BUG_ON (fibsize > (sizeof(struct hw_fib) - | 1901 | BUG_ON (fibsize > (dev->max_fib_size - |
1844 | sizeof(struct aac_fibhdr))); | 1902 | sizeof(struct aac_fibhdr))); |
1845 | 1903 | ||
1846 | /* | 1904 | /* |
@@ -1893,7 +1951,9 @@ static unsigned long aac_build_sg(struct scsi_cmnd* scsicmd, struct sgmap* psg) | |||
1893 | } | 1951 | } |
1894 | /* hba wants the size to be exact */ | 1952 | /* hba wants the size to be exact */ |
1895 | if(byte_count > scsicmd->request_bufflen){ | 1953 | if(byte_count > scsicmd->request_bufflen){ |
1896 | psg->sg[i-1].count -= (byte_count - scsicmd->request_bufflen); | 1954 | u32 temp = le32_to_cpu(psg->sg[i-1].count) - |
1955 | (byte_count - scsicmd->request_bufflen); | ||
1956 | psg->sg[i-1].count = cpu_to_le32(temp); | ||
1897 | byte_count = scsicmd->request_bufflen; | 1957 | byte_count = scsicmd->request_bufflen; |
1898 | } | 1958 | } |
1899 | /* Check for command underflow */ | 1959 | /* Check for command underflow */ |
@@ -1922,7 +1982,7 @@ static unsigned long aac_build_sg64(struct scsi_cmnd* scsicmd, struct sgmap64* p | |||
1922 | { | 1982 | { |
1923 | struct aac_dev *dev; | 1983 | struct aac_dev *dev; |
1924 | unsigned long byte_count = 0; | 1984 | unsigned long byte_count = 0; |
1925 | u64 le_addr; | 1985 | u64 addr; |
1926 | 1986 | ||
1927 | dev = (struct aac_dev *)scsicmd->device->host->hostdata; | 1987 | dev = (struct aac_dev *)scsicmd->device->host->hostdata; |
1928 | // Get rid of old data | 1988 | // Get rid of old data |
@@ -1943,16 +2003,18 @@ static unsigned long aac_build_sg64(struct scsi_cmnd* scsicmd, struct sgmap64* p | |||
1943 | byte_count = 0; | 2003 | byte_count = 0; |
1944 | 2004 | ||
1945 | for (i = 0; i < sg_count; i++) { | 2005 | for (i = 0; i < sg_count; i++) { |
1946 | le_addr = cpu_to_le64(sg_dma_address(sg)); | 2006 | addr = sg_dma_address(sg); |
1947 | psg->sg[i].addr[1] = (u32)(le_addr>>32); | 2007 | psg->sg[i].addr[0] = cpu_to_le32(addr & 0xffffffff); |
1948 | psg->sg[i].addr[0] = (u32)(le_addr & 0xffffffff); | 2008 | psg->sg[i].addr[1] = cpu_to_le32(addr>>32); |
1949 | psg->sg[i].count = cpu_to_le32(sg_dma_len(sg)); | 2009 | psg->sg[i].count = cpu_to_le32(sg_dma_len(sg)); |
1950 | byte_count += sg_dma_len(sg); | 2010 | byte_count += sg_dma_len(sg); |
1951 | sg++; | 2011 | sg++; |
1952 | } | 2012 | } |
1953 | /* hba wants the size to be exact */ | 2013 | /* hba wants the size to be exact */ |
1954 | if(byte_count > scsicmd->request_bufflen){ | 2014 | if(byte_count > scsicmd->request_bufflen){ |
1955 | psg->sg[i-1].count -= (byte_count - scsicmd->request_bufflen); | 2015 | u32 temp = le32_to_cpu(psg->sg[i-1].count) - |
2016 | (byte_count - scsicmd->request_bufflen); | ||
2017 | psg->sg[i-1].count = cpu_to_le32(temp); | ||
1956 | byte_count = scsicmd->request_bufflen; | 2018 | byte_count = scsicmd->request_bufflen; |
1957 | } | 2019 | } |
1958 | /* Check for command underflow */ | 2020 | /* Check for command underflow */ |
@@ -1962,15 +2024,14 @@ static unsigned long aac_build_sg64(struct scsi_cmnd* scsicmd, struct sgmap64* p | |||
1962 | } | 2024 | } |
1963 | } | 2025 | } |
1964 | else if(scsicmd->request_bufflen) { | 2026 | else if(scsicmd->request_bufflen) { |
1965 | dma_addr_t addr; | 2027 | u64 addr; |
1966 | addr = pci_map_single(dev->pdev, | 2028 | addr = pci_map_single(dev->pdev, |
1967 | scsicmd->request_buffer, | 2029 | scsicmd->request_buffer, |
1968 | scsicmd->request_bufflen, | 2030 | scsicmd->request_bufflen, |
1969 | scsicmd->sc_data_direction); | 2031 | scsicmd->sc_data_direction); |
1970 | psg->count = cpu_to_le32(1); | 2032 | psg->count = cpu_to_le32(1); |
1971 | le_addr = cpu_to_le64(addr); | 2033 | psg->sg[0].addr[0] = cpu_to_le32(addr & 0xffffffff); |
1972 | psg->sg[0].addr[1] = (u32)(le_addr>>32); | 2034 | psg->sg[0].addr[1] = cpu_to_le32(addr >> 32); |
1973 | psg->sg[0].addr[0] = (u32)(le_addr & 0xffffffff); | ||
1974 | psg->sg[0].count = cpu_to_le32(scsicmd->request_bufflen); | 2035 | psg->sg[0].count = cpu_to_le32(scsicmd->request_bufflen); |
1975 | scsicmd->SCp.dma_handle = addr; | 2036 | scsicmd->SCp.dma_handle = addr; |
1976 | byte_count = scsicmd->request_bufflen; | 2037 | byte_count = scsicmd->request_bufflen; |
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h index 700d90331c1c..42484417cef7 100644 --- a/drivers/scsi/aacraid/aacraid.h +++ b/drivers/scsi/aacraid/aacraid.h | |||
@@ -8,12 +8,18 @@ | |||
8 | 8 | ||
9 | #define MAXIMUM_NUM_CONTAINERS 32 | 9 | #define MAXIMUM_NUM_CONTAINERS 32 |
10 | 10 | ||
11 | #define AAC_NUM_FIB (256 + 64) | 11 | #define AAC_NUM_MGT_FIB 8 |
12 | #define AAC_NUM_IO_FIB 100 | 12 | #define AAC_NUM_IO_FIB (512 - AAC_NUM_MGT_FIB) |
13 | #define AAC_NUM_FIB (AAC_NUM_IO_FIB + AAC_NUM_MGT_FIB) | ||
13 | 14 | ||
14 | #define AAC_MAX_LUN (8) | 15 | #define AAC_MAX_LUN (8) |
15 | 16 | ||
16 | #define AAC_MAX_HOSTPHYSMEMPAGES (0xfffff) | 17 | #define AAC_MAX_HOSTPHYSMEMPAGES (0xfffff) |
18 | /* | ||
19 | * max_sectors is an unsigned short, otherwise limit is 0x100000000 / 512 | ||
20 | * Linux has starvation problems if we permit larger than 4MB I/O ... | ||
21 | */ | ||
22 | #define AAC_MAX_32BIT_SGBCOUNT ((unsigned short)8192) | ||
17 | 23 | ||
18 | /* | 24 | /* |
19 | * These macros convert from physical channels to virtual channels | 25 | * These macros convert from physical channels to virtual channels |
@@ -89,11 +95,21 @@ struct diskparm | |||
89 | * on 64 bit systems not all cards support the 64 bit version | 95 | * on 64 bit systems not all cards support the 64 bit version |
90 | */ | 96 | */ |
91 | struct sgentry { | 97 | struct sgentry { |
98 | __le32 addr; /* 32-bit address. */ | ||
99 | __le32 count; /* Length. */ | ||
100 | }; | ||
101 | |||
102 | struct user_sgentry { | ||
92 | u32 addr; /* 32-bit address. */ | 103 | u32 addr; /* 32-bit address. */ |
93 | u32 count; /* Length. */ | 104 | u32 count; /* Length. */ |
94 | }; | 105 | }; |
95 | 106 | ||
96 | struct sgentry64 { | 107 | struct sgentry64 { |
108 | __le32 addr[2]; /* 64-bit addr. 2 pieces for data alignment */ | ||
109 | __le32 count; /* Length. */ | ||
110 | }; | ||
111 | |||
112 | struct user_sgentry64 { | ||
97 | u32 addr[2]; /* 64-bit addr. 2 pieces for data alignment */ | 113 | u32 addr[2]; /* 64-bit addr. 2 pieces for data alignment */ |
98 | u32 count; /* Length. */ | 114 | u32 count; /* Length. */ |
99 | }; | 115 | }; |
@@ -106,15 +122,25 @@ struct sgentry64 { | |||
106 | */ | 122 | */ |
107 | 123 | ||
108 | struct sgmap { | 124 | struct sgmap { |
109 | u32 count; | 125 | __le32 count; |
110 | struct sgentry sg[1]; | 126 | struct sgentry sg[1]; |
111 | }; | 127 | }; |
112 | 128 | ||
113 | struct sgmap64 { | 129 | struct user_sgmap { |
114 | u32 count; | 130 | u32 count; |
131 | struct user_sgentry sg[1]; | ||
132 | }; | ||
133 | |||
134 | struct sgmap64 { | ||
135 | __le32 count; | ||
115 | struct sgentry64 sg[1]; | 136 | struct sgentry64 sg[1]; |
116 | }; | 137 | }; |
117 | 138 | ||
139 | struct user_sgmap64 { | ||
140 | u32 count; | ||
141 | struct user_sgentry64 sg[1]; | ||
142 | }; | ||
143 | |||
118 | struct creation_info | 144 | struct creation_info |
119 | { | 145 | { |
120 | u8 buildnum; /* e.g., 588 */ | 146 | u8 buildnum; /* e.g., 588 */ |
@@ -123,14 +149,14 @@ struct creation_info | |||
123 | * 2 = API | 149 | * 2 = API |
124 | */ | 150 | */ |
125 | u8 year; /* e.g., 1997 = 97 */ | 151 | u8 year; /* e.g., 1997 = 97 */ |
126 | u32 date; /* | 152 | __le32 date; /* |
127 | * unsigned Month :4; // 1 - 12 | 153 | * unsigned Month :4; // 1 - 12 |
128 | * unsigned Day :6; // 1 - 32 | 154 | * unsigned Day :6; // 1 - 32 |
129 | * unsigned Hour :6; // 0 - 23 | 155 | * unsigned Hour :6; // 0 - 23 |
130 | * unsigned Minute :6; // 0 - 60 | 156 | * unsigned Minute :6; // 0 - 60 |
131 | * unsigned Second :6; // 0 - 60 | 157 | * unsigned Second :6; // 0 - 60 |
132 | */ | 158 | */ |
133 | u32 serial[2]; /* e.g., 0x1DEADB0BFAFAF001 */ | 159 | __le32 serial[2]; /* e.g., 0x1DEADB0BFAFAF001 */ |
134 | }; | 160 | }; |
135 | 161 | ||
136 | 162 | ||
@@ -175,8 +201,8 @@ struct creation_info | |||
175 | */ | 201 | */ |
176 | 202 | ||
177 | struct aac_entry { | 203 | struct aac_entry { |
178 | u32 size; /* Size in bytes of Fib which this QE points to */ | 204 | __le32 size; /* Size in bytes of Fib which this QE points to */ |
179 | u32 addr; /* Receiver address of the FIB */ | 205 | __le32 addr; /* Receiver address of the FIB */ |
180 | }; | 206 | }; |
181 | 207 | ||
182 | /* | 208 | /* |
@@ -185,9 +211,10 @@ struct aac_entry { | |||
185 | */ | 211 | */ |
186 | 212 | ||
187 | struct aac_qhdr { | 213 | struct aac_qhdr { |
188 | u64 header_addr; /* Address to hand the adapter to access to this queue head */ | 214 | __le64 header_addr;/* Address to hand the adapter to access |
189 | u32 *producer; /* The producer index for this queue (host address) */ | 215 | to this queue head */ |
190 | u32 *consumer; /* The consumer index for this queue (host address) */ | 216 | __le32 *producer; /* The producer index for this queue (host address) */ |
217 | __le32 *consumer; /* The consumer index for this queue (host address) */ | ||
191 | }; | 218 | }; |
192 | 219 | ||
193 | /* | 220 | /* |
@@ -261,29 +288,30 @@ enum aac_queue_types { | |||
261 | */ | 288 | */ |
262 | 289 | ||
263 | struct aac_fibhdr { | 290 | struct aac_fibhdr { |
264 | u32 XferState; // Current transfer state for this CCB | 291 | __le32 XferState; /* Current transfer state for this CCB */ |
265 | u16 Command; // Routing information for the destination | 292 | __le16 Command; /* Routing information for the destination */ |
266 | u8 StructType; // Type FIB | 293 | u8 StructType; /* Type FIB */ |
267 | u8 Flags; // Flags for FIB | 294 | u8 Flags; /* Flags for FIB */ |
268 | u16 Size; // Size of this FIB in bytes | 295 | __le16 Size; /* Size of this FIB in bytes */ |
269 | u16 SenderSize; // Size of the FIB in the sender (for response sizing) | 296 | __le16 SenderSize; /* Size of the FIB in the sender |
270 | u32 SenderFibAddress; // Host defined data in the FIB | 297 | (for response sizing) */ |
271 | u32 ReceiverFibAddress; // Logical address of this FIB for the adapter | 298 | __le32 SenderFibAddress; /* Host defined data in the FIB */ |
272 | u32 SenderData; // Place holder for the sender to store data | 299 | __le32 ReceiverFibAddress;/* Logical address of this FIB for |
300 | the adapter */ | ||
301 | u32 SenderData; /* Place holder for the sender to store data */ | ||
273 | union { | 302 | union { |
274 | struct { | 303 | struct { |
275 | u32 _ReceiverTimeStart; // Timestamp for receipt of fib | 304 | __le32 _ReceiverTimeStart; /* Timestamp for |
276 | u32 _ReceiverTimeDone; // Timestamp for completion of fib | 305 | receipt of fib */ |
306 | __le32 _ReceiverTimeDone; /* Timestamp for | ||
307 | completion of fib */ | ||
277 | } _s; | 308 | } _s; |
278 | } _u; | 309 | } _u; |
279 | }; | 310 | }; |
280 | 311 | ||
281 | #define FIB_DATA_SIZE_IN_BYTES (512 - sizeof(struct aac_fibhdr)) | ||
282 | |||
283 | |||
284 | struct hw_fib { | 312 | struct hw_fib { |
285 | struct aac_fibhdr header; | 313 | struct aac_fibhdr header; |
286 | u8 data[FIB_DATA_SIZE_IN_BYTES]; // Command specific data | 314 | u8 data[512-sizeof(struct aac_fibhdr)]; // Command specific data |
287 | }; | 315 | }; |
288 | 316 | ||
289 | /* | 317 | /* |
@@ -345,11 +373,12 @@ struct hw_fib { | |||
345 | #define RequestAdapterInfo 703 | 373 | #define RequestAdapterInfo 703 |
346 | #define IsAdapterPaused 704 | 374 | #define IsAdapterPaused 704 |
347 | #define SendHostTime 705 | 375 | #define SendHostTime 705 |
348 | #define LastMiscCommand 706 | 376 | #define RequestSupplementAdapterInfo 706 |
377 | #define LastMiscCommand 707 | ||
349 | 378 | ||
350 | // | 379 | /* |
351 | // Commands that will target the failover level on the FSA adapter | 380 | * Commands that will target the failover level on the FSA adapter |
352 | // | 381 | */ |
353 | 382 | ||
354 | enum fib_xfer_state { | 383 | enum fib_xfer_state { |
355 | HostOwned = (1<<0), | 384 | HostOwned = (1<<0), |
@@ -382,22 +411,32 @@ enum fib_xfer_state { | |||
382 | */ | 411 | */ |
383 | 412 | ||
384 | #define ADAPTER_INIT_STRUCT_REVISION 3 | 413 | #define ADAPTER_INIT_STRUCT_REVISION 3 |
414 | #define ADAPTER_INIT_STRUCT_REVISION_4 4 // rocket science | ||
385 | 415 | ||
386 | struct aac_init | 416 | struct aac_init |
387 | { | 417 | { |
388 | u32 InitStructRevision; | 418 | __le32 InitStructRevision; |
389 | u32 MiniPortRevision; | 419 | __le32 MiniPortRevision; |
390 | u32 fsrev; | 420 | __le32 fsrev; |
391 | u32 CommHeaderAddress; | 421 | __le32 CommHeaderAddress; |
392 | u32 FastIoCommAreaAddress; | 422 | __le32 FastIoCommAreaAddress; |
393 | u32 AdapterFibsPhysicalAddress; | 423 | __le32 AdapterFibsPhysicalAddress; |
394 | u32 AdapterFibsVirtualAddress; | 424 | __le32 AdapterFibsVirtualAddress; |
395 | u32 AdapterFibsSize; | 425 | __le32 AdapterFibsSize; |
396 | u32 AdapterFibAlign; | 426 | __le32 AdapterFibAlign; |
397 | u32 printfbuf; | 427 | __le32 printfbuf; |
398 | u32 printfbufsiz; | 428 | __le32 printfbufsiz; |
399 | u32 HostPhysMemPages; // number of 4k pages of host physical memory | 429 | __le32 HostPhysMemPages; /* number of 4k pages of host |
400 | u32 HostElapsedSeconds; // number of seconds since 1970. | 430 | physical memory */ |
431 | __le32 HostElapsedSeconds; /* number of seconds since 1970. */ | ||
432 | /* | ||
433 | * ADAPTER_INIT_STRUCT_REVISION_4 begins here | ||
434 | */ | ||
435 | __le32 InitFlags; /* flags for supported features */ | ||
436 | #define INITFLAGS_NEW_COMM_SUPPORTED 0x00000001 | ||
437 | __le32 MaxIoCommands; /* max outstanding commands */ | ||
438 | __le32 MaxIoSize; /* largest I/O command */ | ||
439 | __le32 MaxFibSize; /* largest FIB to adapter */ | ||
401 | }; | 440 | }; |
402 | 441 | ||
403 | enum aac_log_level { | 442 | enum aac_log_level { |
@@ -421,7 +460,7 @@ struct adapter_ops | |||
421 | { | 460 | { |
422 | void (*adapter_interrupt)(struct aac_dev *dev); | 461 | void (*adapter_interrupt)(struct aac_dev *dev); |
423 | void (*adapter_notify)(struct aac_dev *dev, u32 event); | 462 | void (*adapter_notify)(struct aac_dev *dev, u32 event); |
424 | int (*adapter_sync_cmd)(struct aac_dev *dev, u32 command, u32 p1, u32 *status); | 463 | int (*adapter_sync_cmd)(struct aac_dev *dev, u32 command, u32 p1, u32 p2, u32 p3, u32 p4, u32 p5, u32 p6, u32 *status, u32 *r1, u32 *r2, u32 *r3, u32 *r4); |
425 | int (*adapter_check_health)(struct aac_dev *dev); | 464 | int (*adapter_check_health)(struct aac_dev *dev); |
426 | }; | 465 | }; |
427 | 466 | ||
@@ -541,6 +580,7 @@ struct sa_drawbridge_CSR { | |||
541 | #define Mailbox3 SaDbCSR.MAILBOX3 | 580 | #define Mailbox3 SaDbCSR.MAILBOX3 |
542 | #define Mailbox4 SaDbCSR.MAILBOX4 | 581 | #define Mailbox4 SaDbCSR.MAILBOX4 |
543 | #define Mailbox5 SaDbCSR.MAILBOX5 | 582 | #define Mailbox5 SaDbCSR.MAILBOX5 |
583 | #define Mailbox6 SaDbCSR.MAILBOX6 | ||
544 | #define Mailbox7 SaDbCSR.MAILBOX7 | 584 | #define Mailbox7 SaDbCSR.MAILBOX7 |
545 | 585 | ||
546 | #define DoorbellReg_p SaDbCSR.PRISETIRQ | 586 | #define DoorbellReg_p SaDbCSR.PRISETIRQ |
@@ -763,29 +803,48 @@ struct fib { | |||
763 | 803 | ||
764 | struct aac_adapter_info | 804 | struct aac_adapter_info |
765 | { | 805 | { |
766 | u32 platform; | 806 | __le32 platform; |
767 | u32 cpu; | 807 | __le32 cpu; |
768 | u32 subcpu; | 808 | __le32 subcpu; |
769 | u32 clock; | 809 | __le32 clock; |
770 | u32 execmem; | 810 | __le32 execmem; |
771 | u32 buffermem; | 811 | __le32 buffermem; |
772 | u32 totalmem; | 812 | __le32 totalmem; |
773 | u32 kernelrev; | 813 | __le32 kernelrev; |
774 | u32 kernelbuild; | 814 | __le32 kernelbuild; |
775 | u32 monitorrev; | 815 | __le32 monitorrev; |
776 | u32 monitorbuild; | 816 | __le32 monitorbuild; |
777 | u32 hwrev; | 817 | __le32 hwrev; |
778 | u32 hwbuild; | 818 | __le32 hwbuild; |
779 | u32 biosrev; | 819 | __le32 biosrev; |
780 | u32 biosbuild; | 820 | __le32 biosbuild; |
781 | u32 cluster; | 821 | __le32 cluster; |
782 | u32 clusterchannelmask; | 822 | __le32 clusterchannelmask; |
783 | u32 serial[2]; | 823 | __le32 serial[2]; |
784 | u32 battery; | 824 | __le32 battery; |
785 | u32 options; | 825 | __le32 options; |
786 | u32 OEM; | 826 | __le32 OEM; |
787 | }; | 827 | }; |
788 | 828 | ||
829 | struct aac_supplement_adapter_info | ||
830 | { | ||
831 | u8 AdapterTypeText[17+1]; | ||
832 | u8 Pad[2]; | ||
833 | __le32 FlashMemoryByteSize; | ||
834 | __le32 FlashImageId; | ||
835 | __le32 MaxNumberPorts; | ||
836 | __le32 Version; | ||
837 | __le32 FeatureBits; | ||
838 | u8 SlotNumber; | ||
839 | u8 ReservedPad0[0]; | ||
840 | u8 BuildDate[12]; | ||
841 | __le32 CurrentNumberPorts; | ||
842 | __le32 ReservedGrowth[24]; | ||
843 | }; | ||
844 | #define AAC_FEATURE_FALCON 0x00000010 | ||
845 | #define AAC_SIS_VERSION_V3 3 | ||
846 | #define AAC_SIS_SLOT_UNKNOWN 0xFF | ||
847 | |||
789 | /* | 848 | /* |
790 | * Battery platforms | 849 | * Battery platforms |
791 | */ | 850 | */ |
@@ -831,6 +890,12 @@ struct aac_dev | |||
831 | 890 | ||
832 | u16 irq_mask; | 891 | u16 irq_mask; |
833 | /* | 892 | /* |
893 | * negotiated FIB settings | ||
894 | */ | ||
895 | unsigned max_fib_size; | ||
896 | unsigned sg_tablesize; | ||
897 | |||
898 | /* | ||
834 | * Map for 128 fib objects (64k) | 899 | * Map for 128 fib objects (64k) |
835 | */ | 900 | */ |
836 | dma_addr_t hw_fib_pa; | 901 | dma_addr_t hw_fib_pa; |
@@ -889,12 +954,14 @@ struct aac_dev | |||
889 | u32 aif_thread; | 954 | u32 aif_thread; |
890 | struct completion aif_completion; | 955 | struct completion aif_completion; |
891 | struct aac_adapter_info adapter_info; | 956 | struct aac_adapter_info adapter_info; |
957 | struct aac_supplement_adapter_info supplement_adapter_info; | ||
892 | /* These are in adapter info but they are in the io flow so | 958 | /* These are in adapter info but they are in the io flow so |
893 | * lets break them out so we don't have to do an AND to check them | 959 | * lets break them out so we don't have to do an AND to check them |
894 | */ | 960 | */ |
895 | u8 nondasd_support; | 961 | u8 nondasd_support; |
896 | u8 dac_support; | 962 | u8 dac_support; |
897 | u8 raid_scsi_mode; | 963 | u8 raid_scsi_mode; |
964 | u8 printf_enabled; | ||
898 | }; | 965 | }; |
899 | 966 | ||
900 | #define aac_adapter_interrupt(dev) \ | 967 | #define aac_adapter_interrupt(dev) \ |
@@ -903,6 +970,8 @@ struct aac_dev | |||
903 | #define aac_adapter_notify(dev, event) \ | 970 | #define aac_adapter_notify(dev, event) \ |
904 | (dev)->a_ops.adapter_notify(dev, event) | 971 | (dev)->a_ops.adapter_notify(dev, event) |
905 | 972 | ||
973 | #define aac_adapter_sync_cmd(dev, command, p1, p2, p3, p4, p5, p6, status, r1, r2, r3, r4) \ | ||
974 | (dev)->a_ops.adapter_sync_cmd(dev, command, p1, p2, p3, p4, p5, p6, status, r1, r2, r3, r4) | ||
906 | 975 | ||
907 | #define aac_adapter_check_health(dev) \ | 976 | #define aac_adapter_check_health(dev) \ |
908 | (dev)->a_ops.adapter_check_health(dev) | 977 | (dev)->a_ops.adapter_check_health(dev) |
@@ -1016,83 +1085,102 @@ struct aac_dev | |||
1016 | 1085 | ||
1017 | struct aac_read | 1086 | struct aac_read |
1018 | { | 1087 | { |
1019 | u32 command; | 1088 | __le32 command; |
1020 | u32 cid; | 1089 | __le32 cid; |
1021 | u32 block; | 1090 | __le32 block; |
1022 | u32 count; | 1091 | __le32 count; |
1023 | struct sgmap sg; // Must be last in struct because it is variable | 1092 | struct sgmap sg; // Must be last in struct because it is variable |
1024 | }; | 1093 | }; |
1025 | 1094 | ||
1026 | struct aac_read64 | 1095 | struct aac_read64 |
1027 | { | 1096 | { |
1028 | u32 command; | 1097 | __le32 command; |
1029 | u16 cid; | 1098 | __le16 cid; |
1030 | u16 sector_count; | 1099 | __le16 sector_count; |
1031 | u32 block; | 1100 | __le32 block; |
1032 | u16 pad; | 1101 | __le16 pad; |
1033 | u16 flags; | 1102 | __le16 flags; |
1034 | struct sgmap64 sg; // Must be last in struct because it is variable | 1103 | struct sgmap64 sg; // Must be last in struct because it is variable |
1035 | }; | 1104 | }; |
1036 | 1105 | ||
1037 | struct aac_read_reply | 1106 | struct aac_read_reply |
1038 | { | 1107 | { |
1039 | u32 status; | 1108 | __le32 status; |
1040 | u32 count; | 1109 | __le32 count; |
1041 | }; | 1110 | }; |
1042 | 1111 | ||
1043 | struct aac_write | 1112 | struct aac_write |
1044 | { | 1113 | { |
1045 | u32 command; | 1114 | __le32 command; |
1046 | u32 cid; | 1115 | __le32 cid; |
1047 | u32 block; | 1116 | __le32 block; |
1048 | u32 count; | 1117 | __le32 count; |
1049 | u32 stable; // Not used | 1118 | __le32 stable; // Not used |
1050 | struct sgmap sg; // Must be last in struct because it is variable | 1119 | struct sgmap sg; // Must be last in struct because it is variable |
1051 | }; | 1120 | }; |
1052 | 1121 | ||
1053 | struct aac_write64 | 1122 | struct aac_write64 |
1054 | { | 1123 | { |
1055 | u32 command; | 1124 | __le32 command; |
1056 | u16 cid; | 1125 | __le16 cid; |
1057 | u16 sector_count; | 1126 | __le16 sector_count; |
1058 | u32 block; | 1127 | __le32 block; |
1059 | u16 pad; | 1128 | __le16 pad; |
1060 | u16 flags; | 1129 | __le16 flags; |
1061 | struct sgmap64 sg; // Must be last in struct because it is variable | 1130 | struct sgmap64 sg; // Must be last in struct because it is variable |
1062 | }; | 1131 | }; |
1063 | struct aac_write_reply | 1132 | struct aac_write_reply |
1064 | { | 1133 | { |
1065 | u32 status; | 1134 | __le32 status; |
1066 | u32 count; | 1135 | __le32 count; |
1067 | u32 committed; | 1136 | __le32 committed; |
1068 | }; | 1137 | }; |
1069 | 1138 | ||
1070 | #define CT_FLUSH_CACHE 129 | 1139 | #define CT_FLUSH_CACHE 129 |
1071 | struct aac_synchronize { | 1140 | struct aac_synchronize { |
1072 | u32 command; /* VM_ContainerConfig */ | 1141 | __le32 command; /* VM_ContainerConfig */ |
1073 | u32 type; /* CT_FLUSH_CACHE */ | 1142 | __le32 type; /* CT_FLUSH_CACHE */ |
1074 | u32 cid; | 1143 | __le32 cid; |
1075 | u32 parm1; | 1144 | __le32 parm1; |
1076 | u32 parm2; | 1145 | __le32 parm2; |
1077 | u32 parm3; | 1146 | __le32 parm3; |
1078 | u32 parm4; | 1147 | __le32 parm4; |
1079 | u32 count; /* sizeof(((struct aac_synchronize_reply *)NULL)->data) */ | 1148 | __le32 count; /* sizeof(((struct aac_synchronize_reply *)NULL)->data) */ |
1080 | }; | 1149 | }; |
1081 | 1150 | ||
1082 | struct aac_synchronize_reply { | 1151 | struct aac_synchronize_reply { |
1083 | u32 dummy0; | 1152 | __le32 dummy0; |
1084 | u32 dummy1; | 1153 | __le32 dummy1; |
1085 | u32 status; /* CT_OK */ | 1154 | __le32 status; /* CT_OK */ |
1086 | u32 parm1; | 1155 | __le32 parm1; |
1087 | u32 parm2; | 1156 | __le32 parm2; |
1088 | u32 parm3; | 1157 | __le32 parm3; |
1089 | u32 parm4; | 1158 | __le32 parm4; |
1090 | u32 parm5; | 1159 | __le32 parm5; |
1091 | u8 data[16]; | 1160 | u8 data[16]; |
1092 | }; | 1161 | }; |
1093 | 1162 | ||
1094 | struct aac_srb | 1163 | struct aac_srb |
1095 | { | 1164 | { |
1165 | __le32 function; | ||
1166 | __le32 channel; | ||
1167 | __le32 id; | ||
1168 | __le32 lun; | ||
1169 | __le32 timeout; | ||
1170 | __le32 flags; | ||
1171 | __le32 count; // Data xfer size | ||
1172 | __le32 retry_limit; | ||
1173 | __le32 cdb_size; | ||
1174 | u8 cdb[16]; | ||
1175 | struct sgmap sg; | ||
1176 | }; | ||
1177 | |||
1178 | /* | ||
1179 | * This and assocated data structs are used by the | ||
1180 | * ioctl caller and are in cpu order. | ||
1181 | */ | ||
1182 | struct user_aac_srb | ||
1183 | { | ||
1096 | u32 function; | 1184 | u32 function; |
1097 | u32 channel; | 1185 | u32 channel; |
1098 | u32 id; | 1186 | u32 id; |
@@ -1103,20 +1191,18 @@ struct aac_srb | |||
1103 | u32 retry_limit; | 1191 | u32 retry_limit; |
1104 | u32 cdb_size; | 1192 | u32 cdb_size; |
1105 | u8 cdb[16]; | 1193 | u8 cdb[16]; |
1106 | struct sgmap sg; | 1194 | struct user_sgmap sg; |
1107 | }; | 1195 | }; |
1108 | 1196 | ||
1109 | |||
1110 | |||
1111 | #define AAC_SENSE_BUFFERSIZE 30 | 1197 | #define AAC_SENSE_BUFFERSIZE 30 |
1112 | 1198 | ||
1113 | struct aac_srb_reply | 1199 | struct aac_srb_reply |
1114 | { | 1200 | { |
1115 | u32 status; | 1201 | __le32 status; |
1116 | u32 srb_status; | 1202 | __le32 srb_status; |
1117 | u32 scsi_status; | 1203 | __le32 scsi_status; |
1118 | u32 data_xfer_length; | 1204 | __le32 data_xfer_length; |
1119 | u32 sense_data_size; | 1205 | __le32 sense_data_size; |
1120 | u8 sense_data[AAC_SENSE_BUFFERSIZE]; // Can this be SCSI_SENSE_BUFFERSIZE | 1206 | u8 sense_data[AAC_SENSE_BUFFERSIZE]; // Can this be SCSI_SENSE_BUFFERSIZE |
1121 | }; | 1207 | }; |
1122 | /* | 1208 | /* |
@@ -1223,14 +1309,14 @@ struct aac_srb_reply | |||
1223 | */ | 1309 | */ |
1224 | 1310 | ||
1225 | struct aac_fsinfo { | 1311 | struct aac_fsinfo { |
1226 | u32 fsTotalSize; /* Consumed by fs, incl. metadata */ | 1312 | __le32 fsTotalSize; /* Consumed by fs, incl. metadata */ |
1227 | u32 fsBlockSize; | 1313 | __le32 fsBlockSize; |
1228 | u32 fsFragSize; | 1314 | __le32 fsFragSize; |
1229 | u32 fsMaxExtendSize; | 1315 | __le32 fsMaxExtendSize; |
1230 | u32 fsSpaceUnits; | 1316 | __le32 fsSpaceUnits; |
1231 | u32 fsMaxNumFiles; | 1317 | __le32 fsMaxNumFiles; |
1232 | u32 fsNumFreeFiles; | 1318 | __le32 fsNumFreeFiles; |
1233 | u32 fsInodeDensity; | 1319 | __le32 fsInodeDensity; |
1234 | }; /* valid iff ObjType == FT_FILESYS && !(ContentState & FSCS_NOTCLEAN) */ | 1320 | }; /* valid iff ObjType == FT_FILESYS && !(ContentState & FSCS_NOTCLEAN) */ |
1235 | 1321 | ||
1236 | union aac_contentinfo { | 1322 | union aac_contentinfo { |
@@ -1243,32 +1329,32 @@ union aac_contentinfo { | |||
1243 | 1329 | ||
1244 | #define CT_GET_CONFIG_STATUS 147 | 1330 | #define CT_GET_CONFIG_STATUS 147 |
1245 | struct aac_get_config_status { | 1331 | struct aac_get_config_status { |
1246 | u32 command; /* VM_ContainerConfig */ | 1332 | __le32 command; /* VM_ContainerConfig */ |
1247 | u32 type; /* CT_GET_CONFIG_STATUS */ | 1333 | __le32 type; /* CT_GET_CONFIG_STATUS */ |
1248 | u32 parm1; | 1334 | __le32 parm1; |
1249 | u32 parm2; | 1335 | __le32 parm2; |
1250 | u32 parm3; | 1336 | __le32 parm3; |
1251 | u32 parm4; | 1337 | __le32 parm4; |
1252 | u32 parm5; | 1338 | __le32 parm5; |
1253 | u32 count; /* sizeof(((struct aac_get_config_status_resp *)NULL)->data) */ | 1339 | __le32 count; /* sizeof(((struct aac_get_config_status_resp *)NULL)->data) */ |
1254 | }; | 1340 | }; |
1255 | 1341 | ||
1256 | #define CFACT_CONTINUE 0 | 1342 | #define CFACT_CONTINUE 0 |
1257 | #define CFACT_PAUSE 1 | 1343 | #define CFACT_PAUSE 1 |
1258 | #define CFACT_ABORT 2 | 1344 | #define CFACT_ABORT 2 |
1259 | struct aac_get_config_status_resp { | 1345 | struct aac_get_config_status_resp { |
1260 | u32 response; /* ST_OK */ | 1346 | __le32 response; /* ST_OK */ |
1261 | u32 dummy0; | 1347 | __le32 dummy0; |
1262 | u32 status; /* CT_OK */ | 1348 | __le32 status; /* CT_OK */ |
1263 | u32 parm1; | 1349 | __le32 parm1; |
1264 | u32 parm2; | 1350 | __le32 parm2; |
1265 | u32 parm3; | 1351 | __le32 parm3; |
1266 | u32 parm4; | 1352 | __le32 parm4; |
1267 | u32 parm5; | 1353 | __le32 parm5; |
1268 | struct { | 1354 | struct { |
1269 | u32 action; /* CFACT_CONTINUE, CFACT_PAUSE or CFACT_ABORT */ | 1355 | __le32 action; /* CFACT_CONTINUE, CFACT_PAUSE or CFACT_ABORT */ |
1270 | u16 flags; | 1356 | __le16 flags; |
1271 | s16 count; | 1357 | __le16 count; |
1272 | } data; | 1358 | } data; |
1273 | }; | 1359 | }; |
1274 | 1360 | ||
@@ -1279,26 +1365,26 @@ struct aac_get_config_status_resp { | |||
1279 | #define CT_COMMIT_CONFIG 152 | 1365 | #define CT_COMMIT_CONFIG 152 |
1280 | 1366 | ||
1281 | struct aac_commit_config { | 1367 | struct aac_commit_config { |
1282 | u32 command; /* VM_ContainerConfig */ | 1368 | __le32 command; /* VM_ContainerConfig */ |
1283 | u32 type; /* CT_COMMIT_CONFIG */ | 1369 | __le32 type; /* CT_COMMIT_CONFIG */ |
1284 | }; | 1370 | }; |
1285 | 1371 | ||
1286 | /* | 1372 | /* |
1287 | * Query for Container Configuration Count | 1373 | * Query for Container Configuration Status |
1288 | */ | 1374 | */ |
1289 | 1375 | ||
1290 | #define CT_GET_CONTAINER_COUNT 4 | 1376 | #define CT_GET_CONTAINER_COUNT 4 |
1291 | struct aac_get_container_count { | 1377 | struct aac_get_container_count { |
1292 | u32 command; /* VM_ContainerConfig */ | 1378 | __le32 command; /* VM_ContainerConfig */ |
1293 | u32 type; /* CT_GET_CONTAINER_COUNT */ | 1379 | __le32 type; /* CT_GET_CONTAINER_COUNT */ |
1294 | }; | 1380 | }; |
1295 | 1381 | ||
1296 | struct aac_get_container_count_resp { | 1382 | struct aac_get_container_count_resp { |
1297 | u32 response; /* ST_OK */ | 1383 | __le32 response; /* ST_OK */ |
1298 | u32 dummy0; | 1384 | __le32 dummy0; |
1299 | u32 MaxContainers; | 1385 | __le32 MaxContainers; |
1300 | u32 ContainerSwitchEntries; | 1386 | __le32 ContainerSwitchEntries; |
1301 | u32 MaxPartitions; | 1387 | __le32 MaxPartitions; |
1302 | }; | 1388 | }; |
1303 | 1389 | ||
1304 | 1390 | ||
@@ -1308,15 +1394,19 @@ struct aac_get_container_count_resp { | |||
1308 | */ | 1394 | */ |
1309 | 1395 | ||
1310 | struct aac_mntent { | 1396 | struct aac_mntent { |
1311 | u32 oid; | 1397 | __le32 oid; |
1312 | u8 name[16]; // if applicable | 1398 | u8 name[16]; /* if applicable */ |
1313 | struct creation_info create_info; // if applicable | 1399 | struct creation_info create_info; /* if applicable */ |
1314 | u32 capacity; | 1400 | __le32 capacity; |
1315 | u32 vol; // substrate structure | 1401 | __le32 vol; /* substrate structure */ |
1316 | u32 obj; // FT_FILESYS, FT_DATABASE, etc. | 1402 | __le32 obj; /* FT_FILESYS, |
1317 | u32 state; // unready for mounting, readonly, etc. | 1403 | FT_DATABASE, etc. */ |
1318 | union aac_contentinfo fileinfo; // Info specific to content manager (eg, filesystem) | 1404 | __le32 state; /* unready for mounting, |
1319 | u32 altoid; // != oid <==> snapshot or broken mirror exists | 1405 | readonly, etc. */ |
1406 | union aac_contentinfo fileinfo; /* Info specific to content | ||
1407 | manager (eg, filesystem) */ | ||
1408 | __le32 altoid; /* != oid <==> snapshot or | ||
1409 | broken mirror exists */ | ||
1320 | }; | 1410 | }; |
1321 | 1411 | ||
1322 | #define FSCS_NOTCLEAN 0x0001 /* fsck is neccessary before mounting */ | 1412 | #define FSCS_NOTCLEAN 0x0001 /* fsck is neccessary before mounting */ |
@@ -1324,40 +1414,40 @@ struct aac_mntent { | |||
1324 | #define FSCS_HIDDEN 0x0004 /* should be ignored - set during a clear */ | 1414 | #define FSCS_HIDDEN 0x0004 /* should be ignored - set during a clear */ |
1325 | 1415 | ||
1326 | struct aac_query_mount { | 1416 | struct aac_query_mount { |
1327 | u32 command; | 1417 | __le32 command; |
1328 | u32 type; | 1418 | __le32 type; |
1329 | u32 count; | 1419 | __le32 count; |
1330 | }; | 1420 | }; |
1331 | 1421 | ||
1332 | struct aac_mount { | 1422 | struct aac_mount { |
1333 | u32 status; | 1423 | __le32 status; |
1334 | u32 type; /* should be same as that requested */ | 1424 | __le32 type; /* should be same as that requested */ |
1335 | u32 count; | 1425 | __le32 count; |
1336 | struct aac_mntent mnt[1]; | 1426 | struct aac_mntent mnt[1]; |
1337 | }; | 1427 | }; |
1338 | 1428 | ||
1339 | #define CT_READ_NAME 130 | 1429 | #define CT_READ_NAME 130 |
1340 | struct aac_get_name { | 1430 | struct aac_get_name { |
1341 | u32 command; /* VM_ContainerConfig */ | 1431 | __le32 command; /* VM_ContainerConfig */ |
1342 | u32 type; /* CT_READ_NAME */ | 1432 | __le32 type; /* CT_READ_NAME */ |
1343 | u32 cid; | 1433 | __le32 cid; |
1344 | u32 parm1; | 1434 | __le32 parm1; |
1345 | u32 parm2; | 1435 | __le32 parm2; |
1346 | u32 parm3; | 1436 | __le32 parm3; |
1347 | u32 parm4; | 1437 | __le32 parm4; |
1348 | u32 count; /* sizeof(((struct aac_get_name_resp *)NULL)->data) */ | 1438 | __le32 count; /* sizeof(((struct aac_get_name_resp *)NULL)->data) */ |
1349 | }; | 1439 | }; |
1350 | 1440 | ||
1351 | #define CT_OK 218 | 1441 | #define CT_OK 218 |
1352 | struct aac_get_name_resp { | 1442 | struct aac_get_name_resp { |
1353 | u32 dummy0; | 1443 | __le32 dummy0; |
1354 | u32 dummy1; | 1444 | __le32 dummy1; |
1355 | u32 status; /* CT_OK */ | 1445 | __le32 status; /* CT_OK */ |
1356 | u32 parm1; | 1446 | __le32 parm1; |
1357 | u32 parm2; | 1447 | __le32 parm2; |
1358 | u32 parm3; | 1448 | __le32 parm3; |
1359 | u32 parm4; | 1449 | __le32 parm4; |
1360 | u32 parm5; | 1450 | __le32 parm5; |
1361 | u8 data[16]; | 1451 | u8 data[16]; |
1362 | }; | 1452 | }; |
1363 | 1453 | ||
@@ -1366,8 +1456,8 @@ struct aac_get_name_resp { | |||
1366 | */ | 1456 | */ |
1367 | 1457 | ||
1368 | struct aac_close { | 1458 | struct aac_close { |
1369 | u32 command; | 1459 | __le32 command; |
1370 | u32 cid; | 1460 | __le32 cid; |
1371 | }; | 1461 | }; |
1372 | 1462 | ||
1373 | struct aac_query_disk | 1463 | struct aac_query_disk |
@@ -1434,6 +1524,7 @@ struct revision | |||
1434 | #define FSACTL_GET_PCI_INFO CTL_CODE(2119, METHOD_BUFFERED) | 1524 | #define FSACTL_GET_PCI_INFO CTL_CODE(2119, METHOD_BUFFERED) |
1435 | #define FSACTL_FORCE_DELETE_DISK CTL_CODE(2120, METHOD_NEITHER) | 1525 | #define FSACTL_FORCE_DELETE_DISK CTL_CODE(2120, METHOD_NEITHER) |
1436 | #define FSACTL_GET_CONTAINERS 2131 | 1526 | #define FSACTL_GET_CONTAINERS 2131 |
1527 | #define FSACTL_SEND_LARGE_FIB CTL_CODE(2138, METHOD_BUFFERED) | ||
1437 | 1528 | ||
1438 | 1529 | ||
1439 | struct aac_common | 1530 | struct aac_common |
@@ -1573,8 +1664,8 @@ extern struct aac_common aac_config; | |||
1573 | */ | 1664 | */ |
1574 | 1665 | ||
1575 | struct aac_aifcmd { | 1666 | struct aac_aifcmd { |
1576 | u32 command; /* Tell host what type of notify this is */ | 1667 | __le32 command; /* Tell host what type of notify this is */ |
1577 | u32 seqnum; /* To allow ordering of reports (if necessary) */ | 1668 | __le32 seqnum; /* To allow ordering of reports (if necessary) */ |
1578 | u8 data[1]; /* Undefined length (from kernel viewpoint) */ | 1669 | u8 data[1]; /* Undefined length (from kernel viewpoint) */ |
1579 | }; | 1670 | }; |
1580 | 1671 | ||
@@ -1597,7 +1688,6 @@ int fib_setup(struct aac_dev *dev); | |||
1597 | void fib_map_free(struct aac_dev *dev); | 1688 | void fib_map_free(struct aac_dev *dev); |
1598 | void fib_free(struct fib * context); | 1689 | void fib_free(struct fib * context); |
1599 | void fib_init(struct fib * context); | 1690 | void fib_init(struct fib * context); |
1600 | void fib_dealloc(struct fib * context); | ||
1601 | void aac_printf(struct aac_dev *dev, u32 val); | 1691 | void aac_printf(struct aac_dev *dev, u32 val); |
1602 | int fib_send(u16 command, struct fib * context, unsigned long size, int priority, int wait, int reply, fib_callback callback, void *ctxt); | 1692 | int fib_send(u16 command, struct fib * context, unsigned long size, int priority, int wait, int reply, fib_callback callback, void *ctxt); |
1603 | int aac_consumer_get(struct aac_dev * dev, struct aac_queue * q, struct aac_entry **entry); | 1693 | int aac_consumer_get(struct aac_dev * dev, struct aac_queue * q, struct aac_entry **entry); |
@@ -1621,3 +1711,5 @@ int fib_adapter_complete(struct fib * fibptr, unsigned short size); | |||
1621 | struct aac_driver_ident* aac_get_driver_ident(int devtype); | 1711 | struct aac_driver_ident* aac_get_driver_ident(int devtype); |
1622 | int aac_get_adapter_info(struct aac_dev* dev); | 1712 | int aac_get_adapter_info(struct aac_dev* dev); |
1623 | int aac_send_shutdown(struct aac_dev *dev); | 1713 | int aac_send_shutdown(struct aac_dev *dev); |
1714 | extern int numacb; | ||
1715 | extern int acbsize; | ||
diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c index 30dd1f7120f4..1fef92d55dee 100644 --- a/drivers/scsi/aacraid/commctrl.c +++ b/drivers/scsi/aacraid/commctrl.c | |||
@@ -51,15 +51,22 @@ | |||
51 | * This routine sends a fib to the adapter on behalf of a user level | 51 | * This routine sends a fib to the adapter on behalf of a user level |
52 | * program. | 52 | * program. |
53 | */ | 53 | */ |
54 | # define AAC_DEBUG_PREAMBLE KERN_INFO | ||
55 | # define AAC_DEBUG_POSTAMBLE | ||
54 | 56 | ||
55 | static int ioctl_send_fib(struct aac_dev * dev, void __user *arg) | 57 | static int ioctl_send_fib(struct aac_dev * dev, void __user *arg) |
56 | { | 58 | { |
57 | struct hw_fib * kfib; | 59 | struct hw_fib * kfib; |
58 | struct fib *fibptr; | 60 | struct fib *fibptr; |
61 | struct hw_fib * hw_fib = (struct hw_fib *)0; | ||
62 | dma_addr_t hw_fib_pa = (dma_addr_t)0LL; | ||
63 | unsigned size; | ||
64 | int retval; | ||
59 | 65 | ||
60 | fibptr = fib_alloc(dev); | 66 | fibptr = fib_alloc(dev); |
61 | if(fibptr == NULL) | 67 | if(fibptr == NULL) { |
62 | return -ENOMEM; | 68 | return -ENOMEM; |
69 | } | ||
63 | 70 | ||
64 | kfib = fibptr->hw_fib; | 71 | kfib = fibptr->hw_fib; |
65 | /* | 72 | /* |
@@ -74,19 +81,24 @@ static int ioctl_send_fib(struct aac_dev * dev, void __user *arg) | |||
74 | * will not overrun the buffer when we copy the memory. Return | 81 | * will not overrun the buffer when we copy the memory. Return |
75 | * an error if we would. | 82 | * an error if we would. |
76 | */ | 83 | */ |
77 | if (le16_to_cpu(kfib->header.Size) > | 84 | size = le16_to_cpu(kfib->header.Size) + sizeof(struct aac_fibhdr); |
78 | sizeof(struct hw_fib) - sizeof(struct aac_fibhdr)) { | 85 | if (size < le16_to_cpu(kfib->header.SenderSize)) |
79 | fib_free(fibptr); | 86 | size = le16_to_cpu(kfib->header.SenderSize); |
80 | return -EINVAL; | 87 | if (size > dev->max_fib_size) { |
88 | /* Highjack the hw_fib */ | ||
89 | hw_fib = fibptr->hw_fib; | ||
90 | hw_fib_pa = fibptr->hw_fib_pa; | ||
91 | fibptr->hw_fib = kfib = pci_alloc_consistent(dev->pdev, size, &fibptr->hw_fib_pa); | ||
92 | memset(((char *)kfib) + dev->max_fib_size, 0, size - dev->max_fib_size); | ||
93 | memcpy(kfib, hw_fib, dev->max_fib_size); | ||
81 | } | 94 | } |
82 | 95 | ||
83 | if (copy_from_user(kfib, arg, le16_to_cpu(kfib->header.Size) + | 96 | if (copy_from_user(kfib, arg, size)) { |
84 | sizeof(struct aac_fibhdr))) { | 97 | retval = -EFAULT; |
85 | fib_free(fibptr); | 98 | goto cleanup; |
86 | return -EFAULT; | ||
87 | } | 99 | } |
88 | 100 | ||
89 | if (kfib->header.Command == cpu_to_le32(TakeABreakPt)) { | 101 | if (kfib->header.Command == cpu_to_le16(TakeABreakPt)) { |
90 | aac_adapter_interrupt(dev); | 102 | aac_adapter_interrupt(dev); |
91 | /* | 103 | /* |
92 | * Since we didn't really send a fib, zero out the state to allow | 104 | * Since we didn't really send a fib, zero out the state to allow |
@@ -94,16 +106,15 @@ static int ioctl_send_fib(struct aac_dev * dev, void __user *arg) | |||
94 | */ | 106 | */ |
95 | kfib->header.XferState = 0; | 107 | kfib->header.XferState = 0; |
96 | } else { | 108 | } else { |
97 | int retval = fib_send(kfib->header.Command, fibptr, | 109 | retval = fib_send(le16_to_cpu(kfib->header.Command), fibptr, |
98 | le16_to_cpu(kfib->header.Size) , FsaNormal, | 110 | le16_to_cpu(kfib->header.Size) , FsaNormal, |
99 | 1, 1, NULL, NULL); | 111 | 1, 1, NULL, NULL); |
100 | if (retval) { | 112 | if (retval) { |
101 | fib_free(fibptr); | 113 | goto cleanup; |
102 | return retval; | ||
103 | } | 114 | } |
104 | if (fib_complete(fibptr) != 0) { | 115 | if (fib_complete(fibptr) != 0) { |
105 | fib_free(fibptr); | 116 | retval = -EINVAL; |
106 | return -EINVAL; | 117 | goto cleanup; |
107 | } | 118 | } |
108 | } | 119 | } |
109 | /* | 120 | /* |
@@ -114,12 +125,17 @@ static int ioctl_send_fib(struct aac_dev * dev, void __user *arg) | |||
114 | * was already included by the adapter.) | 125 | * was already included by the adapter.) |
115 | */ | 126 | */ |
116 | 127 | ||
117 | if (copy_to_user(arg, (void *)kfib, kfib->header.Size)) { | 128 | retval = 0; |
118 | fib_free(fibptr); | 129 | if (copy_to_user(arg, (void *)kfib, size)) |
119 | return -EFAULT; | 130 | retval = -EFAULT; |
131 | cleanup: | ||
132 | if (hw_fib) { | ||
133 | pci_free_consistent(dev->pdev, size, kfib, fibptr->hw_fib_pa); | ||
134 | fibptr->hw_fib_pa = hw_fib_pa; | ||
135 | fibptr->hw_fib = hw_fib; | ||
120 | } | 136 | } |
121 | fib_free(fibptr); | 137 | fib_free(fibptr); |
122 | return 0; | 138 | return retval; |
123 | } | 139 | } |
124 | 140 | ||
125 | /** | 141 | /** |
@@ -391,26 +407,28 @@ static int check_revision(struct aac_dev *dev, void __user *arg) | |||
391 | struct revision response; | 407 | struct revision response; |
392 | 408 | ||
393 | response.compat = 1; | 409 | response.compat = 1; |
394 | response.version = dev->adapter_info.kernelrev; | 410 | response.version = le32_to_cpu(dev->adapter_info.kernelrev); |
395 | response.build = dev->adapter_info.kernelbuild; | 411 | response.build = le32_to_cpu(dev->adapter_info.kernelbuild); |
396 | 412 | ||
397 | if (copy_to_user(arg, &response, sizeof(response))) | 413 | if (copy_to_user(arg, &response, sizeof(response))) |
398 | return -EFAULT; | 414 | return -EFAULT; |
399 | return 0; | 415 | return 0; |
400 | } | 416 | } |
401 | 417 | ||
418 | |||
402 | /** | 419 | /** |
403 | * | 420 | * |
404 | * aac_send_raw_scb | 421 | * aac_send_raw_scb |
405 | * | 422 | * |
406 | */ | 423 | */ |
407 | 424 | ||
408 | int aac_send_raw_srb(struct aac_dev* dev, void __user * arg) | 425 | static int aac_send_raw_srb(struct aac_dev* dev, void __user * arg) |
409 | { | 426 | { |
410 | struct fib* srbfib; | 427 | struct fib* srbfib; |
411 | int status; | 428 | int status; |
412 | struct aac_srb *srbcmd; | 429 | struct aac_srb *srbcmd = NULL; |
413 | struct aac_srb __user *user_srb = arg; | 430 | struct user_aac_srb *user_srbcmd = NULL; |
431 | struct user_aac_srb __user *user_srb = arg; | ||
414 | struct aac_srb_reply __user *user_reply; | 432 | struct aac_srb_reply __user *user_reply; |
415 | struct aac_srb_reply* reply; | 433 | struct aac_srb_reply* reply; |
416 | u32 fibsize = 0; | 434 | u32 fibsize = 0; |
@@ -426,50 +444,59 @@ int aac_send_raw_srb(struct aac_dev* dev, void __user * arg) | |||
426 | 444 | ||
427 | 445 | ||
428 | if (!capable(CAP_SYS_ADMIN)){ | 446 | if (!capable(CAP_SYS_ADMIN)){ |
429 | printk(KERN_DEBUG"aacraid: No permission to send raw srb\n"); | 447 | dprintk((KERN_DEBUG"aacraid: No permission to send raw srb\n")); |
430 | return -EPERM; | 448 | return -EPERM; |
431 | } | 449 | } |
432 | /* | 450 | /* |
433 | * Allocate and initialize a Fib then setup a BlockWrite command | 451 | * Allocate and initialize a Fib then setup a BlockWrite command |
434 | */ | 452 | */ |
435 | if (!(srbfib = fib_alloc(dev))) { | 453 | if (!(srbfib = fib_alloc(dev))) { |
436 | return -1; | 454 | return -ENOMEM; |
437 | } | 455 | } |
438 | fib_init(srbfib); | 456 | fib_init(srbfib); |
439 | 457 | ||
440 | srbcmd = (struct aac_srb*) fib_data(srbfib); | 458 | srbcmd = (struct aac_srb*) fib_data(srbfib); |
441 | 459 | ||
460 | memset(sg_list, 0, sizeof(sg_list)); /* cleanup may take issue */ | ||
442 | if(copy_from_user(&fibsize, &user_srb->count,sizeof(u32))){ | 461 | if(copy_from_user(&fibsize, &user_srb->count,sizeof(u32))){ |
443 | printk(KERN_DEBUG"aacraid: Could not copy data size from user\n"); | 462 | dprintk((KERN_DEBUG"aacraid: Could not copy data size from user\n")); |
444 | rcode = -EFAULT; | 463 | rcode = -EFAULT; |
445 | goto cleanup; | 464 | goto cleanup; |
446 | } | 465 | } |
447 | 466 | ||
448 | if (fibsize > FIB_DATA_SIZE_IN_BYTES) { | 467 | if (fibsize > (dev->max_fib_size - sizeof(struct aac_fibhdr))) { |
449 | rcode = -EINVAL; | 468 | rcode = -EINVAL; |
450 | goto cleanup; | 469 | goto cleanup; |
451 | } | 470 | } |
452 | 471 | ||
453 | if(copy_from_user(srbcmd, user_srb,fibsize)){ | 472 | user_srbcmd = kmalloc(GFP_KERNEL, fibsize); |
454 | printk(KERN_DEBUG"aacraid: Could not copy srb from user\n"); | 473 | if (!user_srbcmd) { |
474 | dprintk((KERN_DEBUG"aacraid: Could not make a copy of the srb\n")); | ||
475 | rcode = -ENOMEM; | ||
476 | goto cleanup; | ||
477 | } | ||
478 | if(copy_from_user(user_srbcmd, user_srb,fibsize)){ | ||
479 | dprintk((KERN_DEBUG"aacraid: Could not copy srb from user\n")); | ||
455 | rcode = -EFAULT; | 480 | rcode = -EFAULT; |
456 | goto cleanup; | 481 | goto cleanup; |
457 | } | 482 | } |
458 | 483 | ||
459 | user_reply = arg+fibsize; | 484 | user_reply = arg+fibsize; |
460 | 485 | ||
461 | flags = srbcmd->flags; | 486 | flags = user_srbcmd->flags; /* from user in cpu order */ |
462 | // Fix up srb for endian and force some values | 487 | // Fix up srb for endian and force some values |
488 | |||
463 | srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); // Force this | 489 | srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); // Force this |
464 | srbcmd->channel = cpu_to_le32(srbcmd->channel); | 490 | srbcmd->channel = cpu_to_le32(user_srbcmd->channel); |
465 | srbcmd->id = cpu_to_le32(srbcmd->id); | 491 | srbcmd->id = cpu_to_le32(user_srbcmd->id); |
466 | srbcmd->lun = cpu_to_le32(srbcmd->lun); | 492 | srbcmd->lun = cpu_to_le32(user_srbcmd->lun); |
467 | srbcmd->flags = cpu_to_le32(srbcmd->flags); | 493 | srbcmd->timeout = cpu_to_le32(user_srbcmd->timeout); |
468 | srbcmd->timeout = cpu_to_le32(srbcmd->timeout); | 494 | srbcmd->flags = cpu_to_le32(flags); |
469 | srbcmd->retry_limit =cpu_to_le32(0); // Obsolete parameter | 495 | srbcmd->retry_limit = 0; // Obsolete parameter |
470 | srbcmd->cdb_size = cpu_to_le32(srbcmd->cdb_size); | 496 | srbcmd->cdb_size = cpu_to_le32(user_srbcmd->cdb_size); |
497 | memcpy(srbcmd->cdb, user_srbcmd->cdb, sizeof(srbcmd->cdb)); | ||
471 | 498 | ||
472 | switch (srbcmd->flags & (SRB_DataIn | SRB_DataOut)) { | 499 | switch (flags & (SRB_DataIn | SRB_DataOut)) { |
473 | case SRB_DataOut: | 500 | case SRB_DataOut: |
474 | data_dir = DMA_TO_DEVICE; | 501 | data_dir = DMA_TO_DEVICE; |
475 | break; | 502 | break; |
@@ -482,118 +509,148 @@ int aac_send_raw_srb(struct aac_dev* dev, void __user * arg) | |||
482 | default: | 509 | default: |
483 | data_dir = DMA_NONE; | 510 | data_dir = DMA_NONE; |
484 | } | 511 | } |
512 | if (user_srbcmd->sg.count > (sizeof(sg_list)/sizeof(sg_list[0]))) { | ||
513 | dprintk((KERN_DEBUG"aacraid: too many sg entries %d\n", | ||
514 | le32_to_cpu(srbcmd->sg.count))); | ||
515 | rcode = -EINVAL; | ||
516 | goto cleanup; | ||
517 | } | ||
485 | if (dev->dac_support == 1) { | 518 | if (dev->dac_support == 1) { |
486 | struct sgmap64* psg = (struct sgmap64*)&srbcmd->sg; | 519 | struct user_sgmap64* upsg = (struct user_sgmap64*)&user_srbcmd->sg; |
520 | struct sgmap64* psg = (struct sgmap64*)&user_srbcmd->sg; | ||
521 | struct user_sgmap* usg; | ||
487 | byte_count = 0; | 522 | byte_count = 0; |
488 | 523 | ||
489 | /* | 524 | /* |
490 | * This should also catch if user used the 32 bit sgmap | 525 | * This should also catch if user used the 32 bit sgmap |
491 | */ | 526 | */ |
492 | actual_fibsize = sizeof(struct aac_srb) - | 527 | actual_fibsize = sizeof(struct aac_srb) - |
493 | sizeof(struct sgentry) + ((srbcmd->sg.count & 0xff) * | 528 | sizeof(struct sgentry) + |
494 | sizeof(struct sgentry64)); | 529 | ((upsg->count & 0xff) * |
530 | sizeof(struct sgentry)); | ||
495 | if(actual_fibsize != fibsize){ // User made a mistake - should not continue | 531 | if(actual_fibsize != fibsize){ // User made a mistake - should not continue |
496 | printk(KERN_DEBUG"aacraid: Bad Size specified in Raw SRB command\n"); | 532 | dprintk((KERN_DEBUG"aacraid: Bad Size specified in Raw SRB command\n")); |
497 | rcode = -EINVAL; | 533 | rcode = -EINVAL; |
498 | goto cleanup; | 534 | goto cleanup; |
499 | } | 535 | } |
500 | if ((data_dir == DMA_NONE) && psg->count) { | 536 | usg = kmalloc(actual_fibsize - sizeof(struct aac_srb) |
501 | printk(KERN_DEBUG"aacraid: SG with no direction specified in Raw SRB command\n"); | 537 | + sizeof(struct sgmap), GFP_KERNEL); |
538 | if (!usg) { | ||
539 | dprintk((KERN_DEBUG"aacraid: Allocation error in Raw SRB command\n")); | ||
540 | rcode = -ENOMEM; | ||
541 | goto cleanup; | ||
542 | } | ||
543 | memcpy (usg, upsg, actual_fibsize - sizeof(struct aac_srb) | ||
544 | + sizeof(struct sgmap)); | ||
545 | actual_fibsize = sizeof(struct aac_srb) - | ||
546 | sizeof(struct sgentry) + ((usg->count & 0xff) * | ||
547 | sizeof(struct sgentry64)); | ||
548 | if ((data_dir == DMA_NONE) && upsg->count) { | ||
549 | kfree (usg); | ||
550 | dprintk((KERN_DEBUG"aacraid: SG with no direction specified in Raw SRB command\n")); | ||
502 | rcode = -EINVAL; | 551 | rcode = -EINVAL; |
503 | goto cleanup; | 552 | goto cleanup; |
504 | } | 553 | } |
505 | 554 | ||
506 | for (i = 0; i < psg->count; i++) { | 555 | for (i = 0; i < usg->count; i++) { |
507 | dma_addr_t addr; | 556 | u64 addr; |
508 | u64 le_addr; | ||
509 | void* p; | 557 | void* p; |
510 | p = kmalloc(psg->sg[i].count,GFP_KERNEL|__GFP_DMA); | 558 | /* Does this really need to be GFP_DMA? */ |
559 | p = kmalloc(usg->sg[i].count,GFP_KERNEL|__GFP_DMA); | ||
511 | if(p == 0) { | 560 | if(p == 0) { |
512 | printk(KERN_DEBUG"aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n", | 561 | kfree (usg); |
513 | psg->sg[i].count,i,psg->count); | 562 | dprintk((KERN_DEBUG"aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n", |
563 | usg->sg[i].count,i,usg->count)); | ||
514 | rcode = -ENOMEM; | 564 | rcode = -ENOMEM; |
515 | goto cleanup; | 565 | goto cleanup; |
516 | } | 566 | } |
517 | sg_user[i] = (void __user *)psg->sg[i].addr; | 567 | sg_user[i] = (void __user *)usg->sg[i].addr; |
518 | sg_list[i] = p; // save so we can clean up later | 568 | sg_list[i] = p; // save so we can clean up later |
519 | sg_indx = i; | 569 | sg_indx = i; |
520 | 570 | ||
521 | if( flags & SRB_DataOut ){ | 571 | if( flags & SRB_DataOut ){ |
522 | if(copy_from_user(p,sg_user[i],psg->sg[i].count)){ | 572 | if(copy_from_user(p,sg_user[i],upsg->sg[i].count)){ |
523 | printk(KERN_DEBUG"aacraid: Could not copy sg data from user\n"); | 573 | kfree (usg); |
574 | dprintk((KERN_DEBUG"aacraid: Could not copy sg data from user\n")); | ||
524 | rcode = -EFAULT; | 575 | rcode = -EFAULT; |
525 | goto cleanup; | 576 | goto cleanup; |
526 | } | 577 | } |
527 | } | 578 | } |
528 | addr = pci_map_single(dev->pdev, p, psg->sg[i].count, data_dir); | 579 | addr = pci_map_single(dev->pdev, p, usg->sg[i].count, data_dir); |
529 | 580 | ||
530 | le_addr = cpu_to_le64(addr); | 581 | psg->sg[i].addr[0] = cpu_to_le32(addr & 0xffffffff); |
531 | psg->sg[i].addr[1] = (u32)(le_addr>>32); | 582 | psg->sg[i].addr[1] = cpu_to_le32(addr>>32); |
532 | psg->sg[i].addr[0] = (u32)(le_addr & 0xffffffff); | 583 | psg->sg[i].count = cpu_to_le32(usg->sg[i].count); |
533 | psg->sg[i].count = cpu_to_le32(psg->sg[i].count); | 584 | byte_count += usg->sg[i].count; |
534 | byte_count += psg->sg[i].count; | ||
535 | } | 585 | } |
586 | kfree (usg); | ||
536 | 587 | ||
537 | srbcmd->count = cpu_to_le32(byte_count); | 588 | srbcmd->count = cpu_to_le32(byte_count); |
589 | psg->count = cpu_to_le32(sg_indx+1); | ||
538 | status = fib_send(ScsiPortCommand64, srbfib, actual_fibsize, FsaNormal, 1, 1,NULL,NULL); | 590 | status = fib_send(ScsiPortCommand64, srbfib, actual_fibsize, FsaNormal, 1, 1,NULL,NULL); |
539 | } else { | 591 | } else { |
592 | struct user_sgmap* upsg = &user_srbcmd->sg; | ||
540 | struct sgmap* psg = &srbcmd->sg; | 593 | struct sgmap* psg = &srbcmd->sg; |
541 | byte_count = 0; | 594 | byte_count = 0; |
542 | 595 | ||
543 | actual_fibsize = sizeof (struct aac_srb) + | 596 | actual_fibsize = sizeof (struct aac_srb) + (((user_srbcmd->sg.count & 0xff) - 1) * sizeof (struct sgentry)); |
544 | (((le32_to_cpu(srbcmd->sg.count) & 0xff) - 1) * | ||
545 | sizeof (struct sgentry)); | ||
546 | if(actual_fibsize != fibsize){ // User made a mistake - should not continue | 597 | if(actual_fibsize != fibsize){ // User made a mistake - should not continue |
547 | printk(KERN_DEBUG"aacraid: Bad Size specified in Raw SRB command\n"); | 598 | dprintk((KERN_DEBUG"aacraid: Bad Size specified in Raw SRB command\n")); |
548 | rcode = -EINVAL; | 599 | rcode = -EINVAL; |
549 | goto cleanup; | 600 | goto cleanup; |
550 | } | 601 | } |
551 | if ((data_dir == DMA_NONE) && psg->count) { | 602 | if ((data_dir == DMA_NONE) && upsg->count) { |
552 | printk(KERN_DEBUG"aacraid: SG with no direction specified in Raw SRB command\n"); | 603 | dprintk((KERN_DEBUG"aacraid: SG with no direction specified in Raw SRB command\n")); |
553 | rcode = -EINVAL; | 604 | rcode = -EINVAL; |
554 | goto cleanup; | 605 | goto cleanup; |
555 | } | 606 | } |
556 | for (i = 0; i < psg->count; i++) { | 607 | for (i = 0; i < upsg->count; i++) { |
557 | dma_addr_t addr; | 608 | dma_addr_t addr; |
558 | void* p; | 609 | void* p; |
559 | p = kmalloc(psg->sg[i].count,GFP_KERNEL); | 610 | p = kmalloc(upsg->sg[i].count, GFP_KERNEL); |
560 | if(p == 0) { | 611 | if(p == 0) { |
561 | printk(KERN_DEBUG"aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n", | 612 | dprintk((KERN_DEBUG"aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n", |
562 | psg->sg[i].count,i,psg->count); | 613 | upsg->sg[i].count, i, upsg->count)); |
563 | rcode = -ENOMEM; | 614 | rcode = -ENOMEM; |
564 | goto cleanup; | 615 | goto cleanup; |
565 | } | 616 | } |
566 | sg_user[i] = (void __user *)(psg->sg[i].addr); | 617 | sg_user[i] = (void __user *)upsg->sg[i].addr; |
567 | sg_list[i] = p; // save so we can clean up later | 618 | sg_list[i] = p; // save so we can clean up later |
568 | sg_indx = i; | 619 | sg_indx = i; |
569 | 620 | ||
570 | if( flags & SRB_DataOut ){ | 621 | if( flags & SRB_DataOut ){ |
571 | if(copy_from_user(p,sg_user[i],psg->sg[i].count)){ | 622 | if(copy_from_user(p, sg_user[i], |
572 | printk(KERN_DEBUG"aacraid: Could not copy sg data from user\n"); | 623 | upsg->sg[i].count)) { |
624 | dprintk((KERN_DEBUG"aacraid: Could not copy sg data from user\n")); | ||
573 | rcode = -EFAULT; | 625 | rcode = -EFAULT; |
574 | goto cleanup; | 626 | goto cleanup; |
575 | } | 627 | } |
576 | } | 628 | } |
577 | addr = pci_map_single(dev->pdev, p, psg->sg[i].count, data_dir); | 629 | addr = pci_map_single(dev->pdev, p, |
630 | upsg->sg[i].count, data_dir); | ||
578 | 631 | ||
579 | psg->sg[i].addr = cpu_to_le32(addr); | 632 | psg->sg[i].addr = cpu_to_le32(addr); |
580 | psg->sg[i].count = cpu_to_le32(psg->sg[i].count); | 633 | psg->sg[i].count = cpu_to_le32(upsg->sg[i].count); |
581 | byte_count += psg->sg[i].count; | 634 | byte_count += upsg->sg[i].count; |
582 | } | 635 | } |
583 | srbcmd->count = cpu_to_le32(byte_count); | 636 | srbcmd->count = cpu_to_le32(byte_count); |
637 | psg->count = cpu_to_le32(sg_indx+1); | ||
584 | status = fib_send(ScsiPortCommand, srbfib, actual_fibsize, FsaNormal, 1, 1, NULL, NULL); | 638 | status = fib_send(ScsiPortCommand, srbfib, actual_fibsize, FsaNormal, 1, 1, NULL, NULL); |
585 | } | 639 | } |
586 | 640 | ||
587 | if (status != 0){ | 641 | if (status != 0){ |
588 | printk(KERN_DEBUG"aacraid: Could not send raw srb fib to hba\n"); | 642 | dprintk((KERN_DEBUG"aacraid: Could not send raw srb fib to hba\n")); |
589 | rcode = -1; | 643 | rcode = -ENXIO; |
590 | goto cleanup; | 644 | goto cleanup; |
591 | } | 645 | } |
592 | 646 | ||
593 | if( flags & SRB_DataIn ) { | 647 | if( flags & SRB_DataIn ) { |
594 | for(i = 0 ; i <= sg_indx; i++){ | 648 | for(i = 0 ; i <= sg_indx; i++){ |
595 | if(copy_to_user(sg_user[i],sg_list[i],le32_to_cpu(srbcmd->sg.sg[i].count))){ | 649 | byte_count = le32_to_cpu((dev->dac_support == 1) |
596 | printk(KERN_DEBUG"aacraid: Could not copy sg data to user\n"); | 650 | ? ((struct sgmap64*)&srbcmd->sg)->sg[i].count |
651 | : srbcmd->sg.sg[i].count); | ||
652 | if(copy_to_user(sg_user[i], sg_list[i], byte_count)){ | ||
653 | dprintk((KERN_DEBUG"aacraid: Could not copy sg data to user\n")); | ||
597 | rcode = -EFAULT; | 654 | rcode = -EFAULT; |
598 | goto cleanup; | 655 | goto cleanup; |
599 | 656 | ||
@@ -603,12 +660,13 @@ int aac_send_raw_srb(struct aac_dev* dev, void __user * arg) | |||
603 | 660 | ||
604 | reply = (struct aac_srb_reply *) fib_data(srbfib); | 661 | reply = (struct aac_srb_reply *) fib_data(srbfib); |
605 | if(copy_to_user(user_reply,reply,sizeof(struct aac_srb_reply))){ | 662 | if(copy_to_user(user_reply,reply,sizeof(struct aac_srb_reply))){ |
606 | printk(KERN_DEBUG"aacraid: Could not copy reply to user\n"); | 663 | dprintk((KERN_DEBUG"aacraid: Could not copy reply to user\n")); |
607 | rcode = -EFAULT; | 664 | rcode = -EFAULT; |
608 | goto cleanup; | 665 | goto cleanup; |
609 | } | 666 | } |
610 | 667 | ||
611 | cleanup: | 668 | cleanup: |
669 | kfree(user_srbcmd); | ||
612 | for(i=0; i <= sg_indx; i++){ | 670 | for(i=0; i <= sg_indx; i++){ |
613 | kfree(sg_list[i]); | 671 | kfree(sg_list[i]); |
614 | } | 672 | } |
@@ -618,14 +676,13 @@ cleanup: | |||
618 | return rcode; | 676 | return rcode; |
619 | } | 677 | } |
620 | 678 | ||
621 | |||
622 | struct aac_pci_info { | 679 | struct aac_pci_info { |
623 | u32 bus; | 680 | u32 bus; |
624 | u32 slot; | 681 | u32 slot; |
625 | }; | 682 | }; |
626 | 683 | ||
627 | 684 | ||
628 | int aac_get_pci_info(struct aac_dev* dev, void __user *arg) | 685 | static int aac_get_pci_info(struct aac_dev* dev, void __user *arg) |
629 | { | 686 | { |
630 | struct aac_pci_info pci_info; | 687 | struct aac_pci_info pci_info; |
631 | 688 | ||
@@ -633,11 +690,11 @@ int aac_get_pci_info(struct aac_dev* dev, void __user *arg) | |||
633 | pci_info.slot = PCI_SLOT(dev->pdev->devfn); | 690 | pci_info.slot = PCI_SLOT(dev->pdev->devfn); |
634 | 691 | ||
635 | if (copy_to_user(arg, &pci_info, sizeof(struct aac_pci_info))) { | 692 | if (copy_to_user(arg, &pci_info, sizeof(struct aac_pci_info))) { |
636 | printk(KERN_DEBUG "aacraid: Could not copy pci info\n"); | 693 | dprintk((KERN_DEBUG "aacraid: Could not copy pci info\n")); |
637 | return -EFAULT; | 694 | return -EFAULT; |
638 | } | 695 | } |
639 | return 0; | 696 | return 0; |
640 | } | 697 | } |
641 | 698 | ||
642 | 699 | ||
643 | int aac_do_ioctl(struct aac_dev * dev, int cmd, void __user *arg) | 700 | int aac_do_ioctl(struct aac_dev * dev, int cmd, void __user *arg) |
@@ -656,6 +713,7 @@ int aac_do_ioctl(struct aac_dev * dev, int cmd, void __user *arg) | |||
656 | case FSACTL_MINIPORT_REV_CHECK: | 713 | case FSACTL_MINIPORT_REV_CHECK: |
657 | status = check_revision(dev, arg); | 714 | status = check_revision(dev, arg); |
658 | break; | 715 | break; |
716 | case FSACTL_SEND_LARGE_FIB: | ||
659 | case FSACTL_SENDFIB: | 717 | case FSACTL_SENDFIB: |
660 | status = ioctl_send_fib(dev, arg); | 718 | status = ioctl_send_fib(dev, arg); |
661 | break; | 719 | break; |
diff --git a/drivers/scsi/aacraid/comminit.c b/drivers/scsi/aacraid/comminit.c index 6832a55ca907..43557bf661f6 100644 --- a/drivers/scsi/aacraid/comminit.c +++ b/drivers/scsi/aacraid/comminit.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include <linux/blkdev.h> | 39 | #include <linux/blkdev.h> |
40 | #include <linux/completion.h> | 40 | #include <linux/completion.h> |
41 | #include <linux/mm.h> | 41 | #include <linux/mm.h> |
42 | #include <scsi/scsi_host.h> | ||
42 | #include <asm/semaphore.h> | 43 | #include <asm/semaphore.h> |
43 | 44 | ||
44 | #include "aacraid.h" | 45 | #include "aacraid.h" |
@@ -49,8 +50,8 @@ static int aac_alloc_comm(struct aac_dev *dev, void **commaddr, unsigned long co | |||
49 | { | 50 | { |
50 | unsigned char *base; | 51 | unsigned char *base; |
51 | unsigned long size, align; | 52 | unsigned long size, align; |
52 | unsigned long fibsize = 4096; | 53 | const unsigned long fibsize = 4096; |
53 | unsigned long printfbufsiz = 256; | 54 | const unsigned long printfbufsiz = 256; |
54 | struct aac_init *init; | 55 | struct aac_init *init; |
55 | dma_addr_t phys; | 56 | dma_addr_t phys; |
56 | 57 | ||
@@ -74,6 +75,8 @@ static int aac_alloc_comm(struct aac_dev *dev, void **commaddr, unsigned long co | |||
74 | init = dev->init; | 75 | init = dev->init; |
75 | 76 | ||
76 | init->InitStructRevision = cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION); | 77 | init->InitStructRevision = cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION); |
78 | if (dev->max_fib_size != sizeof(struct hw_fib)) | ||
79 | init->InitStructRevision = cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_4); | ||
77 | init->MiniPortRevision = cpu_to_le32(Sa_MINIPORT_REVISION); | 80 | init->MiniPortRevision = cpu_to_le32(Sa_MINIPORT_REVISION); |
78 | init->fsrev = cpu_to_le32(dev->fsrev); | 81 | init->fsrev = cpu_to_le32(dev->fsrev); |
79 | 82 | ||
@@ -110,6 +113,10 @@ static int aac_alloc_comm(struct aac_dev *dev, void **commaddr, unsigned long co | |||
110 | init->HostPhysMemPages = cpu_to_le32(AAC_MAX_HOSTPHYSMEMPAGES); | 113 | init->HostPhysMemPages = cpu_to_le32(AAC_MAX_HOSTPHYSMEMPAGES); |
111 | } | 114 | } |
112 | 115 | ||
116 | init->InitFlags = 0; | ||
117 | init->MaxIoCommands = cpu_to_le32(dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); | ||
118 | init->MaxIoSize = cpu_to_le32(dev->scsi_host_ptr->max_sectors << 9); | ||
119 | init->MaxFibSize = cpu_to_le32(dev->max_fib_size); | ||
113 | 120 | ||
114 | /* | 121 | /* |
115 | * Increment the base address by the amount already used | 122 | * Increment the base address by the amount already used |
@@ -152,8 +159,8 @@ static void aac_queue_init(struct aac_dev * dev, struct aac_queue * q, u32 *mem, | |||
152 | init_waitqueue_head(&q->qfull); | 159 | init_waitqueue_head(&q->qfull); |
153 | spin_lock_init(&q->lockdata); | 160 | spin_lock_init(&q->lockdata); |
154 | q->lock = &q->lockdata; | 161 | q->lock = &q->lockdata; |
155 | q->headers.producer = mem; | 162 | q->headers.producer = (__le32 *)mem; |
156 | q->headers.consumer = mem+1; | 163 | q->headers.consumer = (__le32 *)(mem+1); |
157 | *(q->headers.producer) = cpu_to_le32(qsize); | 164 | *(q->headers.producer) = cpu_to_le32(qsize); |
158 | *(q->headers.consumer) = cpu_to_le32(qsize); | 165 | *(q->headers.consumer) = cpu_to_le32(qsize); |
159 | q->entries = qsize; | 166 | q->entries = qsize; |
@@ -173,6 +180,8 @@ int aac_send_shutdown(struct aac_dev * dev) | |||
173 | int status; | 180 | int status; |
174 | 181 | ||
175 | fibctx = fib_alloc(dev); | 182 | fibctx = fib_alloc(dev); |
183 | if (!fibctx) | ||
184 | return -ENOMEM; | ||
176 | fib_init(fibctx); | 185 | fib_init(fibctx); |
177 | 186 | ||
178 | cmd = (struct aac_close *) fib_data(fibctx); | 187 | cmd = (struct aac_close *) fib_data(fibctx); |
@@ -204,7 +213,7 @@ int aac_send_shutdown(struct aac_dev * dev) | |||
204 | * 0 - If there were errors initing. This is a fatal error. | 213 | * 0 - If there were errors initing. This is a fatal error. |
205 | */ | 214 | */ |
206 | 215 | ||
207 | int aac_comm_init(struct aac_dev * dev) | 216 | static int aac_comm_init(struct aac_dev * dev) |
208 | { | 217 | { |
209 | unsigned long hdrsize = (sizeof(u32) * NUMBER_OF_COMM_QUEUES) * 2; | 218 | unsigned long hdrsize = (sizeof(u32) * NUMBER_OF_COMM_QUEUES) * 2; |
210 | unsigned long queuesize = sizeof(struct aac_entry) * TOTAL_QUEUE_ENTRIES; | 219 | unsigned long queuesize = sizeof(struct aac_entry) * TOTAL_QUEUE_ENTRIES; |
@@ -293,6 +302,79 @@ int aac_comm_init(struct aac_dev * dev) | |||
293 | 302 | ||
294 | struct aac_dev *aac_init_adapter(struct aac_dev *dev) | 303 | struct aac_dev *aac_init_adapter(struct aac_dev *dev) |
295 | { | 304 | { |
305 | u32 status[5]; | ||
306 | struct Scsi_Host * host = dev->scsi_host_ptr; | ||
307 | |||
308 | /* | ||
309 | * Check the preferred comm settings, defaults from template. | ||
310 | */ | ||
311 | dev->max_fib_size = sizeof(struct hw_fib); | ||
312 | dev->sg_tablesize = host->sg_tablesize = (dev->max_fib_size | ||
313 | - sizeof(struct aac_fibhdr) | ||
314 | - sizeof(struct aac_write) + sizeof(struct sgmap)) | ||
315 | / sizeof(struct sgmap); | ||
316 | if ((!aac_adapter_sync_cmd(dev, GET_COMM_PREFERRED_SETTINGS, | ||
317 | 0, 0, 0, 0, 0, 0, | ||
318 | status+0, status+1, status+2, status+3, status+4)) | ||
319 | && (status[0] == 0x00000001)) { | ||
320 | /* | ||
321 | * status[1] >> 16 maximum command size in KB | ||
322 | * status[1] & 0xFFFF maximum FIB size | ||
323 | * status[2] >> 16 maximum SG elements to driver | ||
324 | * status[2] & 0xFFFF maximum SG elements from driver | ||
325 | * status[3] & 0xFFFF maximum number FIBs outstanding | ||
326 | */ | ||
327 | host->max_sectors = (status[1] >> 16) << 1; | ||
328 | dev->max_fib_size = status[1] & 0xFFFF; | ||
329 | host->sg_tablesize = status[2] >> 16; | ||
330 | dev->sg_tablesize = status[2] & 0xFFFF; | ||
331 | host->can_queue = (status[3] & 0xFFFF) - AAC_NUM_MGT_FIB; | ||
332 | /* | ||
333 | * NOTE: | ||
334 | * All these overrides are based on a fixed internal | ||
335 | * knowledge and understanding of existing adapters, | ||
336 | * acbsize should be set with caution. | ||
337 | */ | ||
338 | if (acbsize == 512) { | ||
339 | host->max_sectors = AAC_MAX_32BIT_SGBCOUNT; | ||
340 | dev->max_fib_size = 512; | ||
341 | dev->sg_tablesize = host->sg_tablesize | ||
342 | = (512 - sizeof(struct aac_fibhdr) | ||
343 | - sizeof(struct aac_write) + sizeof(struct sgmap)) | ||
344 | / sizeof(struct sgmap); | ||
345 | host->can_queue = AAC_NUM_IO_FIB; | ||
346 | } else if (acbsize == 2048) { | ||
347 | host->max_sectors = 512; | ||
348 | dev->max_fib_size = 2048; | ||
349 | host->sg_tablesize = 65; | ||
350 | dev->sg_tablesize = 81; | ||
351 | host->can_queue = 512 - AAC_NUM_MGT_FIB; | ||
352 | } else if (acbsize == 4096) { | ||
353 | host->max_sectors = 1024; | ||
354 | dev->max_fib_size = 4096; | ||
355 | host->sg_tablesize = 129; | ||
356 | dev->sg_tablesize = 166; | ||
357 | host->can_queue = 256 - AAC_NUM_MGT_FIB; | ||
358 | } else if (acbsize == 8192) { | ||
359 | host->max_sectors = 2048; | ||
360 | dev->max_fib_size = 8192; | ||
361 | host->sg_tablesize = 257; | ||
362 | dev->sg_tablesize = 337; | ||
363 | host->can_queue = 128 - AAC_NUM_MGT_FIB; | ||
364 | } else if (acbsize > 0) { | ||
365 | printk("Illegal acbsize=%d ignored\n", acbsize); | ||
366 | } | ||
367 | } | ||
368 | { | ||
369 | |||
370 | if (numacb > 0) { | ||
371 | if (numacb < host->can_queue) | ||
372 | host->can_queue = numacb; | ||
373 | else | ||
374 | printk("numacb=%d ignored\n", numacb); | ||
375 | } | ||
376 | } | ||
377 | |||
296 | /* | 378 | /* |
297 | * Ok now init the communication subsystem | 379 | * Ok now init the communication subsystem |
298 | */ | 380 | */ |
diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c index 3f36dbaa2bb3..5322865942e2 100644 --- a/drivers/scsi/aacraid/commsup.c +++ b/drivers/scsi/aacraid/commsup.c | |||
@@ -25,7 +25,7 @@ | |||
25 | * commsup.c | 25 | * commsup.c |
26 | * | 26 | * |
27 | * Abstract: Contain all routines that are required for FSA host/adapter | 27 | * Abstract: Contain all routines that are required for FSA host/adapter |
28 | * commuication. | 28 | * communication. |
29 | * | 29 | * |
30 | */ | 30 | */ |
31 | 31 | ||
@@ -38,6 +38,7 @@ | |||
38 | #include <linux/slab.h> | 38 | #include <linux/slab.h> |
39 | #include <linux/completion.h> | 39 | #include <linux/completion.h> |
40 | #include <linux/blkdev.h> | 40 | #include <linux/blkdev.h> |
41 | #include <scsi/scsi_host.h> | ||
41 | #include <asm/semaphore.h> | 42 | #include <asm/semaphore.h> |
42 | 43 | ||
43 | #include "aacraid.h" | 44 | #include "aacraid.h" |
@@ -52,7 +53,13 @@ | |||
52 | 53 | ||
53 | static int fib_map_alloc(struct aac_dev *dev) | 54 | static int fib_map_alloc(struct aac_dev *dev) |
54 | { | 55 | { |
55 | if((dev->hw_fib_va = pci_alloc_consistent(dev->pdev, sizeof(struct hw_fib) * AAC_NUM_FIB, &dev->hw_fib_pa))==NULL) | 56 | dprintk((KERN_INFO |
57 | "allocate hardware fibs pci_alloc_consistent(%p, %d * (%d + %d), %p)\n", | ||
58 | dev->pdev, dev->max_fib_size, dev->scsi_host_ptr->can_queue, | ||
59 | AAC_NUM_MGT_FIB, &dev->hw_fib_pa)); | ||
60 | if((dev->hw_fib_va = pci_alloc_consistent(dev->pdev, dev->max_fib_size | ||
61 | * (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB), | ||
62 | &dev->hw_fib_pa))==NULL) | ||
56 | return -ENOMEM; | 63 | return -ENOMEM; |
57 | return 0; | 64 | return 0; |
58 | } | 65 | } |
@@ -67,7 +74,7 @@ static int fib_map_alloc(struct aac_dev *dev) | |||
67 | 74 | ||
68 | void fib_map_free(struct aac_dev *dev) | 75 | void fib_map_free(struct aac_dev *dev) |
69 | { | 76 | { |
70 | pci_free_consistent(dev->pdev, sizeof(struct hw_fib) * AAC_NUM_FIB, dev->hw_fib_va, dev->hw_fib_pa); | 77 | pci_free_consistent(dev->pdev, dev->max_fib_size * (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB), dev->hw_fib_va, dev->hw_fib_pa); |
71 | } | 78 | } |
72 | 79 | ||
73 | /** | 80 | /** |
@@ -84,17 +91,22 @@ int fib_setup(struct aac_dev * dev) | |||
84 | struct hw_fib *hw_fib_va; | 91 | struct hw_fib *hw_fib_va; |
85 | dma_addr_t hw_fib_pa; | 92 | dma_addr_t hw_fib_pa; |
86 | int i; | 93 | int i; |
87 | 94 | ||
88 | if(fib_map_alloc(dev)<0) | 95 | while (((i = fib_map_alloc(dev)) == -ENOMEM) |
96 | && (dev->scsi_host_ptr->can_queue > (64 - AAC_NUM_MGT_FIB))) { | ||
97 | dev->init->MaxIoCommands = cpu_to_le32((dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB) >> 1); | ||
98 | dev->scsi_host_ptr->can_queue = le32_to_cpu(dev->init->MaxIoCommands) - AAC_NUM_MGT_FIB; | ||
99 | } | ||
100 | if (i<0) | ||
89 | return -ENOMEM; | 101 | return -ENOMEM; |
90 | 102 | ||
91 | hw_fib_va = dev->hw_fib_va; | 103 | hw_fib_va = dev->hw_fib_va; |
92 | hw_fib_pa = dev->hw_fib_pa; | 104 | hw_fib_pa = dev->hw_fib_pa; |
93 | memset(hw_fib_va, 0, sizeof(struct hw_fib) * AAC_NUM_FIB); | 105 | memset(hw_fib_va, 0, dev->max_fib_size * (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB)); |
94 | /* | 106 | /* |
95 | * Initialise the fibs | 107 | * Initialise the fibs |
96 | */ | 108 | */ |
97 | for (i = 0, fibptr = &dev->fibs[i]; i < AAC_NUM_FIB; i++, fibptr++) | 109 | for (i = 0, fibptr = &dev->fibs[i]; i < (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); i++, fibptr++) |
98 | { | 110 | { |
99 | fibptr->dev = dev; | 111 | fibptr->dev = dev; |
100 | fibptr->hw_fib = hw_fib_va; | 112 | fibptr->hw_fib = hw_fib_va; |
@@ -102,16 +114,16 @@ int fib_setup(struct aac_dev * dev) | |||
102 | fibptr->next = fibptr+1; /* Forward chain the fibs */ | 114 | fibptr->next = fibptr+1; /* Forward chain the fibs */ |
103 | init_MUTEX_LOCKED(&fibptr->event_wait); | 115 | init_MUTEX_LOCKED(&fibptr->event_wait); |
104 | spin_lock_init(&fibptr->event_lock); | 116 | spin_lock_init(&fibptr->event_lock); |
105 | hw_fib_va->header.XferState = 0xffffffff; | 117 | hw_fib_va->header.XferState = cpu_to_le32(0xffffffff); |
106 | hw_fib_va->header.SenderSize = cpu_to_le16(sizeof(struct hw_fib)); | 118 | hw_fib_va->header.SenderSize = cpu_to_le16(dev->max_fib_size); |
107 | fibptr->hw_fib_pa = hw_fib_pa; | 119 | fibptr->hw_fib_pa = hw_fib_pa; |
108 | hw_fib_va = (struct hw_fib *)((unsigned char *)hw_fib_va + sizeof(struct hw_fib)); | 120 | hw_fib_va = (struct hw_fib *)((unsigned char *)hw_fib_va + dev->max_fib_size); |
109 | hw_fib_pa = hw_fib_pa + sizeof(struct hw_fib); | 121 | hw_fib_pa = hw_fib_pa + dev->max_fib_size; |
110 | } | 122 | } |
111 | /* | 123 | /* |
112 | * Add the fib chain to the free list | 124 | * Add the fib chain to the free list |
113 | */ | 125 | */ |
114 | dev->fibs[AAC_NUM_FIB-1].next = NULL; | 126 | dev->fibs[dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB - 1].next = NULL; |
115 | /* | 127 | /* |
116 | * Enable this to debug out of queue space | 128 | * Enable this to debug out of queue space |
117 | */ | 129 | */ |
@@ -124,7 +136,7 @@ int fib_setup(struct aac_dev * dev) | |||
124 | * @dev: Adapter to allocate the fib for | 136 | * @dev: Adapter to allocate the fib for |
125 | * | 137 | * |
126 | * Allocate a fib from the adapter fib pool. If the pool is empty we | 138 | * Allocate a fib from the adapter fib pool. If the pool is empty we |
127 | * wait for fibs to become free. | 139 | * return NULL. |
128 | */ | 140 | */ |
129 | 141 | ||
130 | struct fib * fib_alloc(struct aac_dev *dev) | 142 | struct fib * fib_alloc(struct aac_dev *dev) |
@@ -133,10 +145,10 @@ struct fib * fib_alloc(struct aac_dev *dev) | |||
133 | unsigned long flags; | 145 | unsigned long flags; |
134 | spin_lock_irqsave(&dev->fib_lock, flags); | 146 | spin_lock_irqsave(&dev->fib_lock, flags); |
135 | fibptr = dev->free_fib; | 147 | fibptr = dev->free_fib; |
136 | /* Cannot sleep here or you get hangs. Instead we did the | 148 | if(!fibptr){ |
137 | maths at compile time. */ | 149 | spin_unlock_irqrestore(&dev->fib_lock, flags); |
138 | if(!fibptr) | 150 | return fibptr; |
139 | BUG(); | 151 | } |
140 | dev->free_fib = fibptr->next; | 152 | dev->free_fib = fibptr->next; |
141 | spin_unlock_irqrestore(&dev->fib_lock, flags); | 153 | spin_unlock_irqrestore(&dev->fib_lock, flags); |
142 | /* | 154 | /* |
@@ -196,11 +208,11 @@ void fib_init(struct fib *fibptr) | |||
196 | struct hw_fib *hw_fib = fibptr->hw_fib; | 208 | struct hw_fib *hw_fib = fibptr->hw_fib; |
197 | 209 | ||
198 | hw_fib->header.StructType = FIB_MAGIC; | 210 | hw_fib->header.StructType = FIB_MAGIC; |
199 | hw_fib->header.Size = cpu_to_le16(sizeof(struct hw_fib)); | 211 | hw_fib->header.Size = cpu_to_le16(fibptr->dev->max_fib_size); |
200 | hw_fib->header.XferState = cpu_to_le32(HostOwned | FibInitialized | FibEmpty | FastResponseCapable); | 212 | hw_fib->header.XferState = cpu_to_le32(HostOwned | FibInitialized | FibEmpty | FastResponseCapable); |
201 | hw_fib->header.SenderFibAddress = cpu_to_le32(fibptr->hw_fib_pa); | 213 | hw_fib->header.SenderFibAddress = cpu_to_le32(fibptr->hw_fib_pa); |
202 | hw_fib->header.ReceiverFibAddress = cpu_to_le32(fibptr->hw_fib_pa); | 214 | hw_fib->header.ReceiverFibAddress = cpu_to_le32(fibptr->hw_fib_pa); |
203 | hw_fib->header.SenderSize = cpu_to_le16(sizeof(struct hw_fib)); | 215 | hw_fib->header.SenderSize = cpu_to_le16(fibptr->dev->max_fib_size); |
204 | } | 216 | } |
205 | 217 | ||
206 | /** | 218 | /** |
@@ -211,7 +223,7 @@ void fib_init(struct fib *fibptr) | |||
211 | * caller. | 223 | * caller. |
212 | */ | 224 | */ |
213 | 225 | ||
214 | void fib_dealloc(struct fib * fibptr) | 226 | static void fib_dealloc(struct fib * fibptr) |
215 | { | 227 | { |
216 | struct hw_fib *hw_fib = fibptr->hw_fib; | 228 | struct hw_fib *hw_fib = fibptr->hw_fib; |
217 | if(hw_fib->header.StructType != FIB_MAGIC) | 229 | if(hw_fib->header.StructType != FIB_MAGIC) |
@@ -279,7 +291,7 @@ static int aac_get_entry (struct aac_dev * dev, u32 qid, struct aac_entry **entr | |||
279 | } | 291 | } |
280 | 292 | ||
281 | if ((*index + 1) == le32_to_cpu(*(q->headers.consumer))) { /* Queue is full */ | 293 | if ((*index + 1) == le32_to_cpu(*(q->headers.consumer))) { /* Queue is full */ |
282 | printk(KERN_WARNING "Queue %d full, %d outstanding.\n", | 294 | printk(KERN_WARNING "Queue %d full, %u outstanding.\n", |
283 | qid, q->numpending); | 295 | qid, q->numpending); |
284 | return 0; | 296 | return 0; |
285 | } else { | 297 | } else { |
@@ -658,9 +670,8 @@ int fib_adapter_complete(struct fib * fibptr, unsigned short size) | |||
658 | } | 670 | } |
659 | if (aac_insert_entry(dev, index, AdapHighRespQueue, (nointr & (int)aac_config.irq_mod)) != 0) { | 671 | if (aac_insert_entry(dev, index, AdapHighRespQueue, (nointr & (int)aac_config.irq_mod)) != 0) { |
660 | } | 672 | } |
661 | } | 673 | } else if (hw_fib->header.XferState & |
662 | else if (hw_fib->header.XferState & NormalPriority) | 674 | cpu_to_le32(NormalPriority)) { |
663 | { | ||
664 | u32 index; | 675 | u32 index; |
665 | 676 | ||
666 | if (size) { | 677 | if (size) { |
@@ -744,22 +755,25 @@ int fib_complete(struct fib * fibptr) | |||
744 | 755 | ||
745 | void aac_printf(struct aac_dev *dev, u32 val) | 756 | void aac_printf(struct aac_dev *dev, u32 val) |
746 | { | 757 | { |
747 | int length = val & 0xffff; | ||
748 | int level = (val >> 16) & 0xffff; | ||
749 | char *cp = dev->printfbuf; | 758 | char *cp = dev->printfbuf; |
750 | 759 | if (dev->printf_enabled) | |
751 | /* | 760 | { |
752 | * The size of the printfbuf is set in port.c | 761 | int length = val & 0xffff; |
753 | * There is no variable or define for it | 762 | int level = (val >> 16) & 0xffff; |
754 | */ | 763 | |
755 | if (length > 255) | 764 | /* |
756 | length = 255; | 765 | * The size of the printfbuf is set in port.c |
757 | if (cp[length] != 0) | 766 | * There is no variable or define for it |
758 | cp[length] = 0; | 767 | */ |
759 | if (level == LOG_AAC_HIGH_ERROR) | 768 | if (length > 255) |
760 | printk(KERN_WARNING "aacraid:%s", cp); | 769 | length = 255; |
761 | else | 770 | if (cp[length] != 0) |
762 | printk(KERN_INFO "aacraid:%s", cp); | 771 | cp[length] = 0; |
772 | if (level == LOG_AAC_HIGH_ERROR) | ||
773 | printk(KERN_WARNING "aacraid:%s", cp); | ||
774 | else | ||
775 | printk(KERN_INFO "aacraid:%s", cp); | ||
776 | } | ||
763 | memset(cp, 0, 256); | 777 | memset(cp, 0, 256); |
764 | } | 778 | } |
765 | 779 | ||
@@ -832,8 +846,8 @@ int aac_command_thread(struct aac_dev * dev) | |||
832 | aifcmd = (struct aac_aifcmd *) hw_fib->data; | 846 | aifcmd = (struct aac_aifcmd *) hw_fib->data; |
833 | if (aifcmd->command == cpu_to_le32(AifCmdDriverNotify)) { | 847 | if (aifcmd->command == cpu_to_le32(AifCmdDriverNotify)) { |
834 | /* Handle Driver Notify Events */ | 848 | /* Handle Driver Notify Events */ |
835 | *(u32 *)hw_fib->data = cpu_to_le32(ST_OK); | 849 | *(__le32 *)hw_fib->data = cpu_to_le32(ST_OK); |
836 | fib_adapter_complete(fib, sizeof(u32)); | 850 | fib_adapter_complete(fib, (u16)sizeof(u32)); |
837 | } else { | 851 | } else { |
838 | struct list_head *entry; | 852 | struct list_head *entry; |
839 | /* The u32 here is important and intended. We are using | 853 | /* The u32 here is important and intended. We are using |
@@ -916,7 +930,7 @@ int aac_command_thread(struct aac_dev * dev) | |||
916 | /* | 930 | /* |
917 | * Set the status of this FIB | 931 | * Set the status of this FIB |
918 | */ | 932 | */ |
919 | *(u32 *)hw_fib->data = cpu_to_le32(ST_OK); | 933 | *(__le32 *)hw_fib->data = cpu_to_le32(ST_OK); |
920 | fib_adapter_complete(fib, sizeof(u32)); | 934 | fib_adapter_complete(fib, sizeof(u32)); |
921 | spin_unlock_irqrestore(&dev->fib_lock, flagv); | 935 | spin_unlock_irqrestore(&dev->fib_lock, flagv); |
922 | } | 936 | } |
diff --git a/drivers/scsi/aacraid/dpcsup.c b/drivers/scsi/aacraid/dpcsup.c index 8480b427a6d9..be2e98de9fab 100644 --- a/drivers/scsi/aacraid/dpcsup.c +++ b/drivers/scsi/aacraid/dpcsup.c | |||
@@ -99,7 +99,7 @@ unsigned int aac_response_normal(struct aac_queue * q) | |||
99 | /* | 99 | /* |
100 | * Doctor the fib | 100 | * Doctor the fib |
101 | */ | 101 | */ |
102 | *(u32 *)hwfib->data = cpu_to_le32(ST_OK); | 102 | *(__le32 *)hwfib->data = cpu_to_le32(ST_OK); |
103 | hwfib->header.XferState |= cpu_to_le32(AdapterProcessed); | 103 | hwfib->header.XferState |= cpu_to_le32(AdapterProcessed); |
104 | } | 104 | } |
105 | 105 | ||
@@ -107,7 +107,7 @@ unsigned int aac_response_normal(struct aac_queue * q) | |||
107 | 107 | ||
108 | if (hwfib->header.Command == cpu_to_le16(NuFileSystem)) | 108 | if (hwfib->header.Command == cpu_to_le16(NuFileSystem)) |
109 | { | 109 | { |
110 | u32 *pstatus = (u32 *)hwfib->data; | 110 | __le32 *pstatus = (__le32 *)hwfib->data; |
111 | if (*pstatus & cpu_to_le32(0xffff0000)) | 111 | if (*pstatus & cpu_to_le32(0xffff0000)) |
112 | *pstatus = cpu_to_le32(ST_OK); | 112 | *pstatus = cpu_to_le32(ST_OK); |
113 | } | 113 | } |
@@ -205,7 +205,7 @@ unsigned int aac_command_normal(struct aac_queue *q) | |||
205 | /* | 205 | /* |
206 | * Set the status of this FIB | 206 | * Set the status of this FIB |
207 | */ | 207 | */ |
208 | *(u32 *)hw_fib->data = cpu_to_le32(ST_OK); | 208 | *(__le32 *)hw_fib->data = cpu_to_le32(ST_OK); |
209 | fib_adapter_complete(fib, sizeof(u32)); | 209 | fib_adapter_complete(fib, sizeof(u32)); |
210 | spin_lock_irqsave(q->lock, flags); | 210 | spin_lock_irqsave(q->lock, flags); |
211 | } | 211 | } |
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 242fa77513f5..f7e9c89c4915 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
@@ -215,7 +215,7 @@ static int aac_queuecommand(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd | |||
215 | * Returns a static string describing the device in question | 215 | * Returns a static string describing the device in question |
216 | */ | 216 | */ |
217 | 217 | ||
218 | const char *aac_info(struct Scsi_Host *shost) | 218 | static const char *aac_info(struct Scsi_Host *shost) |
219 | { | 219 | { |
220 | struct aac_dev *dev = (struct aac_dev *)shost->hostdata; | 220 | struct aac_dev *dev = (struct aac_dev *)shost->hostdata; |
221 | return aac_drivers[dev->cardtype].name; | 221 | return aac_drivers[dev->cardtype].name; |
@@ -288,7 +288,7 @@ static int aac_biosparm(struct scsi_device *sdev, struct block_device *bdev, | |||
288 | * translations ( 64/32, 128/32, 255/63 ). | 288 | * translations ( 64/32, 128/32, 255/63 ). |
289 | */ | 289 | */ |
290 | buf = scsi_bios_ptable(bdev); | 290 | buf = scsi_bios_ptable(bdev); |
291 | if(*(unsigned short *)(buf + 0x40) == cpu_to_le16(0xaa55)) { | 291 | if(*(__le16 *)(buf + 0x40) == cpu_to_le16(0xaa55)) { |
292 | struct partition *first = (struct partition * )buf; | 292 | struct partition *first = (struct partition * )buf; |
293 | struct partition *entry = first; | 293 | struct partition *entry = first; |
294 | int saved_cylinders = param->cylinders; | 294 | int saved_cylinders = param->cylinders; |
@@ -347,10 +347,16 @@ static int aac_biosparm(struct scsi_device *sdev, struct block_device *bdev, | |||
347 | 347 | ||
348 | static int aac_slave_configure(struct scsi_device *sdev) | 348 | static int aac_slave_configure(struct scsi_device *sdev) |
349 | { | 349 | { |
350 | struct Scsi_Host *host = sdev->host; | ||
351 | |||
350 | if (sdev->tagged_supported) | 352 | if (sdev->tagged_supported) |
351 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, 128); | 353 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, 128); |
352 | else | 354 | else |
353 | scsi_adjust_queue_depth(sdev, 0, 1); | 355 | scsi_adjust_queue_depth(sdev, 0, 1); |
356 | |||
357 | if (host->max_sectors < AAC_MAX_32BIT_SGBCOUNT) | ||
358 | blk_queue_max_segment_size(sdev->request_queue, 65536); | ||
359 | |||
354 | return 0; | 360 | return 0; |
355 | } | 361 | } |
356 | 362 | ||
@@ -361,14 +367,6 @@ static int aac_ioctl(struct scsi_device *sdev, int cmd, void __user * arg) | |||
361 | } | 367 | } |
362 | 368 | ||
363 | /* | 369 | /* |
364 | * XXX: does aac really need no error handling?? | ||
365 | */ | ||
366 | static int aac_eh_abort(struct scsi_cmnd *cmd) | ||
367 | { | ||
368 | return FAILED; | ||
369 | } | ||
370 | |||
371 | /* | ||
372 | * aac_eh_reset - Reset command handling | 370 | * aac_eh_reset - Reset command handling |
373 | * @scsi_cmd: SCSI command block causing the reset | 371 | * @scsi_cmd: SCSI command block causing the reset |
374 | * | 372 | * |
@@ -386,10 +384,13 @@ static int aac_eh_reset(struct scsi_cmnd* cmd) | |||
386 | AAC_DRIVERNAME); | 384 | AAC_DRIVERNAME); |
387 | 385 | ||
388 | 386 | ||
387 | spin_lock_irq(host->host_lock); | ||
388 | |||
389 | aac = (struct aac_dev *)host->hostdata; | 389 | aac = (struct aac_dev *)host->hostdata; |
390 | if (aac_adapter_check_health(aac)) { | 390 | if (aac_adapter_check_health(aac)) { |
391 | printk(KERN_ERR "%s: Host adapter appears dead\n", | 391 | printk(KERN_ERR "%s: Host adapter appears dead\n", |
392 | AAC_DRIVERNAME); | 392 | AAC_DRIVERNAME); |
393 | spin_unlock_irq(host->host_lock); | ||
393 | return -ENODEV; | 394 | return -ENODEV; |
394 | } | 395 | } |
395 | /* | 396 | /* |
@@ -420,6 +421,7 @@ static int aac_eh_reset(struct scsi_cmnd* cmd) | |||
420 | ssleep(1); | 421 | ssleep(1); |
421 | spin_lock_irq(host->host_lock); | 422 | spin_lock_irq(host->host_lock); |
422 | } | 423 | } |
424 | spin_unlock_irq(host->host_lock); | ||
423 | printk(KERN_ERR "%s: SCSI bus appears hung\n", AAC_DRIVERNAME); | 425 | printk(KERN_ERR "%s: SCSI bus appears hung\n", AAC_DRIVERNAME); |
424 | return -ETIMEDOUT; | 426 | return -ETIMEDOUT; |
425 | } | 427 | } |
@@ -439,11 +441,11 @@ static int aac_eh_reset(struct scsi_cmnd* cmd) | |||
439 | static int aac_cfg_open(struct inode *inode, struct file *file) | 441 | static int aac_cfg_open(struct inode *inode, struct file *file) |
440 | { | 442 | { |
441 | struct aac_dev *aac; | 443 | struct aac_dev *aac; |
442 | unsigned minor = iminor(inode); | 444 | unsigned minor_number = iminor(inode); |
443 | int err = -ENODEV; | 445 | int err = -ENODEV; |
444 | 446 | ||
445 | list_for_each_entry(aac, &aac_devices, entry) { | 447 | list_for_each_entry(aac, &aac_devices, entry) { |
446 | if (aac->id == minor) { | 448 | if (aac->id == minor_number) { |
447 | file->private_data = aac; | 449 | file->private_data = aac; |
448 | err = 0; | 450 | err = 0; |
449 | break; | 451 | break; |
@@ -489,6 +491,7 @@ static long aac_compat_do_ioctl(struct aac_dev *dev, unsigned cmd, unsigned long | |||
489 | case FSACTL_DELETE_DISK: | 491 | case FSACTL_DELETE_DISK: |
490 | case FSACTL_FORCE_DELETE_DISK: | 492 | case FSACTL_FORCE_DELETE_DISK: |
491 | case FSACTL_GET_CONTAINERS: | 493 | case FSACTL_GET_CONTAINERS: |
494 | case FSACTL_SEND_LARGE_FIB: | ||
492 | ret = aac_do_ioctl(dev, cmd, (void __user *)arg); | 495 | ret = aac_do_ioctl(dev, cmd, (void __user *)arg); |
493 | break; | 496 | break; |
494 | 497 | ||
@@ -526,6 +529,134 @@ static long aac_compat_cfg_ioctl(struct file *file, unsigned cmd, unsigned long | |||
526 | } | 529 | } |
527 | #endif | 530 | #endif |
528 | 531 | ||
532 | static ssize_t aac_show_model(struct class_device *class_dev, | ||
533 | char *buf) | ||
534 | { | ||
535 | struct aac_dev *dev = (struct aac_dev*)class_to_shost(class_dev)->hostdata; | ||
536 | int len; | ||
537 | |||
538 | len = snprintf(buf, PAGE_SIZE, "%s\n", | ||
539 | aac_drivers[dev->cardtype].model); | ||
540 | return len; | ||
541 | } | ||
542 | |||
543 | static ssize_t aac_show_vendor(struct class_device *class_dev, | ||
544 | char *buf) | ||
545 | { | ||
546 | struct aac_dev *dev = (struct aac_dev*)class_to_shost(class_dev)->hostdata; | ||
547 | int len; | ||
548 | |||
549 | len = snprintf(buf, PAGE_SIZE, "%s\n", | ||
550 | aac_drivers[dev->cardtype].vname); | ||
551 | return len; | ||
552 | } | ||
553 | |||
554 | static ssize_t aac_show_kernel_version(struct class_device *class_dev, | ||
555 | char *buf) | ||
556 | { | ||
557 | struct aac_dev *dev = (struct aac_dev*)class_to_shost(class_dev)->hostdata; | ||
558 | int len, tmp; | ||
559 | |||
560 | tmp = le32_to_cpu(dev->adapter_info.kernelrev); | ||
561 | len = snprintf(buf, PAGE_SIZE, "%d.%d-%d[%d]\n", | ||
562 | tmp >> 24, (tmp >> 16) & 0xff, tmp & 0xff, | ||
563 | le32_to_cpu(dev->adapter_info.kernelbuild)); | ||
564 | return len; | ||
565 | } | ||
566 | |||
567 | static ssize_t aac_show_monitor_version(struct class_device *class_dev, | ||
568 | char *buf) | ||
569 | { | ||
570 | struct aac_dev *dev = (struct aac_dev*)class_to_shost(class_dev)->hostdata; | ||
571 | int len, tmp; | ||
572 | |||
573 | tmp = le32_to_cpu(dev->adapter_info.monitorrev); | ||
574 | len = snprintf(buf, PAGE_SIZE, "%d.%d-%d[%d]\n", | ||
575 | tmp >> 24, (tmp >> 16) & 0xff, tmp & 0xff, | ||
576 | le32_to_cpu(dev->adapter_info.monitorbuild)); | ||
577 | return len; | ||
578 | } | ||
579 | |||
580 | static ssize_t aac_show_bios_version(struct class_device *class_dev, | ||
581 | char *buf) | ||
582 | { | ||
583 | struct aac_dev *dev = (struct aac_dev*)class_to_shost(class_dev)->hostdata; | ||
584 | int len, tmp; | ||
585 | |||
586 | tmp = le32_to_cpu(dev->adapter_info.biosrev); | ||
587 | len = snprintf(buf, PAGE_SIZE, "%d.%d-%d[%d]\n", | ||
588 | tmp >> 24, (tmp >> 16) & 0xff, tmp & 0xff, | ||
589 | le32_to_cpu(dev->adapter_info.biosbuild)); | ||
590 | return len; | ||
591 | } | ||
592 | |||
593 | static ssize_t aac_show_serial_number(struct class_device *class_dev, | ||
594 | char *buf) | ||
595 | { | ||
596 | struct aac_dev *dev = (struct aac_dev*)class_to_shost(class_dev)->hostdata; | ||
597 | int len = 0; | ||
598 | |||
599 | if (le32_to_cpu(dev->adapter_info.serial[0]) != 0xBAD0) | ||
600 | len = snprintf(buf, PAGE_SIZE, "%x\n", | ||
601 | le32_to_cpu(dev->adapter_info.serial[0])); | ||
602 | return len; | ||
603 | } | ||
604 | |||
605 | |||
606 | static struct class_device_attribute aac_model = { | ||
607 | .attr = { | ||
608 | .name = "model", | ||
609 | .mode = S_IRUGO, | ||
610 | }, | ||
611 | .show = aac_show_model, | ||
612 | }; | ||
613 | static struct class_device_attribute aac_vendor = { | ||
614 | .attr = { | ||
615 | .name = "vendor", | ||
616 | .mode = S_IRUGO, | ||
617 | }, | ||
618 | .show = aac_show_vendor, | ||
619 | }; | ||
620 | static struct class_device_attribute aac_kernel_version = { | ||
621 | .attr = { | ||
622 | .name = "hba_kernel_version", | ||
623 | .mode = S_IRUGO, | ||
624 | }, | ||
625 | .show = aac_show_kernel_version, | ||
626 | }; | ||
627 | static struct class_device_attribute aac_monitor_version = { | ||
628 | .attr = { | ||
629 | .name = "hba_monitor_version", | ||
630 | .mode = S_IRUGO, | ||
631 | }, | ||
632 | .show = aac_show_monitor_version, | ||
633 | }; | ||
634 | static struct class_device_attribute aac_bios_version = { | ||
635 | .attr = { | ||
636 | .name = "hba_bios_version", | ||
637 | .mode = S_IRUGO, | ||
638 | }, | ||
639 | .show = aac_show_bios_version, | ||
640 | }; | ||
641 | static struct class_device_attribute aac_serial_number = { | ||
642 | .attr = { | ||
643 | .name = "serial_number", | ||
644 | .mode = S_IRUGO, | ||
645 | }, | ||
646 | .show = aac_show_serial_number, | ||
647 | }; | ||
648 | |||
649 | static struct class_device_attribute *aac_attrs[] = { | ||
650 | &aac_model, | ||
651 | &aac_vendor, | ||
652 | &aac_kernel_version, | ||
653 | &aac_monitor_version, | ||
654 | &aac_bios_version, | ||
655 | &aac_serial_number, | ||
656 | NULL | ||
657 | }; | ||
658 | |||
659 | |||
529 | static struct file_operations aac_cfg_fops = { | 660 | static struct file_operations aac_cfg_fops = { |
530 | .owner = THIS_MODULE, | 661 | .owner = THIS_MODULE, |
531 | .ioctl = aac_cfg_ioctl, | 662 | .ioctl = aac_cfg_ioctl, |
@@ -538,7 +669,7 @@ static struct file_operations aac_cfg_fops = { | |||
538 | static struct scsi_host_template aac_driver_template = { | 669 | static struct scsi_host_template aac_driver_template = { |
539 | .module = THIS_MODULE, | 670 | .module = THIS_MODULE, |
540 | .name = "AAC", | 671 | .name = "AAC", |
541 | .proc_name = "aacraid", | 672 | .proc_name = AAC_DRIVERNAME, |
542 | .info = aac_info, | 673 | .info = aac_info, |
543 | .ioctl = aac_ioctl, | 674 | .ioctl = aac_ioctl, |
544 | #ifdef CONFIG_COMPAT | 675 | #ifdef CONFIG_COMPAT |
@@ -546,8 +677,8 @@ static struct scsi_host_template aac_driver_template = { | |||
546 | #endif | 677 | #endif |
547 | .queuecommand = aac_queuecommand, | 678 | .queuecommand = aac_queuecommand, |
548 | .bios_param = aac_biosparm, | 679 | .bios_param = aac_biosparm, |
680 | .shost_attrs = aac_attrs, | ||
549 | .slave_configure = aac_slave_configure, | 681 | .slave_configure = aac_slave_configure, |
550 | .eh_abort_handler = aac_eh_abort, | ||
551 | .eh_host_reset_handler = aac_eh_reset, | 682 | .eh_host_reset_handler = aac_eh_reset, |
552 | .can_queue = AAC_NUM_IO_FIB, | 683 | .can_queue = AAC_NUM_IO_FIB, |
553 | .this_id = 16, | 684 | .this_id = 16, |
@@ -612,7 +743,7 @@ static int __devinit aac_probe_one(struct pci_dev *pdev, | |||
612 | aac->cardtype = index; | 743 | aac->cardtype = index; |
613 | INIT_LIST_HEAD(&aac->entry); | 744 | INIT_LIST_HEAD(&aac->entry); |
614 | 745 | ||
615 | aac->fibs = kmalloc(sizeof(struct fib) * AAC_NUM_FIB, GFP_KERNEL); | 746 | aac->fibs = kmalloc(sizeof(struct fib) * (shost->can_queue + AAC_NUM_MGT_FIB), GFP_KERNEL); |
616 | if (!aac->fibs) | 747 | if (!aac->fibs) |
617 | goto out_free_host; | 748 | goto out_free_host; |
618 | spin_lock_init(&aac->fib_lock); | 749 | spin_lock_init(&aac->fib_lock); |
@@ -632,6 +763,24 @@ static int __devinit aac_probe_one(struct pci_dev *pdev, | |||
632 | aac_get_adapter_info(aac); | 763 | aac_get_adapter_info(aac); |
633 | 764 | ||
634 | /* | 765 | /* |
766 | * Lets override negotiations and drop the maximum SG limit to 34 | ||
767 | */ | ||
768 | if ((aac_drivers[index].quirks & AAC_QUIRK_34SG) && | ||
769 | (aac->scsi_host_ptr->sg_tablesize > 34)) { | ||
770 | aac->scsi_host_ptr->sg_tablesize = 34; | ||
771 | aac->scsi_host_ptr->max_sectors | ||
772 | = (aac->scsi_host_ptr->sg_tablesize * 8) + 112; | ||
773 | } | ||
774 | |||
775 | /* | ||
776 | * Firware printf works only with older firmware. | ||
777 | */ | ||
778 | if (aac_drivers[index].quirks & AAC_QUIRK_34SG) | ||
779 | aac->printf_enabled = 1; | ||
780 | else | ||
781 | aac->printf_enabled = 0; | ||
782 | |||
783 | /* | ||
635 | * max channel will be the physical channels plus 1 virtual channel | 784 | * max channel will be the physical channels plus 1 virtual channel |
636 | * all containers are on the virtual channel 0 | 785 | * all containers are on the virtual channel 0 |
637 | * physical channels are address by their actual physical number+1 | 786 | * physical channels are address by their actual physical number+1 |
diff --git a/drivers/scsi/aacraid/rkt.c b/drivers/scsi/aacraid/rkt.c index 1b8ed47cfe30..7d68b7825137 100644 --- a/drivers/scsi/aacraid/rkt.c +++ b/drivers/scsi/aacraid/rkt.c | |||
@@ -98,7 +98,9 @@ static irqreturn_t aac_rkt_intr(int irq, void *dev_id, struct pt_regs *regs) | |||
98 | * for its completion. | 98 | * for its completion. |
99 | */ | 99 | */ |
100 | 100 | ||
101 | static int rkt_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *status) | 101 | static int rkt_sync_cmd(struct aac_dev *dev, u32 command, |
102 | u32 p1, u32 p2, u32 p3, u32 p4, u32 p5, u32 p6, | ||
103 | u32 *status, u32 *r1, u32 *r2, u32 *r3, u32 *r4) | ||
102 | { | 104 | { |
103 | unsigned long start; | 105 | unsigned long start; |
104 | int ok; | 106 | int ok; |
@@ -107,12 +109,12 @@ static int rkt_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *status) | |||
107 | */ | 109 | */ |
108 | rkt_writel(dev, InboundMailbox0, command); | 110 | rkt_writel(dev, InboundMailbox0, command); |
109 | /* | 111 | /* |
110 | * Write the parameters into Mailboxes 1 - 4 | 112 | * Write the parameters into Mailboxes 1 - 6 |
111 | */ | 113 | */ |
112 | rkt_writel(dev, InboundMailbox1, p1); | 114 | rkt_writel(dev, InboundMailbox1, p1); |
113 | rkt_writel(dev, InboundMailbox2, 0); | 115 | rkt_writel(dev, InboundMailbox2, p2); |
114 | rkt_writel(dev, InboundMailbox3, 0); | 116 | rkt_writel(dev, InboundMailbox3, p3); |
115 | rkt_writel(dev, InboundMailbox4, 0); | 117 | rkt_writel(dev, InboundMailbox4, p4); |
116 | /* | 118 | /* |
117 | * Clear the synch command doorbell to start on a clean slate. | 119 | * Clear the synch command doorbell to start on a clean slate. |
118 | */ | 120 | */ |
@@ -169,6 +171,14 @@ static int rkt_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *status) | |||
169 | */ | 171 | */ |
170 | if (status) | 172 | if (status) |
171 | *status = rkt_readl(dev, IndexRegs.Mailbox[0]); | 173 | *status = rkt_readl(dev, IndexRegs.Mailbox[0]); |
174 | if (r1) | ||
175 | *r1 = rkt_readl(dev, IndexRegs.Mailbox[1]); | ||
176 | if (r2) | ||
177 | *r2 = rkt_readl(dev, IndexRegs.Mailbox[2]); | ||
178 | if (r3) | ||
179 | *r3 = rkt_readl(dev, IndexRegs.Mailbox[3]); | ||
180 | if (r4) | ||
181 | *r4 = rkt_readl(dev, IndexRegs.Mailbox[4]); | ||
172 | /* | 182 | /* |
173 | * Clear the synch command doorbell. | 183 | * Clear the synch command doorbell. |
174 | */ | 184 | */ |
@@ -190,8 +200,8 @@ static int rkt_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *status) | |||
190 | 200 | ||
191 | static void aac_rkt_interrupt_adapter(struct aac_dev *dev) | 201 | static void aac_rkt_interrupt_adapter(struct aac_dev *dev) |
192 | { | 202 | { |
193 | u32 ret; | 203 | rkt_sync_cmd(dev, BREAKPOINT_REQUEST, 0, 0, 0, 0, 0, 0, |
194 | rkt_sync_cmd(dev, BREAKPOINT_REQUEST, 0, &ret); | 204 | NULL, NULL, NULL, NULL, NULL); |
195 | } | 205 | } |
196 | 206 | ||
197 | /** | 207 | /** |
@@ -220,7 +230,8 @@ static void aac_rkt_notify_adapter(struct aac_dev *dev, u32 event) | |||
220 | rkt_writel(dev, MUnit.IDR,INBOUNDDOORBELL_3); | 230 | rkt_writel(dev, MUnit.IDR,INBOUNDDOORBELL_3); |
221 | break; | 231 | break; |
222 | case HostShutdown: | 232 | case HostShutdown: |
223 | // rkt_sync_cmd(dev, HOST_CRASHING, 0, 0, 0, 0, &ret); | 233 | // rkt_sync_cmd(dev, HOST_CRASHING, 0, 0, 0, 0, 0, 0, |
234 | // NULL, NULL, NULL, NULL, NULL); | ||
224 | break; | 235 | break; |
225 | case FastIo: | 236 | case FastIo: |
226 | rkt_writel(dev, MUnit.IDR,INBOUNDDOORBELL_6); | 237 | rkt_writel(dev, MUnit.IDR,INBOUNDDOORBELL_6); |
@@ -243,17 +254,11 @@ static void aac_rkt_notify_adapter(struct aac_dev *dev, u32 event) | |||
243 | 254 | ||
244 | static void aac_rkt_start_adapter(struct aac_dev *dev) | 255 | static void aac_rkt_start_adapter(struct aac_dev *dev) |
245 | { | 256 | { |
246 | u32 status; | ||
247 | struct aac_init *init; | 257 | struct aac_init *init; |
248 | 258 | ||
249 | init = dev->init; | 259 | init = dev->init; |
250 | init->HostElapsedSeconds = cpu_to_le32(get_seconds()); | 260 | init->HostElapsedSeconds = cpu_to_le32(get_seconds()); |
251 | /* | 261 | /* |
252 | * Tell the adapter we are back and up and running so it will scan | ||
253 | * its command queues and enable our interrupts | ||
254 | */ | ||
255 | dev->irq_mask = (DoorBellPrintfReady | OUTBOUNDDOORBELL_1 | OUTBOUNDDOORBELL_2 | OUTBOUNDDOORBELL_3 | OUTBOUNDDOORBELL_4); | ||
256 | /* | ||
257 | * First clear out all interrupts. Then enable the one's that we | 262 | * First clear out all interrupts. Then enable the one's that we |
258 | * can handle. | 263 | * can handle. |
259 | */ | 264 | */ |
@@ -263,7 +268,8 @@ static void aac_rkt_start_adapter(struct aac_dev *dev) | |||
263 | rkt_writeb(dev, MUnit.OIMR, dev->OIMR = 0xfb); | 268 | rkt_writeb(dev, MUnit.OIMR, dev->OIMR = 0xfb); |
264 | 269 | ||
265 | // We can only use a 32 bit address here | 270 | // We can only use a 32 bit address here |
266 | rkt_sync_cmd(dev, INIT_STRUCT_BASE_ADDRESS, (u32)(ulong)dev->init_pa, &status); | 271 | rkt_sync_cmd(dev, INIT_STRUCT_BASE_ADDRESS, (u32)(ulong)dev->init_pa, |
272 | 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL); | ||
267 | } | 273 | } |
268 | 274 | ||
269 | /** | 275 | /** |
@@ -288,8 +294,8 @@ static int aac_rkt_check_health(struct aac_dev *dev) | |||
288 | if (status & KERNEL_PANIC) { | 294 | if (status & KERNEL_PANIC) { |
289 | char * buffer; | 295 | char * buffer; |
290 | struct POSTSTATUS { | 296 | struct POSTSTATUS { |
291 | u32 Post_Command; | 297 | __le32 Post_Command; |
292 | u32 Post_Address; | 298 | __le32 Post_Address; |
293 | } * post; | 299 | } * post; |
294 | dma_addr_t paddr, baddr; | 300 | dma_addr_t paddr, baddr; |
295 | int ret; | 301 | int ret; |
@@ -310,7 +316,8 @@ static int aac_rkt_check_health(struct aac_dev *dev) | |||
310 | post->Post_Command = cpu_to_le32(COMMAND_POST_RESULTS); | 316 | post->Post_Command = cpu_to_le32(COMMAND_POST_RESULTS); |
311 | post->Post_Address = cpu_to_le32(baddr); | 317 | post->Post_Address = cpu_to_le32(baddr); |
312 | rkt_writel(dev, MUnit.IMRx[0], paddr); | 318 | rkt_writel(dev, MUnit.IMRx[0], paddr); |
313 | rkt_sync_cmd(dev, COMMAND_POST_RESULTS, baddr, &status); | 319 | rkt_sync_cmd(dev, COMMAND_POST_RESULTS, baddr, 0, 0, 0, 0, 0, |
320 | NULL, NULL, NULL, NULL, NULL); | ||
314 | pci_free_consistent(dev->pdev, sizeof(struct POSTSTATUS), | 321 | pci_free_consistent(dev->pdev, sizeof(struct POSTSTATUS), |
315 | post, paddr); | 322 | post, paddr); |
316 | if ((buffer[0] == '0') && (buffer[1] == 'x')) { | 323 | if ((buffer[0] == '0') && (buffer[1] == 'x')) { |
diff --git a/drivers/scsi/aacraid/rx.c b/drivers/scsi/aacraid/rx.c index 630b99e1fe83..1ff25f49fada 100644 --- a/drivers/scsi/aacraid/rx.c +++ b/drivers/scsi/aacraid/rx.c | |||
@@ -63,7 +63,7 @@ static irqreturn_t aac_rx_intr(int irq, void *dev_id, struct pt_regs *regs) | |||
63 | { | 63 | { |
64 | bellbits = rx_readl(dev, OutboundDoorbellReg); | 64 | bellbits = rx_readl(dev, OutboundDoorbellReg); |
65 | if (bellbits & DoorBellPrintfReady) { | 65 | if (bellbits & DoorBellPrintfReady) { |
66 | aac_printf(dev, le32_to_cpu(rx_readl (dev, IndexRegs.Mailbox[5]))); | 66 | aac_printf(dev, rx_readl(dev, IndexRegs.Mailbox[5])); |
67 | rx_writel(dev, MUnit.ODR,DoorBellPrintfReady); | 67 | rx_writel(dev, MUnit.ODR,DoorBellPrintfReady); |
68 | rx_writel(dev, InboundDoorbellReg,DoorBellPrintfDone); | 68 | rx_writel(dev, InboundDoorbellReg,DoorBellPrintfDone); |
69 | } | 69 | } |
@@ -98,7 +98,9 @@ static irqreturn_t aac_rx_intr(int irq, void *dev_id, struct pt_regs *regs) | |||
98 | * for its completion. | 98 | * for its completion. |
99 | */ | 99 | */ |
100 | 100 | ||
101 | static int rx_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *status) | 101 | static int rx_sync_cmd(struct aac_dev *dev, u32 command, |
102 | u32 p1, u32 p2, u32 p3, u32 p4, u32 p5, u32 p6, | ||
103 | u32 *status, u32 * r1, u32 * r2, u32 * r3, u32 * r4) | ||
102 | { | 104 | { |
103 | unsigned long start; | 105 | unsigned long start; |
104 | int ok; | 106 | int ok; |
@@ -107,12 +109,12 @@ static int rx_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *status) | |||
107 | */ | 109 | */ |
108 | rx_writel(dev, InboundMailbox0, command); | 110 | rx_writel(dev, InboundMailbox0, command); |
109 | /* | 111 | /* |
110 | * Write the parameters into Mailboxes 1 - 4 | 112 | * Write the parameters into Mailboxes 1 - 6 |
111 | */ | 113 | */ |
112 | rx_writel(dev, InboundMailbox1, p1); | 114 | rx_writel(dev, InboundMailbox1, p1); |
113 | rx_writel(dev, InboundMailbox2, 0); | 115 | rx_writel(dev, InboundMailbox2, p2); |
114 | rx_writel(dev, InboundMailbox3, 0); | 116 | rx_writel(dev, InboundMailbox3, p3); |
115 | rx_writel(dev, InboundMailbox4, 0); | 117 | rx_writel(dev, InboundMailbox4, p4); |
116 | /* | 118 | /* |
117 | * Clear the synch command doorbell to start on a clean slate. | 119 | * Clear the synch command doorbell to start on a clean slate. |
118 | */ | 120 | */ |
@@ -120,7 +122,7 @@ static int rx_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *status) | |||
120 | /* | 122 | /* |
121 | * Disable doorbell interrupts | 123 | * Disable doorbell interrupts |
122 | */ | 124 | */ |
123 | rx_writeb(dev, MUnit.OIMR, dev->OIMR |= 0x04); | 125 | rx_writeb(dev, MUnit.OIMR, dev->OIMR = 0xff); |
124 | /* | 126 | /* |
125 | * Force the completion of the mask register write before issuing | 127 | * Force the completion of the mask register write before issuing |
126 | * the interrupt. | 128 | * the interrupt. |
@@ -169,6 +171,14 @@ static int rx_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *status) | |||
169 | */ | 171 | */ |
170 | if (status) | 172 | if (status) |
171 | *status = rx_readl(dev, IndexRegs.Mailbox[0]); | 173 | *status = rx_readl(dev, IndexRegs.Mailbox[0]); |
174 | if (r1) | ||
175 | *r1 = rx_readl(dev, IndexRegs.Mailbox[1]); | ||
176 | if (r2) | ||
177 | *r2 = rx_readl(dev, IndexRegs.Mailbox[2]); | ||
178 | if (r3) | ||
179 | *r3 = rx_readl(dev, IndexRegs.Mailbox[3]); | ||
180 | if (r4) | ||
181 | *r4 = rx_readl(dev, IndexRegs.Mailbox[4]); | ||
172 | /* | 182 | /* |
173 | * Clear the synch command doorbell. | 183 | * Clear the synch command doorbell. |
174 | */ | 184 | */ |
@@ -190,8 +200,7 @@ static int rx_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *status) | |||
190 | 200 | ||
191 | static void aac_rx_interrupt_adapter(struct aac_dev *dev) | 201 | static void aac_rx_interrupt_adapter(struct aac_dev *dev) |
192 | { | 202 | { |
193 | u32 ret; | 203 | rx_sync_cmd(dev, BREAKPOINT_REQUEST, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL); |
194 | rx_sync_cmd(dev, BREAKPOINT_REQUEST, 0, &ret); | ||
195 | } | 204 | } |
196 | 205 | ||
197 | /** | 206 | /** |
@@ -220,7 +229,8 @@ static void aac_rx_notify_adapter(struct aac_dev *dev, u32 event) | |||
220 | rx_writel(dev, MUnit.IDR,INBOUNDDOORBELL_3); | 229 | rx_writel(dev, MUnit.IDR,INBOUNDDOORBELL_3); |
221 | break; | 230 | break; |
222 | case HostShutdown: | 231 | case HostShutdown: |
223 | // rx_sync_cmd(dev, HOST_CRASHING, 0, 0, 0, 0, &ret); | 232 | // rx_sync_cmd(dev, HOST_CRASHING, 0, 0, 0, 0, 0, 0, |
233 | // NULL, NULL, NULL, NULL, NULL); | ||
224 | break; | 234 | break; |
225 | case FastIo: | 235 | case FastIo: |
226 | rx_writel(dev, MUnit.IDR,INBOUNDDOORBELL_6); | 236 | rx_writel(dev, MUnit.IDR,INBOUNDDOORBELL_6); |
@@ -243,17 +253,11 @@ static void aac_rx_notify_adapter(struct aac_dev *dev, u32 event) | |||
243 | 253 | ||
244 | static void aac_rx_start_adapter(struct aac_dev *dev) | 254 | static void aac_rx_start_adapter(struct aac_dev *dev) |
245 | { | 255 | { |
246 | u32 status; | ||
247 | struct aac_init *init; | 256 | struct aac_init *init; |
248 | 257 | ||
249 | init = dev->init; | 258 | init = dev->init; |
250 | init->HostElapsedSeconds = cpu_to_le32(get_seconds()); | 259 | init->HostElapsedSeconds = cpu_to_le32(get_seconds()); |
251 | /* | 260 | /* |
252 | * Tell the adapter we are back and up and running so it will scan | ||
253 | * its command queues and enable our interrupts | ||
254 | */ | ||
255 | dev->irq_mask = (DoorBellPrintfReady | OUTBOUNDDOORBELL_1 | OUTBOUNDDOORBELL_2 | OUTBOUNDDOORBELL_3 | OUTBOUNDDOORBELL_4); | ||
256 | /* | ||
257 | * First clear out all interrupts. Then enable the one's that we | 261 | * First clear out all interrupts. Then enable the one's that we |
258 | * can handle. | 262 | * can handle. |
259 | */ | 263 | */ |
@@ -263,7 +267,8 @@ static void aac_rx_start_adapter(struct aac_dev *dev) | |||
263 | rx_writeb(dev, MUnit.OIMR, dev->OIMR = 0xfb); | 267 | rx_writeb(dev, MUnit.OIMR, dev->OIMR = 0xfb); |
264 | 268 | ||
265 | // We can only use a 32 bit address here | 269 | // We can only use a 32 bit address here |
266 | rx_sync_cmd(dev, INIT_STRUCT_BASE_ADDRESS, (u32)(ulong)dev->init_pa, &status); | 270 | rx_sync_cmd(dev, INIT_STRUCT_BASE_ADDRESS, (u32)(ulong)dev->init_pa, |
271 | 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL); | ||
267 | } | 272 | } |
268 | 273 | ||
269 | /** | 274 | /** |
@@ -288,8 +293,8 @@ static int aac_rx_check_health(struct aac_dev *dev) | |||
288 | if (status & KERNEL_PANIC) { | 293 | if (status & KERNEL_PANIC) { |
289 | char * buffer; | 294 | char * buffer; |
290 | struct POSTSTATUS { | 295 | struct POSTSTATUS { |
291 | u32 Post_Command; | 296 | __le32 Post_Command; |
292 | u32 Post_Address; | 297 | __le32 Post_Address; |
293 | } * post; | 298 | } * post; |
294 | dma_addr_t paddr, baddr; | 299 | dma_addr_t paddr, baddr; |
295 | int ret; | 300 | int ret; |
@@ -310,7 +315,8 @@ static int aac_rx_check_health(struct aac_dev *dev) | |||
310 | post->Post_Command = cpu_to_le32(COMMAND_POST_RESULTS); | 315 | post->Post_Command = cpu_to_le32(COMMAND_POST_RESULTS); |
311 | post->Post_Address = cpu_to_le32(baddr); | 316 | post->Post_Address = cpu_to_le32(baddr); |
312 | rx_writel(dev, MUnit.IMRx[0], paddr); | 317 | rx_writel(dev, MUnit.IMRx[0], paddr); |
313 | rx_sync_cmd(dev, COMMAND_POST_RESULTS, baddr, &status); | 318 | rx_sync_cmd(dev, COMMAND_POST_RESULTS, baddr, 0, 0, 0, 0, 0, |
319 | NULL, NULL, NULL, NULL, NULL); | ||
314 | pci_free_consistent(dev->pdev, sizeof(struct POSTSTATUS), | 320 | pci_free_consistent(dev->pdev, sizeof(struct POSTSTATUS), |
315 | post, paddr); | 321 | post, paddr); |
316 | if ((buffer[0] == '0') && (buffer[1] == 'x')) { | 322 | if ((buffer[0] == '0') && (buffer[1] == 'x')) { |
diff --git a/drivers/scsi/aacraid/sa.c b/drivers/scsi/aacraid/sa.c index bd6c30723fba..0680249ab861 100644 --- a/drivers/scsi/aacraid/sa.c +++ b/drivers/scsi/aacraid/sa.c | |||
@@ -89,7 +89,7 @@ static irqreturn_t aac_sa_intr(int irq, void *dev_id, struct pt_regs *regs) | |||
89 | * Notify the adapter of an event | 89 | * Notify the adapter of an event |
90 | */ | 90 | */ |
91 | 91 | ||
92 | void aac_sa_notify_adapter(struct aac_dev *dev, u32 event) | 92 | static void aac_sa_notify_adapter(struct aac_dev *dev, u32 event) |
93 | { | 93 | { |
94 | switch (event) { | 94 | switch (event) { |
95 | 95 | ||
@@ -106,7 +106,10 @@ void aac_sa_notify_adapter(struct aac_dev *dev, u32 event) | |||
106 | sa_writew(dev, DoorbellReg_s,DOORBELL_3); | 106 | sa_writew(dev, DoorbellReg_s,DOORBELL_3); |
107 | break; | 107 | break; |
108 | case HostShutdown: | 108 | case HostShutdown: |
109 | //sa_sync_cmd(dev, HOST_CRASHING, 0, &ret); | 109 | /* |
110 | sa_sync_cmd(dev, HOST_CRASHING, 0, 0, 0, 0, 0, 0, | ||
111 | NULL, NULL, NULL, NULL, NULL); | ||
112 | */ | ||
110 | break; | 113 | break; |
111 | case FastIo: | 114 | case FastIo: |
112 | sa_writew(dev, DoorbellReg_s,DOORBELL_6); | 115 | sa_writew(dev, DoorbellReg_s,DOORBELL_6); |
@@ -132,7 +135,9 @@ void aac_sa_notify_adapter(struct aac_dev *dev, u32 event) | |||
132 | * for its completion. | 135 | * for its completion. |
133 | */ | 136 | */ |
134 | 137 | ||
135 | static int sa_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *ret) | 138 | static int sa_sync_cmd(struct aac_dev *dev, u32 command, |
139 | u32 p1, u32 p2, u32 p3, u32 p4, u32 p5, u32 p6, | ||
140 | u32 *ret, u32 *r1, u32 *r2, u32 *r3, u32 *r4) | ||
136 | { | 141 | { |
137 | unsigned long start; | 142 | unsigned long start; |
138 | int ok; | 143 | int ok; |
@@ -144,9 +149,10 @@ static int sa_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *ret) | |||
144 | * Write the parameters into Mailboxes 1 - 4 | 149 | * Write the parameters into Mailboxes 1 - 4 |
145 | */ | 150 | */ |
146 | sa_writel(dev, Mailbox1, p1); | 151 | sa_writel(dev, Mailbox1, p1); |
147 | sa_writel(dev, Mailbox2, 0); | 152 | sa_writel(dev, Mailbox2, p2); |
148 | sa_writel(dev, Mailbox3, 0); | 153 | sa_writel(dev, Mailbox3, p3); |
149 | sa_writel(dev, Mailbox4, 0); | 154 | sa_writel(dev, Mailbox4, p4); |
155 | |||
150 | /* | 156 | /* |
151 | * Clear the synch command doorbell to start on a clean slate. | 157 | * Clear the synch command doorbell to start on a clean slate. |
152 | */ | 158 | */ |
@@ -188,6 +194,14 @@ static int sa_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *ret) | |||
188 | */ | 194 | */ |
189 | if (ret) | 195 | if (ret) |
190 | *ret = sa_readl(dev, Mailbox0); | 196 | *ret = sa_readl(dev, Mailbox0); |
197 | if (r1) | ||
198 | *r1 = sa_readl(dev, Mailbox1); | ||
199 | if (r2) | ||
200 | *r2 = sa_readl(dev, Mailbox2); | ||
201 | if (r3) | ||
202 | *r3 = sa_readl(dev, Mailbox3); | ||
203 | if (r4) | ||
204 | *r4 = sa_readl(dev, Mailbox4); | ||
191 | return 0; | 205 | return 0; |
192 | } | 206 | } |
193 | 207 | ||
@@ -201,7 +215,8 @@ static int sa_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 *ret) | |||
201 | static void aac_sa_interrupt_adapter (struct aac_dev *dev) | 215 | static void aac_sa_interrupt_adapter (struct aac_dev *dev) |
202 | { | 216 | { |
203 | u32 ret; | 217 | u32 ret; |
204 | sa_sync_cmd(dev, BREAKPOINT_REQUEST, 0, &ret); | 218 | sa_sync_cmd(dev, BREAKPOINT_REQUEST, 0, 0, 0, 0, 0, 0, |
219 | &ret, NULL, NULL, NULL, NULL); | ||
205 | } | 220 | } |
206 | 221 | ||
207 | /** | 222 | /** |
@@ -230,10 +245,12 @@ static void aac_sa_start_adapter(struct aac_dev *dev) | |||
230 | * First clear out all interrupts. Then enable the one's that | 245 | * First clear out all interrupts. Then enable the one's that |
231 | * we can handle. | 246 | * we can handle. |
232 | */ | 247 | */ |
233 | sa_writew(dev, SaDbCSR.PRISETIRQMASK, cpu_to_le16(0xffff)); | 248 | sa_writew(dev, SaDbCSR.PRISETIRQMASK, 0xffff); |
234 | sa_writew(dev, SaDbCSR.PRICLEARIRQMASK, (PrintfReady | DOORBELL_1 | DOORBELL_2 | DOORBELL_3 | DOORBELL_4)); | 249 | sa_writew(dev, SaDbCSR.PRICLEARIRQMASK, (PrintfReady | DOORBELL_1 | DOORBELL_2 | DOORBELL_3 | DOORBELL_4)); |
235 | /* We can only use a 32 bit address here */ | 250 | /* We can only use a 32 bit address here */ |
236 | sa_sync_cmd(dev, INIT_STRUCT_BASE_ADDRESS, (u32)(ulong)dev->init_pa, &ret); | 251 | sa_sync_cmd(dev, INIT_STRUCT_BASE_ADDRESS, |
252 | (u32)(ulong)dev->init_pa, 0, 0, 0, 0, 0, | ||
253 | &ret, NULL, NULL, NULL, NULL); | ||
237 | } | 254 | } |
238 | 255 | ||
239 | /** | 256 | /** |
diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c index 88d119f4b970..630b11575230 100644 --- a/drivers/scsi/aha152x.c +++ b/drivers/scsi/aha152x.c | |||
@@ -1225,8 +1225,6 @@ static int aha152x_device_reset(Scsi_Cmnd * SCpnt) | |||
1225 | } | 1225 | } |
1226 | 1226 | ||
1227 | DO_UNLOCK(flags); | 1227 | DO_UNLOCK(flags); |
1228 | |||
1229 | spin_lock_irq(shpnt->host_lock); | ||
1230 | return ret; | 1228 | return ret; |
1231 | } | 1229 | } |
1232 | 1230 | ||
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c index e9920a009593..9ec4641a6348 100644 --- a/drivers/scsi/aha1542.c +++ b/drivers/scsi/aha1542.c | |||
@@ -1348,20 +1348,6 @@ static int aha1542_restart(struct Scsi_Host *shost) | |||
1348 | return 0; | 1348 | return 0; |
1349 | } | 1349 | } |
1350 | 1350 | ||
1351 | static int aha1542_abort(Scsi_Cmnd * SCpnt) | ||
1352 | { | ||
1353 | |||
1354 | /* | ||
1355 | * The abort command does not leave the device in a clean state where | ||
1356 | * it is available to be used again. Until this gets worked out, we | ||
1357 | * will leave it commented out. | ||
1358 | */ | ||
1359 | |||
1360 | printk(KERN_ERR "aha1542.c: Unable to abort command for target %d\n", | ||
1361 | SCpnt->device->id); | ||
1362 | return FAILED; | ||
1363 | } | ||
1364 | |||
1365 | /* | 1351 | /* |
1366 | * This is a device reset. This is handled by sending a special command | 1352 | * This is a device reset. This is handled by sending a special command |
1367 | * to the device. | 1353 | * to the device. |
@@ -1478,8 +1464,8 @@ static int aha1542_bus_reset(Scsi_Cmnd * SCpnt) | |||
1478 | * check for timeout, and if we are doing something like this | 1464 | * check for timeout, and if we are doing something like this |
1479 | * we are pretty desperate anyways. | 1465 | * we are pretty desperate anyways. |
1480 | */ | 1466 | */ |
1481 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
1482 | ssleep(4); | 1467 | ssleep(4); |
1468 | |||
1483 | spin_lock_irq(SCpnt->device->host->host_lock); | 1469 | spin_lock_irq(SCpnt->device->host->host_lock); |
1484 | 1470 | ||
1485 | WAIT(STATUS(SCpnt->device->host->io_port), | 1471 | WAIT(STATUS(SCpnt->device->host->io_port), |
@@ -1517,9 +1503,11 @@ static int aha1542_bus_reset(Scsi_Cmnd * SCpnt) | |||
1517 | } | 1503 | } |
1518 | } | 1504 | } |
1519 | 1505 | ||
1506 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
1520 | return SUCCESS; | 1507 | return SUCCESS; |
1521 | 1508 | ||
1522 | fail: | 1509 | fail: |
1510 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
1523 | return FAILED; | 1511 | return FAILED; |
1524 | } | 1512 | } |
1525 | 1513 | ||
@@ -1542,7 +1530,6 @@ static int aha1542_host_reset(Scsi_Cmnd * SCpnt) | |||
1542 | * check for timeout, and if we are doing something like this | 1530 | * check for timeout, and if we are doing something like this |
1543 | * we are pretty desperate anyways. | 1531 | * we are pretty desperate anyways. |
1544 | */ | 1532 | */ |
1545 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
1546 | ssleep(4); | 1533 | ssleep(4); |
1547 | spin_lock_irq(SCpnt->device->host->host_lock); | 1534 | spin_lock_irq(SCpnt->device->host->host_lock); |
1548 | 1535 | ||
@@ -1586,9 +1573,11 @@ static int aha1542_host_reset(Scsi_Cmnd * SCpnt) | |||
1586 | } | 1573 | } |
1587 | } | 1574 | } |
1588 | 1575 | ||
1576 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
1589 | return SUCCESS; | 1577 | return SUCCESS; |
1590 | 1578 | ||
1591 | fail: | 1579 | fail: |
1580 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
1592 | return FAILED; | 1581 | return FAILED; |
1593 | } | 1582 | } |
1594 | 1583 | ||
@@ -1817,7 +1806,6 @@ static Scsi_Host_Template driver_template = { | |||
1817 | .detect = aha1542_detect, | 1806 | .detect = aha1542_detect, |
1818 | .release = aha1542_release, | 1807 | .release = aha1542_release, |
1819 | .queuecommand = aha1542_queuecommand, | 1808 | .queuecommand = aha1542_queuecommand, |
1820 | .eh_abort_handler = aha1542_abort, | ||
1821 | .eh_device_reset_handler= aha1542_dev_reset, | 1809 | .eh_device_reset_handler= aha1542_dev_reset, |
1822 | .eh_bus_reset_handler = aha1542_bus_reset, | 1810 | .eh_bus_reset_handler = aha1542_bus_reset, |
1823 | .eh_host_reset_handler = aha1542_host_reset, | 1811 | .eh_host_reset_handler = aha1542_host_reset, |
diff --git a/drivers/scsi/aha1542.h b/drivers/scsi/aha1542.h index c402351dc79a..3821ee17f471 100644 --- a/drivers/scsi/aha1542.h +++ b/drivers/scsi/aha1542.h | |||
@@ -133,7 +133,6 @@ struct ccb { /* Command Control Block 5.3 */ | |||
133 | 133 | ||
134 | static int aha1542_detect(Scsi_Host_Template *); | 134 | static int aha1542_detect(Scsi_Host_Template *); |
135 | static int aha1542_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); | 135 | static int aha1542_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); |
136 | static int aha1542_abort(Scsi_Cmnd * SCpnt); | ||
137 | static int aha1542_bus_reset(Scsi_Cmnd * SCpnt); | 136 | static int aha1542_bus_reset(Scsi_Cmnd * SCpnt); |
138 | static int aha1542_dev_reset(Scsi_Cmnd * SCpnt); | 137 | static int aha1542_dev_reset(Scsi_Cmnd * SCpnt); |
139 | static int aha1542_host_reset(Scsi_Cmnd * SCpnt); | 138 | static int aha1542_host_reset(Scsi_Cmnd * SCpnt); |
diff --git a/drivers/scsi/aic7xxx/aic7770_osm.c b/drivers/scsi/aic7xxx/aic7770_osm.c index 682ca0b32b44..d4ed5e9f830a 100644 --- a/drivers/scsi/aic7xxx/aic7770_osm.c +++ b/drivers/scsi/aic7xxx/aic7770_osm.c | |||
@@ -44,88 +44,46 @@ | |||
44 | #include <linux/device.h> | 44 | #include <linux/device.h> |
45 | #include <linux/eisa.h> | 45 | #include <linux/eisa.h> |
46 | 46 | ||
47 | #define EISA_MFCTR_CHAR0(ID) (char)(((ID>>26) & 0x1F) | '@') /* Bits 26-30 */ | ||
48 | #define EISA_MFCTR_CHAR1(ID) (char)(((ID>>21) & 0x1F) | '@') /* Bits 21-25 */ | ||
49 | #define EISA_MFCTR_CHAR2(ID) (char)(((ID>>16) & 0x1F) | '@') /* Bits 16-20 */ | ||
50 | #define EISA_PRODUCT_ID(ID) (short)((ID>>4) & 0xFFF) /* Bits 4-15 */ | ||
51 | #define EISA_REVISION_ID(ID) (uint8_t)(ID & 0x0F) /* Bits 0-3 */ | ||
52 | |||
53 | static int aic7770_eisa_dev_probe(struct device *dev); | ||
54 | static int aic7770_eisa_dev_remove(struct device *dev); | ||
55 | static struct eisa_driver aic7770_driver = { | ||
56 | .driver = { | ||
57 | .name = "aic7xxx", | ||
58 | .probe = aic7770_eisa_dev_probe, | ||
59 | .remove = aic7770_eisa_dev_remove, | ||
60 | } | ||
61 | }; | ||
62 | |||
63 | typedef struct device *aic7770_dev_t; | ||
64 | |||
65 | static int aic7770_linux_config(struct aic7770_identity *entry, | ||
66 | aic7770_dev_t dev, u_int eisaBase); | ||
67 | |||
68 | int | 47 | int |
69 | ahc_linux_eisa_init(void) | 48 | aic7770_map_registers(struct ahc_softc *ahc, u_int port) |
70 | { | 49 | { |
71 | struct eisa_device_id *eid; | ||
72 | struct aic7770_identity *id; | ||
73 | int i; | ||
74 | |||
75 | if (aic7xxx_probe_eisa_vl == 0) | ||
76 | return -ENODEV; | ||
77 | |||
78 | /* | 50 | /* |
79 | * Linux requires the EISA IDs to be specified in | 51 | * Lock out other contenders for our i/o space. |
80 | * the EISA ID string format. Perform the conversion | ||
81 | * and setup a table with a NUL terminal entry. | ||
82 | */ | 52 | */ |
83 | aic7770_driver.id_table = malloc(sizeof(struct eisa_device_id) * | 53 | if (request_region(port, AHC_EISA_IOSIZE, "aic7xxx") == 0) |
84 | (ahc_num_aic7770_devs + 1), | 54 | return (ENOMEM); |
85 | M_DEVBUF, M_NOWAIT); | 55 | ahc->tag = BUS_SPACE_PIO; |
86 | if (aic7770_driver.id_table == NULL) | 56 | ahc->bsh.ioport = port; |
87 | return -ENOMEM; | 57 | return (0); |
88 | |||
89 | for (eid = (struct eisa_device_id *)aic7770_driver.id_table, | ||
90 | id = aic7770_ident_table, i = 0; | ||
91 | i < ahc_num_aic7770_devs; eid++, id++, i++) { | ||
92 | |||
93 | sprintf(eid->sig, "%c%c%c%03X%01X", | ||
94 | EISA_MFCTR_CHAR0(id->full_id), | ||
95 | EISA_MFCTR_CHAR1(id->full_id), | ||
96 | EISA_MFCTR_CHAR2(id->full_id), | ||
97 | EISA_PRODUCT_ID(id->full_id), | ||
98 | EISA_REVISION_ID(id->full_id)); | ||
99 | eid->driver_data = i; | ||
100 | } | ||
101 | eid->sig[0] = 0; | ||
102 | |||
103 | return eisa_driver_register(&aic7770_driver); | ||
104 | } | 58 | } |
105 | 59 | ||
106 | void | 60 | int |
107 | ahc_linux_eisa_exit(void) | 61 | aic7770_map_int(struct ahc_softc *ahc, u_int irq) |
108 | { | 62 | { |
109 | if(aic7xxx_probe_eisa_vl != 0 && aic7770_driver.id_table != NULL) { | 63 | int error; |
110 | eisa_driver_unregister(&aic7770_driver); | 64 | int shared; |
111 | free(aic7770_driver.id_table, M_DEVBUF); | 65 | |
112 | } | 66 | shared = 0; |
67 | if ((ahc->flags & AHC_EDGE_INTERRUPT) == 0) | ||
68 | shared = SA_SHIRQ; | ||
69 | |||
70 | error = request_irq(irq, ahc_linux_isr, shared, "aic7xxx", ahc); | ||
71 | if (error == 0) | ||
72 | ahc->platform_data->irq = irq; | ||
73 | |||
74 | return (-error); | ||
113 | } | 75 | } |
114 | 76 | ||
115 | static int | 77 | static int |
116 | aic7770_linux_config(struct aic7770_identity *entry, aic7770_dev_t dev, | 78 | aic7770_probe(struct device *dev) |
117 | u_int eisaBase) | ||
118 | { | 79 | { |
80 | struct eisa_device *edev = to_eisa_device(dev); | ||
81 | u_int eisaBase = edev->base_addr+AHC_EISA_SLOT_OFFSET; | ||
119 | struct ahc_softc *ahc; | 82 | struct ahc_softc *ahc; |
120 | char buf[80]; | 83 | char buf[80]; |
121 | char *name; | 84 | char *name; |
122 | int error; | 85 | int error; |
123 | 86 | ||
124 | /* | ||
125 | * Allocate a softc for this card and | ||
126 | * set it up for attachment by our | ||
127 | * common detect routine. | ||
128 | */ | ||
129 | sprintf(buf, "ahc_eisa:%d", eisaBase >> 12); | 87 | sprintf(buf, "ahc_eisa:%d", eisaBase >> 12); |
130 | name = malloc(strlen(buf) + 1, M_DEVBUF, M_NOWAIT); | 88 | name = malloc(strlen(buf) + 1, M_DEVBUF, M_NOWAIT); |
131 | if (name == NULL) | 89 | if (name == NULL) |
@@ -134,81 +92,62 @@ aic7770_linux_config(struct aic7770_identity *entry, aic7770_dev_t dev, | |||
134 | ahc = ahc_alloc(&aic7xxx_driver_template, name); | 92 | ahc = ahc_alloc(&aic7xxx_driver_template, name); |
135 | if (ahc == NULL) | 93 | if (ahc == NULL) |
136 | return (ENOMEM); | 94 | return (ENOMEM); |
137 | error = aic7770_config(ahc, entry, eisaBase); | 95 | error = aic7770_config(ahc, aic7770_ident_table + edev->id.driver_data, |
96 | eisaBase); | ||
138 | if (error != 0) { | 97 | if (error != 0) { |
139 | ahc->bsh.ioport = 0; | 98 | ahc->bsh.ioport = 0; |
140 | ahc_free(ahc); | 99 | ahc_free(ahc); |
141 | return (error); | 100 | return (error); |
142 | } | 101 | } |
143 | 102 | ||
144 | dev->driver_data = (void *)ahc; | 103 | dev_set_drvdata(dev, ahc); |
104 | |||
145 | if (aic7xxx_detect_complete) | 105 | if (aic7xxx_detect_complete) |
146 | error = ahc_linux_register_host(ahc, &aic7xxx_driver_template); | 106 | error = ahc_linux_register_host(ahc, &aic7xxx_driver_template); |
147 | return (error); | 107 | return (error); |
148 | } | 108 | } |
149 | 109 | ||
150 | int | 110 | static int |
151 | aic7770_map_registers(struct ahc_softc *ahc, u_int port) | 111 | aic7770_remove(struct device *dev) |
152 | { | ||
153 | /* | ||
154 | * Lock out other contenders for our i/o space. | ||
155 | */ | ||
156 | if (request_region(port, AHC_EISA_IOSIZE, "aic7xxx") == 0) | ||
157 | return (ENOMEM); | ||
158 | ahc->tag = BUS_SPACE_PIO; | ||
159 | ahc->bsh.ioport = port; | ||
160 | return (0); | ||
161 | } | ||
162 | |||
163 | int | ||
164 | aic7770_map_int(struct ahc_softc *ahc, u_int irq) | ||
165 | { | 112 | { |
166 | int error; | 113 | struct ahc_softc *ahc = dev_get_drvdata(dev); |
167 | int shared; | 114 | u_long s; |
168 | 115 | ||
169 | shared = 0; | 116 | ahc_lock(ahc, &s); |
170 | if ((ahc->flags & AHC_EDGE_INTERRUPT) == 0) | 117 | ahc_intr_enable(ahc, FALSE); |
171 | shared = SA_SHIRQ; | 118 | ahc_unlock(ahc, &s); |
172 | 119 | ||
173 | error = request_irq(irq, ahc_linux_isr, shared, "aic7xxx", ahc); | 120 | ahc_free(ahc); |
174 | if (error == 0) | 121 | return 0; |
175 | ahc->platform_data->irq = irq; | ||
176 | |||
177 | return (-error); | ||
178 | } | 122 | } |
179 | 123 | ||
180 | static int | 124 | static struct eisa_device_id aic7770_ids[] = { |
181 | aic7770_eisa_dev_probe(struct device *dev) | 125 | { "ADP7771", 0 }, /* AHA 274x */ |
126 | { "ADP7756", 1 }, /* AHA 284x BIOS enabled */ | ||
127 | { "ADP7757", 2 }, /* AHA 284x BIOS disabled */ | ||
128 | { "ADP7782", 3 }, /* AHA 274x Olivetti OEM */ | ||
129 | { "ADP7783", 4 }, /* AHA 274x Olivetti OEM (Differential) */ | ||
130 | { "ADP7770", 5 }, /* AIC7770 generic */ | ||
131 | { "" } | ||
132 | }; | ||
133 | |||
134 | static struct eisa_driver aic7770_driver = { | ||
135 | .id_table = aic7770_ids, | ||
136 | .driver = { | ||
137 | .name = "aic7xxx", | ||
138 | .probe = aic7770_probe, | ||
139 | .remove = aic7770_remove, | ||
140 | } | ||
141 | }; | ||
142 | |||
143 | int | ||
144 | ahc_linux_eisa_init(void) | ||
182 | { | 145 | { |
183 | struct eisa_device *edev; | 146 | return eisa_driver_register(&aic7770_driver); |
184 | |||
185 | edev = to_eisa_device(dev); | ||
186 | return (aic7770_linux_config(aic7770_ident_table + edev->id.driver_data, | ||
187 | dev, edev->base_addr+AHC_EISA_SLOT_OFFSET)); | ||
188 | } | 147 | } |
189 | 148 | ||
190 | static int | 149 | void |
191 | aic7770_eisa_dev_remove(struct device *dev) | 150 | ahc_linux_eisa_exit(void) |
192 | { | 151 | { |
193 | struct ahc_softc *ahc; | 152 | eisa_driver_unregister(&aic7770_driver); |
194 | u_long l; | ||
195 | |||
196 | /* | ||
197 | * We should be able to just perform | ||
198 | * the free directly, but check our | ||
199 | * list for extra sanity. | ||
200 | */ | ||
201 | ahc_list_lock(&l); | ||
202 | ahc = ahc_find_softc((struct ahc_softc *)dev->driver_data); | ||
203 | if (ahc != NULL) { | ||
204 | u_long s; | ||
205 | |||
206 | ahc_lock(ahc, &s); | ||
207 | ahc_intr_enable(ahc, FALSE); | ||
208 | ahc_unlock(ahc, &s); | ||
209 | ahc_free(ahc); | ||
210 | } | ||
211 | ahc_list_unlock(&l); | ||
212 | |||
213 | return (0); | ||
214 | } | 153 | } |
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c index 7c02b7dc7098..c4eaaad2c69b 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.c +++ b/drivers/scsi/aic7xxx/aic79xx_osm.c | |||
@@ -941,7 +941,7 @@ ahd_linux_queue(Scsi_Cmnd * cmd, void (*scsi_done) (Scsi_Cmnd *)) | |||
941 | */ | 941 | */ |
942 | cmd->scsi_done = scsi_done; | 942 | cmd->scsi_done = scsi_done; |
943 | 943 | ||
944 | ahd_midlayer_entrypoint_lock(ahd, &flags); | 944 | ahd_lock(ahd, &flags); |
945 | 945 | ||
946 | /* | 946 | /* |
947 | * Close the race of a command that was in the process of | 947 | * Close the race of a command that was in the process of |
@@ -955,7 +955,7 @@ ahd_linux_queue(Scsi_Cmnd * cmd, void (*scsi_done) (Scsi_Cmnd *)) | |||
955 | ahd_cmd_set_transaction_status(cmd, CAM_REQUEUE_REQ); | 955 | ahd_cmd_set_transaction_status(cmd, CAM_REQUEUE_REQ); |
956 | ahd_linux_queue_cmd_complete(ahd, cmd); | 956 | ahd_linux_queue_cmd_complete(ahd, cmd); |
957 | ahd_schedule_completeq(ahd); | 957 | ahd_schedule_completeq(ahd); |
958 | ahd_midlayer_entrypoint_unlock(ahd, &flags); | 958 | ahd_unlock(ahd, &flags); |
959 | return (0); | 959 | return (0); |
960 | } | 960 | } |
961 | dev = ahd_linux_get_device(ahd, cmd->device->channel, | 961 | dev = ahd_linux_get_device(ahd, cmd->device->channel, |
@@ -965,7 +965,7 @@ ahd_linux_queue(Scsi_Cmnd * cmd, void (*scsi_done) (Scsi_Cmnd *)) | |||
965 | ahd_cmd_set_transaction_status(cmd, CAM_RESRC_UNAVAIL); | 965 | ahd_cmd_set_transaction_status(cmd, CAM_RESRC_UNAVAIL); |
966 | ahd_linux_queue_cmd_complete(ahd, cmd); | 966 | ahd_linux_queue_cmd_complete(ahd, cmd); |
967 | ahd_schedule_completeq(ahd); | 967 | ahd_schedule_completeq(ahd); |
968 | ahd_midlayer_entrypoint_unlock(ahd, &flags); | 968 | ahd_unlock(ahd, &flags); |
969 | printf("%s: aic79xx_linux_queue - Unable to allocate device!\n", | 969 | printf("%s: aic79xx_linux_queue - Unable to allocate device!\n", |
970 | ahd_name(ahd)); | 970 | ahd_name(ahd)); |
971 | return (0); | 971 | return (0); |
@@ -979,7 +979,7 @@ ahd_linux_queue(Scsi_Cmnd * cmd, void (*scsi_done) (Scsi_Cmnd *)) | |||
979 | dev->flags |= AHD_DEV_ON_RUN_LIST; | 979 | dev->flags |= AHD_DEV_ON_RUN_LIST; |
980 | ahd_linux_run_device_queues(ahd); | 980 | ahd_linux_run_device_queues(ahd); |
981 | } | 981 | } |
982 | ahd_midlayer_entrypoint_unlock(ahd, &flags); | 982 | ahd_unlock(ahd, &flags); |
983 | return (0); | 983 | return (0); |
984 | } | 984 | } |
985 | 985 | ||
@@ -1511,17 +1511,17 @@ ahd_linux_dev_reset(Scsi_Cmnd *cmd) | |||
1511 | ahd_name(ahd), cmd->device->channel, cmd->device->id, | 1511 | ahd_name(ahd), cmd->device->channel, cmd->device->id, |
1512 | cmd->device->lun, cmd); | 1512 | cmd->device->lun, cmd); |
1513 | #endif | 1513 | #endif |
1514 | ahd_midlayer_entrypoint_lock(ahd, &s); | 1514 | ahd_lock(ahd, &s); |
1515 | 1515 | ||
1516 | dev = ahd_linux_get_device(ahd, cmd->device->channel, cmd->device->id, | 1516 | dev = ahd_linux_get_device(ahd, cmd->device->channel, cmd->device->id, |
1517 | cmd->device->lun, /*alloc*/FALSE); | 1517 | cmd->device->lun, /*alloc*/FALSE); |
1518 | if (dev == NULL) { | 1518 | if (dev == NULL) { |
1519 | ahd_midlayer_entrypoint_unlock(ahd, &s); | 1519 | ahd_unlock(ahd, &s); |
1520 | kfree(recovery_cmd); | 1520 | kfree(recovery_cmd); |
1521 | return (FAILED); | 1521 | return (FAILED); |
1522 | } | 1522 | } |
1523 | if ((scb = ahd_get_scb(ahd, AHD_NEVER_COL_IDX)) == NULL) { | 1523 | if ((scb = ahd_get_scb(ahd, AHD_NEVER_COL_IDX)) == NULL) { |
1524 | ahd_midlayer_entrypoint_unlock(ahd, &s); | 1524 | ahd_unlock(ahd, &s); |
1525 | kfree(recovery_cmd); | 1525 | kfree(recovery_cmd); |
1526 | return (FAILED); | 1526 | return (FAILED); |
1527 | } | 1527 | } |
@@ -1570,7 +1570,7 @@ ahd_linux_dev_reset(Scsi_Cmnd *cmd) | |||
1570 | spin_lock_irq(&ahd->platform_data->spin_lock); | 1570 | spin_lock_irq(&ahd->platform_data->spin_lock); |
1571 | ahd_schedule_runq(ahd); | 1571 | ahd_schedule_runq(ahd); |
1572 | ahd_linux_run_complete_queue(ahd); | 1572 | ahd_linux_run_complete_queue(ahd); |
1573 | ahd_midlayer_entrypoint_unlock(ahd, &s); | 1573 | ahd_unlock(ahd, &s); |
1574 | printf("%s: Device reset returning 0x%x\n", ahd_name(ahd), retval); | 1574 | printf("%s: Device reset returning 0x%x\n", ahd_name(ahd), retval); |
1575 | return (retval); | 1575 | return (retval); |
1576 | } | 1576 | } |
@@ -1591,11 +1591,11 @@ ahd_linux_bus_reset(Scsi_Cmnd *cmd) | |||
1591 | printf("%s: Bus reset called for cmd %p\n", | 1591 | printf("%s: Bus reset called for cmd %p\n", |
1592 | ahd_name(ahd), cmd); | 1592 | ahd_name(ahd), cmd); |
1593 | #endif | 1593 | #endif |
1594 | ahd_midlayer_entrypoint_lock(ahd, &s); | 1594 | ahd_lock(ahd, &s); |
1595 | found = ahd_reset_channel(ahd, cmd->device->channel + 'A', | 1595 | found = ahd_reset_channel(ahd, cmd->device->channel + 'A', |
1596 | /*initiate reset*/TRUE); | 1596 | /*initiate reset*/TRUE); |
1597 | ahd_linux_run_complete_queue(ahd); | 1597 | ahd_linux_run_complete_queue(ahd); |
1598 | ahd_midlayer_entrypoint_unlock(ahd, &s); | 1598 | ahd_unlock(ahd, &s); |
1599 | 1599 | ||
1600 | if (bootverbose) | 1600 | if (bootverbose) |
1601 | printf("%s: SCSI bus reset delivered. " | 1601 | printf("%s: SCSI bus reset delivered. " |
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.h b/drivers/scsi/aic7xxx/aic79xx_osm.h index 605f92b6c5ca..7823e52e99ab 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.h +++ b/drivers/scsi/aic7xxx/aic79xx_osm.h | |||
@@ -112,23 +112,6 @@ typedef Scsi_Cmnd *ahd_io_ctx_t; | |||
112 | #define ahd_le32toh(x) le32_to_cpu(x) | 112 | #define ahd_le32toh(x) le32_to_cpu(x) |
113 | #define ahd_le64toh(x) le64_to_cpu(x) | 113 | #define ahd_le64toh(x) le64_to_cpu(x) |
114 | 114 | ||
115 | #ifndef LITTLE_ENDIAN | ||
116 | #define LITTLE_ENDIAN 1234 | ||
117 | #endif | ||
118 | |||
119 | #ifndef BIG_ENDIAN | ||
120 | #define BIG_ENDIAN 4321 | ||
121 | #endif | ||
122 | |||
123 | #ifndef BYTE_ORDER | ||
124 | #if defined(__BIG_ENDIAN) | ||
125 | #define BYTE_ORDER BIG_ENDIAN | ||
126 | #endif | ||
127 | #if defined(__LITTLE_ENDIAN) | ||
128 | #define BYTE_ORDER LITTLE_ENDIAN | ||
129 | #endif | ||
130 | #endif /* BYTE_ORDER */ | ||
131 | |||
132 | /************************* Configuration Data *********************************/ | 115 | /************************* Configuration Data *********************************/ |
133 | extern uint32_t aic79xx_allow_memio; | 116 | extern uint32_t aic79xx_allow_memio; |
134 | extern int aic79xx_detect_complete; | 117 | extern int aic79xx_detect_complete; |
diff --git a/drivers/scsi/aic7xxx/aic7xxx.h b/drivers/scsi/aic7xxx/aic7xxx.h index 8ff16fd8ed49..0948d50ae75c 100644 --- a/drivers/scsi/aic7xxx/aic7xxx.h +++ b/drivers/scsi/aic7xxx/aic7xxx.h | |||
@@ -346,7 +346,6 @@ typedef enum { | |||
346 | * controller. | 346 | * controller. |
347 | */ | 347 | */ |
348 | AHC_NEWEEPROM_FMT = 0x4000, | 348 | AHC_NEWEEPROM_FMT = 0x4000, |
349 | AHC_RESOURCE_SHORTAGE = 0x8000, | ||
350 | AHC_TQINFIFO_BLOCKED = 0x10000, /* Blocked waiting for ATIOs */ | 349 | AHC_TQINFIFO_BLOCKED = 0x10000, /* Blocked waiting for ATIOs */ |
351 | AHC_INT50_SPEEDFLEX = 0x20000, /* | 350 | AHC_INT50_SPEEDFLEX = 0x20000, /* |
352 | * Internal 50pin connector | 351 | * Internal 50pin connector |
@@ -1200,7 +1199,6 @@ void ahc_pause_and_flushwork(struct ahc_softc *ahc); | |||
1200 | int ahc_suspend(struct ahc_softc *ahc); | 1199 | int ahc_suspend(struct ahc_softc *ahc); |
1201 | int ahc_resume(struct ahc_softc *ahc); | 1200 | int ahc_resume(struct ahc_softc *ahc); |
1202 | void ahc_softc_insert(struct ahc_softc *); | 1201 | void ahc_softc_insert(struct ahc_softc *); |
1203 | struct ahc_softc *ahc_find_softc(struct ahc_softc *ahc); | ||
1204 | void ahc_set_unit(struct ahc_softc *, int); | 1202 | void ahc_set_unit(struct ahc_softc *, int); |
1205 | void ahc_set_name(struct ahc_softc *, char *); | 1203 | void ahc_set_name(struct ahc_softc *, char *); |
1206 | void ahc_alloc_scbs(struct ahc_softc *ahc); | 1204 | void ahc_alloc_scbs(struct ahc_softc *ahc); |
diff --git a/drivers/scsi/aic7xxx/aic7xxx_core.c b/drivers/scsi/aic7xxx/aic7xxx_core.c index 9a6b4a570aa7..8a2bb6f8d77b 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_core.c +++ b/drivers/scsi/aic7xxx/aic7xxx_core.c | |||
@@ -3934,22 +3934,6 @@ ahc_softc_insert(struct ahc_softc *ahc) | |||
3934 | ahc->init_level++; | 3934 | ahc->init_level++; |
3935 | } | 3935 | } |
3936 | 3936 | ||
3937 | /* | ||
3938 | * Verify that the passed in softc pointer is for a | ||
3939 | * controller that is still configured. | ||
3940 | */ | ||
3941 | struct ahc_softc * | ||
3942 | ahc_find_softc(struct ahc_softc *ahc) | ||
3943 | { | ||
3944 | struct ahc_softc *list_ahc; | ||
3945 | |||
3946 | TAILQ_FOREACH(list_ahc, &ahc_tailq, links) { | ||
3947 | if (list_ahc == ahc) | ||
3948 | return (ahc); | ||
3949 | } | ||
3950 | return (NULL); | ||
3951 | } | ||
3952 | |||
3953 | void | 3937 | void |
3954 | ahc_set_unit(struct ahc_softc *ahc, int unit) | 3938 | ahc_set_unit(struct ahc_softc *ahc, int unit) |
3955 | { | 3939 | { |
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index c13e56320010..b89094db14c1 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c | |||
@@ -122,8 +122,6 @@ | |||
122 | #include "aic7xxx_osm.h" | 122 | #include "aic7xxx_osm.h" |
123 | #include "aic7xxx_inline.h" | 123 | #include "aic7xxx_inline.h" |
124 | #include <scsi/scsicam.h> | 124 | #include <scsi/scsicam.h> |
125 | #include <scsi/scsi_transport.h> | ||
126 | #include <scsi/scsi_transport_spi.h> | ||
127 | 125 | ||
128 | static struct scsi_transport_template *ahc_linux_transport_template = NULL; | 126 | static struct scsi_transport_template *ahc_linux_transport_template = NULL; |
129 | 127 | ||
@@ -332,22 +330,6 @@ static uint32_t aic7xxx_extended; | |||
332 | static uint32_t aic7xxx_pci_parity = ~0; | 330 | static uint32_t aic7xxx_pci_parity = ~0; |
333 | 331 | ||
334 | /* | 332 | /* |
335 | * Certain newer motherboards have put new PCI based devices into the | ||
336 | * IO spaces that used to typically be occupied by VLB or EISA cards. | ||
337 | * This overlap can cause these newer motherboards to lock up when scanned | ||
338 | * for older EISA and VLB devices. Setting this option to non-0 will | ||
339 | * cause the driver to skip scanning for any VLB or EISA controllers and | ||
340 | * only support the PCI controllers. NOTE: this means that if the kernel | ||
341 | * os compiled with PCI support disabled, then setting this to non-0 | ||
342 | * would result in never finding any devices :) | ||
343 | */ | ||
344 | #ifndef CONFIG_AIC7XXX_PROBE_EISA_VL | ||
345 | uint32_t aic7xxx_probe_eisa_vl; | ||
346 | #else | ||
347 | uint32_t aic7xxx_probe_eisa_vl = ~0; | ||
348 | #endif | ||
349 | |||
350 | /* | ||
351 | * There are lots of broken chipsets in the world. Some of them will | 333 | * There are lots of broken chipsets in the world. Some of them will |
352 | * violate the PCI spec when we issue byte sized memory writes to our | 334 | * violate the PCI spec when we issue byte sized memory writes to our |
353 | * controller. I/O mapped register access, if allowed by the given | 335 | * controller. I/O mapped register access, if allowed by the given |
@@ -423,7 +405,7 @@ MODULE_PARM_DESC(aic7xxx, | |||
423 | ); | 405 | ); |
424 | 406 | ||
425 | static void ahc_linux_handle_scsi_status(struct ahc_softc *, | 407 | static void ahc_linux_handle_scsi_status(struct ahc_softc *, |
426 | struct ahc_linux_device *, | 408 | struct scsi_device *, |
427 | struct scb *); | 409 | struct scb *); |
428 | static void ahc_linux_queue_cmd_complete(struct ahc_softc *ahc, | 410 | static void ahc_linux_queue_cmd_complete(struct ahc_softc *ahc, |
429 | struct scsi_cmnd *cmd); | 411 | struct scsi_cmnd *cmd); |
@@ -434,17 +416,7 @@ static int ahc_linux_queue_recovery_cmd(struct scsi_cmnd *cmd, scb_flag flag); | |||
434 | static void ahc_linux_initialize_scsi_bus(struct ahc_softc *ahc); | 416 | static void ahc_linux_initialize_scsi_bus(struct ahc_softc *ahc); |
435 | static u_int ahc_linux_user_tagdepth(struct ahc_softc *ahc, | 417 | static u_int ahc_linux_user_tagdepth(struct ahc_softc *ahc, |
436 | struct ahc_devinfo *devinfo); | 418 | struct ahc_devinfo *devinfo); |
437 | static void ahc_linux_device_queue_depth(struct ahc_softc *ahc, | 419 | static void ahc_linux_device_queue_depth(struct scsi_device *); |
438 | struct ahc_linux_device *dev); | ||
439 | static struct ahc_linux_target* ahc_linux_alloc_target(struct ahc_softc*, | ||
440 | u_int, u_int); | ||
441 | static void ahc_linux_free_target(struct ahc_softc*, | ||
442 | struct ahc_linux_target*); | ||
443 | static struct ahc_linux_device* ahc_linux_alloc_device(struct ahc_softc*, | ||
444 | struct ahc_linux_target*, | ||
445 | u_int); | ||
446 | static void ahc_linux_free_device(struct ahc_softc*, | ||
447 | struct ahc_linux_device*); | ||
448 | static int ahc_linux_run_command(struct ahc_softc*, | 420 | static int ahc_linux_run_command(struct ahc_softc*, |
449 | struct ahc_linux_device *, | 421 | struct ahc_linux_device *, |
450 | struct scsi_cmnd *); | 422 | struct scsi_cmnd *); |
@@ -454,32 +426,12 @@ static int aic7xxx_setup(char *s); | |||
454 | static int ahc_linux_next_unit(void); | 426 | static int ahc_linux_next_unit(void); |
455 | 427 | ||
456 | /********************************* Inlines ************************************/ | 428 | /********************************* Inlines ************************************/ |
457 | static __inline struct ahc_linux_device* | ||
458 | ahc_linux_get_device(struct ahc_softc *ahc, u_int channel, | ||
459 | u_int target, u_int lun); | ||
460 | static __inline void ahc_linux_unmap_scb(struct ahc_softc*, struct scb*); | 429 | static __inline void ahc_linux_unmap_scb(struct ahc_softc*, struct scb*); |
461 | 430 | ||
462 | static __inline int ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb, | 431 | static __inline int ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb, |
463 | struct ahc_dma_seg *sg, | 432 | struct ahc_dma_seg *sg, |
464 | dma_addr_t addr, bus_size_t len); | 433 | dma_addr_t addr, bus_size_t len); |
465 | 434 | ||
466 | static __inline struct ahc_linux_device* | ||
467 | ahc_linux_get_device(struct ahc_softc *ahc, u_int channel, u_int target, | ||
468 | u_int lun) | ||
469 | { | ||
470 | struct ahc_linux_target *targ; | ||
471 | struct ahc_linux_device *dev; | ||
472 | u_int target_offset; | ||
473 | |||
474 | target_offset = target; | ||
475 | if (channel != 0) | ||
476 | target_offset += 8; | ||
477 | targ = ahc->platform_data->targets[target_offset]; | ||
478 | BUG_ON(targ == NULL); | ||
479 | dev = targ->devices[lun]; | ||
480 | return dev; | ||
481 | } | ||
482 | |||
483 | static __inline void | 435 | static __inline void |
484 | ahc_linux_unmap_scb(struct ahc_softc *ahc, struct scb *scb) | 436 | ahc_linux_unmap_scb(struct ahc_softc *ahc, struct scb *scb) |
485 | { | 437 | { |
@@ -533,17 +485,6 @@ ahc_linux_detect(struct scsi_host_template *template) | |||
533 | int found = 0; | 485 | int found = 0; |
534 | 486 | ||
535 | /* | 487 | /* |
536 | * Sanity checking of Linux SCSI data structures so | ||
537 | * that some of our hacks^H^H^H^H^Hassumptions aren't | ||
538 | * violated. | ||
539 | */ | ||
540 | if (offsetof(struct ahc_cmd_internal, end) | ||
541 | > offsetof(struct scsi_cmnd, host_scribble)) { | ||
542 | printf("ahc_linux_detect: SCSI data structures changed.\n"); | ||
543 | printf("ahc_linux_detect: Unable to attach\n"); | ||
544 | return (0); | ||
545 | } | ||
546 | /* | ||
547 | * If we've been passed any parameters, process them now. | 488 | * If we've been passed any parameters, process them now. |
548 | */ | 489 | */ |
549 | if (aic7xxx) | 490 | if (aic7xxx) |
@@ -611,7 +552,7 @@ static int | |||
611 | ahc_linux_queue(struct scsi_cmnd * cmd, void (*scsi_done) (struct scsi_cmnd *)) | 552 | ahc_linux_queue(struct scsi_cmnd * cmd, void (*scsi_done) (struct scsi_cmnd *)) |
612 | { | 553 | { |
613 | struct ahc_softc *ahc; | 554 | struct ahc_softc *ahc; |
614 | struct ahc_linux_device *dev; | 555 | struct ahc_linux_device *dev = scsi_transport_device_data(cmd->device); |
615 | 556 | ||
616 | ahc = *(struct ahc_softc **)cmd->device->host->hostdata; | 557 | ahc = *(struct ahc_softc **)cmd->device->host->hostdata; |
617 | 558 | ||
@@ -629,132 +570,177 @@ ahc_linux_queue(struct scsi_cmnd * cmd, void (*scsi_done) (struct scsi_cmnd *)) | |||
629 | if (ahc->platform_data->qfrozen != 0) | 570 | if (ahc->platform_data->qfrozen != 0) |
630 | return SCSI_MLQUEUE_HOST_BUSY; | 571 | return SCSI_MLQUEUE_HOST_BUSY; |
631 | 572 | ||
632 | dev = ahc_linux_get_device(ahc, cmd->device->channel, cmd->device->id, | ||
633 | cmd->device->lun); | ||
634 | BUG_ON(dev == NULL); | ||
635 | |||
636 | cmd->result = CAM_REQ_INPROG << 16; | 573 | cmd->result = CAM_REQ_INPROG << 16; |
637 | 574 | ||
638 | return ahc_linux_run_command(ahc, dev, cmd); | 575 | return ahc_linux_run_command(ahc, dev, cmd); |
639 | } | 576 | } |
640 | 577 | ||
641 | static int | 578 | static inline struct scsi_target ** |
642 | ahc_linux_slave_alloc(struct scsi_device *device) | 579 | ahc_linux_target_in_softc(struct scsi_target *starget) |
643 | { | 580 | { |
644 | struct ahc_softc *ahc; | 581 | struct ahc_softc *ahc = |
645 | struct ahc_linux_target *targ; | 582 | *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata); |
646 | struct scsi_target *starget = device->sdev_target; | ||
647 | struct ahc_linux_device *dev; | ||
648 | unsigned int target_offset; | 583 | unsigned int target_offset; |
584 | |||
585 | target_offset = starget->id; | ||
586 | if (starget->channel != 0) | ||
587 | target_offset += 8; | ||
588 | |||
589 | return &ahc->platform_data->starget[target_offset]; | ||
590 | } | ||
591 | |||
592 | static int | ||
593 | ahc_linux_target_alloc(struct scsi_target *starget) | ||
594 | { | ||
595 | struct ahc_softc *ahc = | ||
596 | *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata); | ||
597 | struct seeprom_config *sc = ahc->seep_config; | ||
649 | unsigned long flags; | 598 | unsigned long flags; |
650 | int retval = -ENOMEM; | 599 | struct scsi_target **ahc_targp = ahc_linux_target_in_softc(starget); |
600 | struct ahc_linux_target *targ = scsi_transport_target_data(starget); | ||
601 | unsigned short scsirate; | ||
602 | struct ahc_devinfo devinfo; | ||
603 | struct ahc_initiator_tinfo *tinfo; | ||
604 | struct ahc_tmode_tstate *tstate; | ||
605 | char channel = starget->channel + 'A'; | ||
606 | unsigned int our_id = ahc->our_id; | ||
607 | unsigned int target_offset; | ||
651 | 608 | ||
652 | target_offset = starget->id; | 609 | target_offset = starget->id; |
653 | if (starget->channel != 0) | 610 | if (starget->channel != 0) |
654 | target_offset += 8; | 611 | target_offset += 8; |
612 | |||
613 | if (starget->channel) | ||
614 | our_id = ahc->our_id_b; | ||
655 | 615 | ||
656 | ahc = *((struct ahc_softc **)device->host->hostdata); | ||
657 | if (bootverbose) | ||
658 | printf("%s: Slave Alloc %d\n", ahc_name(ahc), device->id); | ||
659 | ahc_lock(ahc, &flags); | 616 | ahc_lock(ahc, &flags); |
660 | targ = ahc->platform_data->targets[target_offset]; | ||
661 | if (targ == NULL) { | ||
662 | struct seeprom_config *sc; | ||
663 | 617 | ||
664 | targ = ahc_linux_alloc_target(ahc, starget->channel, | 618 | BUG_ON(*ahc_targp != NULL); |
665 | starget->id); | ||
666 | sc = ahc->seep_config; | ||
667 | if (targ == NULL) | ||
668 | goto out; | ||
669 | 619 | ||
670 | if (sc) { | 620 | *ahc_targp = starget; |
671 | unsigned short scsirate; | 621 | memset(targ, 0, sizeof(*targ)); |
672 | struct ahc_devinfo devinfo; | ||
673 | struct ahc_initiator_tinfo *tinfo; | ||
674 | struct ahc_tmode_tstate *tstate; | ||
675 | char channel = starget->channel + 'A'; | ||
676 | unsigned int our_id = ahc->our_id; | ||
677 | |||
678 | if (starget->channel) | ||
679 | our_id = ahc->our_id_b; | ||
680 | 622 | ||
681 | if ((ahc->features & AHC_ULTRA2) != 0) { | 623 | if (sc) { |
682 | scsirate = sc->device_flags[target_offset] & CFXFER; | 624 | int maxsync = AHC_SYNCRATE_DT; |
683 | } else { | 625 | int ultra = 0; |
684 | scsirate = (sc->device_flags[target_offset] & CFXFER) << 4; | 626 | int flags = sc->device_flags[target_offset]; |
685 | if (sc->device_flags[target_offset] & CFSYNCH) | 627 | |
686 | scsirate |= SOFS; | 628 | if (ahc->flags & AHC_NEWEEPROM_FMT) { |
687 | } | 629 | if (flags & CFSYNCHISULTRA) |
688 | if (sc->device_flags[target_offset] & CFWIDEB) { | 630 | ultra = 1; |
689 | scsirate |= WIDEXFER; | 631 | } else if (flags & CFULTRAEN) |
690 | spi_max_width(starget) = 1; | 632 | ultra = 1; |
691 | } else | 633 | /* AIC nutcase; 10MHz appears as ultra = 1, CFXFER = 0x04 |
692 | spi_max_width(starget) = 0; | 634 | * change it to ultra=0, CFXFER = 0 */ |
693 | spi_min_period(starget) = | 635 | if(ultra && (flags & CFXFER) == 0x04) { |
694 | ahc_find_period(ahc, scsirate, AHC_SYNCRATE_DT); | 636 | ultra = 0; |
695 | tinfo = ahc_fetch_transinfo(ahc, channel, ahc->our_id, | 637 | flags &= ~CFXFER; |
696 | targ->target, &tstate); | ||
697 | ahc_compile_devinfo(&devinfo, our_id, targ->target, | ||
698 | CAM_LUN_WILDCARD, channel, | ||
699 | ROLE_INITIATOR); | ||
700 | ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0, | ||
701 | AHC_TRANS_GOAL, /*paused*/FALSE); | ||
702 | ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, | ||
703 | AHC_TRANS_GOAL, /*paused*/FALSE); | ||
704 | } | 638 | } |
705 | 639 | ||
706 | } | 640 | if ((ahc->features & AHC_ULTRA2) != 0) { |
707 | dev = targ->devices[device->lun]; | 641 | scsirate = (flags & CFXFER) | (ultra ? 0x8 : 0); |
708 | if (dev == NULL) { | 642 | } else { |
709 | dev = ahc_linux_alloc_device(ahc, targ, device->lun); | 643 | scsirate = (flags & CFXFER) << 4; |
710 | if (dev == NULL) | 644 | maxsync = ultra ? AHC_SYNCRATE_ULTRA : |
711 | goto out; | 645 | AHC_SYNCRATE_FAST; |
646 | } | ||
647 | spi_max_width(starget) = (flags & CFWIDEB) ? 1 : 0; | ||
648 | if (!(flags & CFSYNCH)) | ||
649 | spi_max_offset(starget) = 0; | ||
650 | spi_min_period(starget) = | ||
651 | ahc_find_period(ahc, scsirate, maxsync); | ||
652 | |||
653 | tinfo = ahc_fetch_transinfo(ahc, channel, ahc->our_id, | ||
654 | starget->id, &tstate); | ||
712 | } | 655 | } |
713 | retval = 0; | 656 | ahc_compile_devinfo(&devinfo, our_id, starget->id, |
714 | 657 | CAM_LUN_WILDCARD, channel, | |
715 | out: | 658 | ROLE_INITIATOR); |
659 | ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0, | ||
660 | AHC_TRANS_GOAL, /*paused*/FALSE); | ||
661 | ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, | ||
662 | AHC_TRANS_GOAL, /*paused*/FALSE); | ||
716 | ahc_unlock(ahc, &flags); | 663 | ahc_unlock(ahc, &flags); |
717 | return retval; | 664 | |
665 | return 0; | ||
666 | } | ||
667 | |||
668 | static void | ||
669 | ahc_linux_target_destroy(struct scsi_target *starget) | ||
670 | { | ||
671 | struct scsi_target **ahc_targp = ahc_linux_target_in_softc(starget); | ||
672 | |||
673 | *ahc_targp = NULL; | ||
718 | } | 674 | } |
719 | 675 | ||
720 | static int | 676 | static int |
721 | ahc_linux_slave_configure(struct scsi_device *device) | 677 | ahc_linux_slave_alloc(struct scsi_device *sdev) |
678 | { | ||
679 | struct ahc_softc *ahc = | ||
680 | *((struct ahc_softc **)sdev->host->hostdata); | ||
681 | struct scsi_target *starget = sdev->sdev_target; | ||
682 | struct ahc_linux_target *targ = scsi_transport_target_data(starget); | ||
683 | struct ahc_linux_device *dev; | ||
684 | |||
685 | if (bootverbose) | ||
686 | printf("%s: Slave Alloc %d\n", ahc_name(ahc), sdev->id); | ||
687 | |||
688 | BUG_ON(targ->sdev[sdev->lun] != NULL); | ||
689 | |||
690 | dev = scsi_transport_device_data(sdev); | ||
691 | memset(dev, 0, sizeof(*dev)); | ||
692 | |||
693 | /* | ||
694 | * We start out life using untagged | ||
695 | * transactions of which we allow one. | ||
696 | */ | ||
697 | dev->openings = 1; | ||
698 | |||
699 | /* | ||
700 | * Set maxtags to 0. This will be changed if we | ||
701 | * later determine that we are dealing with | ||
702 | * a tagged queuing capable device. | ||
703 | */ | ||
704 | dev->maxtags = 0; | ||
705 | |||
706 | targ->sdev[sdev->lun] = sdev; | ||
707 | |||
708 | return 0; | ||
709 | } | ||
710 | |||
711 | static int | ||
712 | ahc_linux_slave_configure(struct scsi_device *sdev) | ||
722 | { | 713 | { |
723 | struct ahc_softc *ahc; | 714 | struct ahc_softc *ahc; |
724 | struct ahc_linux_device *dev; | ||
725 | 715 | ||
726 | ahc = *((struct ahc_softc **)device->host->hostdata); | 716 | ahc = *((struct ahc_softc **)sdev->host->hostdata); |
727 | 717 | ||
728 | if (bootverbose) | 718 | if (bootverbose) |
729 | printf("%s: Slave Configure %d\n", ahc_name(ahc), device->id); | 719 | printf("%s: Slave Configure %d\n", ahc_name(ahc), sdev->id); |
730 | 720 | ||
731 | dev = ahc_linux_get_device(ahc, device->channel, device->id, | 721 | ahc_linux_device_queue_depth(sdev); |
732 | device->lun); | ||
733 | dev->scsi_device = device; | ||
734 | ahc_linux_device_queue_depth(ahc, dev); | ||
735 | 722 | ||
736 | /* Initial Domain Validation */ | 723 | /* Initial Domain Validation */ |
737 | if (!spi_initial_dv(device->sdev_target)) | 724 | if (!spi_initial_dv(sdev->sdev_target)) |
738 | spi_dv_device(device); | 725 | spi_dv_device(sdev); |
739 | 726 | ||
740 | return 0; | 727 | return 0; |
741 | } | 728 | } |
742 | 729 | ||
743 | static void | 730 | static void |
744 | ahc_linux_slave_destroy(struct scsi_device *device) | 731 | ahc_linux_slave_destroy(struct scsi_device *sdev) |
745 | { | 732 | { |
746 | struct ahc_softc *ahc; | 733 | struct ahc_softc *ahc; |
747 | struct ahc_linux_device *dev; | 734 | struct ahc_linux_device *dev = scsi_transport_device_data(sdev); |
735 | struct ahc_linux_target *targ = scsi_transport_target_data(sdev->sdev_target); | ||
748 | 736 | ||
749 | ahc = *((struct ahc_softc **)device->host->hostdata); | 737 | ahc = *((struct ahc_softc **)sdev->host->hostdata); |
750 | if (bootverbose) | 738 | if (bootverbose) |
751 | printf("%s: Slave Destroy %d\n", ahc_name(ahc), device->id); | 739 | printf("%s: Slave Destroy %d\n", ahc_name(ahc), sdev->id); |
752 | dev = ahc_linux_get_device(ahc, device->channel, | ||
753 | device->id, device->lun); | ||
754 | 740 | ||
755 | BUG_ON(dev->active); | 741 | BUG_ON(dev->active); |
756 | 742 | ||
757 | ahc_linux_free_device(ahc, dev); | 743 | targ->sdev[sdev->lun] = NULL; |
758 | } | 744 | } |
759 | 745 | ||
760 | #if defined(__i386__) | 746 | #if defined(__i386__) |
@@ -843,10 +829,14 @@ ahc_linux_bus_reset(struct scsi_cmnd *cmd) | |||
843 | { | 829 | { |
844 | struct ahc_softc *ahc; | 830 | struct ahc_softc *ahc; |
845 | int found; | 831 | int found; |
832 | unsigned long flags; | ||
846 | 833 | ||
847 | ahc = *(struct ahc_softc **)cmd->device->host->hostdata; | 834 | ahc = *(struct ahc_softc **)cmd->device->host->hostdata; |
835 | |||
836 | ahc_lock(ahc, &flags); | ||
848 | found = ahc_reset_channel(ahc, cmd->device->channel + 'A', | 837 | found = ahc_reset_channel(ahc, cmd->device->channel + 'A', |
849 | /*initiate reset*/TRUE); | 838 | /*initiate reset*/TRUE); |
839 | ahc_unlock(ahc, &flags); | ||
850 | 840 | ||
851 | if (bootverbose) | 841 | if (bootverbose) |
852 | printf("%s: SCSI bus reset delivered. " | 842 | printf("%s: SCSI bus reset delivered. " |
@@ -874,6 +864,8 @@ struct scsi_host_template aic7xxx_driver_template = { | |||
874 | .slave_alloc = ahc_linux_slave_alloc, | 864 | .slave_alloc = ahc_linux_slave_alloc, |
875 | .slave_configure = ahc_linux_slave_configure, | 865 | .slave_configure = ahc_linux_slave_configure, |
876 | .slave_destroy = ahc_linux_slave_destroy, | 866 | .slave_destroy = ahc_linux_slave_destroy, |
867 | .target_alloc = ahc_linux_target_alloc, | ||
868 | .target_destroy = ahc_linux_target_destroy, | ||
877 | }; | 869 | }; |
878 | 870 | ||
879 | /**************************** Tasklet Handler *********************************/ | 871 | /**************************** Tasklet Handler *********************************/ |
@@ -1112,8 +1104,6 @@ aic7xxx_setup(char *s) | |||
1112 | { "debug", &ahc_debug }, | 1104 | { "debug", &ahc_debug }, |
1113 | #endif | 1105 | #endif |
1114 | { "reverse_scan", &aic7xxx_reverse_scan }, | 1106 | { "reverse_scan", &aic7xxx_reverse_scan }, |
1115 | { "no_probe", &aic7xxx_probe_eisa_vl }, | ||
1116 | { "probe_eisa_vl", &aic7xxx_probe_eisa_vl }, | ||
1117 | { "periodic_otag", &aic7xxx_periodic_otag }, | 1107 | { "periodic_otag", &aic7xxx_periodic_otag }, |
1118 | { "pci_parity", &aic7xxx_pci_parity }, | 1108 | { "pci_parity", &aic7xxx_pci_parity }, |
1119 | { "seltime", &aic7xxx_seltime }, | 1109 | { "seltime", &aic7xxx_seltime }, |
@@ -1335,8 +1325,7 @@ ahc_platform_alloc(struct ahc_softc *ahc, void *platform_arg) | |||
1335 | void | 1325 | void |
1336 | ahc_platform_free(struct ahc_softc *ahc) | 1326 | ahc_platform_free(struct ahc_softc *ahc) |
1337 | { | 1327 | { |
1338 | struct ahc_linux_target *targ; | 1328 | struct scsi_target *starget; |
1339 | struct ahc_linux_device *dev; | ||
1340 | int i, j; | 1329 | int i, j; |
1341 | 1330 | ||
1342 | if (ahc->platform_data != NULL) { | 1331 | if (ahc->platform_data != NULL) { |
@@ -1347,22 +1336,17 @@ ahc_platform_free(struct ahc_softc *ahc) | |||
1347 | 1336 | ||
1348 | /* destroy all of the device and target objects */ | 1337 | /* destroy all of the device and target objects */ |
1349 | for (i = 0; i < AHC_NUM_TARGETS; i++) { | 1338 | for (i = 0; i < AHC_NUM_TARGETS; i++) { |
1350 | targ = ahc->platform_data->targets[i]; | 1339 | starget = ahc->platform_data->starget[i]; |
1351 | if (targ != NULL) { | 1340 | if (starget != NULL) { |
1352 | /* Keep target around through the loop. */ | ||
1353 | targ->refcount++; | ||
1354 | for (j = 0; j < AHC_NUM_LUNS; j++) { | 1341 | for (j = 0; j < AHC_NUM_LUNS; j++) { |
1342 | struct ahc_linux_target *targ = | ||
1343 | scsi_transport_target_data(starget); | ||
1355 | 1344 | ||
1356 | if (targ->devices[j] == NULL) | 1345 | if (targ->sdev[j] == NULL) |
1357 | continue; | 1346 | continue; |
1358 | dev = targ->devices[j]; | 1347 | targ->sdev[j] = NULL; |
1359 | ahc_linux_free_device(ahc, dev); | ||
1360 | } | 1348 | } |
1361 | /* | 1349 | ahc->platform_data->starget[i] = NULL; |
1362 | * Forcibly free the target now that | ||
1363 | * all devices are gone. | ||
1364 | */ | ||
1365 | ahc_linux_free_target(ahc, targ); | ||
1366 | } | 1350 | } |
1367 | } | 1351 | } |
1368 | 1352 | ||
@@ -1395,15 +1379,25 @@ void | |||
1395 | ahc_platform_set_tags(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, | 1379 | ahc_platform_set_tags(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, |
1396 | ahc_queue_alg alg) | 1380 | ahc_queue_alg alg) |
1397 | { | 1381 | { |
1382 | struct scsi_target *starget; | ||
1383 | struct ahc_linux_target *targ; | ||
1398 | struct ahc_linux_device *dev; | 1384 | struct ahc_linux_device *dev; |
1385 | struct scsi_device *sdev; | ||
1386 | u_int target_offset; | ||
1399 | int was_queuing; | 1387 | int was_queuing; |
1400 | int now_queuing; | 1388 | int now_queuing; |
1401 | 1389 | ||
1402 | dev = ahc_linux_get_device(ahc, devinfo->channel - 'A', | 1390 | target_offset = devinfo->target; |
1403 | devinfo->target, | 1391 | if (devinfo->channel != 'A') |
1404 | devinfo->lun); | 1392 | target_offset += 8; |
1405 | if (dev == NULL) | 1393 | starget = ahc->platform_data->starget[target_offset]; |
1394 | targ = scsi_transport_target_data(starget); | ||
1395 | BUG_ON(targ == NULL); | ||
1396 | sdev = targ->sdev[devinfo->lun]; | ||
1397 | if (sdev == NULL) | ||
1406 | return; | 1398 | return; |
1399 | dev = scsi_transport_device_data(sdev); | ||
1400 | |||
1407 | was_queuing = dev->flags & (AHC_DEV_Q_BASIC|AHC_DEV_Q_TAGGED); | 1401 | was_queuing = dev->flags & (AHC_DEV_Q_BASIC|AHC_DEV_Q_TAGGED); |
1408 | switch (alg) { | 1402 | switch (alg) { |
1409 | default: | 1403 | default: |
@@ -1454,30 +1448,28 @@ ahc_platform_set_tags(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, | |||
1454 | dev->maxtags = 0; | 1448 | dev->maxtags = 0; |
1455 | dev->openings = 1 - dev->active; | 1449 | dev->openings = 1 - dev->active; |
1456 | } | 1450 | } |
1457 | if (dev->scsi_device != NULL) { | 1451 | switch ((dev->flags & (AHC_DEV_Q_BASIC|AHC_DEV_Q_TAGGED))) { |
1458 | switch ((dev->flags & (AHC_DEV_Q_BASIC|AHC_DEV_Q_TAGGED))) { | 1452 | case AHC_DEV_Q_BASIC: |
1459 | case AHC_DEV_Q_BASIC: | 1453 | scsi_adjust_queue_depth(sdev, |
1460 | scsi_adjust_queue_depth(dev->scsi_device, | 1454 | MSG_SIMPLE_TASK, |
1461 | MSG_SIMPLE_TASK, | 1455 | dev->openings + dev->active); |
1462 | dev->openings + dev->active); | 1456 | break; |
1463 | break; | 1457 | case AHC_DEV_Q_TAGGED: |
1464 | case AHC_DEV_Q_TAGGED: | 1458 | scsi_adjust_queue_depth(sdev, |
1465 | scsi_adjust_queue_depth(dev->scsi_device, | 1459 | MSG_ORDERED_TASK, |
1466 | MSG_ORDERED_TASK, | 1460 | dev->openings + dev->active); |
1467 | dev->openings + dev->active); | 1461 | break; |
1468 | break; | 1462 | default: |
1469 | default: | 1463 | /* |
1470 | /* | 1464 | * We allow the OS to queue 2 untagged transactions to |
1471 | * We allow the OS to queue 2 untagged transactions to | 1465 | * us at any time even though we can only execute them |
1472 | * us at any time even though we can only execute them | 1466 | * serially on the controller/device. This should |
1473 | * serially on the controller/device. This should | 1467 | * remove some latency. |
1474 | * remove some latency. | 1468 | */ |
1475 | */ | 1469 | scsi_adjust_queue_depth(sdev, |
1476 | scsi_adjust_queue_depth(dev->scsi_device, | 1470 | /*NON-TAGGED*/0, |
1477 | /*NON-TAGGED*/0, | 1471 | /*queue depth*/2); |
1478 | /*queue depth*/2); | 1472 | break; |
1479 | break; | ||
1480 | } | ||
1481 | } | 1473 | } |
1482 | } | 1474 | } |
1483 | 1475 | ||
@@ -1523,22 +1515,20 @@ ahc_linux_user_tagdepth(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) | |||
1523 | * Determines the queue depth for a given device. | 1515 | * Determines the queue depth for a given device. |
1524 | */ | 1516 | */ |
1525 | static void | 1517 | static void |
1526 | ahc_linux_device_queue_depth(struct ahc_softc *ahc, | 1518 | ahc_linux_device_queue_depth(struct scsi_device *sdev) |
1527 | struct ahc_linux_device *dev) | ||
1528 | { | 1519 | { |
1529 | struct ahc_devinfo devinfo; | 1520 | struct ahc_devinfo devinfo; |
1530 | u_int tags; | 1521 | u_int tags; |
1522 | struct ahc_softc *ahc = *((struct ahc_softc **)sdev->host->hostdata); | ||
1531 | 1523 | ||
1532 | ahc_compile_devinfo(&devinfo, | 1524 | ahc_compile_devinfo(&devinfo, |
1533 | dev->target->channel == 0 | 1525 | sdev->sdev_target->channel == 0 |
1534 | ? ahc->our_id : ahc->our_id_b, | 1526 | ? ahc->our_id : ahc->our_id_b, |
1535 | dev->target->target, dev->lun, | 1527 | sdev->sdev_target->id, sdev->lun, |
1536 | dev->target->channel == 0 ? 'A' : 'B', | 1528 | sdev->sdev_target->channel == 0 ? 'A' : 'B', |
1537 | ROLE_INITIATOR); | 1529 | ROLE_INITIATOR); |
1538 | tags = ahc_linux_user_tagdepth(ahc, &devinfo); | 1530 | tags = ahc_linux_user_tagdepth(ahc, &devinfo); |
1539 | if (tags != 0 | 1531 | if (tags != 0 && sdev->tagged_supported != 0) { |
1540 | && dev->scsi_device != NULL | ||
1541 | && dev->scsi_device->tagged_supported != 0) { | ||
1542 | 1532 | ||
1543 | ahc_set_tags(ahc, &devinfo, AHC_QUEUE_TAGGED); | 1533 | ahc_set_tags(ahc, &devinfo, AHC_QUEUE_TAGGED); |
1544 | ahc_print_devinfo(ahc, &devinfo); | 1534 | ahc_print_devinfo(ahc, &devinfo); |
@@ -1587,10 +1577,9 @@ ahc_linux_run_command(struct ahc_softc *ahc, struct ahc_linux_device *dev, | |||
1587 | /* | 1577 | /* |
1588 | * Get an scb to use. | 1578 | * Get an scb to use. |
1589 | */ | 1579 | */ |
1590 | if ((scb = ahc_get_scb(ahc)) == NULL) { | 1580 | scb = ahc_get_scb(ahc); |
1591 | ahc->flags |= AHC_RESOURCE_SHORTAGE; | 1581 | if (!scb) |
1592 | return SCSI_MLQUEUE_HOST_BUSY; | 1582 | return SCSI_MLQUEUE_HOST_BUSY; |
1593 | } | ||
1594 | 1583 | ||
1595 | scb->io_ctx = cmd; | 1584 | scb->io_ctx = cmd; |
1596 | scb->platform_data->dev = dev; | 1585 | scb->platform_data->dev = dev; |
@@ -1767,106 +1756,6 @@ ahc_platform_flushwork(struct ahc_softc *ahc) | |||
1767 | 1756 | ||
1768 | } | 1757 | } |
1769 | 1758 | ||
1770 | static struct ahc_linux_target* | ||
1771 | ahc_linux_alloc_target(struct ahc_softc *ahc, u_int channel, u_int target) | ||
1772 | { | ||
1773 | struct ahc_linux_target *targ; | ||
1774 | u_int target_offset; | ||
1775 | |||
1776 | target_offset = target; | ||
1777 | if (channel != 0) | ||
1778 | target_offset += 8; | ||
1779 | |||
1780 | targ = malloc(sizeof(*targ), M_DEVBUG, M_NOWAIT); | ||
1781 | if (targ == NULL) | ||
1782 | return (NULL); | ||
1783 | memset(targ, 0, sizeof(*targ)); | ||
1784 | targ->channel = channel; | ||
1785 | targ->target = target; | ||
1786 | targ->ahc = ahc; | ||
1787 | ahc->platform_data->targets[target_offset] = targ; | ||
1788 | return (targ); | ||
1789 | } | ||
1790 | |||
1791 | static void | ||
1792 | ahc_linux_free_target(struct ahc_softc *ahc, struct ahc_linux_target *targ) | ||
1793 | { | ||
1794 | struct ahc_devinfo devinfo; | ||
1795 | struct ahc_initiator_tinfo *tinfo; | ||
1796 | struct ahc_tmode_tstate *tstate; | ||
1797 | u_int our_id; | ||
1798 | u_int target_offset; | ||
1799 | char channel; | ||
1800 | |||
1801 | /* | ||
1802 | * Force a negotiation to async/narrow on any | ||
1803 | * future command to this device unless a bus | ||
1804 | * reset occurs between now and that command. | ||
1805 | */ | ||
1806 | channel = 'A' + targ->channel; | ||
1807 | our_id = ahc->our_id; | ||
1808 | target_offset = targ->target; | ||
1809 | if (targ->channel != 0) { | ||
1810 | target_offset += 8; | ||
1811 | our_id = ahc->our_id_b; | ||
1812 | } | ||
1813 | tinfo = ahc_fetch_transinfo(ahc, channel, our_id, | ||
1814 | targ->target, &tstate); | ||
1815 | ahc_compile_devinfo(&devinfo, our_id, targ->target, CAM_LUN_WILDCARD, | ||
1816 | channel, ROLE_INITIATOR); | ||
1817 | ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0, | ||
1818 | AHC_TRANS_GOAL, /*paused*/FALSE); | ||
1819 | ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, | ||
1820 | AHC_TRANS_GOAL, /*paused*/FALSE); | ||
1821 | ahc_update_neg_request(ahc, &devinfo, tstate, tinfo, AHC_NEG_ALWAYS); | ||
1822 | ahc->platform_data->targets[target_offset] = NULL; | ||
1823 | free(targ, M_DEVBUF); | ||
1824 | } | ||
1825 | |||
1826 | static struct ahc_linux_device* | ||
1827 | ahc_linux_alloc_device(struct ahc_softc *ahc, | ||
1828 | struct ahc_linux_target *targ, u_int lun) | ||
1829 | { | ||
1830 | struct ahc_linux_device *dev; | ||
1831 | |||
1832 | dev = malloc(sizeof(*dev), M_DEVBUG, M_NOWAIT); | ||
1833 | if (dev == NULL) | ||
1834 | return (NULL); | ||
1835 | memset(dev, 0, sizeof(*dev)); | ||
1836 | dev->lun = lun; | ||
1837 | dev->target = targ; | ||
1838 | |||
1839 | /* | ||
1840 | * We start out life using untagged | ||
1841 | * transactions of which we allow one. | ||
1842 | */ | ||
1843 | dev->openings = 1; | ||
1844 | |||
1845 | /* | ||
1846 | * Set maxtags to 0. This will be changed if we | ||
1847 | * later determine that we are dealing with | ||
1848 | * a tagged queuing capable device. | ||
1849 | */ | ||
1850 | dev->maxtags = 0; | ||
1851 | |||
1852 | targ->refcount++; | ||
1853 | targ->devices[lun] = dev; | ||
1854 | return (dev); | ||
1855 | } | ||
1856 | |||
1857 | static void | ||
1858 | ahc_linux_free_device(struct ahc_softc *ahc, struct ahc_linux_device *dev) | ||
1859 | { | ||
1860 | struct ahc_linux_target *targ; | ||
1861 | |||
1862 | targ = dev->target; | ||
1863 | targ->devices[dev->lun] = NULL; | ||
1864 | free(dev, M_DEVBUF); | ||
1865 | targ->refcount--; | ||
1866 | if (targ->refcount == 0) | ||
1867 | ahc_linux_free_target(ahc, targ); | ||
1868 | } | ||
1869 | |||
1870 | void | 1759 | void |
1871 | ahc_send_async(struct ahc_softc *ahc, char channel, | 1760 | ahc_send_async(struct ahc_softc *ahc, char channel, |
1872 | u_int target, u_int lun, ac_code code, void *arg) | 1761 | u_int target, u_int lun, ac_code code, void *arg) |
@@ -1875,11 +1764,15 @@ ahc_send_async(struct ahc_softc *ahc, char channel, | |||
1875 | case AC_TRANSFER_NEG: | 1764 | case AC_TRANSFER_NEG: |
1876 | { | 1765 | { |
1877 | char buf[80]; | 1766 | char buf[80]; |
1767 | struct scsi_target *starget; | ||
1878 | struct ahc_linux_target *targ; | 1768 | struct ahc_linux_target *targ; |
1879 | struct info_str info; | 1769 | struct info_str info; |
1880 | struct ahc_initiator_tinfo *tinfo; | 1770 | struct ahc_initiator_tinfo *tinfo; |
1881 | struct ahc_tmode_tstate *tstate; | 1771 | struct ahc_tmode_tstate *tstate; |
1882 | int target_offset; | 1772 | int target_offset; |
1773 | unsigned int target_ppr_options; | ||
1774 | |||
1775 | BUG_ON(target == CAM_TARGET_WILDCARD); | ||
1883 | 1776 | ||
1884 | info.buffer = buf; | 1777 | info.buffer = buf; |
1885 | info.length = sizeof(buf); | 1778 | info.length = sizeof(buf); |
@@ -1908,32 +1801,30 @@ ahc_send_async(struct ahc_softc *ahc, char channel, | |||
1908 | target_offset = target; | 1801 | target_offset = target; |
1909 | if (channel == 'B') | 1802 | if (channel == 'B') |
1910 | target_offset += 8; | 1803 | target_offset += 8; |
1911 | targ = ahc->platform_data->targets[target_offset]; | 1804 | starget = ahc->platform_data->starget[target_offset]; |
1805 | targ = scsi_transport_target_data(starget); | ||
1912 | if (targ == NULL) | 1806 | if (targ == NULL) |
1913 | break; | 1807 | break; |
1914 | if (tinfo->curr.period == targ->last_tinfo.period | 1808 | |
1915 | && tinfo->curr.width == targ->last_tinfo.width | 1809 | target_ppr_options = |
1916 | && tinfo->curr.offset == targ->last_tinfo.offset | 1810 | (spi_dt(starget) ? MSG_EXT_PPR_DT_REQ : 0) |
1917 | && tinfo->curr.ppr_options == targ->last_tinfo.ppr_options) | 1811 | + (spi_qas(starget) ? MSG_EXT_PPR_QAS_REQ : 0) |
1812 | + (spi_iu(starget) ? MSG_EXT_PPR_IU_REQ : 0); | ||
1813 | |||
1814 | if (tinfo->curr.period == spi_period(starget) | ||
1815 | && tinfo->curr.width == spi_width(starget) | ||
1816 | && tinfo->curr.offset == spi_offset(starget) | ||
1817 | && tinfo->curr.ppr_options == target_ppr_options) | ||
1918 | if (bootverbose == 0) | 1818 | if (bootverbose == 0) |
1919 | break; | 1819 | break; |
1920 | 1820 | ||
1921 | targ->last_tinfo.period = tinfo->curr.period; | 1821 | spi_period(starget) = tinfo->curr.period; |
1922 | targ->last_tinfo.width = tinfo->curr.width; | 1822 | spi_width(starget) = tinfo->curr.width; |
1923 | targ->last_tinfo.offset = tinfo->curr.offset; | 1823 | spi_offset(starget) = tinfo->curr.offset; |
1924 | targ->last_tinfo.ppr_options = tinfo->curr.ppr_options; | 1824 | spi_dt(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_DT_REQ; |
1925 | 1825 | spi_qas(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_QAS_REQ; | |
1926 | printf("(%s:%c:", ahc_name(ahc), channel); | 1826 | spi_iu(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ; |
1927 | if (target == CAM_TARGET_WILDCARD) | 1827 | spi_display_xfer_agreement(starget); |
1928 | printf("*): "); | ||
1929 | else | ||
1930 | printf("%d): ", target); | ||
1931 | ahc_format_transinfo(&info, &tinfo->curr); | ||
1932 | if (info.pos < info.length) | ||
1933 | *info.buffer = '\0'; | ||
1934 | else | ||
1935 | buf[info.length - 1] = '\0'; | ||
1936 | printf("%s", buf); | ||
1937 | break; | 1828 | break; |
1938 | } | 1829 | } |
1939 | case AC_SENT_BDR: | 1830 | case AC_SENT_BDR: |
@@ -2038,7 +1929,7 @@ ahc_done(struct ahc_softc *ahc, struct scb *scb) | |||
2038 | ahc_set_transaction_status(scb, CAM_REQ_CMP); | 1929 | ahc_set_transaction_status(scb, CAM_REQ_CMP); |
2039 | } | 1930 | } |
2040 | } else if (ahc_get_transaction_status(scb) == CAM_SCSI_STATUS_ERROR) { | 1931 | } else if (ahc_get_transaction_status(scb) == CAM_SCSI_STATUS_ERROR) { |
2041 | ahc_linux_handle_scsi_status(ahc, dev, scb); | 1932 | ahc_linux_handle_scsi_status(ahc, cmd->device, scb); |
2042 | } | 1933 | } |
2043 | 1934 | ||
2044 | if (dev->openings == 1 | 1935 | if (dev->openings == 1 |
@@ -2077,14 +1968,15 @@ ahc_done(struct ahc_softc *ahc, struct scb *scb) | |||
2077 | 1968 | ||
2078 | static void | 1969 | static void |
2079 | ahc_linux_handle_scsi_status(struct ahc_softc *ahc, | 1970 | ahc_linux_handle_scsi_status(struct ahc_softc *ahc, |
2080 | struct ahc_linux_device *dev, struct scb *scb) | 1971 | struct scsi_device *sdev, struct scb *scb) |
2081 | { | 1972 | { |
2082 | struct ahc_devinfo devinfo; | 1973 | struct ahc_devinfo devinfo; |
1974 | struct ahc_linux_device *dev = scsi_transport_device_data(sdev); | ||
2083 | 1975 | ||
2084 | ahc_compile_devinfo(&devinfo, | 1976 | ahc_compile_devinfo(&devinfo, |
2085 | ahc->our_id, | 1977 | ahc->our_id, |
2086 | dev->target->target, dev->lun, | 1978 | sdev->sdev_target->id, sdev->lun, |
2087 | dev->target->channel == 0 ? 'A' : 'B', | 1979 | sdev->sdev_target->channel == 0 ? 'A' : 'B', |
2088 | ROLE_INITIATOR); | 1980 | ROLE_INITIATOR); |
2089 | 1981 | ||
2090 | /* | 1982 | /* |
@@ -2361,6 +2253,8 @@ ahc_linux_queue_recovery_cmd(struct scsi_cmnd *cmd, scb_flag flag) | |||
2361 | printf(" 0x%x", cmd->cmnd[cdb_byte]); | 2253 | printf(" 0x%x", cmd->cmnd[cdb_byte]); |
2362 | printf("\n"); | 2254 | printf("\n"); |
2363 | 2255 | ||
2256 | spin_lock_irq(&ahc->platform_data->spin_lock); | ||
2257 | |||
2364 | /* | 2258 | /* |
2365 | * First determine if we currently own this command. | 2259 | * First determine if we currently own this command. |
2366 | * Start by searching the device queue. If not found | 2260 | * Start by searching the device queue. If not found |
@@ -2368,8 +2262,7 @@ ahc_linux_queue_recovery_cmd(struct scsi_cmnd *cmd, scb_flag flag) | |||
2368 | * at all, and the system wanted us to just abort the | 2262 | * at all, and the system wanted us to just abort the |
2369 | * command, return success. | 2263 | * command, return success. |
2370 | */ | 2264 | */ |
2371 | dev = ahc_linux_get_device(ahc, cmd->device->channel, cmd->device->id, | 2265 | dev = scsi_transport_device_data(cmd->device); |
2372 | cmd->device->lun); | ||
2373 | 2266 | ||
2374 | if (dev == NULL) { | 2267 | if (dev == NULL) { |
2375 | /* | 2268 | /* |
@@ -2616,6 +2509,8 @@ done: | |||
2616 | } | 2509 | } |
2617 | spin_lock_irq(&ahc->platform_data->spin_lock); | 2510 | spin_lock_irq(&ahc->platform_data->spin_lock); |
2618 | } | 2511 | } |
2512 | |||
2513 | spin_unlock_irq(&ahc->platform_data->spin_lock); | ||
2619 | return (retval); | 2514 | return (retval); |
2620 | } | 2515 | } |
2621 | 2516 | ||
@@ -2626,18 +2521,6 @@ ahc_platform_dump_card_state(struct ahc_softc *ahc) | |||
2626 | 2521 | ||
2627 | static void ahc_linux_exit(void); | 2522 | static void ahc_linux_exit(void); |
2628 | 2523 | ||
2629 | static void ahc_linux_get_width(struct scsi_target *starget) | ||
2630 | { | ||
2631 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | ||
2632 | struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); | ||
2633 | struct ahc_tmode_tstate *tstate; | ||
2634 | struct ahc_initiator_tinfo *tinfo | ||
2635 | = ahc_fetch_transinfo(ahc, | ||
2636 | starget->channel + 'A', | ||
2637 | shost->this_id, starget->id, &tstate); | ||
2638 | spi_width(starget) = tinfo->curr.width; | ||
2639 | } | ||
2640 | |||
2641 | static void ahc_linux_set_width(struct scsi_target *starget, int width) | 2524 | static void ahc_linux_set_width(struct scsi_target *starget, int width) |
2642 | { | 2525 | { |
2643 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | 2526 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); |
@@ -2652,18 +2535,6 @@ static void ahc_linux_set_width(struct scsi_target *starget, int width) | |||
2652 | ahc_unlock(ahc, &flags); | 2535 | ahc_unlock(ahc, &flags); |
2653 | } | 2536 | } |
2654 | 2537 | ||
2655 | static void ahc_linux_get_period(struct scsi_target *starget) | ||
2656 | { | ||
2657 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | ||
2658 | struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); | ||
2659 | struct ahc_tmode_tstate *tstate; | ||
2660 | struct ahc_initiator_tinfo *tinfo | ||
2661 | = ahc_fetch_transinfo(ahc, | ||
2662 | starget->channel + 'A', | ||
2663 | shost->this_id, starget->id, &tstate); | ||
2664 | spi_period(starget) = tinfo->curr.period; | ||
2665 | } | ||
2666 | |||
2667 | static void ahc_linux_set_period(struct scsi_target *starget, int period) | 2538 | static void ahc_linux_set_period(struct scsi_target *starget, int period) |
2668 | { | 2539 | { |
2669 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | 2540 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); |
@@ -2674,9 +2545,9 @@ static void ahc_linux_set_period(struct scsi_target *starget, int period) | |||
2674 | starget->channel + 'A', | 2545 | starget->channel + 'A', |
2675 | shost->this_id, starget->id, &tstate); | 2546 | shost->this_id, starget->id, &tstate); |
2676 | struct ahc_devinfo devinfo; | 2547 | struct ahc_devinfo devinfo; |
2677 | unsigned int ppr_options = tinfo->curr.ppr_options; | 2548 | unsigned int ppr_options = tinfo->goal.ppr_options; |
2678 | unsigned long flags; | 2549 | unsigned long flags; |
2679 | unsigned long offset = tinfo->curr.offset; | 2550 | unsigned long offset = tinfo->goal.offset; |
2680 | struct ahc_syncrate *syncrate; | 2551 | struct ahc_syncrate *syncrate; |
2681 | 2552 | ||
2682 | if (offset == 0) | 2553 | if (offset == 0) |
@@ -2692,7 +2563,6 @@ static void ahc_linux_set_period(struct scsi_target *starget, int period) | |||
2692 | 2563 | ||
2693 | /* all PPR requests apart from QAS require wide transfers */ | 2564 | /* all PPR requests apart from QAS require wide transfers */ |
2694 | if (ppr_options & ~MSG_EXT_PPR_QAS_REQ) { | 2565 | if (ppr_options & ~MSG_EXT_PPR_QAS_REQ) { |
2695 | ahc_linux_get_width(starget); | ||
2696 | if (spi_width(starget) == 0) | 2566 | if (spi_width(starget) == 0) |
2697 | ppr_options &= MSG_EXT_PPR_QAS_REQ; | 2567 | ppr_options &= MSG_EXT_PPR_QAS_REQ; |
2698 | } | 2568 | } |
@@ -2704,18 +2574,6 @@ static void ahc_linux_set_period(struct scsi_target *starget, int period) | |||
2704 | ahc_unlock(ahc, &flags); | 2574 | ahc_unlock(ahc, &flags); |
2705 | } | 2575 | } |
2706 | 2576 | ||
2707 | static void ahc_linux_get_offset(struct scsi_target *starget) | ||
2708 | { | ||
2709 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | ||
2710 | struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); | ||
2711 | struct ahc_tmode_tstate *tstate; | ||
2712 | struct ahc_initiator_tinfo *tinfo | ||
2713 | = ahc_fetch_transinfo(ahc, | ||
2714 | starget->channel + 'A', | ||
2715 | shost->this_id, starget->id, &tstate); | ||
2716 | spi_offset(starget) = tinfo->curr.offset; | ||
2717 | } | ||
2718 | |||
2719 | static void ahc_linux_set_offset(struct scsi_target *starget, int offset) | 2577 | static void ahc_linux_set_offset(struct scsi_target *starget, int offset) |
2720 | { | 2578 | { |
2721 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | 2579 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); |
@@ -2735,8 +2593,8 @@ static void ahc_linux_set_offset(struct scsi_target *starget, int offset) | |||
2735 | starget->channel + 'A', ROLE_INITIATOR); | 2593 | starget->channel + 'A', ROLE_INITIATOR); |
2736 | if (offset != 0) { | 2594 | if (offset != 0) { |
2737 | syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); | 2595 | syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); |
2738 | period = tinfo->curr.period; | 2596 | period = tinfo->goal.period; |
2739 | ppr_options = tinfo->curr.ppr_options; | 2597 | ppr_options = tinfo->goal.ppr_options; |
2740 | } | 2598 | } |
2741 | ahc_lock(ahc, &flags); | 2599 | ahc_lock(ahc, &flags); |
2742 | ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, | 2600 | ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, |
@@ -2744,18 +2602,6 @@ static void ahc_linux_set_offset(struct scsi_target *starget, int offset) | |||
2744 | ahc_unlock(ahc, &flags); | 2602 | ahc_unlock(ahc, &flags); |
2745 | } | 2603 | } |
2746 | 2604 | ||
2747 | static void ahc_linux_get_dt(struct scsi_target *starget) | ||
2748 | { | ||
2749 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | ||
2750 | struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); | ||
2751 | struct ahc_tmode_tstate *tstate; | ||
2752 | struct ahc_initiator_tinfo *tinfo | ||
2753 | = ahc_fetch_transinfo(ahc, | ||
2754 | starget->channel + 'A', | ||
2755 | shost->this_id, starget->id, &tstate); | ||
2756 | spi_dt(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_DT_REQ; | ||
2757 | } | ||
2758 | |||
2759 | static void ahc_linux_set_dt(struct scsi_target *starget, int dt) | 2605 | static void ahc_linux_set_dt(struct scsi_target *starget, int dt) |
2760 | { | 2606 | { |
2761 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | 2607 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); |
@@ -2766,9 +2612,9 @@ static void ahc_linux_set_dt(struct scsi_target *starget, int dt) | |||
2766 | starget->channel + 'A', | 2612 | starget->channel + 'A', |
2767 | shost->this_id, starget->id, &tstate); | 2613 | shost->this_id, starget->id, &tstate); |
2768 | struct ahc_devinfo devinfo; | 2614 | struct ahc_devinfo devinfo; |
2769 | unsigned int ppr_options = tinfo->curr.ppr_options | 2615 | unsigned int ppr_options = tinfo->goal.ppr_options |
2770 | & ~MSG_EXT_PPR_DT_REQ; | 2616 | & ~MSG_EXT_PPR_DT_REQ; |
2771 | unsigned int period = tinfo->curr.period; | 2617 | unsigned int period = tinfo->goal.period; |
2772 | unsigned long flags; | 2618 | unsigned long flags; |
2773 | struct ahc_syncrate *syncrate; | 2619 | struct ahc_syncrate *syncrate; |
2774 | 2620 | ||
@@ -2782,23 +2628,11 @@ static void ahc_linux_set_dt(struct scsi_target *starget, int dt) | |||
2782 | starget->channel + 'A', ROLE_INITIATOR); | 2628 | starget->channel + 'A', ROLE_INITIATOR); |
2783 | syncrate = ahc_find_syncrate(ahc, &period, &ppr_options,AHC_SYNCRATE_DT); | 2629 | syncrate = ahc_find_syncrate(ahc, &period, &ppr_options,AHC_SYNCRATE_DT); |
2784 | ahc_lock(ahc, &flags); | 2630 | ahc_lock(ahc, &flags); |
2785 | ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->curr.offset, | 2631 | ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, |
2786 | ppr_options, AHC_TRANS_GOAL, FALSE); | 2632 | ppr_options, AHC_TRANS_GOAL, FALSE); |
2787 | ahc_unlock(ahc, &flags); | 2633 | ahc_unlock(ahc, &flags); |
2788 | } | 2634 | } |
2789 | 2635 | ||
2790 | static void ahc_linux_get_qas(struct scsi_target *starget) | ||
2791 | { | ||
2792 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | ||
2793 | struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); | ||
2794 | struct ahc_tmode_tstate *tstate; | ||
2795 | struct ahc_initiator_tinfo *tinfo | ||
2796 | = ahc_fetch_transinfo(ahc, | ||
2797 | starget->channel + 'A', | ||
2798 | shost->this_id, starget->id, &tstate); | ||
2799 | spi_dt(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_QAS_REQ; | ||
2800 | } | ||
2801 | |||
2802 | static void ahc_linux_set_qas(struct scsi_target *starget, int qas) | 2636 | static void ahc_linux_set_qas(struct scsi_target *starget, int qas) |
2803 | { | 2637 | { |
2804 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | 2638 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); |
@@ -2809,9 +2643,9 @@ static void ahc_linux_set_qas(struct scsi_target *starget, int qas) | |||
2809 | starget->channel + 'A', | 2643 | starget->channel + 'A', |
2810 | shost->this_id, starget->id, &tstate); | 2644 | shost->this_id, starget->id, &tstate); |
2811 | struct ahc_devinfo devinfo; | 2645 | struct ahc_devinfo devinfo; |
2812 | unsigned int ppr_options = tinfo->curr.ppr_options | 2646 | unsigned int ppr_options = tinfo->goal.ppr_options |
2813 | & ~MSG_EXT_PPR_QAS_REQ; | 2647 | & ~MSG_EXT_PPR_QAS_REQ; |
2814 | unsigned int period = tinfo->curr.period; | 2648 | unsigned int period = tinfo->goal.period; |
2815 | unsigned long flags; | 2649 | unsigned long flags; |
2816 | struct ahc_syncrate *syncrate; | 2650 | struct ahc_syncrate *syncrate; |
2817 | 2651 | ||
@@ -2822,23 +2656,11 @@ static void ahc_linux_set_qas(struct scsi_target *starget, int qas) | |||
2822 | starget->channel + 'A', ROLE_INITIATOR); | 2656 | starget->channel + 'A', ROLE_INITIATOR); |
2823 | syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); | 2657 | syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); |
2824 | ahc_lock(ahc, &flags); | 2658 | ahc_lock(ahc, &flags); |
2825 | ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->curr.offset, | 2659 | ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, |
2826 | ppr_options, AHC_TRANS_GOAL, FALSE); | 2660 | ppr_options, AHC_TRANS_GOAL, FALSE); |
2827 | ahc_unlock(ahc, &flags); | 2661 | ahc_unlock(ahc, &flags); |
2828 | } | 2662 | } |
2829 | 2663 | ||
2830 | static void ahc_linux_get_iu(struct scsi_target *starget) | ||
2831 | { | ||
2832 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | ||
2833 | struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); | ||
2834 | struct ahc_tmode_tstate *tstate; | ||
2835 | struct ahc_initiator_tinfo *tinfo | ||
2836 | = ahc_fetch_transinfo(ahc, | ||
2837 | starget->channel + 'A', | ||
2838 | shost->this_id, starget->id, &tstate); | ||
2839 | spi_dt(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ; | ||
2840 | } | ||
2841 | |||
2842 | static void ahc_linux_set_iu(struct scsi_target *starget, int iu) | 2664 | static void ahc_linux_set_iu(struct scsi_target *starget, int iu) |
2843 | { | 2665 | { |
2844 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | 2666 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); |
@@ -2849,9 +2671,9 @@ static void ahc_linux_set_iu(struct scsi_target *starget, int iu) | |||
2849 | starget->channel + 'A', | 2671 | starget->channel + 'A', |
2850 | shost->this_id, starget->id, &tstate); | 2672 | shost->this_id, starget->id, &tstate); |
2851 | struct ahc_devinfo devinfo; | 2673 | struct ahc_devinfo devinfo; |
2852 | unsigned int ppr_options = tinfo->curr.ppr_options | 2674 | unsigned int ppr_options = tinfo->goal.ppr_options |
2853 | & ~MSG_EXT_PPR_IU_REQ; | 2675 | & ~MSG_EXT_PPR_IU_REQ; |
2854 | unsigned int period = tinfo->curr.period; | 2676 | unsigned int period = tinfo->goal.period; |
2855 | unsigned long flags; | 2677 | unsigned long flags; |
2856 | struct ahc_syncrate *syncrate; | 2678 | struct ahc_syncrate *syncrate; |
2857 | 2679 | ||
@@ -2862,28 +2684,22 @@ static void ahc_linux_set_iu(struct scsi_target *starget, int iu) | |||
2862 | starget->channel + 'A', ROLE_INITIATOR); | 2684 | starget->channel + 'A', ROLE_INITIATOR); |
2863 | syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); | 2685 | syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); |
2864 | ahc_lock(ahc, &flags); | 2686 | ahc_lock(ahc, &flags); |
2865 | ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->curr.offset, | 2687 | ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, |
2866 | ppr_options, AHC_TRANS_GOAL, FALSE); | 2688 | ppr_options, AHC_TRANS_GOAL, FALSE); |
2867 | ahc_unlock(ahc, &flags); | 2689 | ahc_unlock(ahc, &flags); |
2868 | } | 2690 | } |
2869 | 2691 | ||
2870 | static struct spi_function_template ahc_linux_transport_functions = { | 2692 | static struct spi_function_template ahc_linux_transport_functions = { |
2871 | .get_offset = ahc_linux_get_offset, | ||
2872 | .set_offset = ahc_linux_set_offset, | 2693 | .set_offset = ahc_linux_set_offset, |
2873 | .show_offset = 1, | 2694 | .show_offset = 1, |
2874 | .get_period = ahc_linux_get_period, | ||
2875 | .set_period = ahc_linux_set_period, | 2695 | .set_period = ahc_linux_set_period, |
2876 | .show_period = 1, | 2696 | .show_period = 1, |
2877 | .get_width = ahc_linux_get_width, | ||
2878 | .set_width = ahc_linux_set_width, | 2697 | .set_width = ahc_linux_set_width, |
2879 | .show_width = 1, | 2698 | .show_width = 1, |
2880 | .get_dt = ahc_linux_get_dt, | ||
2881 | .set_dt = ahc_linux_set_dt, | 2699 | .set_dt = ahc_linux_set_dt, |
2882 | .show_dt = 1, | 2700 | .show_dt = 1, |
2883 | .get_iu = ahc_linux_get_iu, | ||
2884 | .set_iu = ahc_linux_set_iu, | 2701 | .set_iu = ahc_linux_set_iu, |
2885 | .show_iu = 1, | 2702 | .show_iu = 1, |
2886 | .get_qas = ahc_linux_get_qas, | ||
2887 | .set_qas = ahc_linux_set_qas, | 2703 | .set_qas = ahc_linux_set_qas, |
2888 | .show_qas = 1, | 2704 | .show_qas = 1, |
2889 | }; | 2705 | }; |
@@ -2896,6 +2712,10 @@ ahc_linux_init(void) | |||
2896 | ahc_linux_transport_template = spi_attach_transport(&ahc_linux_transport_functions); | 2712 | ahc_linux_transport_template = spi_attach_transport(&ahc_linux_transport_functions); |
2897 | if (!ahc_linux_transport_template) | 2713 | if (!ahc_linux_transport_template) |
2898 | return -ENODEV; | 2714 | return -ENODEV; |
2715 | scsi_transport_reserve_target(ahc_linux_transport_template, | ||
2716 | sizeof(struct ahc_linux_target)); | ||
2717 | scsi_transport_reserve_device(ahc_linux_transport_template, | ||
2718 | sizeof(struct ahc_linux_device)); | ||
2899 | if (ahc_linux_detect(&aic7xxx_driver_template)) | 2719 | if (ahc_linux_detect(&aic7xxx_driver_template)) |
2900 | return 0; | 2720 | return 0; |
2901 | spi_release_transport(ahc_linux_transport_template); | 2721 | spi_release_transport(ahc_linux_transport_template); |
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.h b/drivers/scsi/aic7xxx/aic7xxx_osm.h index 30c200d5bcd5..8ffe2d3e1d95 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.h +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.h | |||
@@ -79,6 +79,8 @@ | |||
79 | #include <scsi/scsi_device.h> | 79 | #include <scsi/scsi_device.h> |
80 | #include <scsi/scsi_host.h> | 80 | #include <scsi/scsi_host.h> |
81 | #include <scsi/scsi_tcq.h> | 81 | #include <scsi/scsi_tcq.h> |
82 | #include <scsi/scsi_transport.h> | ||
83 | #include <scsi/scsi_transport_spi.h> | ||
82 | 84 | ||
83 | /* Core SCSI definitions */ | 85 | /* Core SCSI definitions */ |
84 | #define AIC_LIB_PREFIX ahc | 86 | #define AIC_LIB_PREFIX ahc |
@@ -127,23 +129,6 @@ typedef struct scsi_cmnd *ahc_io_ctx_t; | |||
127 | #define ahc_le32toh(x) le32_to_cpu(x) | 129 | #define ahc_le32toh(x) le32_to_cpu(x) |
128 | #define ahc_le64toh(x) le64_to_cpu(x) | 130 | #define ahc_le64toh(x) le64_to_cpu(x) |
129 | 131 | ||
130 | #ifndef LITTLE_ENDIAN | ||
131 | #define LITTLE_ENDIAN 1234 | ||
132 | #endif | ||
133 | |||
134 | #ifndef BIG_ENDIAN | ||
135 | #define BIG_ENDIAN 4321 | ||
136 | #endif | ||
137 | |||
138 | #ifndef BYTE_ORDER | ||
139 | #if defined(__BIG_ENDIAN) | ||
140 | #define BYTE_ORDER BIG_ENDIAN | ||
141 | #endif | ||
142 | #if defined(__LITTLE_ENDIAN) | ||
143 | #define BYTE_ORDER LITTLE_ENDIAN | ||
144 | #endif | ||
145 | #endif /* BYTE_ORDER */ | ||
146 | |||
147 | /************************* Configuration Data *********************************/ | 132 | /************************* Configuration Data *********************************/ |
148 | extern u_int aic7xxx_no_probe; | 133 | extern u_int aic7xxx_no_probe; |
149 | extern u_int aic7xxx_allow_memio; | 134 | extern u_int aic7xxx_allow_memio; |
@@ -283,35 +268,6 @@ ahc_scb_timer_reset(struct scb *scb, u_int usec) | |||
283 | 268 | ||
284 | #define AIC7XXX_DRIVER_VERSION "6.2.36" | 269 | #define AIC7XXX_DRIVER_VERSION "6.2.36" |
285 | 270 | ||
286 | /**************************** Front End Queues ********************************/ | ||
287 | /* | ||
288 | * Data structure used to cast the Linux struct scsi_cmnd to something | ||
289 | * that allows us to use the queue macros. The linux structure has | ||
290 | * plenty of space to hold the links fields as required by the queue | ||
291 | * macros, but the queue macors require them to have the correct type. | ||
292 | */ | ||
293 | struct ahc_cmd_internal { | ||
294 | /* Area owned by the Linux scsi layer. */ | ||
295 | uint8_t private[offsetof(struct scsi_cmnd, SCp.Status)]; | ||
296 | union { | ||
297 | STAILQ_ENTRY(ahc_cmd) ste; | ||
298 | LIST_ENTRY(ahc_cmd) le; | ||
299 | TAILQ_ENTRY(ahc_cmd) tqe; | ||
300 | } links; | ||
301 | uint32_t end; | ||
302 | }; | ||
303 | |||
304 | struct ahc_cmd { | ||
305 | union { | ||
306 | struct ahc_cmd_internal icmd; | ||
307 | struct scsi_cmnd scsi_cmd; | ||
308 | } un; | ||
309 | }; | ||
310 | |||
311 | #define acmd_icmd(cmd) ((cmd)->un.icmd) | ||
312 | #define acmd_scsi_cmd(cmd) ((cmd)->un.scsi_cmd) | ||
313 | #define acmd_links un.icmd.links | ||
314 | |||
315 | /*************************** Device Data Structures ***************************/ | 271 | /*************************** Device Data Structures ***************************/ |
316 | /* | 272 | /* |
317 | * A per probed device structure used to deal with some error recovery | 273 | * A per probed device structure used to deal with some error recovery |
@@ -320,7 +276,6 @@ struct ahc_cmd { | |||
320 | * after a successfully completed inquiry command to the target when | 276 | * after a successfully completed inquiry command to the target when |
321 | * that inquiry data indicates a lun is present. | 277 | * that inquiry data indicates a lun is present. |
322 | */ | 278 | */ |
323 | TAILQ_HEAD(ahc_busyq, ahc_cmd); | ||
324 | typedef enum { | 279 | typedef enum { |
325 | AHC_DEV_FREEZE_TIL_EMPTY = 0x02, /* Freeze queue until active == 0 */ | 280 | AHC_DEV_FREEZE_TIL_EMPTY = 0x02, /* Freeze queue until active == 0 */ |
326 | AHC_DEV_Q_BASIC = 0x10, /* Allow basic device queuing */ | 281 | AHC_DEV_Q_BASIC = 0x10, /* Allow basic device queuing */ |
@@ -330,8 +285,6 @@ typedef enum { | |||
330 | 285 | ||
331 | struct ahc_linux_target; | 286 | struct ahc_linux_target; |
332 | struct ahc_linux_device { | 287 | struct ahc_linux_device { |
333 | TAILQ_ENTRY(ahc_linux_device) links; | ||
334 | |||
335 | /* | 288 | /* |
336 | * The number of transactions currently | 289 | * The number of transactions currently |
337 | * queued to the device. | 290 | * queued to the device. |
@@ -401,17 +354,10 @@ struct ahc_linux_device { | |||
401 | */ | 354 | */ |
402 | u_int commands_since_idle_or_otag; | 355 | u_int commands_since_idle_or_otag; |
403 | #define AHC_OTAG_THRESH 500 | 356 | #define AHC_OTAG_THRESH 500 |
404 | |||
405 | int lun; | ||
406 | struct scsi_device *scsi_device; | ||
407 | struct ahc_linux_target *target; | ||
408 | }; | 357 | }; |
409 | 358 | ||
410 | struct ahc_linux_target { | 359 | struct ahc_linux_target { |
411 | struct ahc_linux_device *devices[AHC_NUM_LUNS]; | 360 | struct scsi_device *sdev[AHC_NUM_LUNS]; |
412 | int channel; | ||
413 | int target; | ||
414 | int refcount; | ||
415 | struct ahc_transinfo last_tinfo; | 361 | struct ahc_transinfo last_tinfo; |
416 | struct ahc_softc *ahc; | 362 | struct ahc_softc *ahc; |
417 | }; | 363 | }; |
@@ -445,7 +391,7 @@ struct ahc_platform_data { | |||
445 | /* | 391 | /* |
446 | * Fields accessed from interrupt context. | 392 | * Fields accessed from interrupt context. |
447 | */ | 393 | */ |
448 | struct ahc_linux_target *targets[AHC_NUM_TARGETS]; | 394 | struct scsi_target *starget[AHC_NUM_TARGETS]; |
449 | 395 | ||
450 | spinlock_t spin_lock; | 396 | spinlock_t spin_lock; |
451 | u_int qfrozen; | 397 | u_int qfrozen; |
@@ -659,7 +605,6 @@ typedef enum | |||
659 | 605 | ||
660 | /**************************** VL/EISA Routines ********************************/ | 606 | /**************************** VL/EISA Routines ********************************/ |
661 | #ifdef CONFIG_EISA | 607 | #ifdef CONFIG_EISA |
662 | extern uint32_t aic7xxx_probe_eisa_vl; | ||
663 | int ahc_linux_eisa_init(void); | 608 | int ahc_linux_eisa_init(void); |
664 | void ahc_linux_eisa_exit(void); | 609 | void ahc_linux_eisa_exit(void); |
665 | int aic7770_map_registers(struct ahc_softc *ahc, | 610 | int aic7770_map_registers(struct ahc_softc *ahc, |
@@ -924,7 +869,6 @@ ahc_notify_xfer_settings_change(struct ahc_softc *ahc, | |||
924 | static __inline void | 869 | static __inline void |
925 | ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb) | 870 | ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb) |
926 | { | 871 | { |
927 | ahc->flags &= ~AHC_RESOURCE_SHORTAGE; | ||
928 | } | 872 | } |
929 | 873 | ||
930 | int ahc_platform_alloc(struct ahc_softc *ahc, void *platform_arg); | 874 | int ahc_platform_alloc(struct ahc_softc *ahc, void *platform_arg); |
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c index 2a0ebce83e7a..89d737ee551a 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c | |||
@@ -140,27 +140,17 @@ struct pci_driver aic7xxx_pci_driver = { | |||
140 | static void | 140 | static void |
141 | ahc_linux_pci_dev_remove(struct pci_dev *pdev) | 141 | ahc_linux_pci_dev_remove(struct pci_dev *pdev) |
142 | { | 142 | { |
143 | struct ahc_softc *ahc; | 143 | struct ahc_softc *ahc = pci_get_drvdata(pdev); |
144 | u_long l; | 144 | u_long s; |
145 | 145 | ||
146 | /* | 146 | ahc_list_lock(&s); |
147 | * We should be able to just perform | 147 | TAILQ_REMOVE(&ahc_tailq, ahc, links); |
148 | * the free directly, but check our | 148 | ahc_list_unlock(&s); |
149 | * list for extra sanity. | ||
150 | */ | ||
151 | ahc_list_lock(&l); | ||
152 | ahc = ahc_find_softc((struct ahc_softc *)pci_get_drvdata(pdev)); | ||
153 | if (ahc != NULL) { | ||
154 | u_long s; | ||
155 | 149 | ||
156 | TAILQ_REMOVE(&ahc_tailq, ahc, links); | 150 | ahc_lock(ahc, &s); |
157 | ahc_list_unlock(&l); | 151 | ahc_intr_enable(ahc, FALSE); |
158 | ahc_lock(ahc, &s); | 152 | ahc_unlock(ahc, &s); |
159 | ahc_intr_enable(ahc, FALSE); | 153 | ahc_free(ahc); |
160 | ahc_unlock(ahc, &s); | ||
161 | ahc_free(ahc); | ||
162 | } else | ||
163 | ahc_list_unlock(&l); | ||
164 | } | 154 | } |
165 | 155 | ||
166 | static int | 156 | static int |
@@ -174,22 +164,6 @@ ahc_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
174 | char *name; | 164 | char *name; |
175 | int error; | 165 | int error; |
176 | 166 | ||
177 | /* | ||
178 | * Some BIOSen report the same device multiple times. | ||
179 | */ | ||
180 | TAILQ_FOREACH(ahc, &ahc_tailq, links) { | ||
181 | struct pci_dev *probed_pdev; | ||
182 | |||
183 | probed_pdev = ahc->dev_softc; | ||
184 | if (probed_pdev->bus->number == pdev->bus->number | ||
185 | && probed_pdev->devfn == pdev->devfn) | ||
186 | break; | ||
187 | } | ||
188 | if (ahc != NULL) { | ||
189 | /* Skip duplicate. */ | ||
190 | return (-ENODEV); | ||
191 | } | ||
192 | |||
193 | pci = pdev; | 167 | pci = pdev; |
194 | entry = ahc_find_pci_device(pci); | 168 | entry = ahc_find_pci_device(pci); |
195 | if (entry == NULL) | 169 | if (entry == NULL) |
diff --git a/drivers/scsi/aic7xxx/aic7xxx_proc.c b/drivers/scsi/aic7xxx/aic7xxx_proc.c index 5fece859fbd9..ab4469d83fb1 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_proc.c +++ b/drivers/scsi/aic7xxx/aic7xxx_proc.c | |||
@@ -50,7 +50,7 @@ static void ahc_dump_target_state(struct ahc_softc *ahc, | |||
50 | u_int our_id, char channel, | 50 | u_int our_id, char channel, |
51 | u_int target_id, u_int target_offset); | 51 | u_int target_id, u_int target_offset); |
52 | static void ahc_dump_device_state(struct info_str *info, | 52 | static void ahc_dump_device_state(struct info_str *info, |
53 | struct ahc_linux_device *dev); | 53 | struct scsi_device *dev); |
54 | static int ahc_proc_write_seeprom(struct ahc_softc *ahc, | 54 | static int ahc_proc_write_seeprom(struct ahc_softc *ahc, |
55 | char *buffer, int length); | 55 | char *buffer, int length); |
56 | 56 | ||
@@ -142,6 +142,7 @@ ahc_dump_target_state(struct ahc_softc *ahc, struct info_str *info, | |||
142 | u_int target_offset) | 142 | u_int target_offset) |
143 | { | 143 | { |
144 | struct ahc_linux_target *targ; | 144 | struct ahc_linux_target *targ; |
145 | struct scsi_target *starget; | ||
145 | struct ahc_initiator_tinfo *tinfo; | 146 | struct ahc_initiator_tinfo *tinfo; |
146 | struct ahc_tmode_tstate *tstate; | 147 | struct ahc_tmode_tstate *tstate; |
147 | int lun; | 148 | int lun; |
@@ -153,7 +154,8 @@ ahc_dump_target_state(struct ahc_softc *ahc, struct info_str *info, | |||
153 | copy_info(info, "Target %d Negotiation Settings\n", target_id); | 154 | copy_info(info, "Target %d Negotiation Settings\n", target_id); |
154 | copy_info(info, "\tUser: "); | 155 | copy_info(info, "\tUser: "); |
155 | ahc_format_transinfo(info, &tinfo->user); | 156 | ahc_format_transinfo(info, &tinfo->user); |
156 | targ = ahc->platform_data->targets[target_offset]; | 157 | starget = ahc->platform_data->starget[target_offset]; |
158 | targ = scsi_transport_target_data(starget); | ||
157 | if (targ == NULL) | 159 | if (targ == NULL) |
158 | return; | 160 | return; |
159 | 161 | ||
@@ -163,22 +165,25 @@ ahc_dump_target_state(struct ahc_softc *ahc, struct info_str *info, | |||
163 | ahc_format_transinfo(info, &tinfo->curr); | 165 | ahc_format_transinfo(info, &tinfo->curr); |
164 | 166 | ||
165 | for (lun = 0; lun < AHC_NUM_LUNS; lun++) { | 167 | for (lun = 0; lun < AHC_NUM_LUNS; lun++) { |
166 | struct ahc_linux_device *dev; | 168 | struct scsi_device *sdev; |
167 | 169 | ||
168 | dev = targ->devices[lun]; | 170 | sdev = targ->sdev[lun]; |
169 | 171 | ||
170 | if (dev == NULL) | 172 | if (sdev == NULL) |
171 | continue; | 173 | continue; |
172 | 174 | ||
173 | ahc_dump_device_state(info, dev); | 175 | ahc_dump_device_state(info, sdev); |
174 | } | 176 | } |
175 | } | 177 | } |
176 | 178 | ||
177 | static void | 179 | static void |
178 | ahc_dump_device_state(struct info_str *info, struct ahc_linux_device *dev) | 180 | ahc_dump_device_state(struct info_str *info, struct scsi_device *sdev) |
179 | { | 181 | { |
182 | struct ahc_linux_device *dev = scsi_transport_device_data(sdev); | ||
183 | |||
180 | copy_info(info, "\tChannel %c Target %d Lun %d Settings\n", | 184 | copy_info(info, "\tChannel %c Target %d Lun %d Settings\n", |
181 | dev->target->channel + 'A', dev->target->target, dev->lun); | 185 | sdev->sdev_target->channel + 'A', |
186 | sdev->sdev_target->id, sdev->lun); | ||
182 | 187 | ||
183 | copy_info(info, "\t\tCommands Queued %ld\n", dev->commands_issued); | 188 | copy_info(info, "\t\tCommands Queued %ld\n", dev->commands_issued); |
184 | copy_info(info, "\t\tCommands Active %d\n", dev->active); | 189 | copy_info(info, "\t\tCommands Active %d\n", dev->active); |
@@ -292,20 +297,13 @@ int | |||
292 | ahc_linux_proc_info(struct Scsi_Host *shost, char *buffer, char **start, | 297 | ahc_linux_proc_info(struct Scsi_Host *shost, char *buffer, char **start, |
293 | off_t offset, int length, int inout) | 298 | off_t offset, int length, int inout) |
294 | { | 299 | { |
295 | struct ahc_softc *ahc; | 300 | struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata; |
296 | struct info_str info; | 301 | struct info_str info; |
297 | char ahc_info[256]; | 302 | char ahc_info[256]; |
298 | u_long s; | ||
299 | u_int max_targ; | 303 | u_int max_targ; |
300 | u_int i; | 304 | u_int i; |
301 | int retval; | 305 | int retval; |
302 | 306 | ||
303 | retval = -EINVAL; | ||
304 | ahc_list_lock(&s); | ||
305 | ahc = ahc_find_softc(*(struct ahc_softc **)shost->hostdata); | ||
306 | if (ahc == NULL) | ||
307 | goto done; | ||
308 | |||
309 | /* Has data been written to the file? */ | 307 | /* Has data been written to the file? */ |
310 | if (inout == TRUE) { | 308 | if (inout == TRUE) { |
311 | retval = ahc_proc_write_seeprom(ahc, buffer, length); | 309 | retval = ahc_proc_write_seeprom(ahc, buffer, length); |
@@ -367,6 +365,5 @@ ahc_linux_proc_info(struct Scsi_Host *shost, char *buffer, char **start, | |||
367 | } | 365 | } |
368 | retval = info.pos > info.offset ? info.pos - info.offset : 0; | 366 | retval = info.pos > info.offset ? info.pos - info.offset : 0; |
369 | done: | 367 | done: |
370 | ahc_list_unlock(&s); | ||
371 | return (retval); | 368 | return (retval); |
372 | } | 369 | } |
diff --git a/drivers/scsi/aic7xxx_old.c b/drivers/scsi/aic7xxx_old.c index 9e9d0c40187e..fac091e7093c 100644 --- a/drivers/scsi/aic7xxx_old.c +++ b/drivers/scsi/aic7xxx_old.c | |||
@@ -10358,7 +10358,7 @@ aic7xxx_queue(Scsi_Cmnd *cmd, void (*fn)(Scsi_Cmnd *)) | |||
10358 | * Returns an enumerated type that indicates the status of the operation. | 10358 | * Returns an enumerated type that indicates the status of the operation. |
10359 | *-F*************************************************************************/ | 10359 | *-F*************************************************************************/ |
10360 | static int | 10360 | static int |
10361 | aic7xxx_bus_device_reset(Scsi_Cmnd *cmd) | 10361 | __aic7xxx_bus_device_reset(Scsi_Cmnd *cmd) |
10362 | { | 10362 | { |
10363 | struct aic7xxx_host *p; | 10363 | struct aic7xxx_host *p; |
10364 | struct aic7xxx_scb *scb; | 10364 | struct aic7xxx_scb *scb; |
@@ -10551,6 +10551,18 @@ aic7xxx_bus_device_reset(Scsi_Cmnd *cmd) | |||
10551 | return SUCCESS; | 10551 | return SUCCESS; |
10552 | } | 10552 | } |
10553 | 10553 | ||
10554 | static int | ||
10555 | aic7xxx_bus_device_reset(Scsi_Cmnd *cmd) | ||
10556 | { | ||
10557 | int rc; | ||
10558 | |||
10559 | spin_lock_irq(cmd->device->host->host_lock); | ||
10560 | rc = __aic7xxx_bus_device_reset(cmd); | ||
10561 | spin_unlock_irq(cmd->device->host->host_lock); | ||
10562 | |||
10563 | return rc; | ||
10564 | } | ||
10565 | |||
10554 | 10566 | ||
10555 | /*+F************************************************************************* | 10567 | /*+F************************************************************************* |
10556 | * Function: | 10568 | * Function: |
@@ -10585,7 +10597,7 @@ aic7xxx_panic_abort(struct aic7xxx_host *p, Scsi_Cmnd *cmd) | |||
10585 | * Abort the current SCSI command(s). | 10597 | * Abort the current SCSI command(s). |
10586 | *-F*************************************************************************/ | 10598 | *-F*************************************************************************/ |
10587 | static int | 10599 | static int |
10588 | aic7xxx_abort(Scsi_Cmnd *cmd) | 10600 | __aic7xxx_abort(Scsi_Cmnd *cmd) |
10589 | { | 10601 | { |
10590 | struct aic7xxx_scb *scb = NULL; | 10602 | struct aic7xxx_scb *scb = NULL; |
10591 | struct aic7xxx_host *p; | 10603 | struct aic7xxx_host *p; |
@@ -10802,6 +10814,19 @@ success: | |||
10802 | return SUCCESS; | 10814 | return SUCCESS; |
10803 | } | 10815 | } |
10804 | 10816 | ||
10817 | static int | ||
10818 | aic7xxx_abort(Scsi_Cmnd *cmd) | ||
10819 | { | ||
10820 | int rc; | ||
10821 | |||
10822 | spin_lock_irq(cmd->device->host->host_lock); | ||
10823 | rc = __aic7xxx_abort(cmd); | ||
10824 | spin_unlock_irq(cmd->device->host->host_lock); | ||
10825 | |||
10826 | return rc; | ||
10827 | } | ||
10828 | |||
10829 | |||
10805 | /*+F************************************************************************* | 10830 | /*+F************************************************************************* |
10806 | * Function: | 10831 | * Function: |
10807 | * aic7xxx_reset | 10832 | * aic7xxx_reset |
@@ -10820,6 +10845,8 @@ aic7xxx_reset(Scsi_Cmnd *cmd) | |||
10820 | struct aic_dev_data *aic_dev; | 10845 | struct aic_dev_data *aic_dev; |
10821 | 10846 | ||
10822 | p = (struct aic7xxx_host *) cmd->device->host->hostdata; | 10847 | p = (struct aic7xxx_host *) cmd->device->host->hostdata; |
10848 | spin_lock_irq(p->host->host_lock); | ||
10849 | |||
10823 | aic_dev = AIC_DEV(cmd); | 10850 | aic_dev = AIC_DEV(cmd); |
10824 | if(aic7xxx_position(cmd) < p->scb_data->numscbs) | 10851 | if(aic7xxx_position(cmd) < p->scb_data->numscbs) |
10825 | { | 10852 | { |
@@ -10859,6 +10886,7 @@ aic7xxx_reset(Scsi_Cmnd *cmd) | |||
10859 | * longer have it. | 10886 | * longer have it. |
10860 | */ | 10887 | */ |
10861 | unpause_sequencer(p, FALSE); | 10888 | unpause_sequencer(p, FALSE); |
10889 | spin_unlock_irq(p->host->host_lock); | ||
10862 | return SUCCESS; | 10890 | return SUCCESS; |
10863 | } | 10891 | } |
10864 | 10892 | ||
@@ -10882,7 +10910,6 @@ aic7xxx_reset(Scsi_Cmnd *cmd) | |||
10882 | unpause_sequencer(p, FALSE); | 10910 | unpause_sequencer(p, FALSE); |
10883 | spin_unlock_irq(p->host->host_lock); | 10911 | spin_unlock_irq(p->host->host_lock); |
10884 | ssleep(2); | 10912 | ssleep(2); |
10885 | spin_lock_irq(p->host->host_lock); | ||
10886 | return SUCCESS; | 10913 | return SUCCESS; |
10887 | } | 10914 | } |
10888 | 10915 | ||
diff --git a/drivers/scsi/arm/cumana_1.c b/drivers/scsi/arm/cumana_1.c index 27271bfc01d7..26498553a7cc 100644 --- a/drivers/scsi/arm/cumana_1.c +++ b/drivers/scsi/arm/cumana_1.c | |||
@@ -244,9 +244,7 @@ static Scsi_Host_Template cumanascsi_template = { | |||
244 | .info = cumanascsi_info, | 244 | .info = cumanascsi_info, |
245 | .queuecommand = cumanascsi_queue_command, | 245 | .queuecommand = cumanascsi_queue_command, |
246 | .eh_abort_handler = NCR5380_abort, | 246 | .eh_abort_handler = NCR5380_abort, |
247 | .eh_device_reset_handler= NCR5380_device_reset, | ||
248 | .eh_bus_reset_handler = NCR5380_bus_reset, | 247 | .eh_bus_reset_handler = NCR5380_bus_reset, |
249 | .eh_host_reset_handler = NCR5380_host_reset, | ||
250 | .can_queue = 16, | 248 | .can_queue = 16, |
251 | .this_id = 7, | 249 | .this_id = 7, |
252 | .sg_tablesize = SG_ALL, | 250 | .sg_tablesize = SG_ALL, |
diff --git a/drivers/scsi/arm/ecoscsi.c b/drivers/scsi/arm/ecoscsi.c index 303648a84709..f8a7fdd3c465 100644 --- a/drivers/scsi/arm/ecoscsi.c +++ b/drivers/scsi/arm/ecoscsi.c | |||
@@ -162,9 +162,7 @@ static Scsi_Host_Template ecoscsi_template = { | |||
162 | .info = ecoscsi_info, | 162 | .info = ecoscsi_info, |
163 | .queuecommand = ecoscsi_queue_command, | 163 | .queuecommand = ecoscsi_queue_command, |
164 | .eh_abort_handler = NCR5380_abort, | 164 | .eh_abort_handler = NCR5380_abort, |
165 | .eh_device_reset_handler= NCR5380_device_reset, | ||
166 | .eh_bus_reset_handler = NCR5380_bus_reset, | 165 | .eh_bus_reset_handler = NCR5380_bus_reset, |
167 | .eh_host_reset_handler = NCR5380_host_reset, | ||
168 | .can_queue = 16, | 166 | .can_queue = 16, |
169 | .this_id = 7, | 167 | .this_id = 7, |
170 | .sg_tablesize = SG_ALL, | 168 | .sg_tablesize = SG_ALL, |
diff --git a/drivers/scsi/arm/fas216.c b/drivers/scsi/arm/fas216.c index 3838f88e1fe0..4772fb317f3e 100644 --- a/drivers/scsi/arm/fas216.c +++ b/drivers/scsi/arm/fas216.c | |||
@@ -2659,6 +2659,8 @@ int fas216_eh_host_reset(Scsi_Cmnd *SCpnt) | |||
2659 | { | 2659 | { |
2660 | FAS216_Info *info = (FAS216_Info *)SCpnt->device->host->hostdata; | 2660 | FAS216_Info *info = (FAS216_Info *)SCpnt->device->host->hostdata; |
2661 | 2661 | ||
2662 | spin_lock_irq(info->host->host_lock); | ||
2663 | |||
2662 | fas216_checkmagic(info); | 2664 | fas216_checkmagic(info); |
2663 | 2665 | ||
2664 | printk("scsi%d.%c: %s: resetting host\n", | 2666 | printk("scsi%d.%c: %s: resetting host\n", |
@@ -2686,6 +2688,7 @@ int fas216_eh_host_reset(Scsi_Cmnd *SCpnt) | |||
2686 | 2688 | ||
2687 | fas216_init_chip(info); | 2689 | fas216_init_chip(info); |
2688 | 2690 | ||
2691 | spin_unlock_irq(info->host->host_lock); | ||
2689 | return SUCCESS; | 2692 | return SUCCESS; |
2690 | } | 2693 | } |
2691 | 2694 | ||
diff --git a/drivers/scsi/arm/oak.c b/drivers/scsi/arm/oak.c index ff2554f4cb80..de24bb991f1d 100644 --- a/drivers/scsi/arm/oak.c +++ b/drivers/scsi/arm/oak.c | |||
@@ -118,9 +118,7 @@ static Scsi_Host_Template oakscsi_template = { | |||
118 | .info = oakscsi_info, | 118 | .info = oakscsi_info, |
119 | .queuecommand = oakscsi_queue_command, | 119 | .queuecommand = oakscsi_queue_command, |
120 | .eh_abort_handler = NCR5380_abort, | 120 | .eh_abort_handler = NCR5380_abort, |
121 | .eh_device_reset_handler= NCR5380_device_reset, | ||
122 | .eh_bus_reset_handler = NCR5380_bus_reset, | 121 | .eh_bus_reset_handler = NCR5380_bus_reset, |
123 | .eh_host_reset_handler = NCR5380_host_reset, | ||
124 | .can_queue = 16, | 122 | .can_queue = 16, |
125 | .this_id = 7, | 123 | .this_id = 7, |
126 | .sg_tablesize = SG_ALL, | 124 | .sg_tablesize = SG_ALL, |
diff --git a/drivers/scsi/atp870u.c b/drivers/scsi/atp870u.c index 45b75ddacaab..e6153fe5842a 100644 --- a/drivers/scsi/atp870u.c +++ b/drivers/scsi/atp870u.c | |||
@@ -3146,8 +3146,8 @@ static const char *atp870u_info(struct Scsi_Host *notused) | |||
3146 | } | 3146 | } |
3147 | 3147 | ||
3148 | #define BLS buffer + len + size | 3148 | #define BLS buffer + len + size |
3149 | int atp870u_proc_info(struct Scsi_Host *HBAptr, char *buffer, | 3149 | static int atp870u_proc_info(struct Scsi_Host *HBAptr, char *buffer, |
3150 | char **start, off_t offset, int length, int inout) | 3150 | char **start, off_t offset, int length, int inout) |
3151 | { | 3151 | { |
3152 | static u8 buff[512]; | 3152 | static u8 buff[512]; |
3153 | int size = 0; | 3153 | int size = 0; |
diff --git a/drivers/scsi/ch.c b/drivers/scsi/ch.c new file mode 100644 index 000000000000..3900e28ac7d6 --- /dev/null +++ b/drivers/scsi/ch.c | |||
@@ -0,0 +1,1026 @@ | |||
1 | /* | ||
2 | * SCSI Media Changer device driver for Linux 2.6 | ||
3 | * | ||
4 | * (c) 1996-2003 Gerd Knorr <kraxel@bytesex.org> | ||
5 | * | ||
6 | */ | ||
7 | |||
8 | #define VERSION "0.25" | ||
9 | |||
10 | #include <linux/config.h> | ||
11 | #include <linux/module.h> | ||
12 | #include <linux/init.h> | ||
13 | #include <linux/fs.h> | ||
14 | #include <linux/kernel.h> | ||
15 | #include <linux/sched.h> | ||
16 | #include <linux/mm.h> | ||
17 | #include <linux/major.h> | ||
18 | #include <linux/string.h> | ||
19 | #include <linux/errno.h> | ||
20 | #include <linux/interrupt.h> | ||
21 | #include <linux/blkdev.h> | ||
22 | #include <linux/completion.h> | ||
23 | #include <linux/devfs_fs_kernel.h> | ||
24 | #include <linux/ioctl32.h> | ||
25 | #include <linux/compat.h> | ||
26 | #include <linux/chio.h> /* here are all the ioctls */ | ||
27 | |||
28 | #include <scsi/scsi.h> | ||
29 | #include <scsi/scsi_cmnd.h> | ||
30 | #include <scsi/scsi_driver.h> | ||
31 | #include <scsi/scsi_ioctl.h> | ||
32 | #include <scsi/scsi_host.h> | ||
33 | #include <scsi/scsi_device.h> | ||
34 | #include <scsi/scsi_request.h> | ||
35 | #include <scsi/scsi_dbg.h> | ||
36 | |||
37 | #define CH_DT_MAX 16 | ||
38 | #define CH_TYPES 8 | ||
39 | |||
40 | MODULE_DESCRIPTION("device driver for scsi media changer devices"); | ||
41 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org>"); | ||
42 | MODULE_LICENSE("GPL"); | ||
43 | |||
44 | static int init = 1; | ||
45 | module_param(init, int, 0444); | ||
46 | MODULE_PARM_DESC(init, \ | ||
47 | "initialize element status on driver load (default: on)"); | ||
48 | |||
49 | static int timeout_move = 300; | ||
50 | module_param(timeout_move, int, 0644); | ||
51 | MODULE_PARM_DESC(timeout_move,"timeout for move commands " | ||
52 | "(default: 300 seconds)"); | ||
53 | |||
54 | static int timeout_init = 3600; | ||
55 | module_param(timeout_init, int, 0644); | ||
56 | MODULE_PARM_DESC(timeout_init,"timeout for INITIALIZE ELEMENT STATUS " | ||
57 | "(default: 3600 seconds)"); | ||
58 | |||
59 | static int verbose = 1; | ||
60 | module_param(verbose, int, 0644); | ||
61 | MODULE_PARM_DESC(verbose,"be verbose (default: on)"); | ||
62 | |||
63 | static int debug = 0; | ||
64 | module_param(debug, int, 0644); | ||
65 | MODULE_PARM_DESC(debug,"enable/disable debug messages, also prints more " | ||
66 | "detailed sense codes on scsi errors (default: off)"); | ||
67 | |||
68 | static int dt_id[CH_DT_MAX] = { [ 0 ... (CH_DT_MAX-1) ] = -1 }; | ||
69 | static int dt_lun[CH_DT_MAX]; | ||
70 | module_param_array(dt_id, int, NULL, 0444); | ||
71 | module_param_array(dt_lun, int, NULL, 0444); | ||
72 | |||
73 | /* tell the driver about vendor-specific slots */ | ||
74 | static int vendor_firsts[CH_TYPES-4]; | ||
75 | static int vendor_counts[CH_TYPES-4]; | ||
76 | module_param_array(vendor_firsts, int, NULL, 0444); | ||
77 | module_param_array(vendor_counts, int, NULL, 0444); | ||
78 | |||
79 | static char *vendor_labels[CH_TYPES-4] = { | ||
80 | "v0", "v1", "v2", "v3" | ||
81 | }; | ||
82 | // module_param_string_array(vendor_labels, NULL, 0444); | ||
83 | |||
84 | #define dprintk(fmt, arg...) if (debug) \ | ||
85 | printk(KERN_DEBUG "%s: " fmt, ch->name , ## arg) | ||
86 | #define vprintk(fmt, arg...) if (verbose) \ | ||
87 | printk(KERN_INFO "%s: " fmt, ch->name , ## arg) | ||
88 | |||
89 | /* ------------------------------------------------------------------- */ | ||
90 | |||
91 | #define MAX_RETRIES 1 | ||
92 | |||
93 | static int ch_probe(struct device *); | ||
94 | static int ch_remove(struct device *); | ||
95 | static int ch_open(struct inode * inode, struct file * filp); | ||
96 | static int ch_release(struct inode * inode, struct file * filp); | ||
97 | static int ch_ioctl(struct inode * inode, struct file * filp, | ||
98 | unsigned int cmd, unsigned long arg); | ||
99 | #ifdef CONFIG_COMPAT | ||
100 | static long ch_ioctl_compat(struct file * filp, | ||
101 | unsigned int cmd, unsigned long arg); | ||
102 | #endif | ||
103 | |||
104 | static struct class * ch_sysfs_class; | ||
105 | |||
106 | typedef struct { | ||
107 | struct list_head list; | ||
108 | int minor; | ||
109 | char name[8]; | ||
110 | struct scsi_device *device; | ||
111 | struct scsi_device **dt; /* ptrs to data transfer elements */ | ||
112 | u_int firsts[CH_TYPES]; | ||
113 | u_int counts[CH_TYPES]; | ||
114 | u_int unit_attention; | ||
115 | u_int voltags; | ||
116 | struct semaphore lock; | ||
117 | } scsi_changer; | ||
118 | |||
119 | static LIST_HEAD(ch_devlist); | ||
120 | static spinlock_t ch_devlist_lock = SPIN_LOCK_UNLOCKED; | ||
121 | static int ch_devcount; | ||
122 | |||
123 | static struct scsi_driver ch_template = | ||
124 | { | ||
125 | .owner = THIS_MODULE, | ||
126 | .gendrv = { | ||
127 | .name = "ch", | ||
128 | .probe = ch_probe, | ||
129 | .remove = ch_remove, | ||
130 | }, | ||
131 | }; | ||
132 | |||
133 | static struct file_operations changer_fops = | ||
134 | { | ||
135 | .owner = THIS_MODULE, | ||
136 | .open = ch_open, | ||
137 | .release = ch_release, | ||
138 | .ioctl = ch_ioctl, | ||
139 | #ifdef CONFIG_COMPAT | ||
140 | .compat_ioctl = ch_ioctl_compat, | ||
141 | #endif | ||
142 | }; | ||
143 | |||
144 | static struct { | ||
145 | unsigned char sense; | ||
146 | unsigned char asc; | ||
147 | unsigned char ascq; | ||
148 | int errno; | ||
149 | } err[] = { | ||
150 | /* Just filled in what looks right. Hav'nt checked any standard paper for | ||
151 | these errno assignments, so they may be wrong... */ | ||
152 | { | ||
153 | .sense = ILLEGAL_REQUEST, | ||
154 | .asc = 0x21, | ||
155 | .ascq = 0x01, | ||
156 | .errno = EBADSLT, /* Invalid element address */ | ||
157 | },{ | ||
158 | .sense = ILLEGAL_REQUEST, | ||
159 | .asc = 0x28, | ||
160 | .ascq = 0x01, | ||
161 | .errno = EBADE, /* Import or export element accessed */ | ||
162 | },{ | ||
163 | .sense = ILLEGAL_REQUEST, | ||
164 | .asc = 0x3B, | ||
165 | .ascq = 0x0D, | ||
166 | .errno = EXFULL, /* Medium destination element full */ | ||
167 | },{ | ||
168 | .sense = ILLEGAL_REQUEST, | ||
169 | .asc = 0x3B, | ||
170 | .ascq = 0x0E, | ||
171 | .errno = EBADE, /* Medium source element empty */ | ||
172 | },{ | ||
173 | .sense = ILLEGAL_REQUEST, | ||
174 | .asc = 0x20, | ||
175 | .ascq = 0x00, | ||
176 | .errno = EBADRQC, /* Invalid command operation code */ | ||
177 | },{ | ||
178 | /* end of list */ | ||
179 | } | ||
180 | }; | ||
181 | |||
182 | /* ------------------------------------------------------------------- */ | ||
183 | |||
184 | static int ch_find_errno(unsigned char *sense_buffer) | ||
185 | { | ||
186 | int i,errno = 0; | ||
187 | |||
188 | /* Check to see if additional sense information is available */ | ||
189 | if (sense_buffer[7] > 5 && | ||
190 | sense_buffer[12] != 0) { | ||
191 | for (i = 0; err[i].errno != 0; i++) { | ||
192 | if (err[i].sense == sense_buffer[ 2] && | ||
193 | err[i].asc == sense_buffer[12] && | ||
194 | err[i].ascq == sense_buffer[13]) { | ||
195 | errno = -err[i].errno; | ||
196 | break; | ||
197 | } | ||
198 | } | ||
199 | } | ||
200 | if (errno == 0) | ||
201 | errno = -EIO; | ||
202 | return errno; | ||
203 | } | ||
204 | |||
205 | static int | ||
206 | ch_do_scsi(scsi_changer *ch, unsigned char *cmd, | ||
207 | void *buffer, unsigned buflength, | ||
208 | enum dma_data_direction direction) | ||
209 | { | ||
210 | int errno, retries = 0, timeout; | ||
211 | struct scsi_request *sr; | ||
212 | |||
213 | sr = scsi_allocate_request(ch->device, GFP_KERNEL); | ||
214 | if (NULL == sr) | ||
215 | return -ENOMEM; | ||
216 | |||
217 | timeout = (cmd[0] == INITIALIZE_ELEMENT_STATUS) | ||
218 | ? timeout_init : timeout_move; | ||
219 | |||
220 | retry: | ||
221 | errno = 0; | ||
222 | if (debug) { | ||
223 | dprintk("command: "); | ||
224 | __scsi_print_command(cmd); | ||
225 | } | ||
226 | |||
227 | scsi_wait_req(sr, cmd, buffer, buflength, | ||
228 | timeout * HZ, MAX_RETRIES); | ||
229 | |||
230 | dprintk("result: 0x%x\n",sr->sr_result); | ||
231 | if (driver_byte(sr->sr_result) & DRIVER_SENSE) { | ||
232 | if (debug) | ||
233 | scsi_print_req_sense(ch->name, sr); | ||
234 | errno = ch_find_errno(sr->sr_sense_buffer); | ||
235 | |||
236 | switch(sr->sr_sense_buffer[2] & 0xf) { | ||
237 | case UNIT_ATTENTION: | ||
238 | ch->unit_attention = 1; | ||
239 | if (retries++ < 3) | ||
240 | goto retry; | ||
241 | break; | ||
242 | } | ||
243 | } | ||
244 | scsi_release_request(sr); | ||
245 | return errno; | ||
246 | } | ||
247 | |||
248 | /* ------------------------------------------------------------------------ */ | ||
249 | |||
250 | static int | ||
251 | ch_elem_to_typecode(scsi_changer *ch, u_int elem) | ||
252 | { | ||
253 | int i; | ||
254 | |||
255 | for (i = 0; i < CH_TYPES; i++) { | ||
256 | if (elem >= ch->firsts[i] && | ||
257 | elem < ch->firsts[i] + | ||
258 | ch->counts[i]) | ||
259 | return i+1; | ||
260 | } | ||
261 | return 0; | ||
262 | } | ||
263 | |||
264 | static int | ||
265 | ch_read_element_status(scsi_changer *ch, u_int elem, char *data) | ||
266 | { | ||
267 | u_char cmd[12]; | ||
268 | u_char *buffer; | ||
269 | int result; | ||
270 | |||
271 | buffer = kmalloc(512, GFP_KERNEL | GFP_DMA); | ||
272 | if(!buffer) | ||
273 | return -ENOMEM; | ||
274 | |||
275 | retry: | ||
276 | memset(cmd,0,sizeof(cmd)); | ||
277 | cmd[0] = READ_ELEMENT_STATUS; | ||
278 | cmd[1] = (ch->device->lun << 5) | | ||
279 | (ch->voltags ? 0x10 : 0) | | ||
280 | ch_elem_to_typecode(ch,elem); | ||
281 | cmd[2] = (elem >> 8) & 0xff; | ||
282 | cmd[3] = elem & 0xff; | ||
283 | cmd[5] = 1; | ||
284 | cmd[9] = 255; | ||
285 | if (0 == (result = ch_do_scsi(ch, cmd, buffer, 256, DMA_FROM_DEVICE))) { | ||
286 | if (((buffer[16] << 8) | buffer[17]) != elem) { | ||
287 | dprintk("asked for element 0x%02x, got 0x%02x\n", | ||
288 | elem,(buffer[16] << 8) | buffer[17]); | ||
289 | kfree(buffer); | ||
290 | return -EIO; | ||
291 | } | ||
292 | memcpy(data,buffer+16,16); | ||
293 | } else { | ||
294 | if (ch->voltags) { | ||
295 | ch->voltags = 0; | ||
296 | vprintk("device has no volume tag support\n"); | ||
297 | goto retry; | ||
298 | } | ||
299 | dprintk("READ ELEMENT STATUS for element 0x%x failed\n",elem); | ||
300 | } | ||
301 | kfree(buffer); | ||
302 | return result; | ||
303 | } | ||
304 | |||
305 | static int | ||
306 | ch_init_elem(scsi_changer *ch) | ||
307 | { | ||
308 | int err; | ||
309 | u_char cmd[6]; | ||
310 | |||
311 | vprintk("INITIALIZE ELEMENT STATUS, may take some time ...\n"); | ||
312 | memset(cmd,0,sizeof(cmd)); | ||
313 | cmd[0] = INITIALIZE_ELEMENT_STATUS; | ||
314 | cmd[1] = ch->device->lun << 5; | ||
315 | err = ch_do_scsi(ch, cmd, NULL, 0, DMA_NONE); | ||
316 | vprintk("... finished\n"); | ||
317 | return err; | ||
318 | } | ||
319 | |||
320 | static int | ||
321 | ch_readconfig(scsi_changer *ch) | ||
322 | { | ||
323 | u_char cmd[10], data[16]; | ||
324 | u_char *buffer; | ||
325 | int result,id,lun,i; | ||
326 | u_int elem; | ||
327 | |||
328 | buffer = kmalloc(512, GFP_KERNEL | GFP_DMA); | ||
329 | if (!buffer) | ||
330 | return -ENOMEM; | ||
331 | memset(buffer,0,512); | ||
332 | |||
333 | memset(cmd,0,sizeof(cmd)); | ||
334 | cmd[0] = MODE_SENSE; | ||
335 | cmd[1] = ch->device->lun << 5; | ||
336 | cmd[2] = 0x1d; | ||
337 | cmd[4] = 255; | ||
338 | result = ch_do_scsi(ch, cmd, buffer, 255, DMA_FROM_DEVICE); | ||
339 | if (0 != result) { | ||
340 | cmd[1] |= (1<<3); | ||
341 | result = ch_do_scsi(ch, cmd, buffer, 255, DMA_FROM_DEVICE); | ||
342 | } | ||
343 | if (0 == result) { | ||
344 | ch->firsts[CHET_MT] = | ||
345 | (buffer[buffer[3]+ 6] << 8) | buffer[buffer[3]+ 7]; | ||
346 | ch->counts[CHET_MT] = | ||
347 | (buffer[buffer[3]+ 8] << 8) | buffer[buffer[3]+ 9]; | ||
348 | ch->firsts[CHET_ST] = | ||
349 | (buffer[buffer[3]+10] << 8) | buffer[buffer[3]+11]; | ||
350 | ch->counts[CHET_ST] = | ||
351 | (buffer[buffer[3]+12] << 8) | buffer[buffer[3]+13]; | ||
352 | ch->firsts[CHET_IE] = | ||
353 | (buffer[buffer[3]+14] << 8) | buffer[buffer[3]+15]; | ||
354 | ch->counts[CHET_IE] = | ||
355 | (buffer[buffer[3]+16] << 8) | buffer[buffer[3]+17]; | ||
356 | ch->firsts[CHET_DT] = | ||
357 | (buffer[buffer[3]+18] << 8) | buffer[buffer[3]+19]; | ||
358 | ch->counts[CHET_DT] = | ||
359 | (buffer[buffer[3]+20] << 8) | buffer[buffer[3]+21]; | ||
360 | vprintk("type #1 (mt): 0x%x+%d [medium transport]\n", | ||
361 | ch->firsts[CHET_MT], | ||
362 | ch->counts[CHET_MT]); | ||
363 | vprintk("type #2 (st): 0x%x+%d [storage]\n", | ||
364 | ch->firsts[CHET_ST], | ||
365 | ch->counts[CHET_ST]); | ||
366 | vprintk("type #3 (ie): 0x%x+%d [import/export]\n", | ||
367 | ch->firsts[CHET_IE], | ||
368 | ch->counts[CHET_IE]); | ||
369 | vprintk("type #4 (dt): 0x%x+%d [data transfer]\n", | ||
370 | ch->firsts[CHET_DT], | ||
371 | ch->counts[CHET_DT]); | ||
372 | } else { | ||
373 | vprintk("reading element address assigment page failed!\n"); | ||
374 | } | ||
375 | |||
376 | /* vendor specific element types */ | ||
377 | for (i = 0; i < 4; i++) { | ||
378 | if (0 == vendor_counts[i]) | ||
379 | continue; | ||
380 | if (NULL == vendor_labels[i]) | ||
381 | continue; | ||
382 | ch->firsts[CHET_V1+i] = vendor_firsts[i]; | ||
383 | ch->counts[CHET_V1+i] = vendor_counts[i]; | ||
384 | vprintk("type #%d (v%d): 0x%x+%d [%s, vendor specific]\n", | ||
385 | i+5,i+1,vendor_firsts[i],vendor_counts[i], | ||
386 | vendor_labels[i]); | ||
387 | } | ||
388 | |||
389 | /* look up the devices of the data transfer elements */ | ||
390 | ch->dt = kmalloc(ch->counts[CHET_DT]*sizeof(struct scsi_device), | ||
391 | GFP_KERNEL); | ||
392 | for (elem = 0; elem < ch->counts[CHET_DT]; elem++) { | ||
393 | id = -1; | ||
394 | lun = 0; | ||
395 | if (elem < CH_DT_MAX && -1 != dt_id[elem]) { | ||
396 | id = dt_id[elem]; | ||
397 | lun = dt_lun[elem]; | ||
398 | vprintk("dt 0x%x: [insmod option] ", | ||
399 | elem+ch->firsts[CHET_DT]); | ||
400 | } else if (0 != ch_read_element_status | ||
401 | (ch,elem+ch->firsts[CHET_DT],data)) { | ||
402 | vprintk("dt 0x%x: READ ELEMENT STATUS failed\n", | ||
403 | elem+ch->firsts[CHET_DT]); | ||
404 | } else { | ||
405 | vprintk("dt 0x%x: ",elem+ch->firsts[CHET_DT]); | ||
406 | if (data[6] & 0x80) { | ||
407 | if (verbose) | ||
408 | printk("not this SCSI bus\n"); | ||
409 | ch->dt[elem] = NULL; | ||
410 | } else if (0 == (data[6] & 0x30)) { | ||
411 | if (verbose) | ||
412 | printk("ID/LUN unknown\n"); | ||
413 | ch->dt[elem] = NULL; | ||
414 | } else { | ||
415 | id = ch->device->id; | ||
416 | lun = 0; | ||
417 | if (data[6] & 0x20) id = data[7]; | ||
418 | if (data[6] & 0x10) lun = data[6] & 7; | ||
419 | } | ||
420 | } | ||
421 | if (-1 != id) { | ||
422 | if (verbose) | ||
423 | printk("ID %i, LUN %i, ",id,lun); | ||
424 | ch->dt[elem] = | ||
425 | scsi_device_lookup(ch->device->host, | ||
426 | ch->device->channel, | ||
427 | id,lun); | ||
428 | if (!ch->dt[elem]) { | ||
429 | /* should not happen */ | ||
430 | if (verbose) | ||
431 | printk("Huh? device not found!\n"); | ||
432 | } else { | ||
433 | if (verbose) | ||
434 | printk("name: %8.8s %16.16s %4.4s\n", | ||
435 | ch->dt[elem]->vendor, | ||
436 | ch->dt[elem]->model, | ||
437 | ch->dt[elem]->rev); | ||
438 | } | ||
439 | } | ||
440 | } | ||
441 | ch->voltags = 1; | ||
442 | kfree(buffer); | ||
443 | |||
444 | return 0; | ||
445 | } | ||
446 | |||
447 | /* ------------------------------------------------------------------------ */ | ||
448 | |||
449 | static int | ||
450 | ch_position(scsi_changer *ch, u_int trans, u_int elem, int rotate) | ||
451 | { | ||
452 | u_char cmd[10]; | ||
453 | |||
454 | dprintk("position: 0x%x\n",elem); | ||
455 | if (0 == trans) | ||
456 | trans = ch->firsts[CHET_MT]; | ||
457 | memset(cmd,0,sizeof(cmd)); | ||
458 | cmd[0] = POSITION_TO_ELEMENT; | ||
459 | cmd[1] = ch->device->lun << 5; | ||
460 | cmd[2] = (trans >> 8) & 0xff; | ||
461 | cmd[3] = trans & 0xff; | ||
462 | cmd[4] = (elem >> 8) & 0xff; | ||
463 | cmd[5] = elem & 0xff; | ||
464 | cmd[8] = rotate ? 1 : 0; | ||
465 | return ch_do_scsi(ch, cmd, NULL, 0, DMA_NONE); | ||
466 | } | ||
467 | |||
468 | static int | ||
469 | ch_move(scsi_changer *ch, u_int trans, u_int src, u_int dest, int rotate) | ||
470 | { | ||
471 | u_char cmd[12]; | ||
472 | |||
473 | dprintk("move: 0x%x => 0x%x\n",src,dest); | ||
474 | if (0 == trans) | ||
475 | trans = ch->firsts[CHET_MT]; | ||
476 | memset(cmd,0,sizeof(cmd)); | ||
477 | cmd[0] = MOVE_MEDIUM; | ||
478 | cmd[1] = ch->device->lun << 5; | ||
479 | cmd[2] = (trans >> 8) & 0xff; | ||
480 | cmd[3] = trans & 0xff; | ||
481 | cmd[4] = (src >> 8) & 0xff; | ||
482 | cmd[5] = src & 0xff; | ||
483 | cmd[6] = (dest >> 8) & 0xff; | ||
484 | cmd[7] = dest & 0xff; | ||
485 | cmd[10] = rotate ? 1 : 0; | ||
486 | return ch_do_scsi(ch, cmd, NULL,0, DMA_NONE); | ||
487 | } | ||
488 | |||
489 | static int | ||
490 | ch_exchange(scsi_changer *ch, u_int trans, u_int src, | ||
491 | u_int dest1, u_int dest2, int rotate1, int rotate2) | ||
492 | { | ||
493 | u_char cmd[12]; | ||
494 | |||
495 | dprintk("exchange: 0x%x => 0x%x => 0x%x\n", | ||
496 | src,dest1,dest2); | ||
497 | if (0 == trans) | ||
498 | trans = ch->firsts[CHET_MT]; | ||
499 | memset(cmd,0,sizeof(cmd)); | ||
500 | cmd[0] = EXCHANGE_MEDIUM; | ||
501 | cmd[1] = ch->device->lun << 5; | ||
502 | cmd[2] = (trans >> 8) & 0xff; | ||
503 | cmd[3] = trans & 0xff; | ||
504 | cmd[4] = (src >> 8) & 0xff; | ||
505 | cmd[5] = src & 0xff; | ||
506 | cmd[6] = (dest1 >> 8) & 0xff; | ||
507 | cmd[7] = dest1 & 0xff; | ||
508 | cmd[8] = (dest2 >> 8) & 0xff; | ||
509 | cmd[9] = dest2 & 0xff; | ||
510 | cmd[10] = (rotate1 ? 1 : 0) | (rotate2 ? 2 : 0); | ||
511 | |||
512 | return ch_do_scsi(ch, cmd, NULL,0, DMA_NONE); | ||
513 | } | ||
514 | |||
515 | static void | ||
516 | ch_check_voltag(char *tag) | ||
517 | { | ||
518 | int i; | ||
519 | |||
520 | for (i = 0; i < 32; i++) { | ||
521 | /* restrict to ascii */ | ||
522 | if (tag[i] >= 0x7f || tag[i] < 0x20) | ||
523 | tag[i] = ' '; | ||
524 | /* don't allow search wildcards */ | ||
525 | if (tag[i] == '?' || | ||
526 | tag[i] == '*') | ||
527 | tag[i] = ' '; | ||
528 | } | ||
529 | } | ||
530 | |||
531 | static int | ||
532 | ch_set_voltag(scsi_changer *ch, u_int elem, | ||
533 | int alternate, int clear, u_char *tag) | ||
534 | { | ||
535 | u_char cmd[12]; | ||
536 | u_char *buffer; | ||
537 | int result; | ||
538 | |||
539 | buffer = kmalloc(512, GFP_KERNEL); | ||
540 | if (!buffer) | ||
541 | return -ENOMEM; | ||
542 | memset(buffer,0,512); | ||
543 | |||
544 | dprintk("%s %s voltag: 0x%x => \"%s\"\n", | ||
545 | clear ? "clear" : "set", | ||
546 | alternate ? "alternate" : "primary", | ||
547 | elem, tag); | ||
548 | memset(cmd,0,sizeof(cmd)); | ||
549 | cmd[0] = SEND_VOLUME_TAG; | ||
550 | cmd[1] = (ch->device->lun << 5) | | ||
551 | ch_elem_to_typecode(ch,elem); | ||
552 | cmd[2] = (elem >> 8) & 0xff; | ||
553 | cmd[3] = elem & 0xff; | ||
554 | cmd[5] = clear | ||
555 | ? (alternate ? 0x0d : 0x0c) | ||
556 | : (alternate ? 0x0b : 0x0a); | ||
557 | |||
558 | cmd[9] = 255; | ||
559 | |||
560 | memcpy(buffer,tag,32); | ||
561 | ch_check_voltag(buffer); | ||
562 | |||
563 | result = ch_do_scsi(ch, cmd, buffer, 256, DMA_TO_DEVICE); | ||
564 | kfree(buffer); | ||
565 | return result; | ||
566 | } | ||
567 | |||
568 | static int ch_gstatus(scsi_changer *ch, int type, unsigned char *dest) | ||
569 | { | ||
570 | int retval = 0; | ||
571 | u_char data[16]; | ||
572 | unsigned int i; | ||
573 | |||
574 | down(&ch->lock); | ||
575 | for (i = 0; i < ch->counts[type]; i++) { | ||
576 | if (0 != ch_read_element_status | ||
577 | (ch, ch->firsts[type]+i,data)) { | ||
578 | retval = -EIO; | ||
579 | break; | ||
580 | } | ||
581 | put_user(data[2], dest+i); | ||
582 | if (data[2] & CESTATUS_EXCEPT) | ||
583 | vprintk("element 0x%x: asc=0x%x, ascq=0x%x\n", | ||
584 | ch->firsts[type]+i, | ||
585 | (int)data[4],(int)data[5]); | ||
586 | retval = ch_read_element_status | ||
587 | (ch, ch->firsts[type]+i,data); | ||
588 | if (0 != retval) | ||
589 | break; | ||
590 | } | ||
591 | up(&ch->lock); | ||
592 | return retval; | ||
593 | } | ||
594 | |||
595 | /* ------------------------------------------------------------------------ */ | ||
596 | |||
597 | static int | ||
598 | ch_release(struct inode *inode, struct file *file) | ||
599 | { | ||
600 | scsi_changer *ch = file->private_data; | ||
601 | |||
602 | scsi_device_put(ch->device); | ||
603 | file->private_data = NULL; | ||
604 | return 0; | ||
605 | } | ||
606 | |||
607 | static int | ||
608 | ch_open(struct inode *inode, struct file *file) | ||
609 | { | ||
610 | scsi_changer *tmp, *ch; | ||
611 | int minor = iminor(inode); | ||
612 | |||
613 | spin_lock(&ch_devlist_lock); | ||
614 | ch = NULL; | ||
615 | list_for_each_entry(tmp,&ch_devlist,list) { | ||
616 | if (tmp->minor == minor) | ||
617 | ch = tmp; | ||
618 | } | ||
619 | if (NULL == ch || scsi_device_get(ch->device)) { | ||
620 | spin_unlock(&ch_devlist_lock); | ||
621 | return -ENXIO; | ||
622 | } | ||
623 | spin_unlock(&ch_devlist_lock); | ||
624 | |||
625 | file->private_data = ch; | ||
626 | return 0; | ||
627 | } | ||
628 | |||
629 | static int | ||
630 | ch_checkrange(scsi_changer *ch, unsigned int type, unsigned int unit) | ||
631 | { | ||
632 | if (type >= CH_TYPES || unit >= ch->counts[type]) | ||
633 | return -1; | ||
634 | return 0; | ||
635 | } | ||
636 | |||
637 | static int ch_ioctl(struct inode * inode, struct file * file, | ||
638 | unsigned int cmd, unsigned long arg) | ||
639 | { | ||
640 | scsi_changer *ch = file->private_data; | ||
641 | int retval; | ||
642 | |||
643 | switch (cmd) { | ||
644 | case CHIOGPARAMS: | ||
645 | { | ||
646 | struct changer_params params; | ||
647 | |||
648 | params.cp_curpicker = 0; | ||
649 | params.cp_npickers = ch->counts[CHET_MT]; | ||
650 | params.cp_nslots = ch->counts[CHET_ST]; | ||
651 | params.cp_nportals = ch->counts[CHET_IE]; | ||
652 | params.cp_ndrives = ch->counts[CHET_DT]; | ||
653 | |||
654 | if (copy_to_user((void *) arg, ¶ms, sizeof(params))) | ||
655 | return -EFAULT; | ||
656 | return 0; | ||
657 | } | ||
658 | case CHIOGVPARAMS: | ||
659 | { | ||
660 | struct changer_vendor_params vparams; | ||
661 | |||
662 | memset(&vparams,0,sizeof(vparams)); | ||
663 | if (ch->counts[CHET_V1]) { | ||
664 | vparams.cvp_n1 = ch->counts[CHET_V1]; | ||
665 | strncpy(vparams.cvp_label1,vendor_labels[0],16); | ||
666 | } | ||
667 | if (ch->counts[CHET_V2]) { | ||
668 | vparams.cvp_n2 = ch->counts[CHET_V2]; | ||
669 | strncpy(vparams.cvp_label2,vendor_labels[1],16); | ||
670 | } | ||
671 | if (ch->counts[CHET_V3]) { | ||
672 | vparams.cvp_n3 = ch->counts[CHET_V3]; | ||
673 | strncpy(vparams.cvp_label3,vendor_labels[2],16); | ||
674 | } | ||
675 | if (ch->counts[CHET_V4]) { | ||
676 | vparams.cvp_n4 = ch->counts[CHET_V4]; | ||
677 | strncpy(vparams.cvp_label4,vendor_labels[3],16); | ||
678 | } | ||
679 | if (copy_to_user((void *) arg, &vparams, sizeof(vparams))) | ||
680 | return -EFAULT; | ||
681 | return 0; | ||
682 | } | ||
683 | |||
684 | case CHIOPOSITION: | ||
685 | { | ||
686 | struct changer_position pos; | ||
687 | |||
688 | if (copy_from_user(&pos, (void*)arg, sizeof (pos))) | ||
689 | return -EFAULT; | ||
690 | |||
691 | if (0 != ch_checkrange(ch, pos.cp_type, pos.cp_unit)) { | ||
692 | dprintk("CHIOPOSITION: invalid parameter\n"); | ||
693 | return -EBADSLT; | ||
694 | } | ||
695 | down(&ch->lock); | ||
696 | retval = ch_position(ch,0, | ||
697 | ch->firsts[pos.cp_type] + pos.cp_unit, | ||
698 | pos.cp_flags & CP_INVERT); | ||
699 | up(&ch->lock); | ||
700 | return retval; | ||
701 | } | ||
702 | |||
703 | case CHIOMOVE: | ||
704 | { | ||
705 | struct changer_move mv; | ||
706 | |||
707 | if (copy_from_user(&mv, (void*)arg, sizeof (mv))) | ||
708 | return -EFAULT; | ||
709 | |||
710 | if (0 != ch_checkrange(ch, mv.cm_fromtype, mv.cm_fromunit) || | ||
711 | 0 != ch_checkrange(ch, mv.cm_totype, mv.cm_tounit )) { | ||
712 | dprintk("CHIOMOVE: invalid parameter\n"); | ||
713 | return -EBADSLT; | ||
714 | } | ||
715 | |||
716 | down(&ch->lock); | ||
717 | retval = ch_move(ch,0, | ||
718 | ch->firsts[mv.cm_fromtype] + mv.cm_fromunit, | ||
719 | ch->firsts[mv.cm_totype] + mv.cm_tounit, | ||
720 | mv.cm_flags & CM_INVERT); | ||
721 | up(&ch->lock); | ||
722 | return retval; | ||
723 | } | ||
724 | |||
725 | case CHIOEXCHANGE: | ||
726 | { | ||
727 | struct changer_exchange mv; | ||
728 | |||
729 | if (copy_from_user(&mv, (void*)arg, sizeof (mv))) | ||
730 | return -EFAULT; | ||
731 | |||
732 | if (0 != ch_checkrange(ch, mv.ce_srctype, mv.ce_srcunit ) || | ||
733 | 0 != ch_checkrange(ch, mv.ce_fdsttype, mv.ce_fdstunit) || | ||
734 | 0 != ch_checkrange(ch, mv.ce_sdsttype, mv.ce_sdstunit)) { | ||
735 | dprintk("CHIOEXCHANGE: invalid parameter\n"); | ||
736 | return -EBADSLT; | ||
737 | } | ||
738 | |||
739 | down(&ch->lock); | ||
740 | retval = ch_exchange | ||
741 | (ch,0, | ||
742 | ch->firsts[mv.ce_srctype] + mv.ce_srcunit, | ||
743 | ch->firsts[mv.ce_fdsttype] + mv.ce_fdstunit, | ||
744 | ch->firsts[mv.ce_sdsttype] + mv.ce_sdstunit, | ||
745 | mv.ce_flags & CE_INVERT1, mv.ce_flags & CE_INVERT2); | ||
746 | up(&ch->lock); | ||
747 | return retval; | ||
748 | } | ||
749 | |||
750 | case CHIOGSTATUS: | ||
751 | { | ||
752 | struct changer_element_status ces; | ||
753 | |||
754 | if (copy_from_user(&ces, (void*)arg, sizeof (ces))) | ||
755 | return -EFAULT; | ||
756 | if (ces.ces_type < 0 || ces.ces_type >= CH_TYPES) | ||
757 | return -EINVAL; | ||
758 | |||
759 | return ch_gstatus(ch, ces.ces_type, ces.ces_data); | ||
760 | } | ||
761 | |||
762 | case CHIOGELEM: | ||
763 | { | ||
764 | struct changer_get_element cge; | ||
765 | u_char cmd[12]; | ||
766 | u_char *buffer; | ||
767 | unsigned int elem; | ||
768 | int result,i; | ||
769 | |||
770 | if (copy_from_user(&cge, (void*)arg, sizeof (cge))) | ||
771 | return -EFAULT; | ||
772 | |||
773 | if (0 != ch_checkrange(ch, cge.cge_type, cge.cge_unit)) | ||
774 | return -EINVAL; | ||
775 | elem = ch->firsts[cge.cge_type] + cge.cge_unit; | ||
776 | |||
777 | buffer = kmalloc(512, GFP_KERNEL | GFP_DMA); | ||
778 | if (!buffer) | ||
779 | return -ENOMEM; | ||
780 | down(&ch->lock); | ||
781 | |||
782 | voltag_retry: | ||
783 | memset(cmd,0,sizeof(cmd)); | ||
784 | cmd[0] = READ_ELEMENT_STATUS; | ||
785 | cmd[1] = (ch->device->lun << 5) | | ||
786 | (ch->voltags ? 0x10 : 0) | | ||
787 | ch_elem_to_typecode(ch,elem); | ||
788 | cmd[2] = (elem >> 8) & 0xff; | ||
789 | cmd[3] = elem & 0xff; | ||
790 | cmd[5] = 1; | ||
791 | cmd[9] = 255; | ||
792 | |||
793 | if (0 == (result = ch_do_scsi(ch, cmd, buffer, 256, DMA_FROM_DEVICE))) { | ||
794 | cge.cge_status = buffer[18]; | ||
795 | cge.cge_flags = 0; | ||
796 | if (buffer[18] & CESTATUS_EXCEPT) { | ||
797 | cge.cge_errno = EIO; | ||
798 | } | ||
799 | if (buffer[25] & 0x80) { | ||
800 | cge.cge_flags |= CGE_SRC; | ||
801 | if (buffer[25] & 0x40) | ||
802 | cge.cge_flags |= CGE_INVERT; | ||
803 | elem = (buffer[26]<<8) | buffer[27]; | ||
804 | for (i = 0; i < 4; i++) { | ||
805 | if (elem >= ch->firsts[i] && | ||
806 | elem < ch->firsts[i] + ch->counts[i]) { | ||
807 | cge.cge_srctype = i; | ||
808 | cge.cge_srcunit = elem-ch->firsts[i]; | ||
809 | } | ||
810 | } | ||
811 | } | ||
812 | if ((buffer[22] & 0x30) == 0x30) { | ||
813 | cge.cge_flags |= CGE_IDLUN; | ||
814 | cge.cge_id = buffer[23]; | ||
815 | cge.cge_lun = buffer[22] & 7; | ||
816 | } | ||
817 | if (buffer[9] & 0x80) { | ||
818 | cge.cge_flags |= CGE_PVOLTAG; | ||
819 | memcpy(cge.cge_pvoltag,buffer+28,36); | ||
820 | } | ||
821 | if (buffer[9] & 0x40) { | ||
822 | cge.cge_flags |= CGE_AVOLTAG; | ||
823 | memcpy(cge.cge_avoltag,buffer+64,36); | ||
824 | } | ||
825 | } else if (ch->voltags) { | ||
826 | ch->voltags = 0; | ||
827 | vprintk("device has no volume tag support\n"); | ||
828 | goto voltag_retry; | ||
829 | } | ||
830 | kfree(buffer); | ||
831 | up(&ch->lock); | ||
832 | |||
833 | if (copy_to_user((void*)arg, &cge, sizeof (cge))) | ||
834 | return -EFAULT; | ||
835 | return result; | ||
836 | } | ||
837 | |||
838 | case CHIOINITELEM: | ||
839 | { | ||
840 | down(&ch->lock); | ||
841 | retval = ch_init_elem(ch); | ||
842 | up(&ch->lock); | ||
843 | return retval; | ||
844 | } | ||
845 | |||
846 | case CHIOSVOLTAG: | ||
847 | { | ||
848 | struct changer_set_voltag csv; | ||
849 | int elem; | ||
850 | |||
851 | if (copy_from_user(&csv, (void*)arg, sizeof(csv))) | ||
852 | return -EFAULT; | ||
853 | |||
854 | if (0 != ch_checkrange(ch, csv.csv_type, csv.csv_unit)) { | ||
855 | dprintk("CHIOSVOLTAG: invalid parameter\n"); | ||
856 | return -EBADSLT; | ||
857 | } | ||
858 | elem = ch->firsts[csv.csv_type] + csv.csv_unit; | ||
859 | down(&ch->lock); | ||
860 | retval = ch_set_voltag(ch, elem, | ||
861 | csv.csv_flags & CSV_AVOLTAG, | ||
862 | csv.csv_flags & CSV_CLEARTAG, | ||
863 | csv.csv_voltag); | ||
864 | up(&ch->lock); | ||
865 | return retval; | ||
866 | } | ||
867 | |||
868 | default: | ||
869 | return scsi_ioctl(ch->device, cmd, (void*)arg); | ||
870 | |||
871 | } | ||
872 | } | ||
873 | |||
874 | #ifdef CONFIG_COMPAT | ||
875 | |||
876 | struct changer_element_status32 { | ||
877 | int ces_type; | ||
878 | compat_uptr_t ces_data; | ||
879 | }; | ||
880 | #define CHIOGSTATUS32 _IOW('c', 8,struct changer_element_status32) | ||
881 | |||
882 | static long ch_ioctl_compat(struct file * file, | ||
883 | unsigned int cmd, unsigned long arg) | ||
884 | { | ||
885 | scsi_changer *ch = file->private_data; | ||
886 | |||
887 | switch (cmd) { | ||
888 | case CHIOGPARAMS: | ||
889 | case CHIOGVPARAMS: | ||
890 | case CHIOPOSITION: | ||
891 | case CHIOMOVE: | ||
892 | case CHIOEXCHANGE: | ||
893 | case CHIOGELEM: | ||
894 | case CHIOINITELEM: | ||
895 | case CHIOSVOLTAG: | ||
896 | /* compatible */ | ||
897 | return ch_ioctl(NULL /* inode, unused */, | ||
898 | file, cmd, arg); | ||
899 | case CHIOGSTATUS32: | ||
900 | { | ||
901 | struct changer_element_status32 ces32; | ||
902 | unsigned char *data; | ||
903 | |||
904 | if (copy_from_user(&ces32, (void*)arg, sizeof (ces32))) | ||
905 | return -EFAULT; | ||
906 | if (ces32.ces_type < 0 || ces32.ces_type >= CH_TYPES) | ||
907 | return -EINVAL; | ||
908 | |||
909 | data = compat_ptr(ces32.ces_data); | ||
910 | return ch_gstatus(ch, ces32.ces_type, data); | ||
911 | } | ||
912 | default: | ||
913 | // return scsi_ioctl_compat(ch->device, cmd, (void*)arg); | ||
914 | return -ENOIOCTLCMD; | ||
915 | |||
916 | } | ||
917 | } | ||
918 | #endif | ||
919 | |||
920 | /* ------------------------------------------------------------------------ */ | ||
921 | |||
922 | static int ch_probe(struct device *dev) | ||
923 | { | ||
924 | struct scsi_device *sd = to_scsi_device(dev); | ||
925 | scsi_changer *ch; | ||
926 | |||
927 | if (sd->type != TYPE_MEDIUM_CHANGER) | ||
928 | return -ENODEV; | ||
929 | |||
930 | ch = kmalloc(sizeof(*ch), GFP_KERNEL); | ||
931 | if (NULL == ch) | ||
932 | return -ENOMEM; | ||
933 | |||
934 | memset(ch,0,sizeof(*ch)); | ||
935 | ch->minor = ch_devcount; | ||
936 | sprintf(ch->name,"ch%d",ch->minor); | ||
937 | init_MUTEX(&ch->lock); | ||
938 | ch->device = sd; | ||
939 | ch_readconfig(ch); | ||
940 | if (init) | ||
941 | ch_init_elem(ch); | ||
942 | |||
943 | devfs_mk_cdev(MKDEV(SCSI_CHANGER_MAJOR,ch->minor), | ||
944 | S_IFCHR | S_IRUGO | S_IWUGO, ch->name); | ||
945 | class_device_create(ch_sysfs_class, | ||
946 | MKDEV(SCSI_CHANGER_MAJOR,ch->minor), | ||
947 | dev, "s%s", ch->name); | ||
948 | |||
949 | printk(KERN_INFO "Attached scsi changer %s " | ||
950 | "at scsi%d, channel %d, id %d, lun %d\n", | ||
951 | ch->name, sd->host->host_no, sd->channel, sd->id, sd->lun); | ||
952 | |||
953 | spin_lock(&ch_devlist_lock); | ||
954 | list_add_tail(&ch->list,&ch_devlist); | ||
955 | ch_devcount++; | ||
956 | spin_unlock(&ch_devlist_lock); | ||
957 | return 0; | ||
958 | } | ||
959 | |||
960 | static int ch_remove(struct device *dev) | ||
961 | { | ||
962 | struct scsi_device *sd = to_scsi_device(dev); | ||
963 | scsi_changer *tmp, *ch; | ||
964 | |||
965 | spin_lock(&ch_devlist_lock); | ||
966 | ch = NULL; | ||
967 | list_for_each_entry(tmp,&ch_devlist,list) { | ||
968 | if (tmp->device == sd) | ||
969 | ch = tmp; | ||
970 | } | ||
971 | BUG_ON(NULL == ch); | ||
972 | list_del(&ch->list); | ||
973 | spin_unlock(&ch_devlist_lock); | ||
974 | |||
975 | class_device_destroy(ch_sysfs_class, | ||
976 | MKDEV(SCSI_CHANGER_MAJOR,ch->minor)); | ||
977 | devfs_remove(ch->name); | ||
978 | kfree(ch->dt); | ||
979 | kfree(ch); | ||
980 | ch_devcount--; | ||
981 | return 0; | ||
982 | } | ||
983 | |||
984 | static int __init init_ch_module(void) | ||
985 | { | ||
986 | int rc; | ||
987 | |||
988 | printk(KERN_INFO "SCSI Media Changer driver v" VERSION " \n"); | ||
989 | ch_sysfs_class = class_create(THIS_MODULE, "scsi_changer"); | ||
990 | if (IS_ERR(ch_sysfs_class)) { | ||
991 | rc = PTR_ERR(ch_sysfs_class); | ||
992 | return rc; | ||
993 | } | ||
994 | rc = register_chrdev(SCSI_CHANGER_MAJOR,"ch",&changer_fops); | ||
995 | if (rc < 0) { | ||
996 | printk("Unable to get major %d for SCSI-Changer\n", | ||
997 | SCSI_CHANGER_MAJOR); | ||
998 | goto fail1; | ||
999 | } | ||
1000 | rc = scsi_register_driver(&ch_template.gendrv); | ||
1001 | if (rc < 0) | ||
1002 | goto fail2; | ||
1003 | return 0; | ||
1004 | |||
1005 | fail2: | ||
1006 | unregister_chrdev(SCSI_CHANGER_MAJOR, "ch"); | ||
1007 | fail1: | ||
1008 | class_destroy(ch_sysfs_class); | ||
1009 | return rc; | ||
1010 | } | ||
1011 | |||
1012 | static void __exit exit_ch_module(void) | ||
1013 | { | ||
1014 | scsi_unregister_driver(&ch_template.gendrv); | ||
1015 | unregister_chrdev(SCSI_CHANGER_MAJOR, "ch"); | ||
1016 | class_destroy(ch_sysfs_class); | ||
1017 | } | ||
1018 | |||
1019 | module_init(init_ch_module); | ||
1020 | module_exit(exit_ch_module); | ||
1021 | |||
1022 | /* | ||
1023 | * Local variables: | ||
1024 | * c-basic-offset: 8 | ||
1025 | * End: | ||
1026 | */ | ||
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c index cca41cf8d3e7..ae13c002f60d 100644 --- a/drivers/scsi/dc395x.c +++ b/drivers/scsi/dc395x.c | |||
@@ -1310,7 +1310,7 @@ static void reset_dev_param(struct AdapterCtlBlk *acb) | |||
1310 | * @cmd - some command for this host (for fetching hooks) | 1310 | * @cmd - some command for this host (for fetching hooks) |
1311 | * Returns: SUCCESS (0x2002) on success, else FAILED (0x2003). | 1311 | * Returns: SUCCESS (0x2002) on success, else FAILED (0x2003). |
1312 | */ | 1312 | */ |
1313 | static int dc395x_eh_bus_reset(struct scsi_cmnd *cmd) | 1313 | static int __dc395x_eh_bus_reset(struct scsi_cmnd *cmd) |
1314 | { | 1314 | { |
1315 | struct AdapterCtlBlk *acb = | 1315 | struct AdapterCtlBlk *acb = |
1316 | (struct AdapterCtlBlk *)cmd->device->host->hostdata; | 1316 | (struct AdapterCtlBlk *)cmd->device->host->hostdata; |
@@ -1356,6 +1356,16 @@ static int dc395x_eh_bus_reset(struct scsi_cmnd *cmd) | |||
1356 | return SUCCESS; | 1356 | return SUCCESS; |
1357 | } | 1357 | } |
1358 | 1358 | ||
1359 | static int dc395x_eh_bus_reset(struct scsi_cmnd *cmd) | ||
1360 | { | ||
1361 | int rc; | ||
1362 | |||
1363 | spin_lock_irq(cmd->device->host->host_lock); | ||
1364 | rc = __dc395x_eh_bus_reset(cmd); | ||
1365 | spin_unlock_irq(cmd->device->host->host_lock); | ||
1366 | |||
1367 | return rc; | ||
1368 | } | ||
1359 | 1369 | ||
1360 | /* | 1370 | /* |
1361 | * abort an errant SCSI command | 1371 | * abort an errant SCSI command |
diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c index 1d2242403db8..7905b904e01d 100644 --- a/drivers/scsi/dmx3191d.c +++ b/drivers/scsi/dmx3191d.c | |||
@@ -61,8 +61,6 @@ static struct scsi_host_template dmx3191d_driver_template = { | |||
61 | .queuecommand = NCR5380_queue_command, | 61 | .queuecommand = NCR5380_queue_command, |
62 | .eh_abort_handler = NCR5380_abort, | 62 | .eh_abort_handler = NCR5380_abort, |
63 | .eh_bus_reset_handler = NCR5380_bus_reset, | 63 | .eh_bus_reset_handler = NCR5380_bus_reset, |
64 | .eh_device_reset_handler= NCR5380_device_reset, | ||
65 | .eh_host_reset_handler = NCR5380_host_reset, | ||
66 | .can_queue = 32, | 64 | .can_queue = 32, |
67 | .this_id = 7, | 65 | .this_id = 7, |
68 | .sg_tablesize = SG_ALL, | 66 | .sg_tablesize = SG_ALL, |
diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c index 53c9b93013f1..9cc0015b717d 100644 --- a/drivers/scsi/dpt_i2o.c +++ b/drivers/scsi/dpt_i2o.c | |||
@@ -113,7 +113,6 @@ static struct i2o_sys_tbl *sys_tbl = NULL; | |||
113 | static int sys_tbl_ind = 0; | 113 | static int sys_tbl_ind = 0; |
114 | static int sys_tbl_len = 0; | 114 | static int sys_tbl_len = 0; |
115 | 115 | ||
116 | static adpt_hba* hbas[DPTI_MAX_HBA]; | ||
117 | static adpt_hba* hba_chain = NULL; | 116 | static adpt_hba* hba_chain = NULL; |
118 | static int hba_count = 0; | 117 | static int hba_count = 0; |
119 | 118 | ||
@@ -691,7 +690,7 @@ static int adpt_device_reset(struct scsi_cmnd* cmd) | |||
691 | u32 msg[4]; | 690 | u32 msg[4]; |
692 | u32 rcode; | 691 | u32 rcode; |
693 | int old_state; | 692 | int old_state; |
694 | struct adpt_device* d = (void*) cmd->device->hostdata; | 693 | struct adpt_device* d = cmd->device->hostdata; |
695 | 694 | ||
696 | pHba = (void*) cmd->device->host->hostdata[0]; | 695 | pHba = (void*) cmd->device->host->hostdata[0]; |
697 | printk(KERN_INFO"%s: Trying to reset device\n",pHba->name); | 696 | printk(KERN_INFO"%s: Trying to reset device\n",pHba->name); |
@@ -707,7 +706,7 @@ static int adpt_device_reset(struct scsi_cmnd* cmd) | |||
707 | 706 | ||
708 | old_state = d->state; | 707 | old_state = d->state; |
709 | d->state |= DPTI_DEV_RESET; | 708 | d->state |= DPTI_DEV_RESET; |
710 | if( (rcode = adpt_i2o_post_wait(pHba, (void*)msg,sizeof(msg), FOREVER)) ){ | 709 | if( (rcode = adpt_i2o_post_wait(pHba, msg,sizeof(msg), FOREVER)) ){ |
711 | d->state = old_state; | 710 | d->state = old_state; |
712 | if(rcode == -EOPNOTSUPP ){ | 711 | if(rcode == -EOPNOTSUPP ){ |
713 | printk(KERN_INFO"%s: Device reset not supported\n",pHba->name); | 712 | printk(KERN_INFO"%s: Device reset not supported\n",pHba->name); |
@@ -737,7 +736,7 @@ static int adpt_bus_reset(struct scsi_cmnd* cmd) | |||
737 | msg[1] = (I2O_HBA_BUS_RESET<<24|HOST_TID<<12|pHba->channel[cmd->device->channel].tid); | 736 | msg[1] = (I2O_HBA_BUS_RESET<<24|HOST_TID<<12|pHba->channel[cmd->device->channel].tid); |
738 | msg[2] = 0; | 737 | msg[2] = 0; |
739 | msg[3] = 0; | 738 | msg[3] = 0; |
740 | if(adpt_i2o_post_wait(pHba, (void*)msg,sizeof(msg), FOREVER) ){ | 739 | if(adpt_i2o_post_wait(pHba, msg,sizeof(msg), FOREVER) ){ |
741 | printk(KERN_WARNING"%s: Bus reset failed.\n",pHba->name); | 740 | printk(KERN_WARNING"%s: Bus reset failed.\n",pHba->name); |
742 | return FAILED; | 741 | return FAILED; |
743 | } else { | 742 | } else { |
@@ -747,7 +746,7 @@ static int adpt_bus_reset(struct scsi_cmnd* cmd) | |||
747 | } | 746 | } |
748 | 747 | ||
749 | // This version of reset is called by the eh_error_handler | 748 | // This version of reset is called by the eh_error_handler |
750 | static int adpt_reset(struct scsi_cmnd* cmd) | 749 | static int __adpt_reset(struct scsi_cmnd* cmd) |
751 | { | 750 | { |
752 | adpt_hba* pHba; | 751 | adpt_hba* pHba; |
753 | int rcode; | 752 | int rcode; |
@@ -763,6 +762,17 @@ static int adpt_reset(struct scsi_cmnd* cmd) | |||
763 | } | 762 | } |
764 | } | 763 | } |
765 | 764 | ||
765 | static int adpt_reset(struct scsi_cmnd* cmd) | ||
766 | { | ||
767 | int rc; | ||
768 | |||
769 | spin_lock_irq(cmd->device->host->host_lock); | ||
770 | rc = __adpt_reset(cmd); | ||
771 | spin_unlock_irq(cmd->device->host->host_lock); | ||
772 | |||
773 | return rc; | ||
774 | } | ||
775 | |||
766 | // This version of reset is called by the ioctls and indirectly from eh_error_handler via adpt_reset | 776 | // This version of reset is called by the ioctls and indirectly from eh_error_handler via adpt_reset |
767 | static int adpt_hba_reset(adpt_hba* pHba) | 777 | static int adpt_hba_reset(adpt_hba* pHba) |
768 | { | 778 | { |
@@ -875,7 +885,6 @@ static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev | |||
875 | void __iomem *msg_addr_virt = NULL; | 885 | void __iomem *msg_addr_virt = NULL; |
876 | 886 | ||
877 | int raptorFlag = FALSE; | 887 | int raptorFlag = FALSE; |
878 | int i; | ||
879 | 888 | ||
880 | if(pci_enable_device(pDev)) { | 889 | if(pci_enable_device(pDev)) { |
881 | return -EINVAL; | 890 | return -EINVAL; |
@@ -935,12 +944,6 @@ static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev | |||
935 | memset(pHba, 0, sizeof(adpt_hba)); | 944 | memset(pHba, 0, sizeof(adpt_hba)); |
936 | 945 | ||
937 | down(&adpt_configuration_lock); | 946 | down(&adpt_configuration_lock); |
938 | for(i=0;i<DPTI_MAX_HBA;i++) { | ||
939 | if(hbas[i]==NULL) { | ||
940 | hbas[i]=pHba; | ||
941 | break; | ||
942 | } | ||
943 | } | ||
944 | 947 | ||
945 | if(hba_chain != NULL){ | 948 | if(hba_chain != NULL){ |
946 | for(p = hba_chain; p->next; p = p->next); | 949 | for(p = hba_chain; p->next; p = p->next); |
@@ -950,7 +953,7 @@ static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev | |||
950 | } | 953 | } |
951 | pHba->next = NULL; | 954 | pHba->next = NULL; |
952 | pHba->unit = hba_count; | 955 | pHba->unit = hba_count; |
953 | sprintf(pHba->name, "dpti%d", i); | 956 | sprintf(pHba->name, "dpti%d", hba_count); |
954 | hba_count++; | 957 | hba_count++; |
955 | 958 | ||
956 | up(&adpt_configuration_lock); | 959 | up(&adpt_configuration_lock); |
@@ -1015,11 +1018,6 @@ static void adpt_i2o_delete_hba(adpt_hba* pHba) | |||
1015 | if(pHba->host){ | 1018 | if(pHba->host){ |
1016 | free_irq(pHba->host->irq, pHba); | 1019 | free_irq(pHba->host->irq, pHba); |
1017 | } | 1020 | } |
1018 | for(i=0;i<DPTI_MAX_HBA;i++) { | ||
1019 | if(hbas[i]==pHba) { | ||
1020 | hbas[i] = NULL; | ||
1021 | } | ||
1022 | } | ||
1023 | p2 = NULL; | 1021 | p2 = NULL; |
1024 | for( p1 = hba_chain; p1; p2 = p1,p1=p1->next){ | 1022 | for( p1 = hba_chain; p1; p2 = p1,p1=p1->next){ |
1025 | if(p1 == pHba) { | 1023 | if(p1 == pHba) { |
@@ -1076,12 +1074,7 @@ static void adpt_i2o_delete_hba(adpt_hba* pHba) | |||
1076 | 1074 | ||
1077 | static int adpt_init(void) | 1075 | static int adpt_init(void) |
1078 | { | 1076 | { |
1079 | int i; | ||
1080 | |||
1081 | printk("Loading Adaptec I2O RAID: Version " DPT_I2O_VERSION "\n"); | 1077 | printk("Loading Adaptec I2O RAID: Version " DPT_I2O_VERSION "\n"); |
1082 | for (i = 0; i < DPTI_MAX_HBA; i++) { | ||
1083 | hbas[i] = NULL; | ||
1084 | } | ||
1085 | #ifdef REBOOT_NOTIFIER | 1078 | #ifdef REBOOT_NOTIFIER |
1086 | register_reboot_notifier(&adpt_reboot_notifier); | 1079 | register_reboot_notifier(&adpt_reboot_notifier); |
1087 | #endif | 1080 | #endif |
@@ -1454,7 +1447,7 @@ static int adpt_i2o_parse_lct(adpt_hba* pHba) | |||
1454 | return -ENOMEM; | 1447 | return -ENOMEM; |
1455 | } | 1448 | } |
1456 | 1449 | ||
1457 | d->controller = (void*)pHba; | 1450 | d->controller = pHba; |
1458 | d->next = NULL; | 1451 | d->next = NULL; |
1459 | 1452 | ||
1460 | memcpy(&d->lct_data, &lct->lct_entry[i], sizeof(i2o_lct_entry)); | 1453 | memcpy(&d->lct_data, &lct->lct_entry[i], sizeof(i2o_lct_entry)); |
@@ -2000,7 +1993,7 @@ static irqreturn_t adpt_isr(int irq, void *dev_id, struct pt_regs *regs) | |||
2000 | struct scsi_cmnd* cmd; | 1993 | struct scsi_cmnd* cmd; |
2001 | adpt_hba* pHba = dev_id; | 1994 | adpt_hba* pHba = dev_id; |
2002 | u32 m; | 1995 | u32 m; |
2003 | ulong reply; | 1996 | void __iomem *reply; |
2004 | u32 status=0; | 1997 | u32 status=0; |
2005 | u32 context; | 1998 | u32 context; |
2006 | ulong flags = 0; | 1999 | ulong flags = 0; |
@@ -2025,11 +2018,11 @@ static irqreturn_t adpt_isr(int irq, void *dev_id, struct pt_regs *regs) | |||
2025 | goto out; | 2018 | goto out; |
2026 | } | 2019 | } |
2027 | } | 2020 | } |
2028 | reply = (ulong)bus_to_virt(m); | 2021 | reply = bus_to_virt(m); |
2029 | 2022 | ||
2030 | if (readl(reply) & MSG_FAIL) { | 2023 | if (readl(reply) & MSG_FAIL) { |
2031 | u32 old_m = readl(reply+28); | 2024 | u32 old_m = readl(reply+28); |
2032 | ulong msg; | 2025 | void __iomem *msg; |
2033 | u32 old_context; | 2026 | u32 old_context; |
2034 | PDEBUG("%s: Failed message\n",pHba->name); | 2027 | PDEBUG("%s: Failed message\n",pHba->name); |
2035 | if(old_m >= 0x100000){ | 2028 | if(old_m >= 0x100000){ |
@@ -2038,16 +2031,16 @@ static irqreturn_t adpt_isr(int irq, void *dev_id, struct pt_regs *regs) | |||
2038 | continue; | 2031 | continue; |
2039 | } | 2032 | } |
2040 | // Transaction context is 0 in failed reply frame | 2033 | // Transaction context is 0 in failed reply frame |
2041 | msg = (ulong)(pHba->msg_addr_virt + old_m); | 2034 | msg = pHba->msg_addr_virt + old_m; |
2042 | old_context = readl(msg+12); | 2035 | old_context = readl(msg+12); |
2043 | writel(old_context, reply+12); | 2036 | writel(old_context, reply+12); |
2044 | adpt_send_nop(pHba, old_m); | 2037 | adpt_send_nop(pHba, old_m); |
2045 | } | 2038 | } |
2046 | context = readl(reply+8); | 2039 | context = readl(reply+8); |
2047 | if(context & 0x40000000){ // IOCTL | 2040 | if(context & 0x40000000){ // IOCTL |
2048 | ulong p = (ulong)(readl(reply+12)); | 2041 | void *p = (void *)readl(reply+12); |
2049 | if( p != 0) { | 2042 | if( p != NULL) { |
2050 | memcpy((void*)p, (void*)reply, REPLY_FRAME_SIZE * 4); | 2043 | memcpy_fromio(p, reply, REPLY_FRAME_SIZE * 4); |
2051 | } | 2044 | } |
2052 | // All IOCTLs will also be post wait | 2045 | // All IOCTLs will also be post wait |
2053 | } | 2046 | } |
@@ -2231,7 +2224,7 @@ static s32 adpt_scsi_register(adpt_hba* pHba,struct scsi_host_template * sht) | |||
2231 | } | 2224 | } |
2232 | 2225 | ||
2233 | 2226 | ||
2234 | static s32 adpt_i2o_to_scsi(ulong reply, struct scsi_cmnd* cmd) | 2227 | static s32 adpt_i2o_to_scsi(void __iomem *reply, struct scsi_cmnd* cmd) |
2235 | { | 2228 | { |
2236 | adpt_hba* pHba; | 2229 | adpt_hba* pHba; |
2237 | u32 hba_status; | 2230 | u32 hba_status; |
@@ -2323,7 +2316,7 @@ static s32 adpt_i2o_to_scsi(ulong reply, struct scsi_cmnd* cmd) | |||
2323 | u32 len = sizeof(cmd->sense_buffer); | 2316 | u32 len = sizeof(cmd->sense_buffer); |
2324 | len = (len > 40) ? 40 : len; | 2317 | len = (len > 40) ? 40 : len; |
2325 | // Copy over the sense data | 2318 | // Copy over the sense data |
2326 | memcpy(cmd->sense_buffer, (void*)(reply+28) , len); | 2319 | memcpy_fromio(cmd->sense_buffer, (reply+28) , len); |
2327 | if(cmd->sense_buffer[0] == 0x70 /* class 7 */ && | 2320 | if(cmd->sense_buffer[0] == 0x70 /* class 7 */ && |
2328 | cmd->sense_buffer[2] == DATA_PROTECT ){ | 2321 | cmd->sense_buffer[2] == DATA_PROTECT ){ |
2329 | /* This is to handle an array failed */ | 2322 | /* This is to handle an array failed */ |
@@ -2438,7 +2431,7 @@ static s32 adpt_i2o_reparse_lct(adpt_hba* pHba) | |||
2438 | return -ENOMEM; | 2431 | return -ENOMEM; |
2439 | } | 2432 | } |
2440 | 2433 | ||
2441 | d->controller = (void*)pHba; | 2434 | d->controller = pHba; |
2442 | d->next = NULL; | 2435 | d->next = NULL; |
2443 | 2436 | ||
2444 | memcpy(&d->lct_data, &lct->lct_entry[i], sizeof(i2o_lct_entry)); | 2437 | memcpy(&d->lct_data, &lct->lct_entry[i], sizeof(i2o_lct_entry)); |
@@ -2985,8 +2978,8 @@ static int adpt_i2o_build_sys_table(void) | |||
2985 | sys_tbl->iops[count].frame_size = pHba->status_block->inbound_frame_size; | 2978 | sys_tbl->iops[count].frame_size = pHba->status_block->inbound_frame_size; |
2986 | sys_tbl->iops[count].last_changed = sys_tbl_ind - 1; // ?? | 2979 | sys_tbl->iops[count].last_changed = sys_tbl_ind - 1; // ?? |
2987 | sys_tbl->iops[count].iop_capabilities = pHba->status_block->iop_capabilities; | 2980 | sys_tbl->iops[count].iop_capabilities = pHba->status_block->iop_capabilities; |
2988 | sys_tbl->iops[count].inbound_low = (u32)virt_to_bus((void*)pHba->post_port); | 2981 | sys_tbl->iops[count].inbound_low = (u32)virt_to_bus(pHba->post_port); |
2989 | sys_tbl->iops[count].inbound_high = (u32)((u64)virt_to_bus((void*)pHba->post_port)>>32); | 2982 | sys_tbl->iops[count].inbound_high = (u32)((u64)virt_to_bus(pHba->post_port)>>32); |
2990 | 2983 | ||
2991 | count++; | 2984 | count++; |
2992 | } | 2985 | } |
diff --git a/drivers/scsi/dpti.h b/drivers/scsi/dpti.h index 426e15dd490e..9821783c0164 100644 --- a/drivers/scsi/dpti.h +++ b/drivers/scsi/dpti.h | |||
@@ -296,7 +296,7 @@ static s32 adpt_i2o_status_get(adpt_hba* pHba); | |||
296 | static s32 adpt_i2o_init_outbound_q(adpt_hba* pHba); | 296 | static s32 adpt_i2o_init_outbound_q(adpt_hba* pHba); |
297 | static s32 adpt_i2o_hrt_get(adpt_hba* pHba); | 297 | static s32 adpt_i2o_hrt_get(adpt_hba* pHba); |
298 | static s32 adpt_scsi_to_i2o(adpt_hba* pHba, struct scsi_cmnd* cmd, struct adpt_device* dptdevice); | 298 | static s32 adpt_scsi_to_i2o(adpt_hba* pHba, struct scsi_cmnd* cmd, struct adpt_device* dptdevice); |
299 | static s32 adpt_i2o_to_scsi(ulong reply, struct scsi_cmnd* cmd); | 299 | static s32 adpt_i2o_to_scsi(void __iomem *reply, struct scsi_cmnd* cmd); |
300 | static s32 adpt_scsi_register(adpt_hba* pHba,struct scsi_host_template * sht); | 300 | static s32 adpt_scsi_register(adpt_hba* pHba,struct scsi_host_template * sht); |
301 | static s32 adpt_hba_reset(adpt_hba* pHba); | 301 | static s32 adpt_hba_reset(adpt_hba* pHba); |
302 | static s32 adpt_i2o_reset_hba(adpt_hba* pHba); | 302 | static s32 adpt_i2o_reset_hba(adpt_hba* pHba); |
diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c index da1aaa413fed..ab9de39bb50b 100644 --- a/drivers/scsi/dtc.c +++ b/drivers/scsi/dtc.c | |||
@@ -482,8 +482,6 @@ static Scsi_Host_Template driver_template = { | |||
482 | .queuecommand = dtc_queue_command, | 482 | .queuecommand = dtc_queue_command, |
483 | .eh_abort_handler = dtc_abort, | 483 | .eh_abort_handler = dtc_abort, |
484 | .eh_bus_reset_handler = dtc_bus_reset, | 484 | .eh_bus_reset_handler = dtc_bus_reset, |
485 | .eh_device_reset_handler = dtc_device_reset, | ||
486 | .eh_host_reset_handler = dtc_host_reset, | ||
487 | .bios_param = dtc_biosparam, | 485 | .bios_param = dtc_biosparam, |
488 | .can_queue = CAN_QUEUE, | 486 | .can_queue = CAN_QUEUE, |
489 | .this_id = 7, | 487 | .this_id = 7, |
diff --git a/drivers/scsi/dtc.h b/drivers/scsi/dtc.h index c4bcdbf338a2..ed73629eb2f9 100644 --- a/drivers/scsi/dtc.h +++ b/drivers/scsi/dtc.h | |||
@@ -34,8 +34,6 @@ static int dtc_biosparam(struct scsi_device *, struct block_device *, | |||
34 | static int dtc_detect(Scsi_Host_Template *); | 34 | static int dtc_detect(Scsi_Host_Template *); |
35 | static int dtc_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); | 35 | static int dtc_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); |
36 | static int dtc_bus_reset(Scsi_Cmnd *); | 36 | static int dtc_bus_reset(Scsi_Cmnd *); |
37 | static int dtc_device_reset(Scsi_Cmnd *); | ||
38 | static int dtc_host_reset(Scsi_Cmnd *); | ||
39 | 37 | ||
40 | #ifndef CMD_PER_LUN | 38 | #ifndef CMD_PER_LUN |
41 | #define CMD_PER_LUN 2 | 39 | #define CMD_PER_LUN 2 |
@@ -86,8 +84,6 @@ static int dtc_host_reset(Scsi_Cmnd *); | |||
86 | #define NCR5380_queue_command dtc_queue_command | 84 | #define NCR5380_queue_command dtc_queue_command |
87 | #define NCR5380_abort dtc_abort | 85 | #define NCR5380_abort dtc_abort |
88 | #define NCR5380_bus_reset dtc_bus_reset | 86 | #define NCR5380_bus_reset dtc_bus_reset |
89 | #define NCR5380_device_reset dtc_device_reset | ||
90 | #define NCR5380_host_reset dtc_host_reset | ||
91 | #define NCR5380_proc_info dtc_proc_info | 87 | #define NCR5380_proc_info dtc_proc_info |
92 | 88 | ||
93 | /* 15 12 11 10 | 89 | /* 15 12 11 10 |
diff --git a/drivers/scsi/eata.c b/drivers/scsi/eata.c index 81d16cfbe69e..1bb8727eea3e 100644 --- a/drivers/scsi/eata.c +++ b/drivers/scsi/eata.c | |||
@@ -518,8 +518,6 @@ static struct scsi_host_template driver_template = { | |||
518 | .release = eata2x_release, | 518 | .release = eata2x_release, |
519 | .queuecommand = eata2x_queuecommand, | 519 | .queuecommand = eata2x_queuecommand, |
520 | .eh_abort_handler = eata2x_eh_abort, | 520 | .eh_abort_handler = eata2x_eh_abort, |
521 | .eh_device_reset_handler = NULL, | ||
522 | .eh_bus_reset_handler = NULL, | ||
523 | .eh_host_reset_handler = eata2x_eh_host_reset, | 521 | .eh_host_reset_handler = eata2x_eh_host_reset, |
524 | .bios_param = eata2x_bios_param, | 522 | .bios_param = eata2x_bios_param, |
525 | .slave_configure = eata2x_slave_configure, | 523 | .slave_configure = eata2x_slave_configure, |
@@ -1950,16 +1948,20 @@ static int eata2x_eh_host_reset(struct scsi_cmnd *SCarg) | |||
1950 | ha->board_name, SCarg->device->channel, SCarg->device->id, | 1948 | ha->board_name, SCarg->device->channel, SCarg->device->id, |
1951 | SCarg->device->lun, SCarg->pid); | 1949 | SCarg->device->lun, SCarg->pid); |
1952 | 1950 | ||
1951 | spin_lock_irq(shost->host_lock); | ||
1952 | |||
1953 | if (SCarg->host_scribble == NULL) | 1953 | if (SCarg->host_scribble == NULL) |
1954 | printk("%s: reset, pid %ld inactive.\n", ha->board_name, SCarg->pid); | 1954 | printk("%s: reset, pid %ld inactive.\n", ha->board_name, SCarg->pid); |
1955 | 1955 | ||
1956 | if (ha->in_reset) { | 1956 | if (ha->in_reset) { |
1957 | printk("%s: reset, exit, already in reset.\n", ha->board_name); | 1957 | printk("%s: reset, exit, already in reset.\n", ha->board_name); |
1958 | spin_unlock_irq(shost->host_lock); | ||
1958 | return FAILED; | 1959 | return FAILED; |
1959 | } | 1960 | } |
1960 | 1961 | ||
1961 | if (wait_on_busy(shost->io_port, MAXLOOP)) { | 1962 | if (wait_on_busy(shost->io_port, MAXLOOP)) { |
1962 | printk("%s: reset, exit, timeout error.\n", ha->board_name); | 1963 | printk("%s: reset, exit, timeout error.\n", ha->board_name); |
1964 | spin_unlock_irq(shost->host_lock); | ||
1963 | return FAILED; | 1965 | return FAILED; |
1964 | } | 1966 | } |
1965 | 1967 | ||
@@ -2014,6 +2016,7 @@ static int eata2x_eh_host_reset(struct scsi_cmnd *SCarg) | |||
2014 | 2016 | ||
2015 | if (do_dma(shost->io_port, 0, RESET_PIO)) { | 2017 | if (do_dma(shost->io_port, 0, RESET_PIO)) { |
2016 | printk("%s: reset, cannot reset, timeout error.\n", ha->board_name); | 2018 | printk("%s: reset, cannot reset, timeout error.\n", ha->board_name); |
2019 | spin_unlock_irq(shost->host_lock); | ||
2017 | return FAILED; | 2020 | return FAILED; |
2018 | } | 2021 | } |
2019 | 2022 | ||
@@ -2026,9 +2029,12 @@ static int eata2x_eh_host_reset(struct scsi_cmnd *SCarg) | |||
2026 | ha->in_reset = 1; | 2029 | ha->in_reset = 1; |
2027 | 2030 | ||
2028 | spin_unlock_irq(shost->host_lock); | 2031 | spin_unlock_irq(shost->host_lock); |
2032 | |||
2033 | /* FIXME: use a sleep instead */ | ||
2029 | time = jiffies; | 2034 | time = jiffies; |
2030 | while ((jiffies - time) < (10 * HZ) && limit++ < 200000) | 2035 | while ((jiffies - time) < (10 * HZ) && limit++ < 200000) |
2031 | udelay(100L); | 2036 | udelay(100L); |
2037 | |||
2032 | spin_lock_irq(shost->host_lock); | 2038 | spin_lock_irq(shost->host_lock); |
2033 | 2039 | ||
2034 | printk("%s: reset, interrupts disabled, loops %d.\n", ha->board_name, limit); | 2040 | printk("%s: reset, interrupts disabled, loops %d.\n", ha->board_name, limit); |
@@ -2078,6 +2084,7 @@ static int eata2x_eh_host_reset(struct scsi_cmnd *SCarg) | |||
2078 | else | 2084 | else |
2079 | printk("%s: reset, exit.\n", ha->board_name); | 2085 | printk("%s: reset, exit.\n", ha->board_name); |
2080 | 2086 | ||
2087 | spin_unlock_irq(shost->host_lock); | ||
2081 | return SUCCESS; | 2088 | return SUCCESS; |
2082 | } | 2089 | } |
2083 | 2090 | ||
diff --git a/drivers/scsi/eata_pio.c b/drivers/scsi/eata_pio.c index 0ee49dc50b85..04a06b71a5e2 100644 --- a/drivers/scsi/eata_pio.c +++ b/drivers/scsi/eata_pio.c | |||
@@ -486,8 +486,11 @@ static int eata_pio_host_reset(struct scsi_cmnd *cmd) | |||
486 | 486 | ||
487 | DBG(DBG_ABNORM, printk(KERN_WARNING "eata_pio_reset called pid:%ld target:" " %x lun: %x reason %x\n", cmd->pid, cmd->device->id, cmd->device->lun, cmd->abort_reason)); | 487 | DBG(DBG_ABNORM, printk(KERN_WARNING "eata_pio_reset called pid:%ld target:" " %x lun: %x reason %x\n", cmd->pid, cmd->device->id, cmd->device->lun, cmd->abort_reason)); |
488 | 488 | ||
489 | spin_lock_irq(host->host_lock); | ||
490 | |||
489 | if (HD(cmd)->state == RESET) { | 491 | if (HD(cmd)->state == RESET) { |
490 | printk(KERN_WARNING "eata_pio_reset: exit, already in reset.\n"); | 492 | printk(KERN_WARNING "eata_pio_reset: exit, already in reset.\n"); |
493 | spin_unlock_irq(host->host_lock); | ||
491 | return FAILED; | 494 | return FAILED; |
492 | } | 495 | } |
493 | 496 | ||
@@ -536,6 +539,8 @@ static int eata_pio_host_reset(struct scsi_cmnd *cmd) | |||
536 | 539 | ||
537 | HD(cmd)->state = 0; | 540 | HD(cmd)->state = 0; |
538 | 541 | ||
542 | spin_unlock_irq(host->host_lock); | ||
543 | |||
539 | if (success) { /* hmmm... */ | 544 | if (success) { /* hmmm... */ |
540 | DBG(DBG_ABNORM, printk(KERN_WARNING "eata_pio_reset: exit, success.\n")); | 545 | DBG(DBG_ABNORM, printk(KERN_WARNING "eata_pio_reset: exit, success.\n")); |
541 | return SUCCESS; | 546 | return SUCCESS; |
diff --git a/drivers/scsi/fcal.c b/drivers/scsi/fcal.c index 0dad89d4cb3e..a6f120dcdfc3 100644 --- a/drivers/scsi/fcal.c +++ b/drivers/scsi/fcal.c | |||
@@ -311,7 +311,6 @@ static Scsi_Host_Template driver_template = { | |||
311 | .use_clustering = ENABLE_CLUSTERING, | 311 | .use_clustering = ENABLE_CLUSTERING, |
312 | .eh_abort_handler = fcp_scsi_abort, | 312 | .eh_abort_handler = fcp_scsi_abort, |
313 | .eh_device_reset_handler = fcp_scsi_dev_reset, | 313 | .eh_device_reset_handler = fcp_scsi_dev_reset, |
314 | .eh_bus_reset_handler = fcp_scsi_bus_reset, | ||
315 | .eh_host_reset_handler = fcp_scsi_host_reset, | 314 | .eh_host_reset_handler = fcp_scsi_host_reset, |
316 | }; | 315 | }; |
317 | #include "scsi_module.c" | 316 | #include "scsi_module.c" |
diff --git a/drivers/scsi/fd_mcs.c b/drivers/scsi/fd_mcs.c index 770930e2aec3..fa652f8aa643 100644 --- a/drivers/scsi/fd_mcs.c +++ b/drivers/scsi/fd_mcs.c | |||
@@ -1241,18 +1241,9 @@ static int fd_mcs_abort(Scsi_Cmnd * SCpnt) | |||
1241 | return SUCCESS; | 1241 | return SUCCESS; |
1242 | } | 1242 | } |
1243 | 1243 | ||
1244 | static int fd_mcs_host_reset(Scsi_Cmnd * SCpnt) | ||
1245 | { | ||
1246 | return FAILED; | ||
1247 | } | ||
1248 | |||
1249 | static int fd_mcs_device_reset(Scsi_Cmnd * SCpnt) | ||
1250 | { | ||
1251 | return FAILED; | ||
1252 | } | ||
1253 | |||
1254 | static int fd_mcs_bus_reset(Scsi_Cmnd * SCpnt) { | 1244 | static int fd_mcs_bus_reset(Scsi_Cmnd * SCpnt) { |
1255 | struct Scsi_Host *shpnt = SCpnt->device->host; | 1245 | struct Scsi_Host *shpnt = SCpnt->device->host; |
1246 | unsigned long flags; | ||
1256 | 1247 | ||
1257 | #if DEBUG_RESET | 1248 | #if DEBUG_RESET |
1258 | static int called_once = 0; | 1249 | static int called_once = 0; |
@@ -1269,6 +1260,8 @@ static int fd_mcs_bus_reset(Scsi_Cmnd * SCpnt) { | |||
1269 | called_once = 1; | 1260 | called_once = 1; |
1270 | #endif | 1261 | #endif |
1271 | 1262 | ||
1263 | spin_lock_irqsave(shpnt->host_lock, flags); | ||
1264 | |||
1272 | outb(1, SCSI_Cntl_port); | 1265 | outb(1, SCSI_Cntl_port); |
1273 | do_pause(2); | 1266 | do_pause(2); |
1274 | outb(0, SCSI_Cntl_port); | 1267 | outb(0, SCSI_Cntl_port); |
@@ -1276,6 +1269,8 @@ static int fd_mcs_bus_reset(Scsi_Cmnd * SCpnt) { | |||
1276 | outb(0, SCSI_Mode_Cntl_port); | 1269 | outb(0, SCSI_Mode_Cntl_port); |
1277 | outb(PARITY_MASK, TMC_Cntl_port); | 1270 | outb(PARITY_MASK, TMC_Cntl_port); |
1278 | 1271 | ||
1272 | spin_unlock_irqrestore(shpnt->host_lock, flags); | ||
1273 | |||
1279 | /* Unless this is the very first call (i.e., SCPnt == NULL), everything | 1274 | /* Unless this is the very first call (i.e., SCPnt == NULL), everything |
1280 | is probably hosed at this point. We will, however, try to keep | 1275 | is probably hosed at this point. We will, however, try to keep |
1281 | things going by informing the high-level code that we need help. */ | 1276 | things going by informing the high-level code that we need help. */ |
@@ -1357,8 +1352,6 @@ static Scsi_Host_Template driver_template = { | |||
1357 | .queuecommand = fd_mcs_queue, | 1352 | .queuecommand = fd_mcs_queue, |
1358 | .eh_abort_handler = fd_mcs_abort, | 1353 | .eh_abort_handler = fd_mcs_abort, |
1359 | .eh_bus_reset_handler = fd_mcs_bus_reset, | 1354 | .eh_bus_reset_handler = fd_mcs_bus_reset, |
1360 | .eh_host_reset_handler = fd_mcs_host_reset, | ||
1361 | .eh_device_reset_handler = fd_mcs_device_reset, | ||
1362 | .bios_param = fd_mcs_biosparam, | 1355 | .bios_param = fd_mcs_biosparam, |
1363 | .can_queue = 1, | 1356 | .can_queue = 1, |
1364 | .this_id = 7, | 1357 | .this_id = 7, |
diff --git a/drivers/scsi/fdomain.c b/drivers/scsi/fdomain.c index a843c080c1d8..4ba6a15cf43d 100644 --- a/drivers/scsi/fdomain.c +++ b/drivers/scsi/fdomain.c | |||
@@ -1543,12 +1543,18 @@ static int fdomain_16x0_abort(struct scsi_cmnd *SCpnt) | |||
1543 | 1543 | ||
1544 | int fdomain_16x0_bus_reset(struct scsi_cmnd *SCpnt) | 1544 | int fdomain_16x0_bus_reset(struct scsi_cmnd *SCpnt) |
1545 | { | 1545 | { |
1546 | unsigned long flags; | ||
1547 | |||
1548 | local_irq_save(flags); | ||
1549 | |||
1546 | outb(1, port_base + SCSI_Cntl); | 1550 | outb(1, port_base + SCSI_Cntl); |
1547 | do_pause( 2 ); | 1551 | do_pause( 2 ); |
1548 | outb(0, port_base + SCSI_Cntl); | 1552 | outb(0, port_base + SCSI_Cntl); |
1549 | do_pause( 115 ); | 1553 | do_pause( 115 ); |
1550 | outb(0, port_base + SCSI_Mode_Cntl); | 1554 | outb(0, port_base + SCSI_Mode_Cntl); |
1551 | outb(PARITY_MASK, port_base + TMC_Cntl); | 1555 | outb(PARITY_MASK, port_base + TMC_Cntl); |
1556 | |||
1557 | local_irq_restore(flags); | ||
1552 | return SUCCESS; | 1558 | return SUCCESS; |
1553 | } | 1559 | } |
1554 | 1560 | ||
diff --git a/drivers/scsi/g_NCR5380.c b/drivers/scsi/g_NCR5380.c index ca9d5bd26ca3..a3aa729b9d3c 100644 --- a/drivers/scsi/g_NCR5380.c +++ b/drivers/scsi/g_NCR5380.c | |||
@@ -908,8 +908,6 @@ static Scsi_Host_Template driver_template = { | |||
908 | .queuecommand = generic_NCR5380_queue_command, | 908 | .queuecommand = generic_NCR5380_queue_command, |
909 | .eh_abort_handler = generic_NCR5380_abort, | 909 | .eh_abort_handler = generic_NCR5380_abort, |
910 | .eh_bus_reset_handler = generic_NCR5380_bus_reset, | 910 | .eh_bus_reset_handler = generic_NCR5380_bus_reset, |
911 | .eh_device_reset_handler = generic_NCR5380_device_reset, | ||
912 | .eh_host_reset_handler = generic_NCR5380_host_reset, | ||
913 | .bios_param = NCR5380_BIOSPARAM, | 911 | .bios_param = NCR5380_BIOSPARAM, |
914 | .can_queue = CAN_QUEUE, | 912 | .can_queue = CAN_QUEUE, |
915 | .this_id = 7, | 913 | .this_id = 7, |
diff --git a/drivers/scsi/g_NCR5380.h b/drivers/scsi/g_NCR5380.h index 0c04cefb2a88..c8adc5a94884 100644 --- a/drivers/scsi/g_NCR5380.h +++ b/drivers/scsi/g_NCR5380.h | |||
@@ -49,8 +49,6 @@ static int generic_NCR5380_detect(Scsi_Host_Template *); | |||
49 | static int generic_NCR5380_release_resources(struct Scsi_Host *); | 49 | static int generic_NCR5380_release_resources(struct Scsi_Host *); |
50 | static int generic_NCR5380_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); | 50 | static int generic_NCR5380_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); |
51 | static int generic_NCR5380_bus_reset(Scsi_Cmnd *); | 51 | static int generic_NCR5380_bus_reset(Scsi_Cmnd *); |
52 | static int generic_NCR5380_host_reset(Scsi_Cmnd *); | ||
53 | static int generic_NCR5380_device_reset(Scsi_Cmnd *); | ||
54 | static const char* generic_NCR5380_info(struct Scsi_Host *); | 52 | static const char* generic_NCR5380_info(struct Scsi_Host *); |
55 | 53 | ||
56 | #ifndef CMD_PER_LUN | 54 | #ifndef CMD_PER_LUN |
@@ -114,8 +112,6 @@ static const char* generic_NCR5380_info(struct Scsi_Host *); | |||
114 | #define NCR5380_queue_command generic_NCR5380_queue_command | 112 | #define NCR5380_queue_command generic_NCR5380_queue_command |
115 | #define NCR5380_abort generic_NCR5380_abort | 113 | #define NCR5380_abort generic_NCR5380_abort |
116 | #define NCR5380_bus_reset generic_NCR5380_bus_reset | 114 | #define NCR5380_bus_reset generic_NCR5380_bus_reset |
117 | #define NCR5380_device_reset generic_NCR5380_device_reset | ||
118 | #define NCR5380_host_reset generic_NCR5380_host_reset | ||
119 | #define NCR5380_pread generic_NCR5380_pread | 115 | #define NCR5380_pread generic_NCR5380_pread |
120 | #define NCR5380_pwrite generic_NCR5380_pwrite | 116 | #define NCR5380_pwrite generic_NCR5380_pwrite |
121 | #define NCR5380_proc_info notyet_generic_proc_info | 117 | #define NCR5380_proc_info notyet_generic_proc_info |
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index a9eaab9fbd5e..4552cccd2834 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -4703,19 +4703,6 @@ static const char *gdth_info(struct Scsi_Host *shp) | |||
4703 | return ((const char *)ha->binfo.type_string); | 4703 | return ((const char *)ha->binfo.type_string); |
4704 | } | 4704 | } |
4705 | 4705 | ||
4706 | /* new error handling */ | ||
4707 | static int gdth_eh_abort(Scsi_Cmnd *scp) | ||
4708 | { | ||
4709 | TRACE2(("gdth_eh_abort()\n")); | ||
4710 | return FAILED; | ||
4711 | } | ||
4712 | |||
4713 | static int gdth_eh_device_reset(Scsi_Cmnd *scp) | ||
4714 | { | ||
4715 | TRACE2(("gdth_eh_device_reset()\n")); | ||
4716 | return FAILED; | ||
4717 | } | ||
4718 | |||
4719 | static int gdth_eh_bus_reset(Scsi_Cmnd *scp) | 4706 | static int gdth_eh_bus_reset(Scsi_Cmnd *scp) |
4720 | { | 4707 | { |
4721 | int i, hanum; | 4708 | int i, hanum; |
@@ -4770,13 +4757,6 @@ static int gdth_eh_bus_reset(Scsi_Cmnd *scp) | |||
4770 | return SUCCESS; | 4757 | return SUCCESS; |
4771 | } | 4758 | } |
4772 | 4759 | ||
4773 | static int gdth_eh_host_reset(Scsi_Cmnd *scp) | ||
4774 | { | ||
4775 | TRACE2(("gdth_eh_host_reset()\n")); | ||
4776 | return FAILED; | ||
4777 | } | ||
4778 | |||
4779 | |||
4780 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) | 4760 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) |
4781 | static int gdth_bios_param(struct scsi_device *sdev,struct block_device *bdev,sector_t cap,int *ip) | 4761 | static int gdth_bios_param(struct scsi_device *sdev,struct block_device *bdev,sector_t cap,int *ip) |
4782 | #else | 4762 | #else |
@@ -5713,10 +5693,7 @@ static Scsi_Host_Template driver_template = { | |||
5713 | .release = gdth_release, | 5693 | .release = gdth_release, |
5714 | .info = gdth_info, | 5694 | .info = gdth_info, |
5715 | .queuecommand = gdth_queuecommand, | 5695 | .queuecommand = gdth_queuecommand, |
5716 | .eh_abort_handler = gdth_eh_abort, | ||
5717 | .eh_device_reset_handler = gdth_eh_device_reset, | ||
5718 | .eh_bus_reset_handler = gdth_eh_bus_reset, | 5696 | .eh_bus_reset_handler = gdth_eh_bus_reset, |
5719 | .eh_host_reset_handler = gdth_eh_host_reset, | ||
5720 | .bios_param = gdth_bios_param, | 5697 | .bios_param = gdth_bios_param, |
5721 | .can_queue = GDTH_MAXCMDS, | 5698 | .can_queue = GDTH_MAXCMDS, |
5722 | .this_id = -1, | 5699 | .this_id = -1, |
diff --git a/drivers/scsi/gvp11.c b/drivers/scsi/gvp11.c index 30cbf73c7433..d12342fa8199 100644 --- a/drivers/scsi/gvp11.c +++ b/drivers/scsi/gvp11.c | |||
@@ -345,7 +345,15 @@ release: | |||
345 | static int gvp11_bus_reset(Scsi_Cmnd *cmd) | 345 | static int gvp11_bus_reset(Scsi_Cmnd *cmd) |
346 | { | 346 | { |
347 | /* FIXME perform bus-specific reset */ | 347 | /* FIXME perform bus-specific reset */ |
348 | |||
349 | /* FIXME 2: shouldn't we no-op this function (return | ||
350 | FAILED), and fall back to host reset function, | ||
351 | wd33c93_host_reset ? */ | ||
352 | |||
353 | spin_lock_irq(cmd->device->host->host_lock); | ||
348 | wd33c93_host_reset(cmd); | 354 | wd33c93_host_reset(cmd); |
355 | spin_unlock_irq(cmd->device->host->host_lock); | ||
356 | |||
349 | return SUCCESS; | 357 | return SUCCESS; |
350 | } | 358 | } |
351 | 359 | ||
diff --git a/drivers/scsi/ibmmca.c b/drivers/scsi/ibmmca.c index a3fdead9bce9..b5dc35355570 100644 --- a/drivers/scsi/ibmmca.c +++ b/drivers/scsi/ibmmca.c | |||
@@ -2118,7 +2118,7 @@ static int ibmmca_queuecommand(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *)) | |||
2118 | return 0; | 2118 | return 0; |
2119 | } | 2119 | } |
2120 | 2120 | ||
2121 | static int ibmmca_abort(Scsi_Cmnd * cmd) | 2121 | static int __ibmmca_abort(Scsi_Cmnd * cmd) |
2122 | { | 2122 | { |
2123 | /* Abort does not work, as the adapter never generates an interrupt on | 2123 | /* Abort does not work, as the adapter never generates an interrupt on |
2124 | * whatever situation is simulated, even when really pending commands | 2124 | * whatever situation is simulated, even when really pending commands |
@@ -2225,7 +2225,19 @@ static int ibmmca_abort(Scsi_Cmnd * cmd) | |||
2225 | } | 2225 | } |
2226 | } | 2226 | } |
2227 | 2227 | ||
2228 | static int ibmmca_host_reset(Scsi_Cmnd * cmd) | 2228 | static int ibmmca_abort(Scsi_Cmnd * cmd) |
2229 | { | ||
2230 | struct Scsi_Host *shpnt = cmd->device->host; | ||
2231 | int rc; | ||
2232 | |||
2233 | spin_lock_irq(shpnt->host_lock); | ||
2234 | rc = __ibmmca_abort(cmd); | ||
2235 | spin_unlock_irq(shpnt->host_lock); | ||
2236 | |||
2237 | return rc; | ||
2238 | } | ||
2239 | |||
2240 | static int __ibmmca_host_reset(Scsi_Cmnd * cmd) | ||
2229 | { | 2241 | { |
2230 | struct Scsi_Host *shpnt; | 2242 | struct Scsi_Host *shpnt; |
2231 | Scsi_Cmnd *cmd_aid; | 2243 | Scsi_Cmnd *cmd_aid; |
@@ -2312,6 +2324,18 @@ static int ibmmca_host_reset(Scsi_Cmnd * cmd) | |||
2312 | return SUCCESS; | 2324 | return SUCCESS; |
2313 | } | 2325 | } |
2314 | 2326 | ||
2327 | static int ibmmca_host_reset(Scsi_Cmnd * cmd) | ||
2328 | { | ||
2329 | struct Scsi_Host *shpnt = cmd->device->host; | ||
2330 | int rc; | ||
2331 | |||
2332 | spin_lock_irq(shpnt->host_lock); | ||
2333 | rc = __ibmmca_host_reset(cmd); | ||
2334 | spin_unlock_irq(shpnt->host_lock); | ||
2335 | |||
2336 | return rc; | ||
2337 | } | ||
2338 | |||
2315 | static int ibmmca_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int *info) | 2339 | static int ibmmca_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int *info) |
2316 | { | 2340 | { |
2317 | int size = capacity; | 2341 | int size = capacity; |
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c index e89f76e5dd53..d89b8eb3cdf3 100644 --- a/drivers/scsi/ibmvscsi/ibmvscsi.c +++ b/drivers/scsi/ibmvscsi/ibmvscsi.c | |||
@@ -874,9 +874,7 @@ static int ibmvscsi_eh_abort_handler(struct scsi_cmnd *cmd) | |||
874 | return FAILED; | 874 | return FAILED; |
875 | } | 875 | } |
876 | 876 | ||
877 | spin_unlock_irq(hostdata->host->host_lock); | ||
878 | wait_for_completion(&evt->comp); | 877 | wait_for_completion(&evt->comp); |
879 | spin_lock_irq(hostdata->host->host_lock); | ||
880 | 878 | ||
881 | /* make sure we got a good response */ | 879 | /* make sure we got a good response */ |
882 | if (unlikely(srp_rsp.srp.generic.type != SRP_RSP_TYPE)) { | 880 | if (unlikely(srp_rsp.srp.generic.type != SRP_RSP_TYPE)) { |
@@ -978,9 +976,7 @@ static int ibmvscsi_eh_device_reset_handler(struct scsi_cmnd *cmd) | |||
978 | return FAILED; | 976 | return FAILED; |
979 | } | 977 | } |
980 | 978 | ||
981 | spin_unlock_irq(hostdata->host->host_lock); | ||
982 | wait_for_completion(&evt->comp); | 979 | wait_for_completion(&evt->comp); |
983 | spin_lock_irq(hostdata->host->host_lock); | ||
984 | 980 | ||
985 | /* make sure we got a good response */ | 981 | /* make sure we got a good response */ |
986 | if (unlikely(srp_rsp.srp.generic.type != SRP_RSP_TYPE)) { | 982 | if (unlikely(srp_rsp.srp.generic.type != SRP_RSP_TYPE)) { |
diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c index 83f062ed9082..3d62c9bcbff7 100644 --- a/drivers/scsi/ide-scsi.c +++ b/drivers/scsi/ide-scsi.c | |||
@@ -46,6 +46,7 @@ | |||
46 | #include <linux/slab.h> | 46 | #include <linux/slab.h> |
47 | #include <linux/ide.h> | 47 | #include <linux/ide.h> |
48 | #include <linux/scatterlist.h> | 48 | #include <linux/scatterlist.h> |
49 | #include <linux/delay.h> | ||
49 | 50 | ||
50 | #include <asm/io.h> | 51 | #include <asm/io.h> |
51 | #include <asm/bitops.h> | 52 | #include <asm/bitops.h> |
@@ -1026,11 +1027,13 @@ static int idescsi_eh_reset (struct scsi_cmnd *cmd) | |||
1026 | return FAILED; | 1027 | return FAILED; |
1027 | } | 1028 | } |
1028 | 1029 | ||
1029 | spin_lock_irq(&ide_lock); | 1030 | spin_lock_irq(cmd->device->host->host_lock); |
1031 | spin_lock(&ide_lock); | ||
1030 | 1032 | ||
1031 | if (!scsi->pc || (req = scsi->pc->rq) != HWGROUP(drive)->rq || !HWGROUP(drive)->handler) { | 1033 | if (!scsi->pc || (req = scsi->pc->rq) != HWGROUP(drive)->rq || !HWGROUP(drive)->handler) { |
1032 | printk (KERN_WARNING "ide-scsi: No active request in idescsi_eh_reset\n"); | 1034 | printk (KERN_WARNING "ide-scsi: No active request in idescsi_eh_reset\n"); |
1033 | spin_unlock(&ide_lock); | 1035 | spin_unlock(&ide_lock); |
1036 | spin_unlock_irq(cmd->device->host->host_lock); | ||
1034 | return FAILED; | 1037 | return FAILED; |
1035 | } | 1038 | } |
1036 | 1039 | ||
@@ -1052,16 +1055,15 @@ static int idescsi_eh_reset (struct scsi_cmnd *cmd) | |||
1052 | HWGROUP(drive)->rq = NULL; | 1055 | HWGROUP(drive)->rq = NULL; |
1053 | HWGROUP(drive)->handler = NULL; | 1056 | HWGROUP(drive)->handler = NULL; |
1054 | HWGROUP(drive)->busy = 1; /* will set this to zero when ide reset finished */ | 1057 | HWGROUP(drive)->busy = 1; /* will set this to zero when ide reset finished */ |
1055 | spin_unlock_irq(&ide_lock); | 1058 | spin_unlock(&ide_lock); |
1056 | 1059 | ||
1057 | ide_do_reset(drive); | 1060 | ide_do_reset(drive); |
1058 | 1061 | ||
1059 | /* ide_do_reset starts a polling handler which restarts itself every 50ms until the reset finishes */ | 1062 | /* ide_do_reset starts a polling handler which restarts itself every 50ms until the reset finishes */ |
1060 | 1063 | ||
1061 | do { | 1064 | do { |
1062 | set_current_state(TASK_UNINTERRUPTIBLE); | ||
1063 | spin_unlock_irq(cmd->device->host->host_lock); | 1065 | spin_unlock_irq(cmd->device->host->host_lock); |
1064 | schedule_timeout(HZ/20); | 1066 | msleep(50); |
1065 | spin_lock_irq(cmd->device->host->host_lock); | 1067 | spin_lock_irq(cmd->device->host->host_lock); |
1066 | } while ( HWGROUP(drive)->handler ); | 1068 | } while ( HWGROUP(drive)->handler ); |
1067 | 1069 | ||
@@ -1072,6 +1074,7 @@ static int idescsi_eh_reset (struct scsi_cmnd *cmd) | |||
1072 | ret = FAILED; | 1074 | ret = FAILED; |
1073 | } | 1075 | } |
1074 | 1076 | ||
1077 | spin_unlock_irq(cmd->device->host->host_lock); | ||
1075 | return ret; | 1078 | return ret; |
1076 | } | 1079 | } |
1077 | 1080 | ||
diff --git a/drivers/scsi/imm.c b/drivers/scsi/imm.c index be7f2ca0183f..65e845665b85 100644 --- a/drivers/scsi/imm.c +++ b/drivers/scsi/imm.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/blkdev.h> | 18 | #include <linux/blkdev.h> |
19 | #include <linux/parport.h> | 19 | #include <linux/parport.h> |
20 | #include <linux/workqueue.h> | 20 | #include <linux/workqueue.h> |
21 | #include <linux/delay.h> | ||
21 | #include <asm/io.h> | 22 | #include <asm/io.h> |
22 | 23 | ||
23 | #include <scsi/scsi.h> | 24 | #include <scsi/scsi.h> |
@@ -610,9 +611,9 @@ static int imm_init(imm_struct *dev) | |||
610 | if (imm_connect(dev, 0) != 1) | 611 | if (imm_connect(dev, 0) != 1) |
611 | return -EIO; | 612 | return -EIO; |
612 | imm_reset_pulse(dev->base); | 613 | imm_reset_pulse(dev->base); |
613 | udelay(1000); /* Delay to allow devices to settle */ | 614 | mdelay(1); /* Delay to allow devices to settle */ |
614 | imm_disconnect(dev); | 615 | imm_disconnect(dev); |
615 | udelay(1000); /* Another delay to allow devices to settle */ | 616 | mdelay(1); /* Another delay to allow devices to settle */ |
616 | return device_check(dev); | 617 | return device_check(dev); |
617 | } | 618 | } |
618 | 619 | ||
@@ -1026,9 +1027,9 @@ static int imm_reset(struct scsi_cmnd *cmd) | |||
1026 | 1027 | ||
1027 | imm_connect(dev, CONNECT_NORMAL); | 1028 | imm_connect(dev, CONNECT_NORMAL); |
1028 | imm_reset_pulse(dev->base); | 1029 | imm_reset_pulse(dev->base); |
1029 | udelay(1000); /* device settle delay */ | 1030 | mdelay(1); /* device settle delay */ |
1030 | imm_disconnect(dev); | 1031 | imm_disconnect(dev); |
1031 | udelay(1000); /* device settle delay */ | 1032 | mdelay(1); /* device settle delay */ |
1032 | return SUCCESS; | 1033 | return SUCCESS; |
1033 | } | 1034 | } |
1034 | 1035 | ||
diff --git a/drivers/scsi/in2000.c b/drivers/scsi/in2000.c index 0bb0369efb2d..aed7e64865fa 100644 --- a/drivers/scsi/in2000.c +++ b/drivers/scsi/in2000.c | |||
@@ -1644,14 +1644,16 @@ static int in2000_bus_reset(Scsi_Cmnd * cmd) | |||
1644 | struct Scsi_Host *instance; | 1644 | struct Scsi_Host *instance; |
1645 | struct IN2000_hostdata *hostdata; | 1645 | struct IN2000_hostdata *hostdata; |
1646 | int x; | 1646 | int x; |
1647 | unsigned long flags; | ||
1647 | 1648 | ||
1648 | instance = cmd->device->host; | 1649 | instance = cmd->device->host; |
1649 | hostdata = (struct IN2000_hostdata *) instance->hostdata; | 1650 | hostdata = (struct IN2000_hostdata *) instance->hostdata; |
1650 | 1651 | ||
1651 | printk(KERN_WARNING "scsi%d: Reset. ", instance->host_no); | 1652 | printk(KERN_WARNING "scsi%d: Reset. ", instance->host_no); |
1652 | 1653 | ||
1653 | /* do scsi-reset here */ | 1654 | spin_lock_irqsave(instance->host_lock, flags); |
1654 | 1655 | ||
1656 | /* do scsi-reset here */ | ||
1655 | reset_hardware(instance, RESET_CARD_AND_BUS); | 1657 | reset_hardware(instance, RESET_CARD_AND_BUS); |
1656 | for (x = 0; x < 8; x++) { | 1658 | for (x = 0; x < 8; x++) { |
1657 | hostdata->busy[x] = 0; | 1659 | hostdata->busy[x] = 0; |
@@ -1668,21 +1670,12 @@ static int in2000_bus_reset(Scsi_Cmnd * cmd) | |||
1668 | hostdata->outgoing_len = 0; | 1670 | hostdata->outgoing_len = 0; |
1669 | 1671 | ||
1670 | cmd->result = DID_RESET << 16; | 1672 | cmd->result = DID_RESET << 16; |
1671 | return SUCCESS; | ||
1672 | } | ||
1673 | 1673 | ||
1674 | static int in2000_host_reset(Scsi_Cmnd * cmd) | 1674 | spin_unlock_irqrestore(instance->host_lock, flags); |
1675 | { | 1675 | return SUCCESS; |
1676 | return FAILED; | ||
1677 | } | ||
1678 | |||
1679 | static int in2000_device_reset(Scsi_Cmnd * cmd) | ||
1680 | { | ||
1681 | return FAILED; | ||
1682 | } | 1676 | } |
1683 | 1677 | ||
1684 | 1678 | static int __in2000_abort(Scsi_Cmnd * cmd) | |
1685 | static int in2000_abort(Scsi_Cmnd * cmd) | ||
1686 | { | 1679 | { |
1687 | struct Scsi_Host *instance; | 1680 | struct Scsi_Host *instance; |
1688 | struct IN2000_hostdata *hostdata; | 1681 | struct IN2000_hostdata *hostdata; |
@@ -1803,6 +1796,16 @@ static int in2000_abort(Scsi_Cmnd * cmd) | |||
1803 | return SUCCESS; | 1796 | return SUCCESS; |
1804 | } | 1797 | } |
1805 | 1798 | ||
1799 | static int in2000_abort(Scsi_Cmnd * cmd) | ||
1800 | { | ||
1801 | int rc; | ||
1802 | |||
1803 | spin_lock_irq(cmd->device->host->host_lock); | ||
1804 | rc = __in2000_abort(cmd); | ||
1805 | spin_unlock_irq(cmd->device->host->host_lock); | ||
1806 | |||
1807 | return rc; | ||
1808 | } | ||
1806 | 1809 | ||
1807 | 1810 | ||
1808 | #define MAX_IN2000_HOSTS 3 | 1811 | #define MAX_IN2000_HOSTS 3 |
@@ -2311,8 +2314,6 @@ static Scsi_Host_Template driver_template = { | |||
2311 | .queuecommand = in2000_queuecommand, | 2314 | .queuecommand = in2000_queuecommand, |
2312 | .eh_abort_handler = in2000_abort, | 2315 | .eh_abort_handler = in2000_abort, |
2313 | .eh_bus_reset_handler = in2000_bus_reset, | 2316 | .eh_bus_reset_handler = in2000_bus_reset, |
2314 | .eh_device_reset_handler = in2000_device_reset, | ||
2315 | .eh_host_reset_handler = in2000_host_reset, | ||
2316 | .bios_param = in2000_biosparam, | 2317 | .bios_param = in2000_biosparam, |
2317 | .can_queue = IN2000_CAN_Q, | 2318 | .can_queue = IN2000_CAN_Q, |
2318 | .this_id = IN2000_HOST_ID, | 2319 | .this_id = IN2000_HOST_ID, |
diff --git a/drivers/scsi/in2000.h b/drivers/scsi/in2000.h index 019e45df3016..a240b52554d8 100644 --- a/drivers/scsi/in2000.h +++ b/drivers/scsi/in2000.h | |||
@@ -401,9 +401,7 @@ static int in2000_abort(Scsi_Cmnd *); | |||
401 | static void in2000_setup(char *, int *) in2000__INIT; | 401 | static void in2000_setup(char *, int *) in2000__INIT; |
402 | static int in2000_biosparam(struct scsi_device *, struct block_device *, | 402 | static int in2000_biosparam(struct scsi_device *, struct block_device *, |
403 | sector_t, int *); | 403 | sector_t, int *); |
404 | static int in2000_host_reset(Scsi_Cmnd *); | ||
405 | static int in2000_bus_reset(Scsi_Cmnd *); | 404 | static int in2000_bus_reset(Scsi_Cmnd *); |
406 | static int in2000_device_reset(Scsi_Cmnd *); | ||
407 | 405 | ||
408 | 406 | ||
409 | #define IN2000_CAN_Q 16 | 407 | #define IN2000_CAN_Q 16 |
diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c index a7b74d8c53b9..f7ddc9f1ba41 100644 --- a/drivers/scsi/initio.c +++ b/drivers/scsi/initio.c | |||
@@ -3014,7 +3014,11 @@ static int i91u_bus_reset(struct scsi_cmnd * SCpnt) | |||
3014 | HCS *pHCB; | 3014 | HCS *pHCB; |
3015 | 3015 | ||
3016 | pHCB = (HCS *) SCpnt->device->host->base; | 3016 | pHCB = (HCS *) SCpnt->device->host->base; |
3017 | |||
3018 | spin_lock_irq(SCpnt->device->host->host_lock); | ||
3017 | tul_reset_scsi(pHCB, 0); | 3019 | tul_reset_scsi(pHCB, 0); |
3020 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
3021 | |||
3018 | return SUCCESS; | 3022 | return SUCCESS; |
3019 | } | 3023 | } |
3020 | 3024 | ||
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 5441531c0d8e..17b106b79f72 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -1053,7 +1053,7 @@ static void ipr_log_array_error(struct ipr_ioa_cfg *ioa_cfg, | |||
1053 | array_entry->dev_res_addr.lun); | 1053 | array_entry->dev_res_addr.lun); |
1054 | } | 1054 | } |
1055 | 1055 | ||
1056 | if (array_entry->dev_res_addr.bus >= IPR_MAX_NUM_BUSES) { | 1056 | if (array_entry->expected_dev_res_addr.bus >= IPR_MAX_NUM_BUSES) { |
1057 | ipr_err("Expected Location: unknown\n"); | 1057 | ipr_err("Expected Location: unknown\n"); |
1058 | } else { | 1058 | } else { |
1059 | ipr_err("Expected Location: %d:%d:%d:%d\n", | 1059 | ipr_err("Expected Location: %d:%d:%d:%d\n", |
@@ -2885,7 +2885,7 @@ static int ipr_slave_alloc(struct scsi_device *sdev) | |||
2885 | * Return value: | 2885 | * Return value: |
2886 | * SUCCESS / FAILED | 2886 | * SUCCESS / FAILED |
2887 | **/ | 2887 | **/ |
2888 | static int ipr_eh_host_reset(struct scsi_cmnd * scsi_cmd) | 2888 | static int __ipr_eh_host_reset(struct scsi_cmnd * scsi_cmd) |
2889 | { | 2889 | { |
2890 | struct ipr_ioa_cfg *ioa_cfg; | 2890 | struct ipr_ioa_cfg *ioa_cfg; |
2891 | int rc; | 2891 | int rc; |
@@ -2905,6 +2905,17 @@ static int ipr_eh_host_reset(struct scsi_cmnd * scsi_cmd) | |||
2905 | return rc; | 2905 | return rc; |
2906 | } | 2906 | } |
2907 | 2907 | ||
2908 | static int ipr_eh_host_reset(struct scsi_cmnd * cmd) | ||
2909 | { | ||
2910 | int rc; | ||
2911 | |||
2912 | spin_lock_irq(cmd->device->host->host_lock); | ||
2913 | rc = __ipr_eh_host_reset(cmd); | ||
2914 | spin_unlock_irq(cmd->device->host->host_lock); | ||
2915 | |||
2916 | return rc; | ||
2917 | } | ||
2918 | |||
2908 | /** | 2919 | /** |
2909 | * ipr_eh_dev_reset - Reset the device | 2920 | * ipr_eh_dev_reset - Reset the device |
2910 | * @scsi_cmd: scsi command struct | 2921 | * @scsi_cmd: scsi command struct |
@@ -2916,7 +2927,7 @@ static int ipr_eh_host_reset(struct scsi_cmnd * scsi_cmd) | |||
2916 | * Return value: | 2927 | * Return value: |
2917 | * SUCCESS / FAILED | 2928 | * SUCCESS / FAILED |
2918 | **/ | 2929 | **/ |
2919 | static int ipr_eh_dev_reset(struct scsi_cmnd * scsi_cmd) | 2930 | static int __ipr_eh_dev_reset(struct scsi_cmnd * scsi_cmd) |
2920 | { | 2931 | { |
2921 | struct ipr_cmnd *ipr_cmd; | 2932 | struct ipr_cmnd *ipr_cmd; |
2922 | struct ipr_ioa_cfg *ioa_cfg; | 2933 | struct ipr_ioa_cfg *ioa_cfg; |
@@ -2970,6 +2981,17 @@ static int ipr_eh_dev_reset(struct scsi_cmnd * scsi_cmd) | |||
2970 | return (IPR_IOASC_SENSE_KEY(ioasc) ? FAILED : SUCCESS); | 2981 | return (IPR_IOASC_SENSE_KEY(ioasc) ? FAILED : SUCCESS); |
2971 | } | 2982 | } |
2972 | 2983 | ||
2984 | static int ipr_eh_dev_reset(struct scsi_cmnd * cmd) | ||
2985 | { | ||
2986 | int rc; | ||
2987 | |||
2988 | spin_lock_irq(cmd->device->host->host_lock); | ||
2989 | rc = __ipr_eh_dev_reset(cmd); | ||
2990 | spin_unlock_irq(cmd->device->host->host_lock); | ||
2991 | |||
2992 | return rc; | ||
2993 | } | ||
2994 | |||
2973 | /** | 2995 | /** |
2974 | * ipr_bus_reset_done - Op done function for bus reset. | 2996 | * ipr_bus_reset_done - Op done function for bus reset. |
2975 | * @ipr_cmd: ipr command struct | 2997 | * @ipr_cmd: ipr command struct |
@@ -3068,6 +3090,12 @@ static int ipr_cancel_op(struct scsi_cmnd * scsi_cmd) | |||
3068 | ioa_cfg = (struct ipr_ioa_cfg *)scsi_cmd->device->host->hostdata; | 3090 | ioa_cfg = (struct ipr_ioa_cfg *)scsi_cmd->device->host->hostdata; |
3069 | res = scsi_cmd->device->hostdata; | 3091 | res = scsi_cmd->device->hostdata; |
3070 | 3092 | ||
3093 | /* If we are currently going through reset/reload, return failed. | ||
3094 | * This will force the mid-layer to call ipr_eh_host_reset, | ||
3095 | * which will then go to sleep and wait for the reset to complete | ||
3096 | */ | ||
3097 | if (ioa_cfg->in_reset_reload || ioa_cfg->ioa_is_dead) | ||
3098 | return FAILED; | ||
3071 | if (!res || (!ipr_is_gscsi(res) && !ipr_is_vset_device(res))) | 3099 | if (!res || (!ipr_is_gscsi(res) && !ipr_is_vset_device(res))) |
3072 | return FAILED; | 3100 | return FAILED; |
3073 | 3101 | ||
@@ -3118,23 +3146,17 @@ static int ipr_cancel_op(struct scsi_cmnd * scsi_cmd) | |||
3118 | **/ | 3146 | **/ |
3119 | static int ipr_eh_abort(struct scsi_cmnd * scsi_cmd) | 3147 | static int ipr_eh_abort(struct scsi_cmnd * scsi_cmd) |
3120 | { | 3148 | { |
3121 | struct ipr_ioa_cfg *ioa_cfg; | 3149 | unsigned long flags; |
3150 | int rc; | ||
3122 | 3151 | ||
3123 | ENTER; | 3152 | ENTER; |
3124 | ioa_cfg = (struct ipr_ioa_cfg *) scsi_cmd->device->host->hostdata; | ||
3125 | 3153 | ||
3126 | /* If we are currently going through reset/reload, return failed. This will force the | 3154 | spin_lock_irqsave(scsi_cmd->device->host->host_lock, flags); |
3127 | mid-layer to call ipr_eh_host_reset, which will then go to sleep and wait for the | 3155 | rc = ipr_cancel_op(scsi_cmd); |
3128 | reset to complete */ | 3156 | spin_unlock_irqrestore(scsi_cmd->device->host->host_lock, flags); |
3129 | if (ioa_cfg->in_reset_reload) | ||
3130 | return FAILED; | ||
3131 | if (ioa_cfg->ioa_is_dead) | ||
3132 | return FAILED; | ||
3133 | if (!scsi_cmd->device->hostdata) | ||
3134 | return FAILED; | ||
3135 | 3157 | ||
3136 | LEAVE; | 3158 | LEAVE; |
3137 | return ipr_cancel_op(scsi_cmd); | 3159 | return rc; |
3138 | } | 3160 | } |
3139 | 3161 | ||
3140 | /** | 3162 | /** |
@@ -5886,6 +5908,7 @@ static void __ipr_remove(struct pci_dev *pdev) | |||
5886 | 5908 | ||
5887 | spin_unlock_irqrestore(ioa_cfg->host->host_lock, host_lock_flags); | 5909 | spin_unlock_irqrestore(ioa_cfg->host->host_lock, host_lock_flags); |
5888 | wait_event(ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload); | 5910 | wait_event(ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload); |
5911 | flush_scheduled_work(); | ||
5889 | spin_lock_irqsave(ioa_cfg->host->host_lock, host_lock_flags); | 5912 | spin_lock_irqsave(ioa_cfg->host->host_lock, host_lock_flags); |
5890 | 5913 | ||
5891 | spin_lock(&ipr_driver_lock); | 5914 | spin_lock(&ipr_driver_lock); |
@@ -5916,8 +5939,6 @@ static void ipr_remove(struct pci_dev *pdev) | |||
5916 | 5939 | ||
5917 | ENTER; | 5940 | ENTER; |
5918 | 5941 | ||
5919 | ioa_cfg->allow_cmds = 0; | ||
5920 | flush_scheduled_work(); | ||
5921 | ipr_remove_trace_file(&ioa_cfg->host->shost_classdev.kobj, | 5942 | ipr_remove_trace_file(&ioa_cfg->host->shost_classdev.kobj, |
5922 | &ipr_trace_attr); | 5943 | &ipr_trace_attr); |
5923 | ipr_remove_dump_file(&ioa_cfg->host->shost_classdev.kobj, | 5944 | ipr_remove_dump_file(&ioa_cfg->host->shost_classdev.kobj, |
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index 446f4259285b..cbff3ea3cd89 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h | |||
@@ -36,8 +36,8 @@ | |||
36 | /* | 36 | /* |
37 | * Literals | 37 | * Literals |
38 | */ | 38 | */ |
39 | #define IPR_DRIVER_VERSION "2.0.13" | 39 | #define IPR_DRIVER_VERSION "2.0.14" |
40 | #define IPR_DRIVER_DATE "(February 21, 2005)" | 40 | #define IPR_DRIVER_DATE "(May 2, 2005)" |
41 | 41 | ||
42 | /* | 42 | /* |
43 | * IPR_DBG_TRACE: Setting this to 1 will turn on some general function tracing | 43 | * IPR_DBG_TRACE: Setting this to 1 will turn on some general function tracing |
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index fbc2cb6667a1..6dfcb4fbccdd 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c | |||
@@ -819,12 +819,15 @@ ips_eh_abort(Scsi_Cmnd * SC) | |||
819 | ips_ha_t *ha; | 819 | ips_ha_t *ha; |
820 | ips_copp_wait_item_t *item; | 820 | ips_copp_wait_item_t *item; |
821 | int ret; | 821 | int ret; |
822 | unsigned long cpu_flags; | ||
823 | struct Scsi_Host *host; | ||
822 | 824 | ||
823 | METHOD_TRACE("ips_eh_abort", 1); | 825 | METHOD_TRACE("ips_eh_abort", 1); |
824 | 826 | ||
825 | if (!SC) | 827 | if (!SC) |
826 | return (FAILED); | 828 | return (FAILED); |
827 | 829 | ||
830 | host = SC->device->host; | ||
828 | ha = (ips_ha_t *) SC->device->host->hostdata; | 831 | ha = (ips_ha_t *) SC->device->host->hostdata; |
829 | 832 | ||
830 | if (!ha) | 833 | if (!ha) |
@@ -833,6 +836,8 @@ ips_eh_abort(Scsi_Cmnd * SC) | |||
833 | if (!ha->active) | 836 | if (!ha->active) |
834 | return (FAILED); | 837 | return (FAILED); |
835 | 838 | ||
839 | IPS_LOCK_SAVE(host->host_lock, cpu_flags); | ||
840 | |||
836 | /* See if the command is on the copp queue */ | 841 | /* See if the command is on the copp queue */ |
837 | item = ha->copp_waitlist.head; | 842 | item = ha->copp_waitlist.head; |
838 | while ((item) && (item->scsi_cmd != SC)) | 843 | while ((item) && (item->scsi_cmd != SC)) |
@@ -851,6 +856,8 @@ ips_eh_abort(Scsi_Cmnd * SC) | |||
851 | /* command must have already been sent */ | 856 | /* command must have already been sent */ |
852 | ret = (FAILED); | 857 | ret = (FAILED); |
853 | } | 858 | } |
859 | |||
860 | IPS_UNLOCK_RESTORE(host->host_lock, cpu_flags); | ||
854 | return ret; | 861 | return ret; |
855 | } | 862 | } |
856 | 863 | ||
@@ -866,7 +873,7 @@ ips_eh_abort(Scsi_Cmnd * SC) | |||
866 | /* */ | 873 | /* */ |
867 | /****************************************************************************/ | 874 | /****************************************************************************/ |
868 | static int | 875 | static int |
869 | ips_eh_reset(Scsi_Cmnd * SC) | 876 | __ips_eh_reset(Scsi_Cmnd * SC) |
870 | { | 877 | { |
871 | int ret; | 878 | int ret; |
872 | int i; | 879 | int i; |
@@ -1053,6 +1060,18 @@ ips_eh_reset(Scsi_Cmnd * SC) | |||
1053 | 1060 | ||
1054 | } | 1061 | } |
1055 | 1062 | ||
1063 | static int | ||
1064 | ips_eh_reset(Scsi_Cmnd * SC) | ||
1065 | { | ||
1066 | int rc; | ||
1067 | |||
1068 | spin_lock_irq(SC->device->host->host_lock); | ||
1069 | rc = __ips_eh_reset(SC); | ||
1070 | spin_unlock_irq(SC->device->host->host_lock); | ||
1071 | |||
1072 | return rc; | ||
1073 | } | ||
1074 | |||
1056 | /****************************************************************************/ | 1075 | /****************************************************************************/ |
1057 | /* */ | 1076 | /* */ |
1058 | /* Routine Name: ips_queue */ | 1077 | /* Routine Name: ips_queue */ |
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index 21d194c6ace3..9e58f134f68b 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c | |||
@@ -2577,7 +2577,6 @@ static void __atapi_pio_bytes(struct ata_queued_cmd *qc, unsigned int bytes) | |||
2577 | next_sg: | 2577 | next_sg: |
2578 | sg = &qc->sg[qc->cursg]; | 2578 | sg = &qc->sg[qc->cursg]; |
2579 | 2579 | ||
2580 | next_page: | ||
2581 | page = sg->page; | 2580 | page = sg->page; |
2582 | offset = sg->offset + qc->cursg_ofs; | 2581 | offset = sg->offset + qc->cursg_ofs; |
2583 | 2582 | ||
@@ -2585,6 +2584,7 @@ next_page: | |||
2585 | page = nth_page(page, (offset >> PAGE_SHIFT)); | 2584 | page = nth_page(page, (offset >> PAGE_SHIFT)); |
2586 | offset %= PAGE_SIZE; | 2585 | offset %= PAGE_SIZE; |
2587 | 2586 | ||
2587 | /* don't overrun current sg */ | ||
2588 | count = min(sg->length - qc->cursg_ofs, bytes); | 2588 | count = min(sg->length - qc->cursg_ofs, bytes); |
2589 | 2589 | ||
2590 | /* don't cross page boundaries */ | 2590 | /* don't cross page boundaries */ |
@@ -2609,8 +2609,6 @@ next_page: | |||
2609 | kunmap(page); | 2609 | kunmap(page); |
2610 | 2610 | ||
2611 | if (bytes) { | 2611 | if (bytes) { |
2612 | if (qc->cursg_ofs < sg->length) | ||
2613 | goto next_page; | ||
2614 | goto next_sg; | 2612 | goto next_sg; |
2615 | } | 2613 | } |
2616 | } | 2614 | } |
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c index 42fab03ad2ba..f2aff3f4042b 100644 --- a/drivers/scsi/lpfc/lpfc_scsi.c +++ b/drivers/scsi/lpfc/lpfc_scsi.c | |||
@@ -798,7 +798,7 @@ lpfc_queuecommand(struct scsi_cmnd *cmnd, void (*done) (struct scsi_cmnd *)) | |||
798 | } | 798 | } |
799 | 799 | ||
800 | static int | 800 | static int |
801 | lpfc_abort_handler(struct scsi_cmnd *cmnd) | 801 | __lpfc_abort_handler(struct scsi_cmnd *cmnd) |
802 | { | 802 | { |
803 | struct lpfc_hba *phba = | 803 | struct lpfc_hba *phba = |
804 | (struct lpfc_hba *)cmnd->device->host->hostdata[0]; | 804 | (struct lpfc_hba *)cmnd->device->host->hostdata[0]; |
@@ -918,7 +918,17 @@ lpfc_abort_handler(struct scsi_cmnd *cmnd) | |||
918 | } | 918 | } |
919 | 919 | ||
920 | static int | 920 | static int |
921 | lpfc_reset_lun_handler(struct scsi_cmnd *cmnd) | 921 | lpfc_abort_handler(struct scsi_cmnd *cmnd) |
922 | { | ||
923 | int rc; | ||
924 | spin_lock_irq(cmnd->device->host->host_lock); | ||
925 | rc = __lpfc_abort_handler(cmnd); | ||
926 | spin_unlock_irq(cmnd->device->host->host_lock); | ||
927 | return rc; | ||
928 | } | ||
929 | |||
930 | static int | ||
931 | __lpfc_reset_lun_handler(struct scsi_cmnd *cmnd) | ||
922 | { | 932 | { |
923 | struct Scsi_Host *shost = cmnd->device->host; | 933 | struct Scsi_Host *shost = cmnd->device->host; |
924 | struct lpfc_hba *phba = (struct lpfc_hba *)shost->hostdata[0]; | 934 | struct lpfc_hba *phba = (struct lpfc_hba *)shost->hostdata[0]; |
@@ -1030,11 +1040,21 @@ out: | |||
1030 | return ret; | 1040 | return ret; |
1031 | } | 1041 | } |
1032 | 1042 | ||
1043 | static int | ||
1044 | lpfc_reset_lun_handler(struct scsi_cmnd *cmnd) | ||
1045 | { | ||
1046 | int rc; | ||
1047 | spin_lock_irq(cmnd->device->host->host_lock); | ||
1048 | rc = __lpfc_reset_lun_handler(cmnd); | ||
1049 | spin_unlock_irq(cmnd->device->host->host_lock); | ||
1050 | return rc; | ||
1051 | } | ||
1052 | |||
1033 | /* | 1053 | /* |
1034 | * Note: midlayer calls this function with the host_lock held | 1054 | * Note: midlayer calls this function with the host_lock held |
1035 | */ | 1055 | */ |
1036 | static int | 1056 | static int |
1037 | lpfc_reset_bus_handler(struct scsi_cmnd *cmnd) | 1057 | __lpfc_reset_bus_handler(struct scsi_cmnd *cmnd) |
1038 | { | 1058 | { |
1039 | struct Scsi_Host *shost = cmnd->device->host; | 1059 | struct Scsi_Host *shost = cmnd->device->host; |
1040 | struct lpfc_hba *phba = (struct lpfc_hba *)shost->hostdata[0]; | 1060 | struct lpfc_hba *phba = (struct lpfc_hba *)shost->hostdata[0]; |
@@ -1124,6 +1144,16 @@ out: | |||
1124 | } | 1144 | } |
1125 | 1145 | ||
1126 | static int | 1146 | static int |
1147 | lpfc_reset_bus_handler(struct scsi_cmnd *cmnd) | ||
1148 | { | ||
1149 | int rc; | ||
1150 | spin_lock_irq(cmnd->device->host->host_lock); | ||
1151 | rc = __lpfc_reset_bus_handler(cmnd); | ||
1152 | spin_unlock_irq(cmnd->device->host->host_lock); | ||
1153 | return rc; | ||
1154 | } | ||
1155 | |||
1156 | static int | ||
1127 | lpfc_slave_alloc(struct scsi_device *sdev) | 1157 | lpfc_slave_alloc(struct scsi_device *sdev) |
1128 | { | 1158 | { |
1129 | struct lpfc_hba *phba = (struct lpfc_hba *)sdev->host->hostdata[0]; | 1159 | struct lpfc_hba *phba = (struct lpfc_hba *)sdev->host->hostdata[0]; |
diff --git a/drivers/scsi/mac53c94.c b/drivers/scsi/mac53c94.c index 3ef2a1443996..edd47d1f0b17 100644 --- a/drivers/scsi/mac53c94.c +++ b/drivers/scsi/mac53c94.c | |||
@@ -98,16 +98,14 @@ static int mac53c94_queue(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd * | |||
98 | return 0; | 98 | return 0; |
99 | } | 99 | } |
100 | 100 | ||
101 | static int mac53c94_abort(struct scsi_cmnd *cmd) | ||
102 | { | ||
103 | return FAILED; | ||
104 | } | ||
105 | |||
106 | static int mac53c94_host_reset(struct scsi_cmnd *cmd) | 101 | static int mac53c94_host_reset(struct scsi_cmnd *cmd) |
107 | { | 102 | { |
108 | struct fsc_state *state = (struct fsc_state *) cmd->device->host->hostdata; | 103 | struct fsc_state *state = (struct fsc_state *) cmd->device->host->hostdata; |
109 | struct mac53c94_regs __iomem *regs = state->regs; | 104 | struct mac53c94_regs __iomem *regs = state->regs; |
110 | struct dbdma_regs __iomem *dma = state->dma; | 105 | struct dbdma_regs __iomem *dma = state->dma; |
106 | unsigned long flags; | ||
107 | |||
108 | spin_lock_irqsave(cmd->device->host->host_lock, flags); | ||
111 | 109 | ||
112 | writel((RUN|PAUSE|FLUSH|WAKE) << 16, &dma->control); | 110 | writel((RUN|PAUSE|FLUSH|WAKE) << 16, &dma->control); |
113 | writeb(CMD_SCSI_RESET, ®s->command); /* assert RST */ | 111 | writeb(CMD_SCSI_RESET, ®s->command); /* assert RST */ |
@@ -116,6 +114,8 @@ static int mac53c94_host_reset(struct scsi_cmnd *cmd) | |||
116 | udelay(20); | 114 | udelay(20); |
117 | mac53c94_init(state); | 115 | mac53c94_init(state); |
118 | writeb(CMD_NOP, ®s->command); | 116 | writeb(CMD_NOP, ®s->command); |
117 | |||
118 | spin_unlock_irqrestore(cmd->device->host->host_lock, flags); | ||
119 | return SUCCESS; | 119 | return SUCCESS; |
120 | } | 120 | } |
121 | 121 | ||
@@ -416,7 +416,6 @@ static struct scsi_host_template mac53c94_template = { | |||
416 | .proc_name = "53c94", | 416 | .proc_name = "53c94", |
417 | .name = "53C94", | 417 | .name = "53C94", |
418 | .queuecommand = mac53c94_queue, | 418 | .queuecommand = mac53c94_queue, |
419 | .eh_abort_handler = mac53c94_abort, | ||
420 | .eh_host_reset_handler = mac53c94_host_reset, | 419 | .eh_host_reset_handler = mac53c94_host_reset, |
421 | .can_queue = 1, | 420 | .can_queue = 1, |
422 | .this_id = 7, | 421 | .this_id = 7, |
diff --git a/drivers/scsi/mac_scsi.c b/drivers/scsi/mac_scsi.c index d5fd17ef74db..92d2c8379abf 100644 --- a/drivers/scsi/mac_scsi.c +++ b/drivers/scsi/mac_scsi.c | |||
@@ -591,8 +591,6 @@ static Scsi_Host_Template driver_template = { | |||
591 | .queuecommand = macscsi_queue_command, | 591 | .queuecommand = macscsi_queue_command, |
592 | .eh_abort_handler = macscsi_abort, | 592 | .eh_abort_handler = macscsi_abort, |
593 | .eh_bus_reset_handler = macscsi_bus_reset, | 593 | .eh_bus_reset_handler = macscsi_bus_reset, |
594 | .eh_device_reset_handler = macscsi_device_reset, | ||
595 | .eh_host_reset_handler = macscsi_host_reset, | ||
596 | .can_queue = CAN_QUEUE, | 594 | .can_queue = CAN_QUEUE, |
597 | .this_id = 7, | 595 | .this_id = 7, |
598 | .sg_tablesize = SG_ALL, | 596 | .sg_tablesize = SG_ALL, |
diff --git a/drivers/scsi/mac_scsi.h b/drivers/scsi/mac_scsi.h index 23ab2c18a016..d26e331c6c12 100644 --- a/drivers/scsi/mac_scsi.h +++ b/drivers/scsi/mac_scsi.h | |||
@@ -72,8 +72,6 @@ | |||
72 | #define NCR5380_queue_command macscsi_queue_command | 72 | #define NCR5380_queue_command macscsi_queue_command |
73 | #define NCR5380_abort macscsi_abort | 73 | #define NCR5380_abort macscsi_abort |
74 | #define NCR5380_bus_reset macscsi_bus_reset | 74 | #define NCR5380_bus_reset macscsi_bus_reset |
75 | #define NCR5380_device_reset macscsi_device_reset | ||
76 | #define NCR5380_host_reset macscsi_host_reset | ||
77 | #define NCR5380_proc_info macscsi_proc_info | 75 | #define NCR5380_proc_info macscsi_proc_info |
78 | 76 | ||
79 | #define BOARD_NORMAL 0 | 77 | #define BOARD_NORMAL 0 |
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index 8d707b29027d..80b0c40c522b 100644 --- a/drivers/scsi/megaraid.c +++ b/drivers/scsi/megaraid.c | |||
@@ -1938,7 +1938,7 @@ megaraid_abort(Scsi_Cmnd *cmd) | |||
1938 | 1938 | ||
1939 | 1939 | ||
1940 | static int | 1940 | static int |
1941 | megaraid_reset(Scsi_Cmnd *cmd) | 1941 | __megaraid_reset(Scsi_Cmnd *cmd) |
1942 | { | 1942 | { |
1943 | adapter_t *adapter; | 1943 | adapter_t *adapter; |
1944 | megacmd_t mc; | 1944 | megacmd_t mc; |
@@ -1972,6 +1972,18 @@ megaraid_reset(Scsi_Cmnd *cmd) | |||
1972 | return rval; | 1972 | return rval; |
1973 | } | 1973 | } |
1974 | 1974 | ||
1975 | static int | ||
1976 | megaraid_reset(Scsi_Cmnd *cmd) | ||
1977 | { | ||
1978 | adapter = (adapter_t *)cmd->device->host->hostdata; | ||
1979 | int rc; | ||
1980 | |||
1981 | spin_lock_irq(&adapter->lock); | ||
1982 | rc = __megaraid_reset(cmd); | ||
1983 | spin_unlock_irq(&adapter->lock); | ||
1984 | |||
1985 | return rc; | ||
1986 | } | ||
1975 | 1987 | ||
1976 | 1988 | ||
1977 | /** | 1989 | /** |
diff --git a/drivers/scsi/megaraid/mega_common.h b/drivers/scsi/megaraid/mega_common.h index 18969a4946b7..69df1a9b935d 100644 --- a/drivers/scsi/megaraid/mega_common.h +++ b/drivers/scsi/megaraid/mega_common.h | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <linux/list.h> | 27 | #include <linux/list.h> |
28 | #include <linux/version.h> | 28 | #include <linux/version.h> |
29 | #include <linux/moduleparam.h> | 29 | #include <linux/moduleparam.h> |
30 | #include <linux/dma-mapping.h> | ||
30 | #include <asm/semaphore.h> | 31 | #include <asm/semaphore.h> |
31 | #include <scsi/scsi.h> | 32 | #include <scsi/scsi.h> |
32 | #include <scsi/scsi_cmnd.h> | 33 | #include <scsi/scsi_cmnd.h> |
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index 138fa4815833..057ed45b54b2 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c | |||
@@ -10,7 +10,7 @@ | |||
10 | * 2 of the License, or (at your option) any later version. | 10 | * 2 of the License, or (at your option) any later version. |
11 | * | 11 | * |
12 | * FILE : megaraid_mbox.c | 12 | * FILE : megaraid_mbox.c |
13 | * Version : v2.20.4.5 (Feb 03 2005) | 13 | * Version : v2.20.4.6 (Mar 07 2005) |
14 | * | 14 | * |
15 | * Authors: | 15 | * Authors: |
16 | * Atul Mukker <Atul.Mukker@lsil.com> | 16 | * Atul Mukker <Atul.Mukker@lsil.com> |
@@ -202,7 +202,7 @@ MODULE_PARM_DESC(debug_level, "Debug level for driver (default=0)"); | |||
202 | * ### global data ### | 202 | * ### global data ### |
203 | */ | 203 | */ |
204 | static uint8_t megaraid_mbox_version[8] = | 204 | static uint8_t megaraid_mbox_version[8] = |
205 | { 0x02, 0x20, 0x04, 0x05, 2, 3, 20, 5 }; | 205 | { 0x02, 0x20, 0x04, 0x06, 3, 7, 20, 5 }; |
206 | 206 | ||
207 | 207 | ||
208 | /* | 208 | /* |
@@ -229,9 +229,9 @@ static struct pci_device_id pci_id_table_g[] = { | |||
229 | }, | 229 | }, |
230 | { | 230 | { |
231 | PCI_VENDOR_ID_LSI_LOGIC, | 231 | PCI_VENDOR_ID_LSI_LOGIC, |
232 | PCI_DEVICE_ID_PERC4_QC, | 232 | PCI_DEVICE_ID_VERDE, |
233 | PCI_VENDOR_ID_DELL, | 233 | PCI_ANY_ID, |
234 | PCI_SUBSYS_ID_PERC4_QC, | 234 | PCI_ANY_ID, |
235 | }, | 235 | }, |
236 | { | 236 | { |
237 | PCI_VENDOR_ID_DELL, | 237 | PCI_VENDOR_ID_DELL, |
@@ -271,15 +271,9 @@ static struct pci_device_id pci_id_table_g[] = { | |||
271 | }, | 271 | }, |
272 | { | 272 | { |
273 | PCI_VENDOR_ID_LSI_LOGIC, | 273 | PCI_VENDOR_ID_LSI_LOGIC, |
274 | PCI_DEVICE_ID_PERC4E_DC_320_2E, | 274 | PCI_DEVICE_ID_DOBSON, |
275 | PCI_VENDOR_ID_DELL, | 275 | PCI_ANY_ID, |
276 | PCI_SUBSYS_ID_PERC4E_DC_320_2E, | 276 | PCI_ANY_ID, |
277 | }, | ||
278 | { | ||
279 | PCI_VENDOR_ID_LSI_LOGIC, | ||
280 | PCI_DEVICE_ID_PERC4E_SC_320_1E, | ||
281 | PCI_VENDOR_ID_DELL, | ||
282 | PCI_SUBSYS_ID_PERC4E_SC_320_1E, | ||
283 | }, | 277 | }, |
284 | { | 278 | { |
285 | PCI_VENDOR_ID_AMI, | 279 | PCI_VENDOR_ID_AMI, |
@@ -331,36 +325,6 @@ static struct pci_device_id pci_id_table_g[] = { | |||
331 | }, | 325 | }, |
332 | { | 326 | { |
333 | PCI_VENDOR_ID_LSI_LOGIC, | 327 | PCI_VENDOR_ID_LSI_LOGIC, |
334 | PCI_DEVICE_ID_MEGARAID_SCSI_320_0x, | ||
335 | PCI_VENDOR_ID_LSI_LOGIC, | ||
336 | PCI_SUBSYS_ID_MEGARAID_SCSI_320_0x, | ||
337 | }, | ||
338 | { | ||
339 | PCI_VENDOR_ID_LSI_LOGIC, | ||
340 | PCI_DEVICE_ID_MEGARAID_SCSI_320_2x, | ||
341 | PCI_VENDOR_ID_LSI_LOGIC, | ||
342 | PCI_SUBSYS_ID_MEGARAID_SCSI_320_2x, | ||
343 | }, | ||
344 | { | ||
345 | PCI_VENDOR_ID_LSI_LOGIC, | ||
346 | PCI_DEVICE_ID_MEGARAID_SCSI_320_4x, | ||
347 | PCI_VENDOR_ID_LSI_LOGIC, | ||
348 | PCI_SUBSYS_ID_MEGARAID_SCSI_320_4x, | ||
349 | }, | ||
350 | { | ||
351 | PCI_VENDOR_ID_LSI_LOGIC, | ||
352 | PCI_DEVICE_ID_MEGARAID_SCSI_320_1E, | ||
353 | PCI_VENDOR_ID_LSI_LOGIC, | ||
354 | PCI_SUBSYS_ID_MEGARAID_SCSI_320_1E, | ||
355 | }, | ||
356 | { | ||
357 | PCI_VENDOR_ID_LSI_LOGIC, | ||
358 | PCI_DEVICE_ID_MEGARAID_SCSI_320_2E, | ||
359 | PCI_VENDOR_ID_LSI_LOGIC, | ||
360 | PCI_SUBSYS_ID_MEGARAID_SCSI_320_2E, | ||
361 | }, | ||
362 | { | ||
363 | PCI_VENDOR_ID_LSI_LOGIC, | ||
364 | PCI_DEVICE_ID_MEGARAID_I4_133_RAID, | 328 | PCI_DEVICE_ID_MEGARAID_I4_133_RAID, |
365 | PCI_VENDOR_ID_LSI_LOGIC, | 329 | PCI_VENDOR_ID_LSI_LOGIC, |
366 | PCI_SUBSYS_ID_MEGARAID_I4_133_RAID, | 330 | PCI_SUBSYS_ID_MEGARAID_I4_133_RAID, |
@@ -379,21 +343,9 @@ static struct pci_device_id pci_id_table_g[] = { | |||
379 | }, | 343 | }, |
380 | { | 344 | { |
381 | PCI_VENDOR_ID_LSI_LOGIC, | 345 | PCI_VENDOR_ID_LSI_LOGIC, |
382 | PCI_DEVICE_ID_MEGARAID_SATA_300_4x, | 346 | PCI_DEVICE_ID_LINDSAY, |
383 | PCI_VENDOR_ID_LSI_LOGIC, | 347 | PCI_ANY_ID, |
384 | PCI_SUBSYS_ID_MEGARAID_SATA_300_4x, | 348 | PCI_ANY_ID, |
385 | }, | ||
386 | { | ||
387 | PCI_VENDOR_ID_LSI_LOGIC, | ||
388 | PCI_DEVICE_ID_MEGARAID_SATA_300_8x, | ||
389 | PCI_VENDOR_ID_LSI_LOGIC, | ||
390 | PCI_SUBSYS_ID_MEGARAID_SATA_300_8x, | ||
391 | }, | ||
392 | { | ||
393 | PCI_VENDOR_ID_LSI_LOGIC, | ||
394 | PCI_DEVICE_ID_INTEL_RAID_SRCU42X, | ||
395 | PCI_VENDOR_ID_INTEL, | ||
396 | PCI_SUBSYS_ID_INTEL_RAID_SRCU42X, | ||
397 | }, | 349 | }, |
398 | { | 350 | { |
399 | PCI_VENDOR_ID_LSI_LOGIC, | 351 | PCI_VENDOR_ID_LSI_LOGIC, |
@@ -403,58 +355,10 @@ static struct pci_device_id pci_id_table_g[] = { | |||
403 | }, | 355 | }, |
404 | { | 356 | { |
405 | PCI_VENDOR_ID_LSI_LOGIC, | 357 | PCI_VENDOR_ID_LSI_LOGIC, |
406 | PCI_DEVICE_ID_INTEL_RAID_SRCU42E, | ||
407 | PCI_VENDOR_ID_INTEL, | ||
408 | PCI_SUBSYS_ID_INTEL_RAID_SRCU42E, | ||
409 | }, | ||
410 | { | ||
411 | PCI_VENDOR_ID_LSI_LOGIC, | ||
412 | PCI_DEVICE_ID_INTEL_RAID_SRCZCRX, | ||
413 | PCI_VENDOR_ID_INTEL, | ||
414 | PCI_SUBSYS_ID_INTEL_RAID_SRCZCRX, | ||
415 | }, | ||
416 | { | ||
417 | PCI_VENDOR_ID_LSI_LOGIC, | ||
418 | PCI_DEVICE_ID_INTEL_RAID_SRCS28X, | ||
419 | PCI_VENDOR_ID_INTEL, | ||
420 | PCI_SUBSYS_ID_INTEL_RAID_SRCS28X, | ||
421 | }, | ||
422 | { | ||
423 | PCI_VENDOR_ID_LSI_LOGIC, | ||
424 | PCI_DEVICE_ID_INTEL_RAID_SROMBU42E_ALIEF, | ||
425 | PCI_VENDOR_ID_INTEL, | ||
426 | PCI_SUBSYS_ID_INTEL_RAID_SROMBU42E_ALIEF, | ||
427 | }, | ||
428 | { | ||
429 | PCI_VENDOR_ID_LSI_LOGIC, | ||
430 | PCI_DEVICE_ID_INTEL_RAID_SROMBU42E_HARWICH, | ||
431 | PCI_VENDOR_ID_INTEL, | ||
432 | PCI_SUBSYS_ID_INTEL_RAID_SROMBU42E_HARWICH, | ||
433 | }, | ||
434 | { | ||
435 | PCI_VENDOR_ID_LSI_LOGIC, | ||
436 | PCI_DEVICE_ID_INTEL_RAID_SRCU41L_LAKE_SHETEK, | 358 | PCI_DEVICE_ID_INTEL_RAID_SRCU41L_LAKE_SHETEK, |
437 | PCI_VENDOR_ID_INTEL, | 359 | PCI_VENDOR_ID_INTEL, |
438 | PCI_SUBSYS_ID_INTEL_RAID_SRCU41L_LAKE_SHETEK, | 360 | PCI_SUBSYS_ID_INTEL_RAID_SRCU41L_LAKE_SHETEK, |
439 | }, | 361 | }, |
440 | { | ||
441 | PCI_VENDOR_ID_LSI_LOGIC, | ||
442 | PCI_DEVICE_ID_FSC_MEGARAID_PCI_EXPRESS_ROMB, | ||
443 | PCI_SUBSYS_ID_FSC, | ||
444 | PCI_SUBSYS_ID_FSC_MEGARAID_PCI_EXPRESS_ROMB, | ||
445 | }, | ||
446 | { | ||
447 | PCI_VENDOR_ID_LSI_LOGIC, | ||
448 | PCI_DEVICE_ID_MEGARAID_ACER_ROMB_2E, | ||
449 | PCI_VENDOR_ID_AI, | ||
450 | PCI_SUBSYS_ID_MEGARAID_ACER_ROMB_2E, | ||
451 | }, | ||
452 | { | ||
453 | PCI_VENDOR_ID_LSI_LOGIC, | ||
454 | PCI_DEVICE_ID_MEGARAID_NEC_ROMB_2E, | ||
455 | PCI_VENDOR_ID_NEC, | ||
456 | PCI_SUBSYS_ID_MEGARAID_NEC_ROMB_2E, | ||
457 | }, | ||
458 | {0} /* Terminating entry */ | 362 | {0} /* Terminating entry */ |
459 | }; | 363 | }; |
460 | MODULE_DEVICE_TABLE(pci, pci_id_table_g); | 364 | MODULE_DEVICE_TABLE(pci, pci_id_table_g); |
@@ -539,7 +443,8 @@ megaraid_init(void) | |||
539 | 443 | ||
540 | 444 | ||
541 | // register as a PCI hot-plug driver module | 445 | // register as a PCI hot-plug driver module |
542 | if ((rval = pci_module_init(&megaraid_pci_driver_g))) { | 446 | rval = pci_register_driver(&megaraid_pci_driver_g); |
447 | if (rval < 0) { | ||
543 | con_log(CL_ANN, (KERN_WARNING | 448 | con_log(CL_ANN, (KERN_WARNING |
544 | "megaraid: could not register hotplug support.\n")); | 449 | "megaraid: could not register hotplug support.\n")); |
545 | } | 450 | } |
@@ -619,7 +524,7 @@ megaraid_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
619 | 524 | ||
620 | // Setup the default DMA mask. This would be changed later on | 525 | // Setup the default DMA mask. This would be changed later on |
621 | // depending on hardware capabilities | 526 | // depending on hardware capabilities |
622 | if (pci_set_dma_mask(adapter->pdev, 0xFFFFFFFF) != 0) { | 527 | if (pci_set_dma_mask(adapter->pdev, DMA_32BIT_MASK) != 0) { |
623 | 528 | ||
624 | con_log(CL_ANN, (KERN_WARNING | 529 | con_log(CL_ANN, (KERN_WARNING |
625 | "megaraid: pci_set_dma_mask failed:%d\n", __LINE__)); | 530 | "megaraid: pci_set_dma_mask failed:%d\n", __LINE__)); |
@@ -1031,7 +936,7 @@ megaraid_init_mbox(adapter_t *adapter) | |||
1031 | 936 | ||
1032 | // Set the DMA mask to 64-bit. All supported controllers as capable of | 937 | // Set the DMA mask to 64-bit. All supported controllers as capable of |
1033 | // DMA in this range | 938 | // DMA in this range |
1034 | if (pci_set_dma_mask(adapter->pdev, 0xFFFFFFFFFFFFFFFFULL) != 0) { | 939 | if (pci_set_dma_mask(adapter->pdev, DMA_64BIT_MASK) != 0) { |
1035 | 940 | ||
1036 | con_log(CL_ANN, (KERN_WARNING | 941 | con_log(CL_ANN, (KERN_WARNING |
1037 | "megaraid: could not set DMA mask for 64-bit.\n")); | 942 | "megaraid: could not set DMA mask for 64-bit.\n")); |
@@ -2661,7 +2566,7 @@ megaraid_mbox_dpc(unsigned long devp) | |||
2661 | * aborted. All the commands issued to the F/W must complete. | 2566 | * aborted. All the commands issued to the F/W must complete. |
2662 | **/ | 2567 | **/ |
2663 | static int | 2568 | static int |
2664 | megaraid_abort_handler(struct scsi_cmnd *scp) | 2569 | __megaraid_abort_handler(struct scsi_cmnd *scp) |
2665 | { | 2570 | { |
2666 | adapter_t *adapter; | 2571 | adapter_t *adapter; |
2667 | mraid_device_t *raid_dev; | 2572 | mraid_device_t *raid_dev; |
@@ -2794,6 +2699,21 @@ megaraid_abort_handler(struct scsi_cmnd *scp) | |||
2794 | return FAILED; | 2699 | return FAILED; |
2795 | } | 2700 | } |
2796 | 2701 | ||
2702 | static int | ||
2703 | megaraid_abort_handler(struct scsi_cmnd *scp) | ||
2704 | { | ||
2705 | adapter_t *adapter; | ||
2706 | int rc; | ||
2707 | |||
2708 | adapter = SCP2ADAPTER(scp); | ||
2709 | |||
2710 | spin_lock_irq(adapter->host_lock); | ||
2711 | rc = __megaraid_abort_handler(scp); | ||
2712 | spin_unlock_irq(adapter->host_lock); | ||
2713 | |||
2714 | return rc; | ||
2715 | } | ||
2716 | |||
2797 | 2717 | ||
2798 | /** | 2718 | /** |
2799 | * megaraid_reset_handler - device reset hadler for mailbox based driver | 2719 | * megaraid_reset_handler - device reset hadler for mailbox based driver |
@@ -2806,7 +2726,7 @@ megaraid_abort_handler(struct scsi_cmnd *scp) | |||
2806 | * host | 2726 | * host |
2807 | **/ | 2727 | **/ |
2808 | static int | 2728 | static int |
2809 | megaraid_reset_handler(struct scsi_cmnd *scp) | 2729 | __megaraid_reset_handler(struct scsi_cmnd *scp) |
2810 | { | 2730 | { |
2811 | adapter_t *adapter; | 2731 | adapter_t *adapter; |
2812 | scb_t *scb; | 2732 | scb_t *scb; |
@@ -2927,6 +2847,18 @@ megaraid_reset_handler(struct scsi_cmnd *scp) | |||
2927 | return rval; | 2847 | return rval; |
2928 | } | 2848 | } |
2929 | 2849 | ||
2850 | static int | ||
2851 | megaraid_reset_handler(struct scsi_cmnd *cmd) | ||
2852 | { | ||
2853 | int rc; | ||
2854 | |||
2855 | spin_lock_irq(cmd->device->host->host_lock); | ||
2856 | rc = __megaraid_reset_handler(cmd); | ||
2857 | spin_unlock_irq(cmd->device->host->host_lock); | ||
2858 | |||
2859 | return rc; | ||
2860 | } | ||
2861 | |||
2930 | 2862 | ||
2931 | /* | 2863 | /* |
2932 | * START: internal commands library | 2864 | * START: internal commands library |
diff --git a/drivers/scsi/megaraid/megaraid_mbox.h b/drivers/scsi/megaraid/megaraid_mbox.h index 07510009d110..644b91bdb028 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.h +++ b/drivers/scsi/megaraid/megaraid_mbox.h | |||
@@ -21,8 +21,8 @@ | |||
21 | #include "megaraid_ioctl.h" | 21 | #include "megaraid_ioctl.h" |
22 | 22 | ||
23 | 23 | ||
24 | #define MEGARAID_VERSION "2.20.4.5" | 24 | #define MEGARAID_VERSION "2.20.4.6" |
25 | #define MEGARAID_EXT_VERSION "(Release Date: Thu Feb 03 12:27:22 EST 2005)" | 25 | #define MEGARAID_EXT_VERSION "(Release Date: Mon Mar 07 12:27:22 EST 2005)" |
26 | 26 | ||
27 | 27 | ||
28 | /* | 28 | /* |
@@ -37,8 +37,7 @@ | |||
37 | #define PCI_DEVICE_ID_PERC4_DC 0x1960 | 37 | #define PCI_DEVICE_ID_PERC4_DC 0x1960 |
38 | #define PCI_SUBSYS_ID_PERC4_DC 0x0518 | 38 | #define PCI_SUBSYS_ID_PERC4_DC 0x0518 |
39 | 39 | ||
40 | #define PCI_DEVICE_ID_PERC4_QC 0x0407 | 40 | #define PCI_DEVICE_ID_VERDE 0x0407 |
41 | #define PCI_SUBSYS_ID_PERC4_QC 0x0531 | ||
42 | 41 | ||
43 | #define PCI_DEVICE_ID_PERC4_DI_EVERGLADES 0x000F | 42 | #define PCI_DEVICE_ID_PERC4_DI_EVERGLADES 0x000F |
44 | #define PCI_SUBSYS_ID_PERC4_DI_EVERGLADES 0x014A | 43 | #define PCI_SUBSYS_ID_PERC4_DI_EVERGLADES 0x014A |
@@ -58,11 +57,7 @@ | |||
58 | #define PCI_DEVICE_ID_PERC4E_DI_GUADALUPE 0x0013 | 57 | #define PCI_DEVICE_ID_PERC4E_DI_GUADALUPE 0x0013 |
59 | #define PCI_SUBSYS_ID_PERC4E_DI_GUADALUPE 0x0170 | 58 | #define PCI_SUBSYS_ID_PERC4E_DI_GUADALUPE 0x0170 |
60 | 59 | ||
61 | #define PCI_DEVICE_ID_PERC4E_DC_320_2E 0x0408 | 60 | #define PCI_DEVICE_ID_DOBSON 0x0408 |
62 | #define PCI_SUBSYS_ID_PERC4E_DC_320_2E 0x0002 | ||
63 | |||
64 | #define PCI_DEVICE_ID_PERC4E_SC_320_1E 0x0408 | ||
65 | #define PCI_SUBSYS_ID_PERC4E_SC_320_1E 0x0001 | ||
66 | 61 | ||
67 | #define PCI_DEVICE_ID_MEGARAID_SCSI_320_0 0x1960 | 62 | #define PCI_DEVICE_ID_MEGARAID_SCSI_320_0 0x1960 |
68 | #define PCI_SUBSYS_ID_MEGARAID_SCSI_320_0 0xA520 | 63 | #define PCI_SUBSYS_ID_MEGARAID_SCSI_320_0 0xA520 |
@@ -73,21 +68,6 @@ | |||
73 | #define PCI_DEVICE_ID_MEGARAID_SCSI_320_2 0x1960 | 68 | #define PCI_DEVICE_ID_MEGARAID_SCSI_320_2 0x1960 |
74 | #define PCI_SUBSYS_ID_MEGARAID_SCSI_320_2 0x0518 | 69 | #define PCI_SUBSYS_ID_MEGARAID_SCSI_320_2 0x0518 |
75 | 70 | ||
76 | #define PCI_DEVICE_ID_MEGARAID_SCSI_320_0x 0x0407 | ||
77 | #define PCI_SUBSYS_ID_MEGARAID_SCSI_320_0x 0x0530 | ||
78 | |||
79 | #define PCI_DEVICE_ID_MEGARAID_SCSI_320_2x 0x0407 | ||
80 | #define PCI_SUBSYS_ID_MEGARAID_SCSI_320_2x 0x0532 | ||
81 | |||
82 | #define PCI_DEVICE_ID_MEGARAID_SCSI_320_4x 0x0407 | ||
83 | #define PCI_SUBSYS_ID_MEGARAID_SCSI_320_4x 0x0531 | ||
84 | |||
85 | #define PCI_DEVICE_ID_MEGARAID_SCSI_320_1E 0x0408 | ||
86 | #define PCI_SUBSYS_ID_MEGARAID_SCSI_320_1E 0x0001 | ||
87 | |||
88 | #define PCI_DEVICE_ID_MEGARAID_SCSI_320_2E 0x0408 | ||
89 | #define PCI_SUBSYS_ID_MEGARAID_SCSI_320_2E 0x0002 | ||
90 | |||
91 | #define PCI_DEVICE_ID_MEGARAID_I4_133_RAID 0x1960 | 71 | #define PCI_DEVICE_ID_MEGARAID_I4_133_RAID 0x1960 |
92 | #define PCI_SUBSYS_ID_MEGARAID_I4_133_RAID 0x0522 | 72 | #define PCI_SUBSYS_ID_MEGARAID_I4_133_RAID 0x0522 |
93 | 73 | ||
@@ -97,52 +77,18 @@ | |||
97 | #define PCI_DEVICE_ID_MEGARAID_SATA_150_6 0x1960 | 77 | #define PCI_DEVICE_ID_MEGARAID_SATA_150_6 0x1960 |
98 | #define PCI_SUBSYS_ID_MEGARAID_SATA_150_6 0x0523 | 78 | #define PCI_SUBSYS_ID_MEGARAID_SATA_150_6 0x0523 |
99 | 79 | ||
100 | #define PCI_DEVICE_ID_MEGARAID_SATA_300_4x 0x0409 | 80 | #define PCI_DEVICE_ID_LINDSAY 0x0409 |
101 | #define PCI_SUBSYS_ID_MEGARAID_SATA_300_4x 0x3004 | ||
102 | |||
103 | #define PCI_DEVICE_ID_MEGARAID_SATA_300_8x 0x0409 | ||
104 | #define PCI_SUBSYS_ID_MEGARAID_SATA_300_8x 0x3008 | ||
105 | |||
106 | #define PCI_DEVICE_ID_INTEL_RAID_SRCU42X 0x0407 | ||
107 | #define PCI_SUBSYS_ID_INTEL_RAID_SRCU42X 0x0532 | ||
108 | 81 | ||
109 | #define PCI_DEVICE_ID_INTEL_RAID_SRCS16 0x1960 | 82 | #define PCI_DEVICE_ID_INTEL_RAID_SRCS16 0x1960 |
110 | #define PCI_SUBSYS_ID_INTEL_RAID_SRCS16 0x0523 | 83 | #define PCI_SUBSYS_ID_INTEL_RAID_SRCS16 0x0523 |
111 | 84 | ||
112 | #define PCI_DEVICE_ID_INTEL_RAID_SRCU42E 0x0408 | ||
113 | #define PCI_SUBSYS_ID_INTEL_RAID_SRCU42E 0x0002 | ||
114 | |||
115 | #define PCI_DEVICE_ID_INTEL_RAID_SRCZCRX 0x0407 | ||
116 | #define PCI_SUBSYS_ID_INTEL_RAID_SRCZCRX 0x0530 | ||
117 | |||
118 | #define PCI_DEVICE_ID_INTEL_RAID_SRCS28X 0x0409 | ||
119 | #define PCI_SUBSYS_ID_INTEL_RAID_SRCS28X 0x3008 | ||
120 | |||
121 | #define PCI_DEVICE_ID_INTEL_RAID_SROMBU42E_ALIEF 0x0408 | ||
122 | #define PCI_SUBSYS_ID_INTEL_RAID_SROMBU42E_ALIEF 0x3431 | ||
123 | |||
124 | #define PCI_DEVICE_ID_INTEL_RAID_SROMBU42E_HARWICH 0x0408 | ||
125 | #define PCI_SUBSYS_ID_INTEL_RAID_SROMBU42E_HARWICH 0x3499 | ||
126 | |||
127 | #define PCI_DEVICE_ID_INTEL_RAID_SRCU41L_LAKE_SHETEK 0x1960 | 85 | #define PCI_DEVICE_ID_INTEL_RAID_SRCU41L_LAKE_SHETEK 0x1960 |
128 | #define PCI_SUBSYS_ID_INTEL_RAID_SRCU41L_LAKE_SHETEK 0x0520 | 86 | #define PCI_SUBSYS_ID_INTEL_RAID_SRCU41L_LAKE_SHETEK 0x0520 |
129 | 87 | ||
130 | #define PCI_DEVICE_ID_FSC_MEGARAID_PCI_EXPRESS_ROMB 0x0408 | ||
131 | #define PCI_SUBSYS_ID_FSC_MEGARAID_PCI_EXPRESS_ROMB 0x1065 | ||
132 | |||
133 | #define PCI_DEVICE_ID_MEGARAID_ACER_ROMB_2E 0x0408 | ||
134 | #define PCI_SUBSYS_ID_MEGARAID_ACER_ROMB_2E 0x004D | ||
135 | |||
136 | #define PCI_SUBSYS_ID_PERC3_QC 0x0471 | 88 | #define PCI_SUBSYS_ID_PERC3_QC 0x0471 |
137 | #define PCI_SUBSYS_ID_PERC3_DC 0x0493 | 89 | #define PCI_SUBSYS_ID_PERC3_DC 0x0493 |
138 | #define PCI_SUBSYS_ID_PERC3_SC 0x0475 | 90 | #define PCI_SUBSYS_ID_PERC3_SC 0x0475 |
139 | 91 | ||
140 | #define PCI_DEVICE_ID_MEGARAID_NEC_ROMB_2E 0x0408 | ||
141 | #define PCI_SUBSYS_ID_MEGARAID_NEC_ROMB_2E 0x8287 | ||
142 | |||
143 | #ifndef PCI_SUBSYS_ID_FSC | ||
144 | #define PCI_SUBSYS_ID_FSC 0x1734 | ||
145 | #endif | ||
146 | 92 | ||
147 | #define MBOX_MAX_SCSI_CMDS 128 // number of cmds reserved for kernel | 93 | #define MBOX_MAX_SCSI_CMDS 128 // number of cmds reserved for kernel |
148 | #define MBOX_MAX_USER_CMDS 32 // number of cmds for applications | 94 | #define MBOX_MAX_USER_CMDS 32 // number of cmds for applications |
diff --git a/drivers/scsi/megaraid/megaraid_mm.c b/drivers/scsi/megaraid/megaraid_mm.c index 9f1b550713ec..37d110e864c4 100644 --- a/drivers/scsi/megaraid/megaraid_mm.c +++ b/drivers/scsi/megaraid/megaraid_mm.c | |||
@@ -10,13 +10,12 @@ | |||
10 | * 2 of the License, or (at your option) any later version. | 10 | * 2 of the License, or (at your option) any later version. |
11 | * | 11 | * |
12 | * FILE : megaraid_mm.c | 12 | * FILE : megaraid_mm.c |
13 | * Version : v2.20.2.5 (Jan 21 2005) | 13 | * Version : v2.20.2.6 (Mar 7 2005) |
14 | * | 14 | * |
15 | * Common management module | 15 | * Common management module |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include "megaraid_mm.h" | 18 | #include "megaraid_mm.h" |
19 | #include <linux/smp_lock.h> | ||
20 | 19 | ||
21 | 20 | ||
22 | // Entry points for char node driver | 21 | // Entry points for char node driver |
@@ -61,7 +60,7 @@ EXPORT_SYMBOL(mraid_mm_unregister_adp); | |||
61 | EXPORT_SYMBOL(mraid_mm_adapter_app_handle); | 60 | EXPORT_SYMBOL(mraid_mm_adapter_app_handle); |
62 | 61 | ||
63 | static int majorno; | 62 | static int majorno; |
64 | static uint32_t drvr_ver = 0x02200201; | 63 | static uint32_t drvr_ver = 0x02200206; |
65 | 64 | ||
66 | static int adapters_count_g; | 65 | static int adapters_count_g; |
67 | static struct list_head adapters_list_g; | 66 | static struct list_head adapters_list_g; |
@@ -1231,9 +1230,9 @@ mraid_mm_compat_ioctl(struct file *filep, unsigned int cmd, | |||
1231 | unsigned long arg) | 1230 | unsigned long arg) |
1232 | { | 1231 | { |
1233 | int err; | 1232 | int err; |
1234 | lock_kernel(); | 1233 | |
1235 | err = mraid_mm_ioctl(NULL, filep, cmd, arg); | 1234 | err = mraid_mm_ioctl(NULL, filep, cmd, arg); |
1236 | unlock_kernel(); | 1235 | |
1237 | return err; | 1236 | return err; |
1238 | } | 1237 | } |
1239 | #endif | 1238 | #endif |
diff --git a/drivers/scsi/megaraid/megaraid_mm.h b/drivers/scsi/megaraid/megaraid_mm.h index 948a0012ab8c..7e36c46e7c43 100644 --- a/drivers/scsi/megaraid/megaraid_mm.h +++ b/drivers/scsi/megaraid/megaraid_mm.h | |||
@@ -29,9 +29,9 @@ | |||
29 | #include "megaraid_ioctl.h" | 29 | #include "megaraid_ioctl.h" |
30 | 30 | ||
31 | 31 | ||
32 | #define LSI_COMMON_MOD_VERSION "2.20.2.5" | 32 | #define LSI_COMMON_MOD_VERSION "2.20.2.6" |
33 | #define LSI_COMMON_MOD_EXT_VERSION \ | 33 | #define LSI_COMMON_MOD_EXT_VERSION \ |
34 | "(Release Date: Fri Jan 21 00:01:03 EST 2005)" | 34 | "(Release Date: Mon Mar 7 00:01:03 EST 2005)" |
35 | 35 | ||
36 | 36 | ||
37 | #define LSI_DBGLVL dbglevel | 37 | #define LSI_DBGLVL dbglevel |
diff --git a/drivers/scsi/mesh.c b/drivers/scsi/mesh.c index f6da46d672f1..b05737ae5eff 100644 --- a/drivers/scsi/mesh.c +++ b/drivers/scsi/mesh.c | |||
@@ -1715,9 +1715,12 @@ static int mesh_host_reset(struct scsi_cmnd *cmd) | |||
1715 | struct mesh_state *ms = (struct mesh_state *) cmd->device->host->hostdata; | 1715 | struct mesh_state *ms = (struct mesh_state *) cmd->device->host->hostdata; |
1716 | volatile struct mesh_regs __iomem *mr = ms->mesh; | 1716 | volatile struct mesh_regs __iomem *mr = ms->mesh; |
1717 | volatile struct dbdma_regs __iomem *md = ms->dma; | 1717 | volatile struct dbdma_regs __iomem *md = ms->dma; |
1718 | unsigned long flags; | ||
1718 | 1719 | ||
1719 | printk(KERN_DEBUG "mesh_host_reset\n"); | 1720 | printk(KERN_DEBUG "mesh_host_reset\n"); |
1720 | 1721 | ||
1722 | spin_lock_irqsave(ms->host->host_lock, flags); | ||
1723 | |||
1721 | /* Reset the controller & dbdma channel */ | 1724 | /* Reset the controller & dbdma channel */ |
1722 | out_le32(&md->control, (RUN|PAUSE|FLUSH|WAKE) << 16); /* stop dma */ | 1725 | out_le32(&md->control, (RUN|PAUSE|FLUSH|WAKE) << 16); /* stop dma */ |
1723 | out_8(&mr->exception, 0xff); /* clear all exception bits */ | 1726 | out_8(&mr->exception, 0xff); /* clear all exception bits */ |
@@ -1739,6 +1742,7 @@ static int mesh_host_reset(struct scsi_cmnd *cmd) | |||
1739 | /* Complete pending commands */ | 1742 | /* Complete pending commands */ |
1740 | handle_reset(ms); | 1743 | handle_reset(ms); |
1741 | 1744 | ||
1745 | spin_unlock_irqrestore(ms->host->host_lock, flags); | ||
1742 | return SUCCESS; | 1746 | return SUCCESS; |
1743 | } | 1747 | } |
1744 | 1748 | ||
diff --git a/drivers/scsi/mvme147.c b/drivers/scsi/mvme147.c index e73b33f293a0..2fb31ee6d9f5 100644 --- a/drivers/scsi/mvme147.c +++ b/drivers/scsi/mvme147.c | |||
@@ -116,7 +116,14 @@ int mvme147_detect(Scsi_Host_Template *tpnt) | |||
116 | static int mvme147_bus_reset(Scsi_Cmnd *cmd) | 116 | static int mvme147_bus_reset(Scsi_Cmnd *cmd) |
117 | { | 117 | { |
118 | /* FIXME perform bus-specific reset */ | 118 | /* FIXME perform bus-specific reset */ |
119 | |||
120 | /* FIXME 2: kill this function, and let midlayer fallback to | ||
121 | the same result, calling wd33c93_host_reset() */ | ||
122 | |||
123 | spin_lock_irq(cmd->device->host->host_lock); | ||
119 | wd33c93_host_reset(cmd); | 124 | wd33c93_host_reset(cmd); |
125 | spin_unlock_irq(cmd->device->host->host_lock); | ||
126 | |||
120 | return SUCCESS; | 127 | return SUCCESS; |
121 | } | 128 | } |
122 | 129 | ||
diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c index d28c0d99c344..5159ceea319e 100644 --- a/drivers/scsi/nsp32.c +++ b/drivers/scsi/nsp32.c | |||
@@ -294,7 +294,6 @@ static struct scsi_host_template nsp32_template = { | |||
294 | .this_id = NSP32_HOST_SCSIID, | 294 | .this_id = NSP32_HOST_SCSIID, |
295 | .use_clustering = DISABLE_CLUSTERING, | 295 | .use_clustering = DISABLE_CLUSTERING, |
296 | .eh_abort_handler = nsp32_eh_abort, | 296 | .eh_abort_handler = nsp32_eh_abort, |
297 | /* .eh_device_reset_handler = NULL, */ | ||
298 | .eh_bus_reset_handler = nsp32_eh_bus_reset, | 297 | .eh_bus_reset_handler = nsp32_eh_bus_reset, |
299 | .eh_host_reset_handler = nsp32_eh_host_reset, | 298 | .eh_host_reset_handler = nsp32_eh_host_reset, |
300 | #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,74)) | 299 | #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,74)) |
@@ -2988,6 +2987,8 @@ static int nsp32_eh_bus_reset(struct scsi_cmnd *SCpnt) | |||
2988 | nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; | 2987 | nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; |
2989 | unsigned int base = SCpnt->device->host->io_port; | 2988 | unsigned int base = SCpnt->device->host->io_port; |
2990 | 2989 | ||
2990 | spin_lock_irq(SCpnt->device->host->host_lock); | ||
2991 | |||
2991 | nsp32_msg(KERN_INFO, "Bus Reset"); | 2992 | nsp32_msg(KERN_INFO, "Bus Reset"); |
2992 | nsp32_dbg(NSP32_DEBUG_BUSRESET, "SCpnt=0x%x", SCpnt); | 2993 | nsp32_dbg(NSP32_DEBUG_BUSRESET, "SCpnt=0x%x", SCpnt); |
2993 | 2994 | ||
@@ -2995,6 +2996,7 @@ static int nsp32_eh_bus_reset(struct scsi_cmnd *SCpnt) | |||
2995 | nsp32_do_bus_reset(data); | 2996 | nsp32_do_bus_reset(data); |
2996 | nsp32_write2(base, IRQ_CONTROL, 0); | 2997 | nsp32_write2(base, IRQ_CONTROL, 0); |
2997 | 2998 | ||
2999 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
2998 | return SUCCESS; /* SCSI bus reset is succeeded at any time. */ | 3000 | return SUCCESS; /* SCSI bus reset is succeeded at any time. */ |
2999 | } | 3001 | } |
3000 | 3002 | ||
@@ -3049,11 +3051,14 @@ static int nsp32_eh_host_reset(struct scsi_cmnd *SCpnt) | |||
3049 | nsp32_msg(KERN_INFO, "Host Reset"); | 3051 | nsp32_msg(KERN_INFO, "Host Reset"); |
3050 | nsp32_dbg(NSP32_DEBUG_BUSRESET, "SCpnt=0x%x", SCpnt); | 3052 | nsp32_dbg(NSP32_DEBUG_BUSRESET, "SCpnt=0x%x", SCpnt); |
3051 | 3053 | ||
3054 | spin_lock_irq(SCpnt->device->host->host_lock); | ||
3055 | |||
3052 | nsp32hw_init(data); | 3056 | nsp32hw_init(data); |
3053 | nsp32_write2(base, IRQ_CONTROL, IRQ_CONTROL_ALL_IRQ_MASK); | 3057 | nsp32_write2(base, IRQ_CONTROL, IRQ_CONTROL_ALL_IRQ_MASK); |
3054 | nsp32_do_bus_reset(data); | 3058 | nsp32_do_bus_reset(data); |
3055 | nsp32_write2(base, IRQ_CONTROL, 0); | 3059 | nsp32_write2(base, IRQ_CONTROL, 0); |
3056 | 3060 | ||
3061 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
3057 | return SUCCESS; /* Host reset is succeeded at any time. */ | 3062 | return SUCCESS; /* Host reset is succeeded at any time. */ |
3058 | } | 3063 | } |
3059 | 3064 | ||
diff --git a/drivers/scsi/pas16.c b/drivers/scsi/pas16.c index 7976947c0322..363e0ebd4a39 100644 --- a/drivers/scsi/pas16.c +++ b/drivers/scsi/pas16.c | |||
@@ -621,8 +621,6 @@ static Scsi_Host_Template driver_template = { | |||
621 | .queuecommand = pas16_queue_command, | 621 | .queuecommand = pas16_queue_command, |
622 | .eh_abort_handler = pas16_abort, | 622 | .eh_abort_handler = pas16_abort, |
623 | .eh_bus_reset_handler = pas16_bus_reset, | 623 | .eh_bus_reset_handler = pas16_bus_reset, |
624 | .eh_device_reset_handler = pas16_device_reset, | ||
625 | .eh_host_reset_handler = pas16_host_reset, | ||
626 | .bios_param = pas16_biosparam, | 624 | .bios_param = pas16_biosparam, |
627 | .can_queue = CAN_QUEUE, | 625 | .can_queue = CAN_QUEUE, |
628 | .this_id = 7, | 626 | .this_id = 7, |
diff --git a/drivers/scsi/pas16.h b/drivers/scsi/pas16.h index 58d4d67aed24..65ce1cc40d9a 100644 --- a/drivers/scsi/pas16.h +++ b/drivers/scsi/pas16.h | |||
@@ -120,8 +120,6 @@ static int pas16_biosparam(struct scsi_device *, struct block_device *, | |||
120 | static int pas16_detect(Scsi_Host_Template *); | 120 | static int pas16_detect(Scsi_Host_Template *); |
121 | static int pas16_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); | 121 | static int pas16_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); |
122 | static int pas16_bus_reset(Scsi_Cmnd *); | 122 | static int pas16_bus_reset(Scsi_Cmnd *); |
123 | static int pas16_host_reset(Scsi_Cmnd *); | ||
124 | static int pas16_device_reset(Scsi_Cmnd *); | ||
125 | 123 | ||
126 | #ifndef CMD_PER_LUN | 124 | #ifndef CMD_PER_LUN |
127 | #define CMD_PER_LUN 2 | 125 | #define CMD_PER_LUN 2 |
@@ -164,9 +162,7 @@ static int pas16_device_reset(Scsi_Cmnd *); | |||
164 | #define do_NCR5380_intr do_pas16_intr | 162 | #define do_NCR5380_intr do_pas16_intr |
165 | #define NCR5380_queue_command pas16_queue_command | 163 | #define NCR5380_queue_command pas16_queue_command |
166 | #define NCR5380_abort pas16_abort | 164 | #define NCR5380_abort pas16_abort |
167 | #define NCR5380_device_reset pas16_device_reset | ||
168 | #define NCR5380_bus_reset pas16_bus_reset | 165 | #define NCR5380_bus_reset pas16_bus_reset |
169 | #define NCR5380_host_reset pas16_host_reset | ||
170 | #define NCR5380_proc_info pas16_proc_info | 166 | #define NCR5380_proc_info pas16_proc_info |
171 | 167 | ||
172 | /* 15 14 12 10 7 5 3 | 168 | /* 15 14 12 10 7 5 3 |
diff --git a/drivers/scsi/pci2000.c b/drivers/scsi/pci2000.c deleted file mode 100644 index 377a4666b568..000000000000 --- a/drivers/scsi/pci2000.c +++ /dev/null | |||
@@ -1,836 +0,0 @@ | |||
1 | /**************************************************************************** | ||
2 | * Perceptive Solutions, Inc. PCI-2000 device driver for Linux. | ||
3 | * | ||
4 | * pci2000.c - Linux Host Driver for PCI-2000 IntelliCache SCSI Adapters | ||
5 | * | ||
6 | * Copyright (c) 1997-1999 Perceptive Solutions, Inc. | ||
7 | * All Rights Reserved. | ||
8 | * | ||
9 | * Redistribution and use in source and binary forms, with or without | ||
10 | * modification, are permitted provided that redistributions of source | ||
11 | * code retain the above copyright notice and this comment without | ||
12 | * modification. | ||
13 | * | ||
14 | * Technical updates and product information at: | ||
15 | * http://www.psidisk.com | ||
16 | * | ||
17 | * Please send questions, comments, bug reports to: | ||
18 | * tech@psidisk.com Technical Support | ||
19 | * | ||
20 | * | ||
21 | * Revisions 1.10 Jan-21-1999 | ||
22 | * - Fixed sign on message to reflect proper controller name. | ||
23 | * - Added support for RAID status monitoring and control. | ||
24 | * | ||
25 | * Revisions 1.11 Mar-22-1999 | ||
26 | * - Fixed control timeout to not lock up the entire system if | ||
27 | * controller goes offline completely. | ||
28 | * | ||
29 | * Revisions 1.12 Mar-26-1999 | ||
30 | * - Fixed spinlock and PCI configuration. | ||
31 | * | ||
32 | * Revisions 1.20 Mar-27-2000 | ||
33 | * - Added support for dynamic DMA | ||
34 | * | ||
35 | ****************************************************************************/ | ||
36 | #define PCI2000_VERSION "1.20" | ||
37 | |||
38 | #include <linux/blkdev.h> | ||
39 | #include <linux/interrupt.h> | ||
40 | #include <linux/module.h> | ||
41 | #include <linux/kernel.h> | ||
42 | #include <linux/types.h> | ||
43 | #include <linux/string.h> | ||
44 | #include <linux/pci.h> | ||
45 | #include <linux/ioport.h> | ||
46 | #include <linux/delay.h> | ||
47 | #include <linux/sched.h> | ||
48 | #include <linux/proc_fs.h> | ||
49 | #include <linux/stat.h> | ||
50 | #include <linux/spinlock.h> | ||
51 | |||
52 | #include <asm/dma.h> | ||
53 | #include <asm/system.h> | ||
54 | #include <asm/io.h> | ||
55 | |||
56 | #include "scsi.h" | ||
57 | #include <scsi/scsi_host.h> | ||
58 | #include "pci2000.h" | ||
59 | #include "psi_roy.h" | ||
60 | |||
61 | |||
62 | //#define DEBUG 1 | ||
63 | |||
64 | #ifdef DEBUG | ||
65 | #define DEB(x) x | ||
66 | #define STOP_HERE {int st;for(st=0;st<100;st++){st=1;}} | ||
67 | #else | ||
68 | #define DEB(x) | ||
69 | #define STOP_HERE | ||
70 | #endif | ||
71 | |||
72 | typedef struct | ||
73 | { | ||
74 | unsigned int address; | ||
75 | unsigned int length; | ||
76 | } SCATGATH, *PSCATGATH; | ||
77 | |||
78 | typedef struct | ||
79 | { | ||
80 | Scsi_Cmnd *SCpnt; | ||
81 | PSCATGATH scatGath; | ||
82 | dma_addr_t scatGathDma; | ||
83 | UCHAR *cdb; | ||
84 | dma_addr_t cdbDma; | ||
85 | UCHAR tag; | ||
86 | } DEV2000, *PDEV2000; | ||
87 | |||
88 | typedef struct | ||
89 | { | ||
90 | ULONG basePort; | ||
91 | ULONG mb0; | ||
92 | ULONG mb1; | ||
93 | ULONG mb2; | ||
94 | ULONG mb3; | ||
95 | ULONG mb4; | ||
96 | ULONG cmd; | ||
97 | ULONG tag; | ||
98 | ULONG irqOwned; | ||
99 | struct pci_dev *pdev; | ||
100 | DEV2000 dev[MAX_BUS][MAX_UNITS]; | ||
101 | } ADAPTER2000, *PADAPTER2000; | ||
102 | |||
103 | #define HOSTDATA(host) ((PADAPTER2000)&host->hostdata) | ||
104 | #define consistentLen (MAX_BUS * MAX_UNITS * (16 * sizeof (SCATGATH) + MAX_COMMAND_SIZE)) | ||
105 | |||
106 | |||
107 | static struct Scsi_Host *PsiHost[MAXADAPTER] = {NULL,}; // One for each adapter | ||
108 | static int NumAdapters = 0; | ||
109 | /**************************************************************** | ||
110 | * Name: WaitReady :LOCAL | ||
111 | * | ||
112 | * Description: Wait for controller ready. | ||
113 | * | ||
114 | * Parameters: padapter - Pointer adapter data structure. | ||
115 | * | ||
116 | * Returns: TRUE on not ready. | ||
117 | * | ||
118 | ****************************************************************/ | ||
119 | static int WaitReady (PADAPTER2000 padapter) | ||
120 | { | ||
121 | ULONG z; | ||
122 | |||
123 | for ( z = 0; z < (TIMEOUT_COMMAND * 4); z++ ) | ||
124 | { | ||
125 | if ( !inb_p (padapter->cmd) ) | ||
126 | return FALSE; | ||
127 | udelay (250); | ||
128 | }; | ||
129 | return TRUE; | ||
130 | } | ||
131 | /**************************************************************** | ||
132 | * Name: WaitReadyLong :LOCAL | ||
133 | * | ||
134 | * Description: Wait for controller ready. | ||
135 | * | ||
136 | * Parameters: padapter - Pointer adapter data structure. | ||
137 | * | ||
138 | * Returns: TRUE on not ready. | ||
139 | * | ||
140 | ****************************************************************/ | ||
141 | static int WaitReadyLong (PADAPTER2000 padapter) | ||
142 | { | ||
143 | ULONG z; | ||
144 | |||
145 | for ( z = 0; z < (5000 * 4); z++ ) | ||
146 | { | ||
147 | if ( !inb_p (padapter->cmd) ) | ||
148 | return FALSE; | ||
149 | udelay (250); | ||
150 | }; | ||
151 | return TRUE; | ||
152 | } | ||
153 | /**************************************************************** | ||
154 | * Name: OpDone :LOCAL | ||
155 | * | ||
156 | * Description: Clean up operation and issue done to caller. | ||
157 | * | ||
158 | * Parameters: SCpnt - Pointer to SCSI command structure. | ||
159 | * status - Caller status. | ||
160 | * | ||
161 | * Returns: Nothing. | ||
162 | * | ||
163 | ****************************************************************/ | ||
164 | static void OpDone (Scsi_Cmnd *SCpnt, ULONG status) | ||
165 | { | ||
166 | SCpnt->result = status; | ||
167 | SCpnt->scsi_done (SCpnt); | ||
168 | } | ||
169 | /**************************************************************** | ||
170 | * Name: Command :LOCAL | ||
171 | * | ||
172 | * Description: Issue queued command to the PCI-2000. | ||
173 | * | ||
174 | * Parameters: padapter - Pointer to adapter information structure. | ||
175 | * cmd - PCI-2000 command byte. | ||
176 | * | ||
177 | * Returns: Non-zero command tag if operation is accepted. | ||
178 | * | ||
179 | ****************************************************************/ | ||
180 | static UCHAR Command (PADAPTER2000 padapter, UCHAR cmd) | ||
181 | { | ||
182 | outb_p (cmd, padapter->cmd); | ||
183 | if ( WaitReady (padapter) ) | ||
184 | return 0; | ||
185 | |||
186 | if ( inw_p (padapter->mb0) ) | ||
187 | return 0; | ||
188 | |||
189 | return inb_p (padapter->mb1); | ||
190 | } | ||
191 | /**************************************************************** | ||
192 | * Name: BuildSgList :LOCAL | ||
193 | * | ||
194 | * Description: Build the scatter gather list for controller. | ||
195 | * | ||
196 | * Parameters: SCpnt - Pointer to SCSI command structure. | ||
197 | * padapter - Pointer to adapter information structure. | ||
198 | * pdev - Pointer to adapter device structure. | ||
199 | * | ||
200 | * Returns: Non-zero in not scatter gather. | ||
201 | * | ||
202 | ****************************************************************/ | ||
203 | static int BuildSgList (Scsi_Cmnd *SCpnt, PADAPTER2000 padapter, PDEV2000 pdev) | ||
204 | { | ||
205 | int z; | ||
206 | int zc; | ||
207 | struct scatterlist *sg; | ||
208 | |||
209 | if ( SCpnt->use_sg ) | ||
210 | { | ||
211 | sg = (struct scatterlist *)SCpnt->request_buffer; | ||
212 | zc = pci_map_sg (padapter->pdev, sg, SCpnt->use_sg, SCpnt->sc_data_direction); | ||
213 | for ( z = 0; z < zc; z++ ) | ||
214 | { | ||
215 | pdev->scatGath[z].address = cpu_to_le32 (sg_dma_address (sg)); | ||
216 | pdev->scatGath[z].length = cpu_to_le32 (sg_dma_len (sg++)); | ||
217 | } | ||
218 | outl (pdev->scatGathDma, padapter->mb2); | ||
219 | outl ((zc << 24) | SCpnt->request_bufflen, padapter->mb3); | ||
220 | return FALSE; | ||
221 | } | ||
222 | if ( !SCpnt->request_bufflen) | ||
223 | { | ||
224 | outl (0, padapter->mb2); | ||
225 | outl (0, padapter->mb3); | ||
226 | return TRUE; | ||
227 | } | ||
228 | SCpnt->SCp.have_data_in = pci_map_single (padapter->pdev, | ||
229 | SCpnt->request_buffer, SCpnt->request_bufflen, | ||
230 | SCpnt->sc_data_direction); | ||
231 | outl (SCpnt->SCp.have_data_in, padapter->mb2); | ||
232 | outl (SCpnt->request_bufflen, padapter->mb3); | ||
233 | return TRUE; | ||
234 | } | ||
235 | /********************************************************************* | ||
236 | * Name: PsiRaidCmd | ||
237 | * | ||
238 | * Description: Execute a simple command. | ||
239 | * | ||
240 | * Parameters: padapter - Pointer to adapter control structure. | ||
241 | * cmd - Roy command byte. | ||
242 | * | ||
243 | * Returns: Return error status. | ||
244 | * | ||
245 | ********************************************************************/ | ||
246 | static int PsiRaidCmd (PADAPTER2000 padapter, char cmd) | ||
247 | { | ||
248 | if ( WaitReady (padapter) ) // test for command register ready | ||
249 | return DID_TIME_OUT; | ||
250 | outb_p (cmd, padapter->cmd); // issue command | ||
251 | if ( WaitReadyLong (padapter) ) // wait for adapter ready | ||
252 | return DID_TIME_OUT; | ||
253 | return DID_OK; | ||
254 | } | ||
255 | /**************************************************************** | ||
256 | * Name: Irq_Handler :LOCAL | ||
257 | * | ||
258 | * Description: Interrupt handler. | ||
259 | * | ||
260 | * Parameters: irq - Hardware IRQ number. | ||
261 | * dev_id - | ||
262 | * regs - | ||
263 | * | ||
264 | * Returns: TRUE if drive is not ready in time. | ||
265 | * | ||
266 | ****************************************************************/ | ||
267 | static irqreturn_t Irq_Handler (int irq, void *dev_id, struct pt_regs *regs) | ||
268 | { | ||
269 | struct Scsi_Host *shost = NULL; // Pointer to host data block | ||
270 | PADAPTER2000 padapter; // Pointer to adapter control structure | ||
271 | PDEV2000 pdev; | ||
272 | Scsi_Cmnd *SCpnt; | ||
273 | UCHAR tag = 0; | ||
274 | UCHAR tag0; | ||
275 | ULONG error; | ||
276 | int pun; | ||
277 | int bus; | ||
278 | int z; | ||
279 | unsigned long flags; | ||
280 | int handled = 0; | ||
281 | |||
282 | DEB(printk ("\npci2000 received interrupt ")); | ||
283 | for ( z = 0; z < NumAdapters; z++ ) // scan for interrupt to process | ||
284 | { | ||
285 | if ( PsiHost[z]->irq == (UCHAR)(irq & 0xFF) ) | ||
286 | { | ||
287 | tag = inb_p (HOSTDATA(PsiHost[z])->tag); | ||
288 | if ( tag ) | ||
289 | { | ||
290 | shost = PsiHost[z]; | ||
291 | break; | ||
292 | } | ||
293 | } | ||
294 | } | ||
295 | |||
296 | if ( !shost ) | ||
297 | { | ||
298 | DEB (printk ("\npci2000: not my interrupt")); | ||
299 | goto out; | ||
300 | } | ||
301 | |||
302 | handled = 1; | ||
303 | spin_lock_irqsave(shost->host_lock, flags); | ||
304 | padapter = HOSTDATA(shost); | ||
305 | |||
306 | tag0 = tag & 0x7F; // mask off the error bit | ||
307 | for ( bus = 0; bus < MAX_BUS; bus++ ) // scan the busses | ||
308 | { | ||
309 | for ( pun = 0; pun < MAX_UNITS; pun++ ) // scan the targets | ||
310 | { | ||
311 | pdev = &padapter->dev[bus][pun]; | ||
312 | if ( !pdev->tag ) | ||
313 | continue; | ||
314 | if ( pdev->tag == tag0 ) // is this it? | ||
315 | { | ||
316 | pdev->tag = 0; | ||
317 | SCpnt = pdev->SCpnt; | ||
318 | goto unmapProceed; | ||
319 | } | ||
320 | } | ||
321 | } | ||
322 | |||
323 | outb_p (0xFF, padapter->tag); // clear the op interrupt | ||
324 | outb_p (CMD_DONE, padapter->cmd); // complete the op | ||
325 | goto irq_return; // done, but, with what? | ||
326 | |||
327 | unmapProceed:; | ||
328 | if ( !bus ) | ||
329 | { | ||
330 | switch ( SCpnt->cmnd[0] ) | ||
331 | { | ||
332 | case SCSIOP_TEST_UNIT_READY: | ||
333 | pci_unmap_single (padapter->pdev, SCpnt->SCp.have_data_in, sizeof (SCpnt->sense_buffer), PCI_DMA_FROMDEVICE); | ||
334 | goto irqProceed; | ||
335 | case SCSIOP_READ_CAPACITY: | ||
336 | pci_unmap_single (padapter->pdev, SCpnt->SCp.have_data_in, 8, PCI_DMA_FROMDEVICE); | ||
337 | goto irqProceed; | ||
338 | case SCSIOP_VERIFY: | ||
339 | case SCSIOP_START_STOP_UNIT: | ||
340 | case SCSIOP_MEDIUM_REMOVAL: | ||
341 | goto irqProceed; | ||
342 | } | ||
343 | } | ||
344 | if ( SCpnt->SCp.have_data_in ) | ||
345 | pci_unmap_single (padapter->pdev, SCpnt->SCp.have_data_in, SCpnt->request_bufflen, SCpnt->sc_data_direction); | ||
346 | else | ||
347 | { | ||
348 | if ( SCpnt->use_sg ) | ||
349 | pci_unmap_sg (padapter->pdev, (struct scatterlist *)SCpnt->request_buffer, SCpnt->use_sg, SCpnt->sc_data_direction); | ||
350 | } | ||
351 | |||
352 | irqProceed:; | ||
353 | if ( tag & ERR08_TAGGED ) // is there an error here? | ||
354 | { | ||
355 | if ( WaitReady (padapter) ) | ||
356 | { | ||
357 | OpDone (SCpnt, DID_TIME_OUT << 16); | ||
358 | goto irq_return; | ||
359 | } | ||
360 | |||
361 | outb_p (tag0, padapter->mb0); // get real error code | ||
362 | outb_p (CMD_ERROR, padapter->cmd); | ||
363 | if ( WaitReady (padapter) ) // wait for controller to suck up the op | ||
364 | { | ||
365 | OpDone (SCpnt, DID_TIME_OUT << 16); | ||
366 | goto irq_return; | ||
367 | } | ||
368 | |||
369 | error = inl (padapter->mb0); // get error data | ||
370 | outb_p (0xFF, padapter->tag); // clear the op interrupt | ||
371 | outb_p (CMD_DONE, padapter->cmd); // complete the op | ||
372 | |||
373 | DEB (printk ("status: %lX ", error)); | ||
374 | if ( error == 0x00020002 ) // is this error a check condition? | ||
375 | { | ||
376 | if ( bus ) // are we doint SCSI commands? | ||
377 | { | ||
378 | OpDone (SCpnt, (DID_OK << 16) | 2); | ||
379 | goto irq_return; | ||
380 | } | ||
381 | if ( *SCpnt->cmnd == SCSIOP_TEST_UNIT_READY ) | ||
382 | OpDone (SCpnt, (DRIVER_SENSE << 24) | (DID_OK << 16) | 2); // test caller we have sense data too | ||
383 | else | ||
384 | OpDone (SCpnt, DID_ERROR << 16); | ||
385 | goto irq_return; | ||
386 | } | ||
387 | OpDone (SCpnt, DID_ERROR << 16); | ||
388 | goto irq_return; | ||
389 | } | ||
390 | |||
391 | outb_p (0xFF, padapter->tag); // clear the op interrupt | ||
392 | outb_p (CMD_DONE, padapter->cmd); // complete the op | ||
393 | OpDone (SCpnt, DID_OK << 16); | ||
394 | |||
395 | irq_return: | ||
396 | spin_unlock_irqrestore(shost->host_lock, flags); | ||
397 | out: | ||
398 | return IRQ_RETVAL(handled); | ||
399 | } | ||
400 | /**************************************************************** | ||
401 | * Name: Pci2000_QueueCommand | ||
402 | * | ||
403 | * Description: Process a queued command from the SCSI manager. | ||
404 | * | ||
405 | * Parameters: SCpnt - Pointer to SCSI command structure. | ||
406 | * done - Pointer to done function to call. | ||
407 | * | ||
408 | * Returns: Status code. | ||
409 | * | ||
410 | ****************************************************************/ | ||
411 | int Pci2000_QueueCommand (Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) | ||
412 | { | ||
413 | UCHAR *cdb = (UCHAR *)SCpnt->cmnd; // Pointer to SCSI CDB | ||
414 | PADAPTER2000 padapter = HOSTDATA(SCpnt->device->host); // Pointer to adapter control structure | ||
415 | int rc = -1; // command return code | ||
416 | UCHAR bus = SCpnt->device->channel; | ||
417 | UCHAR pun = SCpnt->device->id; | ||
418 | UCHAR lun = SCpnt->device->lun; | ||
419 | UCHAR cmd; | ||
420 | PDEV2000 pdev = &padapter->dev[bus][pun]; | ||
421 | |||
422 | if ( !done ) | ||
423 | { | ||
424 | printk("pci2000_queuecommand: %02X: done can't be NULL\n", *cdb); | ||
425 | return 0; | ||
426 | } | ||
427 | |||
428 | SCpnt->scsi_done = done; | ||
429 | SCpnt->SCp.have_data_in = 0; | ||
430 | pdev->SCpnt = SCpnt; // Save this command data | ||
431 | |||
432 | if ( WaitReady (padapter) ) | ||
433 | { | ||
434 | rc = DID_ERROR; | ||
435 | goto finished; | ||
436 | } | ||
437 | |||
438 | outw_p (pun | (lun << 8), padapter->mb0); | ||
439 | |||
440 | if ( bus ) | ||
441 | { | ||
442 | DEB (if(*cdb) printk ("\nCDB: %X- %X %X %X %X %X %X %X %X %X %X ", SCpnt->cmd_len, cdb[0], cdb[1], cdb[2], cdb[3], cdb[4], cdb[5], cdb[6], cdb[7], cdb[8], cdb[9])); | ||
443 | DEB (if(*cdb) printk ("\ntimeout_per_command: %d, timeout_total: %d, timeout: %d", SCpnt->timeout_per_command, | ||
444 | SCpnt->timeout_total, SCpnt->timeout)); | ||
445 | outl (SCpnt->timeout_per_command, padapter->mb1); | ||
446 | outb_p (CMD_SCSI_TIMEOUT, padapter->cmd); | ||
447 | if ( WaitReady (padapter) ) | ||
448 | { | ||
449 | rc = DID_ERROR; | ||
450 | goto finished; | ||
451 | } | ||
452 | |||
453 | outw_p (pun | (lun << 8), padapter->mb0); | ||
454 | outw_p (SCpnt->cmd_len << 8, padapter->mb0 + 2); | ||
455 | memcpy (pdev->cdb, cdb, MAX_COMMAND_SIZE); | ||
456 | |||
457 | outl (pdev->cdbDma, padapter->mb1); | ||
458 | if ( BuildSgList (SCpnt, padapter, pdev) ) | ||
459 | cmd = CMD_SCSI_THRU; | ||
460 | else | ||
461 | cmd = CMD_SCSI_THRU_SG; | ||
462 | if ( (pdev->tag = Command (padapter, cmd)) == 0 ) | ||
463 | rc = DID_TIME_OUT; | ||
464 | goto finished; | ||
465 | } | ||
466 | else | ||
467 | { | ||
468 | if ( lun ) | ||
469 | { | ||
470 | rc = DID_BAD_TARGET; | ||
471 | goto finished; | ||
472 | } | ||
473 | } | ||
474 | |||
475 | switch ( *cdb ) | ||
476 | { | ||
477 | case SCSIOP_INQUIRY: // inquiry CDB | ||
478 | if ( cdb[2] == SC_MY_RAID ) | ||
479 | { | ||
480 | switch ( cdb[3] ) | ||
481 | { | ||
482 | case MY_SCSI_REBUILD: | ||
483 | OpDone (SCpnt, PsiRaidCmd (padapter, CMD_RAID_REBUILD) << 16); | ||
484 | return 0; | ||
485 | case MY_SCSI_ALARMMUTE: | ||
486 | OpDone (SCpnt, PsiRaidCmd (padapter, CMD_RAID_MUTE) << 16); | ||
487 | return 0; | ||
488 | case MY_SCSI_DEMOFAIL: | ||
489 | OpDone (SCpnt, PsiRaidCmd (padapter, CMD_RAID_FAIL) << 16); | ||
490 | return 0; | ||
491 | default: | ||
492 | if ( SCpnt->use_sg ) | ||
493 | { | ||
494 | rc = DID_ERROR; | ||
495 | goto finished; | ||
496 | } | ||
497 | else | ||
498 | { | ||
499 | SCpnt->SCp.have_data_in = pci_map_single (padapter->pdev, SCpnt->request_buffer, SCpnt->request_bufflen, | ||
500 | SCpnt->sc_data_direction); | ||
501 | outl (SCpnt->SCp.have_data_in, padapter->mb2); | ||
502 | } | ||
503 | outl (cdb[5], padapter->mb0); | ||
504 | outl (cdb[3], padapter->mb3); | ||
505 | cmd = CMD_DASD_RAID_RQ; | ||
506 | break; | ||
507 | } | ||
508 | break; | ||
509 | } | ||
510 | |||
511 | if ( SCpnt->use_sg ) | ||
512 | { | ||
513 | SCpnt->SCp.have_data_in = pci_map_single (padapter->pdev, | ||
514 | ((struct scatterlist *)SCpnt->request_buffer)->address, | ||
515 | SCpnt->request_bufflen, | ||
516 | SCpnt->sc_data_direction); | ||
517 | } | ||
518 | else | ||
519 | { | ||
520 | SCpnt->SCp.have_data_in = pci_map_single (padapter->pdev, SCpnt->request_buffer, | ||
521 | SCpnt->request_bufflen, | ||
522 | SCpnt->sc_data_direction); | ||
523 | } | ||
524 | outl (SCpnt->SCp.have_data_in, padapter->mb2); | ||
525 | outl (SCpnt->request_bufflen, padapter->mb3); | ||
526 | cmd = CMD_DASD_SCSI_INQ; | ||
527 | break; | ||
528 | |||
529 | case SCSIOP_TEST_UNIT_READY: // test unit ready CDB | ||
530 | SCpnt->SCp.have_data_in = pci_map_single (padapter->pdev, SCpnt->sense_buffer, sizeof (SCpnt->sense_buffer), PCI_DMA_FROMDEVICE); | ||
531 | outl (SCpnt->SCp.have_data_in, padapter->mb2); | ||
532 | outl (sizeof (SCpnt->sense_buffer), padapter->mb3); | ||
533 | cmd = CMD_TEST_READY; | ||
534 | break; | ||
535 | |||
536 | case SCSIOP_READ_CAPACITY: // read capacity CDB | ||
537 | if ( SCpnt->use_sg ) | ||
538 | { | ||
539 | SCpnt->SCp.have_data_in = pci_map_single (padapter->pdev, ((struct scatterlist *)(SCpnt->request_buffer))->address, | ||
540 | 8, PCI_DMA_FROMDEVICE); | ||
541 | } | ||
542 | else | ||
543 | SCpnt->SCp.have_data_in = pci_map_single (padapter->pdev, SCpnt->request_buffer, 8, PCI_DMA_FROMDEVICE); | ||
544 | outl (SCpnt->SCp.have_data_in, padapter->mb2); | ||
545 | outl (8, padapter->mb3); | ||
546 | cmd = CMD_DASD_CAP; | ||
547 | break; | ||
548 | case SCSIOP_VERIFY: // verify CDB | ||
549 | outw_p ((USHORT)cdb[8] | ((USHORT)cdb[7] << 8), padapter->mb0 + 2); | ||
550 | outl (XSCSI2LONG (&cdb[2]), padapter->mb1); | ||
551 | cmd = CMD_READ_SG; | ||
552 | break; | ||
553 | case SCSIOP_READ: // read10 CDB | ||
554 | outw_p ((USHORT)cdb[8] | ((USHORT)cdb[7] << 8), padapter->mb0 + 2); | ||
555 | outl (XSCSI2LONG (&cdb[2]), padapter->mb1); | ||
556 | if ( BuildSgList (SCpnt, padapter, pdev) ) | ||
557 | cmd = CMD_READ; | ||
558 | else | ||
559 | cmd = CMD_READ_SG; | ||
560 | break; | ||
561 | case SCSIOP_READ6: // read6 CDB | ||
562 | outw_p (cdb[4], padapter->mb0 + 2); | ||
563 | outl ((SCSI2LONG (&cdb[1])) & 0x001FFFFF, padapter->mb1); | ||
564 | if ( BuildSgList (SCpnt, padapter, pdev) ) | ||
565 | cmd = CMD_READ; | ||
566 | else | ||
567 | cmd = CMD_READ_SG; | ||
568 | break; | ||
569 | case SCSIOP_WRITE: // write10 CDB | ||
570 | outw_p ((USHORT)cdb[8] | ((USHORT)cdb[7] << 8), padapter->mb0 + 2); | ||
571 | outl (XSCSI2LONG (&cdb[2]), padapter->mb1); | ||
572 | if ( BuildSgList (SCpnt, padapter, pdev) ) | ||
573 | cmd = CMD_WRITE; | ||
574 | else | ||
575 | cmd = CMD_WRITE_SG; | ||
576 | break; | ||
577 | case SCSIOP_WRITE6: // write6 CDB | ||
578 | outw_p (cdb[4], padapter->mb0 + 2); | ||
579 | outl ((SCSI2LONG (&cdb[1])) & 0x001FFFFF, padapter->mb1); | ||
580 | if ( BuildSgList (SCpnt, padapter, pdev) ) | ||
581 | cmd = CMD_WRITE; | ||
582 | else | ||
583 | cmd = CMD_WRITE_SG; | ||
584 | break; | ||
585 | case SCSIOP_START_STOP_UNIT: | ||
586 | cmd = CMD_EJECT_MEDIA; | ||
587 | break; | ||
588 | case SCSIOP_MEDIUM_REMOVAL: | ||
589 | switch ( cdb[4] ) | ||
590 | { | ||
591 | case 0: | ||
592 | cmd = CMD_UNLOCK_DOOR; | ||
593 | break; | ||
594 | case 1: | ||
595 | cmd = CMD_LOCK_DOOR; | ||
596 | break; | ||
597 | default: | ||
598 | cmd = 0; | ||
599 | break; | ||
600 | } | ||
601 | if ( cmd ) | ||
602 | break; | ||
603 | default: | ||
604 | DEB (printk ("pci2000_queuecommand: Unsupported command %02X\n", *cdb)); | ||
605 | OpDone (SCpnt, DID_ERROR << 16); | ||
606 | return 0; | ||
607 | } | ||
608 | |||
609 | if ( (pdev->tag = Command (padapter, cmd)) == 0 ) | ||
610 | rc = DID_TIME_OUT; | ||
611 | finished:; | ||
612 | if ( rc != -1 ) | ||
613 | OpDone (SCpnt, rc << 16); | ||
614 | return 0; | ||
615 | } | ||
616 | /**************************************************************** | ||
617 | * Name: Pci2000_Detect | ||
618 | * | ||
619 | * Description: Detect and initialize our boards. | ||
620 | * | ||
621 | * Parameters: tpnt - Pointer to SCSI host template structure. | ||
622 | * | ||
623 | * Returns: Number of adapters installed. | ||
624 | * | ||
625 | ****************************************************************/ | ||
626 | int Pci2000_Detect (Scsi_Host_Template *tpnt) | ||
627 | { | ||
628 | int found = 0; | ||
629 | int installed = 0; | ||
630 | struct Scsi_Host *pshost; | ||
631 | PADAPTER2000 padapter; | ||
632 | int z, zz; | ||
633 | int setirq; | ||
634 | struct pci_dev *pdev = NULL; | ||
635 | UCHAR *consistent; | ||
636 | dma_addr_t consistentDma; | ||
637 | |||
638 | while ( (pdev = pci_find_device (VENDOR_PSI, DEVICE_ROY_1, pdev)) != NULL ) | ||
639 | { | ||
640 | if (pci_enable_device(pdev)) | ||
641 | continue; | ||
642 | pshost = scsi_register (tpnt, sizeof(ADAPTER2000)); | ||
643 | if(pshost == NULL) | ||
644 | continue; | ||
645 | padapter = HOSTDATA(pshost); | ||
646 | |||
647 | padapter->basePort = pci_resource_start (pdev, 1); | ||
648 | DEB (printk ("\nBase Regs = %#04X", padapter->basePort)); // get the base I/O port address | ||
649 | padapter->mb0 = padapter->basePort + RTR_MAILBOX; // get the 32 bit mail boxes | ||
650 | padapter->mb1 = padapter->basePort + RTR_MAILBOX + 4; | ||
651 | padapter->mb2 = padapter->basePort + RTR_MAILBOX + 8; | ||
652 | padapter->mb3 = padapter->basePort + RTR_MAILBOX + 12; | ||
653 | padapter->mb4 = padapter->basePort + RTR_MAILBOX + 16; | ||
654 | padapter->cmd = padapter->basePort + RTR_LOCAL_DOORBELL; // command register | ||
655 | padapter->tag = padapter->basePort + RTR_PCI_DOORBELL; // tag/response register | ||
656 | padapter->pdev = pdev; | ||
657 | |||
658 | if ( WaitReady (padapter) ) | ||
659 | goto unregister; | ||
660 | outb_p (0x84, padapter->mb0); | ||
661 | outb_p (CMD_SPECIFY, padapter->cmd); | ||
662 | if ( WaitReady (padapter) ) | ||
663 | goto unregister; | ||
664 | |||
665 | consistent = pci_alloc_consistent (pdev, consistentLen, &consistentDma); | ||
666 | if ( !consistent ) | ||
667 | { | ||
668 | printk ("Unable to allocate DMA memory for PCI-2000 controller.\n"); | ||
669 | goto unregister; | ||
670 | } | ||
671 | |||
672 | scsi_set_device(pshost, &pdev->dev); | ||
673 | pshost->irq = pdev->irq; | ||
674 | setirq = 1; | ||
675 | padapter->irqOwned = 0; | ||
676 | for ( z = 0; z < installed; z++ ) // scan for shared interrupts | ||
677 | { | ||
678 | if ( PsiHost[z]->irq == pshost->irq ) // if shared then, don't posses | ||
679 | setirq = 0; | ||
680 | } | ||
681 | if ( setirq ) // if not shared, posses | ||
682 | { | ||
683 | if ( request_irq (pshost->irq, Irq_Handler, SA_SHIRQ, "pci2000", padapter) < 0 ) | ||
684 | { | ||
685 | if ( request_irq (pshost->irq, Irq_Handler, SA_INTERRUPT | SA_SHIRQ, "pci2000", padapter) < 0 ) | ||
686 | { | ||
687 | printk ("Unable to allocate IRQ for PCI-2000 controller.\n"); | ||
688 | pci_free_consistent (pdev, consistentLen, consistent, consistentDma); | ||
689 | goto unregister; | ||
690 | } | ||
691 | } | ||
692 | padapter->irqOwned = pshost->irq; // set IRQ as owned | ||
693 | } | ||
694 | PsiHost[installed] = pshost; // save SCSI_HOST pointer | ||
695 | |||
696 | pshost->io_port = padapter->basePort; | ||
697 | pshost->n_io_port = 0xFF; | ||
698 | pshost->unique_id = padapter->basePort; | ||
699 | pshost->max_id = 16; | ||
700 | pshost->max_channel = 1; | ||
701 | |||
702 | for ( zz = 0; zz < MAX_BUS; zz++ ) | ||
703 | for ( z = 0; z < MAX_UNITS; z++ ) | ||
704 | { | ||
705 | padapter->dev[zz][z].tag = 0; | ||
706 | padapter->dev[zz][z].scatGath = (PSCATGATH)consistent; | ||
707 | padapter->dev[zz][z].scatGathDma = consistentDma; | ||
708 | consistent += 16 * sizeof (SCATGATH); | ||
709 | consistentDma += 16 * sizeof (SCATGATH); | ||
710 | padapter->dev[zz][z].cdb = (UCHAR *)consistent; | ||
711 | padapter->dev[zz][z].cdbDma = consistentDma; | ||
712 | consistent += MAX_COMMAND_SIZE; | ||
713 | consistentDma += MAX_COMMAND_SIZE; | ||
714 | } | ||
715 | |||
716 | printk("\nPSI-2000 Intelligent Storage SCSI CONTROLLER: at I/O = %lX IRQ = %d\n", padapter->basePort, pshost->irq); | ||
717 | printk("Version %s, Compiled %s %s\n\n", PCI2000_VERSION, __DATE__, __TIME__); | ||
718 | found++; | ||
719 | if ( ++installed < MAXADAPTER ) | ||
720 | continue; | ||
721 | break; | ||
722 | unregister:; | ||
723 | scsi_unregister (pshost); | ||
724 | found++; | ||
725 | } | ||
726 | NumAdapters = installed; | ||
727 | return installed; | ||
728 | } | ||
729 | /**************************************************************** | ||
730 | * Name: Pci2000_Abort | ||
731 | * | ||
732 | * Description: Process the Abort command from the SCSI manager. | ||
733 | * | ||
734 | * Parameters: SCpnt - Pointer to SCSI command structure. | ||
735 | * | ||
736 | * Returns: Allways snooze. | ||
737 | * | ||
738 | ****************************************************************/ | ||
739 | int Pci2000_Abort (Scsi_Cmnd *SCpnt) | ||
740 | { | ||
741 | DEB (printk ("pci2000_abort\n")); | ||
742 | return SCSI_ABORT_SNOOZE; | ||
743 | } | ||
744 | /**************************************************************** | ||
745 | * Name: Pci2000_Reset | ||
746 | * | ||
747 | * Description: Process the Reset command from the SCSI manager. | ||
748 | * | ||
749 | * Parameters: SCpnt - Pointer to SCSI command structure. | ||
750 | * flags - Flags about the reset command | ||
751 | * | ||
752 | * Returns: No active command at this time, so this means | ||
753 | * that each time we got some kind of response the | ||
754 | * last time through. Tell the mid-level code to | ||
755 | * request sense information in order to decide what | ||
756 | * to do next. | ||
757 | * | ||
758 | ****************************************************************/ | ||
759 | int Pci2000_Reset (Scsi_Cmnd *SCpnt, unsigned int reset_flags) | ||
760 | { | ||
761 | return SCSI_RESET_PUNT; | ||
762 | } | ||
763 | /**************************************************************** | ||
764 | * Name: Pci2000_Release | ||
765 | * | ||
766 | * Description: Release resources allocated for a single each adapter. | ||
767 | * | ||
768 | * Parameters: pshost - Pointer to SCSI command structure. | ||
769 | * | ||
770 | * Returns: zero. | ||
771 | * | ||
772 | ****************************************************************/ | ||
773 | int Pci2000_Release (struct Scsi_Host *pshost) | ||
774 | { | ||
775 | PADAPTER2000 padapter = HOSTDATA (pshost); | ||
776 | |||
777 | if ( padapter->irqOwned ) | ||
778 | free_irq (pshost->irq, padapter); | ||
779 | pci_free_consistent (padapter->pdev, consistentLen, padapter->dev[0][0].scatGath, padapter->dev[0][0].scatGathDma); | ||
780 | release_region (pshost->io_port, pshost->n_io_port); | ||
781 | scsi_unregister(pshost); | ||
782 | return 0; | ||
783 | } | ||
784 | |||
785 | /**************************************************************** | ||
786 | * Name: Pci2000_BiosParam | ||
787 | * | ||
788 | * Description: Process the biosparam request from the SCSI manager to | ||
789 | * return C/H/S data. | ||
790 | * | ||
791 | * Parameters: disk - Pointer to SCSI disk structure. | ||
792 | * dev - Major/minor number from kernel. | ||
793 | * geom - Pointer to integer array to place geometry data. | ||
794 | * | ||
795 | * Returns: zero. | ||
796 | * | ||
797 | ****************************************************************/ | ||
798 | int Pci2000_BiosParam (struct scsi_device *sdev, struct block_device *dev, | ||
799 | sector_t capacity, int geom[]) | ||
800 | { | ||
801 | PADAPTER2000 padapter; | ||
802 | |||
803 | padapter = HOSTDATA(sdev->host); | ||
804 | |||
805 | if ( WaitReady (padapter) ) | ||
806 | return 0; | ||
807 | outb_p (sdev->id, padapter->mb0); | ||
808 | outb_p (CMD_GET_PARMS, padapter->cmd); | ||
809 | if ( WaitReady (padapter) ) | ||
810 | return 0; | ||
811 | |||
812 | geom[0] = inb_p (padapter->mb2 + 3); | ||
813 | geom[1] = inb_p (padapter->mb2 + 2); | ||
814 | geom[2] = inw_p (padapter->mb2); | ||
815 | return 0; | ||
816 | } | ||
817 | |||
818 | |||
819 | MODULE_LICENSE("Dual BSD/GPL"); | ||
820 | |||
821 | static Scsi_Host_Template driver_template = { | ||
822 | .proc_name = "pci2000", | ||
823 | .name = "PCI-2000 SCSI Intelligent Disk Controller", | ||
824 | .detect = Pci2000_Detect, | ||
825 | .release = Pci2000_Release, | ||
826 | .queuecommand = Pci2000_QueueCommand, | ||
827 | .abort = Pci2000_Abort, | ||
828 | .reset = Pci2000_Reset, | ||
829 | .bios_param = Pci2000_BiosParam, | ||
830 | .can_queue = 16, | ||
831 | .this_id = -1, | ||
832 | .sg_tablesize = 16, | ||
833 | .cmd_per_lun = 1, | ||
834 | .use_clustering = DISABLE_CLUSTERING, | ||
835 | }; | ||
836 | #include "scsi_module.c" | ||
diff --git a/drivers/scsi/pci2220i.c b/drivers/scsi/pci2220i.c deleted file mode 100644 index e395e4203154..000000000000 --- a/drivers/scsi/pci2220i.c +++ /dev/null | |||
@@ -1,2915 +0,0 @@ | |||
1 | /**************************************************************************** | ||
2 | * Perceptive Solutions, Inc. PCI-2220I device driver for Linux. | ||
3 | * | ||
4 | * pci2220i.c - Linux Host Driver for PCI-2220I EIDE RAID Adapters | ||
5 | * | ||
6 | * Copyright (c) 1997-1999 Perceptive Solutions, Inc. | ||
7 | * All Rights Reserved. | ||
8 | * | ||
9 | * Redistribution and use in source and binary forms, with or without | ||
10 | * modification, are permitted provided that redistributions of source | ||
11 | * code retain the above copyright notice and this comment without | ||
12 | * modification. | ||
13 | * | ||
14 | * Technical updates and product information at: | ||
15 | * http://www.psidisk.com | ||
16 | * | ||
17 | * Please send questions, comments, bug reports to: | ||
18 | * tech@psidisk.com Technical Support | ||
19 | * | ||
20 | * | ||
21 | * Revisions 1.10 Mar-26-1999 | ||
22 | * - Updated driver for RAID and hot reconstruct support. | ||
23 | * | ||
24 | * Revisions 1.11 Mar-26-1999 | ||
25 | * - Fixed spinlock and PCI configuration. | ||
26 | * | ||
27 | * Revision 2.00 December-1-1999 | ||
28 | * - Added code for the PCI-2240I controller | ||
29 | * - Added code for ATAPI devices. | ||
30 | * - Double buffer for scatter/gather support | ||
31 | * | ||
32 | * Revision 2.10 March-27-2000 | ||
33 | * - Added support for dynamic DMA | ||
34 | * | ||
35 | ****************************************************************************/ | ||
36 | |||
37 | #error Convert me to understand page+offset based scatterlists | ||
38 | |||
39 | //#define DEBUG 1 | ||
40 | |||
41 | #include <linux/interrupt.h> | ||
42 | #include <linux/module.h> | ||
43 | #include <linux/kernel.h> | ||
44 | #include <linux/types.h> | ||
45 | #include <linux/string.h> | ||
46 | #include <linux/slab.h> | ||
47 | #include <linux/pci.h> | ||
48 | #include <linux/ioport.h> | ||
49 | #include <linux/delay.h> | ||
50 | #include <linux/sched.h> | ||
51 | #include <linux/proc_fs.h> | ||
52 | #include <linux/stat.h> | ||
53 | #include <linux/blkdev.h> | ||
54 | #include <linux/timer.h> | ||
55 | #include <linux/spinlock.h> | ||
56 | |||
57 | #include <asm/dma.h> | ||
58 | #include <asm/system.h> | ||
59 | #include <asm/io.h> | ||
60 | |||
61 | #include "scsi.h" | ||
62 | #include <scsi/scsi_host.h> | ||
63 | #include "pci2220i.h" | ||
64 | #include "psi_dale.h" | ||
65 | |||
66 | |||
67 | #define PCI2220I_VERSION "2.10" | ||
68 | #define READ_CMD IDE_CMD_READ_MULTIPLE | ||
69 | #define WRITE_CMD IDE_CMD_WRITE_MULTIPLE | ||
70 | #define MAX_BUS_MASTER_BLOCKS SECTORSXFER // This is the maximum we can bus master | ||
71 | |||
72 | #ifdef DEBUG | ||
73 | #define DEB(x) x | ||
74 | #define STOP_HERE() {int st;for(st=0;st<100;st++){st=1;}} | ||
75 | #else | ||
76 | #define DEB(x) | ||
77 | #define STOP_HERE() | ||
78 | #endif | ||
79 | |||
80 | #define MAXADAPTER 4 // Increase this and the sizes of the arrays below, if you need more. | ||
81 | |||
82 | |||
83 | typedef struct | ||
84 | { | ||
85 | UCHAR byte6; // device select register image | ||
86 | UCHAR spigot; // spigot number | ||
87 | UCHAR spigots[2]; // RAID spigots | ||
88 | UCHAR deviceID[2]; // device ID codes | ||
89 | USHORT sectors; // number of sectors per track | ||
90 | USHORT heads; // number of heads | ||
91 | USHORT cylinders; // number of cylinders for this device | ||
92 | USHORT spareword; // placeholder | ||
93 | ULONG blocks; // number of blocks on device | ||
94 | DISK_MIRROR DiskMirror[2]; // RAID status and control | ||
95 | ULONG lastsectorlba[2]; // last addressable sector on the drive | ||
96 | USHORT raid; // RAID active flag | ||
97 | USHORT mirrorRecon; | ||
98 | UCHAR reconOn; | ||
99 | USHORT reconCount; | ||
100 | USHORT reconIsStarting; // indicate hot reconstruct is starting | ||
101 | UCHAR cmdDrqInt; // flag for command interrupt | ||
102 | UCHAR packet; // command packet size in bytes | ||
103 | } OUR_DEVICE, *POUR_DEVICE; | ||
104 | |||
105 | typedef struct | ||
106 | { | ||
107 | USHORT bigD; // identity is a PCI-2240I if true, otherwise a PCI-2220I | ||
108 | USHORT atapi; // this interface is for ATAPI devices only | ||
109 | ULONG regDmaDesc; // address of the DMA discriptor register for direction of transfer | ||
110 | ULONG regDmaCmdStat; // Byte #1 of DMA command status register | ||
111 | ULONG regDmaAddrPci; // 32 bit register for PCI address of DMA | ||
112 | ULONG regDmaAddrLoc; // 32 bit register for local bus address of DMA | ||
113 | ULONG regDmaCount; // 32 bit register for DMA transfer count | ||
114 | ULONG regDmaMode; // 32 bit register for DMA mode control | ||
115 | ULONG regRemap; // 32 bit local space remap | ||
116 | ULONG regDesc; // 32 bit local region descriptor | ||
117 | ULONG regRange; // 32 bit local range | ||
118 | ULONG regIrqControl; // 16 bit Interrupt enable/disable and status | ||
119 | ULONG regScratchPad; // scratch pad I/O base address | ||
120 | ULONG regBase; // Base I/O register for data space | ||
121 | ULONG regData; // data register I/O address | ||
122 | ULONG regError; // error register I/O address | ||
123 | ULONG regSectCount; // sector count register I/O address | ||
124 | ULONG regLba0; // least significant byte of LBA | ||
125 | ULONG regLba8; // next least significant byte of LBA | ||
126 | ULONG regLba16; // next most significan byte of LBA | ||
127 | ULONG regLba24; // head and most 4 significant bits of LBA | ||
128 | ULONG regStatCmd; // status on read and command on write register | ||
129 | ULONG regStatSel; // board status on read and spigot select on write register | ||
130 | ULONG regFail; // fail bits control register | ||
131 | ULONG regAltStat; // alternate status and drive control register | ||
132 | ULONG basePort; // PLX base I/O port | ||
133 | USHORT timingMode; // timing mode currently set for adapter | ||
134 | USHORT timingPIO; // TRUE if PIO timing is active | ||
135 | struct pci_dev *pcidev; | ||
136 | ULONG timingAddress; // address to use on adapter for current timing mode | ||
137 | ULONG irqOwned; // owned IRQ or zero if shared | ||
138 | UCHAR numberOfDrives; // saved number of drives on this controller | ||
139 | UCHAR failRegister; // current inverted data in fail register | ||
140 | OUR_DEVICE device[BIGD_MAXDRIVES]; | ||
141 | DISK_MIRROR *raidData[BIGD_MAXDRIVES]; | ||
142 | ULONG startSector; | ||
143 | USHORT sectorCount; | ||
144 | ULONG readCount; | ||
145 | UCHAR *currentSgBuffer; | ||
146 | ULONG currentSgCount; | ||
147 | USHORT nextSg; | ||
148 | UCHAR cmd; | ||
149 | Scsi_Cmnd *SCpnt; | ||
150 | POUR_DEVICE pdev; // current device opearating on | ||
151 | USHORT devInReconIndex; | ||
152 | USHORT expectingIRQ; | ||
153 | USHORT reconOn; // Hot reconstruct is to be done. | ||
154 | USHORT reconPhase; // Hot reconstruct operation is in progress. | ||
155 | ULONG reconSize; | ||
156 | USHORT demoFail; // flag for RAID failure demonstration | ||
157 | USHORT survivor; | ||
158 | USHORT failinprog; | ||
159 | struct timer_list reconTimer; | ||
160 | struct timer_list timer; | ||
161 | UCHAR *kBuffer; | ||
162 | dma_addr_t kBufferDma; | ||
163 | UCHAR reqSense; | ||
164 | UCHAR atapiCdb[16]; | ||
165 | UCHAR atapiSpecial; | ||
166 | } ADAPTER2220I, *PADAPTER2220I; | ||
167 | |||
168 | #define HOSTDATA(host) ((PADAPTER2220I)&host->hostdata) | ||
169 | |||
170 | #define RECON_PHASE_READY 0x01 | ||
171 | #define RECON_PHASE_COPY 0x02 | ||
172 | #define RECON_PHASE_UPDATE 0x03 | ||
173 | #define RECON_PHASE_LAST 0x04 | ||
174 | #define RECON_PHASE_END 0x07 | ||
175 | #define RECON_PHASE_MARKING 0x80 | ||
176 | #define RECON_PHASE_FAILOVER 0xFF | ||
177 | |||
178 | static struct Scsi_Host *PsiHost[MAXADAPTER] = {NULL,}; // One for each adapter | ||
179 | static int NumAdapters = 0; | ||
180 | static int Installed = 0; | ||
181 | static SETUP DaleSetup; | ||
182 | static DISK_MIRROR DiskMirror[BIGD_MAXDRIVES]; | ||
183 | static ULONG ModeArray[] = {DALE_DATA_MODE2, DALE_DATA_MODE3, DALE_DATA_MODE4, DALE_DATA_MODE5}; | ||
184 | static ULONG ModeArray2[] = {BIGD_DATA_MODE2, BIGD_DATA_MODE3, BIGD_DATA_MODE4, BIGD_DATA_MODE5}; | ||
185 | |||
186 | static void ReconTimerExpiry (unsigned long data); | ||
187 | |||
188 | /******************************************************************************************************* | ||
189 | * Name: Alarm | ||
190 | * | ||
191 | * Description: Sound the for the given device | ||
192 | * | ||
193 | * Parameters: padapter - Pointer adapter data structure. | ||
194 | * device - Device number. | ||
195 | * | ||
196 | * Returns: Nothing. | ||
197 | * | ||
198 | ******************************************************************************************************/ | ||
199 | static void Alarm (PADAPTER2220I padapter, UCHAR device) | ||
200 | { | ||
201 | UCHAR zc; | ||
202 | |||
203 | if ( padapter->bigD ) | ||
204 | { | ||
205 | zc = device | (FAIL_ANY | FAIL_AUDIBLE); | ||
206 | if ( padapter->failRegister & FAIL_ANY ) | ||
207 | zc |= FAIL_MULTIPLE; | ||
208 | |||
209 | padapter->failRegister = zc; | ||
210 | outb_p (~zc, padapter->regFail); | ||
211 | } | ||
212 | else | ||
213 | outb_p (0x3C | (1 << device), padapter->regFail); // sound alarm and set fail light | ||
214 | } | ||
215 | /**************************************************************** | ||
216 | * Name: MuteAlarm :LOCAL | ||
217 | * | ||
218 | * Description: Mute the audible alarm. | ||
219 | * | ||
220 | * Parameters: padapter - Pointer adapter data structure. | ||
221 | * | ||
222 | * Returns: TRUE if drive does not assert DRQ in time. | ||
223 | * | ||
224 | ****************************************************************/ | ||
225 | static void MuteAlarm (PADAPTER2220I padapter) | ||
226 | { | ||
227 | UCHAR old; | ||
228 | |||
229 | if ( padapter->bigD ) | ||
230 | { | ||
231 | padapter->failRegister &= ~FAIL_AUDIBLE; | ||
232 | outb_p (~padapter->failRegister, padapter->regFail); | ||
233 | } | ||
234 | else | ||
235 | { | ||
236 | old = (inb_p (padapter->regStatSel) >> 3) | (inb_p (padapter->regStatSel) & 0x83); | ||
237 | outb_p (old | 0x40, padapter->regFail); | ||
238 | } | ||
239 | } | ||
240 | /**************************************************************** | ||
241 | * Name: WaitReady :LOCAL | ||
242 | * | ||
243 | * Description: Wait for device ready. | ||
244 | * | ||
245 | * Parameters: padapter - Pointer adapter data structure. | ||
246 | * | ||
247 | * Returns: TRUE if drive does not assert DRQ in time. | ||
248 | * | ||
249 | ****************************************************************/ | ||
250 | static int WaitReady (PADAPTER2220I padapter) | ||
251 | { | ||
252 | ULONG z; | ||
253 | UCHAR status; | ||
254 | |||
255 | for ( z = 0; z < (TIMEOUT_READY * 4); z++ ) | ||
256 | { | ||
257 | status = inb_p (padapter->regStatCmd); | ||
258 | if ( (status & (IDE_STATUS_DRDY | IDE_STATUS_BUSY)) == IDE_STATUS_DRDY ) | ||
259 | return 0; | ||
260 | udelay (250); | ||
261 | } | ||
262 | return status; | ||
263 | } | ||
264 | /**************************************************************** | ||
265 | * Name: WaitReadyReset :LOCAL | ||
266 | * | ||
267 | * Description: Wait for device ready. | ||
268 | * | ||
269 | * Parameters: padapter - Pointer adapter data structure. | ||
270 | * | ||
271 | * Returns: TRUE if drive does not assert DRQ in time. | ||
272 | * | ||
273 | ****************************************************************/ | ||
274 | static int WaitReadyReset (PADAPTER2220I padapter) | ||
275 | { | ||
276 | ULONG z; | ||
277 | UCHAR status; | ||
278 | |||
279 | for ( z = 0; z < (125 * 16); z++ ) // wait up to 1/4 second | ||
280 | { | ||
281 | status = inb_p (padapter->regStatCmd); | ||
282 | if ( (status & (IDE_STATUS_DRDY | IDE_STATUS_BUSY)) == IDE_STATUS_DRDY ) | ||
283 | { | ||
284 | DEB (printk ("\nPCI2220I: Reset took %ld mSec to be ready", z / 8)); | ||
285 | return 0; | ||
286 | } | ||
287 | udelay (125); | ||
288 | } | ||
289 | DEB (printk ("\nPCI2220I: Reset took more than 2 Seconds to come ready, Disk Failure")); | ||
290 | return status; | ||
291 | } | ||
292 | /**************************************************************** | ||
293 | * Name: WaitDrq :LOCAL | ||
294 | * | ||
295 | * Description: Wait for device ready for data transfer. | ||
296 | * | ||
297 | * Parameters: padapter - Pointer adapter data structure. | ||
298 | * | ||
299 | * Returns: TRUE if drive does not assert DRQ in time. | ||
300 | * | ||
301 | ****************************************************************/ | ||
302 | static int WaitDrq (PADAPTER2220I padapter) | ||
303 | { | ||
304 | ULONG z; | ||
305 | UCHAR status; | ||
306 | |||
307 | for ( z = 0; z < (TIMEOUT_DRQ * 4); z++ ) | ||
308 | { | ||
309 | status = inb_p (padapter->regStatCmd); | ||
310 | if ( status & IDE_STATUS_DRQ ) | ||
311 | return 0; | ||
312 | udelay (250); | ||
313 | } | ||
314 | return status; | ||
315 | } | ||
316 | /**************************************************************** | ||
317 | * Name: AtapiWaitReady :LOCAL | ||
318 | * | ||
319 | * Description: Wait for device busy and DRQ to be cleared. | ||
320 | * | ||
321 | * Parameters: padapter - Pointer adapter data structure. | ||
322 | * msec - Number of milliseconds to wait. | ||
323 | * | ||
324 | * Returns: TRUE if drive does not clear busy in time. | ||
325 | * | ||
326 | ****************************************************************/ | ||
327 | static int AtapiWaitReady (PADAPTER2220I padapter, int msec) | ||
328 | { | ||
329 | int z; | ||
330 | |||
331 | for ( z = 0; z < (msec * 16); z++ ) | ||
332 | { | ||
333 | if ( !(inb_p (padapter->regStatCmd) & (IDE_STATUS_BUSY | IDE_STATUS_DRQ)) ) | ||
334 | return FALSE; | ||
335 | udelay (125); | ||
336 | } | ||
337 | return TRUE; | ||
338 | } | ||
339 | /**************************************************************** | ||
340 | * Name: AtapiWaitDrq :LOCAL | ||
341 | * | ||
342 | * Description: Wait for device ready for data transfer. | ||
343 | * | ||
344 | * Parameters: padapter - Pointer adapter data structure. | ||
345 | * msec - Number of milliseconds to wait. | ||
346 | * | ||
347 | * Returns: TRUE if drive does not assert DRQ in time. | ||
348 | * | ||
349 | ****************************************************************/ | ||
350 | static int AtapiWaitDrq (PADAPTER2220I padapter, int msec) | ||
351 | { | ||
352 | ULONG z; | ||
353 | |||
354 | for ( z = 0; z < (msec * 16); z++ ) | ||
355 | { | ||
356 | if ( inb_p (padapter->regStatCmd) & IDE_STATUS_DRQ ) | ||
357 | return 0; | ||
358 | udelay (128); | ||
359 | } | ||
360 | return TRUE; | ||
361 | } | ||
362 | /**************************************************************** | ||
363 | * Name: HardReset :LOCAL | ||
364 | * | ||
365 | * Description: Wait for device ready for data transfer. | ||
366 | * | ||
367 | * Parameters: padapter - Pointer adapter data structure. | ||
368 | * pdev - Pointer to device. | ||
369 | * spigot - Spigot number. | ||
370 | * | ||
371 | * Returns: TRUE if drive does not assert DRQ in time. | ||
372 | * | ||
373 | ****************************************************************/ | ||
374 | static int HardReset (PADAPTER2220I padapter, POUR_DEVICE pdev, UCHAR spigot) | ||
375 | { | ||
376 | DEB (printk ("\npci2220i:RESET spigot = %X devices = %d, %d", spigot, pdev->deviceID[0], pdev->deviceID[1])); | ||
377 | mdelay (100); // just wait 100 mSec to let drives flush | ||
378 | SelectSpigot (padapter, spigot | SEL_IRQ_OFF); | ||
379 | |||
380 | outb_p (0x0E, padapter->regAltStat); // reset the suvivor | ||
381 | udelay (100); // wait a little | ||
382 | outb_p (0x08, padapter->regAltStat); // clear the reset | ||
383 | udelay (100); | ||
384 | |||
385 | outb_p (0xA0, padapter->regLba24); // select the master drive | ||
386 | if ( WaitReadyReset (padapter) ) | ||
387 | { | ||
388 | DEB (printk ("\npci2220i: master not ready after reset")); | ||
389 | return TRUE; | ||
390 | } | ||
391 | outb_p (0xB0, padapter->regLba24); // try the slave drive | ||
392 | if ( (inb_p (padapter->regStatCmd) & (IDE_STATUS_DRDY | IDE_STATUS_BUSY)) == IDE_STATUS_DRDY ) | ||
393 | { | ||
394 | DEB (printk ("\nPCI2220I: initializing slave drive on spigot %X", spigot)); | ||
395 | outb_p (SECTORSXFER, padapter->regSectCount); | ||
396 | WriteCommand (padapter, IDE_CMD_SET_MULTIPLE); | ||
397 | if ( WaitReady (padapter) ) | ||
398 | { | ||
399 | DEB (printk ("\npci2220i: slave not ready after set multiple")); | ||
400 | return TRUE; | ||
401 | } | ||
402 | } | ||
403 | |||
404 | outb_p (0xA0, padapter->regLba24); // select the drive | ||
405 | outb_p (SECTORSXFER, padapter->regSectCount); | ||
406 | WriteCommand (padapter, IDE_CMD_SET_MULTIPLE); | ||
407 | if ( WaitReady (padapter) ) | ||
408 | { | ||
409 | DEB (printk ("\npci2220i: master not ready after set multiple")); | ||
410 | return TRUE; | ||
411 | } | ||
412 | return FALSE; | ||
413 | } | ||
414 | /**************************************************************** | ||
415 | * Name: AtapiReset :LOCAL | ||
416 | * | ||
417 | * Description: Wait for device ready for data transfer. | ||
418 | * | ||
419 | * Parameters: padapter - Pointer adapter data structure. | ||
420 | * pdev - Pointer to device. | ||
421 | * | ||
422 | * Returns: TRUE if drive does not come ready. | ||
423 | * | ||
424 | ****************************************************************/ | ||
425 | static int AtapiReset (PADAPTER2220I padapter, POUR_DEVICE pdev) | ||
426 | { | ||
427 | SelectSpigot (padapter, pdev->spigot); | ||
428 | AtapiDevice (padapter, pdev->byte6); | ||
429 | AtapiCountLo (padapter, 0); | ||
430 | AtapiCountHi (padapter, 0); | ||
431 | WriteCommand (padapter, IDE_COMMAND_ATAPI_RESET); | ||
432 | udelay (125); | ||
433 | if ( AtapiWaitReady (padapter, 1000) ) | ||
434 | return TRUE; | ||
435 | if ( inb_p (padapter->regStatCmd) || (inb_p (padapter->regLba8) != 0x14) || (inb_p (padapter->regLba16) != 0xEB) ) | ||
436 | return TRUE; | ||
437 | return FALSE; | ||
438 | } | ||
439 | /**************************************************************** | ||
440 | * Name: WalkScatGath :LOCAL | ||
441 | * | ||
442 | * Description: Transfer data to/from scatter/gather buffers. | ||
443 | * | ||
444 | * Parameters: padapter - Pointer adapter data structure. | ||
445 | * datain - TRUE if data read. | ||
446 | * length - Number of bytes to transfer. | ||
447 | * | ||
448 | * Returns: Nothing. | ||
449 | * | ||
450 | ****************************************************************/ | ||
451 | static void WalkScatGath (PADAPTER2220I padapter, UCHAR datain, ULONG length) | ||
452 | { | ||
453 | ULONG count; | ||
454 | UCHAR *buffer = padapter->kBuffer; | ||
455 | |||
456 | while ( length ) | ||
457 | { | ||
458 | count = ( length > padapter->currentSgCount ) ? padapter->currentSgCount : length; | ||
459 | |||
460 | if ( datain ) | ||
461 | memcpy (padapter->currentSgBuffer, buffer, count); | ||
462 | else | ||
463 | memcpy (buffer, padapter->currentSgBuffer, count); | ||
464 | |||
465 | padapter->currentSgCount -= count; | ||
466 | if ( !padapter->currentSgCount ) | ||
467 | { | ||
468 | if ( padapter->nextSg < padapter->SCpnt->use_sg ) | ||
469 | { | ||
470 | padapter->currentSgBuffer = ((struct scatterlist *)padapter->SCpnt->request_buffer)[padapter->nextSg].address; | ||
471 | padapter->currentSgCount = ((struct scatterlist *)padapter->SCpnt->request_buffer)[padapter->nextSg].length; | ||
472 | padapter->nextSg++; | ||
473 | } | ||
474 | } | ||
475 | else | ||
476 | padapter->currentSgBuffer += count; | ||
477 | |||
478 | length -= count; | ||
479 | buffer += count; | ||
480 | } | ||
481 | } | ||
482 | /**************************************************************** | ||
483 | * Name: BusMaster :LOCAL | ||
484 | * | ||
485 | * Description: Do a bus master I/O. | ||
486 | * | ||
487 | * Parameters: padapter - Pointer adapter data structure. | ||
488 | * datain - TRUE if data read. | ||
489 | * irq - TRUE if bus master interrupt expected. | ||
490 | * | ||
491 | * Returns: Nothing. | ||
492 | * | ||
493 | ****************************************************************/ | ||
494 | static void BusMaster (PADAPTER2220I padapter, UCHAR datain, UCHAR irq) | ||
495 | { | ||
496 | ULONG zl; | ||
497 | |||
498 | zl = ( padapter->sectorCount > MAX_BUS_MASTER_BLOCKS ) ? MAX_BUS_MASTER_BLOCKS : padapter->sectorCount; | ||
499 | padapter->sectorCount -= zl; | ||
500 | zl *= (ULONG)BYTES_PER_SECTOR; | ||
501 | |||
502 | if ( datain ) | ||
503 | { | ||
504 | padapter->readCount = zl; | ||
505 | outb_p (8, padapter->regDmaDesc); // read operation | ||
506 | if ( padapter->bigD ) | ||
507 | { | ||
508 | if ( irq && !padapter->sectorCount ) | ||
509 | outb_p (0x0C, padapter->regDmaMode); // interrupt on | ||
510 | else | ||
511 | outb_p (0x08, padapter->regDmaMode); // no interrupt | ||
512 | } | ||
513 | else | ||
514 | { | ||
515 | if ( irq && !padapter->sectorCount ) | ||
516 | outb_p (0x05, padapter->regDmaMode); // interrupt on | ||
517 | else | ||
518 | outb_p (0x01, padapter->regDmaMode); // no interrupt | ||
519 | } | ||
520 | } | ||
521 | else | ||
522 | { | ||
523 | outb_p (0x00, padapter->regDmaDesc); // write operation | ||
524 | if ( padapter->bigD ) | ||
525 | outb_p (0x08, padapter->regDmaMode); // no interrupt | ||
526 | else | ||
527 | outb_p (0x01, padapter->regDmaMode); // no interrupt | ||
528 | WalkScatGath (padapter, FALSE, zl); | ||
529 | } | ||
530 | |||
531 | outl (padapter->timingAddress, padapter->regDmaAddrLoc); | ||
532 | outl (padapter->kBufferDma, padapter->regDmaAddrPci); | ||
533 | outl (zl, padapter->regDmaCount); | ||
534 | outb_p (0x03, padapter->regDmaCmdStat); // kick the DMA engine in gear | ||
535 | } | ||
536 | /**************************************************************** | ||
537 | * Name: AtapiBusMaster :LOCAL | ||
538 | * | ||
539 | * Description: Do a bus master I/O. | ||
540 | * | ||
541 | * Parameters: padapter - Pointer adapter data structure. | ||
542 | * datain - TRUE if data read. | ||
543 | * length - Number of bytes to transfer. | ||
544 | * | ||
545 | * Returns: Nothing. | ||
546 | * | ||
547 | ****************************************************************/ | ||
548 | static void AtapiBusMaster (PADAPTER2220I padapter, UCHAR datain, ULONG length) | ||
549 | { | ||
550 | outl (padapter->timingAddress, padapter->regDmaAddrLoc); | ||
551 | outl (padapter->kBufferDma, padapter->regDmaAddrPci); | ||
552 | outl (length, padapter->regDmaCount); | ||
553 | if ( datain ) | ||
554 | { | ||
555 | if ( padapter->readCount ) | ||
556 | WalkScatGath (padapter, TRUE, padapter->readCount); | ||
557 | outb_p (0x08, padapter->regDmaDesc); // read operation | ||
558 | outb_p (0x08, padapter->regDmaMode); // no interrupt | ||
559 | padapter->readCount = length; | ||
560 | } | ||
561 | else | ||
562 | { | ||
563 | outb_p (0x00, padapter->regDmaDesc); // write operation | ||
564 | outb_p (0x08, padapter->regDmaMode); // no interrupt | ||
565 | if ( !padapter->atapiSpecial ) | ||
566 | WalkScatGath (padapter, FALSE, length); | ||
567 | } | ||
568 | outb_p (0x03, padapter->regDmaCmdStat); // kick the DMA engine in gear | ||
569 | } | ||
570 | /**************************************************************** | ||
571 | * Name: WriteData :LOCAL | ||
572 | * | ||
573 | * Description: Write data to device. | ||
574 | * | ||
575 | * Parameters: padapter - Pointer adapter data structure. | ||
576 | * | ||
577 | * Returns: TRUE if drive does not assert DRQ in time. | ||
578 | * | ||
579 | ****************************************************************/ | ||
580 | static int WriteData (PADAPTER2220I padapter) | ||
581 | { | ||
582 | ULONG zl; | ||
583 | |||
584 | if ( !WaitDrq (padapter) ) | ||
585 | { | ||
586 | if ( padapter->timingPIO ) | ||
587 | { | ||
588 | zl = (padapter->sectorCount > MAX_BUS_MASTER_BLOCKS) ? MAX_BUS_MASTER_BLOCKS : padapter->sectorCount; | ||
589 | WalkScatGath (padapter, FALSE, zl * BYTES_PER_SECTOR); | ||
590 | outsw (padapter->regData, padapter->kBuffer, zl * (BYTES_PER_SECTOR / 2)); | ||
591 | padapter->sectorCount -= zl; | ||
592 | } | ||
593 | else | ||
594 | BusMaster (padapter, 0, 0); | ||
595 | return 0; | ||
596 | } | ||
597 | padapter->cmd = 0; // null out the command byte | ||
598 | return 1; | ||
599 | } | ||
600 | /**************************************************************** | ||
601 | * Name: WriteDataBoth :LOCAL | ||
602 | * | ||
603 | * Description: Write data to device. | ||
604 | * | ||
605 | * Parameters: padapter - Pointer to adapter structure. | ||
606 | * pdev - Pointer to device structure | ||
607 | * | ||
608 | * Returns: Index + 1 of drive not failed or zero for OK. | ||
609 | * | ||
610 | ****************************************************************/ | ||
611 | static int WriteDataBoth (PADAPTER2220I padapter, POUR_DEVICE pdev) | ||
612 | { | ||
613 | ULONG zl; | ||
614 | UCHAR status0, status1; | ||
615 | |||
616 | SelectSpigot (padapter, pdev->spigots[0]); | ||
617 | status0 = WaitDrq (padapter); | ||
618 | if ( !status0 ) | ||
619 | { | ||
620 | SelectSpigot (padapter, pdev->spigots[1]); | ||
621 | status1 = WaitDrq (padapter); | ||
622 | if ( !status1 ) | ||
623 | { | ||
624 | SelectSpigot (padapter, pdev->spigots[0] | pdev->spigots[1] | padapter->bigD); | ||
625 | if ( padapter->timingPIO ) | ||
626 | { | ||
627 | zl = (padapter->sectorCount > MAX_BUS_MASTER_BLOCKS) ? MAX_BUS_MASTER_BLOCKS : padapter->sectorCount; | ||
628 | WalkScatGath (padapter, FALSE, zl * BYTES_PER_SECTOR); | ||
629 | outsw (padapter->regData, padapter->kBuffer, zl * (BYTES_PER_SECTOR / 2)); | ||
630 | padapter->sectorCount -= zl; | ||
631 | } | ||
632 | else | ||
633 | BusMaster (padapter, 0, 0); | ||
634 | return 0; | ||
635 | } | ||
636 | } | ||
637 | padapter->cmd = 0; // null out the command byte | ||
638 | if ( status0 ) | ||
639 | return 2; | ||
640 | return 1; | ||
641 | } | ||
642 | /**************************************************************** | ||
643 | * Name: IdeCmd :LOCAL | ||
644 | * | ||
645 | * Description: Process an IDE command. | ||
646 | * | ||
647 | * Parameters: padapter - Pointer adapter data structure. | ||
648 | * pdev - Pointer to device. | ||
649 | * | ||
650 | * Returns: Zero if no error or status register contents on error. | ||
651 | * | ||
652 | ****************************************************************/ | ||
653 | static UCHAR IdeCmd (PADAPTER2220I padapter, POUR_DEVICE pdev) | ||
654 | { | ||
655 | UCHAR status; | ||
656 | |||
657 | SelectSpigot (padapter, pdev->spigot | padapter->bigD); // select the spigot | ||
658 | outb_p (pdev->byte6 | ((UCHAR *)(&padapter->startSector))[3], padapter->regLba24); // select the drive | ||
659 | status = WaitReady (padapter); | ||
660 | if ( !status ) | ||
661 | { | ||
662 | outb_p (padapter->sectorCount, padapter->regSectCount); | ||
663 | outb_p (((UCHAR *)(&padapter->startSector))[0], padapter->regLba0); | ||
664 | outb_p (((UCHAR *)(&padapter->startSector))[1], padapter->regLba8); | ||
665 | outb_p (((UCHAR *)(&padapter->startSector))[2], padapter->regLba16); | ||
666 | padapter->expectingIRQ = TRUE; | ||
667 | WriteCommand (padapter, padapter->cmd); | ||
668 | return 0; | ||
669 | } | ||
670 | |||
671 | padapter->cmd = 0; // null out the command byte | ||
672 | return status; | ||
673 | } | ||
674 | /**************************************************************** | ||
675 | * Name: IdeCmdBoth :LOCAL | ||
676 | * | ||
677 | * Description: Process an IDE command to both drivers. | ||
678 | * | ||
679 | * Parameters: padapter - Pointer adapter data structure. | ||
680 | * pdev - Pointer to device structure | ||
681 | * | ||
682 | * Returns: Index + 1 of drive not failed or zero for OK. | ||
683 | * | ||
684 | ****************************************************************/ | ||
685 | static UCHAR IdeCmdBoth (PADAPTER2220I padapter, POUR_DEVICE pdev) | ||
686 | { | ||
687 | UCHAR status0; | ||
688 | UCHAR status1; | ||
689 | |||
690 | SelectSpigot (padapter, pdev->spigots[0] | pdev->spigots[1]); // select the spigots | ||
691 | outb_p (padapter->pdev->byte6 | ((UCHAR *)(&padapter->startSector))[3], padapter->regLba24);// select the drive | ||
692 | SelectSpigot (padapter, pdev->spigots[0]); | ||
693 | status0 = WaitReady (padapter); | ||
694 | if ( !status0 ) | ||
695 | { | ||
696 | SelectSpigot (padapter, pdev->spigots[1]); | ||
697 | status1 = WaitReady (padapter); | ||
698 | if ( !status1 ) | ||
699 | { | ||
700 | SelectSpigot (padapter, pdev->spigots[0] | pdev->spigots[1] | padapter->bigD); | ||
701 | outb_p (padapter->sectorCount, padapter->regSectCount); | ||
702 | outb_p (((UCHAR *)(&padapter->startSector))[0], padapter->regLba0); | ||
703 | outb_p (((UCHAR *)(&padapter->startSector))[1], padapter->regLba8); | ||
704 | outb_p (((UCHAR *)(&padapter->startSector))[2], padapter->regLba16); | ||
705 | padapter->expectingIRQ = TRUE; | ||
706 | WriteCommand (padapter, padapter->cmd); | ||
707 | return 0; | ||
708 | } | ||
709 | } | ||
710 | padapter->cmd = 0; // null out the command byte | ||
711 | if ( status0 ) | ||
712 | return 2; | ||
713 | return 1; | ||
714 | } | ||
715 | /**************************************************************** | ||
716 | * Name: OpDone :LOCAL | ||
717 | * | ||
718 | * Description: Complete an operatoin done sequence. | ||
719 | * | ||
720 | * Parameters: padapter - Pointer to host data block. | ||
721 | * spigot - Spigot select code. | ||
722 | * device - Device byte code. | ||
723 | * | ||
724 | * Returns: Nothing. | ||
725 | * | ||
726 | ****************************************************************/ | ||
727 | static void OpDone (PADAPTER2220I padapter, ULONG result) | ||
728 | { | ||
729 | Scsi_Cmnd *SCpnt = padapter->SCpnt; | ||
730 | |||
731 | if ( padapter->reconPhase ) | ||
732 | { | ||
733 | padapter->reconPhase = 0; | ||
734 | if ( padapter->SCpnt ) | ||
735 | { | ||
736 | Pci2220i_QueueCommand (SCpnt, SCpnt->scsi_done); | ||
737 | } | ||
738 | else | ||
739 | { | ||
740 | if ( padapter->reconOn ) | ||
741 | { | ||
742 | ReconTimerExpiry ((unsigned long)padapter); | ||
743 | } | ||
744 | } | ||
745 | } | ||
746 | else | ||
747 | { | ||
748 | padapter->cmd = 0; | ||
749 | padapter->SCpnt = NULL; | ||
750 | padapter->pdev = NULL; | ||
751 | SCpnt->result = result; | ||
752 | SCpnt->scsi_done (SCpnt); | ||
753 | if ( padapter->reconOn && !padapter->reconTimer.data ) | ||
754 | { | ||
755 | padapter->reconTimer.expires = jiffies + (HZ / 4); // start in 1/4 second | ||
756 | padapter->reconTimer.data = (unsigned long)padapter; | ||
757 | add_timer (&padapter->reconTimer); | ||
758 | } | ||
759 | } | ||
760 | } | ||
761 | /**************************************************************** | ||
762 | * Name: InlineIdentify :LOCAL | ||
763 | * | ||
764 | * Description: Do an intline inquiry on a drive. | ||
765 | * | ||
766 | * Parameters: padapter - Pointer to host data block. | ||
767 | * spigot - Spigot select code. | ||
768 | * device - Device byte code. | ||
769 | * | ||
770 | * Returns: Last addressable sector or zero if none. | ||
771 | * | ||
772 | ****************************************************************/ | ||
773 | static ULONG InlineIdentify (PADAPTER2220I padapter, UCHAR spigot, UCHAR device) | ||
774 | { | ||
775 | PIDENTIFY_DATA pid = (PIDENTIFY_DATA)padapter->kBuffer; | ||
776 | |||
777 | SelectSpigot (padapter, spigot | SEL_IRQ_OFF); // select the spigot | ||
778 | outb_p ((device << 4) | 0xA0, padapter->regLba24); // select the drive | ||
779 | if ( WaitReady (padapter) ) | ||
780 | return 0; | ||
781 | WriteCommand (padapter, IDE_COMMAND_IDENTIFY); | ||
782 | if ( WaitDrq (padapter) ) | ||
783 | return 0; | ||
784 | insw (padapter->regData, padapter->kBuffer, sizeof (IDENTIFY_DATA) >> 1); | ||
785 | return (pid->LBATotalSectors - 1); | ||
786 | } | ||
787 | /**************************************************************** | ||
788 | * Name: AtapiIdentify :LOCAL | ||
789 | * | ||
790 | * Description: Do an intline inquiry on a drive. | ||
791 | * | ||
792 | * Parameters: padapter - Pointer to host data block. | ||
793 | * pdev - Pointer to device table. | ||
794 | * | ||
795 | * Returns: TRUE on error. | ||
796 | * | ||
797 | ****************************************************************/ | ||
798 | static ULONG AtapiIdentify (PADAPTER2220I padapter, POUR_DEVICE pdev) | ||
799 | { | ||
800 | ATAPI_GENERAL_0 ag0; | ||
801 | USHORT zs; | ||
802 | int z; | ||
803 | |||
804 | AtapiDevice (padapter, pdev->byte6); | ||
805 | WriteCommand (padapter, IDE_COMMAND_ATAPI_IDENTIFY); | ||
806 | if ( AtapiWaitDrq (padapter, 3000) ) | ||
807 | return TRUE; | ||
808 | |||
809 | *(USHORT *)&ag0 = inw_p (padapter->regData); | ||
810 | for ( z = 0; z < 255; z++ ) | ||
811 | zs = inw_p (padapter->regData); | ||
812 | |||
813 | if ( ag0.ProtocolType == 2 ) | ||
814 | { | ||
815 | if ( ag0.CmdDrqType == 1 ) | ||
816 | pdev->cmdDrqInt = TRUE; | ||
817 | switch ( ag0.CmdPacketSize ) | ||
818 | { | ||
819 | case 0: | ||
820 | pdev->packet = 6; | ||
821 | break; | ||
822 | case 1: | ||
823 | pdev->packet = 8; | ||
824 | break; | ||
825 | default: | ||
826 | pdev->packet = 6; | ||
827 | break; | ||
828 | } | ||
829 | return FALSE; | ||
830 | } | ||
831 | return TRUE; | ||
832 | } | ||
833 | /**************************************************************** | ||
834 | * Name: Atapi2Scsi | ||
835 | * | ||
836 | * Description: Convert ATAPI data to SCSI data. | ||
837 | * | ||
838 | * Parameters: padapter - Pointer adapter data structure. | ||
839 | * SCpnt - Pointer to SCSI command structure. | ||
840 | * | ||
841 | * Returns: Nothing. | ||
842 | * | ||
843 | ****************************************************************/ | ||
844 | void Atapi2Scsi (PADAPTER2220I padapter, Scsi_Cmnd *SCpnt) | ||
845 | { | ||
846 | UCHAR *buff = padapter->currentSgBuffer; | ||
847 | |||
848 | switch ( SCpnt->cmnd[0] ) | ||
849 | { | ||
850 | case SCSIOP_MODE_SENSE: | ||
851 | buff[0] = padapter->kBuffer[1]; | ||
852 | buff[1] = padapter->kBuffer[2]; | ||
853 | buff[2] = padapter->kBuffer[3]; | ||
854 | buff[3] = padapter->kBuffer[7]; | ||
855 | memcpy (&buff[4], &padapter->kBuffer[8], padapter->atapiCdb[8] - 8); | ||
856 | break; | ||
857 | case SCSIOP_INQUIRY: | ||
858 | padapter->kBuffer[2] = 2; | ||
859 | memcpy (buff, padapter->kBuffer, padapter->currentSgCount); | ||
860 | break; | ||
861 | default: | ||
862 | if ( padapter->readCount ) | ||
863 | WalkScatGath (padapter, TRUE, padapter->readCount); | ||
864 | break; | ||
865 | } | ||
866 | } | ||
867 | /**************************************************************** | ||
868 | * Name: Scsi2Atapi | ||
869 | * | ||
870 | * Description: Convert SCSI packet command to Atapi packet command. | ||
871 | * | ||
872 | * Parameters: padapter - Pointer adapter data structure. | ||
873 | * SCpnt - Pointer to SCSI command structure. | ||
874 | * | ||
875 | * Returns: Nothing. | ||
876 | * | ||
877 | ****************************************************************/ | ||
878 | static void Scsi2Atapi (PADAPTER2220I padapter, Scsi_Cmnd *SCpnt) | ||
879 | { | ||
880 | UCHAR *cdb = SCpnt->cmnd; | ||
881 | UCHAR *buff = padapter->currentSgBuffer; | ||
882 | |||
883 | switch (cdb[0]) | ||
884 | { | ||
885 | case SCSIOP_READ6: | ||
886 | padapter->atapiCdb[0] = SCSIOP_READ; | ||
887 | padapter->atapiCdb[1] = cdb[1] & 0xE0; | ||
888 | padapter->atapiCdb[3] = cdb[1] & 0x1F; | ||
889 | padapter->atapiCdb[4] = cdb[2]; | ||
890 | padapter->atapiCdb[5] = cdb[3]; | ||
891 | padapter->atapiCdb[8] = cdb[4]; | ||
892 | padapter->atapiCdb[9] = cdb[5]; | ||
893 | break; | ||
894 | case SCSIOP_WRITE6: | ||
895 | padapter->atapiCdb[0] = SCSIOP_WRITE; | ||
896 | padapter->atapiCdb[1] = cdb[1] & 0xE0; | ||
897 | padapter->atapiCdb[3] = cdb[1] & 0x1F; | ||
898 | padapter->atapiCdb[4] = cdb[2]; | ||
899 | padapter->atapiCdb[5] = cdb[3]; | ||
900 | padapter->atapiCdb[8] = cdb[4]; | ||
901 | padapter->atapiCdb[9] = cdb[5]; | ||
902 | break; | ||
903 | case SCSIOP_MODE_SENSE: | ||
904 | padapter->atapiCdb[0] = SCSIOP_MODE_SENSE10; | ||
905 | padapter->atapiCdb[2] = cdb[2]; | ||
906 | padapter->atapiCdb[8] = cdb[4] + 4; | ||
907 | break; | ||
908 | |||
909 | case SCSIOP_MODE_SELECT: | ||
910 | padapter->atapiSpecial = TRUE; | ||
911 | padapter->atapiCdb[0] = SCSIOP_MODE_SELECT10; | ||
912 | padapter->atapiCdb[1] = cdb[1] | 0x10; | ||
913 | memcpy (padapter->kBuffer, buff, 4); | ||
914 | padapter->kBuffer[4] = padapter->kBuffer[5] = 0; | ||
915 | padapter->kBuffer[6] = padapter->kBuffer[7] = 0; | ||
916 | memcpy (&padapter->kBuffer[8], &buff[4], cdb[4] - 4); | ||
917 | padapter->atapiCdb[8] = cdb[4] + 4; | ||
918 | break; | ||
919 | } | ||
920 | } | ||
921 | /**************************************************************** | ||
922 | * Name: AtapiSendCdb | ||
923 | * | ||
924 | * Description: Send the CDB packet to the device. | ||
925 | * | ||
926 | * Parameters: padapter - Pointer adapter data structure. | ||
927 | * pdev - Pointer to device. | ||
928 | * cdb - Pointer to 16 byte SCSI cdb. | ||
929 | * | ||
930 | * Returns: Nothing. | ||
931 | * | ||
932 | ****************************************************************/ | ||
933 | static void AtapiSendCdb (PADAPTER2220I padapter, POUR_DEVICE pdev, CHAR *cdb) | ||
934 | { | ||
935 | DEB (printk ("\nPCI2242I: CDB: %X %X %X %X %X %X %X %X %X %X %X %X", cdb[0], cdb[1], cdb[2], cdb[3], cdb[4], cdb[5], cdb[6], cdb[7], cdb[8], cdb[9], cdb[10], cdb[11])); | ||
936 | outsw (padapter->regData, cdb, pdev->packet); | ||
937 | } | ||
938 | /**************************************************************** | ||
939 | * Name: AtapiRequestSense | ||
940 | * | ||
941 | * Description: Send the CDB packet to the device. | ||
942 | * | ||
943 | * Parameters: padapter - Pointer adapter data structure. | ||
944 | * pdev - Pointer to device. | ||
945 | * SCpnt - Pointer to SCSI command structure. | ||
946 | * pass - If true then this is the second pass to send cdb. | ||
947 | * | ||
948 | * Returns: TRUE on error. | ||
949 | * | ||
950 | ****************************************************************/ | ||
951 | static int AtapiRequestSense (PADAPTER2220I padapter, POUR_DEVICE pdev, Scsi_Cmnd *SCpnt, UCHAR pass) | ||
952 | { | ||
953 | UCHAR cdb[16] = {SCSIOP_REQUEST_SENSE,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0}; | ||
954 | |||
955 | DEB (printk ("\nPCI2242I: AUTO REQUEST SENSE")); | ||
956 | cdb[4] = (UCHAR)(sizeof (SCpnt->sense_buffer)); | ||
957 | if ( !pass ) | ||
958 | { | ||
959 | padapter->reqSense = TRUE; | ||
960 | AtapiCountLo (padapter, cdb[4]); | ||
961 | AtapiCountHi (padapter, 0); | ||
962 | outb_p (0, padapter->regError); | ||
963 | WriteCommand (padapter, IDE_COMMAND_ATAPI_PACKET); | ||
964 | if ( pdev->cmdDrqInt ) | ||
965 | return FALSE; | ||
966 | |||
967 | if ( AtapiWaitDrq (padapter, 500) ) | ||
968 | return TRUE; | ||
969 | } | ||
970 | AtapiSendCdb (padapter, pdev, cdb); | ||
971 | return FALSE; | ||
972 | } | ||
973 | /**************************************************************** | ||
974 | * Name: InlineReadSignature :LOCAL | ||
975 | * | ||
976 | * Description: Do an inline read RAID sigature. | ||
977 | * | ||
978 | * Parameters: padapter - Pointer adapter data structure. | ||
979 | * pdev - Pointer to device. | ||
980 | * index - index of data to read. | ||
981 | * | ||
982 | * Returns: Zero if no error or status register contents on error. | ||
983 | * | ||
984 | ****************************************************************/ | ||
985 | static UCHAR InlineReadSignature (PADAPTER2220I padapter, POUR_DEVICE pdev, int index) | ||
986 | { | ||
987 | UCHAR status; | ||
988 | ULONG zl = pdev->lastsectorlba[index]; | ||
989 | |||
990 | SelectSpigot (padapter, pdev->spigots[index] | SEL_IRQ_OFF); // select the spigot without interrupts | ||
991 | outb_p (pdev->byte6 | ((UCHAR *)&zl)[3], padapter->regLba24); | ||
992 | status = WaitReady (padapter); | ||
993 | if ( !status ) | ||
994 | { | ||
995 | outb_p (((UCHAR *)&zl)[2], padapter->regLba16); | ||
996 | outb_p (((UCHAR *)&zl)[1], padapter->regLba8); | ||
997 | outb_p (((UCHAR *)&zl)[0], padapter->regLba0); | ||
998 | outb_p (1, padapter->regSectCount); | ||
999 | WriteCommand (padapter, IDE_COMMAND_READ); | ||
1000 | status = WaitDrq (padapter); | ||
1001 | if ( !status ) | ||
1002 | { | ||
1003 | insw (padapter->regData, padapter->kBuffer, BYTES_PER_SECTOR / 2); | ||
1004 | ((ULONG *)(&pdev->DiskMirror[index]))[0] = ((ULONG *)(&padapter->kBuffer[DISK_MIRROR_POSITION]))[0]; | ||
1005 | ((ULONG *)(&pdev->DiskMirror[index]))[1] = ((ULONG *)(&padapter->kBuffer[DISK_MIRROR_POSITION]))[1]; | ||
1006 | // some drives assert DRQ before IRQ so let's make sure we clear the IRQ | ||
1007 | WaitReady (padapter); | ||
1008 | return 0; | ||
1009 | } | ||
1010 | } | ||
1011 | return status; | ||
1012 | } | ||
1013 | /**************************************************************** | ||
1014 | * Name: DecodeError :LOCAL | ||
1015 | * | ||
1016 | * Description: Decode and process device errors. | ||
1017 | * | ||
1018 | * Parameters: padapter - Pointer to adapter data. | ||
1019 | * status - Status register code. | ||
1020 | * | ||
1021 | * Returns: The driver status code. | ||
1022 | * | ||
1023 | ****************************************************************/ | ||
1024 | static ULONG DecodeError (PADAPTER2220I padapter, UCHAR status) | ||
1025 | { | ||
1026 | UCHAR error; | ||
1027 | |||
1028 | padapter->expectingIRQ = 0; | ||
1029 | if ( status & IDE_STATUS_WRITE_FAULT ) | ||
1030 | { | ||
1031 | return DID_PARITY << 16; | ||
1032 | } | ||
1033 | if ( status & IDE_STATUS_BUSY ) | ||
1034 | return DID_BUS_BUSY << 16; | ||
1035 | |||
1036 | error = inb_p (padapter->regError); | ||
1037 | DEB(printk ("\npci2220i error register: %x", error)); | ||
1038 | switch ( error ) | ||
1039 | { | ||
1040 | case IDE_ERROR_AMNF: | ||
1041 | case IDE_ERROR_TKONF: | ||
1042 | case IDE_ERROR_ABRT: | ||
1043 | case IDE_ERROR_IDFN: | ||
1044 | case IDE_ERROR_UNC: | ||
1045 | case IDE_ERROR_BBK: | ||
1046 | default: | ||
1047 | return DID_ERROR << 16; | ||
1048 | } | ||
1049 | return DID_ERROR << 16; | ||
1050 | } | ||
1051 | /**************************************************************** | ||
1052 | * Name: StartTimer :LOCAL | ||
1053 | * | ||
1054 | * Description: Start the timer. | ||
1055 | * | ||
1056 | * Parameters: ipadapter - Pointer adapter data structure. | ||
1057 | * | ||
1058 | * Returns: Nothing. | ||
1059 | * | ||
1060 | ****************************************************************/ | ||
1061 | static void StartTimer (PADAPTER2220I padapter) | ||
1062 | { | ||
1063 | padapter->timer.expires = jiffies + TIMEOUT_DATA; | ||
1064 | add_timer (&padapter->timer); | ||
1065 | } | ||
1066 | /**************************************************************** | ||
1067 | * Name: WriteSignature :LOCAL | ||
1068 | * | ||
1069 | * Description: Start the timer. | ||
1070 | * | ||
1071 | * Parameters: padapter - Pointer adapter data structure. | ||
1072 | * pdev - Pointer to our device. | ||
1073 | * spigot - Selected spigot. | ||
1074 | * index - index of mirror signature on device. | ||
1075 | * | ||
1076 | * Returns: TRUE on any error. | ||
1077 | * | ||
1078 | ****************************************************************/ | ||
1079 | static int WriteSignature (PADAPTER2220I padapter, POUR_DEVICE pdev, UCHAR spigot, int index) | ||
1080 | { | ||
1081 | ULONG zl; | ||
1082 | |||
1083 | SelectSpigot (padapter, spigot); | ||
1084 | zl = pdev->lastsectorlba[index]; | ||
1085 | outb_p (pdev->byte6 | ((UCHAR *)&zl)[3], padapter->regLba24); | ||
1086 | outb_p (((UCHAR *)&zl)[2], padapter->regLba16); | ||
1087 | outb_p (((UCHAR *)&zl)[1], padapter->regLba8); | ||
1088 | outb_p (((UCHAR *)&zl)[0], padapter->regLba0); | ||
1089 | outb_p (1, padapter->regSectCount); | ||
1090 | |||
1091 | WriteCommand (padapter, IDE_COMMAND_WRITE); | ||
1092 | if ( WaitDrq (padapter) ) | ||
1093 | return TRUE; | ||
1094 | StartTimer (padapter); | ||
1095 | padapter->expectingIRQ = TRUE; | ||
1096 | |||
1097 | ((ULONG *)(&padapter->kBuffer[DISK_MIRROR_POSITION]))[0] = ((ULONG *)(&pdev->DiskMirror[index]))[0]; | ||
1098 | ((ULONG *)(&padapter->kBuffer[DISK_MIRROR_POSITION]))[1] = ((ULONG *)(&pdev->DiskMirror[index]))[1]; | ||
1099 | outsw (padapter->regData, padapter->kBuffer, BYTES_PER_SECTOR / 2); | ||
1100 | return FALSE; | ||
1101 | } | ||
1102 | /******************************************************************************************************* | ||
1103 | * Name: InitFailover | ||
1104 | * | ||
1105 | * Description: This is the beginning of the failover routine | ||
1106 | * | ||
1107 | * Parameters: SCpnt - Pointer to SCSI command structure. | ||
1108 | * padapter - Pointer adapter data structure. | ||
1109 | * pdev - Pointer to our device. | ||
1110 | * | ||
1111 | * Returns: TRUE on error. | ||
1112 | * | ||
1113 | ******************************************************************************************************/ | ||
1114 | static int InitFailover (PADAPTER2220I padapter, POUR_DEVICE pdev) | ||
1115 | { | ||
1116 | UCHAR spigot; | ||
1117 | |||
1118 | DEB (printk ("\npci2220i: Initialize failover process - survivor = %d", pdev->deviceID[padapter->survivor])); | ||
1119 | pdev->raid = FALSE; //initializes system for non raid mode | ||
1120 | pdev->reconOn = FALSE; | ||
1121 | spigot = pdev->spigots[padapter->survivor]; | ||
1122 | |||
1123 | if ( pdev->DiskMirror[padapter->survivor].status & UCBF_REBUILD ) | ||
1124 | { | ||
1125 | DEB (printk ("\n failed, is survivor")); | ||
1126 | return (TRUE); | ||
1127 | } | ||
1128 | |||
1129 | if ( HardReset (padapter, pdev, spigot) ) | ||
1130 | { | ||
1131 | DEB (printk ("\n failed, reset")); | ||
1132 | return TRUE; | ||
1133 | } | ||
1134 | |||
1135 | Alarm (padapter, pdev->deviceID[padapter->survivor ^ 1]); | ||
1136 | pdev->DiskMirror[padapter->survivor].status = UCBF_MIRRORED | UCBF_SURVIVOR; //clear present status | ||
1137 | |||
1138 | if ( WriteSignature (padapter, pdev, spigot, padapter->survivor) ) | ||
1139 | { | ||
1140 | DEB (printk ("\n failed, write signature")); | ||
1141 | return TRUE; | ||
1142 | } | ||
1143 | padapter->failinprog = TRUE; | ||
1144 | return FALSE; | ||
1145 | } | ||
1146 | /**************************************************************** | ||
1147 | * Name: TimerExpiry :LOCAL | ||
1148 | * | ||
1149 | * Description: Timer expiry routine. | ||
1150 | * | ||
1151 | * Parameters: data - Pointer adapter data structure. | ||
1152 | * | ||
1153 | * Returns: Nothing. | ||
1154 | * | ||
1155 | ****************************************************************/ | ||
1156 | static void TimerExpiry (unsigned long data) | ||
1157 | { | ||
1158 | PADAPTER2220I padapter = (PADAPTER2220I)data; | ||
1159 | struct Scsi_Host *host = padapter->SCpnt->device->host; | ||
1160 | POUR_DEVICE pdev = padapter->pdev; | ||
1161 | UCHAR status = IDE_STATUS_BUSY; | ||
1162 | UCHAR temp, temp1; | ||
1163 | unsigned long flags; | ||
1164 | |||
1165 | /* | ||
1166 | * Disable interrupts, if they aren't already disabled and acquire | ||
1167 | * the I/O spinlock. | ||
1168 | */ | ||
1169 | spin_lock_irqsave (host->host_lock, flags); | ||
1170 | DEB (printk ("\nPCI2220I: Timeout expired ")); | ||
1171 | |||
1172 | if ( padapter->failinprog ) | ||
1173 | { | ||
1174 | DEB (printk ("in failover process")); | ||
1175 | OpDone (padapter, DecodeError (padapter, inb_p (padapter->regStatCmd))); | ||
1176 | goto timerExpiryDone; | ||
1177 | } | ||
1178 | |||
1179 | while ( padapter->reconPhase ) | ||
1180 | { | ||
1181 | DEB (printk ("in recon phase %X", padapter->reconPhase)); | ||
1182 | switch ( padapter->reconPhase ) | ||
1183 | { | ||
1184 | case RECON_PHASE_MARKING: | ||
1185 | case RECON_PHASE_LAST: | ||
1186 | padapter->survivor = ( pdev->spigot == pdev->spigots[0] ) ? 1 : 0; | ||
1187 | DEB (printk ("\npci2220i: FAILURE 1")); | ||
1188 | if ( InitFailover (padapter, pdev) ) | ||
1189 | OpDone (padapter, DID_ERROR << 16); | ||
1190 | goto timerExpiryDone; | ||
1191 | |||
1192 | case RECON_PHASE_READY: | ||
1193 | OpDone (padapter, DID_ERROR << 16); | ||
1194 | goto timerExpiryDone; | ||
1195 | |||
1196 | case RECON_PHASE_COPY: | ||
1197 | padapter->survivor = ( pdev->spigot == pdev->spigots[0] ) ? 0 : 1; | ||
1198 | DEB (printk ("\npci2220i: FAILURE 2")); | ||
1199 | DEB (printk ("\n spig/stat = %X", inb_p (padapter->regStatSel)); | ||
1200 | if ( InitFailover (padapter, pdev) ) | ||
1201 | OpDone (padapter, DID_ERROR << 16); | ||
1202 | goto timerExpiryDone; | ||
1203 | |||
1204 | case RECON_PHASE_UPDATE: | ||
1205 | padapter->survivor = ( pdev->spigot == pdev->spigots[0] ) ? 0 : 1; | ||
1206 | DEB (printk ("\npci2220i: FAILURE 3"))); | ||
1207 | if ( InitFailover (padapter, pdev) ) | ||
1208 | OpDone (padapter, DID_ERROR << 16); | ||
1209 | goto timerExpiryDone; | ||
1210 | |||
1211 | case RECON_PHASE_END: | ||
1212 | padapter->survivor = ( pdev->spigot == pdev->spigots[0] ) ? 0 : 1; | ||
1213 | DEB (printk ("\npci2220i: FAILURE 4")); | ||
1214 | if ( InitFailover (padapter, pdev) ) | ||
1215 | OpDone (padapter, DID_ERROR << 16); | ||
1216 | goto timerExpiryDone; | ||
1217 | |||
1218 | default: | ||
1219 | goto timerExpiryDone; | ||
1220 | } | ||
1221 | } | ||
1222 | |||
1223 | while ( padapter->cmd ) | ||
1224 | { | ||
1225 | outb_p (0x08, padapter->regDmaCmdStat); // cancel interrupt from DMA engine | ||
1226 | if ( pdev->raid ) | ||
1227 | { | ||
1228 | if ( padapter->cmd == WRITE_CMD ) | ||
1229 | { | ||
1230 | DEB (printk ("in RAID write operation")); | ||
1231 | temp = ( pdev->spigot & (SEL_1 | SEL_2) ) ? SEL_1 : SEL_3; | ||
1232 | if ( inb_p (padapter->regStatSel) & temp ) | ||
1233 | { | ||
1234 | DEB (printk ("\npci2220i: Determined A OK")); | ||
1235 | SelectSpigot (padapter, temp | SEL_IRQ_OFF); // Masking the interrupt during spigot select | ||
1236 | temp = inb_p (padapter->regStatCmd); | ||
1237 | } | ||
1238 | else | ||
1239 | temp = IDE_STATUS_BUSY; | ||
1240 | |||
1241 | temp1 = ( pdev->spigot & (SEL_1 | SEL_2) ) ? SEL_2 : SEL_4; | ||
1242 | if ( inb (padapter->regStatSel) & temp1 ) | ||
1243 | { | ||
1244 | DEB (printk ("\npci2220i: Determined B OK")); | ||
1245 | SelectSpigot (padapter, temp1 | SEL_IRQ_OFF); // Masking the interrupt during spigot select | ||
1246 | temp1 = inb_p (padapter->regStatCmd); | ||
1247 | } | ||
1248 | else | ||
1249 | temp1 = IDE_STATUS_BUSY; | ||
1250 | |||
1251 | if ( (temp & IDE_STATUS_BUSY) || (temp1 & IDE_STATUS_BUSY) ) | ||
1252 | { | ||
1253 | DEB (printk ("\npci2220i: Status A: %X B: %X", temp & 0xFF, temp1 & 0xFF)); | ||
1254 | if ( (temp & IDE_STATUS_BUSY) && (temp1 & IDE_STATUS_BUSY) ) | ||
1255 | { | ||
1256 | status = temp; | ||
1257 | break; | ||
1258 | } | ||
1259 | else | ||
1260 | { | ||
1261 | if ( temp & IDE_STATUS_BUSY ) | ||
1262 | padapter->survivor = 1; | ||
1263 | else | ||
1264 | padapter->survivor = 0; | ||
1265 | if ( InitFailover (padapter, pdev) ) | ||
1266 | { | ||
1267 | status = inb_p (padapter->regStatCmd); | ||
1268 | break; | ||
1269 | } | ||
1270 | goto timerExpiryDone; | ||
1271 | } | ||
1272 | } | ||
1273 | } | ||
1274 | else | ||
1275 | { | ||
1276 | DEB (printk ("in RAID read operation")); | ||
1277 | padapter->survivor = ( pdev->spigot == pdev->spigots[0] ) ? 0 : 1; | ||
1278 | DEB (printk ("\npci2220i: FAILURE 6")); | ||
1279 | if ( InitFailover (padapter, pdev) ) | ||
1280 | { | ||
1281 | status = inb_p (padapter->regStatCmd); | ||
1282 | break; | ||
1283 | } | ||
1284 | goto timerExpiryDone; | ||
1285 | } | ||
1286 | } | ||
1287 | else | ||
1288 | { | ||
1289 | DEB (printk ("in I/O operation")); | ||
1290 | status = inb_p (padapter->regStatCmd); | ||
1291 | } | ||
1292 | break; | ||
1293 | } | ||
1294 | |||
1295 | OpDone (padapter, DecodeError (padapter, status)); | ||
1296 | |||
1297 | timerExpiryDone:; | ||
1298 | /* | ||
1299 | * Release the I/O spinlock and restore the original flags | ||
1300 | * which will enable interrupts if and only if they were | ||
1301 | * enabled on entry. | ||
1302 | */ | ||
1303 | spin_unlock_irqrestore (host->host_lock, flags); | ||
1304 | } | ||
1305 | /**************************************************************** | ||
1306 | * Name: SetReconstruct :LOCAL | ||
1307 | * | ||
1308 | * Description: Set the reconstruct up. | ||
1309 | * | ||
1310 | * Parameters: pdev - Pointer to device structure. | ||
1311 | * index - Mirror index number. | ||
1312 | * | ||
1313 | * Returns: Number of sectors on new disk required. | ||
1314 | * | ||
1315 | ****************************************************************/ | ||
1316 | static LONG SetReconstruct (POUR_DEVICE pdev, int index) | ||
1317 | { | ||
1318 | pdev->DiskMirror[index].status = UCBF_MIRRORED; // setup the flags | ||
1319 | pdev->DiskMirror[index ^ 1].status = UCBF_MIRRORED | UCBF_REBUILD; | ||
1320 | pdev->DiskMirror[index ^ 1].reconstructPoint = 0; // start the reconstruct | ||
1321 | pdev->reconCount = 1990; // mark target drive early | ||
1322 | return pdev->DiskMirror[index].reconstructPoint; | ||
1323 | } | ||
1324 | /**************************************************************** | ||
1325 | * Name: ReconTimerExpiry :LOCAL | ||
1326 | * | ||
1327 | * Description: Reconstruct timer expiry routine. | ||
1328 | * | ||
1329 | * Parameters: data - Pointer adapter data structure. | ||
1330 | * | ||
1331 | * Returns: Nothing. | ||
1332 | * | ||
1333 | ****************************************************************/ | ||
1334 | static void ReconTimerExpiry (unsigned long data) | ||
1335 | { | ||
1336 | PADAPTER2220I padapter = (PADAPTER2220I)data; | ||
1337 | struct Scsi_Host *host = padapter->SCpnt->device->host; | ||
1338 | POUR_DEVICE pdev; | ||
1339 | ULONG testsize = 0; | ||
1340 | PIDENTIFY_DATA pid; | ||
1341 | USHORT minmode; | ||
1342 | ULONG zl; | ||
1343 | UCHAR zc; | ||
1344 | USHORT z; | ||
1345 | unsigned long flags; | ||
1346 | |||
1347 | /* | ||
1348 | * Disable interrupts, if they aren't already disabled and acquire | ||
1349 | * the I/O spinlock. | ||
1350 | */ | ||
1351 | spin_lock_irqsave(host->host_lock, flags); | ||
1352 | |||
1353 | if ( padapter->SCpnt ) | ||
1354 | goto reconTimerExpiry; | ||
1355 | |||
1356 | padapter->reconTimer.data = 0; | ||
1357 | for ( z = padapter->devInReconIndex + 1; z < BIGD_MAXDRIVES; z++ ) | ||
1358 | { | ||
1359 | if ( padapter->device[z].reconOn ) | ||
1360 | break; | ||
1361 | } | ||
1362 | if ( z < BIGD_MAXDRIVES ) | ||
1363 | pdev = &padapter->device[z]; | ||
1364 | else | ||
1365 | { | ||
1366 | for ( z = 0; z < BIGD_MAXDRIVES; z++ ) | ||
1367 | { | ||
1368 | if ( padapter->device[z].reconOn ) | ||
1369 | break; | ||
1370 | } | ||
1371 | if ( z < BIGD_MAXDRIVES ) | ||
1372 | pdev = &padapter->device[z]; | ||
1373 | else | ||
1374 | { | ||
1375 | padapter->reconOn = FALSE; | ||
1376 | goto reconTimerExpiry; | ||
1377 | } | ||
1378 | } | ||
1379 | |||
1380 | padapter->devInReconIndex = z; | ||
1381 | pid = (PIDENTIFY_DATA)padapter->kBuffer; | ||
1382 | padapter->pdev = pdev; | ||
1383 | if ( pdev->reconIsStarting ) | ||
1384 | { | ||
1385 | pdev->reconIsStarting = FALSE; | ||
1386 | pdev->reconOn = FALSE; | ||
1387 | |||
1388 | while ( (pdev->DiskMirror[0].signature == SIGNATURE) && (pdev->DiskMirror[1].signature == SIGNATURE) && | ||
1389 | (pdev->DiskMirror[0].pairIdentifier == (pdev->DiskMirror[1].pairIdentifier ^ 1)) ) | ||
1390 | { | ||
1391 | if ( (pdev->DiskMirror[0].status & UCBF_MATCHED) && (pdev->DiskMirror[1].status & UCBF_MATCHED) ) | ||
1392 | break; | ||
1393 | |||
1394 | if ( pdev->DiskMirror[0].status & UCBF_SURVIVOR ) // is first drive survivor? | ||
1395 | testsize = SetReconstruct (pdev, 0); | ||
1396 | else | ||
1397 | if ( pdev->DiskMirror[1].status & UCBF_SURVIVOR ) // is second drive survivor? | ||
1398 | testsize = SetReconstruct (pdev, 1); | ||
1399 | |||
1400 | if ( (pdev->DiskMirror[0].status & UCBF_REBUILD) || (pdev->DiskMirror[1].status & UCBF_REBUILD) ) | ||
1401 | { | ||
1402 | if ( pdev->DiskMirror[0].status & UCBF_REBUILD ) | ||
1403 | pdev->mirrorRecon = 0; | ||
1404 | else | ||
1405 | pdev->mirrorRecon = 1; | ||
1406 | pdev->reconOn = TRUE; | ||
1407 | } | ||
1408 | break; | ||
1409 | } | ||
1410 | |||
1411 | if ( !pdev->reconOn ) | ||
1412 | goto reconTimerExpiry; | ||
1413 | |||
1414 | if ( padapter->bigD ) | ||
1415 | { | ||
1416 | padapter->failRegister = 0; | ||
1417 | outb_p (~padapter->failRegister, padapter->regFail); | ||
1418 | } | ||
1419 | else | ||
1420 | { | ||
1421 | zc = ((inb_p (padapter->regStatSel) >> 3) | inb_p (padapter->regStatSel)) & 0x83; // mute the alarm | ||
1422 | outb_p (0xFF, padapter->regFail); | ||
1423 | } | ||
1424 | |||
1425 | while ( 1 ) | ||
1426 | { | ||
1427 | DEB (printk ("\npci2220i: hard reset issue")); | ||
1428 | if ( HardReset (padapter, pdev, pdev->spigots[pdev->mirrorRecon]) ) | ||
1429 | { | ||
1430 | DEB (printk ("\npci2220i: sub 1")); | ||
1431 | break; | ||
1432 | } | ||
1433 | |||
1434 | pdev->lastsectorlba[pdev->mirrorRecon] = InlineIdentify (padapter, pdev->spigots[pdev->mirrorRecon], pdev->deviceID[pdev->mirrorRecon] & 1); | ||
1435 | |||
1436 | if ( pdev->lastsectorlba[pdev->mirrorRecon] < testsize ) | ||
1437 | { | ||
1438 | DEB (printk ("\npci2220i: sub 2 %ld %ld", pdev->lastsectorlba[pdev->mirrorRecon], testsize)); | ||
1439 | break; | ||
1440 | } | ||
1441 | |||
1442 | // test LBA and multiper sector transfer compatibility | ||
1443 | if (!pid->SupportLBA || (pid->NumSectorsPerInt < SECTORSXFER) || !pid->Valid_64_70 ) | ||
1444 | { | ||
1445 | DEB (printk ("\npci2220i: sub 3")); | ||
1446 | break; | ||
1447 | } | ||
1448 | |||
1449 | // test PIO/bus matering mode compatibility | ||
1450 | if ( (pid->MinPIOCycleWithoutFlow > 240) && !pid->SupportIORDYDisable && !padapter->timingPIO ) | ||
1451 | { | ||
1452 | DEB (printk ("\npci2220i: sub 4")); | ||
1453 | break; | ||
1454 | } | ||
1455 | |||
1456 | if ( pid->MinPIOCycleWithoutFlow <= 120 ) // setup timing mode of drive | ||
1457 | minmode = 5; | ||
1458 | else | ||
1459 | { | ||
1460 | if ( pid->MinPIOCylceWithFlow <= 150 ) | ||
1461 | minmode = 4; | ||
1462 | else | ||
1463 | { | ||
1464 | if ( pid->MinPIOCylceWithFlow <= 180 ) | ||
1465 | minmode = 3; | ||
1466 | else | ||
1467 | { | ||
1468 | if ( pid->MinPIOCylceWithFlow <= 240 ) | ||
1469 | minmode = 2; | ||
1470 | else | ||
1471 | { | ||
1472 | DEB (printk ("\npci2220i: sub 5")); | ||
1473 | break; | ||
1474 | } | ||
1475 | } | ||
1476 | } | ||
1477 | } | ||
1478 | |||
1479 | if ( padapter->timingMode > minmode ) // set minimum timing mode | ||
1480 | padapter->timingMode = minmode; | ||
1481 | if ( padapter->timingMode >= 2 ) | ||
1482 | padapter->timingAddress = ModeArray[padapter->timingMode - 2]; | ||
1483 | else | ||
1484 | padapter->timingPIO = TRUE; | ||
1485 | |||
1486 | padapter->reconOn = TRUE; | ||
1487 | break; | ||
1488 | } | ||
1489 | |||
1490 | if ( !pdev->reconOn ) | ||
1491 | { | ||
1492 | padapter->survivor = pdev->mirrorRecon ^ 1; | ||
1493 | padapter->reconPhase = RECON_PHASE_FAILOVER; | ||
1494 | DEB (printk ("\npci2220i: FAILURE 7")); | ||
1495 | InitFailover (padapter, pdev); | ||
1496 | goto reconTimerExpiry; | ||
1497 | } | ||
1498 | |||
1499 | pdev->raid = TRUE; | ||
1500 | |||
1501 | if ( WriteSignature (padapter, pdev, pdev->spigot, pdev->mirrorRecon ^ 1) ) | ||
1502 | goto reconTimerExpiry; | ||
1503 | padapter->reconPhase = RECON_PHASE_MARKING; | ||
1504 | goto reconTimerExpiry; | ||
1505 | } | ||
1506 | |||
1507 | //********************************** | ||
1508 | // reconstruct copy starts here | ||
1509 | //********************************** | ||
1510 | if ( pdev->reconCount++ > 2000 ) | ||
1511 | { | ||
1512 | pdev->reconCount = 0; | ||
1513 | if ( WriteSignature (padapter, pdev, pdev->spigots[pdev->mirrorRecon], pdev->mirrorRecon) ) | ||
1514 | { | ||
1515 | padapter->survivor = pdev->mirrorRecon ^ 1; | ||
1516 | padapter->reconPhase = RECON_PHASE_FAILOVER; | ||
1517 | DEB (printk ("\npci2220i: FAILURE 8")); | ||
1518 | InitFailover (padapter, pdev); | ||
1519 | goto reconTimerExpiry; | ||
1520 | } | ||
1521 | padapter->reconPhase = RECON_PHASE_UPDATE; | ||
1522 | goto reconTimerExpiry; | ||
1523 | } | ||
1524 | |||
1525 | zl = pdev->DiskMirror[pdev->mirrorRecon].reconstructPoint; | ||
1526 | padapter->reconSize = pdev->DiskMirror[pdev->mirrorRecon ^ 1].reconstructPoint - zl; | ||
1527 | if ( padapter->reconSize > MAX_BUS_MASTER_BLOCKS ) | ||
1528 | padapter->reconSize = MAX_BUS_MASTER_BLOCKS; | ||
1529 | |||
1530 | if ( padapter->reconSize ) | ||
1531 | { | ||
1532 | SelectSpigot (padapter, pdev->spigots[0] | pdev->spigots[1]); // select the spigots | ||
1533 | outb_p (pdev->byte6 | ((UCHAR *)(&zl))[3], padapter->regLba24); // select the drive | ||
1534 | SelectSpigot (padapter, pdev->spigot); | ||
1535 | if ( WaitReady (padapter) ) | ||
1536 | goto reconTimerExpiry; | ||
1537 | |||
1538 | SelectSpigot (padapter, pdev->spigots[pdev->mirrorRecon]); | ||
1539 | if ( WaitReady (padapter) ) | ||
1540 | { | ||
1541 | padapter->survivor = pdev->mirrorRecon ^ 1; | ||
1542 | padapter->reconPhase = RECON_PHASE_FAILOVER; | ||
1543 | DEB (printk ("\npci2220i: FAILURE 9")); | ||
1544 | InitFailover (padapter, pdev); | ||
1545 | goto reconTimerExpiry; | ||
1546 | } | ||
1547 | |||
1548 | SelectSpigot (padapter, pdev->spigots[0] | pdev->spigots[1]); | ||
1549 | outb_p (padapter->reconSize & 0xFF, padapter->regSectCount); | ||
1550 | outb_p (((UCHAR *)(&zl))[0], padapter->regLba0); | ||
1551 | outb_p (((UCHAR *)(&zl))[1], padapter->regLba8); | ||
1552 | outb_p (((UCHAR *)(&zl))[2], padapter->regLba16); | ||
1553 | padapter->expectingIRQ = TRUE; | ||
1554 | padapter->reconPhase = RECON_PHASE_READY; | ||
1555 | SelectSpigot (padapter, pdev->spigots[pdev->mirrorRecon]); | ||
1556 | WriteCommand (padapter, WRITE_CMD); | ||
1557 | StartTimer (padapter); | ||
1558 | SelectSpigot (padapter, pdev->spigot); | ||
1559 | WriteCommand (padapter, READ_CMD); | ||
1560 | goto reconTimerExpiry; | ||
1561 | } | ||
1562 | |||
1563 | pdev->DiskMirror[pdev->mirrorRecon].status = UCBF_MIRRORED | UCBF_MATCHED; | ||
1564 | pdev->DiskMirror[pdev->mirrorRecon ^ 1].status = UCBF_MIRRORED | UCBF_MATCHED; | ||
1565 | if ( WriteSignature (padapter, pdev, pdev->spigot, pdev->mirrorRecon ^ 1) ) | ||
1566 | goto reconTimerExpiry; | ||
1567 | padapter->reconPhase = RECON_PHASE_LAST; | ||
1568 | |||
1569 | reconTimerExpiry:; | ||
1570 | /* | ||
1571 | * Release the I/O spinlock and restore the original flags | ||
1572 | * which will enable interrupts if and only if they were | ||
1573 | * enabled on entry. | ||
1574 | */ | ||
1575 | spin_unlock_irqrestore(host->host_lock, flags); | ||
1576 | } | ||
1577 | /**************************************************************** | ||
1578 | * Name: Irq_Handler :LOCAL | ||
1579 | * | ||
1580 | * Description: Interrupt handler. | ||
1581 | * | ||
1582 | * Parameters: irq - Hardware IRQ number. | ||
1583 | * dev_id - | ||
1584 | * regs - | ||
1585 | * | ||
1586 | * Returns: TRUE if drive is not ready in time. | ||
1587 | * | ||
1588 | ****************************************************************/ | ||
1589 | static irqreturn_t Irq_Handler (int irq, void *dev_id, struct pt_regs *regs) | ||
1590 | { | ||
1591 | struct Scsi_Host *shost = NULL; // Pointer to host data block | ||
1592 | PADAPTER2220I padapter; // Pointer to adapter control structure | ||
1593 | POUR_DEVICE pdev; | ||
1594 | Scsi_Cmnd *SCpnt; | ||
1595 | UCHAR status; | ||
1596 | UCHAR status1; | ||
1597 | ATAPI_STATUS statusa; | ||
1598 | ATAPI_REASON reasona; | ||
1599 | ATAPI_ERROR errora; | ||
1600 | int z; | ||
1601 | ULONG zl; | ||
1602 | unsigned long flags; | ||
1603 | int handled = 0; | ||
1604 | |||
1605 | // DEB (printk ("\npci2220i received interrupt\n")); | ||
1606 | |||
1607 | for ( z = 0; z < NumAdapters; z++ ) // scan for interrupt to process | ||
1608 | { | ||
1609 | if ( PsiHost[z]->irq == (UCHAR)(irq & 0xFF) ) | ||
1610 | { | ||
1611 | if ( inw_p (HOSTDATA(PsiHost[z])->regIrqControl) & 0x8000 ) | ||
1612 | { | ||
1613 | shost = PsiHost[z]; | ||
1614 | break; | ||
1615 | } | ||
1616 | } | ||
1617 | } | ||
1618 | |||
1619 | if ( !shost ) | ||
1620 | { | ||
1621 | DEB (printk ("\npci2220i: not my interrupt")); | ||
1622 | goto out; | ||
1623 | } | ||
1624 | |||
1625 | handled = 1; | ||
1626 | spin_lock_irqsave(shost->host_lock, flags); | ||
1627 | padapter = HOSTDATA(shost); | ||
1628 | pdev = padapter->pdev; | ||
1629 | SCpnt = padapter->SCpnt; | ||
1630 | outb_p (0x08, padapter->regDmaCmdStat); // cancel interrupt from DMA engine | ||
1631 | |||
1632 | if ( padapter->atapi && SCpnt ) | ||
1633 | { | ||
1634 | *(char *)&statusa = inb_p (padapter->regStatCmd); // read the device status | ||
1635 | *(char *)&reasona = inb_p (padapter->regSectCount); // read the device interrupt reason | ||
1636 | |||
1637 | if ( !statusa.bsy ) | ||
1638 | { | ||
1639 | if ( statusa.drq ) // test for transfer phase | ||
1640 | { | ||
1641 | if ( !reasona.cod ) // test for data phase | ||
1642 | { | ||
1643 | z = (ULONG)inb_p (padapter->regLba8) | (ULONG)(inb_p (padapter->regLba16) << 8); | ||
1644 | if ( padapter->reqSense ) | ||
1645 | insw (padapter->regData, SCpnt->sense_buffer, z / 2); | ||
1646 | else | ||
1647 | AtapiBusMaster (padapter, reasona.io, z); | ||
1648 | goto irq_return; | ||
1649 | } | ||
1650 | if ( reasona.cod && !reasona.io ) // test for command packet phase | ||
1651 | { | ||
1652 | if ( padapter->reqSense ) | ||
1653 | AtapiRequestSense (padapter, pdev, SCpnt, TRUE); | ||
1654 | else | ||
1655 | AtapiSendCdb (padapter, pdev, padapter->atapiCdb); | ||
1656 | goto irq_return; | ||
1657 | } | ||
1658 | } | ||
1659 | else | ||
1660 | { | ||
1661 | if ( reasona.io && statusa.drdy ) // test for status phase | ||
1662 | { | ||
1663 | Atapi2Scsi (padapter, SCpnt); | ||
1664 | if ( statusa.check ) | ||
1665 | { | ||
1666 | *(UCHAR *)&errora = inb_p (padapter->regError); // read the device error | ||
1667 | if ( errora.senseKey ) | ||
1668 | { | ||
1669 | if ( padapter->reqSense || AtapiRequestSense (padapter, pdev, SCpnt, FALSE) ) | ||
1670 | OpDone (padapter, DID_ERROR << 16); | ||
1671 | } | ||
1672 | else | ||
1673 | { | ||
1674 | if ( errora.ili || errora.abort ) | ||
1675 | OpDone (padapter, DID_ERROR << 16); | ||
1676 | else | ||
1677 | OpDone (padapter, DID_OK << 16); | ||
1678 | } | ||
1679 | } | ||
1680 | else | ||
1681 | if ( padapter->reqSense ) | ||
1682 | { | ||
1683 | DEB (printk ("PCI2242I: Sense codes - %X %X %X ", ((UCHAR *)SCpnt->sense_buffer)[0], ((UCHAR *)SCpnt->sense_buffer)[12], ((UCHAR *)SCpnt->sense_buffer)[13])); | ||
1684 | OpDone (padapter, (DRIVER_SENSE << 24) | (DID_OK << 16) | 2); | ||
1685 | } | ||
1686 | else | ||
1687 | OpDone (padapter, DID_OK << 16); | ||
1688 | } | ||
1689 | } | ||
1690 | } | ||
1691 | goto irq_return; | ||
1692 | } | ||
1693 | |||
1694 | if ( !padapter->expectingIRQ || !(SCpnt || padapter->reconPhase) ) | ||
1695 | { | ||
1696 | DEB(printk ("\npci2220i Unsolicited interrupt\n")); | ||
1697 | STOP_HERE (); | ||
1698 | goto irq_return; | ||
1699 | } | ||
1700 | padapter->expectingIRQ = 0; | ||
1701 | |||
1702 | if ( padapter->failinprog ) | ||
1703 | { | ||
1704 | DEB (printk ("\npci2220i interrupt failover complete")); | ||
1705 | padapter->failinprog = FALSE; | ||
1706 | status = inb_p (padapter->regStatCmd); // read the device status | ||
1707 | if ( status & (IDE_STATUS_ERROR | IDE_STATUS_WRITE_FAULT) ) | ||
1708 | { | ||
1709 | DEB (printk ("\npci2220i: interrupt failover error from drive %X", status)); | ||
1710 | padapter->cmd = 0; | ||
1711 | } | ||
1712 | else | ||
1713 | { | ||
1714 | DEB (printk ("\npci2220i: restarting failed opertation.")); | ||
1715 | pdev->spigot = (padapter->survivor) ? pdev->spigots[1] : pdev->spigots[0]; | ||
1716 | del_timer (&padapter->timer); | ||
1717 | if ( padapter->reconPhase ) | ||
1718 | OpDone (padapter, DID_OK << 16); | ||
1719 | else | ||
1720 | Pci2220i_QueueCommand (SCpnt, SCpnt->scsi_done); | ||
1721 | goto irq_return; | ||
1722 | } | ||
1723 | } | ||
1724 | |||
1725 | if ( padapter->reconPhase ) | ||
1726 | { | ||
1727 | switch ( padapter->reconPhase ) | ||
1728 | { | ||
1729 | case RECON_PHASE_MARKING: | ||
1730 | case RECON_PHASE_LAST: | ||
1731 | status = inb_p (padapter->regStatCmd); // read the device status | ||
1732 | del_timer (&padapter->timer); | ||
1733 | if ( padapter->reconPhase == RECON_PHASE_LAST ) | ||
1734 | { | ||
1735 | if ( status & (IDE_STATUS_ERROR | IDE_STATUS_WRITE_FAULT) ) | ||
1736 | { | ||
1737 | padapter->survivor = ( pdev->spigot == pdev->spigots[0] ) ? 1 : 0; | ||
1738 | DEB (printk ("\npci2220i: FAILURE 10")); | ||
1739 | if ( InitFailover (padapter, pdev) ) | ||
1740 | OpDone (padapter, DecodeError (padapter, status)); | ||
1741 | goto irq_return; | ||
1742 | } | ||
1743 | if ( WriteSignature (padapter, pdev, pdev->spigots[pdev->mirrorRecon], pdev->mirrorRecon) ) | ||
1744 | { | ||
1745 | padapter->survivor = ( pdev->spigot == pdev->spigots[0] ) ? 0 : 1; | ||
1746 | DEB (printk ("\npci2220i: FAILURE 11")); | ||
1747 | if ( InitFailover (padapter, pdev) ) | ||
1748 | OpDone (padapter, DecodeError (padapter, status)); | ||
1749 | goto irq_return; | ||
1750 | } | ||
1751 | padapter->reconPhase = RECON_PHASE_END; | ||
1752 | goto irq_return; | ||
1753 | } | ||
1754 | OpDone (padapter, DID_OK << 16); | ||
1755 | goto irq_return; | ||
1756 | |||
1757 | case RECON_PHASE_READY: | ||
1758 | status = inb_p (padapter->regStatCmd); // read the device status | ||
1759 | if ( status & (IDE_STATUS_ERROR | IDE_STATUS_WRITE_FAULT) ) | ||
1760 | { | ||
1761 | del_timer (&padapter->timer); | ||
1762 | OpDone (padapter, DecodeError (padapter, status)); | ||
1763 | goto irq_return; | ||
1764 | } | ||
1765 | SelectSpigot (padapter, pdev->spigots[pdev->mirrorRecon]); | ||
1766 | if ( WaitDrq (padapter) ) | ||
1767 | { | ||
1768 | del_timer (&padapter->timer); | ||
1769 | padapter->survivor = ( pdev->spigot == pdev->spigots[0] ) ? 0 : 1; | ||
1770 | DEB (printk ("\npci2220i: FAILURE 12")); | ||
1771 | if ( InitFailover (padapter, pdev) ) | ||
1772 | OpDone (padapter, DecodeError (padapter, status)); | ||
1773 | goto irq_return; | ||
1774 | } | ||
1775 | SelectSpigot (padapter, pdev->spigot | SEL_COPY | padapter->bigD); | ||
1776 | padapter->reconPhase = RECON_PHASE_COPY; | ||
1777 | padapter->expectingIRQ = TRUE; | ||
1778 | if ( padapter->timingPIO ) | ||
1779 | { | ||
1780 | insw (padapter->regData, padapter->kBuffer, padapter->reconSize * (BYTES_PER_SECTOR / 2)); | ||
1781 | } | ||
1782 | else | ||
1783 | { | ||
1784 | if ( (padapter->timingMode > 3) ) | ||
1785 | { | ||
1786 | if ( padapter->bigD ) | ||
1787 | outl (BIGD_DATA_MODE3, padapter->regDmaAddrLoc); | ||
1788 | else | ||
1789 | outl (DALE_DATA_MODE3, padapter->regDmaAddrLoc); | ||
1790 | } | ||
1791 | else | ||
1792 | outl (padapter->timingAddress, padapter->regDmaAddrLoc); | ||
1793 | outl (padapter->kBufferDma, padapter->regDmaAddrPci); | ||
1794 | outl (padapter->reconSize * BYTES_PER_SECTOR, padapter->regDmaCount); | ||
1795 | outb_p (8, padapter->regDmaDesc); // read operation | ||
1796 | if ( padapter->bigD ) | ||
1797 | outb_p (8, padapter->regDmaMode); // no interrupt | ||
1798 | else | ||
1799 | outb_p (1, padapter->regDmaMode); // no interrupt | ||
1800 | outb_p (0x03, padapter->regDmaCmdStat); // kick the DMA engine in gear | ||
1801 | } | ||
1802 | goto irq_return; | ||
1803 | |||
1804 | case RECON_PHASE_COPY: | ||
1805 | pdev->DiskMirror[pdev->mirrorRecon].reconstructPoint += padapter->reconSize; | ||
1806 | |||
1807 | case RECON_PHASE_UPDATE: | ||
1808 | SelectSpigot (padapter, pdev->spigots[pdev->mirrorRecon] | SEL_IRQ_OFF); | ||
1809 | status = inb_p (padapter->regStatCmd); // read the device status | ||
1810 | del_timer (&padapter->timer); | ||
1811 | if ( status & (IDE_STATUS_ERROR | IDE_STATUS_WRITE_FAULT) ) | ||
1812 | { | ||
1813 | padapter->survivor = ( pdev->spigot == pdev->spigots[0] ) ? 0 : 1; | ||
1814 | DEB (printk ("\npci2220i: FAILURE 13")); | ||
1815 | DEB (printk ("\n status register = %X error = %X", status, inb_p (padapter->regError))); | ||
1816 | if ( InitFailover (padapter, pdev) ) | ||
1817 | OpDone (padapter, DecodeError (padapter, status)); | ||
1818 | goto irq_return; | ||
1819 | } | ||
1820 | OpDone (padapter, DID_OK << 16); | ||
1821 | goto irq_return; | ||
1822 | |||
1823 | case RECON_PHASE_END: | ||
1824 | status = inb_p (padapter->regStatCmd); // read the device status | ||
1825 | del_timer (&padapter->timer); | ||
1826 | if ( status & (IDE_STATUS_ERROR | IDE_STATUS_WRITE_FAULT) ) | ||
1827 | { | ||
1828 | padapter->survivor = ( pdev->spigot == pdev->spigots[0] ) ? 0 : 1; | ||
1829 | DEB (printk ("\npci2220i: FAILURE 14")); | ||
1830 | if ( InitFailover (padapter, pdev) ) | ||
1831 | OpDone (padapter, DecodeError (padapter, status)); | ||
1832 | goto irq_return; | ||
1833 | } | ||
1834 | pdev->reconOn = 0; | ||
1835 | if ( padapter->bigD ) | ||
1836 | { | ||
1837 | for ( z = 0; z < padapter->numberOfDrives; z++ ) | ||
1838 | { | ||
1839 | if ( padapter->device[z].DiskMirror[0].status & UCBF_SURVIVOR ) | ||
1840 | { | ||
1841 | Alarm (padapter, padapter->device[z].deviceID[0] ^ 2); | ||
1842 | MuteAlarm (padapter); | ||
1843 | } | ||
1844 | if ( padapter->device[z].DiskMirror[1].status & UCBF_SURVIVOR ) | ||
1845 | { | ||
1846 | Alarm (padapter, padapter->device[z].deviceID[1] ^ 2); | ||
1847 | MuteAlarm (padapter); | ||
1848 | } | ||
1849 | } | ||
1850 | } | ||
1851 | OpDone (padapter, DID_OK << 16); | ||
1852 | goto irq_return; | ||
1853 | |||
1854 | default: | ||
1855 | goto irq_return; | ||
1856 | } | ||
1857 | } | ||
1858 | |||
1859 | switch ( padapter->cmd ) // decide how to handle the interrupt | ||
1860 | { | ||
1861 | case READ_CMD: | ||
1862 | if ( padapter->sectorCount ) | ||
1863 | { | ||
1864 | status = inb_p (padapter->regStatCmd); // read the device status | ||
1865 | if ( status & (IDE_STATUS_ERROR | IDE_STATUS_WRITE_FAULT) ) | ||
1866 | { | ||
1867 | if ( pdev->raid ) | ||
1868 | { | ||
1869 | padapter->survivor = ( pdev->spigot == pdev->spigots[0] ) ? 1 : 0; | ||
1870 | del_timer (&padapter->timer); | ||
1871 | DEB (printk ("\npci2220i: FAILURE 15")); | ||
1872 | if ( !InitFailover (padapter, pdev) ) | ||
1873 | goto irq_return; | ||
1874 | } | ||
1875 | break; | ||
1876 | } | ||
1877 | if ( padapter->timingPIO ) | ||
1878 | { | ||
1879 | insw (padapter->regData, padapter->kBuffer, padapter->readCount / 2); | ||
1880 | padapter->sectorCount -= padapter->readCount / BYTES_PER_SECTOR; | ||
1881 | WalkScatGath (padapter, TRUE, padapter->readCount); | ||
1882 | if ( !padapter->sectorCount ) | ||
1883 | { | ||
1884 | status = 0; | ||
1885 | break; | ||
1886 | } | ||
1887 | } | ||
1888 | else | ||
1889 | { | ||
1890 | if ( padapter->readCount ) | ||
1891 | WalkScatGath (padapter, TRUE, padapter->readCount); | ||
1892 | BusMaster (padapter, 1, 1); | ||
1893 | } | ||
1894 | padapter->expectingIRQ = TRUE; | ||
1895 | goto irq_return; | ||
1896 | } | ||
1897 | if ( padapter->readCount && !padapter->timingPIO ) | ||
1898 | WalkScatGath (padapter, TRUE, padapter->readCount); | ||
1899 | status = 0; | ||
1900 | break; | ||
1901 | |||
1902 | case WRITE_CMD: | ||
1903 | if ( pdev->raid ) | ||
1904 | { | ||
1905 | SelectSpigot (padapter, pdev->spigots[0] | SEL_IRQ_OFF); | ||
1906 | status = inb_p (padapter->regStatCmd); // read the device status | ||
1907 | SelectSpigot (padapter, pdev->spigots[1] | SEL_IRQ_OFF); | ||
1908 | status1 = inb_p (padapter->regStatCmd); // read the device status | ||
1909 | } | ||
1910 | else | ||
1911 | SelectSpigot (padapter, pdev->spigot | SEL_IRQ_OFF); | ||
1912 | status = inb_p (padapter->regStatCmd); // read the device status | ||
1913 | status1 = 0; | ||
1914 | |||
1915 | if ( status & (IDE_STATUS_ERROR | IDE_STATUS_WRITE_FAULT) ) | ||
1916 | { | ||
1917 | if ( pdev->raid && !(status1 & (IDE_STATUS_ERROR | IDE_STATUS_WRITE_FAULT)) ) | ||
1918 | { | ||
1919 | padapter->survivor = 1; | ||
1920 | del_timer (&padapter->timer); | ||
1921 | SelectSpigot (padapter, pdev->spigot | SEL_IRQ_OFF); | ||
1922 | DEB (printk ("\npci2220i: FAILURE 16 status = %X error = %X", status, inb_p (padapter->regError))); | ||
1923 | if ( !InitFailover (padapter, pdev) ) | ||
1924 | goto irq_return; | ||
1925 | } | ||
1926 | break; | ||
1927 | } | ||
1928 | if ( pdev->raid ) | ||
1929 | { | ||
1930 | if ( status1 & (IDE_STATUS_ERROR | IDE_STATUS_WRITE_FAULT) ) | ||
1931 | { | ||
1932 | padapter->survivor = 0; | ||
1933 | del_timer (&padapter->timer); | ||
1934 | DEB (printk ("\npci2220i: FAILURE 17 status = %X error = %X", status1, inb_p (padapter->regError))); | ||
1935 | if ( !InitFailover (padapter, pdev) ) | ||
1936 | goto irq_return; | ||
1937 | status = status1; | ||
1938 | break; | ||
1939 | } | ||
1940 | if ( padapter->sectorCount ) | ||
1941 | { | ||
1942 | status = WriteDataBoth (padapter, pdev); | ||
1943 | if ( status ) | ||
1944 | { | ||
1945 | padapter->survivor = status >> 1; | ||
1946 | del_timer (&padapter->timer); | ||
1947 | DEB (printk ("\npci2220i: FAILURE 18")); | ||
1948 | if ( !InitFailover (padapter, pdev) ) | ||
1949 | goto irq_return; | ||
1950 | SelectSpigot (padapter, pdev->spigots[status] | SEL_IRQ_OFF); | ||
1951 | status = inb_p (padapter->regStatCmd); // read the device status | ||
1952 | break; | ||
1953 | } | ||
1954 | padapter->expectingIRQ = TRUE; | ||
1955 | goto irq_return; | ||
1956 | } | ||
1957 | status = 0; | ||
1958 | break; | ||
1959 | } | ||
1960 | if ( padapter->sectorCount ) | ||
1961 | { | ||
1962 | SelectSpigot (padapter, pdev->spigot | padapter->bigD); | ||
1963 | status = WriteData (padapter); | ||
1964 | if ( status ) | ||
1965 | break; | ||
1966 | padapter->expectingIRQ = TRUE; | ||
1967 | goto irq_return; | ||
1968 | } | ||
1969 | status = 0; | ||
1970 | break; | ||
1971 | |||
1972 | case IDE_COMMAND_IDENTIFY: | ||
1973 | { | ||
1974 | PINQUIRYDATA pinquiryData = SCpnt->request_buffer; | ||
1975 | PIDENTIFY_DATA pid = (PIDENTIFY_DATA)padapter->kBuffer; | ||
1976 | |||
1977 | status = inb_p (padapter->regStatCmd); | ||
1978 | if ( status & IDE_STATUS_DRQ ) | ||
1979 | { | ||
1980 | insw (padapter->regData, pid, sizeof (IDENTIFY_DATA) >> 1); | ||
1981 | |||
1982 | memset (pinquiryData, 0, SCpnt->request_bufflen); // Zero INQUIRY data structure. | ||
1983 | pinquiryData->DeviceType = 0; | ||
1984 | pinquiryData->Versions = 2; | ||
1985 | pinquiryData->AdditionalLength = 35 - 4; | ||
1986 | |||
1987 | // Fill in vendor identification fields. | ||
1988 | for ( z = 0; z < 20; z += 2 ) | ||
1989 | { | ||
1990 | pinquiryData->VendorId[z] = ((UCHAR *)pid->ModelNumber)[z + 1]; | ||
1991 | pinquiryData->VendorId[z + 1] = ((UCHAR *)pid->ModelNumber)[z]; | ||
1992 | } | ||
1993 | |||
1994 | // Initialize unused portion of product id. | ||
1995 | for ( z = 0; z < 4; z++ ) | ||
1996 | pinquiryData->ProductId[12 + z] = ' '; | ||
1997 | |||
1998 | // Move firmware revision from IDENTIFY data to | ||
1999 | // product revision in INQUIRY data. | ||
2000 | for ( z = 0; z < 4; z += 2 ) | ||
2001 | { | ||
2002 | pinquiryData->ProductRevisionLevel[z] = ((UCHAR *)pid->FirmwareRevision)[z + 1]; | ||
2003 | pinquiryData->ProductRevisionLevel[z + 1] = ((UCHAR *)pid->FirmwareRevision)[z]; | ||
2004 | } | ||
2005 | if ( pdev == padapter->device ) | ||
2006 | *((USHORT *)(&pinquiryData->VendorSpecific)) = DEVICE_DALE_1; | ||
2007 | |||
2008 | status = 0; | ||
2009 | } | ||
2010 | break; | ||
2011 | } | ||
2012 | |||
2013 | default: | ||
2014 | status = 0; | ||
2015 | break; | ||
2016 | } | ||
2017 | |||
2018 | del_timer (&padapter->timer); | ||
2019 | if ( status ) | ||
2020 | { | ||
2021 | DEB (printk ("\npci2220i Interrupt handler return error")); | ||
2022 | zl = DecodeError (padapter, status); | ||
2023 | } | ||
2024 | else | ||
2025 | zl = DID_OK << 16; | ||
2026 | |||
2027 | OpDone (padapter, zl); | ||
2028 | irq_return: | ||
2029 | spin_unlock_irqrestore(shost->host_lock, flags); | ||
2030 | out: | ||
2031 | return IRQ_RETVAL(handled); | ||
2032 | } | ||
2033 | |||
2034 | /**************************************************************** | ||
2035 | * Name: Pci2220i_QueueCommand | ||
2036 | * | ||
2037 | * Description: Process a queued command from the SCSI manager. | ||
2038 | * | ||
2039 | * Parameters: SCpnt - Pointer to SCSI command structure. | ||
2040 | * done - Pointer to done function to call. | ||
2041 | * | ||
2042 | * Returns: Status code. | ||
2043 | * | ||
2044 | ****************************************************************/ | ||
2045 | int Pci2220i_QueueCommand (Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) | ||
2046 | { | ||
2047 | UCHAR *cdb = (UCHAR *)SCpnt->cmnd; // Pointer to SCSI CDB | ||
2048 | PADAPTER2220I padapter = HOSTDATA(SCpnt->device->host); // Pointer to adapter control structure | ||
2049 | POUR_DEVICE pdev = &padapter->device[SCpnt->device->id];// Pointer to device information | ||
2050 | UCHAR rc; // command return code | ||
2051 | int z; | ||
2052 | PDEVICE_RAID1 pdr; | ||
2053 | |||
2054 | SCpnt->scsi_done = done; | ||
2055 | padapter->SCpnt = SCpnt; // Save this command data | ||
2056 | padapter->readCount = 0; | ||
2057 | |||
2058 | if ( SCpnt->use_sg ) | ||
2059 | { | ||
2060 | padapter->currentSgBuffer = ((struct scatterlist *)SCpnt->request_buffer)[0].address; | ||
2061 | padapter->currentSgCount = ((struct scatterlist *)SCpnt->request_buffer)[0].length; | ||
2062 | } | ||
2063 | else | ||
2064 | { | ||
2065 | padapter->currentSgBuffer = SCpnt->request_buffer; | ||
2066 | padapter->currentSgCount = SCpnt->request_bufflen; | ||
2067 | } | ||
2068 | padapter->nextSg = 1; | ||
2069 | |||
2070 | if ( !done ) | ||
2071 | { | ||
2072 | printk("pci2220i_queuecommand: %02X: done can't be NULL\n", *cdb); | ||
2073 | return 0; | ||
2074 | } | ||
2075 | |||
2076 | if ( padapter->atapi ) | ||
2077 | { | ||
2078 | UCHAR zlo, zhi; | ||
2079 | |||
2080 | DEB (printk ("\nPCI2242I: ID %d, LUN %d opcode %X ", SCpnt->device->id, SCpnt->device->lun, *cdb)); | ||
2081 | padapter->pdev = pdev; | ||
2082 | if ( !pdev->byte6 || SCpnt->device->lun ) | ||
2083 | { | ||
2084 | OpDone (padapter, DID_BAD_TARGET << 16); | ||
2085 | return 0; | ||
2086 | } | ||
2087 | |||
2088 | padapter->atapiSpecial = FALSE; | ||
2089 | padapter->reqSense = FALSE; | ||
2090 | memset (padapter->atapiCdb, 0, 16); | ||
2091 | SelectSpigot (padapter, pdev->spigot); // select the spigot | ||
2092 | AtapiDevice (padapter, pdev->byte6); // select the drive | ||
2093 | if ( AtapiWaitReady (padapter, 100) ) | ||
2094 | { | ||
2095 | OpDone (padapter, DID_NO_CONNECT << 16); | ||
2096 | return 0; | ||
2097 | } | ||
2098 | |||
2099 | switch ( cdb[0] ) | ||
2100 | { | ||
2101 | case SCSIOP_MODE_SENSE: | ||
2102 | case SCSIOP_MODE_SELECT: | ||
2103 | Scsi2Atapi (padapter, SCpnt); | ||
2104 | z = SCpnt->request_bufflen + 4; | ||
2105 | break; | ||
2106 | case SCSIOP_READ6: | ||
2107 | case SCSIOP_WRITE6: | ||
2108 | Scsi2Atapi (padapter, SCpnt); | ||
2109 | z = SCpnt->request_bufflen; | ||
2110 | break; | ||
2111 | default: | ||
2112 | memcpy (padapter->atapiCdb, cdb, SCpnt->cmd_len); | ||
2113 | z = SCpnt->request_bufflen; | ||
2114 | break; | ||
2115 | } | ||
2116 | if ( z > ATAPI_TRANSFER ) | ||
2117 | z = ATAPI_TRANSFER; | ||
2118 | zlo = (UCHAR)(z & 0xFF); | ||
2119 | zhi = (UCHAR)(z >> 8); | ||
2120 | |||
2121 | AtapiCountLo (padapter, zlo); | ||
2122 | AtapiCountHi (padapter, zhi); | ||
2123 | outb_p (0, padapter->regError); | ||
2124 | WriteCommand (padapter, IDE_COMMAND_ATAPI_PACKET); | ||
2125 | if ( pdev->cmdDrqInt ) | ||
2126 | return 0; | ||
2127 | |||
2128 | if ( AtapiWaitDrq (padapter, 500) ) | ||
2129 | { | ||
2130 | OpDone (padapter, DID_ERROR << 16); | ||
2131 | return 0; | ||
2132 | } | ||
2133 | AtapiSendCdb (padapter, pdev, padapter->atapiCdb); | ||
2134 | return 0; | ||
2135 | } | ||
2136 | |||
2137 | if ( padapter->reconPhase ) | ||
2138 | return 0; | ||
2139 | if ( padapter->reconTimer.data ) | ||
2140 | { | ||
2141 | del_timer (&padapter->reconTimer); | ||
2142 | padapter->reconTimer.data = 0; | ||
2143 | } | ||
2144 | |||
2145 | if ( (SCpnt->device->id >= padapter->numberOfDrives) || SCpnt->device->lun ) | ||
2146 | { | ||
2147 | OpDone (padapter, DID_BAD_TARGET << 16); | ||
2148 | return 0; | ||
2149 | } | ||
2150 | |||
2151 | switch ( *cdb ) | ||
2152 | { | ||
2153 | case SCSIOP_INQUIRY: // inquiry CDB | ||
2154 | { | ||
2155 | if ( cdb[2] == SC_MY_RAID ) | ||
2156 | { | ||
2157 | switch ( cdb[3] ) | ||
2158 | { | ||
2159 | case MY_SCSI_REBUILD: | ||
2160 | for ( z = 0; z < padapter->numberOfDrives; z++ ) | ||
2161 | { | ||
2162 | pdev = &padapter->device[z]; | ||
2163 | if ( ((pdev->DiskMirror[0].status & UCBF_SURVIVOR) && (pdev->DiskMirror[1].status & UCBF_MIRRORED)) || | ||
2164 | ((pdev->DiskMirror[1].status & UCBF_SURVIVOR) && (pdev->DiskMirror[0].status & UCBF_MIRRORED)) ) | ||
2165 | { | ||
2166 | padapter->reconOn = pdev->reconOn = pdev->reconIsStarting = TRUE; | ||
2167 | } | ||
2168 | } | ||
2169 | OpDone (padapter, DID_OK << 16); | ||
2170 | break; | ||
2171 | case MY_SCSI_ALARMMUTE: | ||
2172 | MuteAlarm (padapter); | ||
2173 | OpDone (padapter, DID_OK << 16); | ||
2174 | break; | ||
2175 | case MY_SCSI_DEMOFAIL: | ||
2176 | padapter->demoFail = TRUE; | ||
2177 | OpDone (padapter, DID_OK << 16); | ||
2178 | break; | ||
2179 | default: | ||
2180 | z = cdb[5]; // get index | ||
2181 | pdr = (PDEVICE_RAID1)SCpnt->request_buffer; | ||
2182 | if ( padapter->raidData[z] ) | ||
2183 | { | ||
2184 | memcpy (&pdr->DiskRaid1, padapter->raidData[z], sizeof (DISK_MIRROR)); | ||
2185 | if ( padapter->raidData[z]->reconstructPoint > padapter->raidData[z ^ 2]->reconstructPoint ) | ||
2186 | pdr->TotalSectors = padapter->raidData[z]->reconstructPoint; | ||
2187 | else | ||
2188 | pdr->TotalSectors = padapter->raidData[z ^ 2]->reconstructPoint; | ||
2189 | } | ||
2190 | else | ||
2191 | memset (pdr, 0, sizeof (DEVICE_RAID1)); | ||
2192 | OpDone (padapter, DID_OK << 16); | ||
2193 | break; | ||
2194 | } | ||
2195 | return 0; | ||
2196 | } | ||
2197 | padapter->cmd = IDE_COMMAND_IDENTIFY; | ||
2198 | break; | ||
2199 | } | ||
2200 | |||
2201 | case SCSIOP_TEST_UNIT_READY: // test unit ready CDB | ||
2202 | OpDone (padapter, DID_OK << 16); | ||
2203 | return 0; | ||
2204 | case SCSIOP_READ_CAPACITY: // read capctiy CDB | ||
2205 | { | ||
2206 | PREAD_CAPACITY_DATA pdata = (PREAD_CAPACITY_DATA)SCpnt->request_buffer; | ||
2207 | |||
2208 | pdata->blksiz = 0x20000; | ||
2209 | XANY2SCSI ((UCHAR *)&pdata->blks, pdev->blocks); | ||
2210 | OpDone (padapter, DID_OK << 16); | ||
2211 | return 0; | ||
2212 | } | ||
2213 | case SCSIOP_VERIFY: // verify CDB | ||
2214 | padapter->startSector = XSCSI2LONG (&cdb[2]); | ||
2215 | padapter->sectorCount = (UCHAR)((USHORT)cdb[8] | ((USHORT)cdb[7] << 8)); | ||
2216 | padapter->cmd = IDE_COMMAND_VERIFY; | ||
2217 | break; | ||
2218 | case SCSIOP_READ: // read10 CDB | ||
2219 | padapter->startSector = XSCSI2LONG (&cdb[2]); | ||
2220 | padapter->sectorCount = (USHORT)cdb[8] | ((USHORT)cdb[7] << 8); | ||
2221 | padapter->cmd = READ_CMD; | ||
2222 | break; | ||
2223 | case SCSIOP_READ6: // read6 CDB | ||
2224 | padapter->startSector = SCSI2LONG (&cdb[1]); | ||
2225 | padapter->sectorCount = cdb[4]; | ||
2226 | padapter->cmd = READ_CMD; | ||
2227 | break; | ||
2228 | case SCSIOP_WRITE: // write10 CDB | ||
2229 | padapter->startSector = XSCSI2LONG (&cdb[2]); | ||
2230 | padapter->sectorCount = (USHORT)cdb[8] | ((USHORT)cdb[7] << 8); | ||
2231 | padapter->cmd = WRITE_CMD; | ||
2232 | break; | ||
2233 | case SCSIOP_WRITE6: // write6 CDB | ||
2234 | padapter->startSector = SCSI2LONG (&cdb[1]); | ||
2235 | padapter->sectorCount = cdb[4]; | ||
2236 | padapter->cmd = WRITE_CMD; | ||
2237 | break; | ||
2238 | default: | ||
2239 | DEB (printk ("pci2220i_queuecommand: Unsupported command %02X\n", *cdb)); | ||
2240 | OpDone (padapter, DID_ERROR << 16); | ||
2241 | return 0; | ||
2242 | } | ||
2243 | |||
2244 | if ( padapter->reconPhase ) | ||
2245 | return 0; | ||
2246 | |||
2247 | padapter->pdev = pdev; | ||
2248 | |||
2249 | while ( padapter->demoFail ) | ||
2250 | { | ||
2251 | pdev = padapter->pdev = &padapter->device[0]; | ||
2252 | padapter->demoFail = FALSE; | ||
2253 | if ( !pdev->raid || | ||
2254 | (pdev->DiskMirror[0].status & UCBF_SURVIVOR) || | ||
2255 | (pdev->DiskMirror[1].status & UCBF_SURVIVOR) ) | ||
2256 | { | ||
2257 | break; | ||
2258 | } | ||
2259 | if ( pdev->DiskMirror[0].status & UCBF_REBUILD ) | ||
2260 | padapter->survivor = 1; | ||
2261 | else | ||
2262 | padapter->survivor = 0; | ||
2263 | DEB (printk ("\npci2220i: FAILURE 19")); | ||
2264 | if ( InitFailover (padapter, pdev) ) | ||
2265 | break; | ||
2266 | return 0; | ||
2267 | } | ||
2268 | |||
2269 | StartTimer (padapter); | ||
2270 | if ( pdev->raid && (padapter->cmd == WRITE_CMD) ) | ||
2271 | { | ||
2272 | rc = IdeCmdBoth (padapter, pdev); | ||
2273 | if ( !rc ) | ||
2274 | rc = WriteDataBoth (padapter, pdev); | ||
2275 | if ( rc ) | ||
2276 | { | ||
2277 | del_timer (&padapter->timer); | ||
2278 | padapter->expectingIRQ = 0; | ||
2279 | padapter->survivor = rc >> 1; | ||
2280 | DEB (printk ("\npci2220i: FAILURE 20")); | ||
2281 | if ( InitFailover (padapter, pdev) ) | ||
2282 | { | ||
2283 | OpDone (padapter, DID_ERROR << 16); | ||
2284 | return 0; | ||
2285 | } | ||
2286 | } | ||
2287 | } | ||
2288 | else | ||
2289 | { | ||
2290 | rc = IdeCmd (padapter, pdev); | ||
2291 | if ( (padapter->cmd == WRITE_CMD) && !rc ) | ||
2292 | rc = WriteData (padapter); | ||
2293 | if ( rc ) | ||
2294 | { | ||
2295 | del_timer (&padapter->timer); | ||
2296 | padapter->expectingIRQ = 0; | ||
2297 | if ( pdev->raid ) | ||
2298 | { | ||
2299 | padapter->survivor = (pdev->spigot ^ 3) >> 1; | ||
2300 | DEB (printk ("\npci2220i: FAILURE 21")); | ||
2301 | if ( !InitFailover (padapter, pdev) ) | ||
2302 | return 0; | ||
2303 | } | ||
2304 | OpDone (padapter, DID_ERROR << 16); | ||
2305 | return 0; | ||
2306 | } | ||
2307 | } | ||
2308 | return 0; | ||
2309 | } | ||
2310 | /**************************************************************** | ||
2311 | * Name: ReadFlash | ||
2312 | * | ||
2313 | * Description: Read information from controller Flash memory. | ||
2314 | * | ||
2315 | * Parameters: padapter - Pointer to host interface data structure. | ||
2316 | * pdata - Pointer to data structures. | ||
2317 | * base - base address in Flash. | ||
2318 | * length - lenght of data space in bytes. | ||
2319 | * | ||
2320 | * Returns: Nothing. | ||
2321 | * | ||
2322 | ****************************************************************/ | ||
2323 | static VOID ReadFlash (PADAPTER2220I padapter, VOID *pdata, ULONG base, ULONG length) | ||
2324 | { | ||
2325 | ULONG oldremap; | ||
2326 | UCHAR olddesc; | ||
2327 | ULONG z; | ||
2328 | UCHAR *pd = (UCHAR *)pdata; | ||
2329 | |||
2330 | oldremap = inl (padapter->regRemap); // save values to restore later | ||
2331 | olddesc = inb_p (padapter->regDesc); | ||
2332 | |||
2333 | outl (base | 1, padapter->regRemap); // remap to Flash space as specified | ||
2334 | outb_p (0x40, padapter->regDesc); // describe remap region as 8 bit | ||
2335 | for ( z = 0; z < length; z++) // get "length" data count | ||
2336 | *pd++ = inb_p (padapter->regBase + z); // read in the data | ||
2337 | |||
2338 | outl (oldremap, padapter->regRemap); // restore remap register values | ||
2339 | outb_p (olddesc, padapter->regDesc); | ||
2340 | } | ||
2341 | /**************************************************************** | ||
2342 | * Name: GetRegs | ||
2343 | * | ||
2344 | * Description: Initialize the regester information. | ||
2345 | * | ||
2346 | * Parameters: pshost - Pointer to SCSI host data structure. | ||
2347 | * bigd - PCI-2240I identifier | ||
2348 | * pcidev - Pointer to device data structure. | ||
2349 | * | ||
2350 | * Returns: TRUE if failure to install. | ||
2351 | * | ||
2352 | ****************************************************************/ | ||
2353 | static USHORT GetRegs (struct Scsi_Host *pshost, BOOL bigd, struct pci_dev *pcidev) | ||
2354 | { | ||
2355 | PADAPTER2220I padapter; | ||
2356 | int setirq; | ||
2357 | int z; | ||
2358 | USHORT zr, zl; | ||
2359 | UCHAR *consistent; | ||
2360 | dma_addr_t consistentDma; | ||
2361 | |||
2362 | padapter = HOSTDATA(pshost); | ||
2363 | memset (padapter, 0, sizeof (ADAPTER2220I)); | ||
2364 | memset (&DaleSetup, 0, sizeof (DaleSetup)); | ||
2365 | memset (DiskMirror, 0, sizeof (DiskMirror)); | ||
2366 | |||
2367 | zr = pci_resource_start (pcidev, 1); | ||
2368 | zl = pci_resource_start (pcidev, 2); | ||
2369 | |||
2370 | padapter->basePort = zr; | ||
2371 | padapter->regRemap = zr + RTR_LOCAL_REMAP; // 32 bit local space remap | ||
2372 | padapter->regDesc = zr + RTR_REGIONS; // 32 bit local region descriptor | ||
2373 | padapter->regRange = zr + RTR_LOCAL_RANGE; // 32 bit local range | ||
2374 | padapter->regIrqControl = zr + RTR_INT_CONTROL_STATUS; // 16 bit interrupt control and status | ||
2375 | padapter->regScratchPad = zr + RTR_MAILBOX; // 16 byte scratchpad I/O base address | ||
2376 | |||
2377 | padapter->regBase = zl; | ||
2378 | padapter->regData = zl + REG_DATA; // data register I/O address | ||
2379 | padapter->regError = zl + REG_ERROR; // error register I/O address | ||
2380 | padapter->regSectCount = zl + REG_SECTOR_COUNT; // sector count register I/O address | ||
2381 | padapter->regLba0 = zl + REG_LBA_0; // least significant byte of LBA | ||
2382 | padapter->regLba8 = zl + REG_LBA_8; // next least significant byte of LBA | ||
2383 | padapter->regLba16 = zl + REG_LBA_16; // next most significan byte of LBA | ||
2384 | padapter->regLba24 = zl + REG_LBA_24; // head and most 4 significant bits of LBA | ||
2385 | padapter->regStatCmd = zl + REG_STAT_CMD; // status on read and command on write register | ||
2386 | padapter->regStatSel = zl + REG_STAT_SEL; // board status on read and spigot select on write register | ||
2387 | padapter->regFail = zl + REG_FAIL; | ||
2388 | padapter->regAltStat = zl + REG_ALT_STAT; | ||
2389 | padapter->pcidev = pcidev; | ||
2390 | |||
2391 | if ( bigd ) | ||
2392 | { | ||
2393 | padapter->regDmaDesc = zr + RTR_DMA0_DESC_PTR; // address of the DMA discriptor register for direction of transfer | ||
2394 | padapter->regDmaCmdStat = zr + RTR_DMA_COMMAND_STATUS; // Byte #0 of DMA command status register | ||
2395 | padapter->regDmaAddrPci = zr + RTR_DMA0_PCI_ADDR; // 32 bit register for PCI address of DMA | ||
2396 | padapter->regDmaAddrLoc = zr + RTR_DMA0_LOCAL_ADDR; // 32 bit register for local bus address of DMA | ||
2397 | padapter->regDmaCount = zr + RTR_DMA0_COUNT; // 32 bit register for DMA transfer count | ||
2398 | padapter->regDmaMode = zr + RTR_DMA0_MODE + 1; // 32 bit register for DMA mode control | ||
2399 | padapter->bigD = SEL_NEW_SPEED_1; // set spigot speed control bit | ||
2400 | } | ||
2401 | else | ||
2402 | { | ||
2403 | padapter->regDmaDesc = zl + RTL_DMA1_DESC_PTR; // address of the DMA discriptor register for direction of transfer | ||
2404 | padapter->regDmaCmdStat = zl + RTL_DMA_COMMAND_STATUS + 1; // Byte #1 of DMA command status register | ||
2405 | padapter->regDmaAddrPci = zl + RTL_DMA1_PCI_ADDR; // 32 bit register for PCI address of DMA | ||
2406 | padapter->regDmaAddrLoc = zl + RTL_DMA1_LOCAL_ADDR; // 32 bit register for local bus address of DMA | ||
2407 | padapter->regDmaCount = zl + RTL_DMA1_COUNT; // 32 bit register for DMA transfer count | ||
2408 | padapter->regDmaMode = zl + RTL_DMA1_MODE + 1; // 32 bit register for DMA mode control | ||
2409 | } | ||
2410 | |||
2411 | padapter->numberOfDrives = inb_p (padapter->regScratchPad + BIGD_NUM_DRIVES); | ||
2412 | if ( !bigd && !padapter->numberOfDrives ) // if no devices on this board | ||
2413 | return TRUE; | ||
2414 | |||
2415 | pshost->irq = pcidev->irq; | ||
2416 | setirq = 1; | ||
2417 | for ( z = 0; z < Installed; z++ ) // scan for shared interrupts | ||
2418 | { | ||
2419 | if ( PsiHost[z]->irq == pshost->irq ) // if shared then, don't posses | ||
2420 | setirq = 0; | ||
2421 | } | ||
2422 | if ( setirq ) // if not shared, posses | ||
2423 | { | ||
2424 | if ( request_irq (pshost->irq, Irq_Handler, SA_SHIRQ, "pci2220i", padapter) < 0 ) | ||
2425 | { | ||
2426 | if ( request_irq (pshost->irq, Irq_Handler, SA_INTERRUPT | SA_SHIRQ, "pci2220i", padapter) < 0 ) | ||
2427 | { | ||
2428 | printk ("Unable to allocate IRQ for PCI-2220I controller.\n"); | ||
2429 | return TRUE; | ||
2430 | } | ||
2431 | } | ||
2432 | padapter->irqOwned = pshost->irq; // set IRQ as owned | ||
2433 | } | ||
2434 | |||
2435 | if ( padapter->numberOfDrives ) | ||
2436 | consistent = pci_alloc_consistent (pcidev, SECTORSXFER * BYTES_PER_SECTOR, &consistentDma); | ||
2437 | else | ||
2438 | consistent = pci_alloc_consistent (pcidev, ATAPI_TRANSFER, &consistentDma); | ||
2439 | if ( !consistent ) | ||
2440 | { | ||
2441 | printk ("Unable to allocate DMA buffer for PCI-2220I controller.\n"); | ||
2442 | free_irq (pshost->irq, padapter); | ||
2443 | return TRUE; | ||
2444 | } | ||
2445 | padapter->kBuffer = consistent; | ||
2446 | padapter->kBufferDma = consistentDma; | ||
2447 | |||
2448 | PsiHost[Installed] = pshost; // save SCSI_HOST pointer | ||
2449 | pshost->io_port = padapter->basePort; | ||
2450 | pshost->n_io_port = 0xFF; | ||
2451 | pshost->unique_id = padapter->regBase; | ||
2452 | |||
2453 | outb_p (0x01, padapter->regRange); // fix our range register because other drivers want to tromp on it | ||
2454 | |||
2455 | padapter->timingMode = inb_p (padapter->regScratchPad + DALE_TIMING_MODE); | ||
2456 | if ( padapter->timingMode >= 2 ) | ||
2457 | { | ||
2458 | if ( bigd ) | ||
2459 | padapter->timingAddress = ModeArray2[padapter->timingMode - 2]; | ||
2460 | else | ||
2461 | padapter->timingAddress = ModeArray[padapter->timingMode - 2]; | ||
2462 | } | ||
2463 | else | ||
2464 | padapter->timingPIO = TRUE; | ||
2465 | |||
2466 | ReadFlash (padapter, &DaleSetup, DALE_FLASH_SETUP, sizeof (SETUP)); | ||
2467 | ReadFlash (padapter, &DiskMirror, DALE_FLASH_RAID, sizeof (DiskMirror)); | ||
2468 | |||
2469 | return FALSE; | ||
2470 | } | ||
2471 | /**************************************************************** | ||
2472 | * Name: SetupFinish | ||
2473 | * | ||
2474 | * Description: Complete the driver initialization process for a card | ||
2475 | * | ||
2476 | * Parameters: padapter - Pointer to SCSI host data structure. | ||
2477 | * str - Pointer to board type string. | ||
2478 | * | ||
2479 | * Returns: Nothing. | ||
2480 | * | ||
2481 | ****************************************************************/ | ||
2482 | VOID SetupFinish (PADAPTER2220I padapter, char *str, int irq) | ||
2483 | { | ||
2484 | init_timer (&padapter->timer); | ||
2485 | padapter->timer.function = TimerExpiry; | ||
2486 | padapter->timer.data = (unsigned long)padapter; | ||
2487 | init_timer (&padapter->reconTimer); | ||
2488 | padapter->reconTimer.function = ReconTimerExpiry; | ||
2489 | padapter->reconTimer.data = (unsigned long)padapter; | ||
2490 | printk("\nPCI-%sI EIDE CONTROLLER: at I/O = %lX/%lX IRQ = %d\n", str, padapter->basePort, padapter->regBase, irq); | ||
2491 | printk("Version %s, Compiled %s %s\n\n", PCI2220I_VERSION, __DATE__, __TIME__); | ||
2492 | } | ||
2493 | /**************************************************************** | ||
2494 | * Name: Pci2220i_Detect | ||
2495 | * | ||
2496 | * Description: Detect and initialize our boards. | ||
2497 | * | ||
2498 | * Parameters: tpnt - Pointer to SCSI host template structure. | ||
2499 | * | ||
2500 | * Returns: Number of adapters installed. | ||
2501 | * | ||
2502 | ****************************************************************/ | ||
2503 | int Pci2220i_Detect (Scsi_Host_Template *tpnt) | ||
2504 | { | ||
2505 | struct Scsi_Host *pshost; | ||
2506 | PADAPTER2220I padapter; | ||
2507 | POUR_DEVICE pdev; | ||
2508 | int unit; | ||
2509 | int z; | ||
2510 | USHORT raidon; | ||
2511 | UCHAR spigot1, spigot2; | ||
2512 | UCHAR device; | ||
2513 | struct pci_dev *pcidev = NULL; | ||
2514 | |||
2515 | while ( (pcidev = pci_find_device (VENDOR_PSI, DEVICE_DALE_1, pcidev)) != NULL ) | ||
2516 | { | ||
2517 | if (pci_enable_device(pcidev)) | ||
2518 | continue; | ||
2519 | pshost = scsi_register (tpnt, sizeof(ADAPTER2220I)); | ||
2520 | if(pshost==NULL) | ||
2521 | continue; | ||
2522 | |||
2523 | padapter = HOSTDATA(pshost); | ||
2524 | |||
2525 | if ( GetRegs (pshost, FALSE, pcidev) ) | ||
2526 | goto unregister; | ||
2527 | |||
2528 | scsi_set_device(pshost, &pcidev->dev); | ||
2529 | pshost->max_id = padapter->numberOfDrives; | ||
2530 | for ( z = 0; z < padapter->numberOfDrives; z++ ) | ||
2531 | { | ||
2532 | unit = inb_p (padapter->regScratchPad + DALE_CHANNEL_DEVICE_0 + z) & 0x0F; | ||
2533 | pdev = &padapter->device[z]; | ||
2534 | pdev->byte6 = (UCHAR)(((unit & 1) << 4) | 0xE0); | ||
2535 | pdev->spigot = (UCHAR)(1 << (unit >> 1)); | ||
2536 | pdev->sectors = DaleSetup.setupDevice[unit].sectors; | ||
2537 | pdev->heads = DaleSetup.setupDevice[unit].heads; | ||
2538 | pdev->cylinders = DaleSetup.setupDevice[unit].cylinders; | ||
2539 | pdev->blocks = DaleSetup.setupDevice[unit].blocks; | ||
2540 | |||
2541 | if ( !z ) | ||
2542 | { | ||
2543 | DiskMirror[0].status = inb_p (padapter->regScratchPad + DALE_RAID_0_STATUS); | ||
2544 | DiskMirror[1].status = inb_p (padapter->regScratchPad + DALE_RAID_1_STATUS); | ||
2545 | if ( (DiskMirror[0].signature == SIGNATURE) && (DiskMirror[1].signature == SIGNATURE) && | ||
2546 | (DiskMirror[0].pairIdentifier == (DiskMirror[1].pairIdentifier ^ 1)) ) | ||
2547 | { | ||
2548 | raidon = TRUE; | ||
2549 | if ( unit > (unit ^ 2) ) | ||
2550 | unit = unit ^ 2; | ||
2551 | } | ||
2552 | else | ||
2553 | raidon = FALSE; | ||
2554 | |||
2555 | memcpy (pdev->DiskMirror, DiskMirror, sizeof (DiskMirror)); | ||
2556 | padapter->raidData[0] = &pdev->DiskMirror[0]; | ||
2557 | padapter->raidData[2] = &pdev->DiskMirror[1]; | ||
2558 | |||
2559 | spigot1 = spigot2 = FALSE; | ||
2560 | pdev->spigots[0] = 1; | ||
2561 | pdev->spigots[1] = 2; | ||
2562 | pdev->lastsectorlba[0] = InlineIdentify (padapter, 1, 0); | ||
2563 | pdev->lastsectorlba[1] = InlineIdentify (padapter, 2, 0); | ||
2564 | |||
2565 | if ( !(pdev->DiskMirror[1].status & UCBF_SURVIVOR) && pdev->lastsectorlba[0] ) | ||
2566 | spigot1 = TRUE; | ||
2567 | if ( !(pdev->DiskMirror[0].status & UCBF_SURVIVOR) && pdev->lastsectorlba[1] ) | ||
2568 | spigot2 = TRUE; | ||
2569 | if ( pdev->DiskMirror[0].status & DiskMirror[1].status & UCBF_SURVIVOR ) | ||
2570 | spigot1 = TRUE; | ||
2571 | |||
2572 | if ( spigot1 && (pdev->DiskMirror[0].status & UCBF_REBUILD) ) | ||
2573 | InlineReadSignature (padapter, pdev, 0); | ||
2574 | if ( spigot2 && (pdev->DiskMirror[1].status & UCBF_REBUILD) ) | ||
2575 | InlineReadSignature (padapter, pdev, 1); | ||
2576 | |||
2577 | if ( spigot1 && spigot2 && raidon ) | ||
2578 | { | ||
2579 | pdev->raid = 1; | ||
2580 | if ( pdev->DiskMirror[0].status & UCBF_REBUILD ) | ||
2581 | pdev->spigot = 2; | ||
2582 | else | ||
2583 | pdev->spigot = 1; | ||
2584 | if ( (pdev->DiskMirror[0].status & UCBF_REBUILD) || (pdev->DiskMirror[1].status & UCBF_REBUILD) ) | ||
2585 | padapter->reconOn = pdev->reconOn = pdev->reconIsStarting = TRUE; | ||
2586 | } | ||
2587 | else | ||
2588 | { | ||
2589 | if ( spigot1 ) | ||
2590 | { | ||
2591 | if ( pdev->DiskMirror[0].status & UCBF_REBUILD ) | ||
2592 | goto unregister; | ||
2593 | pdev->DiskMirror[0].status = UCBF_MIRRORED | UCBF_SURVIVOR; | ||
2594 | pdev->spigot = 1; | ||
2595 | } | ||
2596 | else | ||
2597 | { | ||
2598 | if ( pdev->DiskMirror[1].status & UCBF_REBUILD ) | ||
2599 | goto unregister; | ||
2600 | pdev->DiskMirror[1].status = UCBF_MIRRORED | UCBF_SURVIVOR; | ||
2601 | pdev->spigot = 2; | ||
2602 | } | ||
2603 | if ( DaleSetup.rebootRebuild && raidon ) | ||
2604 | padapter->reconOn = pdev->reconOn = pdev->reconIsStarting = TRUE; | ||
2605 | } | ||
2606 | |||
2607 | if ( raidon ) | ||
2608 | break; | ||
2609 | } | ||
2610 | } | ||
2611 | |||
2612 | SetupFinish (padapter, "2220", pshost->irq); | ||
2613 | |||
2614 | if ( ++Installed < MAXADAPTER ) | ||
2615 | continue; | ||
2616 | break; | ||
2617 | unregister:; | ||
2618 | scsi_unregister (pshost); | ||
2619 | } | ||
2620 | |||
2621 | while ( (pcidev = pci_find_device (VENDOR_PSI, DEVICE_BIGD_1, pcidev)) != NULL ) | ||
2622 | { | ||
2623 | pshost = scsi_register (tpnt, sizeof(ADAPTER2220I)); | ||
2624 | padapter = HOSTDATA(pshost); | ||
2625 | |||
2626 | if ( GetRegs (pshost, TRUE, pcidev) ) | ||
2627 | goto unregister1; | ||
2628 | |||
2629 | for ( z = 0; z < BIGD_MAXDRIVES; z++ ) | ||
2630 | DiskMirror[z].status = inb_p (padapter->regScratchPad + BIGD_RAID_0_STATUS + z); | ||
2631 | |||
2632 | scsi_set_pci_device(pshost, pcidev); | ||
2633 | pshost->max_id = padapter->numberOfDrives; | ||
2634 | padapter->failRegister = inb_p (padapter->regScratchPad + BIGD_ALARM_IMAGE); | ||
2635 | for ( z = 0; z < padapter->numberOfDrives; z++ ) | ||
2636 | { | ||
2637 | unit = inb_p (padapter->regScratchPad + BIGD_DEVICE_0 + z); | ||
2638 | pdev = &padapter->device[z]; | ||
2639 | pdev->byte6 = (UCHAR)(((unit & 1) << 4) | 0xE0); | ||
2640 | pdev->spigot = (UCHAR)(1 << (unit >> 1)); | ||
2641 | pdev->sectors = DaleSetup.setupDevice[unit].sectors; | ||
2642 | pdev->heads = DaleSetup.setupDevice[unit].heads; | ||
2643 | pdev->cylinders = DaleSetup.setupDevice[unit].cylinders; | ||
2644 | pdev->blocks = DaleSetup.setupDevice[unit].blocks; | ||
2645 | |||
2646 | if ( (DiskMirror[unit].signature == SIGNATURE) && (DiskMirror[unit ^ 2].signature == SIGNATURE) && | ||
2647 | (DiskMirror[unit].pairIdentifier == (DiskMirror[unit ^ 2].pairIdentifier ^ 1)) ) | ||
2648 | { | ||
2649 | raidon = TRUE; | ||
2650 | if ( unit > (unit ^ 2) ) | ||
2651 | unit = unit ^ 2; | ||
2652 | } | ||
2653 | else | ||
2654 | raidon = FALSE; | ||
2655 | |||
2656 | spigot1 = spigot2 = FALSE; | ||
2657 | memcpy (&pdev->DiskMirror[0], &DiskMirror[unit], sizeof (DISK_MIRROR)); | ||
2658 | memcpy (&pdev->DiskMirror[1], &DiskMirror[unit ^ 2], sizeof (DISK_MIRROR)); | ||
2659 | padapter->raidData[unit] = &pdev->DiskMirror[0]; | ||
2660 | padapter->raidData[unit ^ 2] = &pdev->DiskMirror[1]; | ||
2661 | pdev->spigots[0] = 1 << (unit >> 1); | ||
2662 | pdev->spigots[1] = 1 << ((unit ^ 2) >> 1); | ||
2663 | pdev->deviceID[0] = unit; | ||
2664 | pdev->deviceID[1] = unit ^ 2; | ||
2665 | pdev->lastsectorlba[0] = InlineIdentify (padapter, pdev->spigots[0], unit & 1); | ||
2666 | pdev->lastsectorlba[1] = InlineIdentify (padapter, pdev->spigots[1], unit & 1); | ||
2667 | |||
2668 | if ( !(pdev->DiskMirror[1].status & UCBF_SURVIVOR) && pdev->lastsectorlba[0] ) | ||
2669 | spigot1 = TRUE; | ||
2670 | if ( !(pdev->DiskMirror[0].status & UCBF_SURVIVOR) && pdev->lastsectorlba[1] ) | ||
2671 | spigot2 = TRUE; | ||
2672 | if ( pdev->DiskMirror[0].status & pdev->DiskMirror[1].status & UCBF_SURVIVOR ) | ||
2673 | spigot1 = TRUE; | ||
2674 | |||
2675 | if ( spigot1 && (pdev->DiskMirror[0].status & UCBF_REBUILD) ) | ||
2676 | InlineReadSignature (padapter, pdev, 0); | ||
2677 | if ( spigot2 && (pdev->DiskMirror[1].status & UCBF_REBUILD) ) | ||
2678 | InlineReadSignature (padapter, pdev, 1); | ||
2679 | |||
2680 | if ( spigot1 && spigot2 && raidon ) | ||
2681 | { | ||
2682 | pdev->raid = 1; | ||
2683 | if ( pdev->DiskMirror[0].status & UCBF_REBUILD ) | ||
2684 | pdev->spigot = pdev->spigots[1]; | ||
2685 | else | ||
2686 | pdev->spigot = pdev->spigots[0]; | ||
2687 | if ( (pdev->DiskMirror[0].status & UCBF_REBUILD) || (pdev->DiskMirror[1].status & UCBF_REBUILD) ) | ||
2688 | padapter->reconOn = pdev->reconOn = pdev->reconIsStarting = TRUE; | ||
2689 | } | ||
2690 | else | ||
2691 | { | ||
2692 | if ( spigot1 ) | ||
2693 | { | ||
2694 | if ( pdev->DiskMirror[0].status & UCBF_REBUILD ) | ||
2695 | goto unregister1; | ||
2696 | pdev->DiskMirror[0].status = UCBF_MIRRORED | UCBF_SURVIVOR; | ||
2697 | pdev->spigot = pdev->spigots[0]; | ||
2698 | } | ||
2699 | else | ||
2700 | { | ||
2701 | if ( pdev->DiskMirror[1].status & UCBF_REBUILD ) | ||
2702 | goto unregister; | ||
2703 | pdev->DiskMirror[1].status = UCBF_MIRRORED | UCBF_SURVIVOR; | ||
2704 | pdev->spigot = pdev->spigots[1]; | ||
2705 | } | ||
2706 | if ( DaleSetup.rebootRebuild && raidon ) | ||
2707 | padapter->reconOn = pdev->reconOn = pdev->reconIsStarting = TRUE; | ||
2708 | } | ||
2709 | } | ||
2710 | |||
2711 | if ( !padapter->numberOfDrives ) // If no ATA devices then scan ATAPI | ||
2712 | { | ||
2713 | unit = 0; | ||
2714 | for ( spigot1 = 0; spigot1 < 4; spigot1++ ) | ||
2715 | { | ||
2716 | for ( device = 0; device < 2; device++ ) | ||
2717 | { | ||
2718 | DEB (printk ("\nPCI2242I: scanning for ID %d ", (spigot1 * 2) + device)); | ||
2719 | pdev = &(padapter->device[(spigot1 * 2) + device]); | ||
2720 | pdev->byte6 = 0x0A | (device << 4); | ||
2721 | pdev->spigot = 1 << spigot1; | ||
2722 | if ( !AtapiReset (padapter, pdev) ) | ||
2723 | { | ||
2724 | DEB (printk (" Device found ")); | ||
2725 | if ( !AtapiIdentify (padapter, pdev) ) | ||
2726 | { | ||
2727 | DEB (printk (" Device verified")); | ||
2728 | unit++; | ||
2729 | continue; | ||
2730 | } | ||
2731 | } | ||
2732 | pdev->spigot = pdev->byte6 = 0; | ||
2733 | } | ||
2734 | } | ||
2735 | |||
2736 | if ( unit ) | ||
2737 | { | ||
2738 | padapter->atapi = TRUE; | ||
2739 | padapter->timingAddress = DALE_DATA_MODE3; | ||
2740 | outw_p (0x0900, padapter->regIrqControl); // Turn our interrupts on | ||
2741 | outw_p (0x0C41, padapter->regDmaMode - 1); // setup for 16 bits, ready enabled, done IRQ enabled, no incriment | ||
2742 | outb_p (0xFF, padapter->regFail); // all fail lights and alarm off | ||
2743 | pshost->max_id = 8; | ||
2744 | } | ||
2745 | } | ||
2746 | SetupFinish (padapter, "2240", pshost->irq); | ||
2747 | |||
2748 | if ( ++Installed < MAXADAPTER ) | ||
2749 | continue; | ||
2750 | break; | ||
2751 | unregister1:; | ||
2752 | scsi_unregister (pshost); | ||
2753 | } | ||
2754 | |||
2755 | NumAdapters = Installed; | ||
2756 | return Installed; | ||
2757 | } | ||
2758 | /**************************************************************** | ||
2759 | * Name: Pci2220i_Abort | ||
2760 | * | ||
2761 | * Description: Process the Abort command from the SCSI manager. | ||
2762 | * | ||
2763 | * Parameters: SCpnt - Pointer to SCSI command structure. | ||
2764 | * | ||
2765 | * Returns: Allways snooze. | ||
2766 | * | ||
2767 | ****************************************************************/ | ||
2768 | int Pci2220i_Abort (Scsi_Cmnd *SCpnt) | ||
2769 | { | ||
2770 | PADAPTER2220I padapter = HOSTDATA(SCpnt->device->host); // Pointer to adapter control structure | ||
2771 | POUR_DEVICE pdev = &padapter->device[SCpnt->device->id];// Pointer to device information | ||
2772 | |||
2773 | if ( !padapter->SCpnt ) | ||
2774 | return SCSI_ABORT_NOT_RUNNING; | ||
2775 | |||
2776 | if ( padapter->atapi ) | ||
2777 | { | ||
2778 | if ( AtapiReset (padapter, pdev) ) | ||
2779 | return SCSI_ABORT_ERROR; | ||
2780 | OpDone (padapter, DID_ABORT << 16); | ||
2781 | return SCSI_ABORT_SUCCESS; | ||
2782 | } | ||
2783 | return SCSI_ABORT_SNOOZE; | ||
2784 | } | ||
2785 | /**************************************************************** | ||
2786 | * Name: Pci2220i_Reset | ||
2787 | * | ||
2788 | * Description: Process the Reset command from the SCSI manager. | ||
2789 | * | ||
2790 | * Parameters: SCpnt - Pointer to SCSI command structure. | ||
2791 | * flags - Flags about the reset command | ||
2792 | * | ||
2793 | * Returns: No active command at this time, so this means | ||
2794 | * that each time we got some kind of response the | ||
2795 | * last time through. Tell the mid-level code to | ||
2796 | * request sense information in order to decide what | ||
2797 | * to do next. | ||
2798 | * | ||
2799 | ****************************************************************/ | ||
2800 | int Pci2220i_Reset (Scsi_Cmnd *SCpnt, unsigned int reset_flags) | ||
2801 | { | ||
2802 | PADAPTER2220I padapter = HOSTDATA(SCpnt->device->host); // Pointer to adapter control structure | ||
2803 | POUR_DEVICE pdev = &padapter->device[SCpnt->device->id];// Pointer to device information | ||
2804 | |||
2805 | if ( padapter->atapi ) | ||
2806 | { | ||
2807 | if ( AtapiReset (padapter, pdev) ) | ||
2808 | return SCSI_RESET_ERROR; | ||
2809 | return SCSI_RESET_SUCCESS; | ||
2810 | } | ||
2811 | return SCSI_RESET_PUNT; | ||
2812 | } | ||
2813 | /**************************************************************** | ||
2814 | * Name: Pci2220i_Release | ||
2815 | * | ||
2816 | * Description: Release resources allocated for a single each adapter. | ||
2817 | * | ||
2818 | * Parameters: pshost - Pointer to SCSI command structure. | ||
2819 | * | ||
2820 | * Returns: zero. | ||
2821 | * | ||
2822 | ****************************************************************/ | ||
2823 | int Pci2220i_Release (struct Scsi_Host *pshost) | ||
2824 | { | ||
2825 | PADAPTER2220I padapter = HOSTDATA (pshost); | ||
2826 | USHORT z; | ||
2827 | |||
2828 | if ( padapter->reconOn ) | ||
2829 | { | ||
2830 | padapter->reconOn = FALSE; // shut down the hot reconstruct | ||
2831 | if ( padapter->reconPhase ) | ||
2832 | mdelay (300); | ||
2833 | if ( padapter->reconTimer.data ) // is the timer running? | ||
2834 | { | ||
2835 | del_timer (&padapter->reconTimer); | ||
2836 | padapter->reconTimer.data = 0; | ||
2837 | } | ||
2838 | } | ||
2839 | |||
2840 | // save RAID status on the board | ||
2841 | if ( padapter->bigD ) | ||
2842 | { | ||
2843 | outb_p (padapter->failRegister, padapter->regScratchPad + BIGD_ALARM_IMAGE); | ||
2844 | for ( z = 0; z < BIGD_MAXDRIVES; z++ ) | ||
2845 | { | ||
2846 | if ( padapter->raidData ) | ||
2847 | outb_p (padapter->raidData[z]->status, padapter->regScratchPad + BIGD_RAID_0_STATUS + z); | ||
2848 | else | ||
2849 | outb_p (0, padapter->regScratchPad + BIGD_RAID_0_STATUS); | ||
2850 | } | ||
2851 | } | ||
2852 | else | ||
2853 | { | ||
2854 | outb_p (padapter->device[0].DiskMirror[0].status, padapter->regScratchPad + DALE_RAID_0_STATUS); | ||
2855 | outb_p (padapter->device[0].DiskMirror[1].status, padapter->regScratchPad + DALE_RAID_1_STATUS); | ||
2856 | } | ||
2857 | |||
2858 | if ( padapter->irqOwned ) | ||
2859 | free_irq (pshost->irq, padapter); | ||
2860 | release_region (pshost->io_port, pshost->n_io_port); | ||
2861 | if ( padapter->numberOfDrives ) | ||
2862 | pci_free_consistent (padapter->pcidev, SECTORSXFER * BYTES_PER_SECTOR, padapter->kBuffer, padapter->kBufferDma); | ||
2863 | else | ||
2864 | pci_free_consistent (padapter->pcidev, ATAPI_TRANSFER, padapter->kBuffer, padapter->kBufferDma); | ||
2865 | scsi_unregister(pshost); | ||
2866 | return 0; | ||
2867 | } | ||
2868 | |||
2869 | /**************************************************************** | ||
2870 | * Name: Pci2220i_BiosParam | ||
2871 | * | ||
2872 | * Description: Process the biosparam request from the SCSI manager to | ||
2873 | * return C/H/S data. | ||
2874 | * | ||
2875 | * Parameters: disk - Pointer to SCSI disk structure. | ||
2876 | * dev - Major/minor number from kernel. | ||
2877 | * geom - Pointer to integer array to place geometry data. | ||
2878 | * | ||
2879 | * Returns: zero. | ||
2880 | * | ||
2881 | ****************************************************************/ | ||
2882 | int Pci2220i_BiosParam (struct scsi_device *sdev, struct block_device *dev, | ||
2883 | sector_t capacity, int geom[]) | ||
2884 | { | ||
2885 | POUR_DEVICE pdev; | ||
2886 | |||
2887 | if ( !(HOSTDATA(sdev->host))->atapi ) | ||
2888 | { | ||
2889 | pdev = &(HOSTDATA(sdev->host)->device[sdev->id]); | ||
2890 | |||
2891 | geom[0] = pdev->heads; | ||
2892 | geom[1] = pdev->sectors; | ||
2893 | geom[2] = pdev->cylinders; | ||
2894 | } | ||
2895 | return 0; | ||
2896 | } | ||
2897 | |||
2898 | MODULE_LICENSE("Dual BSD/GPL"); | ||
2899 | |||
2900 | static Scsi_Host_Template driver_template = { | ||
2901 | .proc_name = "pci2220i", | ||
2902 | .name = "PCI-2220I/PCI-2240I", | ||
2903 | .detect = Pci2220i_Detect, | ||
2904 | .release = Pci2220i_Release, | ||
2905 | .queuecommand = Pci2220i_QueueCommand, | ||
2906 | .abort = Pci2220i_Abort, | ||
2907 | .reset = Pci2220i_Reset, | ||
2908 | .bios_param = Pci2220i_BiosParam, | ||
2909 | .can_queue = 1, | ||
2910 | .this_id = -1, | ||
2911 | .sg_tablesize = SG_ALL, | ||
2912 | .cmd_per_lun = 1, | ||
2913 | .use_clustering = DISABLE_CLUSTERING, | ||
2914 | }; | ||
2915 | #include "scsi_module.c" | ||
diff --git a/drivers/scsi/pci2220i.h b/drivers/scsi/pci2220i.h deleted file mode 100644 index 6926056c2aee..000000000000 --- a/drivers/scsi/pci2220i.h +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /**************************************************************************** | ||
2 | * Perceptive Solutions, Inc. PCI-2220I device driver for Linux. | ||
3 | * | ||
4 | * pci2220i.h - Linux Host Driver for PCI-2220i EIDE Adapters | ||
5 | * | ||
6 | * Copyright (c) 1997-1999 Perceptive Solutions, Inc. | ||
7 | * All Rights Reserved. | ||
8 | * | ||
9 | * Redistribution and use in source and binary forms, with or without | ||
10 | * modification, are permitted provided that redistributions of source | ||
11 | * code retain the above copyright notice and this comment without | ||
12 | * modification. | ||
13 | * | ||
14 | * Technical updates and product information at: | ||
15 | * http://www.psidisk.com | ||
16 | * | ||
17 | * Please send questions, comments, bug reports to: | ||
18 | * tech@psidisk.com Technical Support | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | #ifndef _PCI2220I_H | ||
22 | #define _PCI2220I_H | ||
23 | |||
24 | #ifndef LINUX_VERSION_CODE | ||
25 | #include <linux/version.h> | ||
26 | #endif | ||
27 | #define LINUXVERSION(v,p,s) (((v)<<16) + ((p)<<8) + (s)) | ||
28 | |||
29 | // function prototypes | ||
30 | int Pci2220i_Detect (Scsi_Host_Template *tpnt); | ||
31 | int Pci2220i_Command (Scsi_Cmnd *SCpnt); | ||
32 | int Pci2220i_QueueCommand (Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)); | ||
33 | int Pci2220i_Abort (Scsi_Cmnd *SCpnt); | ||
34 | int Pci2220i_Reset (Scsi_Cmnd *SCpnt, unsigned int flags); | ||
35 | int Pci2220i_Release (struct Scsi_Host *pshost); | ||
36 | int Pci2220i_BiosParam (struct scsi_device *sdev, | ||
37 | struct block_device *dev, | ||
38 | sector_t capacity, int geom[]); | ||
39 | #endif | ||
diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c index 496c412c8854..3dddb323e718 100644 --- a/drivers/scsi/pcmcia/nsp_cs.c +++ b/drivers/scsi/pcmcia/nsp_cs.c | |||
@@ -92,9 +92,7 @@ static Scsi_Host_Template nsp_driver_template = { | |||
92 | #endif | 92 | #endif |
93 | .info = nsp_info, | 93 | .info = nsp_info, |
94 | .queuecommand = nsp_queuecommand, | 94 | .queuecommand = nsp_queuecommand, |
95 | /* .eh_strategy_handler = nsp_eh_strategy,*/ | ||
96 | /* .eh_abort_handler = nsp_eh_abort,*/ | 95 | /* .eh_abort_handler = nsp_eh_abort,*/ |
97 | /* .eh_device_reset_handler = nsp_eh_device_reset,*/ | ||
98 | .eh_bus_reset_handler = nsp_eh_bus_reset, | 96 | .eh_bus_reset_handler = nsp_eh_bus_reset, |
99 | .eh_host_reset_handler = nsp_eh_host_reset, | 97 | .eh_host_reset_handler = nsp_eh_host_reset, |
100 | .can_queue = 1, | 98 | .can_queue = 1, |
@@ -1536,11 +1534,6 @@ nsp_proc_info( | |||
1536 | /* error handler */ | 1534 | /* error handler */ |
1537 | /*---------------------------------------------------------------*/ | 1535 | /*---------------------------------------------------------------*/ |
1538 | 1536 | ||
1539 | /*static int nsp_eh_strategy(struct Scsi_Host *Shost) | ||
1540 | { | ||
1541 | return FAILED; | ||
1542 | }*/ | ||
1543 | |||
1544 | /* | 1537 | /* |
1545 | static int nsp_eh_abort(Scsi_Cmnd *SCpnt) | 1538 | static int nsp_eh_abort(Scsi_Cmnd *SCpnt) |
1546 | { | 1539 | { |
@@ -1549,14 +1542,6 @@ static int nsp_eh_abort(Scsi_Cmnd *SCpnt) | |||
1549 | return nsp_eh_bus_reset(SCpnt); | 1542 | return nsp_eh_bus_reset(SCpnt); |
1550 | }*/ | 1543 | }*/ |
1551 | 1544 | ||
1552 | /* | ||
1553 | static int nsp_eh_device_reset(Scsi_Cmnd *SCpnt) | ||
1554 | { | ||
1555 | nsp_dbg(NSP_DEBUG_BUSRESET, "%s: SCpnt=0x%p", SCpnt); | ||
1556 | |||
1557 | return FAILED; | ||
1558 | }*/ | ||
1559 | |||
1560 | static int nsp_bus_reset(nsp_hw_data *data) | 1545 | static int nsp_bus_reset(nsp_hw_data *data) |
1561 | { | 1546 | { |
1562 | unsigned int base = data->BaseAddress; | 1547 | unsigned int base = data->BaseAddress; |
diff --git a/drivers/scsi/pcmcia/qlogic_stub.c b/drivers/scsi/pcmcia/qlogic_stub.c index 4766bcd63692..a0175f5d11cd 100644 --- a/drivers/scsi/pcmcia/qlogic_stub.c +++ b/drivers/scsi/pcmcia/qlogic_stub.c | |||
@@ -81,8 +81,6 @@ static Scsi_Host_Template qlogicfas_driver_template = { | |||
81 | .queuecommand = qlogicfas408_queuecommand, | 81 | .queuecommand = qlogicfas408_queuecommand, |
82 | .eh_abort_handler = qlogicfas408_abort, | 82 | .eh_abort_handler = qlogicfas408_abort, |
83 | .eh_bus_reset_handler = qlogicfas408_bus_reset, | 83 | .eh_bus_reset_handler = qlogicfas408_bus_reset, |
84 | .eh_device_reset_handler= qlogicfas408_device_reset, | ||
85 | .eh_host_reset_handler = qlogicfas408_host_reset, | ||
86 | .bios_param = qlogicfas408_biosparam, | 84 | .bios_param = qlogicfas408_biosparam, |
87 | .can_queue = 1, | 85 | .can_queue = 1, |
88 | .this_id = -1, | 86 | .this_id = -1, |
diff --git a/drivers/scsi/pcmcia/sym53c500_cs.c b/drivers/scsi/pcmcia/sym53c500_cs.c index 8457d0d7748a..1667da9508b4 100644 --- a/drivers/scsi/pcmcia/sym53c500_cs.c +++ b/drivers/scsi/pcmcia/sym53c500_cs.c | |||
@@ -627,7 +627,9 @@ SYM53C500_host_reset(struct scsi_cmnd *SCpnt) | |||
627 | int port_base = SCpnt->device->host->io_port; | 627 | int port_base = SCpnt->device->host->io_port; |
628 | 628 | ||
629 | DEB(printk("SYM53C500_host_reset called\n")); | 629 | DEB(printk("SYM53C500_host_reset called\n")); |
630 | spin_lock_irq(SCpnt->device->host->host_lock); | ||
630 | SYM53C500_int_host_reset(port_base); | 631 | SYM53C500_int_host_reset(port_base); |
632 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
631 | 633 | ||
632 | return SUCCESS; | 634 | return SUCCESS; |
633 | } | 635 | } |
diff --git a/drivers/scsi/pluto.c b/drivers/scsi/pluto.c index c01b7191fcf5..623082d3a83f 100644 --- a/drivers/scsi/pluto.c +++ b/drivers/scsi/pluto.c | |||
@@ -354,7 +354,6 @@ static Scsi_Host_Template driver_template = { | |||
354 | .use_clustering = ENABLE_CLUSTERING, | 354 | .use_clustering = ENABLE_CLUSTERING, |
355 | .eh_abort_handler = fcp_scsi_abort, | 355 | .eh_abort_handler = fcp_scsi_abort, |
356 | .eh_device_reset_handler = fcp_scsi_dev_reset, | 356 | .eh_device_reset_handler = fcp_scsi_dev_reset, |
357 | .eh_bus_reset_handler = fcp_scsi_bus_reset, | ||
358 | .eh_host_reset_handler = fcp_scsi_host_reset, | 357 | .eh_host_reset_handler = fcp_scsi_host_reset, |
359 | }; | 358 | }; |
360 | 359 | ||
diff --git a/drivers/scsi/ppa.c b/drivers/scsi/ppa.c index 96b4522523d9..fafcf5d185e7 100644 --- a/drivers/scsi/ppa.c +++ b/drivers/scsi/ppa.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/blkdev.h> | 17 | #include <linux/blkdev.h> |
18 | #include <linux/parport.h> | 18 | #include <linux/parport.h> |
19 | #include <linux/workqueue.h> | 19 | #include <linux/workqueue.h> |
20 | #include <linux/delay.h> | ||
20 | #include <asm/io.h> | 21 | #include <asm/io.h> |
21 | 22 | ||
22 | #include <scsi/scsi.h> | 23 | #include <scsi/scsi.h> |
@@ -891,9 +892,9 @@ static int ppa_reset(struct scsi_cmnd *cmd) | |||
891 | 892 | ||
892 | ppa_connect(dev, CONNECT_NORMAL); | 893 | ppa_connect(dev, CONNECT_NORMAL); |
893 | ppa_reset_pulse(dev->base); | 894 | ppa_reset_pulse(dev->base); |
894 | udelay(1000); /* device settle delay */ | 895 | mdelay(1); /* device settle delay */ |
895 | ppa_disconnect(dev); | 896 | ppa_disconnect(dev); |
896 | udelay(1000); /* device settle delay */ | 897 | mdelay(1); /* device settle delay */ |
897 | return SUCCESS; | 898 | return SUCCESS; |
898 | } | 899 | } |
899 | 900 | ||
diff --git a/drivers/scsi/psi_dale.h b/drivers/scsi/psi_dale.h deleted file mode 100644 index d672e3b01982..000000000000 --- a/drivers/scsi/psi_dale.h +++ /dev/null | |||
@@ -1,564 +0,0 @@ | |||
1 | /**************************************************************************** | ||
2 | * Perceptive Solutions, Inc. PCI-2220I device driver for Linux. | ||
3 | * | ||
4 | * psi_dalei.h - Linux Host Driver for PCI-2220i EIDE Adapters | ||
5 | * | ||
6 | * Copyright (c) 1997-1999 Perceptive Solutions, Inc. | ||
7 | * All Rights Reserved. | ||
8 | * | ||
9 | * Redistribution and use in source and binary forms, with or without | ||
10 | * modification, are permitted provided that redistributions of source | ||
11 | * code retain the above copyright notice and this comment without | ||
12 | * modification. | ||
13 | * | ||
14 | * Technical updates and product information at: | ||
15 | * http://www.psidisk.com | ||
16 | * | ||
17 | * Please send questions, comments, bug reports to: | ||
18 | * tech@psidisk.com Technical Support | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | |||
22 | /************************************************/ | ||
23 | /* Some defines that we like */ | ||
24 | /************************************************/ | ||
25 | #define CHAR char | ||
26 | #define UCHAR unsigned char | ||
27 | #define SHORT short | ||
28 | #define USHORT unsigned short | ||
29 | #define BOOL unsigned short | ||
30 | #define LONG long | ||
31 | #define ULONG unsigned long | ||
32 | #define VOID void | ||
33 | |||
34 | /************************************************/ | ||
35 | /* Dale PCI setup */ | ||
36 | /************************************************/ | ||
37 | #define VENDOR_PSI 0x1256 | ||
38 | #define DEVICE_DALE_1 0x4401 /* 'D1' */ | ||
39 | #define DEVICE_BIGD_1 0x4201 /* 'B1' */ | ||
40 | #define DEVICE_BIGD_2 0x4202 /* 'B2' */ | ||
41 | |||
42 | /************************************************/ | ||
43 | /* Misc konstants */ | ||
44 | /************************************************/ | ||
45 | #define DALE_MAXDRIVES 4 | ||
46 | #define BIGD_MAXDRIVES 8 | ||
47 | #define SECTORSXFER 8 | ||
48 | #define ATAPI_TRANSFER 8192 | ||
49 | #define BYTES_PER_SECTOR 512 | ||
50 | #define DEFAULT_TIMING_MODE 5 | ||
51 | |||
52 | /************************************************/ | ||
53 | /* EEPROM locations */ | ||
54 | /************************************************/ | ||
55 | #define DALE_FLASH_PAGE_SIZE 128 // number of bytes per page | ||
56 | #define DALE_FLASH_SIZE 65536L | ||
57 | |||
58 | #define DALE_FLASH_BIOS 0x00080000L // BIOS base address | ||
59 | #define DALE_FLASH_SETUP 0x00088000L // SETUP PROGRAM base address offset from BIOS | ||
60 | #define DALE_FLASH_RAID 0x00088400L // RAID signature storage | ||
61 | #define DALE_FLASH_FACTORY 0x00089000L // FACTORY data base address offset from BIOS | ||
62 | |||
63 | #define DALE_FLASH_BIOS_SIZE 32768U // size of FLASH BIOS REGION | ||
64 | |||
65 | /************************************************/ | ||
66 | /* DALE Register address offsets */ | ||
67 | /************************************************/ | ||
68 | #define REG_DATA 0x80 | ||
69 | #define REG_ERROR 0x84 | ||
70 | #define REG_SECTOR_COUNT 0x88 | ||
71 | #define REG_LBA_0 0x8C | ||
72 | #define REG_LBA_8 0x90 | ||
73 | #define REG_LBA_16 0x94 | ||
74 | #define REG_LBA_24 0x98 | ||
75 | #define REG_STAT_CMD 0x9C | ||
76 | #define REG_STAT_SEL 0xA0 | ||
77 | #define REG_FAIL 0xB0 | ||
78 | #define REG_ALT_STAT 0xB8 | ||
79 | #define REG_DRIVE_ADRS 0xBC | ||
80 | |||
81 | #define DALE_DATA_SLOW 0x00040000L | ||
82 | #define DALE_DATA_MODE2 0x00040000L | ||
83 | #define DALE_DATA_MODE3 0x00050000L | ||
84 | #define DALE_DATA_MODE4 0x00060000L | ||
85 | #define DALE_DATA_MODE5 0x00070000L | ||
86 | |||
87 | #define BIGD_DATA_SLOW 0x00000000L | ||
88 | #define BIGD_DATA_MODE0 0x00000000L | ||
89 | #define BIGD_DATA_MODE2 0x00000000L | ||
90 | #define BIGD_DATA_MODE3 0x00000008L | ||
91 | #define BIGD_DATA_MODE4 0x00000010L | ||
92 | #define BIGD_DATA_MODE5 0x00000020L | ||
93 | |||
94 | #define RTR_LOCAL_RANGE 0x000 | ||
95 | #define RTR_LOCAL_REMAP 0x004 | ||
96 | #define RTR_EXP_RANGE 0x010 | ||
97 | #define RTR_EXP_REMAP 0x014 | ||
98 | #define RTR_REGIONS 0x018 | ||
99 | #define RTR_DM_MASK 0x01C | ||
100 | #define RTR_DM_LOCAL_BASE 0x020 | ||
101 | #define RTR_DM_IO_BASE 0x024 | ||
102 | #define RTR_DM_PCI_REMAP 0x028 | ||
103 | #define RTR_DM_IO_CONFIG 0x02C | ||
104 | #define RTR_MAILBOX 0x040 | ||
105 | #define RTR_LOCAL_DOORBELL 0x060 | ||
106 | #define RTR_PCI_DOORBELL 0x064 | ||
107 | #define RTR_INT_CONTROL_STATUS 0x068 | ||
108 | #define RTR_EEPROM_CONTROL_STATUS 0x06C | ||
109 | |||
110 | #define RTR_DMA0_MODE 0x0080 | ||
111 | #define RTR_DMA0_PCI_ADDR 0x0084 | ||
112 | #define RTR_DMA0_LOCAL_ADDR 0x0088 | ||
113 | #define RTR_DMA0_COUNT 0x008C | ||
114 | #define RTR_DMA0_DESC_PTR 0x0090 | ||
115 | #define RTR_DMA1_MODE 0x0094 | ||
116 | #define RTR_DMA1_PCI_ADDR 0x0098 | ||
117 | #define RTR_DMA1_LOCAL_ADDR 0x009C | ||
118 | #define RTR_DMA1_COUNT 0x00A0 | ||
119 | #define RTR_DMA1_DESC_PTR 0x00A4 | ||
120 | #define RTR_DMA_COMMAND_STATUS 0x00A8 | ||
121 | #define RTR_DMA_ARB0 0x00AC | ||
122 | #define RTR_DMA_ARB1 0x00B0 | ||
123 | |||
124 | #define RTL_DMA0_MODE 0x00 | ||
125 | #define RTL_DMA0_PCI_ADDR 0x04 | ||
126 | #define RTL_DMA0_LOCAL_ADDR 0x08 | ||
127 | #define RTL_DMA0_COUNT 0x0C | ||
128 | #define RTL_DMA0_DESC_PTR 0x10 | ||
129 | #define RTL_DMA1_MODE 0x14 | ||
130 | #define RTL_DMA1_PCI_ADDR 0x18 | ||
131 | #define RTL_DMA1_LOCAL_ADDR 0x1C | ||
132 | #define RTL_DMA1_COUNT 0x20 | ||
133 | #define RTL_DMA1_DESC_PTR 0x24 | ||
134 | #define RTL_DMA_COMMAND_STATUS 0x28 | ||
135 | #define RTL_DMA_ARB0 0x2C | ||
136 | #define RTL_DMA_ARB1 0x30 | ||
137 | |||
138 | /************************************************/ | ||
139 | /* Dale Scratchpad locations */ | ||
140 | /************************************************/ | ||
141 | #define DALE_CHANNEL_DEVICE_0 0 // device channel locations | ||
142 | #define DALE_CHANNEL_DEVICE_1 1 | ||
143 | #define DALE_CHANNEL_DEVICE_2 2 | ||
144 | #define DALE_CHANNEL_DEVICE_3 3 | ||
145 | |||
146 | #define DALE_SCRATCH_DEVICE_0 4 // device type codes | ||
147 | #define DALE_SCRATCH_DEVICE_1 5 | ||
148 | #define DALE_SCRATCH_DEVICE_2 6 | ||
149 | #define DALE_SCRATCH_DEVICE_3 7 | ||
150 | |||
151 | #define DALE_RAID_0_STATUS 8 | ||
152 | #define DALE_RAID_1_STATUS 9 | ||
153 | |||
154 | #define DALE_TIMING_MODE 12 // bus master timing mode (2, 3, 4, 5) | ||
155 | #define DALE_NUM_DRIVES 13 // number of addressable drives on this board | ||
156 | #define DALE_RAID_ON 14 // RAID status On | ||
157 | #define DALE_LAST_ERROR 15 // Last error code from BIOS | ||
158 | |||
159 | /************************************************/ | ||
160 | /* BigD Scratchpad locations */ | ||
161 | /************************************************/ | ||
162 | #define BIGD_DEVICE_0 0 // device channel locations | ||
163 | #define BIGD_DEVICE_1 1 | ||
164 | #define BIGD_DEVICE_2 2 | ||
165 | #define BIGD_DEVICE_3 3 | ||
166 | |||
167 | #define BIGD_DEVICE_4 4 // device type codes | ||
168 | #define BIGD_DEVICE_5 5 | ||
169 | #define BIGD_DEVICE_6 6 | ||
170 | #define BIGD_DEVICE_7 7 | ||
171 | |||
172 | #define BIGD_ALARM_IMAGE 11 // ~image of alarm fail register | ||
173 | #define BIGD_TIMING_MODE 12 // bus master timing mode (2, 3, 4, 5) | ||
174 | #define BIGD_NUM_DRIVES 13 // number of addressable drives on this board | ||
175 | #define BIGD_RAID_ON 14 // RAID status is on for the whole board | ||
176 | #define BIGD_LAST_ERROR 15 // Last error code from BIOS | ||
177 | |||
178 | #define BIGD_RAID_0_STATUS 16 | ||
179 | #define BIGD_RAID_1_STATUS 17 | ||
180 | #define BIGD_RAID_2_STATUS 18 | ||
181 | #define BIGD_RAID_3_STATUS 19 | ||
182 | #define BIGD_RAID_4_STATUS 20 | ||
183 | #define BIGD_RAID_5_STATUS 21 | ||
184 | #define BIGD_RAID_6_STATUS 22 | ||
185 | #define BIGD_RAID_7_STATUS 23 | ||
186 | |||
187 | /************************************************/ | ||
188 | /* Dale cable select bits */ | ||
189 | /************************************************/ | ||
190 | #define SEL_NONE 0x00 | ||
191 | #define SEL_1 0x01 | ||
192 | #define SEL_2 0x02 | ||
193 | #define SEL_3 0x04 | ||
194 | #define SEL_4 0x08 | ||
195 | #define SEL_NEW_SPEED_1 0x20 | ||
196 | #define SEL_COPY 0x40 | ||
197 | #define SEL_IRQ_OFF 0x80 | ||
198 | |||
199 | /************************************************/ | ||
200 | /* Device/Geometry controls */ | ||
201 | /************************************************/ | ||
202 | #define GEOMETRY_NONE 0x0 // No device | ||
203 | #define GEOMETRY_SET 0x1 // Geometry set | ||
204 | #define GEOMETRY_LBA 0x2 // Geometry set in default LBA mode | ||
205 | #define GEOMETRY_PHOENIX 0x3 // Geometry set in Pheonix BIOS compatibility mode | ||
206 | |||
207 | #define DEVICE_NONE 0x0 // No device present | ||
208 | #define DEVICE_INACTIVE 0x1 // device present but not registered active | ||
209 | #define DEVICE_ATAPI 0x2 // ATAPI device (CD_ROM, Tape, Etc...) | ||
210 | #define DEVICE_DASD_NONLBA 0x3 // Non LBA incompatible device | ||
211 | #define DEVICE_DASD_LBA 0x4 // LBA compatible device | ||
212 | |||
213 | /************************************************/ | ||
214 | /* BigD fail register bits */ | ||
215 | /************************************************/ | ||
216 | #define FAIL_NONE 0x00 | ||
217 | #define FAIL_0 0x01 | ||
218 | #define FAIL_1 0x02 | ||
219 | #define FAIL_2 0x04 | ||
220 | #define FAIL_MULTIPLE 0x08 | ||
221 | #define FAIL_GOOD 0x20 | ||
222 | #define FAIL_AUDIBLE 0x40 | ||
223 | #define FAIL_ANY 0x80 | ||
224 | |||
225 | /************************************************/ | ||
226 | /* Setup Structure Definitions */ | ||
227 | /************************************************/ | ||
228 | typedef struct // device setup parameters | ||
229 | { | ||
230 | UCHAR geometryControl; // geometry control flags | ||
231 | UCHAR device; // device code | ||
232 | USHORT sectors; // number of sectors per track | ||
233 | USHORT heads; // number of heads | ||
234 | USHORT cylinders; // number of cylinders for this device | ||
235 | ULONG blocks; // number of blocks on device | ||
236 | ULONG realCapacity; // number of real blocks on this device for drive changed testing | ||
237 | } SETUP_DEVICE, *PSETUP_DEVICE; | ||
238 | |||
239 | typedef struct // master setup structure | ||
240 | { | ||
241 | USHORT startupDelay; | ||
242 | BOOL promptBIOS; | ||
243 | BOOL fastFormat; | ||
244 | BOOL shareInterrupt; | ||
245 | BOOL rebootRebuild; | ||
246 | USHORT timingMode; | ||
247 | USHORT spare5; | ||
248 | USHORT spare6; | ||
249 | SETUP_DEVICE setupDevice[BIGD_MAXDRIVES]; | ||
250 | } SETUP, *PSETUP; | ||
251 | |||
252 | /************************************************/ | ||
253 | /* RAID Structure Definitions */ | ||
254 | /************************************************/ | ||
255 | typedef struct | ||
256 | { | ||
257 | UCHAR signature; // 0x55 our mirror signature | ||
258 | UCHAR status; // current status bits | ||
259 | UCHAR pairIdentifier; // unique identifier for pair | ||
260 | ULONG reconstructPoint; // recontruction point for hot reconstruct | ||
261 | } DISK_MIRROR; | ||
262 | |||
263 | typedef struct DEVICE_RAID1 | ||
264 | { | ||
265 | long TotalSectors; | ||
266 | DISK_MIRROR DiskRaid1; | ||
267 | } DEVICE_RAID1, *PDEVICE_RAID1; | ||
268 | |||
269 | #define DISK_MIRROR_POSITION 0x01A8 | ||
270 | #define SIGNATURE 0x55 | ||
271 | |||
272 | #define MASK_SERIAL_NUMBER 0x0FFE // mask for serial number matching | ||
273 | #define MASK_SERIAL_UNIT 0x0001 // mask for unit portion of serial number | ||
274 | |||
275 | // Status bits | ||
276 | #define UCBF_MIRRORED 0x0010 // drive has a pair | ||
277 | #define UCBF_MATCHED 0x0020 // drive pair is matched | ||
278 | #define UCBF_SURVIVOR 0x0040 // this unit is a survivor of a pair | ||
279 | #define UCBF_REBUILD 0x0080 // rebuild in progress on this device | ||
280 | |||
281 | // SCSI controls for RAID | ||
282 | #define SC_MY_RAID 0xBF // our special CDB command byte for Win95... interface | ||
283 | #define MY_SCSI_QUERY1 0x32 // byte 1 subcommand to query driver for RAID 1 informatation | ||
284 | #define MY_SCSI_REBUILD 0x40 // byte 1 subcommand to reconstruct a mirrored pair | ||
285 | #define MY_SCSI_DEMOFAIL 0x54 // byte 1 subcommand for RAID failure demonstration | ||
286 | #define MY_SCSI_ALARMMUTE 0x60 // byte 1 subcommand to mute any alarm currently on | ||
287 | |||
288 | /************************************************/ | ||
289 | /* Timeout konstants */ | ||
290 | /************************************************/ | ||
291 | #define TIMEOUT_READY 100 // 100 mSec | ||
292 | #define TIMEOUT_DRQ 300 // 300 mSec | ||
293 | #define TIMEOUT_DATA (3 * HZ) // 3 seconds | ||
294 | |||
295 | /************************************************/ | ||
296 | /* Misc. macros */ | ||
297 | /************************************************/ | ||
298 | #define ANY2SCSI(up, p) \ | ||
299 | ((UCHAR *)up)[0] = (((ULONG)(p)) >> 8); \ | ||
300 | ((UCHAR *)up)[1] = ((ULONG)(p)); | ||
301 | |||
302 | #define SCSI2LONG(up) \ | ||
303 | ( (((long)*(((UCHAR *)up))) << 16) \ | ||
304 | + (((long)(((UCHAR *)up)[1])) << 8) \ | ||
305 | + ((long)(((UCHAR *)up)[2])) ) | ||
306 | |||
307 | #define XANY2SCSI(up, p) \ | ||
308 | ((UCHAR *)up)[0] = ((long)(p)) >> 24; \ | ||
309 | ((UCHAR *)up)[1] = ((long)(p)) >> 16; \ | ||
310 | ((UCHAR *)up)[2] = ((long)(p)) >> 8; \ | ||
311 | ((UCHAR *)up)[3] = ((long)(p)); | ||
312 | |||
313 | #define XSCSI2LONG(up) \ | ||
314 | ( (((long)(((UCHAR *)up)[0])) << 24) \ | ||
315 | + (((long)(((UCHAR *)up)[1])) << 16) \ | ||
316 | + (((long)(((UCHAR *)up)[2])) << 8) \ | ||
317 | + ((long)(((UCHAR *)up)[3])) ) | ||
318 | |||
319 | #define SelectSpigot(padapter,spigot) outb_p (spigot, padapter->regStatSel) | ||
320 | #define WriteCommand(padapter,cmd) outb_p (cmd, padapter->regStatCmd) | ||
321 | #define AtapiDevice(padapter,b) outb_p (b, padapter->regLba24); | ||
322 | #define AtapiCountLo(padapter,b) outb_p (b, padapter->regLba8) | ||
323 | #define AtapiCountHi(padapter,b) outb_p (b, padapter->regLba16) | ||
324 | |||
325 | /************************************************/ | ||
326 | /* SCSI CDB operation codes */ | ||
327 | /************************************************/ | ||
328 | #define SCSIOP_TEST_UNIT_READY 0x00 | ||
329 | #define SCSIOP_REZERO_UNIT 0x01 | ||
330 | #define SCSIOP_REWIND 0x01 | ||
331 | #define SCSIOP_REQUEST_BLOCK_ADDR 0x02 | ||
332 | #define SCSIOP_REQUEST_SENSE 0x03 | ||
333 | #define SCSIOP_FORMAT_UNIT 0x04 | ||
334 | #define SCSIOP_READ_BLOCK_LIMITS 0x05 | ||
335 | #define SCSIOP_REASSIGN_BLOCKS 0x07 | ||
336 | #define SCSIOP_READ6 0x08 | ||
337 | #define SCSIOP_RECEIVE 0x08 | ||
338 | #define SCSIOP_WRITE6 0x0A | ||
339 | #define SCSIOP_PRINT 0x0A | ||
340 | #define SCSIOP_SEND 0x0A | ||
341 | #define SCSIOP_SEEK6 0x0B | ||
342 | #define SCSIOP_TRACK_SELECT 0x0B | ||
343 | #define SCSIOP_SLEW_PRINT 0x0B | ||
344 | #define SCSIOP_SEEK_BLOCK 0x0C | ||
345 | #define SCSIOP_PARTITION 0x0D | ||
346 | #define SCSIOP_READ_REVERSE 0x0F | ||
347 | #define SCSIOP_WRITE_FILEMARKS 0x10 | ||
348 | #define SCSIOP_FLUSH_BUFFER 0x10 | ||
349 | #define SCSIOP_SPACE 0x11 | ||
350 | #define SCSIOP_INQUIRY 0x12 | ||
351 | #define SCSIOP_VERIFY6 0x13 | ||
352 | #define SCSIOP_RECOVER_BUF_DATA 0x14 | ||
353 | #define SCSIOP_MODE_SELECT 0x15 | ||
354 | #define SCSIOP_RESERVE_UNIT 0x16 | ||
355 | #define SCSIOP_RELEASE_UNIT 0x17 | ||
356 | #define SCSIOP_COPY 0x18 | ||
357 | #define SCSIOP_ERASE 0x19 | ||
358 | #define SCSIOP_MODE_SENSE 0x1A | ||
359 | #define SCSIOP_START_STOP_UNIT 0x1B | ||
360 | #define SCSIOP_STOP_PRINT 0x1B | ||
361 | #define SCSIOP_LOAD_UNLOAD 0x1B | ||
362 | #define SCSIOP_RECEIVE_DIAGNOSTIC 0x1C | ||
363 | #define SCSIOP_SEND_DIAGNOSTIC 0x1D | ||
364 | #define SCSIOP_MEDIUM_REMOVAL 0x1E | ||
365 | #define SCSIOP_READ_CAPACITY 0x25 | ||
366 | #define SCSIOP_READ 0x28 | ||
367 | #define SCSIOP_WRITE 0x2A | ||
368 | #define SCSIOP_SEEK 0x2B | ||
369 | #define SCSIOP_LOCATE 0x2B | ||
370 | #define SCSIOP_WRITE_VERIFY 0x2E | ||
371 | #define SCSIOP_VERIFY 0x2F | ||
372 | #define SCSIOP_SEARCH_DATA_HIGH 0x30 | ||
373 | #define SCSIOP_SEARCH_DATA_EQUAL 0x31 | ||
374 | #define SCSIOP_SEARCH_DATA_LOW 0x32 | ||
375 | #define SCSIOP_SET_LIMITS 0x33 | ||
376 | #define SCSIOP_READ_POSITION 0x34 | ||
377 | #define SCSIOP_SYNCHRONIZE_CACHE 0x35 | ||
378 | #define SCSIOP_COMPARE 0x39 | ||
379 | #define SCSIOP_COPY_COMPARE 0x3A | ||
380 | #define SCSIOP_WRITE_DATA_BUFF 0x3B | ||
381 | #define SCSIOP_READ_DATA_BUFF 0x3C | ||
382 | #define SCSIOP_CHANGE_DEFINITION 0x40 | ||
383 | #define SCSIOP_READ_SUB_CHANNEL 0x42 | ||
384 | #define SCSIOP_READ_TOC 0x43 | ||
385 | #define SCSIOP_READ_HEADER 0x44 | ||
386 | #define SCSIOP_PLAY_AUDIO 0x45 | ||
387 | #define SCSIOP_PLAY_AUDIO_MSF 0x47 | ||
388 | #define SCSIOP_PLAY_TRACK_INDEX 0x48 | ||
389 | #define SCSIOP_PLAY_TRACK_RELATIVE 0x49 | ||
390 | #define SCSIOP_PAUSE_RESUME 0x4B | ||
391 | #define SCSIOP_LOG_SELECT 0x4C | ||
392 | #define SCSIOP_LOG_SENSE 0x4D | ||
393 | #define SCSIOP_MODE_SELECT10 0x55 | ||
394 | #define SCSIOP_MODE_SENSE10 0x5A | ||
395 | #define SCSIOP_LOAD_UNLOAD_SLOT 0xA6 | ||
396 | #define SCSIOP_MECHANISM_STATUS 0xBD | ||
397 | #define SCSIOP_READ_CD 0xBE | ||
398 | |||
399 | // IDE command definitions | ||
400 | #define IDE_COMMAND_ATAPI_RESET 0x08 | ||
401 | #define IDE_COMMAND_READ 0x20 | ||
402 | #define IDE_COMMAND_WRITE 0x30 | ||
403 | #define IDE_COMMAND_RECALIBRATE 0x10 | ||
404 | #define IDE_COMMAND_SEEK 0x70 | ||
405 | #define IDE_COMMAND_SET_PARAMETERS 0x91 | ||
406 | #define IDE_COMMAND_VERIFY 0x40 | ||
407 | #define IDE_COMMAND_ATAPI_PACKET 0xA0 | ||
408 | #define IDE_COMMAND_ATAPI_IDENTIFY 0xA1 | ||
409 | #define IDE_CMD_READ_MULTIPLE 0xC4 | ||
410 | #define IDE_CMD_WRITE_MULTIPLE 0xC5 | ||
411 | #define IDE_CMD_SET_MULTIPLE 0xC6 | ||
412 | #define IDE_COMMAND_IDENTIFY 0xEC | ||
413 | |||
414 | // IDE status definitions | ||
415 | #define IDE_STATUS_ERROR 0x01 | ||
416 | #define IDE_STATUS_INDEX 0x02 | ||
417 | #define IDE_STATUS_CORRECTED_ERROR 0x04 | ||
418 | #define IDE_STATUS_DRQ 0x08 | ||
419 | #define IDE_STATUS_DSC 0x10 | ||
420 | #define IDE_STATUS_WRITE_FAULT 0x20 | ||
421 | #define IDE_STATUS_DRDY 0x40 | ||
422 | #define IDE_STATUS_BUSY 0x80 | ||
423 | |||
424 | typedef struct _ATAPI_STATUS | ||
425 | { | ||
426 | CHAR check :1; | ||
427 | CHAR reserved1 :1; | ||
428 | CHAR corr :1; | ||
429 | CHAR drq :1; | ||
430 | CHAR dsc :1; | ||
431 | CHAR reserved2 :1; | ||
432 | CHAR drdy :1; | ||
433 | CHAR bsy :1; | ||
434 | } ATAPI_STATUS; | ||
435 | |||
436 | typedef struct _ATAPI_REASON | ||
437 | { | ||
438 | CHAR cod :1; | ||
439 | CHAR io :1; | ||
440 | CHAR reserved1 :6; | ||
441 | } ATAPI_REASON; | ||
442 | |||
443 | typedef struct _ATAPI_ERROR | ||
444 | { | ||
445 | CHAR ili :1; | ||
446 | CHAR eom :1; | ||
447 | CHAR abort :1; | ||
448 | CHAR mcr :1; | ||
449 | CHAR senseKey :4; | ||
450 | } ATAPI_ERROR; | ||
451 | |||
452 | // IDE error definitions | ||
453 | #define IDE_ERROR_AMNF 0x01 | ||
454 | #define IDE_ERROR_TKONF 0x02 | ||
455 | #define IDE_ERROR_ABRT 0x04 | ||
456 | #define IDE_ERROR_MCR 0x08 | ||
457 | #define IDE_ERROR_IDFN 0x10 | ||
458 | #define IDE_ERROR_MC 0x20 | ||
459 | #define IDE_ERROR_UNC 0x40 | ||
460 | #define IDE_ERROR_BBK 0x80 | ||
461 | |||
462 | // SCSI read capacity structure | ||
463 | typedef struct _READ_CAPACITY_DATA | ||
464 | { | ||
465 | ULONG blks; /* total blocks (converted to little endian) */ | ||
466 | ULONG blksiz; /* size of each (converted to little endian) */ | ||
467 | } READ_CAPACITY_DATA, *PREAD_CAPACITY_DATA; | ||
468 | |||
469 | // SCSI inquiry data | ||
470 | typedef struct _INQUIRYDATA | ||
471 | { | ||
472 | UCHAR DeviceType :5; | ||
473 | UCHAR DeviceTypeQualifier :3; | ||
474 | UCHAR DeviceTypeModifier :7; | ||
475 | UCHAR RemovableMedia :1; | ||
476 | UCHAR Versions; | ||
477 | UCHAR ResponseDataFormat; | ||
478 | UCHAR AdditionalLength; | ||
479 | UCHAR Reserved[2]; | ||
480 | UCHAR SoftReset :1; | ||
481 | UCHAR CommandQueue :1; | ||
482 | UCHAR Reserved2 :1; | ||
483 | UCHAR LinkedCommands :1; | ||
484 | UCHAR Synchronous :1; | ||
485 | UCHAR Wide16Bit :1; | ||
486 | UCHAR Wide32Bit :1; | ||
487 | UCHAR RelativeAddressing :1; | ||
488 | UCHAR VendorId[8]; | ||
489 | UCHAR ProductId[16]; | ||
490 | UCHAR ProductRevisionLevel[4]; | ||
491 | UCHAR VendorSpecific[20]; | ||
492 | UCHAR Reserved3[40]; | ||
493 | } INQUIRYDATA, *PINQUIRYDATA; | ||
494 | |||
495 | // IDE IDENTIFY data | ||
496 | #pragma pack (1) | ||
497 | typedef struct _IDENTIFY_DATA | ||
498 | { | ||
499 | USHORT GeneralConfiguration; // 0 | ||
500 | USHORT NumberOfCylinders; // 1 | ||
501 | USHORT Reserved1; // 2 | ||
502 | USHORT NumberOfHeads; // 3 | ||
503 | USHORT UnformattedBytesPerTrack; // 4 | ||
504 | USHORT UnformattedBytesPerSector; // 5 | ||
505 | USHORT SectorsPerTrack; // 6 | ||
506 | USHORT NumBytesISG; // 7 Byte Len - inter-sector gap | ||
507 | USHORT NumBytesSync; // 8 - sync field | ||
508 | USHORT NumWordsVUS; // 9 Len - Vendor Unique Info | ||
509 | USHORT SerialNumber[10]; // 10 | ||
510 | USHORT BufferType; // 20 | ||
511 | USHORT BufferSectorSize; // 21 | ||
512 | USHORT NumberOfEccBytes; // 22 | ||
513 | USHORT FirmwareRevision[4]; // 23 | ||
514 | USHORT ModelNumber[20]; // 27 | ||
515 | USHORT NumSectorsPerInt :8; // 47 Multiple Mode - Sec/Blk | ||
516 | USHORT Reserved2 :8; // 47 | ||
517 | USHORT DoubleWordMode; // 48 flag for double word mode capable | ||
518 | USHORT VendorUnique1 :8; // 49 | ||
519 | USHORT SupportDMA :1; // 49 DMA supported | ||
520 | USHORT SupportLBA :1; // 49 LBA supported | ||
521 | USHORT SupportIORDYDisable :1; // 49 IORDY can be disabled | ||
522 | USHORT SupportIORDY :1; // 49 IORDY supported | ||
523 | USHORT ReservedPsuedoDMA :1; // 49 reserved for pseudo DMA mode support | ||
524 | USHORT Reserved3 :3; // 49 | ||
525 | USHORT Reserved4; // 50 | ||
526 | USHORT Reserved5 :8; // 51 Transfer Cycle Timing - PIO | ||
527 | USHORT PIOCycleTime :8; // 51 Transfer Cycle Timing - PIO | ||
528 | USHORT Reserved6 :8; // 52 - DMA | ||
529 | USHORT DMACycleTime :8; // 52 - DMA | ||
530 | USHORT Valid_54_58 :1; // 53 words 54 - 58 are valid | ||
531 | USHORT Valid_64_70 :1; // 53 words 64 - 70 are valid | ||
532 | USHORT Reserved7 :14; // 53 | ||
533 | USHORT LogNumCyl; // 54 Current Translation - Num Cyl | ||
534 | USHORT LogNumHeads; // 55 Num Heads | ||
535 | USHORT LogSectorsPerTrack; // 56 Sec/Trk | ||
536 | ULONG LogTotalSectors; // 57 Total Sec | ||
537 | USHORT CurrentNumSecPerInt :8; // 59 current setting for number of sectors per interrupt | ||
538 | USHORT ValidNumSecPerInt :1; // 59 Current setting is valid for number of sectors per interrupt | ||
539 | USHORT Reserved8 :7; // 59 | ||
540 | ULONG LBATotalSectors; // 60 LBA Mode - Sectors | ||
541 | USHORT DMASWordFlags; // 62 | ||
542 | USHORT DMAMWordFlags; // 63 | ||
543 | USHORT AdvancedPIOSupport :8; // 64 Flow control PIO transfer modes supported | ||
544 | USHORT Reserved9 :8; // 64 | ||
545 | USHORT MinMultiDMACycle; // 65 minimum multiword DMA transfer cycle time per word | ||
546 | USHORT RecomendDMACycle; // 66 Manufacturer's recommende multiword DMA transfer cycle time | ||
547 | USHORT MinPIOCycleWithoutFlow; // 67 Minimum PIO transfer cycle time without flow control | ||
548 | USHORT MinPIOCylceWithFlow; // 68 Minimum PIO transfer cycle time with IORDY flow control | ||
549 | USHORT ReservedSpace[256-69]; // 69 | ||
550 | } IDENTIFY_DATA, *PIDENTIFY_DATA; | ||
551 | |||
552 | // ATAPI configuration bits | ||
553 | typedef struct _ATAPI_GENERAL_0 | ||
554 | { | ||
555 | USHORT CmdPacketSize :2; // Command packet size | ||
556 | USHORT Reserved1 :3; | ||
557 | USHORT CmdDrqType :2; | ||
558 | USHORT Removable :1; | ||
559 | USHORT DeviceType :5; | ||
560 | USHORT Reserved2 :1; | ||
561 | USHORT ProtocolType :2; | ||
562 | } ATAPI_GENERAL_0; | ||
563 | |||
564 | #pragma pack () | ||
diff --git a/drivers/scsi/psi_roy.h b/drivers/scsi/psi_roy.h deleted file mode 100644 index c55b9c04c32a..000000000000 --- a/drivers/scsi/psi_roy.h +++ /dev/null | |||
@@ -1,331 +0,0 @@ | |||
1 | /**************************************************************************** | ||
2 | * Perceptive Solutions, Inc. PCI-2000 device driver for Linux. | ||
3 | * | ||
4 | * psi_roy.h - Linux Host Driver for PCI-2000 IntelliCache SCSI Adapters | ||
5 | * | ||
6 | * Copyright (c) 1997-1999 Perceptive Solutions, Inc. | ||
7 | * All Rights Reserved. | ||
8 | * | ||
9 | * Redistribution and use in source and binary forms, with or without | ||
10 | * modification, are permitted provided that redistributions of source | ||
11 | * code retain the above copyright notice and this comment without | ||
12 | * modification. | ||
13 | * | ||
14 | * Technical updates and product information at: | ||
15 | * http://www.psidisk.com | ||
16 | * | ||
17 | * Please send questions, comments, bug reports to: | ||
18 | * tech@psidisk.com Technical Support | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | |||
22 | #ifndef ROY_HOST | ||
23 | #define ROY_HOST | ||
24 | |||
25 | /************************************************/ | ||
26 | /* PCI setup */ | ||
27 | /************************************************/ | ||
28 | #define VENDOR_PSI 0x1256 | ||
29 | #define DEVICE_ROY_1 0x5201 /* 'R1' */ | ||
30 | |||
31 | /************************************************/ | ||
32 | /* controller constants */ | ||
33 | /************************************************/ | ||
34 | #define MAXADAPTER 4 // Increase this and the sizes of the arrays below, if you need more. | ||
35 | #define MAX_BUS 2 | ||
36 | #define MAX_UNITS 16 | ||
37 | #define TIMEOUT_COMMAND 400 // number of milliSecondos for command busy timeout | ||
38 | |||
39 | /************************************************/ | ||
40 | /* I/O address offsets */ | ||
41 | /************************************************/ | ||
42 | #define RTR_MAILBOX 0x040 | ||
43 | #define RTR_LOCAL_DOORBELL 0x060 | ||
44 | #define RTR_PCI_DOORBELL 0x064 | ||
45 | |||
46 | /************************************************/ | ||
47 | /* */ | ||
48 | /* Host command codes */ | ||
49 | /* */ | ||
50 | /************************************************/ | ||
51 | #define CMD_READ_CHS 0x01 /* read sectors as specified (CHS mode) */ | ||
52 | #define CMD_READ 0x02 /* read sectors as specified (RBA mode) */ | ||
53 | #define CMD_READ_SG 0x03 /* read sectors using scatter/gather list */ | ||
54 | #define CMD_WRITE_CHS 0x04 /* write sectors as specified (CHS mode) */ | ||
55 | #define CMD_WRITE 0x05 /* write sectors as specified (RBA mode) */ | ||
56 | #define CMD_WRITE_SG 0x06 /* write sectors using scatter/gather list (LBA mode) */ | ||
57 | #define CMD_READ_CHS_SG 0x07 /* read sectors using scatter/gather list (CHS mode) */ | ||
58 | #define CMD_WRITE_CHS_SG 0x08 /* write sectors using scatter/gather list (CHS mode) */ | ||
59 | #define CMD_VERIFY_CHS 0x09 /* verify data on sectors as specified (CHS mode) */ | ||
60 | #define CMD_VERIFY 0x0A /* verify data on sectors as specified (RBA mode) */ | ||
61 | #define CMD_DASD_CDB 0x0B /* process CDB for a DASD device */ | ||
62 | #define CMD_DASD_CDB_SG 0x0C /* process CDB for a DASD device with scatter/gather */ | ||
63 | |||
64 | #define CMD_READ_ABS 0x10 /* read absolute disk */ | ||
65 | #define CMD_WRITE_ABS 0x11 /* write absolute disk */ | ||
66 | #define CMD_VERIFY_ABS 0x12 /* verify absolute disk */ | ||
67 | #define CMD_TEST_READY 0x13 /* test unit ready and return status code */ | ||
68 | #define CMD_LOCK_DOOR 0x14 /* lock device door */ | ||
69 | #define CMD_UNLOCK_DOOR 0x15 /* unlock device door */ | ||
70 | #define CMD_EJECT_MEDIA 0x16 /* eject the media */ | ||
71 | #define CMD_UPDATE_CAP 0x17 /* update capacity information */ | ||
72 | #define CMD_TEST_PRIV 0x18 /* test and setup private format media */ | ||
73 | |||
74 | |||
75 | #define CMD_SCSI_THRU 0x30 /* SCSI pass through CDB */ | ||
76 | #define CMD_SCSI_THRU_SG 0x31 /* SCSI pass through CDB with scatter/gather */ | ||
77 | #define CMD_SCSI_REQ_SENSE 0x32 /* SCSI pass through request sense after check condition */ | ||
78 | |||
79 | #define CMD_DASD_RAID_RQ 0x35 /* request DASD RAID drive data */ | ||
80 | #define CMD_DASD_RAID_RQ0 0x31 /* byte 1 subcommand to query for RAID 0 informatation */ | ||
81 | #define CMD_DASD_RAID_RQ1 0x32 /* byte 1 subcommand to query for RAID 1 informatation */ | ||
82 | #define CMD_DASD_RAID_RQ5 0x33 /* byte 1 subcommand to query for RAID 5 informatation */ | ||
83 | |||
84 | #define CMD_DASD_SCSI_INQ 0x36 /* do DASD inquire and return in SCSI format */ | ||
85 | #define CMD_DASD_CAP 0x37 /* read DASD capacity */ | ||
86 | #define CMD_DASD_INQ 0x38 /* do DASD inquire for type data and return SCSI/EIDE inquiry */ | ||
87 | #define CMD_SCSI_INQ 0x39 /* do SCSI inquire */ | ||
88 | #define CMD_READ_SETUP 0x3A /* Get setup structures from controller */ | ||
89 | #define CMD_WRITE_SETUP 0x3B /* Put setup structures in controller and burn in flash */ | ||
90 | #define CMD_READ_CONFIG 0x3C /* Get the entire configuration and setup structures */ | ||
91 | #define CMD_WRITE_CONFIG 0x3D /* Put the entire configuration and setup structures in flash */ | ||
92 | |||
93 | #define CMD_TEXT_DEVICE 0x3E /* obtain device text */ | ||
94 | #define CMD_TEXT_SIGNON 0x3F /* get sign on banner */ | ||
95 | |||
96 | #define CMD_QUEUE 0x40 /* any command below this generates a queue tag interrupt to host*/ | ||
97 | |||
98 | #define CMD_PREFETCH 0x40 /* prefetch sectors as specified */ | ||
99 | #define CMD_TEST_WRITE 0x41 /* Test a device for write protect */ | ||
100 | #define CMD_LAST_STATUS 0x42 /* get last command status and error data*/ | ||
101 | #define CMD_ABORT 0x43 /* abort command as specified */ | ||
102 | #define CMD_ERROR 0x44 /* fetch error code from a tagged op */ | ||
103 | #define CMD_DONE 0x45 /* done with operation */ | ||
104 | #define CMD_DIAGNOSTICS 0x46 /* execute controller diagnostics and wait for results */ | ||
105 | #define CMD_FEATURE_MODE 0x47 /* feature mode control word */ | ||
106 | #define CMD_DASD_INQUIRE 0x48 /* inquire as to DASD SCSI device (32 possible) */ | ||
107 | #define CMD_FEATURE_QUERY 0x49 /* query the feature control word */ | ||
108 | #define CMD_DASD_EJECT 0x4A /* Eject removable media for DASD type */ | ||
109 | #define CMD_DASD_LOCK 0x4B /* Lock removable media for DASD type */ | ||
110 | #define CMD_DASD_TYPE 0x4C /* obtain DASD device type */ | ||
111 | #define CMD_NUM_DEV 0x4D /* obtain the number of devices connected to the controller */ | ||
112 | #define CMD_GET_PARMS 0x4E /* obtain device parameters */ | ||
113 | #define CMD_SPECIFY 0x4F /* specify operating system for scatter/gather operations */ | ||
114 | |||
115 | #define CMD_RAID_GET_DEV 0x50 /* read RAID device geometry */ | ||
116 | #define CMD_RAID_READ 0x51 /* read RAID 1 parameter block */ | ||
117 | #define CMD_RAID_WRITE 0x52 /* write RAID 1 parameter block */ | ||
118 | #define CMD_RAID_LITEUP 0x53 /* Light up the drive light for identification */ | ||
119 | #define CMD_RAID_REBUILD 0x54 /* issue a RAID 1 pair rebuild */ | ||
120 | #define CMD_RAID_MUTE 0x55 /* mute RAID failure alarm */ | ||
121 | #define CMD_RAID_FAIL 0x56 /* induce a RAID failure */ | ||
122 | #define CMD_RAID_STATUS 0x57 /* get status of RAID pair */ | ||
123 | #define CMD_RAID_STOP 0x58 /* stop any reconstruct in progress */ | ||
124 | #define CMD_RAID_START 0x59 /* start reconstruct */ | ||
125 | #define CMD_RAID0_READ 0x5A /* read RAID 0 parameter block */ | ||
126 | #define CMD_RAID0_WRITE 0x5B /* write RAID 0 parameter block */ | ||
127 | #define CMD_RAID5_READ 0x5C /* read RAID 5 parameter block */ | ||
128 | #define CMD_RAID5_WRITE 0x5D /* write RAID 5 parameter block */ | ||
129 | |||
130 | #define CMD_ERASE_TABLES 0x5F /* erase partition table and RAID signatutures */ | ||
131 | |||
132 | #define CMD_SCSI_GET 0x60 /* get SCSI pass through devices */ | ||
133 | #define CMD_SCSI_TIMEOUT 0x61 /* set SCSI pass through timeout */ | ||
134 | #define CMD_SCSI_ERROR 0x62 /* get SCSI pass through request sense length and residual data count */ | ||
135 | #define CMD_GET_SPARMS 0x63 /* get SCSI bus and user parms */ | ||
136 | #define CMD_SCSI_ABORT 0x64 /* abort by setting time-out to zero */ | ||
137 | |||
138 | #define CMD_CHIRP_CHIRP 0x77 /* make a chirp chirp sound */ | ||
139 | #define CMD_GET_LAST_DONE 0x78 /* get tag of last done in progress */ | ||
140 | #define CMD_GET_FEATURES 0x79 /* get feature code and ESN */ | ||
141 | #define CMD_CLEAR_CACHE 0x7A /* Clear cache on specified device */ | ||
142 | #define CMD_BIOS_TEST 0x7B /* Test whether or not to load BIOS */ | ||
143 | #define CMD_WAIT_FLUSH 0x7C /* wait for cache flushed and invalidate read cache */ | ||
144 | #define CMD_RESET_BUS 0x7D /* reset the SCSI bus */ | ||
145 | #define CMD_STARTUP_QRY 0x7E /* startup in progress query */ | ||
146 | #define CMD_RESET 0x7F /* reset the controller */ | ||
147 | |||
148 | #define CMD_RESTART_RESET 0x80 /* reload and restart the controller at any reset issued */ | ||
149 | #define CMD_SOFT_RESET 0x81 /* do a soft reset NOW! */ | ||
150 | |||
151 | /************************************************/ | ||
152 | /* */ | ||
153 | /* Host return errors */ | ||
154 | /* */ | ||
155 | /************************************************/ | ||
156 | #define ERR08_TAGGED 0x80 /* doorbell error ored with tag */ | ||
157 | |||
158 | #define ERR16_NONE 0x0000 /* no errors */ | ||
159 | #define ERR16_SC_COND_MET 0x0004 /* SCSI status - Condition Met */ | ||
160 | #define ERR16_CMD 0x0101 /* command error */ | ||
161 | #define ERR16_SC_CHECK_COND 0x0002 /* SCSI status - Check Condition */ | ||
162 | #define ERR16_CMD_NOT 0x0201 /* command not supported */ | ||
163 | #define ERR16_NO_DEVICE 0x0301 /* invalid device selection */ | ||
164 | #define ERR16_SECTOR 0x0202 /* bad sector */ | ||
165 | #define ERR16_PROTECT 0x0303 /* write protected */ | ||
166 | #define ERR16_NOSECTOR 0x0404 /* sector not found */ | ||
167 | #define ERR16_MEDIA 0x0C0C /* invalid media */ | ||
168 | #define ERR16_CONTROL 0x2020 /* controller error */ | ||
169 | #define ERR16_CONTROL_DMA 0x2120 /* controller DMA engine error */ | ||
170 | #define ERR16_NO_ALARM 0x2220 /* alarm is not active */ | ||
171 | #define ERR16_OP_BUSY 0x2320 /* operation busy */ | ||
172 | #define ERR16_SEEK 0x4040 /* seek failure */ | ||
173 | #define ERR16_DEVICE_FAIL 0x4140 /* device has failed */ | ||
174 | #define ERR16_TIMEOUT 0x8080 /* timeout error */ | ||
175 | #define ERR16_DEV_NOT_READY 0xAAAA /* drive not ready */ | ||
176 | #define ERR16_UNDEFINED 0xBBBB /* undefined error */ | ||
177 | #define ERR16_WRITE_FAULT 0xCCCC /* write fault */ | ||
178 | #define ERR16_INVALID_DEV 0x4001 /* invalid device access */ | ||
179 | #define ERR16_DEVICE_BUSY 0x4002 /* device is busy */ | ||
180 | #define ERR16_MEMORY 0x4003 /* device pass thru requires too much memory */ | ||
181 | #define ERR16_NO_FEATURE 0x40FA /* feature no implemented */ | ||
182 | #define ERR16_NOTAG 0x40FD /* no tag space available */ | ||
183 | #define ERR16_NOT_READY 0x40FE /* controller not ready error */ | ||
184 | #define ERR16_SETUP_FLASH 0x5050 /* error when writing setup to flash memory */ | ||
185 | #define ERR16_SETUP_SIZE 0x5051 /* setup block size error */ | ||
186 | #define ERR16_SENSE 0xFFFF /* sense opereration failed */ | ||
187 | #define ERR16_SC_BUSY 0x0008 /* SCSI status - Busy */ | ||
188 | #define ERR16_SC_RES_CONFL 0x0018 /* SCSI status - Reservation Conflict */ | ||
189 | #define ERR16_SC_CMD_TERM 0x0022 /* SCSI status - Command Terminated */ | ||
190 | #define ERR16_SC_OTHER 0x00FF /* SCSI status - not recognized (any value masked) */ | ||
191 | #define ERR16_MEDIA_CHANGED 0x8001 /* devices media has been changed */ | ||
192 | |||
193 | #define ERR32_NONE 0x00000000 /* no errors */ | ||
194 | #define ERR32_SC_COND_MET 0x00000004 /* SCSI status - Condition Met */ | ||
195 | #define ERR32_CMD 0x00010101 /* command error */ | ||
196 | #define ERR32_SC_CHECK_COND 0x00020002 /* SCSI status - Check Condition */ | ||
197 | #define ERR32_CMD_NOT 0x00030201 /* command not supported */ | ||
198 | #define ERR32_NO_DEVICE 0x00040301 /* invalid device selection */ | ||
199 | #define ERR32_SECTOR 0x00050202 /* bad sector */ | ||
200 | #define ERR32_PROTECT 0x00060303 /* write protected */ | ||
201 | #define ERR32_NOSECTOR 0x00070404 /* sector not found */ | ||
202 | #define ERR32_MEDIA 0x00080C0C /* invalid media */ | ||
203 | #define ERR32_CONTROL 0x00092020 /* controller error */ | ||
204 | #define ERR32_CONTROL_DMA 0x000A2120 /* Controller DMA error */ | ||
205 | #define ERR32_NO_ALARM 0x000B2220 /* alarm is not active */ | ||
206 | #define ERR32_OP_BUSY 0x000C2320 /* operation busy */ | ||
207 | #define ERR32_SEEK 0x000D4040 /* seek failure */ | ||
208 | #define ERR32_DEVICE_FAIL 0x000E4140 /* device has failed */ | ||
209 | #define ERR32_TIMEOUT 0x000F8080 /* timeout error */ | ||
210 | #define ERR32_DEV_NOT_READY 0x0010AAAA /* drive not ready */ | ||
211 | #define ERR32_UNDEFINED 0x0011BBBB /* undefined error */ | ||
212 | #define ERR32_WRITE_FAULT 0x0012CCCC /* write fault */ | ||
213 | #define ERR32_INVALID_DEV 0x00134001 /* invalid device access */ | ||
214 | #define ERR32_DEVICE_BUSY 0x00144002 /* device is busy */ | ||
215 | #define ERR32_MEMORY 0x00154003 /* device pass thru requires too much memory */ | ||
216 | #define ERR32_NO_FEATURE 0x001640FA /* feature no implemented */ | ||
217 | #define ERR32_NOTAG 0x001740FD /* no tag space available */ | ||
218 | #define ERR32_NOT_READY 0x001840FE /* controller not ready error */ | ||
219 | #define ERR32_SETUP_FLASH 0x00195050 /* error when writing setup to flash memory */ | ||
220 | #define ERR32_SETUP_SIZE 0x001A5051 /* setup block size error */ | ||
221 | #define ERR32_SENSE 0x001BFFFF /* sense opereration failed */ | ||
222 | #define ERR32_SC_BUSY 0x001C0008 /* SCSI status - Busy */ | ||
223 | #define ERR32_SC_RES_CONFL 0x001D0018 /* SCSI status - Reservation Conflict */ | ||
224 | #define ERR32_SC_CMD_TERM 0x001E0022 /* SCSI status - Command Terminated */ | ||
225 | #define ERR32_SC_OTHER 0x001F00FF /* SCSI status - not recognized (any value masked) */ | ||
226 | #define ERR32_MEDIA_CHANGED 0x00208001 /* devices media has been changed */ | ||
227 | |||
228 | /************************************************/ | ||
229 | /* */ | ||
230 | /* Host Operating System specification codes */ | ||
231 | /* */ | ||
232 | /************************************************/ | ||
233 | #define SPEC_INTERRUPT 0x80 /* specification requires host interrupt */ | ||
234 | #define SPEC_BACKWARD_SG 0x40 /* specification requires scatter/gather items reversed */ | ||
235 | #define SPEC_DOS_BLOCK 0x01 /* DOS DASD blocking on pass through */ | ||
236 | #define SPEC_OS2_V3 0x02 /* OS/2 Warp */ | ||
237 | #define SPCE_SCO_3242 0x04 /* SCO 3.4.2.2 */ | ||
238 | #define SPEC_QNX_4X 0x05 /* QNX 4.XX */ | ||
239 | #define SPEC_NOVELL_NWPA 0x08 /* Novell NWPA scatter/gather support */ | ||
240 | |||
241 | /************************************************/ | ||
242 | /* */ | ||
243 | /* Inquire structures */ | ||
244 | /* */ | ||
245 | /************************************************/ | ||
246 | typedef struct _CNT_SCSI_INQ | ||
247 | { | ||
248 | UCHAR devt; /* 00: device type */ | ||
249 | UCHAR devtm; /* 01: device type modifier */ | ||
250 | UCHAR svers; /* 02: SCSI version */ | ||
251 | UCHAR rfmt; /* 03: response data format */ | ||
252 | UCHAR adlen; /* 04: additional length of data */ | ||
253 | UCHAR res1; /* 05: */ | ||
254 | UCHAR res2; /* 06: */ | ||
255 | UCHAR fncs; /* 07: functional capabilities */ | ||
256 | UCHAR vid[8]; /* 08: vendor ID */ | ||
257 | UCHAR pid[16]; /* 10: product ID */ | ||
258 | UCHAR rev[4]; /* 20: product revision */ | ||
259 | } CNT_SCSI_INQ; | ||
260 | |||
261 | typedef struct _CNT_IDE_INQ | ||
262 | { | ||
263 | USHORT GeneralConfiguration; /* 00 */ | ||
264 | USHORT NumberOfCylinders; /* 02 */ | ||
265 | USHORT Reserved1; /* 04 */ | ||
266 | USHORT NumberOfHeads; /* 06 */ | ||
267 | USHORT UnformattedBytesPerTrack; /* 08 */ | ||
268 | USHORT UnformattedBytesPerSector; /* 0A */ | ||
269 | USHORT SectorsPerTrack; /* 0C */ | ||
270 | USHORT VendorUnique1[3]; /* 0E */ | ||
271 | USHORT SerialNumber[10]; /* 14 */ | ||
272 | USHORT BufferType; /* 28 */ | ||
273 | USHORT BufferSectorSize; /* 2A */ | ||
274 | USHORT NumberOfEccBytes; /* 2C */ | ||
275 | USHORT FirmwareRevision[4]; /* 2E */ | ||
276 | USHORT ModelNumber[20]; /* 36 */ | ||
277 | UCHAR MaximumBlockTransfer; /* 5E */ | ||
278 | UCHAR VendorUnique2; /* 5F */ | ||
279 | USHORT DoubleWordIo; /* 60 */ | ||
280 | USHORT Capabilities; /* 62 */ | ||
281 | USHORT Reserved2; /* 64 */ | ||
282 | UCHAR VendorUnique3; /* 66 */ | ||
283 | UCHAR PioCycleTimingMode; /* 67 */ | ||
284 | UCHAR VendorUnique4; /* 68 */ | ||
285 | UCHAR DmaCycleTimingMode; /* 69 */ | ||
286 | USHORT TranslationFieldsValid; /* 6A */ | ||
287 | USHORT NumberOfCurrentCylinders; /* 6C */ | ||
288 | USHORT NumberOfCurrentHeads; /* 6E */ | ||
289 | USHORT CurrentSectorsPerTrack; /* 70 */ | ||
290 | ULONG CurrentSectorCapacity; /* 72 */ | ||
291 | } CNT_IDE_INQ; | ||
292 | |||
293 | typedef struct _DASD_INQUIRE | ||
294 | { | ||
295 | ULONG type; /* 0 = SCSI, 1 = IDE */ | ||
296 | union | ||
297 | { | ||
298 | CNT_SCSI_INQ scsi; /* SCSI inquire data */ | ||
299 | CNT_IDE_INQ ide; /* IDE inquire data */ | ||
300 | } inq; | ||
301 | } DASD_INQUIRE; | ||
302 | |||
303 | /************************************************/ | ||
304 | /* */ | ||
305 | /* Device Codes */ | ||
306 | /* */ | ||
307 | /************************************************/ | ||
308 | #define DEVC_DASD 0x00 /* Direct-access Storage Device */ | ||
309 | #define DEVC_SEQACESS 0x01 /* Sequential-access device */ | ||
310 | #define DEVC_PRINTER 0x02 /* Printer device */ | ||
311 | #define DEVC_PROCESSOR 0x03 /* Processor device */ | ||
312 | #define DEVC_WRITEONCE 0x04 /* Write-once device */ | ||
313 | #define DEVC_CDROM 0x05 /* CD-ROM device */ | ||
314 | #define DEVC_SCANNER 0x06 /* Scanner device */ | ||
315 | #define DEVC_OPTICAL 0x07 /* Optical memory device */ | ||
316 | #define DEVC_MEDCHGR 0x08 /* Medium changer device */ | ||
317 | #define DEVC_DASD_REMOVABLE 0x80 /* Direct-access storage device, Removable */ | ||
318 | #define DEVC_NONE 0xFF /* no device */ | ||
319 | |||
320 | // SCSI controls for RAID | ||
321 | #define SC_MY_RAID 0xBF // our special CDB command byte for Win95... interface | ||
322 | #define MY_SCSI_QUERY0 0x31 // byte 1 subcommand to query driver for RAID 0 informatation | ||
323 | #define MY_SCSI_QUERY1 0x32 // byte 1 subcommand to query driver for RAID 1 informatation | ||
324 | #define MY_SCSI_QUERY5 0x33 // byte 1 subcommand to query driver for RAID 5 informatation | ||
325 | #define MY_SCSI_REBUILD 0x40 // byte 1 subcommand to reconstruct a mirrored pair | ||
326 | #define MY_SCSI_DEMOFAIL 0x54 // byte 1 subcommand for RAID failure demonstration | ||
327 | #define MY_SCSI_ALARMMUTE 0x60 // byte 1 subcommand to mute any alarm currently on | ||
328 | |||
329 | |||
330 | #endif | ||
331 | |||
diff --git a/drivers/scsi/ql1040_fw.h b/drivers/scsi/ql1040_fw.h index 89d8e09ec387..aaf9284a8b7d 100644 --- a/drivers/scsi/ql1040_fw.h +++ b/drivers/scsi/ql1040_fw.h | |||
@@ -25,17 +25,17 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | /* | 27 | /* |
28 | * Firmware Version 7.65.00 (14:17 Jul 20, 1999) | 28 | * Firmware Version 7.65.06 (14:38 Jan 07, 2002) |
29 | */ | 29 | */ |
30 | 30 | ||
31 | static unsigned char firmware_version[] = {7,65,0}; | 31 | static unsigned char firmware_version[] = {7,65,6}; |
32 | 32 | ||
33 | #define FW_VERSION_STRING "7.65.0" | 33 | #define FW_VERSION_STRING "7.65.06" |
34 | 34 | ||
35 | static unsigned short risc_code_addr01 = 0x1000 ; | 35 | static unsigned short risc_code_addr01 = 0x1000 ; |
36 | 36 | ||
37 | static unsigned short risc_code01[] = { | 37 | static unsigned short risc_code01[] = { |
38 | 0x0078, 0x103a, 0x0000, 0x4057, 0x0000, 0x2043, 0x4f50, 0x5952, | 38 | 0x0078, 0x103a, 0x0000, 0x4158, 0x0000, 0x2043, 0x4f50, 0x5952, |
39 | 0x4947, 0x4854, 0x2031, 0x3939, 0x3520, 0x514c, 0x4f47, 0x4943, | 39 | 0x4947, 0x4854, 0x2031, 0x3939, 0x3520, 0x514c, 0x4f47, 0x4943, |
40 | 0x2043, 0x4f52, 0x504f, 0x5241, 0x5449, 0x4f4e, 0x2049, 0x5350, | 40 | 0x2043, 0x4f52, 0x504f, 0x5241, 0x5449, 0x4f4e, 0x2049, 0x5350, |
41 | 0x3130, 0x3230, 0x2049, 0x2f54, 0x2046, 0x6972, 0x6d77, 0x6172, | 41 | 0x3130, 0x3230, 0x2049, 0x2f54, 0x2046, 0x6972, 0x6d77, 0x6172, |
@@ -45,7 +45,7 @@ static unsigned short risc_code01[] = { | |||
45 | 0x3031, 0x2024, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, 0x0048, | 45 | 0x3031, 0x2024, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, 0x0048, |
46 | 0x1045, 0x0038, 0x104b, 0x0078, 0x1047, 0x0028, 0x104b, 0x20b9, | 46 | 0x1045, 0x0038, 0x104b, 0x0078, 0x1047, 0x0028, 0x104b, 0x20b9, |
47 | 0x1212, 0x0078, 0x104d, 0x20b9, 0x2222, 0x20c1, 0x0008, 0x2071, | 47 | 0x1212, 0x0078, 0x104d, 0x20b9, 0x2222, 0x20c1, 0x0008, 0x2071, |
48 | 0x0010, 0x70c3, 0x0004, 0x20c9, 0x77ff, 0x2089, 0x1186, 0x70c7, | 48 | 0x0010, 0x70c3, 0x0004, 0x20c9, 0x78ff, 0x2089, 0x1186, 0x70c7, |
49 | 0x4953, 0x70cb, 0x5020, 0x70cf, 0x2020, 0x70d3, 0x0007, 0x3f00, | 49 | 0x4953, 0x70cb, 0x5020, 0x70cf, 0x2020, 0x70d3, 0x0007, 0x3f00, |
50 | 0x70d6, 0x20c1, 0x0008, 0x2019, 0x0000, 0x2009, 0xfeff, 0x2100, | 50 | 0x70d6, 0x20c1, 0x0008, 0x2019, 0x0000, 0x2009, 0xfeff, 0x2100, |
51 | 0x200b, 0xa5a5, 0xa1ec, 0x7fff, 0x2d64, 0x206b, 0x0a0a, 0xaddc, | 51 | 0x200b, 0xa5a5, 0xa1ec, 0x7fff, 0x2d64, 0x206b, 0x0a0a, 0xaddc, |
@@ -59,62 +59,62 @@ static unsigned short risc_code01[] = { | |||
59 | 0x118e, 0x284a, 0x263a, 0x98c0, 0xa188, 0x1000, 0x212c, 0x200b, | 59 | 0x118e, 0x284a, 0x263a, 0x98c0, 0xa188, 0x1000, 0x212c, 0x200b, |
60 | 0xa5a5, 0x2114, 0xa286, 0xa5a5, 0x0040, 0x10bc, 0x250a, 0xa18a, | 60 | 0xa5a5, 0x2114, 0xa286, 0xa5a5, 0x0040, 0x10bc, 0x250a, 0xa18a, |
61 | 0x1000, 0x98c1, 0x0078, 0x10c1, 0x250a, 0x0078, 0x10c1, 0x2c6a, | 61 | 0x1000, 0x98c1, 0x0078, 0x10c1, 0x250a, 0x0078, 0x10c1, 0x2c6a, |
62 | 0x2a5a, 0x2130, 0xa18a, 0x0040, 0x2128, 0xa1a2, 0x5100, 0x8424, | 62 | 0x2a5a, 0x2130, 0xa18a, 0x0040, 0x2128, 0xa1a2, 0x5200, 0x8424, |
63 | 0x8424, 0x8424, 0x8424, 0x8424, 0x8424, 0xa192, 0x7800, 0x2009, | 63 | 0x8424, 0x8424, 0x8424, 0x8424, 0x8424, 0xa192, 0x7900, 0x2009, |
64 | 0x0000, 0x2001, 0x0031, 0x1078, 0x1cba, 0x2218, 0x2079, 0x5100, | 64 | 0x0000, 0x2001, 0x0031, 0x1078, 0x1d26, 0x2218, 0x2079, 0x5200, |
65 | 0x2fa0, 0x2408, 0x2011, 0x0000, 0x20a9, 0x0040, 0x42a4, 0x8109, | 65 | 0x2fa0, 0x2408, 0x2011, 0x0000, 0x20a9, 0x0040, 0x42a4, 0x8109, |
66 | 0x00c0, 0x10dc, 0x7ef2, 0x8528, 0x7de6, 0x7cea, 0x7bee, 0x7883, | 66 | 0x00c0, 0x10dc, 0x7ef2, 0x8528, 0x7de6, 0x7cea, 0x7bee, 0x7883, |
67 | 0x0000, 0x2031, 0x0030, 0x78cf, 0x0101, 0x780b, 0x0002, 0x780f, | 67 | 0x0000, 0x2031, 0x0030, 0x78cf, 0x0101, 0x780b, 0x0002, 0x780f, |
68 | 0x0002, 0x784f, 0x0003, 0x2069, 0x5140, 0x2001, 0x04fd, 0x2004, | 68 | 0x0002, 0x784f, 0x0003, 0x2069, 0x5240, 0x2001, 0x04fd, 0x2004, |
69 | 0xa082, 0x0005, 0x0048, 0x1104, 0x0038, 0x1100, 0x0078, 0x1108, | 69 | 0xa082, 0x0005, 0x0048, 0x1104, 0x0038, 0x1100, 0x0078, 0x1108, |
70 | 0x681b, 0x003c, 0x0078, 0x110a, 0x00a8, 0x1108, 0x681b, 0x003c, | 70 | 0x681b, 0x003c, 0x0078, 0x110a, 0x00a8, 0x1108, 0x681b, 0x003c, |
71 | 0x681b, 0x0028, 0x6807, 0x0007, 0x680b, 0x00fa, 0x680f, 0x0008, | 71 | 0x681b, 0x0028, 0x6807, 0x0007, 0x680b, 0x00fa, 0x680f, 0x0008, |
72 | 0x6813, 0x0005, 0x6823, 0x0000, 0x6827, 0x0006, 0x6817, 0x0008, | 72 | 0x6813, 0x0005, 0x6823, 0x0000, 0x6827, 0x0006, 0x6817, 0x0008, |
73 | 0x682b, 0x0000, 0x681f, 0x0019, 0x2069, 0x5380, 0x2011, 0x0020, | 73 | 0x682b, 0x0000, 0x681f, 0x0019, 0x2069, 0x5480, 0x2011, 0x0020, |
74 | 0x2009, 0x0010, 0x680b, 0x080c, 0x680f, 0x0019, 0x6803, 0xfd00, | 74 | 0x2009, 0x0010, 0x680b, 0x080c, 0x680f, 0x0019, 0x6803, 0xfd00, |
75 | 0x6807, 0x0018, 0x6a1a, 0x2d00, 0xa0e8, 0x0008, 0xa290, 0x0004, | 75 | 0x6807, 0x0018, 0x6a1a, 0x2d00, 0xa0e8, 0x0008, 0xa290, 0x0004, |
76 | 0x8109, 0x00c0, 0x1122, 0x2069, 0x5400, 0x2009, 0x0002, 0x20a9, | 76 | 0x8109, 0x00c0, 0x1122, 0x2069, 0x5500, 0x2009, 0x0002, 0x20a9, |
77 | 0x0100, 0x6837, 0x0000, 0x680b, 0x0040, 0x7bf0, 0xa386, 0xfeff, | 77 | 0x0100, 0x6837, 0x0000, 0x680b, 0x0040, 0x7bf0, 0xa386, 0xfeff, |
78 | 0x00c0, 0x1148, 0x6817, 0x0100, 0x681f, 0x0064, 0x0078, 0x114c, | 78 | 0x00c0, 0x1148, 0x6817, 0x0100, 0x681f, 0x0064, 0x0078, 0x114c, |
79 | 0x6817, 0x0064, 0x681f, 0x0002, 0xade8, 0x0010, 0x0070, 0x1152, | 79 | 0x6817, 0x0064, 0x681f, 0x0002, 0xade8, 0x0010, 0x0070, 0x1152, |
80 | 0x0078, 0x1139, 0x8109, 0x00c0, 0x1137, 0x1078, 0x220a, 0x1078, | 80 | 0x0078, 0x1139, 0x8109, 0x00c0, 0x1137, 0x1078, 0x22a7, 0x1078, |
81 | 0x482c, 0x1078, 0x1963, 0x1078, 0x4d22, 0x3200, 0xa085, 0x000d, | 81 | 0x493d, 0x1078, 0x19b5, 0x1078, 0x4e33, 0x3200, 0xa085, 0x000d, |
82 | 0x2090, 0x70c3, 0x0000, 0x0090, 0x116c, 0x70c0, 0xa086, 0x0002, | 82 | 0x2090, 0x70c3, 0x0000, 0x0090, 0x116c, 0x70c0, 0xa086, 0x0002, |
83 | 0x00c0, 0x116c, 0x1078, 0x1284, 0x1078, 0x1196, 0x78cc, 0xa005, | 83 | 0x00c0, 0x116c, 0x1078, 0x1284, 0x1078, 0x1196, 0x78cc, 0xa005, |
84 | 0x00c0, 0x117a, 0x1078, 0x1ce3, 0x0010, 0x1180, 0x0068, 0x1180, | 84 | 0x00c0, 0x117a, 0x1078, 0x1d4f, 0x0010, 0x1180, 0x0068, 0x1180, |
85 | 0x1078, 0x20e9, 0x0010, 0x1180, 0x0068, 0x1180, 0x1078, 0x1a48, | 85 | 0x1078, 0x2186, 0x0010, 0x1180, 0x0068, 0x1180, 0x1078, 0x1ab9, |
86 | 0x00e0, 0x116c, 0x1078, 0x4ba9, 0x0078, 0x116c, 0x118e, 0x1190, | 86 | 0x00e0, 0x116c, 0x1078, 0x4cba, 0x0078, 0x116c, 0x118e, 0x1190, |
87 | 0x240b, 0x240b, 0x48ad, 0x48ad, 0x240b, 0x240b, 0x0078, 0x118e, | 87 | 0x24ac, 0x24ac, 0x49be, 0x49be, 0x24ac, 0x24ac, 0x0078, 0x118e, |
88 | 0x0078, 0x1190, 0x0078, 0x1192, 0x0078, 0x1194, 0x0068, 0x1201, | 88 | 0x0078, 0x1190, 0x0078, 0x1192, 0x0078, 0x1194, 0x0068, 0x1201, |
89 | 0x2061, 0x0000, 0x6018, 0xa084, 0x0001, 0x00c0, 0x1201, 0x7814, | 89 | 0x2061, 0x0000, 0x6018, 0xa084, 0x0001, 0x00c0, 0x1201, 0x7814, |
90 | 0xa005, 0x00c0, 0x11a7, 0x0010, 0x1202, 0x0078, 0x1201, 0x2009, | 90 | 0xa005, 0x00c0, 0x11a7, 0x0010, 0x1202, 0x0078, 0x1201, 0x2009, |
91 | 0x515b, 0x2104, 0xa005, 0x00c0, 0x1201, 0x2009, 0x5164, 0x200b, | 91 | 0x525b, 0x2104, 0xa005, 0x00c0, 0x1201, 0x2009, 0x5264, 0x200b, |
92 | 0x0000, 0x7914, 0xa186, 0x0042, 0x00c0, 0x11cc, 0x7816, 0x2009, | 92 | 0x0000, 0x7914, 0xa186, 0x0042, 0x00c0, 0x11cc, 0x7816, 0x2009, |
93 | 0x5162, 0x2164, 0x200b, 0x0000, 0x6018, 0x70c6, 0x6014, 0x70ca, | 93 | 0x5262, 0x2164, 0x200b, 0x0000, 0x6018, 0x70c6, 0x6014, 0x70ca, |
94 | 0x611c, 0xa18c, 0xff00, 0x6020, 0xa084, 0x00ff, 0xa105, 0x70ce, | 94 | 0x611c, 0xa18c, 0xff00, 0x6020, 0xa084, 0x00ff, 0xa105, 0x70ce, |
95 | 0x1078, 0x1948, 0x0078, 0x11ff, 0x7814, 0xa086, 0x0018, 0x00c0, | 95 | 0x1078, 0x199a, 0x0078, 0x11ff, 0x7814, 0xa086, 0x0018, 0x00c0, |
96 | 0x11d3, 0x1078, 0x165a, 0x7817, 0x0000, 0x2009, 0x5162, 0x2104, | 96 | 0x11d3, 0x1078, 0x1678, 0x7817, 0x0000, 0x2009, 0x5262, 0x2104, |
97 | 0xa065, 0x0040, 0x11ef, 0x0c7e, 0x609c, 0x2060, 0x1078, 0x19b3, | 97 | 0xa065, 0x0040, 0x11ef, 0x0c7e, 0x609c, 0x2060, 0x1078, 0x1a17, |
98 | 0x0c7f, 0x609f, 0x0000, 0x1078, 0x1730, 0x2009, 0x000c, 0x6007, | 98 | 0x0c7f, 0x609f, 0x0000, 0x1078, 0x174e, 0x2009, 0x000c, 0x6007, |
99 | 0x0103, 0x1078, 0x1924, 0x00c0, 0x11fb, 0x1078, 0x1948, 0x2009, | 99 | 0x0103, 0x1078, 0x1976, 0x00c0, 0x11fb, 0x1078, 0x199a, 0x2009, |
100 | 0x5162, 0x200b, 0x0000, 0x2009, 0x515c, 0x2104, 0x200b, 0x0000, | 100 | 0x5262, 0x200b, 0x0000, 0x2009, 0x525c, 0x2104, 0x200b, 0x0000, |
101 | 0xa005, 0x0040, 0x11ff, 0x2001, 0x4005, 0x0078, 0x1286, 0x0078, | 101 | 0xa005, 0x0040, 0x11ff, 0x2001, 0x4005, 0x0078, 0x1286, 0x0078, |
102 | 0x1284, 0x007c, 0x70c3, 0x0000, 0x70c7, 0x0000, 0x70cb, 0x0000, | 102 | 0x1284, 0x007c, 0x70c3, 0x0000, 0x70c7, 0x0000, 0x70cb, 0x0000, |
103 | 0x70cf, 0x0000, 0x70c0, 0xa0bc, 0xffc0, 0x00c0, 0x1252, 0x2038, | 103 | 0x70cf, 0x0000, 0x70c0, 0xa0bc, 0xffc0, 0x00c0, 0x1252, 0x2038, |
104 | 0x0079, 0x1212, 0x1284, 0x12e5, 0x12a9, 0x12fe, 0x130d, 0x1313, | 104 | 0x0079, 0x1212, 0x1284, 0x12e5, 0x12a9, 0x12fe, 0x130d, 0x1313, |
105 | 0x12a0, 0x1748, 0x1317, 0x1298, 0x12ad, 0x12af, 0x12b1, 0x12b3, | 105 | 0x12a0, 0x1766, 0x1317, 0x1298, 0x12ad, 0x12af, 0x12b1, 0x12b3, |
106 | 0x174d, 0x1298, 0x1329, 0x1360, 0x1672, 0x1742, 0x12b5, 0x1591, | 106 | 0x176b, 0x1298, 0x1329, 0x1365, 0x1690, 0x1760, 0x12b5, 0x15af, |
107 | 0x15ad, 0x15c9, 0x15f4, 0x154a, 0x1558, 0x156c, 0x1580, 0x13df, | 107 | 0x15cb, 0x15e7, 0x1612, 0x1568, 0x1576, 0x158a, 0x159e, 0x13e9, |
108 | 0x1298, 0x138d, 0x1393, 0x1398, 0x139d, 0x13a3, 0x13a8, 0x13ad, | 108 | 0x1298, 0x1397, 0x139d, 0x13a2, 0x13a7, 0x13ad, 0x13b2, 0x13b7, |
109 | 0x13b2, 0x13b7, 0x13bb, 0x13d0, 0x13dc, 0x1298, 0x1298, 0x1298, | 109 | 0x13bc, 0x13c1, 0x13c5, 0x13da, 0x13e6, 0x1298, 0x1298, 0x1298, |
110 | 0x1298, 0x13eb, 0x13f4, 0x1403, 0x1429, 0x1433, 0x143a, 0x1480, | 110 | 0x1298, 0x13f5, 0x13fe, 0x140d, 0x1451, 0x145b, 0x1462, 0x14a8, |
111 | 0x148f, 0x149e, 0x14b0, 0x152a, 0x153a, 0x1298, 0x1298, 0x1298, | 111 | 0x14b7, 0x14c6, 0x14d8, 0x1548, 0x1558, 0x1298, 0x1298, 0x1298, |
112 | 0x1298, 0x153f, 0xa0bc, 0xffa0, 0x00c0, 0x1298, 0x2038, 0xa084, | 112 | 0x1298, 0x155d, 0xa0bc, 0xffa0, 0x00c0, 0x1298, 0x2038, 0xa084, |
113 | 0x001f, 0x0079, 0x125b, 0x1786, 0x1789, 0x1799, 0x1298, 0x1298, | 113 | 0x001f, 0x0079, 0x125b, 0x17a4, 0x17a7, 0x17b7, 0x1298, 0x1298, |
114 | 0x18df, 0x18fc, 0x1298, 0x1298, 0x1298, 0x1900, 0x1908, 0x1298, | 114 | 0x1931, 0x194e, 0x1298, 0x1298, 0x1298, 0x1952, 0x195a, 0x1298, |
115 | 0x1298, 0x1298, 0x1298, 0x12db, 0x12f4, 0x131f, 0x1356, 0x1668, | 115 | 0x1298, 0x1298, 0x1298, 0x12db, 0x12f4, 0x131f, 0x135b, 0x1686, |
116 | 0x1764, 0x1778, 0x1298, 0x1829, 0x190e, 0x18bb, 0x18c5, 0x18c9, | 116 | 0x1782, 0x1796, 0x1298, 0x1847, 0x1960, 0x190d, 0x1917, 0x191b, |
117 | 0x18d7, 0x1298, 0x1298, 0x72ca, 0x71c6, 0x2001, 0x4006, 0x0078, | 117 | 0x1929, 0x1298, 0x1298, 0x72ca, 0x71c6, 0x2001, 0x4006, 0x0078, |
118 | 0x1286, 0x73ce, 0x72ca, 0x71c6, 0x2001, 0x4000, 0x70c2, 0x0068, | 118 | 0x1286, 0x73ce, 0x72ca, 0x71c6, 0x2001, 0x4000, 0x70c2, 0x0068, |
119 | 0x1287, 0x2061, 0x0000, 0x601b, 0x0001, 0x2091, 0x5000, 0x00e0, | 119 | 0x1287, 0x2061, 0x0000, 0x601b, 0x0001, 0x2091, 0x5000, 0x00e0, |
120 | 0x128f, 0x00e0, 0x1291, 0x0068, 0x1291, 0x2091, 0x4080, 0x007c, | 120 | 0x128f, 0x00e0, 0x1291, 0x0068, 0x1291, 0x2091, 0x4080, 0x007c, |
@@ -126,1974 +126,2005 @@ static unsigned short risc_code01[] = { | |||
126 | 0x0007, 0x3f00, 0x70d6, 0x2079, 0x0000, 0x781b, 0x0001, 0x2031, | 126 | 0x0007, 0x3f00, 0x70d6, 0x2079, 0x0000, 0x781b, 0x0001, 0x2031, |
127 | 0x0030, 0x2059, 0x1000, 0x2029, 0x0457, 0x2051, 0x0470, 0x2061, | 127 | 0x0030, 0x2059, 0x1000, 0x2029, 0x0457, 0x2051, 0x0470, 0x2061, |
128 | 0x0472, 0x20b9, 0xffff, 0x20c1, 0x0000, 0x2091, 0x5000, 0x2091, | 128 | 0x0472, 0x20b9, 0xffff, 0x20c1, 0x0000, 0x2091, 0x5000, 0x2091, |
129 | 0x4080, 0x0078, 0x0455, 0x1078, 0x1b53, 0x00c0, 0x129c, 0x75d8, | 129 | 0x4080, 0x0078, 0x0455, 0x1078, 0x1bc4, 0x00c0, 0x129c, 0x75d8, |
130 | 0x74dc, 0x75da, 0x74de, 0x0078, 0x12e8, 0x2029, 0x0000, 0x2520, | 130 | 0x74dc, 0x75da, 0x74de, 0x0078, 0x12e8, 0x2029, 0x0000, 0x2520, |
131 | 0x71d0, 0x73c8, 0x72cc, 0x70c4, 0x1078, 0x1a8d, 0x0040, 0x1284, | 131 | 0x71d0, 0x73c8, 0x72cc, 0x70c4, 0x1078, 0x1afe, 0x0040, 0x1284, |
132 | 0x70c3, 0x4002, 0x0078, 0x1284, 0x1078, 0x1b53, 0x00c0, 0x129c, | 132 | 0x70c3, 0x4002, 0x0078, 0x1284, 0x1078, 0x1bc4, 0x00c0, 0x129c, |
133 | 0x75d8, 0x74dc, 0x75da, 0x74de, 0x0078, 0x1301, 0x2029, 0x0000, | 133 | 0x75d8, 0x74dc, 0x75da, 0x74de, 0x0078, 0x1301, 0x2029, 0x0000, |
134 | 0x2520, 0x71d0, 0x73c8, 0x72cc, 0x70c4, 0x1078, 0x1aed, 0x0040, | 134 | 0x2520, 0x71d0, 0x73c8, 0x72cc, 0x70c4, 0x1078, 0x1b5e, 0x0040, |
135 | 0x1284, 0x70c3, 0x4002, 0x0078, 0x1284, 0x71c4, 0x70c8, 0x2114, | 135 | 0x1284, 0x70c3, 0x4002, 0x0078, 0x1284, 0x71c4, 0x70c8, 0x2114, |
136 | 0x200a, 0x0078, 0x1282, 0x71c4, 0x2114, 0x0078, 0x1282, 0x70c7, | 136 | 0x200a, 0x0078, 0x1282, 0x71c4, 0x2114, 0x0078, 0x1282, 0x70c7, |
137 | 0x0007, 0x70cb, 0x0041, 0x70cf, 0x0000, 0x0078, 0x1284, 0x1078, | 137 | 0x0007, 0x70cb, 0x0041, 0x70cf, 0x0006, 0x0078, 0x1284, 0x1078, |
138 | 0x1b53, 0x00c0, 0x129c, 0x75d8, 0x76dc, 0x75da, 0x76de, 0x0078, | 138 | 0x1bc4, 0x00c0, 0x129c, 0x75d8, 0x76dc, 0x75da, 0x76de, 0x0078, |
139 | 0x132c, 0x2029, 0x0000, 0x2530, 0x70c4, 0x72c8, 0x73cc, 0x74d0, | 139 | 0x132c, 0x2029, 0x0000, 0x2530, 0x70c4, 0x72c8, 0x73cc, 0x74d0, |
140 | 0x70c6, 0x72ca, 0x73ce, 0x74d2, 0xa005, 0x0040, 0x1350, 0x8001, | 140 | 0x70c6, 0x72ca, 0x73ce, 0x74d2, 0xa005, 0x0040, 0x1355, 0xa40a, |
141 | 0x7892, 0xa084, 0xfc00, 0x0040, 0x1345, 0x78cc, 0xa085, 0x0001, | 141 | 0x0040, 0x133c, 0x00c8, 0x1346, 0x8001, 0x7892, 0xa084, 0xfc00, |
142 | 0x78ce, 0x2001, 0x4005, 0x0078, 0x1286, 0x7a9a, 0x7b9e, 0x7da2, | 142 | 0x0040, 0x134a, 0x78cc, 0xa085, 0x0001, 0x78ce, 0x2001, 0x4005, |
143 | 0x7ea6, 0x7c96, 0x78cc, 0xa084, 0xfffc, 0x78ce, 0x0078, 0x1354, | 143 | 0x0078, 0x1286, 0x7a9a, 0x7b9e, 0x7da2, 0x7ea6, 0x7c96, 0x78cc, |
144 | 0x78cc, 0xa085, 0x0001, 0x78ce, 0x0078, 0x1284, 0x1078, 0x1b53, | 144 | 0xa084, 0xfffc, 0x78ce, 0x0078, 0x1359, 0x78cc, 0xa085, 0x0001, |
145 | 0x00c0, 0x129c, 0x75d8, 0x76dc, 0x75da, 0x76de, 0x0078, 0x1363, | 145 | 0x78ce, 0x0078, 0x1284, 0x1078, 0x1bc4, 0x00c0, 0x129c, 0x75d8, |
146 | 0x2029, 0x0000, 0x2530, 0x70c4, 0x72c8, 0x73cc, 0x74d4, 0x70c6, | 146 | 0x76dc, 0x75da, 0x76de, 0x0078, 0x1368, 0x2029, 0x0000, 0x2530, |
147 | 0x72ca, 0x73ce, 0x74d6, 0xa005, 0x0040, 0x1387, 0x8001, 0x78ae, | 147 | 0x70c4, 0x72c8, 0x73cc, 0x74d4, 0x70c6, 0x72ca, 0x73ce, 0x74d6, |
148 | 0xa084, 0xfc00, 0x0040, 0x137c, 0x78cc, 0xa085, 0x0100, 0x78ce, | 148 | 0xa005, 0x0040, 0x1391, 0xa40a, 0x0040, 0x1378, 0x00c8, 0x1382, |
149 | 0x2001, 0x4005, 0x0078, 0x1286, 0x7ab6, 0x7bba, 0x7dbe, 0x7ec2, | 149 | 0x8001, 0x78ae, 0xa084, 0xfc00, 0x0040, 0x1386, 0x78cc, 0xa085, |
150 | 0x7cb2, 0x78cc, 0xa084, 0xfcff, 0x78ce, 0x0078, 0x138b, 0x78cc, | 150 | 0x0100, 0x78ce, 0x2001, 0x4005, 0x0078, 0x1286, 0x7ab6, 0x7bba, |
151 | 0xa085, 0x0100, 0x78ce, 0x0078, 0x1284, 0x2009, 0x5161, 0x210c, | 151 | 0x7dbe, 0x7ec2, 0x7cb2, 0x78cc, 0xa084, 0xfcff, 0x78ce, 0x0078, |
152 | 0x7aec, 0x0078, 0x1282, 0x2009, 0x5141, 0x210c, 0x0078, 0x1283, | 152 | 0x1395, 0x78cc, 0xa085, 0x0100, 0x78ce, 0x0078, 0x1284, 0x2009, |
153 | 0x2009, 0x5142, 0x210c, 0x0078, 0x1283, 0x2061, 0x5140, 0x610c, | 153 | 0x5261, 0x210c, 0x7aec, 0x0078, 0x1282, 0x2009, 0x5241, 0x210c, |
154 | 0x6210, 0x0078, 0x1282, 0x2009, 0x5145, 0x210c, 0x0078, 0x1283, | 154 | 0x0078, 0x1283, 0x2009, 0x5242, 0x210c, 0x0078, 0x1283, 0x2061, |
155 | 0x2009, 0x5146, 0x210c, 0x0078, 0x1283, 0x2009, 0x5148, 0x210c, | 155 | 0x5240, 0x610c, 0x6210, 0x0078, 0x1282, 0x2009, 0x5245, 0x210c, |
156 | 0x0078, 0x1283, 0x2009, 0x5149, 0x210c, 0x0078, 0x1283, 0x7908, | 156 | 0x0078, 0x1283, 0x2009, 0x5246, 0x210c, 0x0078, 0x1283, 0x2009, |
157 | 0x7a0c, 0x0078, 0x1282, 0x71c4, 0x8107, 0xa084, 0x000f, 0x8003, | 157 | 0x5248, 0x210c, 0x0078, 0x1283, 0x2009, 0x5249, 0x210c, 0x0078, |
158 | 0x8003, 0x8003, 0xa0e8, 0x5380, 0x6a00, 0x6804, 0xa084, 0x0008, | 158 | 0x1283, 0x7908, 0x7a0c, 0x0078, 0x1282, 0x71c4, 0x8107, 0xa084, |
159 | 0x0040, 0x13cd, 0x6b08, 0x0078, 0x13ce, 0x6b0c, 0x0078, 0x1281, | 159 | 0x000f, 0x8003, 0x8003, 0x8003, 0xa0e8, 0x5480, 0x6a00, 0x6804, |
160 | 0x77c4, 0x1078, 0x1973, 0x2091, 0x8000, 0x6b1c, 0x6a14, 0x2091, | 160 | 0xa084, 0x0008, 0x0040, 0x13d7, 0x6b08, 0x0078, 0x13d8, 0x6b0c, |
161 | 0x8001, 0x2708, 0x0078, 0x1281, 0x794c, 0x0078, 0x1283, 0x77c4, | 161 | 0x0078, 0x1281, 0x77c4, 0x1078, 0x19c5, 0x2091, 0x8000, 0x6b1c, |
162 | 0x1078, 0x1973, 0x2091, 0x8000, 0x6908, 0x6a18, 0x6b10, 0x2091, | 162 | 0x6a14, 0x2091, 0x8001, 0x2708, 0x0078, 0x1281, 0x794c, 0x0078, |
163 | 0x8001, 0x0078, 0x1281, 0x71c4, 0xa182, 0x0010, 0x00c8, 0x127c, | 163 | 0x1283, 0x77c4, 0x1078, 0x19c5, 0x2091, 0x8000, 0x6908, 0x6a18, |
164 | 0x1078, 0x22e2, 0x0078, 0x1281, 0x71c4, 0xa182, 0x0010, 0x00c8, | 164 | 0x6b10, 0x2091, 0x8001, 0x0078, 0x1281, 0x71c4, 0xa182, 0x0010, |
165 | 0x127c, 0x2011, 0x5141, 0x2204, 0x007e, 0x2112, 0x1078, 0x229b, | 165 | 0x00c8, 0x127c, 0x1078, 0x237f, 0x0078, 0x1281, 0x71c4, 0xa182, |
166 | 0x017f, 0x0078, 0x1283, 0x71c4, 0x2011, 0x1421, 0x20a9, 0x0008, | 166 | 0x0010, 0x00c8, 0x127c, 0x2011, 0x5241, 0x2204, 0x007e, 0x2112, |
167 | 0x2204, 0xa106, 0x0040, 0x1413, 0x8210, 0x0070, 0x1411, 0x0078, | 167 | 0x1078, 0x2338, 0x017f, 0x0078, 0x1283, 0x71c4, 0x2019, 0x0100, |
168 | 0x1408, 0x0078, 0x127c, 0xa292, 0x1421, 0x027e, 0x2011, 0x5142, | 168 | 0x2304, 0xa082, 0x0006, 0x0048, 0x141b, 0x2011, 0x1449, 0x20a9, |
169 | 0x2204, 0x2112, 0x017f, 0x007e, 0x1078, 0x22a7, 0x017f, 0x0078, | 169 | 0x0008, 0x0078, 0x141f, 0x2011, 0x1441, 0x20a9, 0x0008, 0x2204, |
170 | 0xa106, 0x0040, 0x142a, 0x8210, 0x0070, 0x1428, 0x0078, 0x141f, | ||
171 | 0x0078, 0x127c, 0x2304, 0xa082, 0x0006, 0x0048, 0x1433, 0xa292, | ||
172 | 0x1449, 0x0078, 0x1435, 0xa292, 0x1441, 0x027e, 0x2011, 0x5242, | ||
173 | 0x2204, 0x2112, 0x017f, 0x007e, 0x1078, 0x2344, 0x017f, 0x0078, | ||
170 | 0x1283, 0x03e8, 0x00fa, 0x01f4, 0x02ee, 0x0064, 0x0019, 0x0032, | 174 | 0x1283, 0x03e8, 0x00fa, 0x01f4, 0x02ee, 0x0064, 0x0019, 0x0032, |
171 | 0x004b, 0x2061, 0x5140, 0x610c, 0x6210, 0x70c4, 0x600e, 0x70c8, | 175 | 0x004b, 0x03e8, 0x00fa, 0x01f4, 0x02ee, 0x0004, 0x0001, 0x0002, |
172 | 0x6012, 0x0078, 0x1282, 0x2061, 0x5140, 0x6114, 0x70c4, 0x6016, | 176 | 0x0003, 0x2061, 0x5240, 0x610c, 0x6210, 0x70c4, 0x600e, 0x70c8, |
173 | 0x0078, 0x1283, 0x2061, 0x5140, 0x71c4, 0x2011, 0x0004, 0x601f, | 177 | 0x6012, 0x0078, 0x1282, 0x2061, 0x5240, 0x6114, 0x70c4, 0x6016, |
174 | 0x0019, 0x2019, 0x1212, 0xa186, 0x0028, 0x0040, 0x145b, 0x2011, | 178 | 0x0078, 0x1283, 0x2061, 0x5240, 0x71c4, 0x2011, 0x0004, 0x601f, |
179 | 0x0019, 0x2019, 0x1212, 0xa186, 0x0028, 0x0040, 0x1483, 0x2011, | ||
175 | 0x0005, 0x601f, 0x0019, 0x2019, 0x1212, 0xa186, 0x0032, 0x0040, | 180 | 0x0005, 0x601f, 0x0019, 0x2019, 0x1212, 0xa186, 0x0032, 0x0040, |
176 | 0x145b, 0x2011, 0x0006, 0x601f, 0x000c, 0x2019, 0x2222, 0xa186, | 181 | 0x1483, 0x2011, 0x0006, 0x601f, 0x000c, 0x2019, 0x2222, 0xa186, |
177 | 0x003c, 0x00c0, 0x127c, 0x6018, 0x007e, 0x611a, 0x7800, 0xa084, | 182 | 0x003c, 0x00c0, 0x127c, 0x6018, 0x007e, 0x611a, 0x7800, 0xa084, |
178 | 0x0001, 0x00c0, 0x1476, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, | 183 | 0x0001, 0x00c0, 0x149e, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, |
179 | 0x0048, 0x146e, 0x0038, 0x1472, 0x0078, 0x1476, 0x0028, 0x1472, | 184 | 0x0048, 0x1496, 0x0038, 0x149a, 0x0078, 0x149e, 0x0028, 0x149a, |
180 | 0x0078, 0x1476, 0x2019, 0x2222, 0x0078, 0x1478, 0x2019, 0x1212, | 185 | 0x0078, 0x149e, 0x2019, 0x2222, 0x0078, 0x14a0, 0x2019, 0x1212, |
181 | 0x23b8, 0x1078, 0x22b8, 0x1078, 0x4d22, 0x017f, 0x0078, 0x1283, | 186 | 0x23b8, 0x1078, 0x2355, 0x1078, 0x4e33, 0x017f, 0x0078, 0x1283, |
182 | 0x71c4, 0xa184, 0xffcf, 0x00c0, 0x127c, 0x2011, 0x5148, 0x2204, | 187 | 0x71c4, 0xa184, 0xffcf, 0x00c0, 0x127c, 0x2011, 0x5248, 0x2204, |
183 | 0x2112, 0x007e, 0x1078, 0x22da, 0x017f, 0x0078, 0x1283, 0x71c4, | 188 | 0x2112, 0x007e, 0x1078, 0x2377, 0x017f, 0x0078, 0x1283, 0x71c4, |
184 | 0xa182, 0x0010, 0x00c8, 0x127c, 0x2011, 0x5149, 0x2204, 0x007e, | 189 | 0xa182, 0x0010, 0x00c8, 0x127c, 0x2011, 0x5249, 0x2204, 0x007e, |
185 | 0x2112, 0x1078, 0x22c9, 0x017f, 0x0078, 0x1283, 0x71c4, 0x72c8, | 190 | 0x2112, 0x1078, 0x2366, 0x017f, 0x0078, 0x1283, 0x71c4, 0x72c8, |
186 | 0xa184, 0xfffd, 0x00c0, 0x127b, 0xa284, 0xfffd, 0x00c0, 0x127b, | 191 | 0xa184, 0xfffd, 0x00c0, 0x127b, 0xa284, 0xfffd, 0x00c0, 0x127b, |
187 | 0x2100, 0x7908, 0x780a, 0x2200, 0x7a0c, 0x780e, 0x0078, 0x1282, | 192 | 0x2100, 0x7908, 0x780a, 0x2200, 0x7a0c, 0x780e, 0x0078, 0x1282, |
188 | 0x71c4, 0x8107, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xa0e8, | 193 | 0x71c4, 0x8107, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xa0e8, |
189 | 0x5380, 0x2019, 0x0000, 0x72c8, 0xa284, 0x0080, 0x0040, 0x14c6, | 194 | 0x5480, 0x2019, 0x0000, 0x72c8, 0xd2bc, 0x0040, 0x14e9, 0xa39d, |
190 | 0x6c14, 0x84ff, 0x00c0, 0x14c6, 0x6817, 0x0040, 0xa284, 0x0040, | 195 | 0x0010, 0xd2b4, 0x0040, 0x14ee, 0xa39d, 0x0008, 0x6800, 0x007e, |
191 | 0x0040, 0x14d0, 0x6c10, 0x84ff, 0x00c0, 0x14d0, 0x6813, 0x0001, | 196 | 0xa226, 0x0040, 0x1511, 0x6a02, 0xa484, 0x2000, 0x0040, 0x14fa, |
192 | 0x6800, 0x007e, 0xa226, 0x0040, 0x14f3, 0x6a02, 0xa484, 0x2000, | 197 | 0xa39d, 0x0010, 0xa484, 0x1000, 0x0040, 0x1500, 0xa39d, 0x0008, |
193 | 0x0040, 0x14dc, 0xa39d, 0x0010, 0xa484, 0x1000, 0x0040, 0x14e2, | 198 | 0xa484, 0x4000, 0x0040, 0x1511, 0x810f, 0xa284, 0x4000, 0x0040, |
194 | 0xa39d, 0x0008, 0xa484, 0x4000, 0x0040, 0x14f3, 0x810f, 0xa284, | 199 | 0x150d, 0x1078, 0x2399, 0x0078, 0x1511, 0x1078, 0x238b, 0x0078, |
195 | 0x4000, 0x0040, 0x14ef, 0x1078, 0x22fc, 0x0078, 0x14f3, 0x1078, | 200 | 0x1511, 0x72cc, 0x6808, 0xa206, 0x0040, 0x1540, 0xa2a4, 0x00ff, |
196 | 0x22ee, 0x0078, 0x14f3, 0x72cc, 0x6808, 0xa206, 0x0040, 0x1522, | 201 | 0x2061, 0x5240, 0x6118, 0xa186, 0x0028, 0x0040, 0x1527, 0xa186, |
197 | 0xa2a4, 0x00ff, 0x2061, 0x5140, 0x6118, 0xa186, 0x0028, 0x0040, | 202 | 0x0032, 0x0040, 0x152d, 0xa186, 0x003c, 0x0040, 0x1533, 0xa482, |
198 | 0x1509, 0xa186, 0x0032, 0x0040, 0x150f, 0xa186, 0x003c, 0x0040, | 203 | 0x0064, 0x0048, 0x153d, 0x0078, 0x1537, 0xa482, 0x0050, 0x0048, |
199 | 0x1515, 0xa482, 0x0064, 0x0048, 0x151f, 0x0078, 0x1519, 0xa482, | 204 | 0x153d, 0x0078, 0x1537, 0xa482, 0x0043, 0x0048, 0x153d, 0x71c4, |
200 | 0x0050, 0x0048, 0x151f, 0x0078, 0x1519, 0xa482, 0x0043, 0x0048, | 205 | 0x71c6, 0x027f, 0x72ca, 0x0078, 0x127d, 0x6a0a, 0xa39d, 0x000a, |
201 | 0x151f, 0x71c4, 0x71c6, 0x027f, 0x72ca, 0x0078, 0x127d, 0x6a0a, | 206 | 0x6804, 0xa305, 0x6806, 0x027f, 0x6b0c, 0x71c4, 0x0078, 0x1281, |
202 | 0xa39d, 0x000a, 0x6804, 0xa305, 0x6806, 0x027f, 0x6b0c, 0x71c4, | 207 | 0x77c4, 0x1078, 0x19c5, 0x2091, 0x8000, 0x6a14, 0x6b1c, 0x2091, |
203 | 0x0078, 0x1281, 0x77c4, 0x1078, 0x1973, 0x2091, 0x8000, 0x6a14, | 208 | 0x8001, 0x70c8, 0x6816, 0x70cc, 0x681e, 0x2708, 0x0078, 0x1281, |
204 | 0x6b1c, 0x2091, 0x8001, 0x70c8, 0x6816, 0x70cc, 0x681e, 0x2708, | 209 | 0x70c4, 0x794c, 0x784e, 0x0078, 0x1283, 0x71c4, 0x72c8, 0x73cc, |
205 | 0x0078, 0x1281, 0x70c4, 0x794c, 0x784e, 0x0078, 0x1283, 0x71c4, | 210 | 0xa182, 0x0010, 0x00c8, 0x127c, 0x1078, 0x23a7, 0x0078, 0x1281, |
206 | 0x72c8, 0x73cc, 0xa182, 0x0010, 0x00c8, 0x127c, 0x1078, 0x230a, | 211 | 0x77c4, 0x1078, 0x19c5, 0x2091, 0x8000, 0x6a08, 0xa295, 0x0002, |
207 | 0x0078, 0x1281, 0x77c4, 0x1078, 0x1973, 0x2091, 0x8000, 0x6a08, | 212 | 0x6a0a, 0x2091, 0x8001, 0x2708, 0x0078, 0x1282, 0x77c4, 0x1078, |
208 | 0xa295, 0x0002, 0x6a0a, 0x2091, 0x8001, 0x2708, 0x0078, 0x1282, | 213 | 0x19c5, 0x2091, 0x8000, 0x6a08, 0xa294, 0xfff9, 0x6a0a, 0x6804, |
209 | 0x77c4, 0x1078, 0x1973, 0x2091, 0x8000, 0x6a08, 0xa294, 0xfff9, | 214 | 0xa005, 0x0040, 0x1585, 0x1078, 0x226f, 0x2091, 0x8001, 0x2708, |
210 | 0x6a0a, 0x6804, 0xa005, 0x0040, 0x1567, 0x1078, 0x21d2, 0x2091, | 215 | 0x0078, 0x1282, 0x77c4, 0x1078, 0x19c5, 0x2091, 0x8000, 0x6a08, |
211 | 0x8001, 0x2708, 0x0078, 0x1282, 0x77c4, 0x1078, 0x1973, 0x2091, | 216 | 0xa295, 0x0004, 0x6a0a, 0x6804, 0xa005, 0x0040, 0x1599, 0x1078, |
212 | 0x8000, 0x6a08, 0xa295, 0x0004, 0x6a0a, 0x6804, 0xa005, 0x0040, | 217 | 0x226f, 0x2091, 0x8001, 0x2708, 0x0078, 0x1282, 0x77c4, 0x2041, |
213 | 0x157b, 0x1078, 0x21d2, 0x2091, 0x8001, 0x2708, 0x0078, 0x1282, | 218 | 0x0001, 0x2049, 0x0005, 0x2051, 0x0020, 0x2091, 0x8000, 0x1078, |
214 | 0x77c4, 0x2041, 0x0001, 0x2049, 0x0005, 0x2051, 0x0020, 0x2091, | 219 | 0x19d2, 0x2091, 0x8001, 0x2708, 0x6a08, 0x0078, 0x1282, 0x77c4, |
215 | 0x8000, 0x1078, 0x1980, 0x2091, 0x8001, 0x2708, 0x6a08, 0x0078, | 220 | 0x72c8, 0x73cc, 0x77c6, 0x72ca, 0x73ce, 0x1078, 0x1a52, 0x00c0, |
216 | 0x1282, 0x77c4, 0x72c8, 0x73cc, 0x77c6, 0x72ca, 0x73ce, 0x1078, | 221 | 0x15c7, 0x6818, 0xa005, 0x0040, 0x15c7, 0x2708, 0x1078, 0x23b7, |
217 | 0x19e1, 0x00c0, 0x15a9, 0x6818, 0xa005, 0x0040, 0x15a9, 0x2708, | 222 | 0x00c0, 0x15c7, 0x7817, 0x0015, 0x2091, 0x8001, 0x007c, 0x2091, |
218 | 0x1078, 0x231a, 0x00c0, 0x15a9, 0x7817, 0x0015, 0x2091, 0x8001, | 223 | 0x8001, 0x0078, 0x1284, 0x77c4, 0x77c6, 0x2041, 0x0021, 0x2049, |
219 | 0x007c, 0x2091, 0x8001, 0x0078, 0x1284, 0x77c4, 0x77c6, 0x2041, | 224 | 0x0005, 0x2051, 0x0020, 0x2091, 0x8000, 0x1078, 0x19d2, 0x2061, |
220 | 0x0021, 0x2049, 0x0005, 0x2051, 0x0020, 0x2091, 0x8000, 0x1078, | 225 | 0x5240, 0x606f, 0x0003, 0x6782, 0x6093, 0x000f, 0x6073, 0x0000, |
221 | 0x1980, 0x2061, 0x5140, 0x606f, 0x0003, 0x6782, 0x6093, 0x000f, | 226 | 0x7817, 0x0016, 0x1078, 0x226f, 0x2091, 0x8001, 0x007c, 0x77c8, |
222 | 0x6073, 0x0000, 0x7817, 0x0016, 0x1078, 0x21d2, 0x2091, 0x8001, | 227 | 0x77ca, 0x77c4, 0x77c6, 0xa7bc, 0xff00, 0x2091, 0x8000, 0x2061, |
223 | 0x007c, 0x77c8, 0x77ca, 0x77c4, 0x77c6, 0xa7bc, 0xff00, 0x2091, | 228 | 0x5240, 0x606f, 0x0002, 0x6073, 0x0000, 0x6782, 0x6093, 0x000f, |
224 | 0x8000, 0x2061, 0x5140, 0x606f, 0x0002, 0x6073, 0x0000, 0x6782, | 229 | 0x7817, 0x0017, 0x1078, 0x226f, 0x2091, 0x8001, 0x2041, 0x0021, |
225 | 0x6093, 0x000f, 0x7817, 0x0017, 0x1078, 0x21d2, 0x2091, 0x8001, | 230 | 0x2049, 0x0004, 0x2051, 0x0010, 0x2091, 0x8000, 0x1078, 0x19d2, |
226 | 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, 0x0010, 0x2091, 0x8000, | 231 | 0x70c8, 0x6836, 0x8738, 0xa784, 0x001f, 0x00c0, 0x1606, 0x2091, |
227 | 0x1078, 0x1980, 0x70c8, 0x6836, 0x8738, 0xa784, 0x001f, 0x00c0, | 232 | 0x8001, 0x007c, 0x78cc, 0xa084, 0x0003, 0x00c0, 0x1636, 0x2039, |
228 | 0x15e8, 0x2091, 0x8001, 0x007c, 0x78cc, 0xa084, 0x0003, 0x00c0, | 233 | 0x0000, 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, 0x0008, 0x1078, |
229 | 0x1618, 0x2039, 0x0000, 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, | 234 | 0x19c5, 0x2091, 0x8000, 0x6808, 0xa80d, 0x690a, 0x2091, 0x8001, |
230 | 0x0008, 0x1078, 0x1973, 0x2091, 0x8000, 0x6808, 0xa80d, 0x690a, | 235 | 0x8738, 0xa784, 0x001f, 0x00c0, 0x161f, 0xa7bc, 0xff00, 0x873f, |
231 | 0x2091, 0x8001, 0x8738, 0xa784, 0x001f, 0x00c0, 0x1601, 0xa7bc, | 236 | 0x8738, 0x873f, 0xa784, 0x0f00, 0x00c0, 0x161f, 0x2091, 0x8000, |
232 | 0xff00, 0x873f, 0x8738, 0x873f, 0xa784, 0x0f00, 0x00c0, 0x1601, | 237 | 0x2069, 0x0100, 0x6830, 0xa084, 0x0040, 0x0040, 0x165f, 0x684b, |
233 | 0x2091, 0x8000, 0x2069, 0x0100, 0x6830, 0xa084, 0x0040, 0x0040, | 238 | 0x0004, 0x20a9, 0x0014, 0x6848, 0xa084, 0x0004, 0x0040, 0x164c, |
234 | 0x1641, 0x684b, 0x0004, 0x20a9, 0x0014, 0x6848, 0xa084, 0x0004, | 239 | 0x0070, 0x164c, 0x0078, 0x1643, 0x684b, 0x0009, 0x20a9, 0x0014, |
235 | 0x0040, 0x162e, 0x0070, 0x162e, 0x0078, 0x1625, 0x684b, 0x0009, | 240 | 0x6848, 0xa084, 0x0001, 0x0040, 0x1659, 0x0070, 0x1659, 0x0078, |
236 | 0x20a9, 0x0014, 0x6848, 0xa084, 0x0001, 0x0040, 0x163b, 0x0070, | 241 | 0x1650, 0x20a9, 0x00fa, 0x0070, 0x165f, 0x0078, 0x165b, 0x2079, |
237 | 0x163b, 0x0078, 0x1632, 0x20a9, 0x00fa, 0x0070, 0x1641, 0x0078, | 242 | 0x5200, 0x7817, 0x0018, 0x2061, 0x5240, 0x606f, 0x0001, 0x6073, |
238 | 0x163d, 0x2079, 0x5100, 0x7817, 0x0018, 0x2061, 0x5140, 0x606f, | 243 | 0x0000, 0x6093, 0x000f, 0x78cc, 0xa085, 0x0002, 0x78ce, 0x6808, |
239 | 0x0001, 0x6073, 0x0000, 0x6093, 0x000f, 0x78cc, 0xa085, 0x0002, | 244 | 0xa084, 0xfffd, 0x680a, 0x681b, 0x0048, 0x2091, 0x8001, 0x007c, |
240 | 0x78ce, 0x6808, 0xa084, 0xfffd, 0x680a, 0x681b, 0x0048, 0x2091, | 245 | 0x78cc, 0xa084, 0xfffd, 0x78ce, 0xa084, 0x0001, 0x00c0, 0x1682, |
241 | 0x8001, 0x007c, 0x78cc, 0xa084, 0xfffd, 0x78ce, 0xa084, 0x0001, | 246 | 0x1078, 0x1a9c, 0x71c4, 0x71c6, 0x794a, 0x007c, 0x1078, 0x1bc4, |
242 | 0x00c0, 0x1664, 0x1078, 0x1a2b, 0x71c4, 0x71c6, 0x794a, 0x007c, | 247 | 0x00c0, 0x129c, 0x75d8, 0x74dc, 0x75da, 0x74de, 0x0078, 0x1693, |
243 | 0x1078, 0x1b53, 0x00c0, 0x129c, 0x75d8, 0x74dc, 0x75da, 0x74de, | 248 | 0x2029, 0x0000, 0x2520, 0x71c4, 0x73c8, 0x72cc, 0x71c6, 0x73ca, |
244 | 0x0078, 0x1675, 0x2029, 0x0000, 0x2520, 0x71c4, 0x73c8, 0x72cc, | 249 | 0x72ce, 0x2079, 0x5200, 0x2091, 0x8000, 0x1078, 0x1980, 0x2091, |
245 | 0x71c6, 0x73ca, 0x72ce, 0x2079, 0x5100, 0x2091, 0x8000, 0x1078, | 250 | 0x8001, 0x0040, 0x174a, 0x20a9, 0x0005, 0x20a1, 0x5218, 0x2091, |
246 | 0x192e, 0x2091, 0x8001, 0x0040, 0x172c, 0x20a9, 0x0005, 0x20a1, | 251 | 0x8000, 0x41a1, 0x2091, 0x8001, 0x2009, 0x0020, 0x1078, 0x197b, |
247 | 0x5118, 0x2091, 0x8000, 0x41a1, 0x2091, 0x8001, 0x2009, 0x0020, | 252 | 0x0040, 0x16b6, 0x1078, 0x199a, 0x0078, 0x174a, 0x6004, 0xa084, |
248 | 0x1078, 0x1929, 0x0040, 0x1698, 0x1078, 0x1948, 0x0078, 0x172c, | 253 | 0xff00, 0x8007, 0x8009, 0x0040, 0x1719, 0x0c7e, 0x2c68, 0x2091, |
249 | 0x6004, 0xa084, 0xff00, 0x8007, 0x8009, 0x0040, 0x16fb, 0x0c7e, | 254 | 0x8000, 0x1078, 0x1980, 0x2091, 0x8001, 0x0040, 0x16ea, 0x2c00, |
250 | 0x2c68, 0x2091, 0x8000, 0x1078, 0x192e, 0x2091, 0x8001, 0x0040, | 255 | 0x689e, 0x8109, 0x00c0, 0x16be, 0x609f, 0x0000, 0x0c7f, 0x0c7e, |
251 | 0x16cc, 0x2c00, 0x689e, 0x8109, 0x00c0, 0x16a0, 0x609f, 0x0000, | 256 | 0x7218, 0x731c, 0x7420, 0x7524, 0x2c68, 0x689c, 0xa065, 0x0040, |
252 | 0x0c7f, 0x0c7e, 0x7218, 0x731c, 0x7420, 0x7524, 0x2c68, 0x689c, | 257 | 0x1718, 0x2009, 0x0020, 0x1078, 0x197b, 0x00c0, 0x1701, 0x6004, |
253 | 0xa065, 0x0040, 0x16fa, 0x2009, 0x0020, 0x1078, 0x1929, 0x00c0, | 258 | 0xa084, 0x00ff, 0xa086, 0x0002, 0x00c0, 0x16ea, 0x2d00, 0x6002, |
254 | 0x16e3, 0x6004, 0xa084, 0x00ff, 0xa086, 0x0002, 0x00c0, 0x16cc, | 259 | 0x0078, 0x16d0, 0x0c7f, 0x0c7e, 0x609c, 0x2060, 0x1078, 0x1a17, |
255 | 0x2d00, 0x6002, 0x0078, 0x16b2, 0x0c7f, 0x0c7e, 0x609c, 0x2060, | 260 | 0x0c7f, 0x609f, 0x0000, 0x1078, 0x174e, 0x2009, 0x000c, 0x6008, |
256 | 0x1078, 0x19b3, 0x0c7f, 0x609f, 0x0000, 0x1078, 0x1730, 0x2009, | 261 | 0xa085, 0x0200, 0x600a, 0x1078, 0x1976, 0x1078, 0x199a, 0x0078, |
257 | 0x000c, 0x6008, 0xa085, 0x0200, 0x600a, 0x1078, 0x1924, 0x1078, | 262 | 0x174a, 0x0c7f, 0x0c7e, 0x609c, 0x2060, 0x1078, 0x1a17, 0x0c7f, |
258 | 0x1948, 0x0078, 0x172c, 0x0c7f, 0x0c7e, 0x609c, 0x2060, 0x1078, | 263 | 0x609f, 0x0000, 0x1078, 0x174e, 0x2009, 0x000c, 0x6007, 0x0103, |
259 | 0x19b3, 0x0c7f, 0x609f, 0x0000, 0x1078, 0x1730, 0x2009, 0x000c, | 264 | 0x601b, 0x0003, 0x1078, 0x1976, 0x1078, 0x199a, 0x0078, 0x174a, |
260 | 0x6007, 0x0103, 0x601b, 0x0003, 0x1078, 0x1924, 0x1078, 0x1948, | 265 | 0x0c7f, 0x74c4, 0x73c8, 0x72cc, 0x6014, 0x2091, 0x8000, 0x7817, |
261 | 0x0078, 0x172c, 0x0c7f, 0x74c4, 0x73c8, 0x72cc, 0x6014, 0x2091, | 266 | 0x0012, 0x0e7e, 0x2071, 0x5240, 0x706f, 0x0005, 0x7073, 0x0000, |
262 | 0x8000, 0x7817, 0x0012, 0x0e7e, 0x2071, 0x5140, 0x706f, 0x0005, | 267 | 0x7376, 0x727a, 0x747e, 0x7082, 0x7087, 0x0000, 0x2c00, 0x708a, |
263 | 0x7073, 0x0000, 0x7376, 0x727a, 0x747e, 0x7082, 0x7087, 0x0000, | 268 | 0x708f, 0x0000, 0xa02e, 0x2530, 0x611c, 0x61a2, 0xa184, 0x0060, |
264 | 0x2c00, 0x708a, 0x708f, 0x0000, 0xa02e, 0x2530, 0x611c, 0x61a2, | 269 | 0x0040, 0x173c, 0x1078, 0x48d3, 0x0e7f, 0x6596, 0x65a6, 0x669a, |
265 | 0xa184, 0x0060, 0x0040, 0x171e, 0x1078, 0x47c2, 0x0e7f, 0x6596, | 270 | 0x66aa, 0x60af, 0x0000, 0x60b3, 0x0000, 0x1078, 0x226f, 0x2091, |
266 | 0x65a6, 0x669a, 0x66aa, 0x60af, 0x0000, 0x60b3, 0x0000, 0x1078, | 271 | 0x8001, 0x007c, 0x70c3, 0x4005, 0x0078, 0x1287, 0x20a9, 0x0005, |
267 | 0x21d2, 0x2091, 0x8001, 0x007c, 0x70c3, 0x4005, 0x0078, 0x1287, | 272 | 0x2099, 0x5218, 0x2091, 0x8000, 0x530a, 0x2091, 0x8001, 0x2100, |
268 | 0x20a9, 0x0005, 0x2099, 0x5118, 0x2091, 0x8000, 0x530a, 0x2091, | 273 | 0xa210, 0xa399, 0x0000, 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x007c, |
269 | 0x8001, 0x2100, 0xa210, 0xa399, 0x0000, 0xa4a1, 0x0000, 0xa5a9, | 274 | 0x71c4, 0x70c7, 0x0000, 0x7906, 0x0078, 0x1284, 0x71c4, 0x71c6, |
270 | 0x0000, 0x007c, 0x71c4, 0x70c7, 0x0000, 0x7906, 0x0078, 0x1284, | 275 | 0x2168, 0x0078, 0x176d, 0x2069, 0x1000, 0x690c, 0xa016, 0x2d04, |
271 | 0x71c4, 0x71c6, 0x2168, 0x0078, 0x174f, 0x2069, 0x1000, 0x690c, | 276 | 0xa210, 0x8d68, 0x8109, 0x00c0, 0x176f, 0xa285, 0x0000, 0x00c0, |
272 | 0xa016, 0x2d04, 0xa210, 0x8d68, 0x8109, 0x00c0, 0x1751, 0xa285, | 277 | 0x177d, 0x70c3, 0x4000, 0x0078, 0x177f, 0x70c3, 0x4003, 0x70ca, |
273 | 0x0000, 0x00c0, 0x175f, 0x70c3, 0x4000, 0x0078, 0x1761, 0x70c3, | 278 | 0x0078, 0x1287, 0x2011, 0x5267, 0x220c, 0x70c4, 0x8003, 0x0048, |
274 | 0x4003, 0x70ca, 0x0078, 0x1287, 0x2011, 0x5167, 0x220c, 0x70c4, | 279 | 0x178f, 0x1078, 0x3c51, 0xa184, 0x7fff, 0x0078, 0x1793, 0x1078, |
275 | 0x8003, 0x0048, 0x1771, 0x1078, 0x3b7f, 0xa184, 0x7fff, 0x0078, | 280 | 0x3c44, 0xa185, 0x8000, 0x2012, 0x0078, 0x1283, 0x71c4, 0x1078, |
276 | 0x1775, 0x1078, 0x3b72, 0xa185, 0x8000, 0x2012, 0x0078, 0x1283, | 281 | 0x3c3b, 0x6100, 0x2001, 0x5267, 0x2004, 0xa084, 0x8000, 0xa10d, |
277 | 0x71c4, 0x1078, 0x3b69, 0x6100, 0x2001, 0x5167, 0x2004, 0xa084, | 282 | 0x6204, 0x6308, 0x0078, 0x1281, 0x79e4, 0x0078, 0x1283, 0x71c4, |
278 | 0x8000, 0xa10d, 0x6204, 0x6308, 0x0078, 0x1281, 0x79e4, 0x0078, | 283 | 0x71c6, 0x2198, 0x20a1, 0x0042, 0x20a9, 0x0004, 0x53a3, 0x21a0, |
279 | 0x1283, 0x71c4, 0x71c6, 0x2198, 0x20a1, 0x0042, 0x20a9, 0x0004, | 284 | 0x2099, 0x0042, 0x20a9, 0x0004, 0x53a3, 0x0078, 0x1284, 0x70c4, |
280 | 0x53a3, 0x21a0, 0x2099, 0x0042, 0x20a9, 0x0004, 0x53a3, 0x0078, | 285 | 0x2068, 0x2079, 0x5200, 0x2091, 0x8000, 0x1078, 0x1980, 0x2091, |
281 | 0x1284, 0x70c4, 0x2068, 0x2079, 0x5100, 0x2091, 0x8000, 0x1078, | 286 | 0x8001, 0x0040, 0x1843, 0x6007, 0x0001, 0x600b, 0x0000, 0x602b, |
282 | 0x192e, 0x2091, 0x8001, 0x0040, 0x1825, 0x6007, 0x0001, 0x600b, | 287 | 0x0000, 0x601b, 0x0006, 0x6a10, 0xa28c, 0x000f, 0xa284, 0x00f0, |
283 | 0x0000, 0x602b, 0x0000, 0x601b, 0x0006, 0x6a10, 0xa28c, 0x000f, | 288 | 0x8003, 0x8003, 0x8003, 0x8003, 0xa105, 0x6016, 0xa284, 0x0800, |
284 | 0xa284, 0x00f0, 0x8003, 0x8003, 0x8003, 0x8003, 0xa105, 0x6016, | 289 | 0x0040, 0x17de, 0x601b, 0x000a, 0x0078, 0x17e4, 0xa284, 0x1000, |
285 | 0xa284, 0x0800, 0x0040, 0x17c0, 0x601b, 0x000a, 0x0078, 0x17c6, | 290 | 0x0040, 0x17e4, 0x601b, 0x000c, 0xa284, 0x0300, 0x0040, 0x17ed, |
286 | 0xa284, 0x1000, 0x0040, 0x17c6, 0x601b, 0x000c, 0xa284, 0x0300, | 291 | 0x602b, 0x0001, 0x8004, 0x8004, 0x8004, 0xa085, 0x0001, 0x601e, |
287 | 0x0040, 0x17cf, 0x602b, 0x0001, 0x8004, 0x8004, 0x8004, 0xa085, | 292 | 0x6023, 0x0000, 0x6027, 0x0000, 0xa284, 0x0400, 0x0040, 0x17fa, |
288 | 0x0001, 0x601e, 0x6023, 0x0000, 0x6027, 0x0000, 0xa284, 0x0400, | 293 | 0x602b, 0x0000, 0x20a9, 0x0006, 0xac80, 0x000b, 0x20a0, 0xad80, |
289 | 0x0040, 0x17dc, 0x602b, 0x0000, 0x20a9, 0x0006, 0xac80, 0x000b, | 294 | 0x0005, 0x2098, 0x53a3, 0xa284, 0x0300, 0x00c0, 0x180f, 0x6046, |
290 | 0x20a0, 0xad80, 0x0005, 0x2098, 0x53a3, 0xa284, 0x0300, 0x00c0, | 295 | 0x604a, 0x604e, 0x6052, 0x6096, 0x609a, 0x0078, 0x1819, 0x6800, |
291 | 0x17f1, 0x6046, 0x604a, 0x604e, 0x6052, 0x6096, 0x609a, 0x0078, | 296 | 0x6046, 0x6804, 0x604a, 0x6e08, 0x664e, 0x6d0c, 0x6552, 0x6596, |
292 | 0x17fb, 0x6800, 0x6046, 0x6804, 0x604a, 0x6e08, 0x664e, 0x6d0c, | 297 | 0x669a, 0x6014, 0x2091, 0x8000, 0x7817, 0x0042, 0x2c08, 0x2061, |
293 | 0x6552, 0x6596, 0x669a, 0x6014, 0x2091, 0x8000, 0x7817, 0x0042, | 298 | 0x5240, 0x606f, 0x0005, 0x6073, 0x0000, 0x6077, 0x0000, 0x607b, |
294 | 0x2c08, 0x2061, 0x5140, 0x606f, 0x0005, 0x6073, 0x0000, 0x6077, | 299 | 0x0000, 0x607f, 0x0000, 0x6082, 0x618a, 0xa284, 0x0400, 0x608e, |
295 | 0x0000, 0x607b, 0x0000, 0x607f, 0x0000, 0x6082, 0x618a, 0xa284, | 300 | 0x2091, 0x8001, 0x0e7e, 0x2071, 0x0020, 0x7007, 0x000a, 0x7007, |
296 | 0x0400, 0x608e, 0x2091, 0x8001, 0x0e7e, 0x2071, 0x0020, 0x7007, | 301 | 0x0002, 0x7003, 0x0000, 0x0e7f, 0x2091, 0x8000, 0x1078, 0x226f, |
297 | 0x000a, 0x7007, 0x0002, 0x7003, 0x0000, 0x0e7f, 0x2091, 0x8000, | 302 | 0x2091, 0x8001, 0x007c, 0x70c3, 0x4005, 0x0078, 0x1287, 0x0c7e, |
298 | 0x1078, 0x21d2, 0x2091, 0x8001, 0x007c, 0x70c3, 0x4005, 0x0078, | 303 | 0x0d7e, 0x0e7e, 0x0f7e, 0x2091, 0x8000, 0x2071, 0x5240, 0x2079, |
299 | 0x1287, 0x0c7e, 0x0d7e, 0x0e7e, 0x0f7e, 0x2091, 0x8000, 0x2071, | 304 | 0x0100, 0x2061, 0x0010, 0x70a0, 0xa06d, 0x0040, 0x1903, 0x6a04, |
300 | 0x5140, 0x2079, 0x0100, 0x2061, 0x0010, 0x70a0, 0xa06d, 0x0040, | 305 | 0xa294, 0x00ff, 0xa286, 0x0007, 0x0040, 0x1862, 0xa286, 0x000f, |
301 | 0x18b1, 0x6a04, 0xa294, 0x00ff, 0xa286, 0x0007, 0x0040, 0x1844, | 306 | 0x00c0, 0x1903, 0x691c, 0xa184, 0x00c0, 0x0040, 0x1903, 0xa184, |
302 | 0xa286, 0x000f, 0x00c0, 0x18b1, 0x691c, 0xa184, 0x0080, 0x00c0, | 307 | 0x0080, 0x00c0, 0x18d3, 0x6824, 0xa084, 0xff00, 0xa085, 0x0019, |
303 | 0x18b1, 0x6824, 0xa18c, 0xff00, 0xa085, 0x0019, 0x6826, 0x71b0, | 308 | 0x6826, 0x71b0, 0x81ff, 0x0040, 0x1889, 0x0d7e, 0x2069, 0x0020, |
304 | 0x81ff, 0x0040, 0x1867, 0x0d7e, 0x2069, 0x0020, 0x6807, 0x0010, | 309 | 0x6807, 0x0010, 0x6908, 0x6808, 0xa106, 0x00c0, 0x187a, 0x690c, |
305 | 0x6908, 0x6808, 0xa106, 0x00c0, 0x1858, 0x690c, 0x680c, 0xa106, | 310 | 0x680c, 0xa106, 0x00c0, 0x187f, 0xa184, 0x00ff, 0x00c0, 0x187f, |
306 | 0x00c0, 0x185d, 0xa184, 0x00ff, 0x00c0, 0x185d, 0x0d7f, 0x78b8, | 311 | 0x0d7f, 0x78b8, 0xa084, 0x801f, 0x00c0, 0x1889, 0x7848, 0xa085, |
307 | 0xa084, 0x801f, 0x00c0, 0x1867, 0x7848, 0xa085, 0x000c, 0x784a, | 312 | 0x000c, 0x784a, 0x71b0, 0x81ff, 0x0040, 0x18ac, 0x70b3, 0x0000, |
308 | 0x71b0, 0x81ff, 0x0040, 0x188a, 0x70b3, 0x0000, 0x0d7e, 0x2069, | 313 | 0x0d7e, 0x2069, 0x0020, 0x6807, 0x0018, 0x6804, 0xa084, 0x0008, |
309 | 0x0020, 0x6807, 0x0018, 0x6804, 0xa084, 0x0008, 0x00c0, 0x187b, | 314 | 0x00c0, 0x189d, 0x6807, 0x0008, 0x6804, 0xa084, 0x0008, 0x00c0, |
310 | 0x6807, 0x0008, 0x6804, 0xa084, 0x0008, 0x00c0, 0x1882, 0x6807, | 315 | 0x18a4, 0x6807, 0x0002, 0x0d7f, 0x61c4, 0x62c8, 0x63cc, 0x61c6, |
311 | 0x0002, 0x0d7f, 0x61c4, 0x62c8, 0x63cc, 0x61c6, 0x62ca, 0x63ce, | 316 | 0x62ca, 0x63ce, 0x0e7e, 0x2071, 0x5200, 0x7266, 0x736a, 0xae80, |
312 | 0x0e7e, 0x2071, 0x5100, 0x7266, 0x736a, 0xae80, 0x0019, 0x0e7f, | 317 | 0x0019, 0x0e7f, 0x7848, 0xa084, 0x000c, 0x00c0, 0x18ba, 0x1078, |
313 | 0x7848, 0xa084, 0x000c, 0x00c0, 0x1898, 0x1078, 0x46db, 0x78a3, | 318 | 0x47e1, 0x78a3, 0x0000, 0x7858, 0xa084, 0xedff, 0x785a, 0x70b4, |
314 | 0x0000, 0x7858, 0xa084, 0xedff, 0x785a, 0x70b4, 0xa080, 0x00df, | 319 | 0xa080, 0x00da, 0x781a, 0x0f7f, 0x0e7f, 0x0d7f, 0x0c7f, 0x2091, |
315 | 0x781a, 0x0f7f, 0x0e7f, 0x0d7f, 0x0c7f, 0x2091, 0x8001, 0x0078, | 320 | 0x8001, 0x0078, 0x1284, 0x6824, 0xa084, 0xff00, 0xa085, 0x0019, |
316 | 0x1284, 0x0f7f, 0x0e7f, 0x0d7f, 0x0c7f, 0x2091, 0x8001, 0x2001, | 321 | 0x6826, 0x78b8, 0xa084, 0x801f, 0x00c0, 0x18d9, 0x7848, 0xa085, |
317 | 0x4005, 0x0078, 0x1286, 0x7980, 0x71c6, 0x71c4, 0xa182, 0x0003, | 322 | 0x000c, 0x784a, 0x7848, 0xa084, 0x000c, 0x00c0, 0x18e2, 0x71b0, |
318 | 0x00c8, 0x127c, 0x7982, 0x0078, 0x1284, 0x7980, 0x71c6, 0x0078, | 323 | 0x81ff, 0x0040, 0x1901, 0x70b3, 0x0000, 0x0d7e, 0x2069, 0x0020, |
319 | 0x1284, 0x7974, 0x71c6, 0x71c4, 0x7976, 0x7978, 0x71ca, 0x71c8, | 324 | 0x6807, 0x0018, 0x6804, 0xa084, 0x0008, 0x00c0, 0x18f2, 0x6807, |
320 | 0x797a, 0x797c, 0x71ce, 0x71cc, 0x797e, 0x0078, 0x1284, 0x7974, | 325 | 0x0008, 0x6804, 0xa084, 0x0008, 0x00c0, 0x18f9, 0x6807, 0x0002, |
321 | 0x71c6, 0x7978, 0x71ca, 0x797c, 0x71ce, 0x0078, 0x1284, 0x7900, | 326 | 0x0d7f, 0x0078, 0x18cb, 0x0f7f, 0x0e7f, 0x0d7f, 0x0c7f, 0x2091, |
322 | 0x71c6, 0x71c4, 0x7902, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, | 327 | 0x8001, 0x2001, 0x4005, 0x0078, 0x1286, 0x7980, 0x71c6, 0x71c4, |
323 | 0x0048, 0x18ee, 0x0038, 0x18f0, 0x0078, 0x18fa, 0x00a8, 0x18fa, | 328 | 0xa182, 0x0003, 0x00c8, 0x127c, 0x7982, 0x0078, 0x1284, 0x7980, |
324 | 0xa18c, 0x0001, 0x00c0, 0x18f8, 0x20b9, 0x2222, 0x0078, 0x18fa, | 329 | 0x71c6, 0x0078, 0x1284, 0x7974, 0x71c6, 0x71c4, 0x7976, 0x7978, |
325 | 0x20b9, 0x1212, 0x0078, 0x1284, 0x7900, 0x71c6, 0x0078, 0x1284, | 330 | 0x71ca, 0x71c8, 0x797a, 0x797c, 0x71ce, 0x71cc, 0x797e, 0x0078, |
326 | 0x2009, 0x5174, 0x2104, 0x70c6, 0x70c4, 0x200a, 0x0078, 0x1284, | 331 | 0x1284, 0x7974, 0x71c6, 0x7978, 0x71ca, 0x797c, 0x71ce, 0x0078, |
327 | 0x2009, 0x5174, 0x2104, 0x70c6, 0x0078, 0x1284, 0x71c4, 0x8107, | 332 | 0x1284, 0x7900, 0x71c6, 0x71c4, 0x7902, 0x2001, 0x04fd, 0x2004, |
328 | 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xa0e8, 0x5380, 0x6a14, | 333 | 0xa082, 0x0005, 0x0048, 0x1940, 0x0038, 0x1942, 0x0078, 0x194c, |
329 | 0xd2b4, 0x0040, 0x191f, 0x2011, 0x0001, 0x0078, 0x1921, 0x2011, | 334 | 0x00a8, 0x194c, 0xa18c, 0x0001, 0x00c0, 0x194a, 0x20b9, 0x2222, |
330 | 0x0000, 0x6b0c, 0x0078, 0x1281, 0xac80, 0x0001, 0x1078, 0x1b0f, | 335 | 0x0078, 0x194c, 0x20b9, 0x1212, 0x0078, 0x1284, 0x7900, 0x71c6, |
331 | 0x007c, 0xac80, 0x0001, 0x1078, 0x1aaf, 0x007c, 0x7850, 0xa065, | 336 | 0x0078, 0x1284, 0x2009, 0x5274, 0x2104, 0x70c6, 0x70c4, 0x200a, |
332 | 0x0040, 0x1936, 0x2c04, 0x7852, 0x2063, 0x0000, 0x007c, 0x0f7e, | 337 | 0x0078, 0x1284, 0x2009, 0x5274, 0x2104, 0x70c6, 0x0078, 0x1284, |
333 | 0x2079, 0x5100, 0x7850, 0xa06d, 0x0040, 0x1946, 0x2d04, 0x7852, | 338 | 0x71c4, 0x8107, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xa0e8, |
334 | 0x6803, 0x0000, 0x6807, 0x0000, 0x680b, 0x0000, 0x0f7f, 0x007c, | 339 | 0x5480, 0x6a14, 0xd2b4, 0x0040, 0x1971, 0x2011, 0x0001, 0x0078, |
335 | 0x2091, 0x8000, 0x0f7e, 0x2079, 0x5100, 0x7850, 0x2062, 0x2c00, | 340 | 0x1973, 0x2011, 0x0000, 0x6b0c, 0x0078, 0x1281, 0xac80, 0x0001, |
336 | 0xa005, 0x00c0, 0x1955, 0x1078, 0x23eb, 0x7852, 0x0f7f, 0x2091, | 341 | 0x1078, 0x1b80, 0x007c, 0xac80, 0x0001, 0x1078, 0x1b20, 0x007c, |
337 | 0x8001, 0x007c, 0x0f7e, 0x2079, 0x5100, 0x7850, 0x206a, 0x2d00, | 342 | 0x7850, 0xa065, 0x0040, 0x1988, 0x2c04, 0x7852, 0x2063, 0x0000, |
338 | 0x7852, 0x0f7f, 0x007c, 0x2011, 0x7800, 0x7a52, 0x7bec, 0x8319, | 343 | 0x007c, 0x0f7e, 0x2079, 0x5200, 0x7850, 0xa06d, 0x0040, 0x1998, |
339 | 0x0040, 0x1970, 0xa280, 0x0031, 0x2012, 0x2010, 0x0078, 0x1967, | 344 | 0x2d04, 0x7852, 0x6803, 0x0000, 0x6807, 0x0000, 0x680b, 0x0000, |
340 | 0x2013, 0x0000, 0x007c, 0xa784, 0x0f00, 0x800b, 0xa784, 0x001f, | 345 | 0x0f7f, 0x007c, 0x2091, 0x8000, 0x0f7e, 0x2079, 0x5200, 0x7850, |
341 | 0x8003, 0x8003, 0x8003, 0x8003, 0xa105, 0xa0e8, 0x5400, 0x007c, | 346 | 0x2062, 0x2c00, 0xa005, 0x00c0, 0x19a7, 0x1078, 0x248c, 0x7852, |
342 | 0x1078, 0x1973, 0x2900, 0x682a, 0x2a00, 0x682e, 0x6808, 0xa084, | 347 | 0x0f7f, 0x2091, 0x8001, 0x007c, 0x0f7e, 0x2079, 0x5200, 0x7850, |
343 | 0xffef, 0xa80d, 0x690a, 0x2009, 0x5152, 0x210c, 0x6804, 0xa005, | 348 | 0x206a, 0x2d00, 0x7852, 0x0f7f, 0x007c, 0x2011, 0x7900, 0x7a52, |
344 | 0x0040, 0x19b2, 0xa116, 0x00c0, 0x199d, 0x2060, 0x6000, 0x6806, | 349 | 0x7bec, 0x8319, 0x0040, 0x19c2, 0xa280, 0x0031, 0x2012, 0x2010, |
345 | 0x017e, 0x200b, 0x0000, 0x0078, 0x19a0, 0x2009, 0x0000, 0x017e, | 350 | 0x0078, 0x19b9, 0x2013, 0x0000, 0x007c, 0xa784, 0x0f00, 0x800b, |
346 | 0x6804, 0xa065, 0x0040, 0x19af, 0x6000, 0x6806, 0x1078, 0x19c0, | 351 | 0xa784, 0x001f, 0x8003, 0x8003, 0x8003, 0x8003, 0xa105, 0xa0e8, |
347 | 0x1078, 0x1c5f, 0x6810, 0x8001, 0x6812, 0x00c0, 0x19a0, 0x017f, | 352 | 0x5500, 0x007c, 0x1078, 0x19c5, 0x2900, 0x682a, 0x2a00, 0x682e, |
348 | 0x6902, 0x6906, 0x007c, 0xa065, 0x0040, 0x19bf, 0x609c, 0x609f, | 353 | 0x6808, 0xa084, 0xffef, 0xa80d, 0x690a, 0x2009, 0x5252, 0x210c, |
349 | 0x0000, 0x2008, 0x1078, 0x1948, 0x2100, 0x0078, 0x19b3, 0x007c, | 354 | 0x6804, 0xa005, 0x0040, 0x1a04, 0xa116, 0x00c0, 0x19ef, 0x2060, |
350 | 0x6007, 0x0103, 0x608f, 0x0000, 0x20a9, 0x001c, 0xac80, 0x0005, | 355 | 0x6000, 0x6806, 0x017e, 0x200b, 0x0000, 0x0078, 0x19f2, 0x2009, |
351 | 0x20a0, 0x2001, 0x0000, 0x40a4, 0x6828, 0x601a, 0x682c, 0x6022, | 356 | 0x0000, 0x017e, 0x6804, 0xa065, 0x0040, 0x1a01, 0x6000, 0x6806, |
352 | 0x007c, 0x0e7e, 0x2071, 0x5140, 0x704c, 0xa08c, 0x0200, 0x00c0, | 357 | 0x1078, 0x1a31, 0x1078, 0x1ccb, 0x6810, 0x8001, 0x6812, 0x00c0, |
353 | 0x19df, 0xa088, 0x5180, 0x2d0a, 0x8000, 0x704e, 0xa006, 0x0e7f, | 358 | 0x19f2, 0x017f, 0x6902, 0x6906, 0x007c, 0xa065, 0x0040, 0x1a16, |
354 | 0x007c, 0x1078, 0x1973, 0x2091, 0x8000, 0x6804, 0x781e, 0xa065, | 359 | 0x2008, 0x609c, 0xa005, 0x0040, 0x1a13, 0x2062, 0x609f, 0x0000, |
355 | 0x0040, 0x1a2a, 0x0078, 0x19f2, 0x2c00, 0x781e, 0x6000, 0xa065, | 360 | 0xa065, 0x0078, 0x1a09, 0x7850, 0x7952, 0x2062, 0x007c, 0xa065, |
356 | 0x0040, 0x1a2a, 0x600c, 0xa306, 0x00c0, 0x19ec, 0x6010, 0xa206, | 361 | 0x0040, 0x1a30, 0x2008, 0x609c, 0xa005, 0x0040, 0x1a25, 0x2062, |
357 | 0x00c0, 0x19ec, 0x2c28, 0x2001, 0x5152, 0x2004, 0xac06, 0x00c0, | 362 | 0x609f, 0x0000, 0xa065, 0x0078, 0x1a1b, 0x0f7e, 0x2079, 0x5200, |
358 | 0x1a03, 0x0078, 0x1a28, 0x6804, 0xac06, 0x00c0, 0x1a10, 0x6000, | 363 | 0x2091, 0x8000, 0x7850, 0x7952, 0x0f7f, 0x2062, 0x2091, 0x8001, |
359 | 0xa065, 0x6806, 0x00c0, 0x1a1a, 0x6803, 0x0000, 0x0078, 0x1a1a, | 364 | 0x007c, 0x6007, 0x0103, 0x608f, 0x0000, 0x20a9, 0x001c, 0xac80, |
360 | 0x6400, 0x781c, 0x2060, 0x6402, 0xa486, 0x0000, 0x00c0, 0x1a1a, | 365 | 0x0005, 0x20a0, 0x2001, 0x0000, 0x40a4, 0x6828, 0x601a, 0x682c, |
361 | 0x2c00, 0x6802, 0x2560, 0x1078, 0x19c0, 0x601b, 0x0005, 0x6023, | 366 | 0x6022, 0x007c, 0x0e7e, 0x2071, 0x5240, 0x704c, 0xa08c, 0x0200, |
362 | 0x0020, 0x1078, 0x1c5f, 0x6810, 0x8001, 0x1050, 0x23eb, 0x6812, | 367 | 0x00c0, 0x1a50, 0xa088, 0x5280, 0x2d0a, 0x8000, 0x704e, 0xa006, |
363 | 0xa085, 0xffff, 0x007c, 0x2039, 0x0000, 0x2041, 0x0021, 0x2049, | 368 | 0x0e7f, 0x007c, 0x1078, 0x19c5, 0x2091, 0x8000, 0x6804, 0x781e, |
364 | 0x0004, 0x2051, 0x0008, 0x2091, 0x8000, 0x1078, 0x1980, 0x8738, | 369 | 0xa065, 0x0040, 0x1a9b, 0x0078, 0x1a63, 0x2c00, 0x781e, 0x6000, |
365 | 0xa784, 0x001f, 0x00c0, 0x1a35, 0xa7bc, 0xff00, 0x873f, 0x8738, | 370 | 0xa065, 0x0040, 0x1a9b, 0x600c, 0xa306, 0x00c0, 0x1a5d, 0x6010, |
366 | 0x873f, 0xa784, 0x0f00, 0x00c0, 0x1a35, 0x2091, 0x8001, 0x007c, | 371 | 0xa206, 0x00c0, 0x1a5d, 0x2c28, 0x2001, 0x5252, 0x2004, 0xac06, |
367 | 0x2061, 0x0000, 0x6018, 0xa084, 0x0001, 0x00c0, 0x1a59, 0x2091, | 372 | 0x00c0, 0x1a74, 0x0078, 0x1a99, 0x6804, 0xac06, 0x00c0, 0x1a81, |
368 | 0x8000, 0x78e0, 0x78e3, 0x0000, 0x2091, 0x8001, 0xa005, 0x00c0, | 373 | 0x6000, 0xa065, 0x6806, 0x00c0, 0x1a8b, 0x6803, 0x0000, 0x0078, |
369 | 0x1a5a, 0x007c, 0xa08c, 0xfff0, 0x0040, 0x1a60, 0x1078, 0x23eb, | 374 | 0x1a8b, 0x6400, 0x781c, 0x2060, 0x6402, 0xa486, 0x0000, 0x00c0, |
370 | 0x0079, 0x1a62, 0x1a72, 0x1a75, 0x1a7b, 0x1a7f, 0x1a73, 0x1a83, | 375 | 0x1a8b, 0x2c00, 0x6802, 0x2560, 0x1078, 0x1a31, 0x601b, 0x0005, |
371 | 0x1a89, 0x1a73, 0x1a73, 0x1c29, 0x1c4d, 0x1c51, 0x1a73, 0x1a73, | 376 | 0x6023, 0x0020, 0x1078, 0x1ccb, 0x6810, 0x8001, 0x1050, 0x248c, |
372 | 0x1a73, 0x1a73, 0x007c, 0x1078, 0x23eb, 0x1078, 0x1a2b, 0x2001, | 377 | 0x6812, 0xa085, 0xffff, 0x007c, 0x2039, 0x0000, 0x2041, 0x0021, |
373 | 0x8001, 0x0078, 0x1c57, 0x2001, 0x8003, 0x0078, 0x1c57, 0x2001, | 378 | 0x2049, 0x0004, 0x2051, 0x0008, 0x2091, 0x8000, 0x1078, 0x19d2, |
374 | 0x8004, 0x0078, 0x1c57, 0x1078, 0x1a2b, 0x2001, 0x8006, 0x0078, | 379 | 0x8738, 0xa784, 0x001f, 0x00c0, 0x1aa6, 0xa7bc, 0xff00, 0x873f, |
375 | 0x1c57, 0x2001, 0x8007, 0x0078, 0x1c57, 0x2030, 0x2138, 0xa782, | 380 | 0x8738, 0x873f, 0xa784, 0x0f00, 0x00c0, 0x1aa6, 0x2091, 0x8001, |
376 | 0x0021, 0x0048, 0x1a95, 0x2009, 0x0020, 0x2600, 0x1078, 0x1aaf, | 381 | 0x007c, 0x2061, 0x0000, 0x6018, 0xa084, 0x0001, 0x00c0, 0x1aca, |
377 | 0x00c0, 0x1aae, 0xa7ba, 0x0020, 0x0048, 0x1aad, 0x0040, 0x1aad, | 382 | 0x2091, 0x8000, 0x78e0, 0x78e3, 0x0000, 0x2091, 0x8001, 0xa005, |
378 | 0x2708, 0xa6b0, 0x0020, 0xa290, 0x0040, 0xa399, 0x0000, 0xa4a1, | 383 | 0x00c0, 0x1acb, 0x007c, 0xa08c, 0xfff0, 0x0040, 0x1ad1, 0x1078, |
379 | 0x0000, 0xa5a9, 0x0000, 0x0078, 0x1a8f, 0xa006, 0x007c, 0x81ff, | 384 | 0x248c, 0x0079, 0x1ad3, 0x1ae3, 0x1ae6, 0x1aec, 0x1af0, 0x1ae4, |
380 | 0x0040, 0x1aea, 0x2099, 0x0030, 0x20a0, 0x700c, 0xa084, 0x00ff, | 385 | 0x1af4, 0x1afa, 0x1ae4, 0x1ae4, 0x1c95, 0x1cb9, 0x1cbd, 0x1ae4, |
381 | 0x0040, 0x1ac1, 0x7007, 0x0004, 0x7004, 0xa084, 0x0004, 0x00c0, | 386 | 0x1ae4, 0x1ae4, 0x1ae4, 0x007c, 0x1078, 0x248c, 0x1078, 0x1a9c, |
382 | 0x1abc, 0x21a8, 0x7017, 0x0000, 0x810b, 0x7112, 0x721a, 0x731e, | 387 | 0x2001, 0x8001, 0x0078, 0x1cc3, 0x2001, 0x8003, 0x0078, 0x1cc3, |
383 | 0x7422, 0x7526, 0x780c, 0xa085, 0x0001, 0x7002, 0x7007, 0x0001, | 388 | 0x2001, 0x8004, 0x0078, 0x1cc3, 0x1078, 0x1a9c, 0x2001, 0x8006, |
384 | 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, 0x00c8, 0x1ade, 0x2009, | 389 | 0x0078, 0x1cc3, 0x2001, 0x8007, 0x0078, 0x1cc3, 0x2030, 0x2138, |
385 | 0x0022, 0x2104, 0xa084, 0x4000, 0x00c0, 0x1ad0, 0x7008, 0x800b, | 390 | 0xa782, 0x0021, 0x0048, 0x1b06, 0x2009, 0x0020, 0x2600, 0x1078, |
386 | 0x00c8, 0x1ad0, 0x7007, 0x0002, 0xa08c, 0x01e0, 0x00c0, 0x1aea, | 391 | 0x1b20, 0x00c0, 0x1b1f, 0xa7ba, 0x0020, 0x0048, 0x1b1e, 0x0040, |
387 | 0x53a5, 0xa006, 0x7003, 0x0000, 0x007c, 0x2030, 0x2138, 0xa782, | 392 | 0x1b1e, 0x2708, 0xa6b0, 0x0020, 0xa290, 0x0040, 0xa399, 0x0000, |
388 | 0x0021, 0x0048, 0x1af5, 0x2009, 0x0020, 0x2600, 0x1078, 0x1b0f, | 393 | 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x0078, 0x1b00, 0xa006, 0x007c, |
389 | 0x00c0, 0x1b0e, 0xa7ba, 0x0020, 0x0048, 0x1b0d, 0x0040, 0x1b0d, | 394 | 0x81ff, 0x0040, 0x1b5b, 0x2099, 0x0030, 0x20a0, 0x700c, 0xa084, |
390 | 0x2708, 0xa6b0, 0x0020, 0xa290, 0x0040, 0xa399, 0x0000, 0xa4a1, | 395 | 0x00ff, 0x0040, 0x1b32, 0x7007, 0x0004, 0x7004, 0xa084, 0x0004, |
391 | 0x0000, 0xa5a9, 0x0000, 0x0078, 0x1aef, 0xa006, 0x007c, 0x81ff, | 396 | 0x00c0, 0x1b2d, 0x21a8, 0x7017, 0x0000, 0x810b, 0x7112, 0x721a, |
392 | 0x0040, 0x1b50, 0x2098, 0x20a1, 0x0030, 0x700c, 0xa084, 0x00ff, | 397 | 0x731e, 0x7422, 0x7526, 0x780c, 0xa085, 0x0001, 0x7002, 0x7007, |
393 | 0x0040, 0x1b21, 0x7007, 0x0004, 0x7004, 0xa084, 0x0004, 0x00c0, | 398 | 0x0001, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, 0x00c8, 0x1b4f, |
394 | 0x1b1c, 0x21a8, 0x7017, 0x0000, 0x810b, 0x7112, 0x721a, 0x731e, | 399 | 0x2009, 0x0022, 0x2104, 0xa084, 0x4000, 0x00c0, 0x1b41, 0x7008, |
395 | 0x7422, 0x7526, 0x780c, 0xa085, 0x0000, 0x7002, 0x53a6, 0x7007, | 400 | 0x800b, 0x00c8, 0x1b41, 0x7007, 0x0002, 0xa08c, 0x01e0, 0x00c0, |
396 | 0x0001, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, 0x00c8, 0x1b3f, | 401 | 0x1b5b, 0x53a5, 0xa006, 0x7003, 0x0000, 0x007c, 0x2030, 0x2138, |
397 | 0x2009, 0x0022, 0x2104, 0xa084, 0x4000, 0x00c0, 0x1b31, 0x7010, | 402 | 0xa782, 0x0021, 0x0048, 0x1b66, 0x2009, 0x0020, 0x2600, 0x1078, |
398 | 0xa084, 0xf000, 0x0040, 0x1b48, 0x7007, 0x0008, 0x0078, 0x1b4c, | 403 | 0x1b80, 0x00c0, 0x1b7f, 0xa7ba, 0x0020, 0x0048, 0x1b7e, 0x0040, |
399 | 0x7108, 0x8103, 0x00c8, 0x1b31, 0x7007, 0x0002, 0xa184, 0x01e0, | 404 | 0x1b7e, 0x2708, 0xa6b0, 0x0020, 0xa290, 0x0040, 0xa399, 0x0000, |
400 | 0x7003, 0x0000, 0x007c, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0004, | 405 | 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x0078, 0x1b60, 0xa006, 0x007c, |
401 | 0x00c8, 0x1b5c, 0x0078, 0x1b5f, 0xa006, 0x0078, 0x1b61, 0xa085, | 406 | 0x81ff, 0x0040, 0x1bc1, 0x2098, 0x20a1, 0x0030, 0x700c, 0xa084, |
402 | 0x0001, 0x007c, 0x0e7e, 0x2071, 0x5100, 0x2d08, 0x7058, 0x6802, | 407 | 0x00ff, 0x0040, 0x1b92, 0x7007, 0x0004, 0x7004, 0xa084, 0x0004, |
403 | 0xa005, 0x00c0, 0x1b6c, 0x715e, 0x715a, 0x0e7f, 0x007c, 0x2c08, | 408 | 0x00c0, 0x1b8d, 0x21a8, 0x7017, 0x0000, 0x810b, 0x7112, 0x721a, |
404 | 0x7858, 0x6002, 0xa005, 0x00c0, 0x1b76, 0x795e, 0x795a, 0x007c, | 409 | 0x731e, 0x7422, 0x7526, 0x780c, 0xa085, 0x0000, 0x7002, 0x53a6, |
405 | 0x2091, 0x8000, 0x6003, 0x0000, 0x2c08, 0x785c, 0xa065, 0x00c0, | 410 | 0x7007, 0x0001, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, 0x00c8, |
406 | 0x1b84, 0x795a, 0x0078, 0x1b85, 0x6102, 0x795e, 0x2091, 0x8001, | 411 | 0x1bb0, 0x2009, 0x0022, 0x2104, 0xa084, 0x4000, 0x00c0, 0x1ba2, |
407 | 0x1078, 0x21ef, 0x007c, 0x0e7e, 0x2071, 0x5100, 0x7058, 0xa06d, | 412 | 0x7010, 0xa084, 0xf000, 0x0040, 0x1bb9, 0x7007, 0x0008, 0x0078, |
408 | 0x0040, 0x1b99, 0x6800, 0x705a, 0xa005, 0x00c0, 0x1b98, 0x705e, | 413 | 0x1bbd, 0x7108, 0x8103, 0x00c8, 0x1ba2, 0x7007, 0x0002, 0xa184, |
409 | 0x8dff, 0x0e7f, 0x007c, 0x0d7e, 0x0c7e, 0x0f7e, 0x2079, 0x5100, | 414 | 0x01e0, 0x7003, 0x0000, 0x007c, 0x2001, 0x04fd, 0x2004, 0xa082, |
410 | 0xaf80, 0x0016, 0x2060, 0x6000, 0xa005, 0x0040, 0x1bc9, 0x2068, | 415 | 0x0004, 0x00c8, 0x1bcd, 0x0078, 0x1bd0, 0xa006, 0x0078, 0x1bd2, |
411 | 0x6814, 0xa306, 0x00c0, 0x1bb2, 0x6828, 0xa084, 0x00ff, 0xa406, | 416 | 0xa085, 0x0001, 0x007c, 0x0e7e, 0x2071, 0x5200, 0x2d08, 0x7058, |
412 | 0x0040, 0x1bb5, 0x2d60, 0x0078, 0x1ba3, 0x6800, 0xa005, 0x6002, | 417 | 0x6802, 0xa005, 0x00c0, 0x1bdd, 0x715e, 0x715a, 0x0e7f, 0x007c, |
413 | 0x00c0, 0x1bc1, 0xaf80, 0x0016, 0xac06, 0x0040, 0x1bc0, 0x2c00, | 418 | 0x2c08, 0x7858, 0x6002, 0xa005, 0x00c0, 0x1be7, 0x795e, 0x795a, |
414 | 0x785e, 0x0d7e, 0x689c, 0xa005, 0x0040, 0x1bc8, 0x1078, 0x19b3, | 419 | 0x007c, 0x2091, 0x8000, 0x6114, 0x1078, 0x2180, 0x6900, 0xa184, |
415 | 0x007f, 0x0f7f, 0x0c7f, 0x0d7f, 0xa005, 0x007c, 0x0d7e, 0x0c7e, | 420 | 0x0100, 0x00c0, 0x2035, 0xa184, 0x0200, 0x00c0, 0x2031, 0x681c, |
416 | 0x0f7e, 0x2079, 0x5100, 0xaf80, 0x0016, 0x2060, 0x6000, 0xa005, | 421 | 0xa005, 0x00c0, 0x203d, 0x6003, 0x0000, 0x2c08, 0x785c, 0xa065, |
417 | 0x0040, 0x1bf8, 0x2068, 0x6814, 0xa084, 0x00ff, 0xa306, 0x0040, | 422 | 0x00c0, 0x1c05, 0x795a, 0x0078, 0x1c06, 0x6102, 0x795e, 0x2091, |
418 | 0x1be4, 0x2d60, 0x0078, 0x1bd6, 0x6800, 0xa005, 0x6002, 0x00c0, | 423 | 0x8001, 0x1078, 0x228c, 0x007c, 0x0e7e, 0x2071, 0x5200, 0x7058, |
419 | 0x1bf0, 0xaf80, 0x0016, 0xac06, 0x0040, 0x1bef, 0x2c00, 0x785e, | 424 | 0xa06d, 0x0040, 0x1c1a, 0x6800, 0x705a, 0xa005, 0x00c0, 0x1c19, |
420 | 0x0d7e, 0x689c, 0xa005, 0x0040, 0x1bf7, 0x1078, 0x19b3, 0x007f, | 425 | 0x705e, 0x8dff, 0x0e7f, 0x007c, 0x0d7e, 0x0c7e, 0x0f7e, 0x2079, |
421 | 0x0f7f, 0x0c7f, 0x0d7f, 0xa005, 0x007c, 0x0d7e, 0x0c7e, 0x0f7e, | 426 | 0x5200, 0xaf80, 0x0016, 0x2060, 0x6000, 0xa005, 0x0040, 0x1c43, |
422 | 0x2079, 0x5100, 0xaf80, 0x0016, 0x2060, 0x6000, 0xa06d, 0x0040, | 427 | 0x2068, 0x6814, 0xa306, 0x00c0, 0x1c33, 0x6828, 0xa084, 0x00ff, |
423 | 0x1c24, 0x6814, 0xa306, 0x0040, 0x1c10, 0x2d60, 0x0078, 0x1c05, | 428 | 0xa406, 0x0040, 0x1c36, 0x2d60, 0x0078, 0x1c24, 0x6800, 0xa005, |
424 | 0x6800, 0xa005, 0x6002, 0x00c0, 0x1c1c, 0xaf80, 0x0016, 0xac06, | 429 | 0x6002, 0x00c0, 0x1c42, 0xaf80, 0x0016, 0xac06, 0x0040, 0x1c41, |
425 | 0x0040, 0x1c1b, 0x2c00, 0x785e, 0x0d7e, 0x689c, 0xa005, 0x0040, | 430 | 0x2c00, 0x785e, 0x2d00, 0x0f7f, 0x0c7f, 0x0d7f, 0xa005, 0x007c, |
426 | 0x1c23, 0x1078, 0x19b3, 0x007f, 0x0f7f, 0x0c7f, 0x0d7f, 0xa005, | 431 | 0x0d7e, 0x0c7e, 0x0f7e, 0x2079, 0x5200, 0xaf80, 0x0016, 0x2060, |
427 | 0x007c, 0x2091, 0x8000, 0x2069, 0x5140, 0x6800, 0xa086, 0x0000, | 432 | 0x6000, 0xa005, 0x0040, 0x1c6b, 0x2068, 0x6814, 0xa084, 0x00ff, |
428 | 0x0040, 0x1c37, 0x2091, 0x8001, 0x78e3, 0x0009, 0x007c, 0x6880, | 433 | 0xa306, 0x0040, 0x1c5e, 0x2d60, 0x0078, 0x1c50, 0x6800, 0xa005, |
429 | 0xa0bc, 0xff00, 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, 0x0010, | 434 | 0x6002, 0x00c0, 0x1c6a, 0xaf80, 0x0016, 0xac06, 0x0040, 0x1c69, |
430 | 0x1078, 0x1980, 0x8738, 0xa784, 0x001f, 0x00c0, 0x1c40, 0x2091, | 435 | 0x2c00, 0x785e, 0x2d00, 0x0f7f, 0x0c7f, 0x0d7f, 0xa005, 0x007c, |
431 | 0x8001, 0x2001, 0x800a, 0x0078, 0x1c57, 0x2001, 0x800c, 0x0078, | 436 | 0x0d7e, 0x0c7e, 0x0f7e, 0x2079, 0x5200, 0xaf80, 0x0016, 0x2060, |
432 | 0x1c57, 0x1078, 0x1a2b, 0x2001, 0x800d, 0x0078, 0x1c57, 0x70c2, | 437 | 0x6000, 0xa06d, 0x0040, 0x1c90, 0x6814, 0xa306, 0x0040, 0x1c83, |
433 | 0x2061, 0x0000, 0x601b, 0x0001, 0x2091, 0x4080, 0x007c, 0x6004, | 438 | 0x2d60, 0x0078, 0x1c78, 0x6800, 0xa005, 0x6002, 0x00c0, 0x1c8f, |
434 | 0x2c08, 0x2063, 0x0000, 0x7884, 0x8000, 0x7886, 0x7888, 0xa005, | 439 | 0xaf80, 0x0016, 0xac06, 0x0040, 0x1c8e, 0x2c00, 0x785e, 0x2d00, |
435 | 0x798a, 0x0040, 0x1c6e, 0x2c02, 0x0078, 0x1c6f, 0x798e, 0x007c, | 440 | 0x0f7f, 0x0c7f, 0x0d7f, 0xa005, 0x007c, 0x2091, 0x8000, 0x2069, |
436 | 0x6807, 0x0103, 0x0c7e, 0x2061, 0x5100, 0x2d08, 0x206b, 0x0000, | 441 | 0x5240, 0x6800, 0xa086, 0x0000, 0x0040, 0x1ca3, 0x2091, 0x8001, |
437 | 0x6084, 0x8000, 0x6086, 0x6088, 0xa005, 0x618a, 0x0040, 0x1c83, | 442 | 0x78e3, 0x0009, 0x007c, 0x6880, 0xa0bc, 0xff00, 0x2041, 0x0021, |
438 | 0x2d02, 0x0078, 0x1c84, 0x618e, 0x0c7f, 0x007c, 0x1078, 0x1c97, | 443 | 0x2049, 0x0004, 0x2051, 0x0010, 0x1078, 0x19d2, 0x8738, 0xa784, |
439 | 0x0040, 0x1c96, 0x0c7e, 0x609c, 0xa065, 0x0040, 0x1c91, 0x1078, | 444 | 0x001f, 0x00c0, 0x1cac, 0x2091, 0x8001, 0x2001, 0x800a, 0x0078, |
440 | 0x19b3, 0x0c7f, 0x609f, 0x0000, 0x1078, 0x1948, 0x007c, 0x788c, | 445 | 0x1cc3, 0x2001, 0x800c, 0x0078, 0x1cc3, 0x1078, 0x1a9c, 0x2001, |
441 | 0xa065, 0x0040, 0x1ca9, 0x2091, 0x8000, 0x7884, 0x8001, 0x7886, | 446 | 0x800d, 0x0078, 0x1cc3, 0x70c2, 0x2061, 0x0000, 0x601b, 0x0001, |
442 | 0x2c04, 0x788e, 0xa005, 0x00c0, 0x1ca7, 0x788a, 0x8000, 0x2091, | 447 | 0x2091, 0x4080, 0x007c, 0x6004, 0x2c08, 0x2063, 0x0000, 0x7884, |
443 | 0x8001, 0x007c, 0x20a9, 0x0010, 0xa006, 0x8004, 0x8086, 0x818e, | 448 | 0x8000, 0x7886, 0x7888, 0xa005, 0x798a, 0x0040, 0x1cda, 0x2c02, |
444 | 0x00c8, 0x1cb3, 0xa200, 0x0070, 0x1cb7, 0x0078, 0x1cae, 0x8086, | 449 | 0x0078, 0x1cdb, 0x798e, 0x007c, 0x6807, 0x0103, 0x0c7e, 0x2061, |
445 | 0x818e, 0x007c, 0x157e, 0x20a9, 0x0010, 0xa005, 0x0040, 0x1cdd, | 450 | 0x5200, 0x2d08, 0x206b, 0x0000, 0x6084, 0x8000, 0x6086, 0x6088, |
446 | 0xa11a, 0x00c8, 0x1cdd, 0x8213, 0x818d, 0x0048, 0x1cce, 0xa11a, | 451 | 0xa005, 0x618a, 0x0040, 0x1cef, 0x2d02, 0x0078, 0x1cf0, 0x618e, |
447 | 0x00c8, 0x1ccf, 0x0070, 0x1cd5, 0x0078, 0x1cc3, 0xa11a, 0x2308, | 452 | 0x0c7f, 0x007c, 0x1078, 0x1d03, 0x0040, 0x1d02, 0x0c7e, 0x609c, |
448 | 0x8210, 0x0070, 0x1cd5, 0x0078, 0x1cc3, 0x007e, 0x3200, 0xa084, | 453 | 0xa065, 0x0040, 0x1cfd, 0x1078, 0x1a17, 0x0c7f, 0x609f, 0x0000, |
449 | 0xf7ff, 0x2080, 0x007f, 0x157f, 0x007c, 0x007e, 0x3200, 0xa085, | 454 | 0x1078, 0x199a, 0x007c, 0x788c, 0xa065, 0x0040, 0x1d15, 0x2091, |
450 | 0x0800, 0x0078, 0x1cd9, 0x7994, 0x70d0, 0xa106, 0x0040, 0x1d51, | 455 | 0x8000, 0x7884, 0x8001, 0x7886, 0x2c04, 0x788e, 0xa005, 0x00c0, |
451 | 0x2091, 0x8000, 0x2071, 0x0020, 0x7004, 0xa005, 0x00c0, 0x1d51, | 456 | 0x1d13, 0x788a, 0x8000, 0x2091, 0x8001, 0x007c, 0x20a9, 0x0010, |
452 | 0x7008, 0x7208, 0xa206, 0x00c0, 0x1d51, 0xa286, 0x0008, 0x00c0, | 457 | 0xa006, 0x8004, 0x8086, 0x818e, 0x00c8, 0x1d1f, 0xa200, 0x0070, |
453 | 0x1d51, 0x2071, 0x0010, 0x1078, 0x192e, 0x0040, 0x1d51, 0x7a9c, | 458 | 0x1d23, 0x0078, 0x1d1a, 0x8086, 0x818e, 0x007c, 0x157e, 0x20a9, |
454 | 0x7b98, 0x7ca4, 0x7da0, 0xa184, 0xff00, 0x0040, 0x1d1f, 0x2031, | 459 | 0x0010, 0xa005, 0x0040, 0x1d49, 0xa11a, 0x00c8, 0x1d49, 0x8213, |
455 | 0x0000, 0x810b, 0x86b5, 0x810b, 0x86b5, 0x810b, 0x86b5, 0x810b, | 460 | 0x818d, 0x0048, 0x1d3a, 0xa11a, 0x00c8, 0x1d3b, 0x0070, 0x1d41, |
456 | 0x86b5, 0x810b, 0x86b5, 0x810b, 0x86b5, 0x2100, 0xa210, 0x2600, | 461 | 0x0078, 0x1d2f, 0xa11a, 0x2308, 0x8210, 0x0070, 0x1d41, 0x0078, |
457 | 0xa319, 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x0078, 0x1d29, 0x8107, | 462 | 0x1d2f, 0x007e, 0x3200, 0xa084, 0xf7ff, 0x2080, 0x007f, 0x157f, |
458 | 0x8004, 0x8004, 0xa210, 0xa399, 0x0000, 0xa4a1, 0x0000, 0xa5a9, | 463 | 0x007c, 0x007e, 0x3200, 0xa085, 0x0800, 0x0078, 0x1d45, 0x7994, |
459 | 0x0000, 0x2009, 0x0020, 0x1078, 0x1929, 0x2091, 0x8001, 0x0040, | 464 | 0x70d0, 0xa106, 0x0040, 0x1dbd, 0x2091, 0x8000, 0x2071, 0x0020, |
460 | 0x1d48, 0x1078, 0x1948, 0x78a8, 0x8000, 0x78aa, 0xa086, 0x0002, | 465 | 0x7004, 0xa005, 0x00c0, 0x1dbd, 0x7008, 0x7208, 0xa206, 0x00c0, |
461 | 0x00c0, 0x1d51, 0x2091, 0x8000, 0x78e3, 0x0002, 0x78ab, 0x0000, | 466 | 0x1dbd, 0xa286, 0x0008, 0x00c0, 0x1dbd, 0x2071, 0x0010, 0x1078, |
462 | 0x78cc, 0xa085, 0x0003, 0x78ce, 0x2091, 0x8001, 0x0078, 0x1d51, | 467 | 0x1980, 0x0040, 0x1dbd, 0x7a9c, 0x7b98, 0x7ca4, 0x7da0, 0xa184, |
463 | 0x78ab, 0x0000, 0x1078, 0x20ac, 0x6004, 0xa084, 0x000f, 0x0079, | 468 | 0xff00, 0x0040, 0x1d8b, 0x2031, 0x0000, 0x810b, 0x86b5, 0x810b, |
464 | 0x1d56, 0x2071, 0x0010, 0x2091, 0x8001, 0x007c, 0x1d66, 0x1d88, | 469 | 0x86b5, 0x810b, 0x86b5, 0x810b, 0x86b5, 0x810b, 0x86b5, 0x810b, |
465 | 0x1dae, 0x1d66, 0x1dcb, 0x1d75, 0x1f2c, 0x1f47, 0x1d66, 0x1d82, | 470 | 0x86b5, 0x2100, 0xa210, 0x2600, 0xa319, 0xa4a1, 0x0000, 0xa5a9, |
466 | 0x1da8, 0x1e13, 0x1e82, 0x1ed2, 0x1ee4, 0x1f43, 0x2039, 0x0400, | 471 | 0x0000, 0x0078, 0x1d95, 0x8107, 0x8004, 0x8004, 0xa210, 0xa399, |
467 | 0x78dc, 0xa705, 0x78de, 0x6008, 0xa705, 0x600a, 0x1078, 0x1fc7, | 472 | 0x0000, 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x2009, 0x0020, 0x1078, |
468 | 0x609c, 0x78da, 0x1078, 0x2094, 0x007c, 0x78dc, 0xa084, 0x0100, | 473 | 0x197b, 0x2091, 0x8001, 0x0040, 0x1db4, 0x1078, 0x199a, 0x78a8, |
469 | 0x0040, 0x1d7c, 0x0078, 0x1d66, 0x601c, 0xa085, 0x0080, 0x601e, | 474 | 0x8000, 0x78aa, 0xa086, 0x0002, 0x00c0, 0x1dbd, 0x2091, 0x8000, |
470 | 0x0078, 0x1d8f, 0x1078, 0x1b53, 0x00c0, 0x1d66, 0x1078, 0x20c6, | 475 | 0x78e3, 0x0002, 0x78ab, 0x0000, 0x78cc, 0xa085, 0x0003, 0x78ce, |
471 | 0x78dc, 0xa084, 0x0100, 0x0040, 0x1d8f, 0x0078, 0x1d66, 0x78df, | 476 | 0x2091, 0x8001, 0x0078, 0x1dbd, 0x78ab, 0x0000, 0x1078, 0x2149, |
472 | 0x0000, 0x6004, 0x8007, 0xa084, 0x00ff, 0x78d2, 0x8001, 0x609f, | 477 | 0x6004, 0xa084, 0x000f, 0x0079, 0x1dc2, 0x2071, 0x0010, 0x2091, |
473 | 0x0000, 0x0040, 0x1da5, 0x1078, 0x1fc7, 0x0040, 0x1da5, 0x78dc, | 478 | 0x8001, 0x007c, 0x1dd2, 0x1df4, 0x1e1a, 0x1dd2, 0x1e37, 0x1de1, |
474 | 0xa085, 0x0100, 0x78de, 0x0078, 0x1da7, 0x1078, 0x1feb, 0x007c, | 479 | 0x1fc9, 0x1fe4, 0x1dd2, 0x1dee, 0x1e14, 0x1e7f, 0x1eee, 0x1f57, |
475 | 0x1078, 0x1b53, 0x00c0, 0x1d66, 0x1078, 0x20c2, 0x78dc, 0xa08c, | 480 | 0x1f69, 0x1fe0, 0x2039, 0x0400, 0x78dc, 0xa705, 0x78de, 0x6008, |
476 | 0x0e00, 0x00c0, 0x1db7, 0xa084, 0x0100, 0x00c0, 0x1db9, 0x0078, | 481 | 0xa705, 0x600a, 0x1078, 0x2064, 0x609c, 0x78da, 0x1078, 0x2131, |
477 | 0x1d66, 0x1078, 0x1fc7, 0x00c0, 0x1dca, 0x6104, 0xa18c, 0x00ff, | 482 | 0x007c, 0x78dc, 0xa084, 0x0100, 0x0040, 0x1de8, 0x0078, 0x1dd2, |
478 | 0xa186, 0x0007, 0x0040, 0x1f84, 0xa186, 0x000f, 0x0040, 0x1f84, | 483 | 0x601c, 0xa085, 0x0080, 0x601e, 0x0078, 0x1dfb, 0x1078, 0x1bc4, |
479 | 0x1078, 0x1feb, 0x007c, 0x78dc, 0xa084, 0x0100, 0x0040, 0x1dd2, | 484 | 0x00c0, 0x1dd2, 0x1078, 0x2163, 0x78dc, 0xa084, 0x0100, 0x0040, |
480 | 0x0078, 0x1d66, 0x78df, 0x0000, 0x6714, 0x2011, 0x0001, 0x20a9, | 485 | 0x1dfb, 0x0078, 0x1dd2, 0x78df, 0x0000, 0x6004, 0x8007, 0xa084, |
481 | 0x0001, 0x6018, 0xa084, 0x00ff, 0xa005, 0x0040, 0x1df5, 0x2011, | 486 | 0x00ff, 0x78d2, 0x8001, 0x609f, 0x0000, 0x0040, 0x1e11, 0x1078, |
482 | 0x0001, 0xa7bc, 0xff00, 0x20a9, 0x0020, 0xa08e, 0x0001, 0x0040, | 487 | 0x2064, 0x0040, 0x1e11, 0x78dc, 0xa085, 0x0100, 0x78de, 0x0078, |
483 | 0x1df5, 0x2039, 0x0000, 0x2011, 0x0002, 0x20a9, 0x0100, 0xa08e, | 488 | 0x1e13, 0x1078, 0x2088, 0x007c, 0x1078, 0x1bc4, 0x00c0, 0x1dd2, |
484 | 0x0002, 0x0040, 0x1df5, 0x0078, 0x1e10, 0x1078, 0x1973, 0x2091, | 489 | 0x1078, 0x215f, 0x78dc, 0xa08c, 0x0e00, 0x00c0, 0x1e23, 0xa084, |
485 | 0x8000, 0x682b, 0x0000, 0x682f, 0x0000, 0x6808, 0xa084, 0xffde, | 490 | 0x0100, 0x00c0, 0x1e25, 0x0078, 0x1dd2, 0x1078, 0x2064, 0x00c0, |
486 | 0x680a, 0xade8, 0x0010, 0x2091, 0x8001, 0x0070, 0x1e09, 0x0078, | 491 | 0x1e36, 0x6104, 0xa18c, 0x00ff, 0xa186, 0x0007, 0x0040, 0x2021, |
487 | 0x1df7, 0x8211, 0x0040, 0x1e10, 0x20a9, 0x0100, 0x0078, 0x1df7, | 492 | 0xa186, 0x000f, 0x0040, 0x2021, 0x1078, 0x2088, 0x007c, 0x78dc, |
488 | 0x1078, 0x1948, 0x007c, 0x2001, 0x5167, 0x2004, 0xa084, 0x8000, | 493 | 0xa084, 0x0100, 0x0040, 0x1e3e, 0x0078, 0x1dd2, 0x78df, 0x0000, |
489 | 0x0040, 0x1fac, 0x6114, 0x1078, 0x20e3, 0x6900, 0xa184, 0x0001, | 494 | 0x6714, 0x2011, 0x0001, 0x20a9, 0x0001, 0x6018, 0xa084, 0x00ff, |
490 | 0x0040, 0x1e34, 0x6028, 0xa084, 0x00ff, 0x00c0, 0x1fa4, 0x6800, | 495 | 0xa005, 0x0040, 0x1e61, 0x2011, 0x0001, 0xa7bc, 0xff00, 0x20a9, |
491 | 0xa084, 0x0001, 0x0040, 0x1fac, 0x6803, 0x0000, 0x680b, 0x0000, | 496 | 0x0020, 0xa08e, 0x0001, 0x0040, 0x1e61, 0x2039, 0x0000, 0x2011, |
492 | 0x6807, 0x0000, 0x0078, 0x1fb4, 0x2011, 0x0001, 0x6020, 0xd0f4, | 497 | 0x0002, 0x20a9, 0x0100, 0xa08e, 0x0002, 0x0040, 0x1e61, 0x0078, |
493 | 0x0040, 0x1e3c, 0xa295, 0x0002, 0xd0c4, 0x0040, 0x1e41, 0xa295, | 498 | 0x1e7c, 0x1078, 0x19c5, 0x2091, 0x8000, 0x682b, 0x0000, 0x682f, |
494 | 0x0008, 0xd0cc, 0x0040, 0x1e46, 0xa295, 0x0400, 0x601c, 0xa084, | 499 | 0x0000, 0x6808, 0xa084, 0xffde, 0x680a, 0xade8, 0x0010, 0x2091, |
495 | 0x0002, 0x0040, 0x1e4d, 0xa295, 0x0004, 0x602c, 0xa08c, 0x00ff, | 500 | 0x8001, 0x0070, 0x1e75, 0x0078, 0x1e63, 0x8211, 0x0040, 0x1e7c, |
496 | 0xa182, 0x0002, 0x0048, 0x1fb0, 0xa182, 0x001b, 0x00c8, 0x1fb0, | 501 | 0x20a9, 0x0100, 0x0078, 0x1e63, 0x1078, 0x199a, 0x007c, 0x2001, |
497 | 0x0040, 0x1fb0, 0x690e, 0x602c, 0x8007, 0xa08c, 0x00ff, 0xa182, | 502 | 0x5267, 0x2004, 0xa084, 0x8000, 0x0040, 0x2049, 0x6114, 0x1078, |
498 | 0x0002, 0x0048, 0x1fb0, 0xa182, 0x001b, 0x00c8, 0x1fb0, 0x0040, | 503 | 0x2180, 0x6900, 0xa184, 0x0001, 0x0040, 0x1ea0, 0x6028, 0xa084, |
499 | 0x1fb0, 0x6912, 0x6030, 0xa005, 0x00c0, 0x1e70, 0x2001, 0x001e, | 504 | 0x00ff, 0x00c0, 0x2041, 0x6800, 0xa084, 0x0001, 0x0040, 0x2049, |
500 | 0x8000, 0x6816, 0x6028, 0xa084, 0x00ff, 0x0040, 0x1fac, 0x6806, | 505 | 0x6803, 0x0000, 0x680b, 0x0000, 0x6807, 0x0000, 0x0078, 0x2051, |
501 | 0x6028, 0x8007, 0xa084, 0x00ff, 0x0040, 0x1fac, 0x680a, 0x6a02, | 506 | 0x2011, 0x0001, 0x6020, 0xd0f4, 0x0040, 0x1ea8, 0xa295, 0x0002, |
502 | 0x0078, 0x1fb4, 0x2001, 0x5167, 0x2004, 0xa084, 0x8000, 0x0040, | 507 | 0xd0c4, 0x0040, 0x1ead, 0xa295, 0x0008, 0xd0cc, 0x0040, 0x1eb2, |
503 | 0x1fac, 0x6114, 0x1078, 0x20e3, 0x2091, 0x8000, 0x6a04, 0x6b08, | 508 | 0xa295, 0x0400, 0x601c, 0xa084, 0x0002, 0x0040, 0x1eb9, 0xa295, |
504 | 0x6418, 0xa484, 0x0003, 0x0040, 0x1ea8, 0x6128, 0xa18c, 0x00ff, | 509 | 0x0004, 0x602c, 0xa08c, 0x00ff, 0xa182, 0x0002, 0x0048, 0x204d, |
505 | 0x8001, 0x00c0, 0x1ea1, 0x2100, 0xa210, 0x0048, 0x1ece, 0x0078, | 510 | 0xa182, 0x001b, 0x00c8, 0x204d, 0x0040, 0x204d, 0x690e, 0x602c, |
506 | 0x1ea8, 0x8001, 0x00c0, 0x1ece, 0x2100, 0xa212, 0x0048, 0x1ece, | 511 | 0x8007, 0xa08c, 0x00ff, 0xa182, 0x0002, 0x0048, 0x204d, 0xa182, |
507 | 0xa484, 0x000c, 0x0040, 0x1ec2, 0x6128, 0x810f, 0xa18c, 0x00ff, | 512 | 0x001b, 0x00c8, 0x204d, 0x0040, 0x204d, 0x6912, 0x6030, 0xa005, |
508 | 0xa082, 0x0004, 0x00c0, 0x1eba, 0x2100, 0xa318, 0x0048, 0x1ece, | 513 | 0x00c0, 0x1edc, 0x2001, 0x001e, 0x8000, 0x6816, 0x6028, 0xa084, |
509 | 0x0078, 0x1ec2, 0xa082, 0x0004, 0x00c0, 0x1ece, 0x2100, 0xa31a, | 514 | 0x00ff, 0x0040, 0x2049, 0x6806, 0x6028, 0x8007, 0xa084, 0x00ff, |
510 | 0x0048, 0x1ece, 0x6030, 0xa005, 0x0040, 0x1ec8, 0x8000, 0x6816, | 515 | 0x0040, 0x2049, 0x680a, 0x6a02, 0x0078, 0x2051, 0x2001, 0x5240, |
511 | 0x6a06, 0x6b0a, 0x2091, 0x8001, 0x0078, 0x1fb4, 0x2091, 0x8001, | 516 | 0x2004, 0xa086, 0x0007, 0x00c0, 0x1f53, 0x2001, 0x5267, 0x2004, |
512 | 0x0078, 0x1fb0, 0x6114, 0x1078, 0x20e3, 0x2091, 0x8000, 0x6b08, | 517 | 0xa084, 0x8000, 0x0040, 0x2049, 0x6114, 0x1078, 0x2180, 0x2001, |
513 | 0x8318, 0x0048, 0x1ee0, 0x6b0a, 0x2091, 0x8001, 0x0078, 0x1fc3, | 518 | 0x5252, 0x2004, 0x2010, 0x82ff, 0x0040, 0x1f0e, 0xa080, 0x0005, |
514 | 0x2091, 0x8001, 0x0078, 0x1fb0, 0x6024, 0x8007, 0xa084, 0x00ff, | 519 | 0x2004, 0xa084, 0x00ff, 0xa106, 0x00c0, 0x1f53, 0x2091, 0x8000, |
515 | 0x0040, 0x1f02, 0xa086, 0x0080, 0x00c0, 0x1f2a, 0x20a9, 0x0008, | 520 | 0x6a04, 0x6b08, 0x6418, 0xa484, 0x0003, 0x0040, 0x1f2d, 0x6128, |
516 | 0x2069, 0x7510, 0x2091, 0x8000, 0x6800, 0xa084, 0xfcff, 0x6802, | 521 | 0xa18c, 0x00ff, 0x8001, 0x00c0, 0x1f23, 0x2100, 0xa210, 0x0048, |
517 | 0xade8, 0x0008, 0x0070, 0x1efe, 0x0078, 0x1ef4, 0x2091, 0x8001, | 522 | 0x1f53, 0x0078, 0x1f2d, 0x8001, 0x00c0, 0x1f53, 0x2100, 0xa212, |
518 | 0x0078, 0x1fb4, 0x6028, 0xa015, 0x0040, 0x1f2a, 0x6114, 0x1078, | 523 | 0x0048, 0x1f53, 0x82ff, 0x0040, 0x1f53, 0xa484, 0x000c, 0x0040, |
519 | 0x20e3, 0x0d7e, 0xade8, 0x0007, 0x2091, 0x8000, 0x6800, 0xa00d, | 524 | 0x1f47, 0x6128, 0x810f, 0xa18c, 0x00ff, 0xa082, 0x0004, 0x00c0, |
520 | 0x0040, 0x1f27, 0xa206, 0x0040, 0x1f18, 0x2168, 0x0078, 0x1f0e, | 525 | 0x1f3f, 0x2100, 0xa318, 0x0048, 0x1f53, 0x0078, 0x1f47, 0xa082, |
521 | 0x0c7e, 0x2160, 0x6000, 0x6802, 0x1078, 0x1948, 0x0c7f, 0x0d7f, | 526 | 0x0004, 0x00c0, 0x1f53, 0x2100, 0xa31a, 0x0048, 0x1f53, 0x6030, |
522 | 0x6808, 0x8000, 0x680a, 0x2091, 0x8001, 0x0078, 0x1fc3, 0x2091, | 527 | 0xa005, 0x0040, 0x1f4d, 0x8000, 0x6816, 0x6a06, 0x6b0a, 0x2091, |
523 | 0x8001, 0x0d7f, 0x0078, 0x1fac, 0x6114, 0x1078, 0x20e3, 0x6800, | 528 | 0x8001, 0x0078, 0x2051, 0x2091, 0x8001, 0x0078, 0x204d, 0x6114, |
524 | 0xa084, 0x0001, 0x0040, 0x1f9c, 0x2091, 0x8000, 0x6a04, 0x8210, | 529 | 0x1078, 0x2180, 0x2091, 0x8000, 0x6b08, 0x8318, 0x0048, 0x1f65, |
525 | 0x0048, 0x1f3f, 0x6a06, 0x2091, 0x8001, 0x0078, 0x1fc3, 0x2091, | 530 | 0x6b0a, 0x2091, 0x8001, 0x0078, 0x2060, 0x2091, 0x8001, 0x0078, |
526 | 0x8001, 0x0078, 0x1fb0, 0x1078, 0x1b53, 0x00c0, 0x1d66, 0x6114, | 531 | 0x204d, 0x6024, 0x8007, 0xa084, 0x00ff, 0x0040, 0x1f87, 0xa086, |
527 | 0x1078, 0x20e3, 0x60be, 0x60bb, 0x0000, 0x6900, 0xa184, 0x0008, | 532 | 0x0080, 0x00c0, 0x1fc7, 0x20a9, 0x0008, 0x2069, 0x7610, 0x2091, |
528 | 0x0040, 0x1f56, 0x6020, 0xa085, 0x0100, 0x6022, 0xa184, 0x0001, | 533 | 0x8000, 0x6800, 0xa084, 0xfcff, 0x6802, 0xade8, 0x0008, 0x0070, |
529 | 0x0040, 0x1fac, 0xa184, 0x0100, 0x00c0, 0x1f98, 0xa184, 0x0200, | 534 | 0x1f83, 0x0078, 0x1f79, 0x2091, 0x8001, 0x0078, 0x2051, 0x6028, |
530 | 0x00c0, 0x1f94, 0x681c, 0xa005, 0x00c0, 0x1fa0, 0x6004, 0xa084, | 535 | 0xa015, 0x0040, 0x1fc7, 0x6114, 0x1078, 0x2180, 0x0c7e, 0x0d7e, |
531 | 0x00ff, 0xa086, 0x000f, 0x00c0, 0x1f6f, 0x1078, 0x20c6, 0x78df, | 536 | 0xade8, 0x0007, 0x2091, 0x8000, 0x6800, 0xa00d, 0x0040, 0x1fc3, |
532 | 0x0000, 0x6004, 0x8007, 0xa084, 0x00ff, 0x78d2, 0x8001, 0x609f, | 537 | 0xa206, 0x0040, 0x1f9e, 0x2168, 0x0078, 0x1f94, 0x2160, 0x6000, |
533 | 0x0000, 0x0040, 0x1f84, 0x1078, 0x1fc7, 0x0040, 0x1f84, 0x78dc, | 538 | 0x6802, 0x2c68, 0x1078, 0x19ac, 0x0d7f, 0x6818, 0xa00d, 0x0040, |
534 | 0xa085, 0x0100, 0x78de, 0x007c, 0x78d7, 0x0000, 0x78db, 0x0000, | 539 | 0x1fbb, 0x2060, 0x6200, 0x6a1a, 0x6a1c, 0x6202, 0x681e, 0x1078, |
535 | 0x6024, 0xa084, 0xff00, 0x6026, 0x1078, 0x39de, 0x0040, 0x1ce3, | 540 | 0x1989, 0x2da0, 0x2198, 0x20a9, 0x0031, 0x53a3, 0x2d60, 0x1078, |
536 | 0x1078, 0x1b78, 0x0078, 0x1ce3, 0x2009, 0x0017, 0x0078, 0x1fb6, | 541 | 0x1ccb, 0x0078, 0x1fbe, 0x6808, 0x8000, 0x680a, 0x2091, 0x8001, |
537 | 0x2009, 0x000e, 0x0078, 0x1fb6, 0x2009, 0x0007, 0x0078, 0x1fb6, | 542 | 0x0c7f, 0x0078, 0x2060, 0x2091, 0x8001, 0x0d7f, 0x0c7f, 0x0078, |
538 | 0x2009, 0x0035, 0x0078, 0x1fb6, 0x2009, 0x003e, 0x0078, 0x1fb6, | 543 | 0x2049, 0x6114, 0x1078, 0x2180, 0x6800, 0xa084, 0x0001, 0x0040, |
539 | 0x2009, 0x0004, 0x0078, 0x1fb6, 0x2009, 0x0006, 0x0078, 0x1fb6, | 544 | 0x2039, 0x2091, 0x8000, 0x6a04, 0x8210, 0x0048, 0x1fdc, 0x6a06, |
540 | 0x2009, 0x0016, 0x0078, 0x1fb6, 0x2009, 0x0001, 0x6024, 0xa084, | 545 | 0x2091, 0x8001, 0x0078, 0x2060, 0x2091, 0x8001, 0x0078, 0x204d, |
541 | 0xff00, 0xa105, 0x6026, 0x2091, 0x8000, 0x1078, 0x1c5f, 0x2091, | 546 | 0x1078, 0x1bc4, 0x00c0, 0x1dd2, 0x6114, 0x1078, 0x2180, 0x60be, |
542 | 0x8001, 0x0078, 0x1ce3, 0x1078, 0x1948, 0x0078, 0x1ce3, 0x78d4, | 547 | 0x60bb, 0x0000, 0x6900, 0xa184, 0x0008, 0x0040, 0x1ff3, 0x6020, |
543 | 0xa06d, 0x00c0, 0x1fd2, 0x2c00, 0x78d6, 0x78da, 0x609f, 0x0000, | 548 | 0xa085, 0x0100, 0x6022, 0xa184, 0x0001, 0x0040, 0x2049, 0xa184, |
544 | 0x0078, 0x1fde, 0x2c00, 0x689e, 0x609f, 0x0000, 0x78d6, 0x2d00, | 549 | 0x0100, 0x00c0, 0x2035, 0xa184, 0x0200, 0x00c0, 0x2031, 0x681c, |
545 | 0x6002, 0x78d8, 0xad06, 0x00c0, 0x1fde, 0x6002, 0x78d0, 0x8001, | 550 | 0xa005, 0x00c0, 0x203d, 0x6004, 0xa084, 0x00ff, 0xa086, 0x000f, |
546 | 0x78d2, 0x00c0, 0x1fea, 0x78dc, 0xa084, 0xfeff, 0x78de, 0x78d8, | 551 | 0x00c0, 0x200c, 0x1078, 0x2163, 0x78df, 0x0000, 0x6004, 0x8007, |
547 | 0x2060, 0xa006, 0x007c, 0xa02e, 0x2530, 0x611c, 0x61a2, 0xa184, | 552 | 0xa084, 0x00ff, 0x78d2, 0x8001, 0x609f, 0x0000, 0x0040, 0x2021, |
548 | 0xe1ff, 0x601e, 0xa184, 0x0060, 0x0040, 0x1ffa, 0x0e7e, 0x1078, | 553 | 0x1078, 0x2064, 0x0040, 0x2021, 0x78dc, 0xa085, 0x0100, 0x78de, |
549 | 0x47c2, 0x0e7f, 0x6596, 0x65a6, 0x669a, 0x66aa, 0x60af, 0x0000, | 554 | 0x007c, 0x78d7, 0x0000, 0x78db, 0x0000, 0x6024, 0xa084, 0xff00, |
550 | 0x60b3, 0x0000, 0x6714, 0x1078, 0x1973, 0x2091, 0x8000, 0x60a0, | 555 | 0x6026, 0x1078, 0x3aac, 0x0040, 0x1d4f, 0x1078, 0x1be9, 0x0078, |
551 | 0xa084, 0x8000, 0x00c0, 0x2021, 0x6808, 0xa084, 0x0001, 0x0040, | 556 | 0x1d4f, 0x2009, 0x0017, 0x0078, 0x2053, 0x2009, 0x000e, 0x0078, |
552 | 0x2021, 0x2091, 0x8001, 0x1078, 0x19c0, 0x2091, 0x8000, 0x1078, | 557 | 0x2053, 0x2009, 0x0007, 0x0078, 0x2053, 0x2009, 0x0035, 0x0078, |
553 | 0x1c5f, 0x2091, 0x8001, 0x78d7, 0x0000, 0x78db, 0x0000, 0x0078, | 558 | 0x2053, 0x2009, 0x003e, 0x0078, 0x2053, 0x2009, 0x0004, 0x0078, |
554 | 0x2093, 0x6024, 0xa096, 0x0001, 0x00c0, 0x2028, 0x8000, 0x6026, | 559 | 0x2053, 0x2009, 0x0006, 0x0078, 0x2053, 0x2009, 0x0016, 0x0078, |
555 | 0x6a10, 0x6814, 0x2091, 0x8001, 0xa202, 0x0048, 0x2037, 0x0040, | 560 | 0x2053, 0x2009, 0x0001, 0x6024, 0xa084, 0xff00, 0xa105, 0x6026, |
556 | 0x2037, 0x2039, 0x0200, 0x1078, 0x2094, 0x0078, 0x2093, 0x2c08, | 561 | 0x2091, 0x8000, 0x1078, 0x1ccb, 0x2091, 0x8001, 0x0078, 0x1d4f, |
557 | 0x2091, 0x8000, 0x60a0, 0xa084, 0x8000, 0x0040, 0x2064, 0x6800, | 562 | 0x1078, 0x199a, 0x0078, 0x1d4f, 0x78d4, 0xa06d, 0x00c0, 0x206f, |
558 | 0xa065, 0x0040, 0x2069, 0x6a04, 0x0e7e, 0x2071, 0x5140, 0x7000, | 563 | 0x2c00, 0x78d6, 0x78da, 0x609f, 0x0000, 0x0078, 0x207b, 0x2c00, |
559 | 0xa084, 0x0001, 0x0040, 0x205e, 0x7048, 0xa206, 0x00c0, 0x205e, | 564 | 0x689e, 0x609f, 0x0000, 0x78d6, 0x2d00, 0x6002, 0x78d8, 0xad06, |
560 | 0x6b04, 0x231c, 0x2160, 0x6302, 0x2300, 0xa005, 0x00c0, 0x2059, | 565 | 0x00c0, 0x207b, 0x6002, 0x78d0, 0x8001, 0x78d2, 0x00c0, 0x2087, |
561 | 0x6902, 0x2260, 0x6102, 0x0e7f, 0x0078, 0x2070, 0x2160, 0x6202, | 566 | 0x78dc, 0xa084, 0xfeff, 0x78de, 0x78d8, 0x2060, 0xa006, 0x007c, |
562 | 0x6906, 0x0e7f, 0x0078, 0x2070, 0x6800, 0xa065, 0x0040, 0x2069, | 567 | 0xa02e, 0x2530, 0x611c, 0x61a2, 0xa184, 0xe1ff, 0x601e, 0xa184, |
563 | 0x6102, 0x6902, 0x00c0, 0x206d, 0x6906, 0x2160, 0x6003, 0x0000, | 568 | 0x0060, 0x0040, 0x2097, 0x0e7e, 0x1078, 0x48d3, 0x0e7f, 0x6596, |
564 | 0x2160, 0x60a0, 0xa084, 0x8000, 0x0040, 0x207a, 0x6808, 0xa084, | 569 | 0x65a6, 0x669a, 0x66aa, 0x60af, 0x0000, 0x60b3, 0x0000, 0x6714, |
565 | 0xfffc, 0x680a, 0x6810, 0x8000, 0x6812, 0x2091, 0x8001, 0x6808, | 570 | 0x1078, 0x19c5, 0x2091, 0x8000, 0x60a0, 0xa084, 0x8000, 0x00c0, |
566 | 0xa08c, 0x0040, 0x0040, 0x2089, 0xa086, 0x0040, 0x680a, 0x1078, | 571 | 0x20be, 0x6808, 0xa084, 0x0001, 0x0040, 0x20be, 0x2091, 0x8001, |
567 | 0x19d1, 0x2091, 0x8000, 0x1078, 0x21d2, 0x2091, 0x8001, 0x78db, | 572 | 0x1078, 0x1a31, 0x2091, 0x8000, 0x1078, 0x1ccb, 0x2091, 0x8001, |
568 | 0x0000, 0x78d7, 0x0000, 0x007c, 0x6008, 0xa705, 0x600a, 0x2091, | 573 | 0x78d7, 0x0000, 0x78db, 0x0000, 0x0078, 0x2130, 0x6024, 0xa096, |
569 | 0x8000, 0x1078, 0x1c5f, 0x2091, 0x8001, 0x78d8, 0xa065, 0x0040, | 574 | 0x0001, 0x00c0, 0x20c5, 0x8000, 0x6026, 0x6a10, 0x6814, 0x2091, |
570 | 0x20a7, 0x609c, 0x78da, 0x609f, 0x0000, 0x0078, 0x2097, 0x78d7, | 575 | 0x8001, 0xa202, 0x0048, 0x20d4, 0x0040, 0x20d4, 0x2039, 0x0200, |
571 | 0x0000, 0x78db, 0x0000, 0x007c, 0x7990, 0x7894, 0x8000, 0xa10a, | 576 | 0x1078, 0x2131, 0x0078, 0x2130, 0x2c08, 0x2091, 0x8000, 0x60a0, |
572 | 0x00c8, 0x20b3, 0xa006, 0x7896, 0x70d2, 0x7804, 0xa005, 0x0040, | 577 | 0xa084, 0x8000, 0x0040, 0x2101, 0x6800, 0xa065, 0x0040, 0x2106, |
573 | 0x20c1, 0x8001, 0x7806, 0x00c0, 0x20c1, 0x0068, 0x20c1, 0x2091, | 578 | 0x6a04, 0x0e7e, 0x2071, 0x5240, 0x7000, 0xa084, 0x0001, 0x0040, |
574 | 0x4080, 0x007c, 0x2039, 0x20da, 0x0078, 0x20c8, 0x2039, 0x20e0, | 579 | 0x20fb, 0x7048, 0xa206, 0x00c0, 0x20fb, 0x6b04, 0x231c, 0x2160, |
575 | 0x2704, 0xa005, 0x0040, 0x20d9, 0xac00, 0x2068, 0x6b08, 0x6c0c, | 580 | 0x6302, 0x2300, 0xa005, 0x00c0, 0x20f6, 0x6902, 0x2260, 0x6102, |
576 | 0x6910, 0x6a14, 0x690a, 0x6a0e, 0x6b12, 0x6c16, 0x8738, 0x0078, | 581 | 0x0e7f, 0x0078, 0x210d, 0x2160, 0x6202, 0x6906, 0x0e7f, 0x0078, |
577 | 0x20c8, 0x007c, 0x0003, 0x0009, 0x000f, 0x0015, 0x001b, 0x0000, | 582 | 0x210d, 0x6800, 0xa065, 0x0040, 0x2106, 0x6102, 0x6902, 0x00c0, |
578 | 0x0015, 0x001b, 0x0000, 0x0c7e, 0x1078, 0x3b69, 0x2c68, 0x0c7f, | 583 | 0x210a, 0x6906, 0x2160, 0x6003, 0x0000, 0x2160, 0x60a0, 0xa084, |
579 | 0x007c, 0x0010, 0x215a, 0x0068, 0x215a, 0x2029, 0x0000, 0x78cb, | 584 | 0x8000, 0x0040, 0x2117, 0x6808, 0xa084, 0xfffc, 0x680a, 0x6810, |
580 | 0x0000, 0x788c, 0xa065, 0x0040, 0x2153, 0x2009, 0x5174, 0x2104, | 585 | 0x8000, 0x6812, 0x2091, 0x8001, 0x6808, 0xa08c, 0x0040, 0x0040, |
581 | 0xa084, 0x0001, 0x0040, 0x2121, 0x6004, 0xa086, 0x0103, 0x00c0, | 586 | 0x2126, 0xa086, 0x0040, 0x680a, 0x1078, 0x1a42, 0x2091, 0x8000, |
582 | 0x2121, 0x6018, 0xa005, 0x00c0, 0x2121, 0x6014, 0xa005, 0x00c0, | 587 | 0x1078, 0x226f, 0x2091, 0x8001, 0x78db, 0x0000, 0x78d7, 0x0000, |
583 | 0x2121, 0x0d7e, 0x2069, 0x0000, 0x6818, 0xa084, 0x0001, 0x00c0, | 588 | 0x007c, 0x6008, 0xa705, 0x600a, 0x2091, 0x8000, 0x1078, 0x1ccb, |
584 | 0x2120, 0x600c, 0x70c6, 0x6010, 0x70ca, 0x70c3, 0x8020, 0x681b, | 589 | 0x2091, 0x8001, 0x78d8, 0xa065, 0x0040, 0x2144, 0x609c, 0x78da, |
585 | 0x0001, 0x2091, 0x4080, 0x0d7f, 0x1078, 0x1c86, 0x0078, 0x2158, | 590 | 0x609f, 0x0000, 0x0078, 0x2134, 0x78d7, 0x0000, 0x78db, 0x0000, |
586 | 0x0d7f, 0x1078, 0x215b, 0x0040, 0x2153, 0x6204, 0xa294, 0x00ff, | 591 | 0x007c, 0x7990, 0x7894, 0x8000, 0xa10a, 0x00c8, 0x2150, 0xa006, |
587 | 0xa296, 0x0003, 0x0040, 0x2133, 0x6204, 0xa296, 0x0110, 0x00c0, | 592 | 0x7896, 0x70d2, 0x7804, 0xa005, 0x0040, 0x215e, 0x8001, 0x7806, |
588 | 0x2141, 0x78cb, 0x0001, 0x6204, 0xa294, 0xff00, 0x8217, 0x8211, | 593 | 0x00c0, 0x215e, 0x0068, 0x215e, 0x2091, 0x4080, 0x007c, 0x2039, |
589 | 0x0040, 0x2141, 0x85ff, 0x00c0, 0x2153, 0x8210, 0xa202, 0x00c8, | 594 | 0x2177, 0x0078, 0x2165, 0x2039, 0x217d, 0x2704, 0xa005, 0x0040, |
590 | 0x2153, 0x057e, 0x1078, 0x216a, 0x057f, 0x0040, 0x214e, 0x78e0, | 595 | 0x2176, 0xac00, 0x2068, 0x6b08, 0x6c0c, 0x6910, 0x6a14, 0x690a, |
591 | 0xa086, 0x0003, 0x0040, 0x2153, 0x0078, 0x2141, 0x8528, 0x78c8, | 596 | 0x6a0e, 0x6b12, 0x6c16, 0x8738, 0x0078, 0x2165, 0x007c, 0x0003, |
592 | 0xa005, 0x0040, 0x20f1, 0x85ff, 0x0040, 0x215a, 0x2091, 0x4080, | 597 | 0x0009, 0x000f, 0x0015, 0x001b, 0x0000, 0x0015, 0x001b, 0x0000, |
593 | 0x78b0, 0x70d6, 0x007c, 0x7bac, 0x79b0, 0x70d4, 0xa102, 0x00c0, | 598 | 0x0c7e, 0x1078, 0x3c3b, 0x2c68, 0x0c7f, 0x007c, 0x0010, 0x21f7, |
594 | 0x2164, 0x2300, 0xa005, 0x007c, 0x0048, 0x2168, 0xa302, 0x007c, | 599 | 0x0068, 0x21f7, 0x2029, 0x0000, 0x78cb, 0x0000, 0x788c, 0xa065, |
595 | 0x8002, 0x007c, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, 0x00c8, | 600 | 0x0040, 0x21f0, 0x2009, 0x5274, 0x2104, 0xa084, 0x0001, 0x0040, |
596 | 0x2184, 0x2091, 0x8000, 0x2071, 0x0020, 0x7004, 0xa005, 0x00c0, | 601 | 0x21be, 0x6004, 0xa086, 0x0103, 0x00c0, 0x21be, 0x6018, 0xa005, |
597 | 0x21b9, 0x7008, 0x7208, 0xa206, 0x00c0, 0x21b9, 0xa286, 0x0008, | 602 | 0x00c0, 0x21be, 0x6014, 0xa005, 0x00c0, 0x21be, 0x0d7e, 0x2069, |
598 | 0x00c0, 0x21b9, 0x2071, 0x0010, 0x1078, 0x21be, 0x2009, 0x0020, | 603 | 0x0000, 0x6818, 0xa084, 0x0001, 0x00c0, 0x21bd, 0x600c, 0x70c6, |
599 | 0x6004, 0xa086, 0x0103, 0x00c0, 0x2193, 0x6028, 0xa005, 0x00c0, | 604 | 0x6010, 0x70ca, 0x70c3, 0x8020, 0x681b, 0x0001, 0x2091, 0x4080, |
600 | 0x2193, 0x2009, 0x000c, 0x1078, 0x1924, 0x0040, 0x21ac, 0x78c4, | 605 | 0x0d7f, 0x1078, 0x1cf2, 0x0078, 0x21f5, 0x0d7f, 0x1078, 0x21f8, |
601 | 0x8000, 0x78c6, 0xa086, 0x0002, 0x00c0, 0x21b9, 0x2091, 0x8000, | 606 | 0x0040, 0x21f0, 0x6204, 0xa294, 0x00ff, 0xa296, 0x0003, 0x0040, |
602 | 0x78e3, 0x0003, 0x78c7, 0x0000, 0x78cc, 0xa085, 0x0300, 0x78ce, | 607 | 0x21d0, 0x6204, 0xa296, 0x0110, 0x00c0, 0x21de, 0x78cb, 0x0001, |
603 | 0x2091, 0x8001, 0x0078, 0x21b9, 0x78c7, 0x0000, 0x1078, 0x1c86, | 608 | 0x6204, 0xa294, 0xff00, 0x8217, 0x8211, 0x0040, 0x21de, 0x85ff, |
604 | 0x79ac, 0x78b0, 0x8000, 0xa10a, 0x00c8, 0x21b7, 0xa006, 0x78b2, | 609 | 0x00c0, 0x21f0, 0x8210, 0xa202, 0x00c8, 0x21f0, 0x057e, 0x1078, |
605 | 0xa006, 0x2071, 0x0010, 0x2091, 0x8001, 0x007c, 0x8107, 0x8004, | 610 | 0x2207, 0x057f, 0x0040, 0x21eb, 0x78e0, 0xa086, 0x0003, 0x0040, |
606 | 0x8004, 0x7ab8, 0x7bb4, 0x7cc0, 0x7dbc, 0xa210, 0xa399, 0x0000, | 611 | 0x21f0, 0x0078, 0x21de, 0x8528, 0x78c8, 0xa005, 0x0040, 0x218e, |
607 | 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x007c, 0x2009, 0x515b, 0x2091, | 612 | 0x85ff, 0x0040, 0x21f7, 0x2091, 0x4080, 0x78b0, 0x70d6, 0x007c, |
608 | 0x8000, 0x200a, 0x0f7e, 0x0e7e, 0x2071, 0x5140, 0x7000, 0xa086, | 613 | 0x7bac, 0x79b0, 0x70d4, 0xa102, 0x00c0, 0x2201, 0x2300, 0xa005, |
609 | 0x0000, 0x00c0, 0x21ec, 0x2009, 0x5112, 0x2104, 0xa005, 0x00c0, | 614 | 0x007c, 0x0048, 0x2205, 0xa302, 0x007c, 0x8002, 0x007c, 0x2001, |
610 | 0x21ec, 0x2079, 0x0100, 0x7830, 0xa084, 0x00c0, 0x00c0, 0x21ec, | 615 | 0x04fd, 0x2004, 0xa082, 0x0005, 0x00c8, 0x2221, 0x2091, 0x8000, |
611 | 0x0018, 0x21ec, 0x781b, 0x004b, 0x0e7f, 0x0f7f, 0x007c, 0x0f7e, | 616 | 0x2071, 0x0020, 0x7004, 0xa005, 0x00c0, 0x2256, 0x7008, 0x7208, |
612 | 0x0e7e, 0x2071, 0x5140, 0x2091, 0x8000, 0x7000, 0xa086, 0x0000, | 617 | 0xa206, 0x00c0, 0x2256, 0xa286, 0x0008, 0x00c0, 0x2256, 0x2071, |
613 | 0x00c0, 0x2205, 0x2079, 0x0100, 0x7830, 0xa084, 0x00c0, 0x00c0, | 618 | 0x0010, 0x1078, 0x225b, 0x2009, 0x0020, 0x6004, 0xa086, 0x0103, |
614 | 0x2205, 0x0018, 0x2205, 0x781b, 0x004d, 0x2091, 0x8001, 0x0e7f, | 619 | 0x00c0, 0x2230, 0x6028, 0xa005, 0x00c0, 0x2230, 0x2009, 0x000c, |
615 | 0x0f7f, 0x007c, 0x127e, 0x2091, 0x2300, 0x2071, 0x5140, 0x2079, | 620 | 0x1078, 0x1976, 0x0040, 0x2249, 0x78c4, 0x8000, 0x78c6, 0xa086, |
616 | 0x0100, 0x784b, 0x000f, 0x0098, 0x2218, 0x7838, 0x0078, 0x2211, | 621 | 0x0002, 0x00c0, 0x2256, 0x2091, 0x8000, 0x78e3, 0x0003, 0x78c7, |
617 | 0x20a9, 0x0040, 0x7800, 0xa082, 0x0004, 0x0048, 0x2221, 0x20a9, | 622 | 0x0000, 0x78cc, 0xa085, 0x0300, 0x78ce, 0x2091, 0x8001, 0x0078, |
618 | 0x0060, 0x789b, 0x0000, 0x78af, 0x0000, 0x78af, 0x0000, 0x0070, | 623 | 0x2256, 0x78c7, 0x0000, 0x1078, 0x1cf2, 0x79ac, 0x78b0, 0x8000, |
619 | 0x222b, 0x0078, 0x2223, 0x7800, 0xa082, 0x0004, 0x0048, 0x223a, | 624 | 0xa10a, 0x00c8, 0x2254, 0xa006, 0x78b2, 0xa006, 0x2071, 0x0010, |
620 | 0x70b7, 0x0096, 0x2019, 0x4ee7, 0x1078, 0x2276, 0x702f, 0x8001, | 625 | 0x2091, 0x8001, 0x007c, 0x8107, 0x8004, 0x8004, 0x7ab8, 0x7bb4, |
621 | 0x0078, 0x2246, 0x70b7, 0x0000, 0x2019, 0x4d5f, 0x1078, 0x2276, | 626 | 0x7cc0, 0x7dbc, 0xa210, 0xa399, 0x0000, 0xa4a1, 0x0000, 0xa5a9, |
622 | 0x2019, 0x4d9e, 0x1078, 0x2276, 0x702f, 0x8000, 0x7003, 0x0000, | 627 | 0x0000, 0x007c, 0x2009, 0x525b, 0x2091, 0x8000, 0x200a, 0x0f7e, |
623 | 0x1078, 0x237f, 0x7004, 0xa084, 0x000f, 0x017e, 0x2009, 0x04fd, | 628 | 0x0e7e, 0x2071, 0x5240, 0x7000, 0xa086, 0x0000, 0x00c0, 0x2289, |
624 | 0x210c, 0xa18a, 0x0005, 0x0048, 0x225b, 0x0038, 0x2261, 0xa085, | 629 | 0x2009, 0x5212, 0x2104, 0xa005, 0x00c0, 0x2289, 0x2079, 0x0100, |
625 | 0x6280, 0x0078, 0x2263, 0x0028, 0x2261, 0xa085, 0x6280, 0x0078, | 630 | 0x7830, 0xa084, 0x00c0, 0x00c0, 0x2289, 0x0018, 0x2289, 0x781b, |
626 | 0x2263, 0xa085, 0x62c0, 0x017f, 0x7806, 0x780f, 0xb204, 0x7843, | 631 | 0x004b, 0x0e7f, 0x0f7f, 0x007c, 0x0f7e, 0x0e7e, 0x2071, 0x5240, |
627 | 0x00d8, 0x7853, 0x0080, 0x780b, 0x0008, 0x7047, 0x0008, 0x7053, | 632 | 0x2091, 0x8000, 0x7000, 0xa086, 0x0000, 0x00c0, 0x22a2, 0x2079, |
628 | 0x517f, 0x704f, 0x0000, 0x127f, 0x2000, 0x007c, 0x137e, 0x147e, | 633 | 0x0100, 0x7830, 0xa084, 0x00c0, 0x00c0, 0x22a2, 0x0018, 0x22a2, |
629 | 0x157e, 0x047e, 0x20a1, 0x012b, 0x2304, 0xa005, 0x789a, 0x0040, | 634 | 0x781b, 0x004d, 0x2091, 0x8001, 0x0e7f, 0x0f7f, 0x007c, 0x127e, |
630 | 0x2296, 0x8318, 0x2324, 0x8318, 0x2398, 0x24a8, 0xa484, 0xff00, | 635 | 0x2091, 0x2300, 0x2071, 0x5240, 0x2079, 0x0100, 0x784b, 0x000f, |
631 | 0x0040, 0x228e, 0xa482, 0x0100, 0x20a9, 0x0100, 0x2020, 0x53a6, | 636 | 0x0098, 0x22b5, 0x7838, 0x0078, 0x22ae, 0x20a9, 0x0040, 0x7800, |
632 | 0xa005, 0x00c0, 0x2285, 0x3318, 0x0078, 0x227c, 0x047f, 0x157f, | 637 | 0xa082, 0x0004, 0x0048, 0x22be, 0x20a9, 0x0060, 0x789b, 0x0000, |
633 | 0x147f, 0x137f, 0x007c, 0xa18c, 0x000f, 0x2011, 0x0101, 0x2204, | 638 | 0x78af, 0x0000, 0x78af, 0x0000, 0x0070, 0x22c8, 0x0078, 0x22c0, |
634 | 0xa084, 0xfff0, 0xa105, 0x2012, 0x1078, 0x237f, 0x007c, 0x2011, | 639 | 0x7800, 0xa082, 0x0004, 0x0048, 0x22d7, 0x70b7, 0x0093, 0x2019, |
635 | 0x0101, 0x20a9, 0x0009, 0x810b, 0x0070, 0x22b0, 0x0078, 0x22ab, | 640 | 0x4ff0, 0x1078, 0x2313, 0x702f, 0x8001, 0x0078, 0x22e3, 0x70b7, |
636 | 0xa18c, 0x0e00, 0x2204, 0xa084, 0xf1ff, 0xa105, 0x2012, 0x007c, | 641 | 0x0000, 0x2019, 0x4e70, 0x1078, 0x2313, 0x2019, 0x4eaf, 0x1078, |
637 | 0x2009, 0x0101, 0x20a9, 0x0005, 0x8213, 0x0070, 0x22c1, 0x0078, | 642 | 0x2313, 0x702f, 0x8000, 0x7003, 0x0000, 0x1078, 0x2420, 0x7004, |
638 | 0x22bc, 0xa294, 0x00e0, 0x2104, 0xa084, 0xff1f, 0xa205, 0x200a, | 643 | 0xa084, 0x000f, 0x017e, 0x2009, 0x04fd, 0x210c, 0xa18a, 0x0005, |
639 | 0x007c, 0x2011, 0x0101, 0x20a9, 0x000c, 0x810b, 0x0070, 0x22d2, | 644 | 0x0048, 0x22f8, 0x0038, 0x22fe, 0xa085, 0x6280, 0x0078, 0x2300, |
640 | 0x0078, 0x22cd, 0xa18c, 0xf000, 0x2204, 0xa084, 0x0fff, 0xa105, | 645 | 0x0028, 0x22fe, 0xa085, 0x6280, 0x0078, 0x2300, 0xa085, 0x62c0, |
641 | 0x2012, 0x007c, 0x2011, 0x0102, 0x2204, 0xa084, 0xffcf, 0xa105, | 646 | 0x017f, 0x7806, 0x780f, 0xb204, 0x7843, 0x00d8, 0x7853, 0x0080, |
642 | 0x2012, 0x007c, 0x8103, 0x8003, 0xa080, 0x0020, 0x0c7e, 0x2061, | 647 | 0x780b, 0x0008, 0x7047, 0x0008, 0x7053, 0x527f, 0x704f, 0x0000, |
643 | 0x0100, 0x609a, 0x62ac, 0x63ac, 0x0c7f, 0x007c, 0x8103, 0x8003, | 648 | 0x127f, 0x2000, 0x007c, 0x137e, 0x147e, 0x157e, 0x047e, 0x20a1, |
644 | 0xa080, 0x0022, 0x0c7e, 0x2061, 0x0100, 0x609a, 0x60a4, 0xa084, | 649 | 0x012b, 0x2304, 0xa005, 0x789a, 0x0040, 0x2333, 0x8318, 0x2324, |
645 | 0xffdf, 0x60ae, 0x0c7f, 0x007c, 0x8103, 0x8003, 0xa080, 0x0022, | 650 | 0x8318, 0x2398, 0x24a8, 0xa484, 0xff00, 0x0040, 0x232b, 0xa482, |
646 | 0x0c7e, 0x2061, 0x0100, 0x609a, 0x60a4, 0xa085, 0x0020, 0x60ae, | 651 | 0x0100, 0x20a9, 0x0100, 0x2020, 0x53a6, 0xa005, 0x00c0, 0x2322, |
647 | 0x0c7f, 0x007c, 0x8103, 0x8003, 0xa080, 0x0020, 0x0c7e, 0x2061, | 652 | 0x3318, 0x0078, 0x2319, 0x047f, 0x157f, 0x147f, 0x137f, 0x007c, |
648 | 0x0100, 0x609a, 0x60a4, 0x62ae, 0x2010, 0x60a4, 0x63ae, 0x2018, | 653 | 0xa18c, 0x000f, 0x2011, 0x0101, 0x2204, 0xa084, 0xfff0, 0xa105, |
649 | 0x0c7f, 0x007c, 0x2091, 0x8000, 0x0c7e, 0x0e7e, 0x6818, 0xa005, | 654 | 0x2012, 0x1078, 0x2420, 0x007c, 0x2011, 0x0101, 0x20a9, 0x0009, |
650 | 0x0040, 0x235d, 0x2061, 0x7500, 0x1078, 0x2365, 0x0040, 0x2349, | 655 | 0x810b, 0x0070, 0x234d, 0x0078, 0x2348, 0xa18c, 0x0e00, 0x2204, |
651 | 0x20a9, 0x0000, 0x2061, 0x7400, 0x0c7e, 0x1078, 0x2365, 0x0040, | 656 | 0xa084, 0xf1ff, 0xa105, 0x2012, 0x007c, 0x2009, 0x0101, 0x20a9, |
652 | 0x2339, 0x0c7f, 0x8c60, 0x0070, 0x2337, 0x0078, 0x232c, 0x0078, | 657 | 0x0005, 0x8213, 0x0070, 0x235e, 0x0078, 0x2359, 0xa294, 0x00e0, |
653 | 0x235d, 0x007f, 0xa082, 0x7400, 0x2071, 0x5140, 0x7086, 0x7182, | 658 | 0x2104, 0xa084, 0xff1f, 0xa205, 0x200a, 0x007c, 0x2011, 0x0101, |
654 | 0x2001, 0x0004, 0x706e, 0x7093, 0x000f, 0x1078, 0x21cd, 0x0078, | 659 | 0x20a9, 0x000c, 0x810b, 0x0070, 0x236f, 0x0078, 0x236a, 0xa18c, |
655 | 0x2359, 0x60c0, 0xa005, 0x00c0, 0x235d, 0x2071, 0x5140, 0x7182, | 660 | 0xf000, 0x2204, 0xa084, 0x0fff, 0xa105, 0x2012, 0x007c, 0x2011, |
656 | 0x2c00, 0x708a, 0x2001, 0x0006, 0x706e, 0x7093, 0x000f, 0x1078, | 661 | 0x0102, 0x2204, 0xa084, 0xffcf, 0xa105, 0x2012, 0x007c, 0x8103, |
657 | 0x21cd, 0x2001, 0x0000, 0x0078, 0x235f, 0x2001, 0x0001, 0x2091, | 662 | 0x8003, 0xa080, 0x0020, 0x0c7e, 0x2061, 0x0100, 0x609a, 0x62ac, |
658 | 0x8001, 0xa005, 0x0e7f, 0x0c7f, 0x007c, 0x2c04, 0xa005, 0x0040, | 663 | 0x63ac, 0x0c7f, 0x007c, 0x8103, 0x8003, 0xa080, 0x0022, 0x0c7e, |
659 | 0x237c, 0x2060, 0x600c, 0xa306, 0x00c0, 0x2379, 0x6010, 0xa206, | 664 | 0x2061, 0x0100, 0x609a, 0x60a4, 0xa084, 0xffdf, 0x60ae, 0x0c7f, |
660 | 0x00c0, 0x2379, 0x6014, 0xa106, 0x00c0, 0x2379, 0xa006, 0x0078, | 665 | 0x007c, 0x8103, 0x8003, 0xa080, 0x0022, 0x0c7e, 0x2061, 0x0100, |
661 | 0x237e, 0x6000, 0x0078, 0x2366, 0xa085, 0x0001, 0x007c, 0x2011, | 666 | 0x609a, 0x60a4, 0xa085, 0x0020, 0x60ae, 0x0c7f, 0x007c, 0x8103, |
662 | 0x5141, 0x220c, 0xa18c, 0x000f, 0x2011, 0x013b, 0x2204, 0xa084, | 667 | 0x8003, 0xa080, 0x0020, 0x0c7e, 0x2061, 0x0100, 0x609a, 0x60a4, |
663 | 0x0100, 0x0040, 0x2395, 0x2021, 0xff04, 0x2122, 0x810b, 0x810b, | 668 | 0x62ae, 0x2010, 0x60a4, 0x63ae, 0x2018, 0x0c7f, 0x007c, 0x2091, |
664 | 0x810b, 0x810b, 0xa18d, 0x0f00, 0x2104, 0x007c, 0x0e7e, 0x68e4, | 669 | 0x8000, 0x0c7e, 0x0e7e, 0x6818, 0xa005, 0x0040, 0x23fe, 0x2061, |
665 | 0xa08c, 0x0020, 0x0040, 0x23e9, 0xa084, 0x0006, 0x00c0, 0x23e9, | 670 | 0x7600, 0x1078, 0x2406, 0x0040, 0x23e8, 0x20a9, 0x0000, 0x2061, |
666 | 0x6014, 0x8007, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xa0f0, | 671 | 0x7500, 0x0c7e, 0x1078, 0x2406, 0x0040, 0x23d6, 0x0c7f, 0x8c60, |
667 | 0x5380, 0x7004, 0xa084, 0x000a, 0x00c0, 0x23e9, 0x7108, 0xa194, | 672 | 0x0070, 0x23d4, 0x0078, 0x23c9, 0x0078, 0x23fe, 0x007f, 0xa082, |
668 | 0xff00, 0x0040, 0x23e9, 0xa18c, 0x00ff, 0x2001, 0x000c, 0xa106, | 673 | 0x7500, 0x2071, 0x5240, 0x7086, 0x7182, 0x2001, 0x0004, 0x706e, |
669 | 0x0040, 0x23d0, 0x2001, 0x0012, 0xa106, 0x0040, 0x23d4, 0x2001, | 674 | 0x7093, 0x000f, 0x7073, 0x0000, 0x1078, 0x226a, 0x0078, 0x23fa, |
670 | 0x0014, 0xa106, 0x0040, 0x23d8, 0x2001, 0x0019, 0xa106, 0x0040, | 675 | 0x60c0, 0xa005, 0x00c0, 0x23fe, 0x2071, 0x5240, 0x7182, 0x2c00, |
671 | 0x23dc, 0x2001, 0x0032, 0xa106, 0x0040, 0x23e0, 0x0078, 0x23e4, | 676 | 0x708a, 0x2001, 0x0006, 0x706e, 0x7093, 0x000f, 0x7073, 0x0000, |
672 | 0x2009, 0x0012, 0x0078, 0x23e6, 0x2009, 0x0014, 0x0078, 0x23e6, | 677 | 0x1078, 0x226a, 0x2001, 0x0000, 0x0078, 0x2400, 0x2001, 0x0001, |
673 | 0x2009, 0x0019, 0x0078, 0x23e6, 0x2009, 0x0020, 0x0078, 0x23e6, | 678 | 0x2091, 0x8001, 0xa005, 0x0e7f, 0x0c7f, 0x007c, 0x2c04, 0xa005, |
674 | 0x2009, 0x003f, 0x0078, 0x23e6, 0x2011, 0x0000, 0x2100, 0xa205, | 679 | 0x0040, 0x241d, 0x2060, 0x600c, 0xa306, 0x00c0, 0x241a, 0x6010, |
675 | 0x700a, 0x0e7f, 0x007c, 0x0068, 0x23eb, 0x2091, 0x8000, 0x2071, | 680 | 0xa206, 0x00c0, 0x241a, 0x6014, 0xa106, 0x00c0, 0x241a, 0xa006, |
676 | 0x0000, 0x007e, 0x7018, 0xa084, 0x0001, 0x00c0, 0x23f2, 0x007f, | 681 | 0x0078, 0x241f, 0x6000, 0x0078, 0x2407, 0xa085, 0x0001, 0x007c, |
677 | 0x2071, 0x0010, 0x70ca, 0x007f, 0x70c6, 0x70c3, 0x8002, 0x70db, | 682 | 0x2011, 0x5241, 0x220c, 0xa18c, 0x000f, 0x2011, 0x013b, 0x2204, |
678 | 0x0741, 0x70df, 0x0000, 0x2071, 0x0000, 0x701b, 0x0001, 0x2091, | 683 | 0xa084, 0x0100, 0x0040, 0x2436, 0x2021, 0xff04, 0x2122, 0x810b, |
679 | 0x4080, 0x0078, 0x2409, 0x107e, 0x007e, 0x127e, 0x2091, 0x2300, | 684 | 0x810b, 0x810b, 0x810b, 0xa18d, 0x0f00, 0x2104, 0x007c, 0x0e7e, |
680 | 0x7f3c, 0x7e58, 0x7c30, 0x7d38, 0x77c2, 0x74c6, 0x76ca, 0x75ce, | 685 | 0x68e4, 0xa08c, 0x0020, 0x0040, 0x248a, 0xa084, 0x0006, 0x00c0, |
681 | 0xa594, 0x003f, 0xa49c, 0x0003, 0xa484, 0x000f, 0x0079, 0x2420, | 686 | 0x248a, 0x6014, 0x8007, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, |
682 | 0x2432, 0x2432, 0x2432, 0x276c, 0x393b, 0x2430, 0x2461, 0x246b, | 687 | 0xa0f0, 0x5480, 0x7004, 0xa084, 0x000a, 0x00c0, 0x248a, 0x7108, |
683 | 0x2430, 0x2430, 0x2430, 0x2430, 0x2430, 0x2430, 0x2430, 0x2430, | 688 | 0xa194, 0xff00, 0x0040, 0x248a, 0xa18c, 0x00ff, 0x2001, 0x000c, |
684 | 0x1078, 0x23eb, 0x8507, 0xa084, 0x001f, 0x0079, 0x2437, 0x2475, | 689 | 0xa106, 0x0040, 0x2471, 0x2001, 0x0012, 0xa106, 0x0040, 0x2475, |
685 | 0x276c, 0x2926, 0x2a23, 0x2a4b, 0x2ced, 0x2f98, 0x2fdb, 0x3026, | 690 | 0x2001, 0x0014, 0xa106, 0x0040, 0x2479, 0x2001, 0x0019, 0xa106, |
686 | 0x30ab, 0x3163, 0x320c, 0x2461, 0x2848, 0x2f6d, 0x2457, 0x3cc8, | 691 | 0x0040, 0x247d, 0x2001, 0x0032, 0xa106, 0x0040, 0x2481, 0x0078, |
687 | 0x3ce8, 0x3eae, 0x3eba, 0x3f8f, 0x2457, 0x2457, 0x4062, 0x4066, | 692 | 0x2485, 0x2009, 0x0012, 0x0078, 0x2487, 0x2009, 0x0014, 0x0078, |
688 | 0x3cc6, 0x2457, 0x3e19, 0x2457, 0x3b8c, 0x246b, 0x2457, 0x1078, | 693 | 0x2487, 0x2009, 0x0019, 0x0078, 0x2487, 0x2009, 0x0020, 0x0078, |
689 | 0x23eb, 0x0018, 0x2410, 0x127f, 0x2091, 0x8001, 0x007f, 0x107f, | 694 | 0x2487, 0x2009, 0x003f, 0x0078, 0x2487, 0x2011, 0x0000, 0x2100, |
690 | 0x007c, 0x2019, 0x4e3b, 0x1078, 0x2276, 0x702f, 0x0001, 0x781b, | 695 | 0xa205, 0x700a, 0x0e7f, 0x007c, 0x0068, 0x248c, 0x2091, 0x8000, |
691 | 0x004f, 0x0078, 0x2459, 0x2019, 0x4d9e, 0x1078, 0x2276, 0x702f, | 696 | 0x2071, 0x0000, 0x007e, 0x7018, 0xa084, 0x0001, 0x00c0, 0x2493, |
692 | 0x8000, 0x781b, 0x00d0, 0x0078, 0x2459, 0x7242, 0x2009, 0x510f, | 697 | 0x007f, 0x2071, 0x0010, 0x70ca, 0x007f, 0x70c6, 0x70c3, 0x8002, |
693 | 0x200b, 0x0000, 0xa584, 0x0001, 0x00c0, 0x3ba0, 0x0040, 0x2492, | 698 | 0x70db, 0x0741, 0x70df, 0x0006, 0x2071, 0x0000, 0x701b, 0x0001, |
694 | 0x1078, 0x23eb, 0x7003, 0x0000, 0x704b, 0x0000, 0x7043, 0x0000, | 699 | 0x2091, 0x4080, 0x0078, 0x24aa, 0x107e, 0x007e, 0x127e, 0x2091, |
695 | 0x7037, 0x0000, 0x1078, 0x3912, 0x0018, 0x2410, 0x2009, 0x510f, | 700 | 0x2300, 0x7f3c, 0x7e58, 0x7c30, 0x7d38, 0x77c2, 0x74c6, 0x76ca, |
696 | 0x200b, 0x0000, 0x7068, 0xa005, 0x00c0, 0x255d, 0x706c, 0xa084, | 701 | 0x75ce, 0xa594, 0x003f, 0xa49c, 0x0003, 0xa484, 0x000f, 0x0079, |
697 | 0x0007, 0x0079, 0x249b, 0x2594, 0x24a3, 0x24af, 0x24cc, 0x24ee, | 702 | 0x24c1, 0x24d3, 0x24d3, 0x24d3, 0x280d, 0x3a09, 0x24d1, 0x2502, |
698 | 0x253b, 0x2514, 0x24a3, 0x1078, 0x38fa, 0x2009, 0x0048, 0x1078, | 703 | 0x250c, 0x24d1, 0x24d1, 0x24d1, 0x24d1, 0x24d1, 0x24d1, 0x24d1, |
699 | 0x2e39, 0x00c0, 0x24ad, 0x7003, 0x0004, 0x0078, 0x2459, 0x1078, | 704 | 0x24d1, 0x1078, 0x248c, 0x8507, 0xa084, 0x001f, 0x0079, 0x24d8, |
700 | 0x38fa, 0x00c0, 0x24ca, 0x7080, 0x8007, 0x7882, 0x789b, 0x0010, | 705 | 0x2516, 0x280d, 0x29c7, 0x2ac4, 0x2aec, 0x2d8c, 0x3037, 0x309a, |
701 | 0x78ab, 0x000c, 0x789b, 0x0060, 0x78ab, 0x0001, 0x785b, 0x0004, | 706 | 0x30fb, 0x3180, 0x3238, 0x32d6, 0x2502, 0x28e9, 0x300c, 0x24f8, |
702 | 0x2009, 0x00e0, 0x1078, 0x2e2d, 0x00c0, 0x24ca, 0x7003, 0x0004, | 707 | 0x3dac, 0x3dcc, 0x3f8f, 0x3f9b, 0x4074, 0x24f8, 0x24f8, 0x4149, |
703 | 0x7093, 0x000f, 0x0078, 0x2459, 0x1078, 0x38fa, 0x00c0, 0x24ec, | 708 | 0x414d, 0x3daa, 0x24f8, 0x3efa, 0x24f8, 0x3c5e, 0x250c, 0x24f8, |
704 | 0x7180, 0x8107, 0x7882, 0x789b, 0x0010, 0xa18c, 0x001f, 0xa18d, | 709 | 0x1078, 0x248c, 0x0018, 0x24b1, 0x127f, 0x2091, 0x8001, 0x007f, |
705 | 0x00c0, 0x79aa, 0x78ab, 0x0006, 0x789b, 0x0060, 0x78ab, 0x0002, | 710 | 0x107f, 0x007c, 0x2019, 0x4f49, 0x1078, 0x2313, 0x702f, 0x0001, |
706 | 0x785b, 0x0004, 0x2009, 0x00e0, 0x1078, 0x2e2d, 0x00c0, 0x24ec, | 711 | 0x781b, 0x004f, 0x0078, 0x24fa, 0x2019, 0x4eaf, 0x1078, 0x2313, |
707 | 0x7003, 0x0004, 0x7093, 0x000f, 0x0078, 0x2459, 0x1078, 0x38fa, | 712 | 0x702f, 0x8000, 0x781b, 0x00cd, 0x0078, 0x24fa, 0x7242, 0x2009, |
708 | 0x00c0, 0x2512, 0x7180, 0x8107, 0x7882, 0x789b, 0x0010, 0xa18c, | 713 | 0x520f, 0x200b, 0x0000, 0xa584, 0x0001, 0x00c0, 0x3c72, 0x0040, |
709 | 0x001f, 0xa18d, 0x00c0, 0x79aa, 0x78ab, 0x0020, 0x7184, 0x79aa, | 714 | 0x2533, 0x1078, 0x248c, 0x7003, 0x0000, 0x704b, 0x0000, 0x7043, |
710 | 0x78ab, 0x000d, 0x789b, 0x0060, 0x78ab, 0x0004, 0x785b, 0x0004, | 715 | 0x0000, 0x7037, 0x0000, 0x1078, 0x39e0, 0x0018, 0x24b1, 0x2009, |
711 | 0x2009, 0x00e0, 0x1078, 0x2e2d, 0x00c0, 0x2512, 0x7003, 0x0004, | 716 | 0x520f, 0x200b, 0x0000, 0x7068, 0xa005, 0x00c0, 0x25fe, 0x706c, |
712 | 0x7093, 0x000f, 0x0078, 0x2459, 0x1078, 0x38fa, 0x00c0, 0x2539, | 717 | 0xa084, 0x0007, 0x0079, 0x253c, 0x2635, 0x2544, 0x2550, 0x256d, |
713 | 0x7180, 0x8107, 0x7882, 0x789b, 0x0010, 0xa18c, 0x001f, 0xa18d, | 718 | 0x258f, 0x25dc, 0x25b5, 0x2544, 0x1078, 0x39c8, 0x2009, 0x0048, |
714 | 0x00c0, 0x79aa, 0x78ab, 0x0006, 0x789b, 0x0060, 0x78ab, 0x0002, | 719 | 0x1078, 0x2ed8, 0x00c0, 0x254e, 0x7003, 0x0004, 0x0078, 0x24fa, |
715 | 0x785b, 0x0004, 0x2009, 0x00e0, 0x1078, 0x2e2d, 0x00c0, 0x2539, | 720 | 0x1078, 0x39c8, 0x00c0, 0x256b, 0x7080, 0x8007, 0x7882, 0x789b, |
716 | 0x7088, 0x708b, 0x0000, 0x2068, 0x704a, 0x7003, 0x0002, 0x7093, | 721 | 0x0010, 0x78ab, 0x000c, 0x789b, 0x0060, 0x78ab, 0x0001, 0x785b, |
717 | 0x000f, 0x0078, 0x2459, 0x1078, 0x38fa, 0x00c0, 0x2459, 0x7088, | 722 | 0x0004, 0x2009, 0x00dd, 0x1078, 0x2ecc, 0x00c0, 0x256b, 0x7003, |
718 | 0x2068, 0x6f14, 0x1078, 0x37ef, 0x2c50, 0x1078, 0x39ac, 0x789b, | 723 | 0x0004, 0x7093, 0x000f, 0x0078, 0x24fa, 0x1078, 0x39c8, 0x00c0, |
719 | 0x0010, 0x6814, 0xa084, 0x001f, 0xa085, 0x0080, 0x78aa, 0x6e1c, | 724 | 0x258d, 0x7180, 0x8107, 0x7882, 0x789b, 0x0010, 0xa18c, 0x001f, |
720 | 0x2041, 0x0001, 0x708c, 0xa084, 0x0400, 0x2001, 0x0004, 0x0040, | 725 | 0xa18d, 0x00c0, 0x79aa, 0x78ab, 0x0006, 0x789b, 0x0060, 0x78ab, |
721 | 0x255b, 0x2001, 0x0006, 0x0078, 0x267c, 0x1078, 0x38fa, 0x00c0, | 726 | 0x0002, 0x785b, 0x0004, 0x2009, 0x00dd, 0x1078, 0x2ecc, 0x00c0, |
722 | 0x2459, 0x789b, 0x0010, 0x7068, 0x2068, 0x6f14, 0x1078, 0x37ef, | 727 | 0x258d, 0x7003, 0x0004, 0x7093, 0x000f, 0x0078, 0x24fa, 0x1078, |
723 | 0x2c50, 0x1078, 0x39ac, 0x6008, 0xa085, 0x0010, 0x600a, 0x6824, | 728 | 0x39c8, 0x00c0, 0x25b3, 0x7180, 0x8107, 0x7882, 0x789b, 0x0010, |
724 | 0xa005, 0x0040, 0x257b, 0xa082, 0x0006, 0x0048, 0x2579, 0x0078, | 729 | 0xa18c, 0x001f, 0xa18d, 0x00c0, 0x79aa, 0x78ab, 0x0020, 0x7184, |
725 | 0x257b, 0x6827, 0x0005, 0x6b14, 0xa39c, 0x001f, 0xa39d, 0x00c0, | 730 | 0x79aa, 0x78ab, 0x000d, 0x789b, 0x0060, 0x78ab, 0x0004, 0x785b, |
726 | 0x7058, 0xa084, 0x8000, 0x0040, 0x2589, 0xa684, 0x0001, 0x0040, | 731 | 0x0004, 0x2009, 0x00dd, 0x1078, 0x2ecc, 0x00c0, 0x25b3, 0x7003, |
727 | 0x258b, 0xa39c, 0xffbf, 0x7baa, 0x2031, 0x0020, 0x2041, 0x0001, | 732 | 0x0004, 0x7093, 0x000f, 0x0078, 0x24fa, 0x1078, 0x39c8, 0x00c0, |
728 | 0x2001, 0x0003, 0x0078, 0x267c, 0x0018, 0x2410, 0x744c, 0xa485, | 733 | 0x25da, 0x7180, 0x8107, 0x7882, 0x789b, 0x0010, 0xa18c, 0x001f, |
729 | 0x0000, 0x0040, 0x25ae, 0xa080, 0x5180, 0x2030, 0x7150, 0x8108, | 734 | 0xa18d, 0x00c0, 0x79aa, 0x78ab, 0x0006, 0x789b, 0x0060, 0x78ab, |
730 | 0xa12a, 0x0048, 0x25a5, 0x2009, 0x5180, 0x2164, 0x6504, 0x85ff, | 735 | 0x0002, 0x785b, 0x0004, 0x2009, 0x00dd, 0x1078, 0x2ecc, 0x00c0, |
731 | 0x00c0, 0x25bf, 0x8421, 0x00c0, 0x259f, 0x7152, 0x7003, 0x0000, | 736 | 0x25da, 0x7088, 0x708b, 0x0000, 0x2068, 0x704a, 0x7003, 0x0002, |
732 | 0x704b, 0x0000, 0x7040, 0xa005, 0x0040, 0x3ba0, 0x0078, 0x2459, | 737 | 0x7093, 0x000f, 0x0078, 0x24fa, 0x1078, 0x39c8, 0x00c0, 0x24fa, |
733 | 0x764c, 0xa6b0, 0x5180, 0x7150, 0x2600, 0x0078, 0x25aa, 0x7152, | 738 | 0x7088, 0x2068, 0x6f14, 0x1078, 0x38bd, 0x2c50, 0x1078, 0x3a7a, |
734 | 0x2568, 0x2558, 0x754a, 0x2c50, 0x6034, 0xa085, 0x0000, 0x00c0, | 739 | 0x789b, 0x0010, 0x6814, 0xa084, 0x001f, 0xa085, 0x0080, 0x78aa, |
735 | 0x25bc, 0x6708, 0x773a, 0xa784, 0x033f, 0x0040, 0x25f5, 0xa784, | 740 | 0x6e1c, 0x2041, 0x0001, 0x708c, 0xa084, 0x0400, 0x2001, 0x0004, |
736 | 0x0021, 0x00c0, 0x25bc, 0xa784, 0x0002, 0x0040, 0x25de, 0xa784, | 741 | 0x0040, 0x25fc, 0x2001, 0x0006, 0x0078, 0x271d, 0x1078, 0x39c8, |
737 | 0x0004, 0x0040, 0x25bc, 0xa7bc, 0xfffb, 0x670a, 0xa784, 0x0008, | 742 | 0x00c0, 0x24fa, 0x789b, 0x0010, 0x7068, 0x2068, 0x6f14, 0x1078, |
738 | 0x00c0, 0x25bc, 0xa784, 0x0010, 0x00c0, 0x25bc, 0xa784, 0x0200, | 743 | 0x38bd, 0x2c50, 0x1078, 0x3a7a, 0x6008, 0xa085, 0x0010, 0x600a, |
739 | 0x00c0, 0x25bc, 0xa784, 0x0100, 0x0040, 0x25f5, 0x6018, 0xa005, | 744 | 0x6824, 0xa005, 0x0040, 0x261c, 0xa082, 0x0006, 0x0048, 0x261a, |
740 | 0x00c0, 0x25bc, 0xa7bc, 0xfeff, 0x670a, 0x6823, 0x0000, 0x6e1c, | 745 | 0x0078, 0x261c, 0x6827, 0x0005, 0x6b14, 0xa39c, 0x001f, 0xa39d, |
741 | 0xa684, 0x000e, 0x6118, 0x0040, 0x2605, 0x601c, 0xa102, 0x0048, | 746 | 0x00c0, 0x7058, 0xa084, 0x8000, 0x0040, 0x262a, 0xa684, 0x0001, |
742 | 0x2608, 0x0040, 0x2608, 0x0078, 0x25b8, 0x81ff, 0x00c0, 0x25b8, | 747 | 0x0040, 0x262c, 0xa39c, 0xffbf, 0x7baa, 0x2031, 0x0020, 0x2041, |
743 | 0x68c3, 0x0000, 0xa784, 0x0080, 0x00c0, 0x2610, 0x700c, 0x6022, | 748 | 0x0001, 0x2001, 0x0003, 0x0078, 0x271d, 0x0018, 0x24b1, 0x744c, |
744 | 0xa7bc, 0xff7f, 0x670a, 0x1078, 0x39ac, 0x0018, 0x2410, 0x789b, | 749 | 0xa485, 0x0000, 0x0040, 0x264f, 0xa080, 0x5280, 0x2030, 0x7150, |
745 | 0x0010, 0xa046, 0x1078, 0x38fa, 0x00c0, 0x2459, 0x6b14, 0xa39c, | 750 | 0x8108, 0xa12a, 0x0048, 0x2646, 0x2009, 0x5280, 0x2164, 0x6504, |
746 | 0x001f, 0xa39d, 0x00c0, 0x7058, 0xa084, 0x8000, 0x0040, 0x262c, | 751 | 0x85ff, 0x00c0, 0x2660, 0x8421, 0x00c0, 0x2640, 0x7152, 0x7003, |
747 | 0xa684, 0x0001, 0x0040, 0x262e, 0xa39c, 0xffbf, 0xa684, 0x0010, | 752 | 0x0000, 0x704b, 0x0000, 0x7040, 0xa005, 0x0040, 0x3c72, 0x0078, |
748 | 0x0040, 0x2634, 0xa39d, 0x0020, 0x7baa, 0x8840, 0xa684, 0x000e, | 753 | 0x24fa, 0x764c, 0xa6b0, 0x5280, 0x7150, 0x2600, 0x0078, 0x264b, |
749 | 0x00c0, 0x263f, 0xa7bd, 0x0010, 0x670a, 0x0078, 0x267a, 0x7158, | 754 | 0x7152, 0x2568, 0x2558, 0x754a, 0x2c50, 0x6034, 0xa085, 0x0000, |
750 | 0xa18c, 0x0800, 0x0040, 0x3401, 0x2011, 0x0020, 0xa684, 0x0008, | 755 | 0x00c0, 0x265d, 0x6708, 0x773a, 0xa784, 0x033f, 0x0040, 0x2696, |
751 | 0x00c0, 0x2650, 0x8210, 0xa684, 0x0002, 0x00c0, 0x2650, 0x8210, | 756 | 0xa784, 0x0021, 0x00c0, 0x265d, 0xa784, 0x0002, 0x0040, 0x267f, |
752 | 0x7aaa, 0x8840, 0x1078, 0x3912, 0x6a14, 0x610c, 0x8108, 0xa18c, | 757 | 0xa784, 0x0004, 0x0040, 0x265d, 0xa7bc, 0xfffb, 0x670a, 0xa784, |
753 | 0x00ff, 0xa1e0, 0x7400, 0x2c64, 0x8cff, 0x0040, 0x2671, 0x6014, | 758 | 0x0008, 0x00c0, 0x265d, 0xa784, 0x0010, 0x00c0, 0x265d, 0xa784, |
754 | 0xa206, 0x00c0, 0x265b, 0x60b8, 0x8001, 0x60ba, 0x00c0, 0x2656, | 759 | 0x0200, 0x00c0, 0x265d, 0xa784, 0x0100, 0x0040, 0x2696, 0x6018, |
755 | 0x0c7e, 0x2a60, 0x6008, 0xa085, 0x0100, 0x600a, 0x0c7f, 0x0078, | 760 | 0xa005, 0x00c0, 0x265d, 0xa7bc, 0xfeff, 0x670a, 0x6823, 0x0000, |
756 | 0x2594, 0x1078, 0x38fa, 0x00c0, 0x2459, 0x2a60, 0x610e, 0x79aa, | 761 | 0x6e1c, 0xa684, 0x000e, 0x6118, 0x0040, 0x26a6, 0x601c, 0xa102, |
757 | 0x8840, 0x7132, 0x2001, 0x0001, 0x007e, 0x715c, 0xa184, 0x0018, | 762 | 0x0048, 0x26a9, 0x0040, 0x26a9, 0x0078, 0x2659, 0x81ff, 0x00c0, |
758 | 0x0040, 0x2697, 0xa184, 0x0010, 0x0040, 0x268a, 0x1078, 0x3604, | 763 | 0x2659, 0x68c3, 0x0000, 0xa784, 0x0080, 0x00c0, 0x26b1, 0x700c, |
759 | 0x00c0, 0x26ba, 0xa184, 0x0008, 0x0040, 0x2697, 0x69a0, 0xa184, | 764 | 0x6022, 0xa7bc, 0xff7f, 0x670a, 0x1078, 0x3a7a, 0x0018, 0x24b1, |
760 | 0x0600, 0x00c0, 0x2697, 0x1078, 0x34f1, 0x0078, 0x26ba, 0x69a0, | 765 | 0x789b, 0x0010, 0xa046, 0x1078, 0x39c8, 0x00c0, 0x24fa, 0x6b14, |
761 | 0xa184, 0x0800, 0x0040, 0x26ae, 0x0c7e, 0x027e, 0x2960, 0x6000, | 766 | 0xa39c, 0x001f, 0xa39d, 0x00c0, 0x7058, 0xa084, 0x8000, 0x0040, |
762 | 0xa085, 0x2000, 0x6002, 0x6104, 0xa18d, 0x0010, 0x6106, 0x027f, | 767 | 0x26cd, 0xa684, 0x0001, 0x0040, 0x26cf, 0xa39c, 0xffbf, 0xa684, |
763 | 0x0c7f, 0x1078, 0x3604, 0x00c0, 0x26ba, 0x69a0, 0xa184, 0x0200, | 768 | 0x0010, 0x0040, 0x26d5, 0xa39d, 0x0020, 0x7baa, 0x8840, 0xa684, |
764 | 0x0040, 0x26b6, 0x1078, 0x3540, 0x0078, 0x26ba, 0xa184, 0x0400, | 769 | 0x000e, 0x00c0, 0x26e0, 0xa7bd, 0x0010, 0x670a, 0x0078, 0x271b, |
765 | 0x00c0, 0x2693, 0x69a0, 0xa184, 0x1000, 0x0040, 0x26c5, 0x6914, | 770 | 0x7158, 0xa18c, 0x0800, 0x0040, 0x34cb, 0x2011, 0x0020, 0xa684, |
766 | 0xa18c, 0xff00, 0x810f, 0x1078, 0x22ee, 0x007f, 0x7002, 0xa68c, | 771 | 0x0008, 0x00c0, 0x26f1, 0x8210, 0xa684, 0x0002, 0x00c0, 0x26f1, |
767 | 0x00e0, 0xa684, 0x0060, 0x0040, 0x26d3, 0xa086, 0x0060, 0x00c0, | 772 | 0x8210, 0x7aaa, 0x8840, 0x1078, 0x39e0, 0x6a14, 0x610c, 0x8108, |
768 | 0x26d3, 0xa18d, 0x4000, 0x88ff, 0x0040, 0x26d8, 0xa18d, 0x0004, | 773 | 0xa18c, 0x00ff, 0xa1e0, 0x7500, 0x2c64, 0x8cff, 0x0040, 0x2712, |
769 | 0x795a, 0x69b6, 0x789b, 0x0060, 0x2800, 0x78aa, 0x789b, 0x0061, | 774 | 0x6014, 0xa206, 0x00c0, 0x26fc, 0x60b8, 0x8001, 0x60ba, 0x00c0, |
770 | 0x6818, 0xa08d, 0x8000, 0xa084, 0x7fff, 0x691a, 0xa68c, 0x0080, | 775 | 0x26f7, 0x0c7e, 0x2a60, 0x6008, 0xa085, 0x0100, 0x600a, 0x0c7f, |
771 | 0x0040, 0x26f7, 0x7097, 0x0000, 0xa08a, 0x000d, 0x0050, 0x26f5, | 776 | 0x0078, 0x2635, 0x1078, 0x39c8, 0x00c0, 0x24fa, 0x2a60, 0x610e, |
772 | 0xa08a, 0x000c, 0x7196, 0x2001, 0x000c, 0x800c, 0x719a, 0x78aa, | 777 | 0x79aa, 0x8840, 0x7132, 0x2001, 0x0001, 0x007e, 0x715c, 0xa184, |
773 | 0x8008, 0x810c, 0x0040, 0x3407, 0xa18c, 0x00f8, 0x00c0, 0x3407, | 778 | 0x0018, 0x0040, 0x2738, 0xa184, 0x0010, 0x0040, 0x272b, 0x1078, |
774 | 0x157e, 0x137e, 0x147e, 0x20a1, 0x012b, 0x789b, 0x0000, 0x8000, | 779 | 0x36d0, 0x00c0, 0x275b, 0xa184, 0x0008, 0x0040, 0x2738, 0x69a0, |
775 | 0x80ac, 0xad80, 0x000b, 0x2098, 0x53a6, 0x147f, 0x137f, 0x157f, | 780 | 0xa184, 0x0600, 0x00c0, 0x2738, 0x1078, 0x35bb, 0x0078, 0x275b, |
776 | 0x6814, 0x8007, 0x7882, 0x6d94, 0x7dd6, 0x7dde, 0x6e98, 0x7ed2, | 781 | 0x69a0, 0xa184, 0x0800, 0x0040, 0x274f, 0x0c7e, 0x027e, 0x2960, |
777 | 0x7eda, 0x1078, 0x38fa, 0x00c0, 0x272e, 0x702c, 0x8003, 0x0048, | 782 | 0x6000, 0xa085, 0x2000, 0x6002, 0x6104, 0xa18d, 0x0010, 0x6106, |
778 | 0x2727, 0x2019, 0x4d9e, 0x1078, 0x2276, 0x702f, 0x8000, 0x7830, | 783 | 0x027f, 0x0c7f, 0x1078, 0x36d0, 0x00c0, 0x275b, 0x69a0, 0xa184, |
779 | 0xa084, 0x00c0, 0x00c0, 0x272e, 0x0098, 0x2736, 0x6008, 0xa084, | 784 | 0x0200, 0x0040, 0x2757, 0x1078, 0x360c, 0x0078, 0x275b, 0xa184, |
780 | 0xffef, 0x600a, 0x1078, 0x3912, 0x0078, 0x2482, 0x7200, 0xa284, | 785 | 0x0400, 0x00c0, 0x2734, 0x69a0, 0xa184, 0x1000, 0x0040, 0x2766, |
781 | 0x0007, 0xa086, 0x0001, 0x00c0, 0x2743, 0x781b, 0x004f, 0x1078, | 786 | 0x6914, 0xa18c, 0xff00, 0x810f, 0x1078, 0x238b, 0x007f, 0x7002, |
782 | 0x3912, 0x0078, 0x2754, 0x6ab4, 0xa295, 0x2000, 0x7a5a, 0x781b, | 787 | 0xa68c, 0x00e0, 0xa684, 0x0060, 0x0040, 0x2774, 0xa086, 0x0060, |
783 | 0x004f, 0x1078, 0x3912, 0x7200, 0x2500, 0xa605, 0x0040, 0x2754, | 788 | 0x00c0, 0x2774, 0xa18d, 0x4000, 0x88ff, 0x0040, 0x2779, 0xa18d, |
784 | 0xa284, 0x0007, 0x1079, 0x2762, 0xad80, 0x0009, 0x7036, 0xa284, | 789 | 0x0004, 0x795a, 0x69b6, 0x789b, 0x0060, 0x2800, 0x78aa, 0x789b, |
785 | 0x0007, 0xa086, 0x0001, 0x00c0, 0x2459, 0x6018, 0x8000, 0x601a, | 790 | 0x0061, 0x6818, 0xa08d, 0x8000, 0xa084, 0x7fff, 0x691a, 0xa68c, |
786 | 0x0078, 0x2459, 0x276a, 0x4a3a, 0x4a3a, 0x4a29, 0x4a3a, 0x276a, | 791 | 0x0080, 0x0040, 0x2798, 0x7097, 0x0000, 0xa08a, 0x000d, 0x0050, |
787 | 0x4a29, 0x276a, 0x1078, 0x23eb, 0x1078, 0x38fa, 0x0f7e, 0x2079, | 792 | 0x2796, 0xa08a, 0x000c, 0x7196, 0x2001, 0x000c, 0x800c, 0x719a, |
788 | 0x5100, 0x78cc, 0x0f7f, 0xa084, 0x0001, 0x0040, 0x2790, 0x706c, | 793 | 0x78aa, 0x8008, 0x810c, 0x0040, 0x34d1, 0xa18c, 0x00f8, 0x00c0, |
789 | 0xa086, 0x0001, 0x00c0, 0x277f, 0x706e, 0x0078, 0x2823, 0x706c, | 794 | 0x34d1, 0x157e, 0x137e, 0x147e, 0x20a1, 0x012b, 0x789b, 0x0000, |
790 | 0xa086, 0x0005, 0x00c0, 0x278e, 0x7088, 0x2068, 0x681b, 0x0004, | 795 | 0x8000, 0x80ac, 0xad80, 0x000b, 0x2098, 0x53a6, 0x147f, 0x137f, |
791 | 0x6817, 0x0000, 0x6820, 0xa085, 0x0008, 0x6822, 0x706f, 0x0000, | 796 | 0x157f, 0x6814, 0x8007, 0x7882, 0x6d94, 0x7dd6, 0x7dde, 0x6e98, |
792 | 0x2011, 0x0004, 0x716c, 0xa186, 0x0001, 0x0040, 0x27b1, 0xa186, | 797 | 0x7ed2, 0x7eda, 0x1078, 0x39c8, 0x00c0, 0x27cf, 0x702c, 0x8003, |
793 | 0x0007, 0x00c0, 0x27a1, 0x2009, 0x5138, 0x200b, 0x0005, 0x0078, | 798 | 0x0048, 0x27c8, 0x2019, 0x4eaf, 0x1078, 0x2313, 0x702f, 0x8000, |
794 | 0x27b1, 0x2009, 0x5113, 0x2104, 0x2009, 0x5112, 0x200a, 0x2009, | 799 | 0x7830, 0xa084, 0x00c0, 0x00c0, 0x27cf, 0x0098, 0x27d7, 0x6008, |
795 | 0x5138, 0x200b, 0x0001, 0x706f, 0x0000, 0x7073, 0x0001, 0x0078, | 800 | 0xa084, 0xffef, 0x600a, 0x1078, 0x39e0, 0x0078, 0x2523, 0x7200, |
796 | 0x27b3, 0x706f, 0x0000, 0x1078, 0x4776, 0x157e, 0x20a9, 0x0010, | 801 | 0xa284, 0x0007, 0xa086, 0x0001, 0x00c0, 0x27e4, 0x781b, 0x004f, |
797 | 0x2039, 0x0000, 0x1078, 0x36e2, 0xa7b8, 0x0100, 0x0070, 0x27c2, | 802 | 0x1078, 0x39e0, 0x0078, 0x27f5, 0x6ab4, 0xa295, 0x2000, 0x7a5a, |
798 | 0x0078, 0x27ba, 0x157f, 0x7000, 0x0079, 0x27c6, 0x27f4, 0x27db, | 803 | 0x781b, 0x004f, 0x1078, 0x39e0, 0x7200, 0x2500, 0xa605, 0x0040, |
799 | 0x27db, 0x27ce, 0x27f4, 0x27f4, 0x27f4, 0x27f4, 0x2021, 0x515a, | 804 | 0x27f5, 0xa284, 0x0007, 0x1079, 0x2803, 0xad80, 0x0009, 0x7036, |
800 | 0x2404, 0xa005, 0x0040, 0x27f4, 0xad06, 0x00c0, 0x27db, 0x6800, | 805 | 0xa284, 0x0007, 0xa086, 0x0001, 0x00c0, 0x24fa, 0x6018, 0x8000, |
801 | 0x2022, 0x0078, 0x27eb, 0x6820, 0xa084, 0x0001, 0x00c0, 0x27e7, | 806 | 0x601a, 0x0078, 0x24fa, 0x280b, 0x4b4b, 0x4b4b, 0x4b3a, 0x4b4b, |
802 | 0x6f14, 0x1078, 0x37ef, 0x1078, 0x33d8, 0x0078, 0x27eb, 0x7060, | 807 | 0x280b, 0x4b3a, 0x280b, 0x1078, 0x248c, 0x1078, 0x39c8, 0x0f7e, |
803 | 0x2060, 0x6800, 0x6002, 0x6a1a, 0x6817, 0x0000, 0x6820, 0xa085, | 808 | 0x2079, 0x5200, 0x78cc, 0x0f7f, 0xa084, 0x0001, 0x0040, 0x2831, |
804 | 0x0008, 0x6822, 0x1078, 0x1c70, 0x2021, 0x7500, 0x1078, 0x2830, | 809 | 0x706c, 0xa086, 0x0001, 0x00c0, 0x2820, 0x706e, 0x0078, 0x28c4, |
805 | 0x2021, 0x515a, 0x1078, 0x2830, 0x157e, 0x20a9, 0x0000, 0x2021, | 810 | 0x706c, 0xa086, 0x0005, 0x00c0, 0x282f, 0x7088, 0x2068, 0x681b, |
806 | 0x7400, 0x1078, 0x2830, 0x8420, 0x0070, 0x2808, 0x0078, 0x2801, | 811 | 0x0004, 0x6817, 0x0000, 0x6820, 0xa085, 0x0008, 0x6822, 0x706f, |
807 | 0x2061, 0x5400, 0x2021, 0x0002, 0x20a9, 0x0100, 0x6018, 0x6110, | 812 | 0x0000, 0x2011, 0x0004, 0x716c, 0xa186, 0x0001, 0x0040, 0x2852, |
808 | 0x81ff, 0x0040, 0x2817, 0xa102, 0x0050, 0x2817, 0x6012, 0x601b, | 813 | 0xa186, 0x0007, 0x00c0, 0x2842, 0x2009, 0x5238, 0x200b, 0x0005, |
809 | 0x0000, 0xace0, 0x0010, 0x0070, 0x281f, 0x0078, 0x280e, 0x8421, | 814 | 0x0078, 0x2852, 0x2009, 0x5213, 0x2104, 0x2009, 0x5212, 0x200a, |
810 | 0x00c0, 0x280c, 0x157f, 0x709c, 0xa084, 0x8000, 0x0040, 0x282a, | 815 | 0x2009, 0x5238, 0x200b, 0x0001, 0x706f, 0x0000, 0x7073, 0x0001, |
811 | 0x1078, 0x3a00, 0x7003, 0x0000, 0x704b, 0x0000, 0x0078, 0x2459, | 816 | 0x0078, 0x2854, 0x706f, 0x0000, 0x1078, 0x4887, 0x157e, 0x20a9, |
812 | 0x047e, 0x2404, 0xa005, 0x0040, 0x2844, 0x2068, 0x6800, 0x007e, | 817 | 0x0010, 0x2039, 0x0000, 0x1078, 0x37b0, 0xa7b8, 0x0100, 0x0070, |
813 | 0x6a1a, 0x6817, 0x0000, 0x6820, 0xa085, 0x0008, 0x6822, 0x1078, | 818 | 0x2863, 0x0078, 0x285b, 0x157f, 0x7000, 0x0079, 0x2867, 0x2895, |
814 | 0x1c70, 0x007f, 0x0078, 0x2832, 0x047f, 0x2023, 0x0000, 0x007c, | 819 | 0x287c, 0x287c, 0x286f, 0x2895, 0x2895, 0x2895, 0x2895, 0x2021, |
815 | 0xa282, 0x0003, 0x0050, 0x284e, 0x1078, 0x23eb, 0x2300, 0x0079, | 820 | 0x525a, 0x2404, 0xa005, 0x0040, 0x2895, 0xad06, 0x00c0, 0x287c, |
816 | 0x2851, 0x2854, 0x28c7, 0x28e4, 0xa282, 0x0002, 0x0040, 0x285a, | 821 | 0x6800, 0x2022, 0x0078, 0x288c, 0x6820, 0xa084, 0x0001, 0x00c0, |
817 | 0x1078, 0x23eb, 0x706c, 0x706f, 0x0000, 0x7093, 0x0000, 0x0079, | 822 | 0x2888, 0x6f14, 0x1078, 0x38bd, 0x1078, 0x34a2, 0x0078, 0x288c, |
818 | 0x2861, 0x2869, 0x2869, 0x286b, 0x289f, 0x340d, 0x2869, 0x289f, | 823 | 0x7060, 0x2060, 0x6800, 0x6002, 0x6a1a, 0x6817, 0x0000, 0x6820, |
819 | 0x2869, 0x1078, 0x23eb, 0x7780, 0x1078, 0x36e2, 0x7780, 0xa7bc, | 824 | 0xa085, 0x0008, 0x6822, 0x1078, 0x1cdc, 0x2021, 0x7600, 0x1078, |
820 | 0x0f00, 0x1078, 0x37ef, 0x6018, 0xa005, 0x0040, 0x2896, 0x2021, | 825 | 0x28d1, 0x2021, 0x525a, 0x1078, 0x28d1, 0x157e, 0x20a9, 0x0000, |
821 | 0x7500, 0x2009, 0x0004, 0x2011, 0x0010, 0x1078, 0x28ff, 0x0040, | 826 | 0x2021, 0x7500, 0x1078, 0x28d1, 0x8420, 0x0070, 0x28a9, 0x0078, |
822 | 0x2896, 0x157e, 0x20a9, 0x0000, 0x2021, 0x7400, 0x047e, 0x2009, | 827 | 0x28a2, 0x2061, 0x5500, 0x2021, 0x0002, 0x20a9, 0x0100, 0x6018, |
823 | 0x0004, 0x2011, 0x0010, 0x1078, 0x28ff, 0x047f, 0x0040, 0x2895, | 828 | 0x6110, 0x81ff, 0x0040, 0x28b8, 0xa102, 0x0050, 0x28b8, 0x6012, |
824 | 0x8420, 0x0070, 0x2895, 0x0078, 0x2886, 0x157f, 0x8738, 0xa784, | 829 | 0x601b, 0x0000, 0xace0, 0x0010, 0x0070, 0x28c0, 0x0078, 0x28af, |
825 | 0x001f, 0x00c0, 0x2871, 0x0078, 0x2482, 0x0078, 0x2482, 0x7780, | 830 | 0x8421, 0x00c0, 0x28ad, 0x157f, 0x709c, 0xa084, 0x8000, 0x0040, |
826 | 0x1078, 0x37ef, 0x6018, 0xa005, 0x0040, 0x28c5, 0x2021, 0x7500, | 831 | 0x28cb, 0x1078, 0x3ace, 0x7003, 0x0000, 0x704b, 0x0000, 0x0078, |
827 | 0x2009, 0x0005, 0x2011, 0x0020, 0x1078, 0x28ff, 0x0040, 0x28c5, | 832 | 0x24fa, 0x047e, 0x2404, 0xa005, 0x0040, 0x28e5, 0x2068, 0x6800, |
828 | 0x157e, 0x20a9, 0x0000, 0x2021, 0x7400, 0x047e, 0x2009, 0x0005, | 833 | 0x007e, 0x6a1a, 0x6817, 0x0000, 0x6820, 0xa085, 0x0008, 0x6822, |
829 | 0x2011, 0x0020, 0x1078, 0x28ff, 0x047f, 0x0040, 0x28c4, 0x8420, | 834 | 0x1078, 0x1cdc, 0x007f, 0x0078, 0x28d3, 0x047f, 0x2023, 0x0000, |
830 | 0x0070, 0x28c4, 0x0078, 0x28b5, 0x157f, 0x0078, 0x2482, 0x2200, | 835 | 0x007c, 0xa282, 0x0003, 0x0050, 0x28ef, 0x1078, 0x248c, 0x2300, |
831 | 0x0079, 0x28ca, 0x28cd, 0x28cf, 0x28cf, 0x1078, 0x23eb, 0x2009, | 836 | 0x0079, 0x28f2, 0x28f5, 0x2968, 0x2985, 0xa282, 0x0002, 0x0040, |
832 | 0x0012, 0x706c, 0xa086, 0x0002, 0x0040, 0x28d8, 0x2009, 0x000e, | 837 | 0x28fb, 0x1078, 0x248c, 0x706c, 0x706f, 0x0000, 0x7093, 0x0000, |
833 | 0x6818, 0xa084, 0x8000, 0x0040, 0x28de, 0x691a, 0x706f, 0x0000, | 838 | 0x0079, 0x2902, 0x290a, 0x290a, 0x290c, 0x2940, 0x34d7, 0x290a, |
834 | 0x7073, 0x0001, 0x0078, 0x3888, 0x2200, 0x0079, 0x28e7, 0x28ec, | 839 | 0x2940, 0x290a, 0x1078, 0x248c, 0x7780, 0x1078, 0x37b0, 0x7780, |
835 | 0x28cf, 0x28ea, 0x1078, 0x23eb, 0x1078, 0x4776, 0x7000, 0xa086, | 840 | 0xa7bc, 0x0f00, 0x1078, 0x38bd, 0x6018, 0xa005, 0x0040, 0x2937, |
836 | 0x0001, 0x00c0, 0x339d, 0x1078, 0x33ee, 0x6008, 0xa084, 0xffef, | 841 | 0x2021, 0x7600, 0x2009, 0x0004, 0x2011, 0x0010, 0x1078, 0x29a0, |
837 | 0x600a, 0x1078, 0x3390, 0x0040, 0x339d, 0x0078, 0x2594, 0x2404, | 842 | 0x0040, 0x2937, 0x157e, 0x20a9, 0x0000, 0x2021, 0x7500, 0x047e, |
838 | 0xa005, 0x0040, 0x2922, 0x2068, 0x2d04, 0x007e, 0x6814, 0xa706, | 843 | 0x2009, 0x0004, 0x2011, 0x0010, 0x1078, 0x29a0, 0x047f, 0x0040, |
839 | 0x0040, 0x290e, 0x2d20, 0x007f, 0x0078, 0x2900, 0x007f, 0x2022, | 844 | 0x2936, 0x8420, 0x0070, 0x2936, 0x0078, 0x2927, 0x157f, 0x8738, |
840 | 0x691a, 0x6817, 0x0000, 0x6820, 0xa205, 0x6822, 0x1078, 0x1c70, | 845 | 0xa784, 0x001f, 0x00c0, 0x2912, 0x0078, 0x2523, 0x0078, 0x2523, |
841 | 0x6010, 0x8001, 0x6012, 0x6008, 0xa084, 0xffef, 0x600a, 0x1078, | 846 | 0x7780, 0x1078, 0x38bd, 0x6018, 0xa005, 0x0040, 0x2966, 0x2021, |
842 | 0x33ee, 0x007c, 0xa085, 0x0001, 0x0078, 0x2921, 0x2300, 0x0079, | 847 | 0x7600, 0x2009, 0x0005, 0x2011, 0x0020, 0x1078, 0x29a0, 0x0040, |
843 | 0x2929, 0x292e, 0x292c, 0x29c7, 0x1078, 0x23eb, 0x78ec, 0xa084, | 848 | 0x2966, 0x157e, 0x20a9, 0x0000, 0x2021, 0x7500, 0x047e, 0x2009, |
844 | 0x0001, 0x00c0, 0x2942, 0x7000, 0xa086, 0x0004, 0x00c0, 0x293a, | 849 | 0x0005, 0x2011, 0x0020, 0x1078, 0x29a0, 0x047f, 0x0040, 0x2965, |
845 | 0x0078, 0x2965, 0x1078, 0x33ee, 0x6008, 0xa084, 0xffef, 0x600a, | 850 | 0x8420, 0x0070, 0x2965, 0x0078, 0x2956, 0x157f, 0x0078, 0x2523, |
846 | 0x0078, 0x339d, 0x78e4, 0xa005, 0x00d0, 0x2965, 0x0018, 0x2459, | 851 | 0x2200, 0x0079, 0x296b, 0x296e, 0x2970, 0x2970, 0x1078, 0x248c, |
847 | 0x2008, 0xa084, 0x0030, 0x00c0, 0x2951, 0x781b, 0x004f, 0x0078, | 852 | 0x2009, 0x0012, 0x706c, 0xa086, 0x0002, 0x0040, 0x2979, 0x2009, |
848 | 0x2459, 0x78ec, 0xa084, 0x0003, 0x0040, 0x294d, 0x2100, 0xa084, | 853 | 0x000e, 0x6818, 0xa084, 0x8000, 0x0040, 0x297f, 0x691a, 0x706f, |
849 | 0x0007, 0x0079, 0x295b, 0x299e, 0x29a9, 0x298f, 0x2963, 0x38ed, | 854 | 0x0000, 0x7073, 0x0001, 0x0078, 0x3956, 0x2200, 0x0079, 0x2988, |
850 | 0x38ed, 0x2963, 0x29b8, 0x1078, 0x23eb, 0x7000, 0xa086, 0x0004, | 855 | 0x298d, 0x2970, 0x298b, 0x1078, 0x248c, 0x1078, 0x4887, 0x7000, |
851 | 0x00c0, 0x297f, 0x706c, 0xa086, 0x0002, 0x00c0, 0x2975, 0x2011, | 856 | 0xa086, 0x0001, 0x00c0, 0x3467, 0x1078, 0x34b8, 0x6008, 0xa084, |
852 | 0x0002, 0x2019, 0x0000, 0x0078, 0x2848, 0x706c, 0xa086, 0x0006, | 857 | 0xffef, 0x600a, 0x1078, 0x345a, 0x0040, 0x3467, 0x0078, 0x2635, |
853 | 0x0040, 0x296f, 0x706c, 0xa086, 0x0004, 0x0040, 0x296f, 0x79e4, | 858 | 0x2404, 0xa005, 0x0040, 0x29c3, 0x2068, 0x2d04, 0x007e, 0x6814, |
854 | 0xa184, 0x0030, 0x0040, 0x2989, 0x78ec, 0xa084, 0x0003, 0x00c0, | 859 | 0xa706, 0x0040, 0x29af, 0x2d20, 0x007f, 0x0078, 0x29a1, 0x007f, |
855 | 0x298b, 0x0078, 0x2f6d, 0x2001, 0x0003, 0x0078, 0x2d01, 0x6818, | 860 | 0x2022, 0x691a, 0x6817, 0x0000, 0x6820, 0xa205, 0x6822, 0x1078, |
856 | 0xa084, 0x8000, 0x0040, 0x2996, 0x681b, 0x001d, 0x1078, 0x36c1, | 861 | 0x1cdc, 0x6010, 0x8001, 0x6012, 0x6008, 0xa084, 0xffef, 0x600a, |
857 | 0x782b, 0x3008, 0x781b, 0x0056, 0x0078, 0x2459, 0x6818, 0xa084, | 862 | 0x1078, 0x34b8, 0x007c, 0xa085, 0x0001, 0x0078, 0x29c2, 0x2300, |
858 | 0x8000, 0x0040, 0x29a5, 0x681b, 0x001d, 0x1078, 0x36c1, 0x0078, | 863 | 0x0079, 0x29ca, 0x29cf, 0x29cd, 0x2a68, 0x1078, 0x248c, 0x78ec, |
859 | 0x38b8, 0x6818, 0xa084, 0x8000, 0x0040, 0x29b0, 0x681b, 0x001d, | 864 | 0xa084, 0x0001, 0x00c0, 0x29e3, 0x7000, 0xa086, 0x0004, 0x00c0, |
860 | 0x1078, 0x36c1, 0x782b, 0x3008, 0x781b, 0x00cd, 0x0078, 0x2459, | 865 | 0x29db, 0x0078, 0x2a06, 0x1078, 0x34b8, 0x6008, 0xa084, 0xffef, |
861 | 0x6818, 0xa084, 0x8000, 0x0040, 0x29bf, 0x681b, 0x001d, 0x1078, | 866 | 0x600a, 0x0078, 0x3467, 0x78e4, 0xa005, 0x00d0, 0x2a06, 0x0018, |
862 | 0x36c1, 0x782b, 0x3008, 0x781b, 0x008e, 0x0078, 0x2459, 0xa584, | 867 | 0x24fa, 0x2008, 0xa084, 0x0030, 0x00c0, 0x29f2, 0x781b, 0x004f, |
863 | 0x000f, 0x00c0, 0x29e4, 0x7000, 0x0079, 0x29ce, 0x2482, 0x29d8, | 868 | 0x0078, 0x24fa, 0x78ec, 0xa084, 0x0003, 0x0040, 0x29ee, 0x2100, |
864 | 0x29d6, 0x339d, 0x339d, 0x339d, 0x339d, 0x29d6, 0x1078, 0x23eb, | 869 | 0xa084, 0x0007, 0x0079, 0x29fc, 0x2a3f, 0x2a4a, 0x2a30, 0x2a04, |
865 | 0x1078, 0x33ee, 0x6008, 0xa084, 0xffef, 0x600a, 0x1078, 0x3390, | 870 | 0x39bb, 0x39bb, 0x2a04, 0x2a59, 0x1078, 0x248c, 0x7000, 0xa086, |
866 | 0x0040, 0x339d, 0x0078, 0x2594, 0x78e4, 0xa005, 0x00d0, 0x2965, | 871 | 0x0004, 0x00c0, 0x2a20, 0x706c, 0xa086, 0x0002, 0x00c0, 0x2a16, |
867 | 0x0018, 0x2965, 0x2008, 0xa084, 0x0030, 0x00c0, 0x29f3, 0x781b, | 872 | 0x2011, 0x0002, 0x2019, 0x0000, 0x0078, 0x28e9, 0x706c, 0xa086, |
868 | 0x004f, 0x0078, 0x2459, 0x78ec, 0xa084, 0x0003, 0x0040, 0x29ef, | 873 | 0x0006, 0x0040, 0x2a10, 0x706c, 0xa086, 0x0004, 0x0040, 0x2a10, |
869 | 0x2100, 0xa184, 0x0007, 0x0079, 0x29fd, 0x2a0f, 0x2a13, 0x2a07, | 874 | 0x79e4, 0xa184, 0x0030, 0x0040, 0x2a2a, 0x78ec, 0xa084, 0x0003, |
870 | 0x2a05, 0x38ed, 0x38ed, 0x2a05, 0x38e3, 0x1078, 0x23eb, 0x1078, | 875 | 0x00c0, 0x2a2c, 0x0078, 0x300c, 0x2001, 0x0003, 0x0078, 0x2da0, |
871 | 0x36c9, 0x782b, 0x3008, 0x781b, 0x0056, 0x0078, 0x2459, 0x1078, | 876 | 0x6818, 0xa084, 0x8000, 0x0040, 0x2a37, 0x681b, 0x001d, 0x1078, |
872 | 0x36c9, 0x0078, 0x38b8, 0x1078, 0x36c9, 0x782b, 0x3008, 0x781b, | 877 | 0x378f, 0x782b, 0x3008, 0x781b, 0x0056, 0x0078, 0x24fa, 0x6818, |
873 | 0x00cd, 0x0078, 0x2459, 0x1078, 0x36c9, 0x782b, 0x3008, 0x781b, | 878 | 0xa084, 0x8000, 0x0040, 0x2a46, 0x681b, 0x001d, 0x1078, 0x378f, |
874 | 0x008e, 0x0078, 0x2459, 0x2300, 0x0079, 0x2a26, 0x2a2b, 0x2a29, | 879 | 0x0078, 0x3986, 0x6818, 0xa084, 0x8000, 0x0040, 0x2a51, 0x681b, |
875 | 0x2a2d, 0x1078, 0x23eb, 0x0078, 0x30ab, 0x681b, 0x0008, 0x78a3, | 880 | 0x001d, 0x1078, 0x378f, 0x782b, 0x3008, 0x781b, 0x00ca, 0x0078, |
876 | 0x0000, 0x79e4, 0xa184, 0x0030, 0x0040, 0x30ab, 0x78ec, 0xa084, | 881 | 0x24fa, 0x6818, 0xa084, 0x8000, 0x0040, 0x2a60, 0x681b, 0x001d, |
877 | 0x0003, 0x0040, 0x30ab, 0xa184, 0x0007, 0x0079, 0x2a3f, 0x2a47, | 882 | 0x1078, 0x378f, 0x782b, 0x3008, 0x781b, 0x008f, 0x0078, 0x24fa, |
878 | 0x2a13, 0x298f, 0x3888, 0x38ed, 0x38ed, 0x2a47, 0x38e3, 0x1078, | 883 | 0xa584, 0x000f, 0x00c0, 0x2a85, 0x7000, 0x0079, 0x2a6f, 0x2523, |
879 | 0x389c, 0x0078, 0x2459, 0xa282, 0x0005, 0x0050, 0x2a51, 0x1078, | 884 | 0x2a79, 0x2a77, 0x3467, 0x3467, 0x3467, 0x3467, 0x2a77, 0x1078, |
880 | 0x23eb, 0x2300, 0x0079, 0x2a54, 0x2a57, 0x2cae, 0x2cbc, 0x2200, | 885 | 0x248c, 0x1078, 0x34b8, 0x6008, 0xa084, 0xffef, 0x600a, 0x1078, |
881 | 0x0079, 0x2a5a, 0x2a74, 0x2a61, 0x2a74, 0x2a5f, 0x2c93, 0x1078, | 886 | 0x345a, 0x0040, 0x3467, 0x0078, 0x2635, 0x78e4, 0xa005, 0x00d0, |
882 | 0x23eb, 0x789b, 0x0018, 0x78a8, 0xa084, 0x00ff, 0xa082, 0x0020, | 887 | 0x2a06, 0x0018, 0x2a06, 0x2008, 0xa084, 0x0030, 0x00c0, 0x2a94, |
883 | 0x0048, 0x369d, 0xa08a, 0x0004, 0x00c8, 0x369d, 0x0079, 0x2a70, | 888 | 0x781b, 0x004f, 0x0078, 0x24fa, 0x78ec, 0xa084, 0x0003, 0x0040, |
884 | 0x369d, 0x369d, 0x369d, 0x364b, 0x789b, 0x0018, 0x79a8, 0xa184, | 889 | 0x2a90, 0x2100, 0xa184, 0x0007, 0x0079, 0x2a9e, 0x2ab0, 0x2ab4, |
885 | 0x0080, 0x0040, 0x2a85, 0x0078, 0x369d, 0x7000, 0xa005, 0x00c0, | 890 | 0x2aa8, 0x2aa6, 0x39bb, 0x39bb, 0x2aa6, 0x39b1, 0x1078, 0x248c, |
886 | 0x2a7b, 0x2011, 0x0004, 0x0078, 0x321f, 0xa184, 0x00ff, 0xa08a, | 891 | 0x1078, 0x3797, 0x782b, 0x3008, 0x781b, 0x0056, 0x0078, 0x24fa, |
887 | 0x0010, 0x00c8, 0x369d, 0x0079, 0x2a8d, 0x2a9f, 0x2a9d, 0x2ab7, | 892 | 0x1078, 0x3797, 0x0078, 0x3986, 0x1078, 0x3797, 0x782b, 0x3008, |
888 | 0x2abb, 0x2b78, 0x369d, 0x369d, 0x2b7a, 0x369d, 0x369d, 0x2c8f, | 893 | 0x781b, 0x00ca, 0x0078, 0x24fa, 0x1078, 0x3797, 0x782b, 0x3008, |
889 | 0x2c8f, 0x369d, 0x369d, 0x369d, 0x2c91, 0x1078, 0x23eb, 0xa684, | 894 | 0x781b, 0x008f, 0x0078, 0x24fa, 0x2300, 0x0079, 0x2ac7, 0x2acc, |
890 | 0x1000, 0x0040, 0x2aac, 0x2001, 0x0500, 0x8000, 0x8000, 0x783a, | 895 | 0x2aca, 0x2ace, 0x1078, 0x248c, 0x0078, 0x3180, 0x681b, 0x0008, |
891 | 0x781b, 0x008c, 0x0078, 0x2459, 0x6818, 0xa084, 0x8000, 0x0040, | 896 | 0x78a3, 0x0000, 0x79e4, 0xa184, 0x0030, 0x0040, 0x3180, 0x78ec, |
892 | 0x2ab5, 0x681b, 0x001d, 0x0078, 0x2aa3, 0x0078, 0x3888, 0x681b, | 897 | 0xa084, 0x0003, 0x0040, 0x3180, 0xa184, 0x0007, 0x0079, 0x2ae0, |
893 | 0x001d, 0x0078, 0x36ad, 0x6920, 0x6922, 0xa684, 0x1800, 0x00c0, | 898 | 0x2ae8, 0x2ab4, 0x2a30, 0x3956, 0x39bb, 0x39bb, 0x2ae8, 0x39b1, |
894 | 0x2afc, 0x6820, 0xa084, 0x0001, 0x00c0, 0x2b04, 0x6818, 0xa086, | 899 | 0x1078, 0x396a, 0x0078, 0x24fa, 0xa282, 0x0005, 0x0050, 0x2af2, |
895 | 0x0008, 0x00c0, 0x2acd, 0x681b, 0x0000, 0xa684, 0x0400, 0x0040, | 900 | 0x1078, 0x248c, 0x2300, 0x0079, 0x2af5, 0x2af8, 0x2d4d, 0x2d5b, |
896 | 0x2b74, 0xa684, 0x0080, 0x0040, 0x2af8, 0x7097, 0x0000, 0x6818, | 901 | 0x2200, 0x0079, 0x2afb, 0x2b15, 0x2b02, 0x2b15, 0x2b00, 0x2d32, |
897 | 0xa084, 0x003f, 0xa08a, 0x000d, 0x0050, 0x2af8, 0xa08a, 0x000c, | 902 | 0x1078, 0x248c, 0x789b, 0x0018, 0x78a8, 0xa084, 0x00ff, 0xa082, |
898 | 0x7196, 0x2001, 0x000c, 0x800c, 0x719a, 0x789b, 0x0061, 0x78aa, | 903 | 0x0020, 0x0048, 0x376b, 0xa08a, 0x0004, 0x00c8, 0x376b, 0x0079, |
904 | 0x2b11, 0x376b, 0x376b, 0x376b, 0x3719, 0x789b, 0x0018, 0x79a8, | ||
905 | 0xa184, 0x0080, 0x0040, 0x2b26, 0x0078, 0x376b, 0x7000, 0xa005, | ||
906 | 0x00c0, 0x2b1c, 0x2011, 0x0004, 0x0078, 0x32e9, 0xa184, 0x00ff, | ||
907 | 0xa08a, 0x0010, 0x00c8, 0x376b, 0x0079, 0x2b2e, 0x2b40, 0x2b3e, | ||
908 | 0x2b58, 0x2b5c, 0x2c17, 0x376b, 0x376b, 0x2c19, 0x376b, 0x376b, | ||
909 | 0x2d2e, 0x2d2e, 0x376b, 0x376b, 0x376b, 0x2d30, 0x1078, 0x248c, | ||
910 | 0xa684, 0x1000, 0x0040, 0x2b4d, 0x2001, 0x0500, 0x8000, 0x8000, | ||
911 | 0x783a, 0x781b, 0x008d, 0x0078, 0x24fa, 0x6818, 0xa084, 0x8000, | ||
912 | 0x0040, 0x2b56, 0x681b, 0x001d, 0x0078, 0x2b44, 0x0078, 0x3956, | ||
913 | 0x681b, 0x001d, 0x0078, 0x377b, 0x6920, 0x6922, 0xa684, 0x1800, | ||
914 | 0x00c0, 0x2b9d, 0x6820, 0xa084, 0x0001, 0x00c0, 0x2ba5, 0x6818, | ||
915 | 0xa086, 0x0008, 0x00c0, 0x2b6e, 0x681b, 0x0000, 0xa684, 0x0400, | ||
916 | 0x0040, 0x2c13, 0xa684, 0x0080, 0x0040, 0x2b99, 0x7097, 0x0000, | ||
917 | 0x6818, 0xa084, 0x003f, 0xa08a, 0x000d, 0x0050, 0x2b99, 0xa08a, | ||
918 | 0x000c, 0x7196, 0x2001, 0x000c, 0x800c, 0x719a, 0x789b, 0x0061, | ||
919 | 0x78aa, 0x157e, 0x137e, 0x147e, 0x20a1, 0x012b, 0x789b, 0x0000, | ||
920 | 0x8000, 0x80ac, 0xad80, 0x000b, 0x2098, 0x53a6, 0x147f, 0x137f, | ||
921 | 0x157f, 0x781b, 0x0058, 0x0078, 0x24fa, 0xa684, 0x1000, 0x0040, | ||
922 | 0x2ba5, 0x781b, 0x0065, 0x0078, 0x24fa, 0xa684, 0x0060, 0x0040, | ||
923 | 0x2c0f, 0xa684, 0x0800, 0x0040, 0x2c0f, 0xa684, 0x8000, 0x00c0, | ||
924 | 0x2bb3, 0x0078, 0x2bcb, 0xa6b4, 0x7fff, 0x7e5a, 0x6eb6, 0x7adc, | ||
925 | 0x79d8, 0x78d0, 0x801b, 0x00c8, 0x2bbe, 0x8000, 0xa084, 0x003f, | ||
926 | 0xa108, 0xa291, 0x0000, 0x6b98, 0x2100, 0xa302, 0x68b2, 0x6b94, | ||
927 | 0x2200, 0xa303, 0x68ae, 0xa684, 0x4000, 0x0040, 0x2bd3, 0xa6b4, | ||
928 | 0xbfff, 0x7e5a, 0x6eb6, 0x7000, 0xa086, 0x0003, 0x00c0, 0x2be0, | ||
929 | 0x1078, 0x493d, 0x1078, 0x4b3a, 0x781b, 0x0064, 0x0078, 0x24fa, | ||
930 | 0xa006, 0x1078, 0x4c41, 0x6ab0, 0x69ac, 0x6c98, 0x6b94, 0x2200, | ||
931 | 0xa105, 0x0040, 0x2bef, 0x2200, 0xa422, 0x2100, 0xa31b, 0x6caa, | ||
932 | 0x7cd2, 0x7cda, 0x6ba6, 0x7bd6, 0x7bde, 0x2300, 0xa405, 0x00c0, | ||
933 | 0x2c01, 0xa6b5, 0x4000, 0x7e5a, 0x6eb6, 0x781b, 0x0064, 0x0078, | ||
934 | 0x24fa, 0x781b, 0x0064, 0x2200, 0xa115, 0x00c0, 0x2c0b, 0x1078, | ||
935 | 0x4b4b, 0x0078, 0x24fa, 0x1078, 0x4b96, 0x0078, 0x24fa, 0x781b, | ||
936 | 0x0065, 0x0078, 0x24fa, 0x781b, 0x0058, 0x0078, 0x24fa, 0x1078, | ||
937 | 0x248c, 0x0078, 0x2c7a, 0x6920, 0xa184, 0x0100, 0x0040, 0x2c31, | ||
938 | 0xa18c, 0xfeff, 0x6922, 0x0c7e, 0x7054, 0x2060, 0x6000, 0xa084, | ||
939 | 0xefff, 0x6002, 0x6004, 0xa084, 0xfff5, 0x6006, 0x0c7f, 0x0078, | ||
940 | 0x2c69, 0xa184, 0x0200, 0x0040, 0x2c69, 0xa18c, 0xfdff, 0x6922, | ||
941 | 0x0c7e, 0x7054, 0x2060, 0x6000, 0xa084, 0xdfff, 0x6002, 0x6004, | ||
942 | 0xa084, 0xffef, 0x6006, 0x2008, 0x2c48, 0x0c7f, 0xa184, 0x0008, | ||
943 | 0x0040, 0x2c69, 0x1078, 0x38b9, 0x1078, 0x35bb, 0x88ff, 0x0040, | ||
944 | 0x2c69, 0x789b, 0x0060, 0x2800, 0x78aa, 0x7e58, 0xa6b5, 0x0004, | ||
945 | 0x7e5a, 0xa684, 0x0400, 0x00c0, 0x2c63, 0x782b, 0x3008, 0x781b, | ||
946 | 0x0056, 0x0078, 0x24fa, 0x782b, 0x3008, 0x781b, 0x0065, 0x0078, | ||
947 | 0x24fa, 0x7e58, 0xa684, 0x0400, 0x00c0, 0x2c72, 0x781b, 0x0058, | ||
948 | 0x0078, 0x24fa, 0x781b, 0x0065, 0x0078, 0x24fa, 0x0078, 0x3773, | ||
949 | 0x0078, 0x3773, 0x2019, 0x0000, 0x7990, 0xa18c, 0x0007, 0x00c0, | ||
950 | 0x2c88, 0x6820, 0xa084, 0x0100, 0x0040, 0x2c78, 0x2009, 0x0008, | ||
951 | 0x789b, 0x0010, 0x78a8, 0xa094, 0x00ff, 0xa286, 0x0001, 0x00c0, | ||
952 | 0x2cbf, 0x2300, 0x7ca8, 0xa400, 0x2018, 0xa102, 0x0040, 0x2cb7, | ||
953 | 0x0048, 0x2c9c, 0x0078, 0x2cb9, 0xa380, 0x0002, 0xa102, 0x00c8, | ||
954 | 0x2cb7, 0x6920, 0xa18c, 0xfcff, 0x6922, 0x0c7e, 0x7054, 0x2060, | ||
955 | 0x6000, 0xa084, 0xefef, 0x6002, 0x6004, 0xa084, 0xffe5, 0x6006, | ||
956 | 0x0c7f, 0x7e58, 0xa6b4, 0xfffb, 0x7e5a, 0x0078, 0x2c6a, 0x0078, | ||
957 | 0x2c1b, 0x24a8, 0x7aa8, 0x00f0, 0x2cb9, 0x0078, 0x2c8a, 0xa284, | ||
958 | 0x00f0, 0xa086, 0x0020, 0x00c0, 0x2d1f, 0x8318, 0x8318, 0x2300, | ||
959 | 0xa102, 0x0040, 0x2ccf, 0x0048, 0x2ccf, 0x0078, 0x2d1c, 0xa286, | ||
960 | 0x0023, 0x0040, 0x2c78, 0x681c, 0xa084, 0xfff1, 0x681e, 0x7e58, | ||
961 | 0xa684, 0xfff1, 0xa085, 0x0010, 0x2030, 0x7e5a, 0x6008, 0xa085, | ||
962 | 0x0010, 0x600a, 0x0c7e, 0x7054, 0x2060, 0x6004, 0x2008, 0x2c48, | ||
963 | 0x0c7f, 0xa184, 0x0010, 0x0040, 0x2cf3, 0x1078, 0x38b9, 0x1078, | ||
964 | 0x36d0, 0x0078, 0x2d02, 0x0c7e, 0x7054, 0x2060, 0x6004, 0x2008, | ||
965 | 0x2c48, 0x0c7f, 0xa184, 0x0008, 0x0040, 0x2c69, 0x1078, 0x38b9, | ||
966 | 0x1078, 0x35bb, 0x88ff, 0x0040, 0x2c69, 0x789b, 0x0060, 0x2800, | ||
967 | 0x78aa, 0xa6b5, 0x0004, 0x7e5a, 0xa684, 0x0400, 0x00c0, 0x2d16, | ||
968 | 0x782b, 0x3008, 0x781b, 0x0056, 0x0078, 0x24fa, 0x782b, 0x3008, | ||
969 | 0x781b, 0x0065, 0x0078, 0x24fa, 0x7aa8, 0x0078, 0x2c8a, 0x8318, | ||
970 | 0x2300, 0xa102, 0x0040, 0x2d28, 0x0048, 0x2d28, 0x0078, 0x2c8a, | ||
971 | 0xa284, 0x0080, 0x00c0, 0x377b, 0x0078, 0x3773, 0x0078, 0x377b, | ||
972 | 0x0078, 0x376b, 0x789b, 0x0018, 0x78a8, 0xa084, 0x00ff, 0xa08e, | ||
973 | 0x0001, 0x0040, 0x2d3d, 0x1078, 0x248c, 0x7aa8, 0xa294, 0x00ff, | ||
974 | 0x78a8, 0xa084, 0x00ff, 0xa08a, 0x0004, 0x00c8, 0x376b, 0x0079, | ||
975 | 0x2d49, 0x376b, 0x3508, 0x376b, 0x3665, 0xa282, 0x0000, 0x00c0, | ||
976 | 0x2d53, 0x1078, 0x248c, 0x1078, 0x378f, 0x782b, 0x3008, 0x781b, | ||
977 | 0x0065, 0x0078, 0x24fa, 0xa282, 0x0003, 0x00c0, 0x2d61, 0x1078, | ||
978 | 0x248c, 0xa484, 0x8000, 0x00c0, 0x2d84, 0x706c, 0xa005, 0x0040, | ||
979 | 0x2d6b, 0x1078, 0x248c, 0x6f14, 0x7782, 0xa7bc, 0x0f00, 0x1078, | ||
980 | 0x38bd, 0x6008, 0xa085, 0x0021, 0x600a, 0x8738, 0xa784, 0x001f, | ||
981 | 0x00c0, 0x2d6f, 0x1078, 0x3793, 0x706f, 0x0002, 0x2009, 0x5238, | ||
982 | 0x200b, 0x0009, 0x0078, 0x2d86, 0x1078, 0x379f, 0x782b, 0x3008, | ||
983 | 0x781b, 0x0065, 0x0078, 0x24fa, 0xa282, 0x0004, 0x0050, 0x2d92, | ||
984 | 0x1078, 0x248c, 0x2300, 0x0079, 0x2d95, 0x2d98, 0x2e81, 0x2eb4, | ||
985 | 0xa286, 0x0003, 0x0040, 0x2d9e, 0x1078, 0x248c, 0x2001, 0x0000, | ||
986 | 0x007e, 0x68c0, 0xa005, 0x0040, 0x2da7, 0x7003, 0x0003, 0x68a0, | ||
987 | 0xa084, 0x2000, 0x0040, 0x2db0, 0x6008, 0xa085, 0x0002, 0x600a, | ||
988 | 0x007f, 0x703e, 0x7000, 0xa084, 0x0007, 0x0079, 0x2db7, 0x2523, | ||
989 | 0x2dc1, 0x2dc1, 0x2fb6, 0x2ff2, 0x2523, 0x2ff2, 0x2dbf, 0x1078, | ||
990 | 0x248c, 0xa684, 0x1000, 0x00c0, 0x2dc9, 0x1078, 0x4887, 0x0040, | ||
991 | 0x2e5b, 0x7868, 0xa08c, 0x00ff, 0x0040, 0x2e11, 0xa186, 0x0008, | ||
992 | 0x00c0, 0x2de0, 0x1078, 0x34b8, 0x6008, 0xa084, 0xffef, 0x600a, | ||
993 | 0x1078, 0x345a, 0x0040, 0x2e11, 0x1078, 0x4887, 0x0078, 0x2df8, | ||
994 | 0xa186, 0x0028, 0x00c0, 0x2e11, 0x1078, 0x4887, 0x6008, 0xa084, | ||
995 | 0xffef, 0x600a, 0x6018, 0xa005, 0x0040, 0x2df8, 0x8001, 0x601a, | ||
996 | 0xa005, 0x0040, 0x2df8, 0x8001, 0xa005, 0x0040, 0x2df8, 0x601e, | ||
997 | 0x6820, 0xa084, 0x0001, 0x0040, 0x2523, 0x6820, 0xa084, 0xfffe, | ||
998 | 0x6822, 0x7060, 0x0c7e, 0x2060, 0x6800, 0x6002, 0x0c7f, 0x6004, | ||
999 | 0x6802, 0xa005, 0x2d00, 0x00c0, 0x2e0e, 0x6002, 0x6006, 0x0078, | ||
1000 | 0x2523, 0x017e, 0x1078, 0x2ee5, 0x017f, 0xa684, 0xdf00, 0x681e, | ||
1001 | 0x682b, 0x0000, 0x6f14, 0x81ff, 0x0040, 0x2e5b, 0xa186, 0x0002, | ||
1002 | 0x00c0, 0x2e5b, 0xa684, 0x0800, 0x00c0, 0x2e2e, 0xa684, 0x0060, | ||
1003 | 0x0040, 0x2e2e, 0x78d8, 0x7adc, 0x682e, 0x6a32, 0x6820, 0xa084, | ||
1004 | 0x0800, 0x00c0, 0x2e5b, 0x8717, 0xa294, 0x000f, 0x8213, 0x8213, | ||
1005 | 0x8213, 0xa290, 0x5480, 0xa290, 0x0000, 0x221c, 0xa384, 0x0100, | ||
1006 | 0x00c0, 0x2e44, 0x0078, 0x2e4a, 0x8210, 0x2204, 0xa085, 0x0018, | ||
1007 | 0x2012, 0x8211, 0xa384, 0x0400, 0x0040, 0x2e57, 0x68a0, 0xa084, | ||
1008 | 0x0100, 0x00c0, 0x2e57, 0x1078, 0x2f69, 0x0078, 0x2523, 0x6008, | ||
1009 | 0xa085, 0x0002, 0x600a, 0x6916, 0x6818, 0xa084, 0x8000, 0x0040, | ||
1010 | 0x2e63, 0x703c, 0x681a, 0xa68c, 0xdf00, 0x691e, 0x1078, 0x34a9, | ||
1011 | 0x1078, 0x34b8, 0x00c0, 0x2e70, 0x6008, 0xa084, 0xffef, 0x600a, | ||
1012 | 0x6820, 0xa084, 0x0001, 0x00c0, 0x2e79, 0x1078, 0x34a2, 0x0078, | ||
1013 | 0x2e7d, 0x7060, 0x2060, 0x6800, 0x6002, 0x1078, 0x1cdc, 0x0078, | ||
1014 | 0x2523, 0xa282, 0x0004, 0x0048, 0x2e87, 0x1078, 0x248c, 0x2200, | ||
1015 | 0x0079, 0x2e8a, 0x2e85, 0x2e8e, 0x2e9b, 0x2e8e, 0x7000, 0xa086, | ||
1016 | 0x0005, 0x0040, 0x2e97, 0x1078, 0x378f, 0x782b, 0x3008, 0x781b, | ||
1017 | 0x0065, 0x0078, 0x24fa, 0x7890, 0x8007, 0x8001, 0xa084, 0x0007, | ||
1018 | 0xa080, 0x0018, 0x789a, 0x79a8, 0xa18c, 0x00ff, 0xa186, 0x0003, | ||
1019 | 0x0040, 0x2eb0, 0xa186, 0x0000, 0x0040, 0x2eb0, 0x0078, 0x376b, | ||
1020 | 0x781b, 0x0065, 0x0078, 0x24fa, 0x6820, 0xa085, 0x0004, 0x6822, | ||
1021 | 0x82ff, 0x00c0, 0x2ebf, 0x1078, 0x378f, 0x0078, 0x2ec6, 0x8211, | ||
1022 | 0x0040, 0x2ec4, 0x1078, 0x248c, 0x1078, 0x379f, 0x782b, 0x3008, | ||
1023 | 0x781b, 0x0065, 0x0078, 0x24fa, 0x702c, 0x8003, 0x0048, 0x2ed6, | ||
1024 | 0x2019, 0x4eaf, 0x1078, 0x2313, 0x702f, 0x8000, 0x1078, 0x39e0, | ||
1025 | 0x7830, 0xa084, 0x00c0, 0x00c0, 0x2ee2, 0x0018, 0x2ee2, 0x791a, | ||
1026 | 0xa006, 0x007c, 0xa085, 0x0001, 0x007c, 0xa684, 0x0060, 0x00c0, | ||
1027 | 0x2eef, 0x682f, 0x0000, 0x6833, 0x0000, 0x0078, 0x2f68, 0xa684, | ||
1028 | 0x0800, 0x00c0, 0x2f11, 0x68b4, 0xa084, 0x4800, 0xa635, 0xa684, | ||
1029 | 0x0800, 0x00c0, 0x2f11, 0x6998, 0x6a94, 0x692e, 0x6a32, 0x703c, | ||
1030 | 0xa005, 0x00c0, 0x2f09, 0x2200, 0xa105, 0x0040, 0x2f10, 0x703f, | ||
1031 | 0x0015, 0x7000, 0xa086, 0x0006, 0x0040, 0x2f10, 0x1078, 0x4887, | ||
1032 | 0x007c, 0xa684, 0x0020, 0x0040, 0x2f33, 0xa684, 0x4000, 0x0040, | ||
1033 | 0x2f1f, 0x682f, 0x0000, 0x6833, 0x0000, 0x0078, 0x2f09, 0x68b4, | ||
1034 | 0xa084, 0x4800, 0xa635, 0xa684, 0x4000, 0x00c0, 0x2f19, 0x703c, | ||
1035 | 0xa005, 0x00c0, 0x2f2d, 0x703f, 0x0015, 0x79d8, 0x7adc, 0x692e, | ||
1036 | 0x6a32, 0x0078, 0x2f09, 0xa684, 0x4000, 0x0040, 0x2f3d, 0x682f, | ||
1037 | 0x0000, 0x6833, 0x0000, 0x0078, 0x2f09, 0x68b4, 0xa084, 0x4800, | ||
1038 | 0xa635, 0xa684, 0x4000, 0x00c0, 0x2f37, 0x703c, 0xa005, 0x00c0, | ||
1039 | 0x2f4b, 0x703f, 0x0015, 0x79d8, 0x7adc, 0x78d0, 0x80fb, 0x00c8, | ||
1040 | 0x2f52, 0x8000, 0xa084, 0x003f, 0xa108, 0xa291, 0x0000, 0x692e, | ||
1041 | 0x6a32, 0x2100, 0xa205, 0x00c0, 0x2f5f, 0x0078, 0x2f09, 0x7000, | ||
1042 | 0xa086, 0x0006, 0x0040, 0x2f68, 0x1078, 0x4c41, 0x0078, 0x2f09, | ||
1043 | 0x007c, 0x6008, 0xa085, 0x0200, 0x600a, 0xa384, 0x0200, 0x0040, | ||
1044 | 0x2f75, 0x6008, 0xa085, 0x0002, 0x600a, 0x681b, 0x0006, 0x688f, | ||
1045 | 0x0000, 0x6893, 0x0000, 0x6a30, 0x692c, 0x6a3e, 0x6942, 0x682f, | ||
1046 | 0x0003, 0x6833, 0x0000, 0x6837, 0x0020, 0x6897, 0x0000, 0x689b, | ||
1047 | 0x0020, 0x68b3, 0x0000, 0x68af, 0x0000, 0x7000, 0x0079, 0x2f90, | ||
1048 | 0x2523, 0x2f9a, 0x2fa3, 0x2f98, 0x2f98, 0x2f98, 0x2f98, 0x2f98, | ||
1049 | 0x1078, 0x248c, 0x6820, 0xa084, 0x0001, 0x00c0, 0x2fa3, 0x1078, | ||
1050 | 0x34a2, 0x0078, 0x2fa9, 0x7060, 0x2c50, 0x2060, 0x6800, 0x6002, | ||
1051 | 0x2a60, 0x2021, 0x525a, 0x2404, 0xa005, 0x0040, 0x2fb2, 0x2020, | ||
1052 | 0x0078, 0x2fab, 0x2d22, 0x206b, 0x0000, 0x007c, 0x1078, 0x34a9, | ||
1053 | 0x1078, 0x34b8, 0x6008, 0xa084, 0xfdff, 0x600a, 0x682b, 0x0000, | ||
1054 | 0x789b, 0x000e, 0x6f14, 0x6817, 0x0002, 0x1078, 0x4c89, 0xa684, | ||
1055 | 0x0800, 0x0040, 0x2fcf, 0x691c, 0xa18d, 0x2000, 0x691e, 0x6818, | ||
1056 | 0xa084, 0x8000, 0x0040, 0x2fdf, 0x7868, 0xa08c, 0x00ff, 0x0040, | ||
1057 | 0x2fdd, 0x681b, 0x001e, 0x0078, 0x2fdf, 0x681b, 0x0000, 0x2021, | ||
1058 | 0x525a, 0x2404, 0xad06, 0x0040, 0x2fe6, 0x7460, 0x6800, 0x2022, | ||
1059 | 0x68c3, 0x0000, 0x6a3c, 0x6940, 0x6a32, 0x692e, 0x1078, 0x1cdc, | ||
1060 | 0x0078, 0x2523, 0x1078, 0x2ee5, 0x682b, 0x0000, 0x2001, 0x000e, | ||
1061 | 0x6f14, 0x1078, 0x39e6, 0xa08c, 0x00ff, 0x6916, 0x6818, 0xa084, | ||
1062 | 0x8000, 0x0040, 0x3005, 0x703c, 0x681a, 0xa68c, 0xdf00, 0x691e, | ||
1063 | 0x706f, 0x0000, 0x0078, 0x2523, 0x7000, 0xa005, 0x00c0, 0x3012, | ||
1064 | 0x0078, 0x2523, 0xa006, 0x1078, 0x4887, 0x6817, 0x0000, 0x681b, | ||
1065 | 0x0014, 0xa68c, 0xdf00, 0x691e, 0x682b, 0x0000, 0x6820, 0xa085, | ||
1066 | 0x00ff, 0x6822, 0x7000, 0x0079, 0x3025, 0x2523, 0x302f, 0x302f, | ||
1067 | 0x3031, 0x3031, 0x3031, 0x3031, 0x302d, 0x1078, 0x248c, 0x1078, | ||
1068 | 0x34b8, 0x6008, 0xa084, 0xffef, 0x600a, 0x0078, 0x3472, 0x2300, | ||
1069 | 0x0079, 0x303a, 0x303d, 0x303f, 0x3098, 0x1078, 0x248c, 0xa684, | ||
1070 | 0x8000, 0x00c0, 0x307d, 0x7000, 0x0079, 0x3046, 0x2523, 0x3050, | ||
1071 | 0x3050, 0x306c, 0x3050, 0x3079, 0x306c, 0x304e, 0x1078, 0x248c, | ||
1072 | 0xa684, 0x0060, 0xa086, 0x0060, 0x00c0, 0x3068, 0xa6b4, 0xffdf, | ||
1073 | 0xa6b4, 0xbfff, 0xa6b5, 0x2000, 0x7e5a, 0x6eb6, 0x681c, 0xa084, | ||
1074 | 0xffdf, 0x681e, 0x1078, 0x4887, 0x1078, 0x4b4b, 0x0078, 0x3956, | ||
1075 | 0xa684, 0x2000, 0x0040, 0x305a, 0x6818, 0xa084, 0x8000, 0x0040, | ||
1076 | 0x3079, 0x681b, 0x0015, 0xa684, 0x4000, 0x0040, 0x3079, 0x681b, | ||
1077 | 0x0007, 0x1078, 0x396a, 0x0078, 0x24fa, 0xa6b4, 0x7fff, 0x7e5a, | ||
1078 | 0x7adc, 0x79d8, 0x78d0, 0x79d2, 0x801b, 0x00c8, 0x3088, 0x8000, | ||
1079 | 0xa084, 0x003f, 0xa108, 0xa291, 0x0000, 0x6b98, 0x2100, 0xa302, | ||
1080 | 0x68b2, 0x6b94, 0x2200, 0xa303, 0x68ae, 0x781b, 0x0065, 0x007c, | ||
1081 | 0x1078, 0x248c, 0x2300, 0x0079, 0x309d, 0x30a0, 0x30a2, 0x30eb, | ||
1082 | 0x1078, 0x248c, 0xa684, 0x8000, 0x00c0, 0x30da, 0x7000, 0x0079, | ||
1083 | 0x30a9, 0x2523, 0x30b3, 0x30b3, 0x30cf, 0x30b3, 0x30d6, 0x30cf, | ||
1084 | 0x30b1, 0x1078, 0x248c, 0xa684, 0x0060, 0xa086, 0x0060, 0x00c0, | ||
1085 | 0x30cb, 0xa6b4, 0xffbf, 0xa6b4, 0xbfff, 0xa6b5, 0x2000, 0x7e5a, | ||
1086 | 0x6eb6, 0x681c, 0xa084, 0xffbf, 0x681e, 0x1078, 0x4887, 0x1078, | ||
1087 | 0x4b4b, 0x0078, 0x3956, 0xa684, 0x2000, 0x0040, 0x30bd, 0x6818, | ||
1088 | 0xa084, 0x8000, 0x0040, 0x30d6, 0x681b, 0x0007, 0x781b, 0x00ca, | ||
1089 | 0x0078, 0x24fa, 0xa6b4, 0x7fff, 0x7e5a, 0x7adc, 0x79d8, 0x6b98, | ||
1090 | 0x2100, 0xa302, 0x68b2, 0x6b94, 0x2200, 0xa303, 0x68ae, 0x79d2, | ||
1091 | 0x781b, 0x0065, 0x007c, 0x6820, 0xa085, 0x0004, 0x6822, 0x1078, | ||
1092 | 0x3921, 0xa6b5, 0x0800, 0x1078, 0x378f, 0x782b, 0x3008, 0x781b, | ||
1093 | 0x0065, 0x0078, 0x24fa, 0x2300, 0x0079, 0x30fe, 0x3101, 0x3103, | ||
1094 | 0x3105, 0x1078, 0x248c, 0x0078, 0x377b, 0xa684, 0x0400, 0x00c0, | ||
1095 | 0x312e, 0x79e4, 0xa184, 0x0020, 0x0040, 0x3115, 0x78ec, 0xa084, | ||
1096 | 0x0003, 0x0040, 0x3115, 0x782b, 0x3009, 0x789b, 0x0060, 0x78ab, | ||
1097 | 0x0000, 0xa684, 0xfffb, 0x785a, 0x79e4, 0xa184, 0x0020, 0x0040, | ||
1098 | 0x3126, 0x78ec, 0xa084, 0x0003, 0x00c0, 0x312a, 0x2001, 0x0014, | ||
1099 | 0x0078, 0x2da0, 0xa184, 0x0007, 0x0079, 0x3166, 0x7a90, 0xa294, | ||
1100 | 0x0007, 0x789b, 0x0060, 0x79a8, 0x81ff, 0x0040, 0x3164, 0x789b, | ||
1101 | 0x0010, 0x7ba8, 0xa384, 0x0001, 0x00c0, 0x3155, 0x7ba8, 0x7ba8, | ||
1102 | 0xa386, 0x0001, 0x00c0, 0x3148, 0x2009, 0xfff7, 0x0078, 0x314e, | ||
1103 | 0xa386, 0x0003, 0x00c0, 0x3155, 0x2009, 0xffef, 0x0c7e, 0x7054, | ||
1104 | 0x2060, 0x6004, 0xa104, 0x6006, 0x0c7f, 0x789b, 0x0060, 0x78ab, | ||
1105 | 0x0000, 0xa684, 0xfffb, 0x785a, 0x782b, 0x3009, 0x6920, 0xa18c, | ||
1106 | 0xfdff, 0xa18c, 0xfeff, 0x6922, 0x0078, 0x3956, 0x2a3f, 0x2a4a, | ||
1107 | 0x3170, 0x3178, 0x316e, 0x316e, 0x3956, 0x3956, 0x1078, 0x248c, | ||
1108 | 0x6920, 0xa18c, 0xfdff, 0xa18c, 0xfeff, 0x6922, 0x0078, 0x3960, | ||
1109 | 0x6920, 0xa18c, 0xfdff, 0xa18c, 0xfeff, 0x6922, 0x0078, 0x3956, | ||
1110 | 0x79e4, 0xa184, 0x0030, 0x0040, 0x318a, 0x78ec, 0xa084, 0x0003, | ||
1111 | 0x00c0, 0x31b1, 0x7000, 0xa086, 0x0004, 0x00c0, 0x31a4, 0x706c, | ||
1112 | 0xa086, 0x0002, 0x00c0, 0x319a, 0x2011, 0x0002, 0x2019, 0x0000, | ||
1113 | 0x0078, 0x28e9, 0x706c, 0xa086, 0x0006, 0x0040, 0x3194, 0x706c, | ||
1114 | 0xa086, 0x0004, 0x0040, 0x3194, 0x7000, 0xa086, 0x0000, 0x0040, | ||
1115 | 0x24fa, 0x6818, 0xa085, 0x8000, 0x681a, 0x2001, 0x0014, 0x0078, | ||
1116 | 0x2da0, 0xa184, 0x0007, 0x0079, 0x31b5, 0x3956, 0x3956, 0x31bd, | ||
1117 | 0x3956, 0x39bb, 0x39bb, 0x3956, 0x3956, 0xa684, 0x0080, 0x0040, | ||
1118 | 0x31ec, 0x7194, 0x81ff, 0x0040, 0x31ec, 0xa182, 0x000d, 0x00d0, | ||
1119 | 0x31cd, 0x7097, 0x0000, 0x0078, 0x31d2, 0xa182, 0x000c, 0x7096, | ||
1120 | 0x2009, 0x000c, 0x789b, 0x0061, 0x79aa, 0x157e, 0x137e, 0x147e, | ||
1121 | 0x7098, 0x8114, 0xa210, 0x729a, 0xa080, 0x000b, 0xad00, 0x2098, | ||
1122 | 0x20a1, 0x012b, 0x789b, 0x0000, 0x8108, 0x81ac, 0x53a6, 0x147f, | ||
1123 | 0x137f, 0x157f, 0x0078, 0x3960, 0xa684, 0x0400, 0x00c0, 0x322d, | ||
1124 | 0x6820, 0xa084, 0x0001, 0x0040, 0x3960, 0xa68c, 0x0060, 0xa684, | ||
1125 | 0x0060, 0x0040, 0x3201, 0xa086, 0x0060, 0x00c0, 0x3201, 0xa18d, | ||
1126 | 0x4000, 0xa18c, 0xfffb, 0x795a, 0x69b6, 0x789b, 0x0060, 0x78ab, | ||
1127 | 0x0000, 0x789b, 0x0061, 0x6818, 0xa085, 0x8000, 0x681a, 0x78aa, | ||
1128 | 0x8008, 0x810c, 0x0040, 0x34d1, 0xa18c, 0x00f8, 0x00c0, 0x34d1, | ||
899 | 0x157e, 0x137e, 0x147e, 0x20a1, 0x012b, 0x789b, 0x0000, 0x8000, | 1129 | 0x157e, 0x137e, 0x147e, 0x20a1, 0x012b, 0x789b, 0x0000, 0x8000, |
900 | 0x80ac, 0xad80, 0x000b, 0x2098, 0x53a6, 0x147f, 0x137f, 0x157f, | 1130 | 0x80ac, 0xad80, 0x000b, 0x2098, 0x53a6, 0x147f, 0x137f, 0x157f, |
901 | 0x781b, 0x0058, 0x0078, 0x2459, 0xa684, 0x1000, 0x0040, 0x2b04, | 1131 | 0x6814, 0x8007, 0x7882, 0x0078, 0x3960, 0x6818, 0xa084, 0x8000, |
902 | 0x781b, 0x0065, 0x0078, 0x2459, 0xa684, 0x0060, 0x0040, 0x2b70, | 1132 | 0x0040, 0x3234, 0x681b, 0x0008, 0x781b, 0x00c0, 0x0078, 0x24fa, |
903 | 0xa684, 0x0800, 0x0040, 0x2b70, 0xa684, 0x8000, 0x00c0, 0x2b12, | 1133 | 0x2300, 0x0079, 0x323b, 0x3240, 0x32d4, 0x323e, 0x1078, 0x248c, |
904 | 0x0078, 0x2b2c, 0xa6b4, 0x7fff, 0x7e5a, 0x6eb6, 0x789b, 0x0076, | 1134 | 0x7000, 0xa084, 0x0007, 0x0079, 0x3245, 0x2523, 0x324f, 0x3284, |
905 | 0x7aac, 0x79ac, 0x78ac, 0x801b, 0x00c8, 0x2b1f, 0x8000, 0xa084, | 1135 | 0x325a, 0x324d, 0x2523, 0x324d, 0x324d, 0x1078, 0x248c, 0x681c, |
906 | 0x003f, 0xa108, 0xa291, 0x0000, 0x6b98, 0x2100, 0xa302, 0x68b2, | 1136 | 0xa084, 0x2000, 0x0040, 0x3268, 0x6008, 0xa085, 0x0002, 0x600a, |
907 | 0x6b94, 0x2200, 0xa303, 0x68ae, 0xa684, 0x4000, 0x0040, 0x2b34, | 1137 | 0x0078, 0x3268, 0x68c0, 0xa005, 0x00c0, 0x3284, 0x6920, 0xa18d, |
908 | 0xa6b4, 0xbfff, 0x7e5a, 0x6eb6, 0x7000, 0xa086, 0x0003, 0x00c0, | 1138 | 0x0001, 0x6922, 0x68c3, 0x0001, 0x6800, 0x706a, 0x0078, 0x327e, |
909 | 0x2b41, 0x1078, 0x482c, 0x1078, 0x4a29, 0x781b, 0x0064, 0x0078, | 1139 | 0x6920, 0xa18d, 0x0001, 0x6922, 0x6800, 0x6006, 0xa005, 0x00c0, |
910 | 0x2459, 0xa006, 0x1078, 0x4b30, 0x6ab0, 0x69ac, 0x6c98, 0x6b94, | 1140 | 0x3272, 0x6002, 0x681c, 0xa084, 0x000e, 0x0040, 0x327e, 0x7014, |
911 | 0x2200, 0xa105, 0x0040, 0x2b50, 0x2200, 0xa422, 0x2100, 0xa31b, | 1141 | 0x68ba, 0x7130, 0xa188, 0x7500, 0x0078, 0x3280, 0x2009, 0x7600, |
912 | 0x6caa, 0x7cd2, 0x7cda, 0x6ba6, 0x7bd6, 0x7bde, 0x2300, 0xa405, | 1142 | 0x2104, 0x6802, 0x2d0a, 0x7162, 0x6eb6, 0xa684, 0x0060, 0x0040, |
913 | 0x00c0, 0x2b62, 0xa6b5, 0x4000, 0x7e5a, 0x6eb6, 0x781b, 0x0064, | 1143 | 0x32d2, 0xa684, 0x0800, 0x00c0, 0x3298, 0xa684, 0x7fff, 0x68b6, |
914 | 0x0078, 0x2459, 0x781b, 0x0064, 0x2200, 0xa115, 0x00c0, 0x2b6c, | 1144 | 0x6894, 0x68a6, 0x6898, 0x68aa, 0x1078, 0x4887, 0x0078, 0x32d2, |
915 | 0x1078, 0x4a3a, 0x0078, 0x2459, 0x1078, 0x4a85, 0x0078, 0x2459, | 1145 | 0xa684, 0x0020, 0x0040, 0x32ad, 0x68c0, 0xa005, 0x0040, 0x32a4, |
916 | 0x781b, 0x0065, 0x0078, 0x2459, 0x781b, 0x0058, 0x0078, 0x2459, | 1146 | 0x1078, 0x4c89, 0x0078, 0x32a7, 0xa006, 0x1078, 0x4c41, 0x79d8, |
917 | 0x1078, 0x23eb, 0x0078, 0x2bdb, 0x6920, 0xa184, 0x0100, 0x0040, | 1147 | 0x7adc, 0x69aa, 0x6aa6, 0x0078, 0x32b3, 0x1078, 0x38ca, 0x69aa, |
918 | 0x2b92, 0xa18c, 0xfeff, 0x6922, 0x0c7e, 0x7054, 0x2060, 0x6000, | 1148 | 0x6aa6, 0x1078, 0x4c41, 0xa684, 0x8000, 0x0040, 0x32d2, 0xa684, |
919 | 0xa084, 0xefff, 0x6002, 0x6004, 0xa084, 0xfff5, 0x6006, 0x0c7f, | 1149 | 0x7fff, 0x68b6, 0x7adc, 0x79d8, 0xa684, 0x0020, 0x00c0, 0x32ca, |
920 | 0x0078, 0x2bca, 0xa184, 0x0200, 0x0040, 0x2bca, 0xa18c, 0xfdff, | 1150 | 0x78d0, 0x801b, 0x00c8, 0x32c5, 0x8000, 0xa084, 0x003f, 0xa108, |
921 | 0x6922, 0x0c7e, 0x7054, 0x2060, 0x6000, 0xa084, 0xdfff, 0x6002, | 1151 | 0xa291, 0x0000, 0x6b98, 0x2100, 0xa302, 0x68b2, 0x6b94, 0x2200, |
922 | 0x6004, 0xa084, 0xffef, 0x6006, 0x2008, 0x2c48, 0x0c7f, 0xa184, | 1152 | 0xa303, 0x68ae, 0x0078, 0x2523, 0x0078, 0x377b, 0x7037, 0x0000, |
923 | 0x0008, 0x0040, 0x2bca, 0x1078, 0x37eb, 0x1078, 0x34f1, 0x88ff, | 1153 | 0xa282, 0x0006, 0x0050, 0x32de, 0x1078, 0x248c, 0x7000, 0xa084, |
924 | 0x0040, 0x2bca, 0x789b, 0x0060, 0x2800, 0x78aa, 0x7e58, 0xa6b5, | 1154 | 0x0007, 0x10c0, 0x3a8c, 0x2300, 0x0079, 0x32e6, 0x32e9, 0x3312, |
925 | 0x0004, 0x7e5a, 0xa684, 0x0400, 0x00c0, 0x2bc4, 0x782b, 0x3008, | 1155 | 0x3326, 0x2200, 0x0079, 0x32ec, 0x3310, 0x377b, 0x32f2, 0x3310, |
926 | 0x781b, 0x0056, 0x0078, 0x2459, 0x782b, 0x3008, 0x781b, 0x0065, | 1156 | 0x3342, 0x3384, 0x7003, 0x0005, 0x2001, 0x7710, 0x2068, 0x704a, |
927 | 0x0078, 0x2459, 0x7e58, 0xa684, 0x0400, 0x00c0, 0x2bd3, 0x781b, | 1157 | 0x157e, 0x20a9, 0x0031, 0x2003, 0x0000, 0x8000, 0x0070, 0x3302, |
928 | 0x0058, 0x0078, 0x2459, 0x781b, 0x0065, 0x0078, 0x2459, 0x0078, | 1158 | 0x0078, 0x32fb, 0x157f, 0xad80, 0x0009, 0x7036, 0x6817, 0x0000, |
929 | 0x36a5, 0x0078, 0x36a5, 0x2019, 0x0000, 0x7990, 0xa18c, 0x0007, | 1159 | 0x68b7, 0x0700, 0x6823, 0x0800, 0x6827, 0x0003, 0x0078, 0x376b, |
930 | 0x00c0, 0x2be9, 0x6820, 0xa084, 0x0100, 0x0040, 0x2bd9, 0x2009, | 1160 | 0x1078, 0x248c, 0x7003, 0x0005, 0x2001, 0x7710, 0x2068, 0x704a, |
931 | 0x0008, 0x789b, 0x0010, 0x78a8, 0xa094, 0x00ff, 0xa286, 0x0001, | 1161 | 0xad80, 0x0009, 0x7036, 0x2200, 0x0079, 0x331e, 0x377b, 0x3324, |
932 | 0x00c0, 0x2c20, 0x2300, 0x7ca8, 0xa400, 0x2018, 0xa102, 0x0040, | 1162 | 0x3324, 0x3342, 0x3324, 0x377b, 0x1078, 0x248c, 0x7003, 0x0005, |
933 | 0x2c18, 0x0048, 0x2bfd, 0x0078, 0x2c1a, 0xa380, 0x0002, 0xa102, | 1163 | 0x2001, 0x7710, 0x2068, 0x704a, 0xad80, 0x0009, 0x7036, 0x2200, |
934 | 0x00c8, 0x2c18, 0x6920, 0xa18c, 0xfcff, 0x6922, 0x0c7e, 0x7054, | 1164 | 0x0079, 0x3332, 0x333a, 0x3338, 0x3338, 0x333a, 0x3338, 0x333a, |
935 | 0x2060, 0x6000, 0xa084, 0xefef, 0x6002, 0x6004, 0xa084, 0xffe5, | 1165 | 0x1078, 0x248c, 0x1078, 0x379f, 0x782b, 0x3008, 0x781b, 0x0065, |
936 | 0x6006, 0x0c7f, 0x7e58, 0xa6b4, 0xfffb, 0x7e5a, 0x0078, 0x2bcb, | 1166 | 0x0078, 0x24fa, 0x7003, 0x0002, 0x7a80, 0xa294, 0x0f00, 0x789b, |
937 | 0x0078, 0x2b7c, 0x24a8, 0x7aa8, 0x00f0, 0x2c1a, 0x0078, 0x2beb, | 1167 | 0x0018, 0x7ca8, 0xa484, 0x001f, 0xa215, 0x2069, 0x7600, 0x2d04, |
938 | 0xa284, 0x00f0, 0xa086, 0x0020, 0x00c0, 0x2c80, 0x8318, 0x8318, | 1168 | 0x2d08, 0x7162, 0x2068, 0xa005, 0x0040, 0x335d, 0x6814, 0xa206, |
939 | 0x2300, 0xa102, 0x0040, 0x2c30, 0x0048, 0x2c30, 0x0078, 0x2c7d, | 1169 | 0x0040, 0x3379, 0x6800, 0x0078, 0x3350, 0x7003, 0x0005, 0x2001, |
940 | 0xa286, 0x0023, 0x0040, 0x2bd9, 0x681c, 0xa084, 0xfff1, 0x681e, | 1170 | 0x7710, 0x2068, 0x704a, 0x7036, 0x157e, 0x20a9, 0x0031, 0x2003, |
941 | 0x7e58, 0xa684, 0xfff1, 0xa085, 0x0010, 0x2030, 0x7e5a, 0x6008, | 1171 | 0x0000, 0x8000, 0x0070, 0x336e, 0x0078, 0x3367, 0x157f, 0xad80, |
942 | 0xa085, 0x0010, 0x600a, 0x0c7e, 0x7054, 0x2060, 0x6004, 0x2008, | 1172 | 0x0009, 0x7036, 0x6a16, 0x68b7, 0x0700, 0x6823, 0x0800, 0x6827, |
943 | 0x2c48, 0x0c7f, 0xa184, 0x0010, 0x0040, 0x2c54, 0x1078, 0x37eb, | 1173 | 0x0003, 0x6eb4, 0x7e5a, 0x6820, 0xa084, 0x0c00, 0x0040, 0x33d3, |
944 | 0x1078, 0x3604, 0x0078, 0x2c63, 0x0c7e, 0x7054, 0x2060, 0x6004, | 1174 | 0x1078, 0x3797, 0x0078, 0x33d3, 0x7003, 0x0002, 0x7a80, 0xa294, |
945 | 0x2008, 0x2c48, 0x0c7f, 0xa184, 0x0008, 0x0040, 0x2bca, 0x1078, | 1175 | 0x0f00, 0x789b, 0x0018, 0x7ca8, 0xa484, 0x001f, 0xa215, 0x79a8, |
946 | 0x37eb, 0x1078, 0x34f1, 0x88ff, 0x0040, 0x2bca, 0x789b, 0x0060, | 1176 | 0x79a8, 0xa18c, 0x00ff, 0xa1e8, 0x7500, 0x2d04, 0x2d08, 0x7162, |
947 | 0x2800, 0x78aa, 0xa6b5, 0x0004, 0x7e5a, 0xa684, 0x0400, 0x00c0, | 1177 | 0x2068, 0xa005, 0x0040, 0x33a3, 0x6814, 0xa206, 0x0040, 0x33be, |
948 | 0x2c77, 0x782b, 0x3008, 0x781b, 0x0056, 0x0078, 0x2459, 0x782b, | 1178 | 0x6800, 0x0078, 0x3396, 0x7003, 0x0005, 0x2001, 0x7710, 0x2068, |
949 | 0x3008, 0x781b, 0x0065, 0x0078, 0x2459, 0x7aa8, 0x0078, 0x2beb, | 1179 | 0x704a, 0x157e, 0x20a9, 0x0031, 0x2003, 0x0000, 0x8000, 0x0070, |
950 | 0x8318, 0x2300, 0xa102, 0x0040, 0x2c89, 0x0048, 0x2c89, 0x0078, | 1180 | 0x33b3, 0x0078, 0x33ac, 0x157f, 0xad80, 0x0009, 0x7036, 0x6a16, |
951 | 0x2beb, 0xa284, 0x0080, 0x00c0, 0x36ad, 0x0078, 0x36a5, 0x0078, | 1181 | 0x68b7, 0x0700, 0x6823, 0x0800, 0x6827, 0x0003, 0x6eb4, 0x7e5a, |
952 | 0x36ad, 0x0078, 0x369d, 0x789b, 0x0018, 0x78a8, 0xa084, 0x00ff, | 1182 | 0x6820, 0xa084, 0x0c00, 0x0040, 0x33d3, 0xa084, 0x0800, 0x0040, |
953 | 0xa08e, 0x0001, 0x0040, 0x2c9e, 0x1078, 0x23eb, 0x7aa8, 0xa294, | 1183 | 0x33cd, 0x1078, 0x379b, 0x0078, 0x33d3, 0x1078, 0x3797, 0x708b, |
954 | 0x00ff, 0x78a8, 0xa084, 0x00ff, 0xa08a, 0x0004, 0x00c8, 0x369d, | 1184 | 0x0000, 0x0078, 0x33d3, 0x027e, 0x8207, 0xa084, 0x000f, 0x8003, |
955 | 0x0079, 0x2caa, 0x369d, 0x343e, 0x369d, 0x3599, 0xa282, 0x0000, | 1185 | 0x8003, 0x8003, 0xa080, 0x5480, 0x2060, 0x7056, 0x6000, 0x705a, |
956 | 0x00c0, 0x2cb4, 0x1078, 0x23eb, 0x1078, 0x36c1, 0x782b, 0x3008, | 1186 | 0x6004, 0x705e, 0xa684, 0x0060, 0x0040, 0x342b, 0x6b98, 0x6c94, |
957 | 0x781b, 0x0065, 0x0078, 0x2459, 0xa282, 0x0003, 0x00c0, 0x2cc2, | 1187 | 0x69ac, 0x68b0, 0xa105, 0x00c0, 0x340d, 0x7bd2, 0x7bda, 0x7cd6, |
958 | 0x1078, 0x23eb, 0xa484, 0x8000, 0x00c0, 0x2ce5, 0x706c, 0xa005, | 1188 | 0x7cde, 0xa6b4, 0xb7ff, 0x7e5a, 0xa684, 0x0060, 0xa086, 0x0060, |
959 | 0x0040, 0x2ccc, 0x1078, 0x23eb, 0x6f14, 0x7782, 0xa7bc, 0x0f00, | 1189 | 0x0040, 0x342b, 0x68c0, 0xa005, 0x0040, 0x3406, 0x7003, 0x0003, |
960 | 0x1078, 0x37ef, 0x6008, 0xa085, 0x0021, 0x600a, 0x8738, 0xa784, | 1190 | 0x682b, 0x0000, 0x1078, 0x4b3a, 0x0078, 0x3408, 0x1078, 0x4b4b, |
961 | 0x001f, 0x00c0, 0x2cd0, 0x1078, 0x36c5, 0x706f, 0x0002, 0x2009, | 1191 | 0xa6b5, 0x2000, 0x7e5a, 0x0078, 0x342b, 0x68b0, 0xa31a, 0x2100, |
962 | 0x5138, 0x200b, 0x0009, 0x0078, 0x2ce7, 0x1078, 0x36d1, 0x782b, | 1192 | 0xa423, 0x2400, 0xa305, 0x0040, 0x342b, 0x7bd2, 0x7bda, 0x7cd6, |
963 | 0x3008, 0x781b, 0x0065, 0x0078, 0x2459, 0xa282, 0x0004, 0x0050, | 1193 | 0x7cde, 0x68b0, 0xa6b4, 0xbfff, 0x7e5a, 0x007e, 0x68c0, 0xa005, |
964 | 0x2cf3, 0x1078, 0x23eb, 0x2300, 0x0079, 0x2cf6, 0x2cf9, 0x2de2, | 1194 | 0x007f, 0x0040, 0x3429, 0x7003, 0x0003, 0x1078, 0x4b3a, 0x0078, |
965 | 0x2e15, 0xa286, 0x0003, 0x0040, 0x2cff, 0x1078, 0x23eb, 0x2001, | 1195 | 0x342b, 0x1078, 0x4b96, 0x077f, 0x1078, 0x38bd, 0x2009, 0x0065, |
966 | 0x0000, 0x007e, 0x68c0, 0xa005, 0x0040, 0x2d08, 0x7003, 0x0003, | 1196 | 0xa684, 0x0004, 0x0040, 0x344c, 0x78e4, 0xa084, 0x0030, 0x0040, |
967 | 0x68a0, 0xa084, 0x2000, 0x0040, 0x2d11, 0x6008, 0xa085, 0x0002, | 1197 | 0x3444, 0x78ec, 0xa084, 0x0003, 0x0040, 0x3444, 0x782b, 0x3008, |
968 | 0x600a, 0x007f, 0x703e, 0x7000, 0xa084, 0x0007, 0x0079, 0x2d18, | 1198 | 0x2009, 0x0065, 0x0078, 0x344c, 0x0f7e, 0x2079, 0x5200, 0x1078, |
969 | 0x2482, 0x2d22, 0x2d22, 0x2f17, 0x2f53, 0x2482, 0x2f53, 0x2d20, | 1199 | 0x4887, 0x0f7f, 0x0040, 0x2523, 0x791a, 0x2d00, 0x704a, 0x8207, |
970 | 0x1078, 0x23eb, 0xa684, 0x1000, 0x00c0, 0x2d2a, 0x1078, 0x4776, | 1200 | 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xa080, 0x5480, 0x2048, |
971 | 0x0040, 0x2dbc, 0x7868, 0xa08c, 0x00ff, 0x0040, 0x2d72, 0xa186, | 1201 | 0x0078, 0x24fa, 0x6020, 0xa005, 0x0040, 0x3466, 0x8001, 0x6022, |
972 | 0x0008, 0x00c0, 0x2d41, 0x1078, 0x33ee, 0x6008, 0xa084, 0xffef, | 1202 | 0x6008, 0xa085, 0x0008, 0x600a, 0x7010, 0x6026, 0x007c, 0xa006, |
973 | 0x600a, 0x1078, 0x3390, 0x0040, 0x2d72, 0x1078, 0x4776, 0x0078, | 1203 | 0x1078, 0x4887, 0x6817, 0x0000, 0x681b, 0x0001, 0x6823, 0x0040, |
974 | 0x2d59, 0xa186, 0x0028, 0x00c0, 0x2d72, 0x1078, 0x4776, 0x6008, | 1204 | 0x681f, 0x0100, 0x7000, 0xa084, 0x0007, 0x0079, 0x3477, 0x2523, |
975 | 0xa084, 0xffef, 0x600a, 0x6018, 0xa005, 0x0040, 0x2d59, 0x8001, | 1205 | 0x3481, 0x3481, 0x349e, 0x3489, 0x3487, 0x3489, 0x347f, 0x1078, |
976 | 0x601a, 0xa005, 0x0040, 0x2d59, 0x8001, 0xa005, 0x0040, 0x2d59, | 1206 | 0x248c, 0x1078, 0x34a9, 0x1078, 0x34a2, 0x1078, 0x1cdc, 0x0078, |
977 | 0x601e, 0x6820, 0xa084, 0x0001, 0x0040, 0x2482, 0x6820, 0xa084, | 1207 | 0x2523, 0x706c, 0x706f, 0x0000, 0x7093, 0x0000, 0x0079, 0x3490, |
978 | 0xfffe, 0x6822, 0x7060, 0x0c7e, 0x2060, 0x6800, 0x6002, 0x0c7f, | 1208 | 0x349a, 0x349a, 0x3498, 0x3498, 0x3498, 0x349a, 0x3498, 0x349a, |
979 | 0x6004, 0x6802, 0xa005, 0x2d00, 0x00c0, 0x2d6f, 0x6002, 0x6006, | 1209 | 0x0079, 0x2902, 0x706f, 0x0000, 0x0078, 0x2523, 0x681b, 0x0000, |
980 | 0x0078, 0x2482, 0x017e, 0x1078, 0x2e46, 0x017f, 0xa684, 0xdf00, | 1210 | 0x0078, 0x2fb6, 0x6800, 0xa005, 0x00c0, 0x34a7, 0x6002, 0x6006, |
981 | 0x681e, 0x682b, 0x0000, 0x6f14, 0x81ff, 0x0040, 0x2dbc, 0xa186, | 1211 | 0x007c, 0x6010, 0xa005, 0x0040, 0x34b2, 0x8001, 0x00d0, 0x34b2, |
982 | 0x0002, 0x00c0, 0x2dbc, 0xa684, 0x0800, 0x00c0, 0x2d8f, 0xa684, | 1212 | 0x1078, 0x248c, 0x6012, 0x6008, 0xa084, 0xffef, 0x600a, 0x007c, |
983 | 0x0060, 0x0040, 0x2d8f, 0x78d8, 0x7adc, 0x682e, 0x6a32, 0x6820, | 1213 | 0x6018, 0xa005, 0x0040, 0x34be, 0x8001, 0x601a, 0x007c, 0x1078, |
984 | 0xa084, 0x0800, 0x00c0, 0x2dbc, 0x8717, 0xa294, 0x000f, 0x8213, | 1214 | 0x39e0, 0x681b, 0x0018, 0x0078, 0x34f5, 0x1078, 0x39e0, 0x681b, |
985 | 0x8213, 0x8213, 0xa290, 0x5380, 0xa290, 0x0000, 0x221c, 0xa384, | 1215 | 0x0019, 0x0078, 0x34f5, 0x1078, 0x39e0, 0x681b, 0x001a, 0x0078, |
986 | 0x0100, 0x00c0, 0x2da5, 0x0078, 0x2dab, 0x8210, 0x2204, 0xa085, | 1216 | 0x34f5, 0x1078, 0x39e0, 0x681b, 0x0003, 0x0078, 0x34f5, 0x7780, |
987 | 0x0018, 0x2012, 0x8211, 0xa384, 0x0400, 0x0040, 0x2db8, 0x68a0, | 1217 | 0x1078, 0x38bd, 0x7184, 0xa18c, 0x00ff, 0xa1e8, 0x7500, 0x2d04, |
988 | 0xa084, 0x0100, 0x00c0, 0x2db8, 0x1078, 0x2eca, 0x0078, 0x2482, | 1218 | 0x2d08, 0x2068, 0xa005, 0x00c0, 0x34e7, 0x0078, 0x2523, 0x6814, |
989 | 0x6008, 0xa085, 0x0002, 0x600a, 0x6916, 0x6818, 0xa084, 0x8000, | 1219 | 0x7280, 0xa206, 0x0040, 0x34ef, 0x6800, 0x0078, 0x34e0, 0x6800, |
990 | 0x0040, 0x2dc4, 0x703c, 0x681a, 0xa68c, 0xdf00, 0x691e, 0x1078, | 1220 | 0x200a, 0x681b, 0x0005, 0x708b, 0x0000, 0x1078, 0x34a9, 0x6820, |
991 | 0x33df, 0x1078, 0x33ee, 0x00c0, 0x2dd1, 0x6008, 0xa084, 0xffef, | 1221 | 0xa084, 0x0001, 0x00c0, 0x34fe, 0x1078, 0x34a2, 0x1078, 0x34b8, |
992 | 0x600a, 0x6820, 0xa084, 0x0001, 0x00c0, 0x2dda, 0x1078, 0x33d8, | 1222 | 0x681f, 0x0000, 0x6823, 0x0020, 0x1078, 0x1cdc, 0x0078, 0x2523, |
993 | 0x0078, 0x2dde, 0x7060, 0x2060, 0x6800, 0x6002, 0x1078, 0x1c70, | 1223 | 0xa282, 0x0003, 0x00c0, 0x376b, 0x7da8, 0xa5ac, 0x00ff, 0x7ca8, |
994 | 0x0078, 0x2482, 0xa282, 0x0004, 0x0048, 0x2de8, 0x1078, 0x23eb, | 1224 | 0xa4a4, 0x00ff, 0x6920, 0xa18d, 0x0080, 0x6922, 0xa184, 0x0100, |
995 | 0x2200, 0x0079, 0x2deb, 0x2de6, 0x2def, 0x2dfc, 0x2def, 0x7000, | 1225 | 0x0040, 0x356c, 0xa18c, 0xfeff, 0x6922, 0xa4a4, 0x00ff, 0x0040, |
996 | 0xa086, 0x0005, 0x0040, 0x2df8, 0x1078, 0x36c1, 0x782b, 0x3008, | 1226 | 0x3556, 0xa482, 0x000c, 0x0048, 0x3529, 0x0040, 0x3529, 0x2021, |
997 | 0x781b, 0x0065, 0x0078, 0x2459, 0x7890, 0x8007, 0x8001, 0xa084, | 1227 | 0x000c, 0x852b, 0x852b, 0x1078, 0x382e, 0x0040, 0x3533, 0x1078, |
998 | 0x0007, 0xa080, 0x0018, 0x789a, 0x79a8, 0xa18c, 0x00ff, 0xa186, | 1228 | 0x3627, 0x0078, 0x355f, 0x1078, 0x37e9, 0x0c7e, 0x2960, 0x6004, |
999 | 0x0003, 0x0040, 0x2e11, 0xa186, 0x0000, 0x0040, 0x2e11, 0x0078, | 1229 | 0xa084, 0xfff5, 0x6006, 0x1078, 0x3652, 0x0c7f, 0x6920, 0xa18d, |
1000 | 0x369d, 0x781b, 0x0065, 0x0078, 0x2459, 0x6820, 0xa085, 0x0004, | 1230 | 0x0100, 0x6922, 0x7e58, 0xa6b5, 0x0004, 0x7e5a, 0xa684, 0x0400, |
1001 | 0x6822, 0x82ff, 0x00c0, 0x2e20, 0x1078, 0x36c1, 0x0078, 0x2e27, | 1231 | 0x00c0, 0x3550, 0x782b, 0x3008, 0x781b, 0x0056, 0x0078, 0x24fa, |
1002 | 0x8211, 0x0040, 0x2e25, 0x1078, 0x23eb, 0x1078, 0x36d1, 0x782b, | 1232 | 0x782b, 0x3008, 0x781b, 0x0065, 0x0078, 0x24fa, 0x0c7e, 0x2960, |
1003 | 0x3008, 0x781b, 0x0065, 0x0078, 0x2459, 0x702c, 0x8003, 0x0048, | 1233 | 0x6004, 0xa084, 0xfff5, 0x6006, 0x1078, 0x3652, 0x0c7f, 0x7e58, |
1004 | 0x2e37, 0x2019, 0x4d9e, 0x1078, 0x2276, 0x702f, 0x8000, 0x1078, | 1234 | 0xa684, 0x0400, 0x00c0, 0x3568, 0x781b, 0x0058, 0x0078, 0x24fa, |
1005 | 0x3912, 0x7830, 0xa084, 0x00c0, 0x00c0, 0x2e43, 0x0018, 0x2e43, | 1235 | 0x781b, 0x0065, 0x0078, 0x24fa, 0x0c7e, 0x7054, 0x2060, 0x6100, |
1006 | 0x791a, 0xa006, 0x007c, 0xa085, 0x0001, 0x007c, 0xa684, 0x0060, | 1236 | 0xa18c, 0x1000, 0x0040, 0x35ac, 0x6208, 0x8217, 0xa294, 0x00ff, |
1007 | 0x00c0, 0x2e50, 0x682f, 0x0000, 0x6833, 0x0000, 0x0078, 0x2ec9, | 1237 | 0xa282, 0x000c, 0x0048, 0x3580, 0x0040, 0x3580, 0x2011, 0x000c, |
1008 | 0xa684, 0x0800, 0x00c0, 0x2e72, 0x68b4, 0xa084, 0x4800, 0xa635, | 1238 | 0x2400, 0xa202, 0x00c8, 0x3585, 0x2220, 0x6208, 0xa294, 0x00ff, |
1009 | 0xa684, 0x0800, 0x00c0, 0x2e72, 0x6998, 0x6a94, 0x692e, 0x6a32, | 1239 | 0x7018, 0xa086, 0x0028, 0x00c0, 0x3595, 0xa282, 0x0019, 0x00c8, |
1010 | 0x703c, 0xa005, 0x00c0, 0x2e6a, 0x2200, 0xa105, 0x0040, 0x2e71, | 1240 | 0x359b, 0x2011, 0x0019, 0x0078, 0x359b, 0xa282, 0x000c, 0x00c8, |
1011 | 0x703f, 0x0015, 0x7000, 0xa086, 0x0006, 0x0040, 0x2e71, 0x1078, | 1241 | 0x359b, 0x2011, 0x000c, 0x2200, 0xa502, 0x00c8, 0x35a0, 0x2228, |
1012 | 0x4776, 0x007c, 0xa684, 0x0020, 0x0040, 0x2e94, 0xa684, 0x4000, | 1242 | 0x1078, 0x37ed, 0x852b, 0x852b, 0x1078, 0x382e, 0x0040, 0x35ac, |
1013 | 0x0040, 0x2e80, 0x682f, 0x0000, 0x6833, 0x0000, 0x0078, 0x2e6a, | 1243 | 0x1078, 0x3627, 0x0078, 0x35b0, 0x1078, 0x37e9, 0x1078, 0x3652, |
1014 | 0x68b4, 0xa084, 0x4800, 0xa635, 0xa684, 0x4000, 0x00c0, 0x2e7a, | 1244 | 0x7858, 0xa085, 0x0004, 0x785a, 0x0c7f, 0x782b, 0x3008, 0x781b, |
1015 | 0x703c, 0xa005, 0x00c0, 0x2e8e, 0x703f, 0x0015, 0x79d8, 0x7adc, | 1245 | 0x0065, 0x0078, 0x24fa, 0x0c7e, 0x2960, 0x6000, 0xd0e4, 0x00c0, |
1016 | 0x692e, 0x6a32, 0x0078, 0x2e6a, 0xa684, 0x4000, 0x0040, 0x2e9e, | 1246 | 0x35d5, 0xd0b4, 0x00c0, 0x35cf, 0x6010, 0xa084, 0x000f, 0x00c0, |
1017 | 0x682f, 0x0000, 0x6833, 0x0000, 0x0078, 0x2e6a, 0x68b4, 0xa084, | 1247 | 0x35cf, 0x6104, 0xa18c, 0xfff5, 0x6106, 0x0c7f, 0x007c, 0x2011, |
1018 | 0x4800, 0xa635, 0xa684, 0x4000, 0x00c0, 0x2e98, 0x703c, 0xa005, | 1248 | 0x0032, 0x2019, 0x0000, 0x0078, 0x35fc, 0x68a0, 0xa084, 0x0200, |
1019 | 0x00c0, 0x2eac, 0x703f, 0x0015, 0x79d8, 0x7adc, 0x78d0, 0x80fb, | 1249 | 0x00c0, 0x35cf, 0x6208, 0xa294, 0x00ff, 0x7018, 0xa086, 0x0028, |
1020 | 0x00c8, 0x2eb3, 0x8000, 0xa084, 0x003f, 0xa108, 0xa291, 0x0000, | 1250 | 0x00c0, 0x35ea, 0xa282, 0x0019, 0x00c8, 0x35f0, 0x2011, 0x0019, |
1021 | 0x692e, 0x6a32, 0x2100, 0xa205, 0x00c0, 0x2ec0, 0x0078, 0x2e6a, | 1251 | 0x0078, 0x35f0, 0xa282, 0x000c, 0x00c8, 0x35f0, 0x2011, 0x000c, |
1022 | 0x7000, 0xa086, 0x0006, 0x0040, 0x2ec9, 0x1078, 0x4b30, 0x0078, | 1252 | 0x6308, 0x831f, 0xa39c, 0x00ff, 0xa382, 0x000c, 0x0048, 0x35fc, |
1023 | 0x2e6a, 0x007c, 0x6008, 0xa085, 0x0200, 0x600a, 0xa384, 0x0200, | 1253 | 0x0040, 0x35fc, 0x2019, 0x000c, 0x78ab, 0x0001, 0x78ab, 0x0003, |
1024 | 0x0040, 0x2ed6, 0x6008, 0xa085, 0x0002, 0x600a, 0x681b, 0x0006, | 1254 | 0x78ab, 0x0001, 0x7aaa, 0x7baa, 0xa8c0, 0x0005, 0x6820, 0xa085, |
1025 | 0x688f, 0x0000, 0x6893, 0x0000, 0x6a30, 0x692c, 0x6a3e, 0x6942, | 1255 | 0x0100, 0x6822, 0x0c7f, 0x007c, 0x0c7e, 0x2960, 0xa18c, 0xfff5, |
1026 | 0x682f, 0x0003, 0x6833, 0x0000, 0x6837, 0x0020, 0x6897, 0x0000, | 1256 | 0x6106, 0x2011, 0x0032, 0x2019, 0x0000, 0x0078, 0x3617, 0x78ab, |
1027 | 0x689b, 0x0020, 0x68b3, 0x0000, 0x68af, 0x0000, 0x7000, 0x0079, | 1257 | 0x0001, 0x78ab, 0x0003, 0x78ab, 0x0001, 0x7aaa, 0x7baa, 0xa8c0, |
1028 | 0x2ef1, 0x2482, 0x2efb, 0x2f04, 0x2ef9, 0x2ef9, 0x2ef9, 0x2ef9, | 1258 | 0x0005, 0x6820, 0xa085, 0x0100, 0x6822, 0x0c7f, 0x007c, 0x0c7e, |
1029 | 0x2ef9, 0x1078, 0x23eb, 0x6820, 0xa084, 0x0001, 0x00c0, 0x2f04, | 1259 | 0x7154, 0x2160, 0x1078, 0x362e, 0x0c7f, 0x007c, 0x2008, 0xa084, |
1030 | 0x1078, 0x33d8, 0x0078, 0x2f0a, 0x7060, 0x2c50, 0x2060, 0x6800, | 1260 | 0xfff0, 0xa425, 0x7c86, 0x6018, 0x789a, 0x7cae, 0x6412, 0x78a4, |
1031 | 0x6002, 0x2a60, 0x2021, 0x515a, 0x2404, 0xa005, 0x0040, 0x2f13, | 1261 | 0xa084, 0xfff8, 0xa18c, 0x0007, 0xa105, 0x78a6, 0x6016, 0x788a, |
1032 | 0x2020, 0x0078, 0x2f0c, 0x2d22, 0x206b, 0x0000, 0x007c, 0x1078, | 1262 | 0xa4a4, 0x000f, 0x8427, 0x8204, 0x8004, 0xa084, 0x00ff, 0xa405, |
1033 | 0x33df, 0x1078, 0x33ee, 0x6008, 0xa084, 0xfdff, 0x600a, 0x682b, | 1263 | 0x600e, 0x78ec, 0xd08c, 0x00c0, 0x3651, 0x6004, 0xa084, 0xfff5, |
1034 | 0x0000, 0x789b, 0x000e, 0x6f14, 0x6817, 0x0002, 0x1078, 0x4b78, | 1264 | 0x6006, 0x007c, 0x0c7e, 0x7054, 0x2060, 0x1078, 0x3659, 0x0c7f, |
1035 | 0xa684, 0x0800, 0x0040, 0x2f30, 0x691c, 0xa18d, 0x2000, 0x691e, | 1265 | 0x007c, 0x6018, 0x789a, 0x78a4, 0xa084, 0xfff0, 0x78a6, 0x6012, |
1036 | 0x6818, 0xa084, 0x8000, 0x0040, 0x2f40, 0x7868, 0xa08c, 0x00ff, | 1266 | 0x7884, 0xa084, 0xfff0, 0x7886, 0x007c, 0xa282, 0x0002, 0x00c0, |
1037 | 0x0040, 0x2f3e, 0x681b, 0x001e, 0x0078, 0x2f40, 0x681b, 0x0000, | 1267 | 0x376b, 0x7aa8, 0x6920, 0xa18d, 0x0080, 0x6922, 0xa184, 0x0200, |
1038 | 0x2021, 0x515a, 0x2404, 0xad06, 0x0040, 0x2f47, 0x7460, 0x6800, | 1268 | 0x0040, 0x36ae, 0xa18c, 0xfdff, 0x6922, 0xa294, 0x00ff, 0xa282, |
1039 | 0x2022, 0x68c3, 0x0000, 0x6a3c, 0x6940, 0x6a32, 0x692e, 0x1078, | 1269 | 0x0002, 0x00c8, 0x376b, 0x1078, 0x36f9, 0x1078, 0x3652, 0xa980, |
1040 | 0x1c70, 0x0078, 0x2482, 0x1078, 0x2e46, 0x682b, 0x0000, 0x2001, | 1270 | 0x0001, 0x200c, 0x1078, 0x38b9, 0x1078, 0x35bb, 0x88ff, 0x0040, |
1041 | 0x000e, 0x6f14, 0x1078, 0x3918, 0xa08c, 0x00ff, 0x6916, 0x6818, | 1271 | 0x36a1, 0x789b, 0x0060, 0x2800, 0x78aa, 0x7e58, 0xa6b5, 0x0004, |
1042 | 0xa084, 0x8000, 0x0040, 0x2f66, 0x703c, 0x681a, 0xa68c, 0xdf00, | 1272 | 0x7e5a, 0xa684, 0x0400, 0x00c0, 0x369b, 0x782b, 0x3008, 0x781b, |
1043 | 0x691e, 0x706f, 0x0000, 0x0078, 0x2482, 0x7000, 0xa005, 0x00c0, | 1273 | 0x0056, 0x0078, 0x24fa, 0x782b, 0x3008, 0x781b, 0x0065, 0x0078, |
1044 | 0x2f73, 0x0078, 0x2482, 0xa006, 0x1078, 0x4776, 0x6817, 0x0000, | 1274 | 0x24fa, 0x7e58, 0xa684, 0x0400, 0x00c0, 0x36aa, 0x781b, 0x0058, |
1045 | 0x681b, 0x0014, 0xa68c, 0xdf00, 0x691e, 0x682b, 0x0000, 0x6820, | 1275 | 0x0078, 0x24fa, 0x781b, 0x0065, 0x0078, 0x24fa, 0xa282, 0x0002, |
1046 | 0xa085, 0x00ff, 0x6822, 0x7000, 0x0079, 0x2f86, 0x2482, 0x2f90, | 1276 | 0x00c8, 0x36b6, 0xa284, 0x0001, 0x0040, 0x36c0, 0x7154, 0xa188, |
1047 | 0x2f90, 0x2f92, 0x2f92, 0x2f92, 0x2f92, 0x2f8e, 0x1078, 0x23eb, | 1277 | 0x0000, 0x210c, 0xa18c, 0x2000, 0x00c0, 0x36c0, 0x2011, 0x0000, |
1048 | 0x1078, 0x33ee, 0x6008, 0xa084, 0xffef, 0x600a, 0x0078, 0x33a8, | 1278 | 0x1078, 0x37db, 0x1078, 0x36f9, 0x1078, 0x3652, 0x7858, 0xa085, |
1049 | 0x2300, 0x0079, 0x2f9b, 0x2f9e, 0x2fa0, 0x2fd9, 0x1078, 0x23eb, | 1279 | 0x0004, 0x785a, 0x782b, 0x3008, 0x781b, 0x0065, 0x0078, 0x24fa, |
1050 | 0x7000, 0x0079, 0x2fa3, 0x2482, 0x2fad, 0x2fad, 0x2fc8, 0x2fad, | 1280 | 0x0c7e, 0x027e, 0x2960, 0x6000, 0x2011, 0x0001, 0xd0ec, 0x00c0, |
1051 | 0x2fd5, 0x2fc8, 0x2fab, 0x1078, 0x23eb, 0xa684, 0x0060, 0xa086, | 1281 | 0x36e9, 0xd0bc, 0x00c0, 0x36e7, 0x6014, 0xa084, 0x0040, 0x00c0, |
1052 | 0x0060, 0x00c0, 0x2fc4, 0xa6b4, 0xffdf, 0xa6b4, 0xbfff, 0xa6b5, | 1282 | 0x36e7, 0xa18c, 0xffef, 0x6106, 0xa006, 0x0078, 0x36f6, 0x2011, |
1053 | 0x2000, 0x7e5a, 0x681c, 0xa084, 0xffdf, 0x681e, 0x1078, 0x4776, | 1283 | 0x0000, 0x78ab, 0x0001, 0x78ab, 0x0002, 0x78ab, 0x0003, 0x7aaa, |
1054 | 0x1078, 0x4a3a, 0x0078, 0x3888, 0xa684, 0x2000, 0x0040, 0x2fb7, | 1284 | 0xa8c0, 0x0004, 0x6820, 0xa085, 0x0200, 0x6822, 0x027f, 0x0c7f, |
1055 | 0x6818, 0xa084, 0x8000, 0x0040, 0x2fd5, 0x681b, 0x0015, 0xa684, | 1285 | 0x007c, 0x0c7e, 0x7054, 0x2060, 0x1078, 0x3700, 0x0c7f, 0x007c, |
1056 | 0x4000, 0x0040, 0x2fd5, 0x681b, 0x0007, 0x1078, 0x389c, 0x0078, | 1286 | 0x82ff, 0x0040, 0x3705, 0x2011, 0x0040, 0x6018, 0xa080, 0x0002, |
1057 | 0x2459, 0x1078, 0x23eb, 0x2300, 0x0079, 0x2fde, 0x2fe1, 0x2fe3, | 1287 | 0x789a, 0x78a4, 0xa084, 0xffbf, 0xa205, 0x78a6, 0x788a, 0x6016, |
1058 | 0x3016, 0x1078, 0x23eb, 0x7000, 0x0079, 0x2fe6, 0x2482, 0x2ff0, | 1288 | 0x78ec, 0xd08c, 0x00c0, 0x3718, 0x6004, 0xa084, 0xffef, 0x6006, |
1059 | 0x2ff0, 0x300b, 0x2ff0, 0x3012, 0x300b, 0x2fee, 0x1078, 0x23eb, | 1289 | 0x007c, 0x007e, 0x7000, 0xa086, 0x0003, 0x0040, 0x3722, 0x007f, |
1060 | 0xa684, 0x0060, 0xa086, 0x0060, 0x00c0, 0x3007, 0xa6b4, 0xffbf, | 1290 | 0x0078, 0x3725, 0x007f, 0x0078, 0x3767, 0xa684, 0x0020, 0x0040, |
1061 | 0xa6b4, 0xbfff, 0xa6b5, 0x2000, 0x7e5a, 0x681c, 0xa084, 0xffbf, | 1291 | 0x3767, 0x7888, 0xa084, 0x0040, 0x0040, 0x3767, 0x7bb8, 0xa384, |
1062 | 0x681e, 0x1078, 0x4776, 0x1078, 0x4a3a, 0x0078, 0x3888, 0xa684, | 1292 | 0x003f, 0x831b, 0x00c8, 0x3735, 0x8000, 0xa005, 0x0040, 0x374b, |
1063 | 0x2000, 0x0040, 0x2ffa, 0x6818, 0xa084, 0x8000, 0x0040, 0x3012, | 1293 | 0x831b, 0x00c8, 0x373e, 0x8001, 0x0040, 0x3763, 0xa684, 0x4000, |
1064 | 0x681b, 0x0007, 0x781b, 0x00cd, 0x0078, 0x2459, 0x6820, 0xa085, | 1294 | 0x0040, 0x374b, 0x78b8, 0x801b, 0x00c8, 0x3747, 0x8000, 0xa084, |
1065 | 0x0004, 0x6822, 0x1078, 0x3853, 0xa6b5, 0x0800, 0x1078, 0x36c1, | 1295 | 0x003f, 0x00c0, 0x3763, 0xa6b4, 0xbfff, 0x7e5a, 0x79d8, 0x7adc, |
1066 | 0x782b, 0x3008, 0x781b, 0x0065, 0x0078, 0x2459, 0x2300, 0x0079, | 1296 | 0x2001, 0x0001, 0xa108, 0x00c8, 0x3757, 0xa291, 0x0000, 0x79d2, |
1067 | 0x3029, 0x302c, 0x302e, 0x3030, 0x1078, 0x23eb, 0x0078, 0x36ad, | 1297 | 0x79da, 0x7ad6, 0x7ade, 0x1078, 0x4c41, 0x781b, 0x0064, 0x1078, |
1068 | 0xa684, 0x0400, 0x00c0, 0x3059, 0x79e4, 0xa184, 0x0020, 0x0040, | 1298 | 0x4ac6, 0x0078, 0x24fa, 0x781b, 0x0064, 0x0078, 0x24fa, 0x781b, |
1069 | 0x3040, 0x78ec, 0xa084, 0x0003, 0x0040, 0x3040, 0x782b, 0x3009, | 1299 | 0x0065, 0x0078, 0x24fa, 0x1078, 0x37a3, 0x782b, 0x3008, 0x781b, |
1070 | 0x789b, 0x0060, 0x78ab, 0x0000, 0xa684, 0xfffb, 0x785a, 0x79e4, | 1300 | 0x0065, 0x0078, 0x24fa, 0x1078, 0x378f, 0x782b, 0x3008, 0x781b, |
1071 | 0xa184, 0x0020, 0x0040, 0x3051, 0x78ec, 0xa084, 0x0003, 0x00c0, | 1301 | 0x0065, 0x0078, 0x24fa, 0x6827, 0x0002, 0x1078, 0x3797, 0x78e4, |
1072 | 0x3055, 0x2001, 0x0014, 0x0078, 0x2d01, 0xa184, 0x0007, 0x0079, | 1302 | 0xa084, 0x0030, 0x0040, 0x2523, 0x78ec, 0xa084, 0x0003, 0x0040, |
1073 | 0x3091, 0x7a90, 0xa294, 0x0007, 0x789b, 0x0060, 0x79a8, 0x81ff, | 1303 | 0x2523, 0x782b, 0x3008, 0x781b, 0x0065, 0x0078, 0x24fa, 0x2001, |
1074 | 0x0040, 0x308f, 0x789b, 0x0010, 0x7ba8, 0xa384, 0x0001, 0x00c0, | 1304 | 0x0005, 0x0078, 0x37a5, 0x2001, 0x000c, 0x0078, 0x37a5, 0x2001, |
1075 | 0x3080, 0x7ba8, 0x7ba8, 0xa386, 0x0001, 0x00c0, 0x3073, 0x2009, | 1305 | 0x0006, 0x0078, 0x37a5, 0x2001, 0x000d, 0x0078, 0x37a5, 0x2001, |
1076 | 0xfff7, 0x0078, 0x3079, 0xa386, 0x0003, 0x00c0, 0x3080, 0x2009, | 1306 | 0x0009, 0x0078, 0x37a5, 0x2001, 0x0007, 0x789b, 0x0010, 0x78aa, |
1077 | 0xffef, 0x0c7e, 0x7054, 0x2060, 0x6004, 0xa104, 0x6006, 0x0c7f, | 1307 | 0x789b, 0x0060, 0x78ab, 0x0001, 0xa6b5, 0x0004, 0x7e5a, 0x007c, |
1078 | 0x789b, 0x0060, 0x78ab, 0x0000, 0xa684, 0xfffb, 0x785a, 0x782b, | 1308 | 0x077e, 0x873f, 0xa7bc, 0x000f, 0x873b, 0x873b, 0x8703, 0xa0e0, |
1079 | 0x3009, 0x6920, 0xa18c, 0xfdff, 0xa18c, 0xfeff, 0x6922, 0x0078, | 1309 | 0x5480, 0xa7b8, 0x0020, 0x7f9a, 0x79a4, 0xa184, 0x000f, 0x0040, |
1080 | 0x3888, 0x299e, 0x29a9, 0x309b, 0x30a3, 0x3099, 0x3099, 0x3888, | 1310 | 0x37c9, 0xa184, 0xfff0, 0x78a6, 0x6012, 0x6004, 0xa085, 0x0008, |
1081 | 0x3888, 0x1078, 0x23eb, 0x6920, 0xa18c, 0xfdff, 0xa18c, 0xfeff, | 1311 | 0x6006, 0x8738, 0x8738, 0x7f9a, 0x79a4, 0xa184, 0x0040, 0x0040, |
1082 | 0x6922, 0x0078, 0x3892, 0x6920, 0xa18c, 0xfdff, 0xa18c, 0xfeff, | 1312 | 0x37d9, 0xa184, 0xffbf, 0x78a6, 0x6016, 0x6004, 0xa085, 0x0010, |
1083 | 0x6922, 0x0078, 0x3888, 0x79e4, 0xa184, 0x0030, 0x0040, 0x30b5, | 1313 | 0x6006, 0x077f, 0x007c, 0x789b, 0x0010, 0x78ab, 0x0001, 0x78ab, |
1084 | 0x78ec, 0xa084, 0x0003, 0x00c0, 0x30dc, 0x7000, 0xa086, 0x0004, | 1314 | 0x0002, 0x78ab, 0x0003, 0x7aaa, 0x789b, 0x0060, 0x78ab, 0x0004, |
1085 | 0x00c0, 0x30cf, 0x706c, 0xa086, 0x0002, 0x00c0, 0x30c5, 0x2011, | 1315 | 0x007c, 0x2021, 0x0000, 0x2029, 0x0032, 0x789b, 0x0010, 0x78ab, |
1086 | 0x0002, 0x2019, 0x0000, 0x0078, 0x2848, 0x706c, 0xa086, 0x0006, | 1316 | 0x0001, 0x78ab, 0x0003, 0x78ab, 0x0001, 0x7daa, 0x7caa, 0x789b, |
1087 | 0x0040, 0x30bf, 0x706c, 0xa086, 0x0004, 0x0040, 0x30bf, 0x7000, | 1317 | 0x0060, 0x78ab, 0x0005, 0x007c, 0x157e, 0x8007, 0xa084, 0x00ff, |
1088 | 0xa086, 0x0000, 0x0040, 0x2459, 0x6818, 0xa085, 0x8000, 0x681a, | 1318 | 0x8003, 0x8003, 0xa080, 0x0020, 0x789a, 0x79a4, 0xa18c, 0xfff0, |
1089 | 0x2001, 0x0014, 0x0078, 0x2d01, 0xa184, 0x0007, 0x0079, 0x30e0, | 1319 | 0x2001, 0x5246, 0x2004, 0xa082, 0x0028, 0x0040, 0x3817, 0x2021, |
1090 | 0x3888, 0x3888, 0x30e8, 0x3888, 0x38ed, 0x38ed, 0x3888, 0x3888, | 1320 | 0x38a0, 0x2019, 0x0014, 0x20a9, 0x000c, 0x0078, 0x381d, 0x2021, |
1091 | 0xa684, 0x0080, 0x0040, 0x3117, 0x7194, 0x81ff, 0x0040, 0x3117, | 1321 | 0x38ac, 0x2019, 0x0019, 0x20a9, 0x000d, 0x2011, 0x0064, 0x2404, |
1092 | 0xa182, 0x000d, 0x00d0, 0x30f8, 0x7097, 0x0000, 0x0078, 0x30fd, | 1322 | 0xa084, 0xfff0, 0xa106, 0x0040, 0x382c, 0x8420, 0x2300, 0xa210, |
1093 | 0xa182, 0x000c, 0x7096, 0x2009, 0x000c, 0x789b, 0x0061, 0x79aa, | 1323 | 0x0070, 0x382c, 0x0078, 0x381f, 0x157f, 0x007c, 0x157e, 0x2009, |
1094 | 0x157e, 0x137e, 0x147e, 0x7098, 0x8114, 0xa210, 0x729a, 0xa080, | 1324 | 0x5246, 0x210c, 0xa182, 0x0032, 0x0048, 0x3842, 0x0040, 0x3846, |
1095 | 0x000b, 0xad00, 0x2098, 0x20a1, 0x012b, 0x789b, 0x0000, 0x8108, | 1325 | 0x2009, 0x3892, 0x2019, 0x0011, 0x20a9, 0x000e, 0x2011, 0x0032, |
1096 | 0x81ac, 0x53a6, 0x147f, 0x137f, 0x157f, 0x0078, 0x3892, 0xa684, | 1326 | 0x0078, 0x3858, 0xa182, 0x0028, 0x0040, 0x3850, 0x2009, 0x38a0, |
1097 | 0x0400, 0x00c0, 0x3158, 0x6820, 0xa084, 0x0001, 0x0040, 0x3892, | 1327 | 0x2019, 0x0014, 0x20a9, 0x000c, 0x2011, 0x0064, 0x0078, 0x3858, |
1098 | 0xa68c, 0x0060, 0xa684, 0x0060, 0x0040, 0x312c, 0xa086, 0x0060, | 1328 | 0x2009, 0x38ac, 0x2019, 0x0019, 0x20a9, 0x000d, 0x2011, 0x0064, |
1099 | 0x00c0, 0x312c, 0xa18d, 0x4000, 0xa18c, 0xfffb, 0x795a, 0x69b6, | 1329 | 0x2200, 0xa502, 0x0040, 0x3868, 0x0048, 0x3868, 0x8108, 0x2300, |
1100 | 0x789b, 0x0060, 0x78ab, 0x0000, 0x789b, 0x0061, 0x6818, 0xa085, | 1330 | 0xa210, 0x0070, 0x3865, 0x0078, 0x3858, 0x157f, 0xa006, 0x007c, |
1101 | 0x8000, 0x681a, 0x78aa, 0x8008, 0x810c, 0x0040, 0x3407, 0xa18c, | 1331 | 0x157f, 0xa582, 0x0064, 0x00c8, 0x3877, 0x7808, 0xa085, 0x0070, |
1102 | 0x00f8, 0x00c0, 0x3407, 0x157e, 0x137e, 0x147e, 0x20a1, 0x012b, | 1332 | 0x780a, 0x7044, 0xa085, 0x0070, 0x7046, 0x0078, 0x3877, 0x78ec, |
1103 | 0x789b, 0x0000, 0x8000, 0x80ac, 0xad80, 0x000b, 0x2098, 0x53a6, | 1333 | 0xa084, 0x0300, 0x0040, 0x387f, 0x2104, 0x0078, 0x3890, 0x2104, |
1104 | 0x147f, 0x137f, 0x157f, 0x6814, 0x8007, 0x7882, 0x0078, 0x3892, | 1334 | 0xa09e, 0x1102, 0x00c0, 0x3890, 0x2001, 0x04fd, 0x2004, 0xa082, |
1105 | 0x6818, 0xa084, 0x8000, 0x0040, 0x315f, 0x681b, 0x0008, 0x781b, | 1335 | 0x0005, 0x0048, 0x388f, 0x2001, 0x1201, 0x0078, 0x3890, 0x2104, |
1106 | 0x00c3, 0x0078, 0x2459, 0x2300, 0x0079, 0x3166, 0x316b, 0x320a, | 1336 | 0xa005, 0x007c, 0x1102, 0x3002, 0x3202, 0x4203, 0x4403, 0x5404, |
1107 | 0x3169, 0x1078, 0x23eb, 0x7000, 0xa084, 0x0007, 0x0079, 0x3170, | 1337 | 0x5604, 0x6605, 0x6805, 0x7806, 0x7a06, 0x0c07, 0x0c07, 0x0e07, |
1108 | 0x2482, 0x317a, 0x31af, 0x3185, 0x3178, 0x2482, 0x3178, 0x3178, | 1338 | 0x3202, 0x4202, 0x5202, 0x6202, 0x7202, 0x6605, 0x7605, 0x7805, |
1109 | 0x1078, 0x23eb, 0x681c, 0xa084, 0x2000, 0x0040, 0x3193, 0x6008, | 1339 | 0x7a05, 0x7c05, 0x7e05, 0x7f05, 0x2202, 0x3202, 0x4202, 0x5202, |
1110 | 0xa085, 0x0002, 0x600a, 0x0078, 0x3193, 0x68c0, 0xa005, 0x00c0, | 1340 | 0x5404, 0x6404, 0x7404, 0x7604, 0x7804, 0x7a04, 0x7c04, 0x7e04, |
1111 | 0x31af, 0x6920, 0xa18d, 0x0001, 0x6922, 0x68c3, 0x0001, 0x6800, | 1341 | 0x7f04, 0x789b, 0x0010, 0xa046, 0x007c, 0xa784, 0x0f00, 0x800b, |
1112 | 0x706a, 0x0078, 0x31a9, 0x6920, 0xa18d, 0x0001, 0x6922, 0x6800, | 1342 | 0xa784, 0x001f, 0x8003, 0x8003, 0x8003, 0x8003, 0xa105, 0xa0e0, |
1113 | 0x6006, 0xa005, 0x00c0, 0x319d, 0x6002, 0x681c, 0xa084, 0x000e, | 1343 | 0x5500, 0x007c, 0x79d8, 0x7adc, 0x78d0, 0x801b, 0x00c8, 0x38d1, |
1114 | 0x0040, 0x31a9, 0x7014, 0x68ba, 0x7130, 0xa188, 0x7400, 0x0078, | 1344 | 0x8000, 0xa084, 0x003f, 0xa108, 0xa291, 0x0000, 0x007c, 0x0f7e, |
1115 | 0x31ab, 0x2009, 0x7500, 0x2104, 0x6802, 0x2d0a, 0x7162, 0x6eb6, | 1345 | 0x2079, 0x0100, 0x2009, 0x5240, 0x2091, 0x8000, 0x2104, 0x0079, |
1116 | 0xa684, 0x0060, 0x0040, 0x3208, 0xa684, 0x0800, 0x00c0, 0x31c3, | 1346 | 0x38e1, 0x3917, 0x38eb, 0x38eb, 0x38eb, 0x38eb, 0x38eb, 0x38eb, |
1117 | 0xa684, 0x7fff, 0x68b6, 0x6894, 0x68a6, 0x6898, 0x68aa, 0x1078, | 1347 | 0x391b, 0x1078, 0x248c, 0x784b, 0x0004, 0x7848, 0xa084, 0x0004, |
1118 | 0x4776, 0x0078, 0x3208, 0xa684, 0x0020, 0x0040, 0x31d8, 0x68c0, | 1348 | 0x00c0, 0x38ed, 0x784b, 0x0008, 0x7848, 0xa084, 0x0008, 0x00c0, |
1119 | 0xa005, 0x0040, 0x31cf, 0x1078, 0x4b78, 0x0078, 0x31d2, 0xa006, | 1349 | 0x38f4, 0x68b4, 0xa085, 0x4000, 0x68b6, 0x7858, 0xa085, 0x4000, |
1120 | 0x1078, 0x4b30, 0x79d8, 0x7adc, 0x69aa, 0x6aa6, 0x0078, 0x31de, | 1350 | 0x785a, 0x7830, 0xa084, 0x0080, 0x00c0, 0x3917, 0x0018, 0x3917, |
1121 | 0x1078, 0x37fc, 0x69aa, 0x6aa6, 0x1078, 0x4b30, 0xa684, 0x8000, | 1351 | 0x681c, 0xa084, 0x0020, 0x00c0, 0x3915, 0x0e7e, 0x2071, 0x5240, |
1122 | 0x0040, 0x3208, 0xa684, 0x7fff, 0x68b6, 0x2001, 0x0076, 0x1078, | 1352 | 0x1078, 0x396a, 0x0e7f, 0x0078, 0x3917, 0x781b, 0x00ca, 0x2091, |
1123 | 0x3918, 0x2010, 0x2001, 0x0078, 0x1078, 0x3918, 0x2008, 0xa684, | 1353 | 0x8001, 0x0f7f, 0x007c, 0x70b3, 0x0000, 0x1078, 0x3b44, 0x0078, |
1124 | 0x0020, 0x00c0, 0x3200, 0x2001, 0x007a, 0x1078, 0x3918, 0x801b, | 1354 | 0x3917, 0x0c7e, 0x6814, 0x8007, 0xa084, 0x000f, 0x8003, 0x8003, |
1125 | 0x00c8, 0x31fb, 0x8000, 0xa084, 0x003f, 0xa108, 0xa291, 0x0000, | 1355 | 0x8003, 0xa0e0, 0x5480, 0x6004, 0xa084, 0x000a, 0x00c0, 0x3954, |
1126 | 0x6b98, 0x2100, 0xa302, 0x68b2, 0x6b94, 0x2200, 0xa303, 0x68ae, | 1356 | 0x6108, 0xa194, 0xff00, 0x0040, 0x3954, 0xa18c, 0x00ff, 0x2001, |
1127 | 0x0078, 0x2482, 0x0078, 0x36ad, 0x7037, 0x0000, 0xa282, 0x0006, | 1357 | 0x0019, 0xa106, 0x0040, 0x3943, 0x2001, 0x0032, 0xa106, 0x0040, |
1128 | 0x0050, 0x3214, 0x1078, 0x23eb, 0x7000, 0xa084, 0x0007, 0x10c0, | 1358 | 0x3947, 0x0078, 0x394b, 0x2009, 0x0020, 0x0078, 0x394d, 0x2009, |
1129 | 0x39be, 0x2300, 0x0079, 0x321c, 0x321f, 0x3248, 0x325c, 0x2200, | 1359 | 0x003f, 0x0078, 0x394d, 0x2011, 0x0000, 0x2100, 0xa205, 0x600a, |
1130 | 0x0079, 0x3222, 0x3246, 0x36ad, 0x3228, 0x3246, 0x3278, 0x32ba, | 1360 | 0x6004, 0xa085, 0x0002, 0x6006, 0x0c7f, 0x007c, 0x781b, 0x0065, |
1131 | 0x7003, 0x0005, 0x2001, 0x7610, 0x2068, 0x704a, 0x157e, 0x20a9, | 1361 | 0x0078, 0x24fa, 0x782b, 0x3008, 0x781b, 0x0065, 0x0078, 0x24fa, |
1132 | 0x0031, 0x2003, 0x0000, 0x8000, 0x0070, 0x3238, 0x0078, 0x3231, | 1362 | 0x781b, 0x0058, 0x0078, 0x24fa, 0x782b, 0x3008, 0x781b, 0x0056, |
1133 | 0x157f, 0xad80, 0x0009, 0x7036, 0x6817, 0x0000, 0x68b7, 0x0700, | 1363 | 0x0078, 0x24fa, 0x2009, 0x5220, 0x210c, 0xa186, 0x0000, 0x0040, |
1134 | 0x6823, 0x0800, 0x6827, 0x0003, 0x0078, 0x369d, 0x1078, 0x23eb, | 1364 | 0x397e, 0xa186, 0x0001, 0x0040, 0x3981, 0x2009, 0x5238, 0x200b, |
1135 | 0x7003, 0x0005, 0x2001, 0x7610, 0x2068, 0x704a, 0xad80, 0x0009, | 1365 | 0x000b, 0x706f, 0x0001, 0x781b, 0x0048, 0x007c, 0x781b, 0x00c4, |
1136 | 0x7036, 0x2200, 0x0079, 0x3254, 0x36ad, 0x325a, 0x325a, 0x3278, | 1366 | 0x007c, 0x2009, 0x5238, 0x200b, 0x000a, 0x007c, 0x2009, 0x5220, |
1137 | 0x325a, 0x36ad, 0x1078, 0x23eb, 0x7003, 0x0005, 0x2001, 0x7610, | 1367 | 0x210c, 0xa186, 0x0000, 0x0040, 0x39a1, 0xa186, 0x0001, 0x0040, |
1138 | 0x2068, 0x704a, 0xad80, 0x0009, 0x7036, 0x2200, 0x0079, 0x3268, | 1368 | 0x399b, 0x2009, 0x5238, 0x200b, 0x000b, 0x706f, 0x0001, 0x781b, |
1139 | 0x3270, 0x326e, 0x326e, 0x3270, 0x326e, 0x3270, 0x1078, 0x23eb, | 1369 | 0x0048, 0x0078, 0x24fa, 0x2009, 0x5238, 0x200b, 0x000a, 0x0078, |
1140 | 0x1078, 0x36d1, 0x782b, 0x3008, 0x781b, 0x0065, 0x0078, 0x2459, | 1370 | 0x24fa, 0x782b, 0x3008, 0x781b, 0x00c4, 0x0078, 0x24fa, 0x781b, |
1141 | 0x7003, 0x0002, 0x7a80, 0xa294, 0x0f00, 0x789b, 0x0018, 0x7ca8, | 1371 | 0x00ca, 0x0078, 0x24fa, 0x782b, 0x3008, 0x781b, 0x00ca, 0x0078, |
1142 | 0xa484, 0x001f, 0xa215, 0x2069, 0x7500, 0x2d04, 0x2d08, 0x7162, | 1372 | 0x24fa, 0x781b, 0x008f, 0x0078, 0x24fa, 0x782b, 0x3008, 0x781b, |
1143 | 0x2068, 0xa005, 0x0040, 0x3293, 0x6814, 0xa206, 0x0040, 0x32af, | 1373 | 0x008f, 0x0078, 0x24fa, 0x6818, 0xa084, 0x8000, 0x0040, 0x39c2, |
1144 | 0x6800, 0x0078, 0x3286, 0x7003, 0x0005, 0x2001, 0x7610, 0x2068, | 1374 | 0x681b, 0x001d, 0x706f, 0x0001, 0x781b, 0x0048, 0x0078, 0x24fa, |
1145 | 0x704a, 0x7036, 0x157e, 0x20a9, 0x0031, 0x2003, 0x0000, 0x8000, | 1375 | 0x007e, 0x7830, 0xa084, 0x00c0, 0x00c0, 0x39de, 0x7808, 0xa084, |
1146 | 0x0070, 0x32a4, 0x0078, 0x329d, 0x157f, 0xad80, 0x0009, 0x7036, | 1376 | 0xfffc, 0x780a, 0x0005, 0x0005, 0x0005, 0x0005, 0x78ec, 0xa084, |
1147 | 0x6a16, 0x68b7, 0x0700, 0x6823, 0x0800, 0x6827, 0x0003, 0x6eb4, | 1377 | 0x0021, 0x0040, 0x39de, 0x7044, 0x780a, 0xa005, 0x007f, 0x007c, |
1148 | 0x7e5a, 0x6820, 0xa084, 0x0c00, 0x0040, 0x3309, 0x1078, 0x36c9, | 1378 | 0x7044, 0xa085, 0x0002, 0x7046, 0x780a, 0x007c, 0x007e, 0x7830, |
1149 | 0x0078, 0x3309, 0x7003, 0x0002, 0x7a80, 0xa294, 0x0f00, 0x789b, | 1379 | 0xa084, 0x0040, 0x00c0, 0x39e7, 0x0098, 0x39f2, 0x007f, 0x789a, |
1150 | 0x0018, 0x7ca8, 0xa484, 0x001f, 0xa215, 0x79a8, 0x79a8, 0xa18c, | 1380 | 0x78ac, 0x007c, 0x7808, 0xa084, 0xfffd, 0x780a, 0x0005, 0x0005, |
1151 | 0x00ff, 0xa1e8, 0x7400, 0x2d04, 0x2d08, 0x7162, 0x2068, 0xa005, | 1381 | 0x0005, 0x0005, 0x78ec, 0xa084, 0x0021, 0x0040, 0x3a01, 0x0098, |
1152 | 0x0040, 0x32d9, 0x6814, 0xa206, 0x0040, 0x32f4, 0x6800, 0x0078, | 1382 | 0x39ff, 0x007f, 0x789a, 0x78ac, 0x007e, 0x7044, 0x780a, 0x007f, |
1153 | 0x32cc, 0x7003, 0x0005, 0x2001, 0x7610, 0x2068, 0x704a, 0x157e, | 1383 | 0x007c, 0x78ec, 0xa084, 0x0002, 0x00c0, 0x4871, 0xa784, 0x007d, |
1154 | 0x20a9, 0x0031, 0x2003, 0x0000, 0x8000, 0x0070, 0x32e9, 0x0078, | 1384 | 0x00c0, 0x3a15, 0x2700, 0x1078, 0x248c, 0xa784, 0x0001, 0x00c0, |
1155 | 0x32e2, 0x157f, 0xad80, 0x0009, 0x7036, 0x6a16, 0x68b7, 0x0700, | 1385 | 0x300c, 0xa784, 0x0070, 0x0040, 0x3a25, 0x0c7e, 0x2d60, 0x2f68, |
1156 | 0x6823, 0x0800, 0x6827, 0x0003, 0x6eb4, 0x7e5a, 0x6820, 0xa084, | 1386 | 0x1078, 0x2437, 0x2d78, 0x2c68, 0x0c7f, 0xa784, 0x0008, 0x0040, |
1157 | 0x0c00, 0x0040, 0x3309, 0xa084, 0x0800, 0x0040, 0x3303, 0x1078, | 1387 | 0x3a32, 0x784b, 0x0008, 0x78ec, 0xa084, 0x0003, 0x0040, 0x2523, |
1158 | 0x36cd, 0x0078, 0x3309, 0x1078, 0x36c9, 0x708b, 0x0000, 0x0078, | 1388 | 0x0078, 0x3956, 0xa784, 0x0004, 0x0040, 0x3a65, 0x78b8, 0xa084, |
1159 | 0x3309, 0x027e, 0x8207, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, | 1389 | 0x4001, 0x0040, 0x3a65, 0x784b, 0x0008, 0x78ec, 0xa084, 0x0003, |
1160 | 0xa080, 0x5380, 0x2060, 0x7056, 0x6000, 0x705a, 0x6004, 0x705e, | 1390 | 0x0040, 0x2523, 0x78e4, 0xa084, 0x0007, 0xa086, 0x0001, 0x00c0, |
1161 | 0xa684, 0x0060, 0x0040, 0x3361, 0x6b98, 0x6c94, 0x69ac, 0x68b0, | 1391 | 0x3a65, 0x78c0, 0xa085, 0x4800, 0x2030, 0x7e5a, 0x781b, 0x00ca, |
1162 | 0xa105, 0x00c0, 0x3343, 0x7bd2, 0x7bda, 0x7cd6, 0x7cde, 0xa6b4, | 1392 | 0x0078, 0x24fa, 0x784b, 0x0008, 0x6818, 0xa084, 0x8000, 0x0040, |
1163 | 0xb7ff, 0x7e5a, 0xa684, 0x0060, 0xa086, 0x0060, 0x0040, 0x3361, | 1393 | 0x3a61, 0x681b, 0x0015, 0xa684, 0x4000, 0x0040, 0x3a61, 0x681b, |
1164 | 0x68c0, 0xa005, 0x0040, 0x333c, 0x7003, 0x0003, 0x682b, 0x0000, | 1394 | 0x0007, 0x1078, 0x396a, 0x0078, 0x24fa, 0x681b, 0x0003, 0x7858, |
1165 | 0x1078, 0x4a29, 0x0078, 0x333e, 0x1078, 0x4a3a, 0xa6b5, 0x2000, | 1395 | 0xa084, 0x3f00, 0x681e, 0x682f, 0x0000, 0x6833, 0x0000, 0x784b, |
1166 | 0x7e5a, 0x0078, 0x3361, 0x68b0, 0xa31a, 0x2100, 0xa423, 0x2400, | 1396 | 0x0008, 0x78ec, 0xa084, 0x0003, 0x0040, 0x2a06, 0x0018, 0x24fa, |
1167 | 0xa305, 0x0040, 0x3361, 0x7bd2, 0x7bda, 0x7cd6, 0x7cde, 0x68b0, | 1397 | 0x0078, 0x3773, 0x6b14, 0x8307, 0xa084, 0x000f, 0x8003, 0x8003, |
1168 | 0xa6b4, 0xbfff, 0x7e5a, 0x007e, 0x68c0, 0xa005, 0x007f, 0x0040, | 1398 | 0x8003, 0xa080, 0x5480, 0x2060, 0x2048, 0x7056, 0x6000, 0x705a, |
1169 | 0x335f, 0x7003, 0x0003, 0x1078, 0x4a29, 0x0078, 0x3361, 0x1078, | 1399 | 0x6004, 0x705e, 0x2a60, 0x007c, 0x0079, 0x3a8e, 0x3a96, 0x3a97, |
1170 | 0x4a85, 0x077f, 0x1078, 0x37ef, 0x2009, 0x0065, 0xa684, 0x0004, | 1400 | 0x3a96, 0x3a99, 0x3a96, 0x3a96, 0x3a96, 0x3a9e, 0x007c, 0x1078, |
1171 | 0x0040, 0x3382, 0x78e4, 0xa084, 0x0030, 0x0040, 0x337a, 0x78ec, | 1401 | 0x34b8, 0x1078, 0x4887, 0x7038, 0x600a, 0x007c, 0x70a0, 0xa005, |
1172 | 0xa084, 0x0003, 0x0040, 0x337a, 0x782b, 0x3008, 0x2009, 0x0065, | 1402 | 0x0040, 0x3aab, 0x2068, 0x1078, 0x1bd3, 0x1078, 0x47fe, 0x1078, |
1173 | 0x0078, 0x3382, 0x0f7e, 0x2079, 0x5100, 0x1078, 0x4776, 0x0f7f, | 1403 | 0x4805, 0x70a3, 0x0000, 0x007c, 0x0e7e, 0x2091, 0x8000, 0x2071, |
1174 | 0x0040, 0x2482, 0x791a, 0x2d00, 0x704a, 0x8207, 0xa084, 0x000f, | 1404 | 0x5240, 0x7000, 0xa086, 0x0007, 0x00c0, 0x3ac2, 0x6110, 0x70bc, |
1175 | 0x8003, 0x8003, 0x8003, 0xa080, 0x5380, 0x2048, 0x0078, 0x2459, | 1405 | 0xa106, 0x00c0, 0x3ac2, 0x0e7f, 0x1078, 0x1be0, 0x1078, 0x3ac8, |
1176 | 0x6020, 0xa005, 0x0040, 0x339c, 0x8001, 0x6022, 0x6008, 0xa085, | 1406 | 0xa006, 0x007c, 0x2091, 0x8001, 0x0e7f, 0xa085, 0x0001, 0x007c, |
1177 | 0x0008, 0x600a, 0x7010, 0x6026, 0x007c, 0xa006, 0x1078, 0x4776, | 1407 | 0x0f7e, 0x0e7e, 0x2071, 0x5240, 0x0078, 0x2297, 0x785b, 0x0000, |
1178 | 0x6817, 0x0000, 0x681b, 0x0001, 0x6823, 0x0040, 0x681f, 0x0100, | 1408 | 0x70af, 0x000e, 0x2009, 0x0100, 0x017e, 0x70a0, 0xa06d, 0x0040, |
1179 | 0x7000, 0xa084, 0x0007, 0x0079, 0x33ad, 0x2482, 0x33b7, 0x33b7, | 1409 | 0x3add, 0x70a3, 0x0000, 0x0078, 0x3ae3, 0x70b3, 0x0000, 0x1078, |
1180 | 0x33d4, 0x33bf, 0x33bd, 0x33bf, 0x33b5, 0x1078, 0x23eb, 0x1078, | 1410 | 0x1c0c, 0x0040, 0x3ae9, 0x70ac, 0x6826, 0x1078, 0x3bc6, 0x0078, |
1181 | 0x33df, 0x1078, 0x33d8, 0x1078, 0x1c70, 0x0078, 0x2482, 0x706c, | 1411 | 0x3add, 0x017f, 0x157e, 0x0c7e, 0x0d7e, 0x20a9, 0x0008, 0x2061, |
1182 | 0x706f, 0x0000, 0x7093, 0x0000, 0x0079, 0x33c6, 0x33d0, 0x33d0, | 1412 | 0x7610, 0x6000, 0xa105, 0x6002, 0x601c, 0xa06d, 0x0040, 0x3b01, |
1183 | 0x33ce, 0x33ce, 0x33ce, 0x33d0, 0x33ce, 0x33d0, 0x0079, 0x2861, | 1413 | 0x6800, 0x601e, 0x1078, 0x19ac, 0x6008, 0x8000, 0x600a, 0x0078, |
1184 | 0x706f, 0x0000, 0x0078, 0x2482, 0x681b, 0x0000, 0x0078, 0x2f17, | 1414 | 0x3af4, 0x6018, 0xa06d, 0x0040, 0x3b0b, 0x6800, 0x601a, 0x1078, |
1185 | 0x6800, 0xa005, 0x00c0, 0x33dd, 0x6002, 0x6006, 0x007c, 0x6010, | 1415 | 0x19ac, 0x0078, 0x3b01, 0xace0, 0x0008, 0x0070, 0x3b11, 0x0078, |
1186 | 0xa005, 0x0040, 0x33e8, 0x8001, 0x00d0, 0x33e8, 0x1078, 0x23eb, | 1416 | 0x3af1, 0x709c, 0xa084, 0x8000, 0x0040, 0x3b18, 0x1078, 0x3c44, |
1187 | 0x6012, 0x6008, 0xa084, 0xffef, 0x600a, 0x007c, 0x6018, 0xa005, | 1417 | 0x0d7f, 0x0c7f, 0x157f, 0x007c, 0x127e, 0x2091, 0x2300, 0x6804, |
1188 | 0x0040, 0x33f4, 0x8001, 0x601a, 0x007c, 0x1078, 0x3912, 0x681b, | 1418 | 0xa084, 0x000f, 0x0079, 0x3b24, 0x3b34, 0x3b34, 0x3b34, 0x3b34, |
1189 | 0x0018, 0x0078, 0x342b, 0x1078, 0x3912, 0x681b, 0x0019, 0x0078, | 1419 | 0x3b34, 0x3b34, 0x3b36, 0x3b3c, 0x3b34, 0x3b34, 0x3b34, 0x3b34, |
1190 | 0x342b, 0x1078, 0x3912, 0x681b, 0x001a, 0x0078, 0x342b, 0x1078, | 1420 | 0x3b34, 0x3b3e, 0x3b34, 0x3b36, 0x1078, 0x248c, 0x1078, 0x45d3, |
1191 | 0x3912, 0x681b, 0x0003, 0x0078, 0x342b, 0x7780, 0x1078, 0x37ef, | 1421 | 0x1078, 0x19ac, 0x0078, 0x3b42, 0x6827, 0x000b, 0x1078, 0x45d3, |
1192 | 0x7184, 0xa18c, 0x00ff, 0xa1e8, 0x7400, 0x2d04, 0x2d08, 0x2068, | 1422 | 0x1078, 0x3bc6, 0x127f, 0x007c, 0x127e, 0x2091, 0x2300, 0x0098, |
1193 | 0xa005, 0x00c0, 0x341d, 0x0078, 0x2482, 0x6814, 0x7280, 0xa206, | 1423 | 0x3b60, 0x7830, 0xa084, 0x00c0, 0x00c0, 0x3b60, 0x0d7e, 0x1078, |
1194 | 0x0040, 0x3425, 0x6800, 0x0078, 0x3416, 0x6800, 0x200a, 0x681b, | 1424 | 0x4812, 0x2d00, 0x682e, 0x2009, 0x0004, 0x2001, 0x0000, 0x6827, |
1195 | 0x0005, 0x708b, 0x0000, 0x1078, 0x33df, 0x6820, 0xa084, 0x0001, | 1425 | 0x0084, 0x1078, 0x47c7, 0x1078, 0x3bc6, 0x0d7f, 0x0078, 0x3b94, |
1196 | 0x00c0, 0x3434, 0x1078, 0x33d8, 0x1078, 0x33ee, 0x681f, 0x0000, | 1426 | 0x7948, 0xa185, 0x4000, 0x784a, 0x0098, 0x3b69, 0x794a, 0x0078, |
1197 | 0x6823, 0x0020, 0x1078, 0x1c70, 0x0078, 0x2482, 0xa282, 0x0003, | 1427 | 0x3b4e, 0x7828, 0xa086, 0x1834, 0x00c0, 0x3b72, 0xa185, 0x0004, |
1198 | 0x00c0, 0x369d, 0x7da8, 0xa5ac, 0x00ff, 0x7ca8, 0xa4a4, 0x00ff, | 1428 | 0x0078, 0x3b79, 0x7828, 0xa086, 0x1814, 0x00c0, 0x3b66, 0xa185, |
1199 | 0x6920, 0xa18d, 0x0080, 0x6922, 0xa184, 0x0100, 0x0040, 0x34a2, | 1429 | 0x000c, 0x784a, 0x789b, 0x000e, 0x78ab, 0x0002, 0x7858, 0xa084, |
1200 | 0xa18c, 0xfeff, 0x6922, 0xa4a4, 0x00ff, 0x0040, 0x348c, 0xa482, | 1430 | 0x00ff, 0xa085, 0x0400, 0x785a, 0x70b4, 0xa080, 0x0091, 0x781a, |
1201 | 0x000c, 0x0048, 0x345f, 0x0040, 0x345f, 0x2021, 0x000c, 0x852b, | 1431 | 0x6827, 0x0284, 0x682c, 0x6836, 0x6830, 0x683a, 0x2009, 0x0004, |
1202 | 0x852b, 0x1078, 0x3760, 0x0040, 0x3469, 0x1078, 0x355b, 0x0078, | 1432 | 0x2001, 0x0000, 0x1078, 0x47c7, 0x127f, 0x007c, 0x0d7e, 0x6b14, |
1203 | 0x3495, 0x1078, 0x371b, 0x0c7e, 0x2960, 0x6004, 0xa084, 0xfff5, | 1433 | 0x1078, 0x1c70, 0x0040, 0x3ba3, 0x2068, 0x6827, 0x0002, 0x1078, |
1204 | 0x6006, 0x1078, 0x3586, 0x0c7f, 0x6920, 0xa18d, 0x0100, 0x6922, | 1434 | 0x3bc6, 0x0078, 0x3b98, 0x0d7f, 0x007c, 0x0d7e, 0x6b14, 0x6c28, |
1205 | 0x7e58, 0xa6b5, 0x0004, 0x7e5a, 0xa684, 0x0400, 0x00c0, 0x3486, | 1435 | 0xa4a4, 0x00ff, 0x1078, 0x1c1c, 0x0040, 0x3bb3, 0x2068, 0x6827, |
1206 | 0x782b, 0x3008, 0x781b, 0x0056, 0x0078, 0x2459, 0x782b, 0x3008, | 1436 | 0x0002, 0x1078, 0x3bc6, 0x0d7f, 0x007c, 0x0d7e, 0x6b14, 0xa39c, |
1207 | 0x781b, 0x0065, 0x0078, 0x2459, 0x0c7e, 0x2960, 0x6004, 0xa084, | 1437 | 0x00ff, 0x1078, 0x1c48, 0x0040, 0x3bc4, 0x2068, 0x6827, 0x0002, |
1208 | 0xfff5, 0x6006, 0x1078, 0x3586, 0x0c7f, 0x7e58, 0xa684, 0x0400, | 1438 | 0x1078, 0x3bc6, 0x0078, 0x3bb9, 0x0d7f, 0x007c, 0x0c7e, 0x6914, |
1209 | 0x00c0, 0x349e, 0x781b, 0x0058, 0x0078, 0x2459, 0x781b, 0x0065, | 1439 | 0x1078, 0x3c3b, 0x6904, 0xa18c, 0x00ff, 0xa186, 0x0006, 0x0040, |
1210 | 0x0078, 0x2459, 0x0c7e, 0x7054, 0x2060, 0x6100, 0xa18c, 0x1000, | 1440 | 0x3be1, 0xa186, 0x000d, 0x0040, 0x3c00, 0xa186, 0x0017, 0x00c0, |
1211 | 0x0040, 0x34e2, 0x6208, 0x8217, 0xa294, 0x00ff, 0xa282, 0x000c, | 1441 | 0x3bdd, 0x1078, 0x19ac, 0x0078, 0x3bdf, 0x1078, 0x1cde, 0x0c7f, |
1212 | 0x0048, 0x34b6, 0x0040, 0x34b6, 0x2011, 0x000c, 0x2400, 0xa202, | 1442 | 0x007c, 0x6004, 0x8001, 0x0048, 0x3bfe, 0x6006, 0x2009, 0x0000, |
1213 | 0x00c8, 0x34bb, 0x2220, 0x6208, 0xa294, 0x00ff, 0x7018, 0xa086, | 1443 | 0xa684, 0x0001, 0x00c0, 0x3bee, 0xa18d, 0x8000, 0xa684, 0x0004, |
1214 | 0x0028, 0x00c0, 0x34cb, 0xa282, 0x0019, 0x00c8, 0x34d1, 0x2011, | 1444 | 0x0040, 0x3bf4, 0xa18d, 0x0002, 0x691e, 0x6823, 0x0000, 0x7104, |
1215 | 0x0019, 0x0078, 0x34d1, 0xa282, 0x000c, 0x00c8, 0x34d1, 0x2011, | 1445 | 0x810f, 0x6818, 0xa105, 0x681a, 0x0078, 0x3bdd, 0x1078, 0x248c, |
1216 | 0x000c, 0x2200, 0xa502, 0x00c8, 0x34d6, 0x2228, 0x1078, 0x371f, | 1446 | 0x6018, 0xa005, 0x00c0, 0x3c0f, 0x6008, 0x8001, 0x0048, 0x3c0f, |
1217 | 0x852b, 0x852b, 0x1078, 0x3760, 0x0040, 0x34e2, 0x1078, 0x355b, | 1447 | 0x600a, 0x601c, 0x6802, 0x2d00, 0x601e, 0x0078, 0x3c25, 0xac88, |
1218 | 0x0078, 0x34e6, 0x1078, 0x371b, 0x1078, 0x3586, 0x7858, 0xa085, | 1448 | 0x0006, 0x2104, 0xa005, 0x0040, 0x3c18, 0x2008, 0x0078, 0x3c11, |
1219 | 0x0004, 0x785a, 0x0c7f, 0x782b, 0x3008, 0x781b, 0x0065, 0x0078, | 1449 | 0x6802, 0x2d0a, 0x6008, 0x8001, 0x0048, 0x3bdf, 0x600a, 0x6018, |
1220 | 0x2459, 0x0c7e, 0x2960, 0x6000, 0xa084, 0x1000, 0x00c0, 0x3509, | 1450 | 0x2068, 0x6800, 0x601a, 0x0078, 0x3c09, 0x157e, 0x137e, 0x147e, |
1221 | 0x6010, 0xa084, 0x000f, 0x00c0, 0x3503, 0x6104, 0xa18c, 0xfff5, | 1451 | 0x0c7e, 0x0d7e, 0x1078, 0x1989, 0x00c0, 0x3c30, 0x1078, 0x248c, |
1222 | 0x6106, 0x0c7f, 0x007c, 0x2011, 0x0032, 0x2019, 0x0000, 0x0078, | 1452 | 0x2da0, 0x137f, 0x20a9, 0x0031, 0x53a3, 0x0c7f, 0x147f, 0x137f, |
1223 | 0x3530, 0x68a0, 0xa084, 0x0200, 0x00c0, 0x3503, 0x6208, 0xa294, | 1453 | 0x157f, 0x0078, 0x3bdd, 0xa184, 0x001f, 0x8003, 0x8003, 0x8003, |
1224 | 0x00ff, 0x7018, 0xa086, 0x0028, 0x00c0, 0x351e, 0xa282, 0x0019, | 1454 | 0xa080, 0x7610, 0x2060, 0x007c, 0x2019, 0x5251, 0x2304, 0xa085, |
1225 | 0x00c8, 0x3524, 0x2011, 0x0019, 0x0078, 0x3524, 0xa282, 0x000c, | 1455 | 0x0001, 0x201a, 0x2019, 0x0102, 0x2304, 0xa085, 0x0001, 0x201a, |
1226 | 0x00c8, 0x3524, 0x2011, 0x000c, 0x6308, 0x831f, 0xa39c, 0x00ff, | 1456 | 0x007c, 0x2019, 0x5251, 0x2304, 0xa084, 0xfffe, 0x201a, 0x2019, |
1227 | 0xa382, 0x000c, 0x0048, 0x3530, 0x0040, 0x3530, 0x2019, 0x000c, | 1457 | 0x0102, 0x2304, 0xa084, 0xfffe, 0x201a, 0x007c, 0x7990, 0xa18c, |
1228 | 0x78ab, 0x0001, 0x78ab, 0x0003, 0x78ab, 0x0001, 0x7aaa, 0x7baa, | 1458 | 0xfff8, 0x7992, 0x70b4, 0xa080, 0x00d8, 0x781a, 0x0078, 0x24fa, |
1229 | 0xa8c0, 0x0005, 0x6820, 0xa085, 0x0100, 0x6822, 0x0c7f, 0x007c, | 1459 | 0x70a3, 0x0000, 0x7003, 0x0000, 0x7043, 0x0001, 0x7037, 0x0000, |
1230 | 0x0c7e, 0x2960, 0xa18c, 0xfff5, 0x6106, 0x2011, 0x0032, 0x2019, | 1460 | 0x0018, 0x24b1, 0x1078, 0x1c0c, 0x0040, 0x3c99, 0x2009, 0x520f, |
1231 | 0x0000, 0x0078, 0x354b, 0x78ab, 0x0001, 0x78ab, 0x0003, 0x78ab, | 1461 | 0x200b, 0x0000, 0x68bc, 0x2060, 0x6100, 0xa184, 0x0300, 0x0040, |
1232 | 0x0001, 0x7aaa, 0x7baa, 0xa8c0, 0x0005, 0x6820, 0xa085, 0x0100, | 1462 | 0x3c8d, 0x6827, 0x000e, 0xa084, 0x0200, 0x0040, 0x3c89, 0x6827, |
1233 | 0x6822, 0x0c7f, 0x007c, 0x0c7e, 0x7154, 0x2160, 0x1078, 0x3562, | 1463 | 0x0017, 0x1078, 0x3bc6, 0x0078, 0x3c68, 0x7000, 0xa086, 0x0007, |
1234 | 0x0c7f, 0x007c, 0x2008, 0xa084, 0xfff0, 0xa425, 0x7c86, 0x6018, | 1464 | 0x00c0, 0x3d0d, 0x2d00, 0x70a2, 0xad80, 0x000f, 0x7036, 0x0078, |
1235 | 0x789a, 0x7cae, 0x6412, 0x78a4, 0xa084, 0xfff8, 0xa18c, 0x0007, | 1465 | 0x3ca0, 0x7040, 0xa086, 0x0001, 0x0040, 0x2533, 0x0078, 0x24fa, |
1236 | 0xa105, 0x78a6, 0x6016, 0x788a, 0xa4a4, 0x000f, 0x8427, 0x8204, | 1466 | 0x2031, 0x0000, 0x691c, 0xa184, 0x0002, 0x0040, 0x3ca9, 0xa6b5, |
1237 | 0x8004, 0xa084, 0x00ff, 0xa405, 0x600e, 0x78ec, 0xd08c, 0x00c0, | 1467 | 0x0004, 0xa184, 0x00c0, 0x8003, 0x8003, 0x8007, 0xa080, 0x3da6, |
1238 | 0x3585, 0x6004, 0xa084, 0xfff5, 0x6006, 0x007c, 0x0c7e, 0x7054, | 1468 | 0x2004, 0xa635, 0x6820, 0xa084, 0x0400, 0x0040, 0x3cc1, 0x789b, |
1239 | 0x2060, 0x1078, 0x358d, 0x0c7f, 0x007c, 0x6018, 0x789a, 0x78a4, | 1469 | 0x0018, 0x78ab, 0x0003, 0x789b, 0x0081, 0x78ab, 0x0001, 0xa6b5, |
1240 | 0xa084, 0xfff0, 0x78a6, 0x6012, 0x7884, 0xa084, 0xfff0, 0x7886, | 1470 | 0x5000, 0x6820, 0xa084, 0x8000, 0x0040, 0x3ccf, 0xa6b5, 0x0400, |
1241 | 0x007c, 0xa282, 0x0002, 0x00c0, 0x369d, 0x7aa8, 0x6920, 0xa18d, | 1471 | 0x789b, 0x000e, 0x6824, 0x8007, 0x78aa, 0x0078, 0x3cef, 0x681c, |
1242 | 0x0080, 0x6922, 0xa184, 0x0200, 0x0040, 0x35e2, 0xa18c, 0xfdff, | 1472 | 0xd0fc, 0x00c0, 0x3cdd, 0xa6b5, 0x0800, 0x6820, 0xd0c4, 0x0040, |
1243 | 0x6922, 0xa294, 0x00ff, 0xa282, 0x0002, 0x00c8, 0x369d, 0x1078, | 1473 | 0x3cef, 0xa6b5, 0x4000, 0x0078, 0x3cef, 0x6820, 0xd0c4, 0x0040, |
1244 | 0x362b, 0x1078, 0x3586, 0xa980, 0x0001, 0x200c, 0x1078, 0x37eb, | 1474 | 0x3ce5, 0xa6b5, 0x4000, 0x0078, 0x3cef, 0x789b, 0x0018, 0x78ab, |
1245 | 0x1078, 0x34f1, 0x88ff, 0x0040, 0x35d5, 0x789b, 0x0060, 0x2800, | 1475 | 0x0002, 0x789b, 0x0081, 0x78ab, 0x0001, 0xa6b5, 0x1000, 0xa684, |
1246 | 0x78aa, 0x7e58, 0xa6b5, 0x0004, 0x7e5a, 0xa684, 0x0400, 0x00c0, | 1476 | 0x0200, 0x0040, 0x3d09, 0x682c, 0x78d2, 0x6830, 0x78d6, 0xa684, |
1247 | 0x35cf, 0x782b, 0x3008, 0x781b, 0x0056, 0x0078, 0x2459, 0x782b, | 1477 | 0x0100, 0x0040, 0x3d07, 0x682c, 0xa084, 0x0001, 0x0040, 0x3d07, |
1248 | 0x3008, 0x781b, 0x0065, 0x0078, 0x2459, 0x7e58, 0xa684, 0x0400, | 1478 | 0x7888, 0xa084, 0x0040, 0x0040, 0x3d07, 0xa6b5, 0x8000, 0x1078, |
1249 | 0x00c0, 0x35de, 0x781b, 0x0058, 0x0078, 0x2459, 0x781b, 0x0065, | 1479 | 0x47f6, 0x7e5a, 0x6eb6, 0x0078, 0x4835, 0x1078, 0x39c8, 0x00c0, |
1250 | 0x0078, 0x2459, 0xa282, 0x0002, 0x00c8, 0x35ea, 0xa284, 0x0001, | 1480 | 0x3da0, 0x702c, 0x8004, 0x0048, 0x3d1b, 0x2019, 0x4f49, 0x1078, |
1251 | 0x0040, 0x35f4, 0x7154, 0xa188, 0x0000, 0x210c, 0xa18c, 0x2000, | 1481 | 0x2313, 0x702f, 0x0001, 0x2041, 0x0001, 0x2031, 0x1000, 0x789b, |
1252 | 0x00c0, 0x35f4, 0x2011, 0x0000, 0x1078, 0x370d, 0x1078, 0x362b, | 1482 | 0x0018, 0x6814, 0xa084, 0x001f, 0xa085, 0x0080, 0x78aa, 0x691c, |
1253 | 0x1078, 0x3586, 0x7858, 0xa085, 0x0004, 0x785a, 0x782b, 0x3008, | 1483 | 0xa184, 0x0002, 0x0040, 0x3d34, 0xa6b5, 0x0004, 0x78ab, 0x0020, |
1254 | 0x781b, 0x0065, 0x0078, 0x2459, 0x0c7e, 0x027e, 0x2960, 0x6000, | 1484 | 0x6828, 0x78aa, 0xa8c0, 0x0002, 0x681c, 0xd0f4, 0x0040, 0x3d3d, |
1255 | 0x2011, 0x0001, 0xa084, 0x2000, 0x00c0, 0x361b, 0x6014, 0xa084, | 1485 | 0x2c50, 0x1078, 0x3a7a, 0x1078, 0x4702, 0x6820, 0xa084, 0x8000, |
1256 | 0x0040, 0x00c0, 0x3619, 0xa18c, 0xffef, 0x6106, 0xa006, 0x0078, | 1486 | 0x0040, 0x3d4b, 0xa6b5, 0x0400, 0x789b, 0x000e, 0x6824, 0x8007, |
1257 | 0x3628, 0x2011, 0x0000, 0x78ab, 0x0001, 0x78ab, 0x0002, 0x78ab, | 1487 | 0x78aa, 0x0078, 0x3d52, 0x681c, 0xa084, 0x8000, 0x00c0, 0x3d52, |
1258 | 0x0003, 0x7aaa, 0xa8c0, 0x0004, 0x6820, 0xa085, 0x0200, 0x6822, | 1488 | 0xa6b5, 0x0800, 0x6820, 0xa084, 0x0100, 0x0040, 0x3d59, 0xa6b5, |
1259 | 0x027f, 0x0c7f, 0x007c, 0x0c7e, 0x7054, 0x2060, 0x1078, 0x3632, | 1489 | 0x4000, 0x681c, 0xa084, 0x00c0, 0x8003, 0x8003, 0x8007, 0xa080, |
1260 | 0x0c7f, 0x007c, 0x82ff, 0x0040, 0x3637, 0x2011, 0x0040, 0x6018, | 1490 | 0x3da6, 0x2004, 0xa635, 0xa684, 0x0100, 0x0040, 0x3d73, 0x682c, |
1261 | 0xa080, 0x0002, 0x789a, 0x78a4, 0xa084, 0xffbf, 0xa205, 0x78a6, | 1491 | 0xa084, 0x0001, 0x0040, 0x3d73, 0x7888, 0xa084, 0x0040, 0x0040, |
1262 | 0x788a, 0x6016, 0x78ec, 0xd08c, 0x00c0, 0x364a, 0x6004, 0xa084, | 1492 | 0x3d73, 0xa6b5, 0x8000, 0x789b, 0x007e, 0x7eae, 0x6eb6, 0x6814, |
1263 | 0xffef, 0x6006, 0x007c, 0x007e, 0x7000, 0xa086, 0x0003, 0x0040, | 1493 | 0x8007, 0x78aa, 0x7882, 0x2810, 0x7aaa, 0x7830, 0xa084, 0x00c0, |
1264 | 0x3654, 0x007f, 0x0078, 0x3657, 0x007f, 0x0078, 0x3699, 0xa684, | 1494 | 0x00c0, 0x3da0, 0x0018, 0x3da0, 0x70b4, 0xa080, 0x00dd, 0x781a, |
1265 | 0x0020, 0x0040, 0x3699, 0x7888, 0xa084, 0x0040, 0x0040, 0x3699, | 1495 | 0x1078, 0x39e0, 0xa684, 0x0200, 0x0040, 0x3d94, 0x682c, 0x78d2, |
1266 | 0x7bb8, 0xa384, 0x003f, 0x831b, 0x00c8, 0x3667, 0x8000, 0xa005, | 1496 | 0x6830, 0x78d6, 0x1078, 0x47f6, 0x2d00, 0x70a2, 0x704a, 0x6810, |
1267 | 0x0040, 0x367d, 0x831b, 0x00c8, 0x3670, 0x8001, 0x0040, 0x3695, | 1497 | 0x70be, 0x7003, 0x0007, 0xad80, 0x000f, 0x7036, 0x0078, 0x24fa, |
1268 | 0xa684, 0x4000, 0x0040, 0x367d, 0x78b8, 0x801b, 0x00c8, 0x3679, | 1498 | 0x1078, 0x1bd3, 0x1078, 0x39e0, 0x0078, 0x24fa, 0x0000, 0x0300, |
1269 | 0x8000, 0xa084, 0x003f, 0x00c0, 0x3695, 0xa6b4, 0xbfff, 0x7e5a, | 1499 | 0x0200, 0x0000, 0x1078, 0x248c, 0x2300, 0x0079, 0x3daf, 0x3db2, |
1270 | 0x79d8, 0x7adc, 0x2001, 0x0001, 0xa108, 0x00c8, 0x3689, 0xa291, | 1500 | 0x3db2, 0x3db4, 0x1078, 0x248c, 0x1078, 0x4805, 0x6924, 0xa184, |
1271 | 0x0000, 0x79d2, 0x79da, 0x7ad6, 0x7ade, 0x1078, 0x4b30, 0x781b, | 1501 | 0x00ff, 0xa086, 0x000a, 0x0040, 0x3dc6, 0xa184, 0xff00, 0xa085, |
1272 | 0x0064, 0x1078, 0x49b5, 0x0078, 0x2459, 0x781b, 0x0064, 0x0078, | 1502 | 0x000a, 0x6826, 0x1078, 0x1bd3, 0x0078, 0x3c68, 0x2001, 0x000a, |
1273 | 0x2459, 0x781b, 0x0065, 0x0078, 0x2459, 0x1078, 0x36d5, 0x782b, | 1503 | 0x1078, 0x4797, 0x0078, 0x3c68, 0xa282, 0x0005, 0x0050, 0x3dd2, |
1274 | 0x3008, 0x781b, 0x0065, 0x0078, 0x2459, 0x1078, 0x36c1, 0x782b, | 1504 | 0x1078, 0x248c, 0x7000, 0xa084, 0x0007, 0x10c0, 0x3a8c, 0x1078, |
1275 | 0x3008, 0x781b, 0x0065, 0x0078, 0x2459, 0x6827, 0x0002, 0x1078, | 1505 | 0x1989, 0x00c0, 0x3df4, 0x2069, 0xffff, 0xa684, 0x0004, 0x0040, |
1276 | 0x36c9, 0x78e4, 0xa084, 0x0030, 0x0040, 0x2482, 0x78ec, 0xa084, | 1506 | 0x3de5, 0x2001, 0x2800, 0x0078, 0x3de7, 0x2001, 0x0800, 0x71b4, |
1277 | 0x0003, 0x0040, 0x2482, 0x782b, 0x3008, 0x781b, 0x0065, 0x0078, | 1507 | 0xa188, 0x0091, 0x789b, 0x000e, 0x8007, 0x78aa, 0x2031, 0x0400, |
1278 | 0x2459, 0x2001, 0x0005, 0x0078, 0x36d7, 0x2001, 0x000c, 0x0078, | 1508 | 0x7e5a, 0x791a, 0x0078, 0x24fa, 0x6807, 0x0106, 0x680b, 0x0000, |
1279 | 0x36d7, 0x2001, 0x0006, 0x0078, 0x36d7, 0x2001, 0x000d, 0x0078, | 1509 | 0x689f, 0x0000, 0x6827, 0x0000, 0xa386, 0x0002, 0x00c0, 0x3e15, |
1280 | 0x36d7, 0x2001, 0x0009, 0x0078, 0x36d7, 0x2001, 0x0007, 0x789b, | 1510 | 0xa286, 0x0002, 0x00c0, 0x3e15, 0x78a0, 0xa005, 0x00c0, 0x3e15, |
1281 | 0x0010, 0x78aa, 0x789b, 0x0060, 0x78ab, 0x0001, 0xa6b5, 0x0004, | 1511 | 0xa484, 0x8000, 0x00c0, 0x3e15, 0x78e4, 0xa084, 0x0008, 0x0040, |
1282 | 0x7e5a, 0x007c, 0x077e, 0x873f, 0xa7bc, 0x000f, 0x873b, 0x873b, | 1512 | 0x3e15, 0xa6b5, 0x0008, 0x2019, 0x0000, 0x1078, 0x4217, 0x2d00, |
1283 | 0x8703, 0xa0e0, 0x5380, 0xa7b8, 0x0020, 0x7f9a, 0x79a4, 0xa184, | 1513 | 0x70a2, 0x704a, 0x7003, 0x0007, 0x7037, 0x0000, 0x6824, 0xa084, |
1284 | 0x000f, 0x0040, 0x36fb, 0xa184, 0xfff0, 0x78a6, 0x6012, 0x6004, | 1514 | 0x0080, 0x0040, 0x3e27, 0x1078, 0x42cd, 0x0078, 0x24fa, 0x2300, |
1285 | 0xa085, 0x0008, 0x6006, 0x8738, 0x8738, 0x7f9a, 0x79a4, 0xa184, | 1515 | 0x0079, 0x3e2a, 0x3e2d, 0x3eae, 0x3ec7, 0x2200, 0x0079, 0x3e30, |
1286 | 0x0040, 0x0040, 0x370b, 0xa184, 0xffbf, 0x78a6, 0x6016, 0x6004, | 1516 | 0x3e35, 0x3e45, 0x3e6b, 0x3e77, 0x3e9a, 0x2029, 0x0001, 0xa026, |
1287 | 0xa085, 0x0010, 0x6006, 0x077f, 0x007c, 0x789b, 0x0010, 0x78ab, | 1517 | 0x2011, 0x0000, 0x1078, 0x43f3, 0x0079, 0x3e3e, 0x3e43, 0x24fa, |
1288 | 0x0001, 0x78ab, 0x0002, 0x78ab, 0x0003, 0x7aaa, 0x789b, 0x0060, | 1518 | 0x3c68, 0x3e43, 0x3e43, 0x1078, 0x248c, 0x7990, 0xa18c, 0x0007, |
1289 | 0x78ab, 0x0004, 0x007c, 0x2021, 0x0000, 0x2029, 0x0032, 0x789b, | 1519 | 0x00c0, 0x3e4c, 0x2009, 0x0008, 0x2011, 0x0001, 0xa684, 0x0004, |
1290 | 0x0010, 0x78ab, 0x0001, 0x78ab, 0x0003, 0x78ab, 0x0001, 0x7daa, | 1520 | 0x0040, 0x3e54, 0x2011, 0x0003, 0x2220, 0xa12a, 0x2011, 0x0001, |
1291 | 0x7caa, 0x789b, 0x0060, 0x78ab, 0x0005, 0x007c, 0x157e, 0x8007, | 1521 | 0x1078, 0x43f3, 0x0079, 0x3e5c, 0x3e61, 0x24fa, 0x3c68, 0x3e69, |
1292 | 0xa084, 0x00ff, 0x8003, 0x8003, 0xa080, 0x0020, 0x789a, 0x79a4, | 1522 | 0x3e63, 0x0078, 0x483b, 0x70ab, 0x3e67, 0x0078, 0x24fa, 0x0078, |
1293 | 0xa18c, 0xfff0, 0x2001, 0x5146, 0x2004, 0xa082, 0x0028, 0x0040, | 1523 | 0x3e61, 0x1078, 0x248c, 0xa684, 0x0010, 0x0040, 0x3e75, 0x1078, |
1294 | 0x3749, 0x2021, 0x37d2, 0x2019, 0x0014, 0x20a9, 0x000c, 0x0078, | 1524 | 0x429c, 0x0040, 0x3e75, 0x0078, 0x24fa, 0x0078, 0x430d, 0x6000, |
1295 | 0x374f, 0x2021, 0x37de, 0x2019, 0x0019, 0x20a9, 0x000d, 0x2011, | 1525 | 0xa084, 0x0002, 0x0040, 0x3e94, 0x70b4, 0xa080, 0x00cd, 0x781a, |
1296 | 0x0064, 0x2404, 0xa084, 0xfff0, 0xa106, 0x0040, 0x375e, 0x8420, | 1526 | 0x0d7e, 0x1078, 0x4812, 0x2d00, 0x682e, 0x6827, 0x0000, 0x1078, |
1297 | 0x2300, 0xa210, 0x0070, 0x375e, 0x0078, 0x3751, 0x157f, 0x007c, | 1527 | 0x3bc6, 0x0d7f, 0x1078, 0x19ac, 0x7003, 0x0000, 0x7037, 0x0000, |
1298 | 0x157e, 0x2009, 0x5146, 0x210c, 0xa182, 0x0032, 0x0048, 0x3774, | 1528 | 0x704b, 0x0000, 0x0078, 0x3c68, 0xa684, 0x0004, 0x00c0, 0x3e9a, |
1299 | 0x0040, 0x3778, 0x2009, 0x37c4, 0x2019, 0x0011, 0x20a9, 0x000e, | 1529 | 0x0078, 0x483b, 0x6000, 0xa084, 0x0004, 0x00c0, 0x3eac, 0x6000, |
1300 | 0x2011, 0x0032, 0x0078, 0x378a, 0xa182, 0x0028, 0x0040, 0x3782, | 1530 | 0xa084, 0x0001, 0x0040, 0x3eac, 0x70ab, 0x3eac, 0x2001, 0x0007, |
1301 | 0x2009, 0x37d2, 0x2019, 0x0014, 0x20a9, 0x000c, 0x2011, 0x0064, | 1531 | 0x1078, 0x478f, 0x0078, 0x4841, 0x0078, 0x483b, 0x2200, 0x0079, |
1302 | 0x0078, 0x378a, 0x2009, 0x37de, 0x2019, 0x0019, 0x20a9, 0x000d, | 1532 | 0x3eb1, 0x3eb6, 0x3eb8, 0x3eb6, 0x3eb6, 0x3eb6, 0x1078, 0x248c, |
1303 | 0x2011, 0x0064, 0x2200, 0xa502, 0x0040, 0x379a, 0x0048, 0x379a, | 1533 | 0x70a7, 0x3ebc, 0x0078, 0x4847, 0x78e4, 0xa084, 0x0008, 0x00c0, |
1304 | 0x8108, 0x2300, 0xa210, 0x0070, 0x3797, 0x0078, 0x378a, 0x157f, | 1534 | 0x3eb8, 0x1078, 0x4781, 0x70ab, 0x3ec5, 0x0078, 0x483b, 0x2200, |
1305 | 0xa006, 0x007c, 0x157f, 0xa582, 0x0064, 0x00c8, 0x37a9, 0x7808, | 1535 | 0x0079, 0x3eca, 0x3ecf, 0x3ed1, 0x3ed1, 0x3ecf, 0x3ecf, 0x1078, |
1306 | 0xa085, 0x0070, 0x780a, 0x7044, 0xa085, 0x0070, 0x7046, 0x0078, | 1536 | 0x248c, 0x78e4, 0xa084, 0x0008, 0x0040, 0x3ee6, 0x70a7, 0x3eda, |
1307 | 0x37a9, 0x78ec, 0xa084, 0x0300, 0x0040, 0x37b1, 0x2104, 0x0078, | 1537 | 0x0078, 0x4847, 0x2011, 0x0004, 0x1078, 0x43ed, 0x0079, 0x3ee0, |
1308 | 0x37c2, 0x2104, 0xa09e, 0x1102, 0x00c0, 0x37c2, 0x2001, 0x04fd, | 1538 | 0x3ee6, 0x24fa, 0x3c68, 0x3ee6, 0x3ef0, 0x3ef4, 0x70ab, 0x3eee, |
1309 | 0x2004, 0xa082, 0x0005, 0x0048, 0x37c1, 0x2001, 0x1201, 0x0078, | 1539 | 0x2001, 0x0003, 0x1078, 0x478f, 0x0078, 0x4841, 0x0078, 0x483b, |
1310 | 0x37c2, 0x2104, 0xa005, 0x007c, 0x1102, 0x3002, 0x3202, 0x4203, | 1540 | 0x70ab, 0x3ee6, 0x0078, 0x24fa, 0x70ab, 0x3ef8, 0x0078, 0x24fa, |
1311 | 0x4403, 0x5404, 0x5604, 0x6605, 0x6805, 0x7806, 0x7a06, 0x0c07, | 1541 | 0x0078, 0x3eee, 0xa282, 0x0003, 0x0050, 0x3f00, 0x1078, 0x248c, |
1312 | 0x0c07, 0x0e07, 0x3202, 0x4202, 0x5202, 0x6202, 0x7202, 0x6605, | 1542 | 0xa386, 0x0002, 0x00c0, 0x3f19, 0xa286, 0x0002, 0x00c0, 0x3f1f, |
1313 | 0x7605, 0x7805, 0x7a05, 0x7c05, 0x7e05, 0x7f05, 0x2202, 0x3202, | 1543 | 0x78a0, 0xa005, 0x00c0, 0x3f1f, 0xa484, 0x8000, 0x00c0, 0x3f1f, |
1314 | 0x4202, 0x5202, 0x5404, 0x6404, 0x7404, 0x7604, 0x7804, 0x7a04, | 1544 | 0x78e4, 0xa084, 0x0008, 0x0040, 0x3f19, 0xa6b5, 0x0008, 0x2019, |
1315 | 0x7c04, 0x7e04, 0x7f04, 0x789b, 0x0010, 0xa046, 0x007c, 0xa784, | 1545 | 0x0000, 0xa684, 0x0008, 0x0040, 0x3f1f, 0x1078, 0x4279, 0x6810, |
1316 | 0x0f00, 0x800b, 0xa784, 0x001f, 0x8003, 0x8003, 0x8003, 0x8003, | 1546 | 0x70be, 0x7003, 0x0007, 0x2300, 0x0079, 0x3f26, 0x3f29, 0x3f56, |
1317 | 0xa105, 0xa0e0, 0x5400, 0x007c, 0x79d8, 0x7adc, 0x78d0, 0x801b, | 1547 | 0x3f5e, 0x2200, 0x0079, 0x3f2c, 0x3f31, 0x3f2f, 0x3f4a, 0x1078, |
1318 | 0x00c8, 0x3803, 0x8000, 0xa084, 0x003f, 0xa108, 0xa291, 0x0000, | 1548 | 0x248c, 0x7990, 0xa1ac, 0x0007, 0xa026, 0x2011, 0x0001, 0x1078, |
1319 | 0x007c, 0x0f7e, 0x2079, 0x0100, 0x2009, 0x5140, 0x2091, 0x8000, | 1549 | 0x43f3, 0x0079, 0x3f3b, 0x3f40, 0x24fa, 0x3c68, 0x3f48, 0x3f42, |
1320 | 0x2104, 0x0079, 0x3813, 0x3849, 0x381d, 0x381d, 0x381d, 0x381d, | 1550 | 0x0078, 0x483b, 0x70ab, 0x3f46, 0x0078, 0x24fa, 0x0078, 0x3f40, |
1321 | 0x381d, 0x381d, 0x384d, 0x1078, 0x23eb, 0x784b, 0x0004, 0x7848, | 1551 | 0x1078, 0x248c, 0xa684, 0x0010, 0x0040, 0x3f54, 0x1078, 0x429c, |
1322 | 0xa084, 0x0004, 0x00c0, 0x381f, 0x784b, 0x0008, 0x7848, 0xa084, | 1552 | 0x0040, 0x3f54, 0x0078, 0x24fa, 0x0078, 0x430d, 0x2200, 0x0079, |
1323 | 0x0008, 0x00c0, 0x3826, 0x68b4, 0xa085, 0x4000, 0x68b6, 0x7858, | 1553 | 0x3f59, 0x3f5c, 0x3f5c, 0x3f5c, 0x1078, 0x248c, 0x2200, 0x0079, |
1324 | 0xa085, 0x4000, 0x785a, 0x7830, 0xa084, 0x0080, 0x00c0, 0x3849, | 1554 | 0x3f61, 0x3f64, 0x3f66, 0x3f66, 0x1078, 0x248c, 0x78e4, 0xa084, |
1325 | 0x0018, 0x3849, 0x681c, 0xa084, 0x0020, 0x00c0, 0x3847, 0x0e7e, | 1555 | 0x0008, 0x0040, 0x3f7b, 0x70a7, 0x3f6f, 0x0078, 0x4847, 0x2011, |
1326 | 0x2071, 0x5140, 0x1078, 0x389c, 0x0e7f, 0x0078, 0x3849, 0x781b, | 1556 | 0x0004, 0x1078, 0x43ed, 0x0079, 0x3f75, 0x3f7b, 0x24fa, 0x3c68, |
1327 | 0x00cd, 0x2091, 0x8001, 0x0f7f, 0x007c, 0x70b3, 0x0000, 0x1078, | 1557 | 0x3f7b, 0x3f85, 0x3f89, 0x70ab, 0x3f83, 0x2001, 0x0003, 0x1078, |
1328 | 0x3a76, 0x0078, 0x3849, 0x0c7e, 0x6814, 0x8007, 0xa084, 0x000f, | 1558 | 0x478f, 0x0078, 0x4841, 0x0078, 0x483b, 0x70ab, 0x3f7b, 0x0078, |
1329 | 0x8003, 0x8003, 0x8003, 0xa0e0, 0x5380, 0x6004, 0xa084, 0x000a, | 1559 | 0x24fa, 0x70ab, 0x3f8d, 0x0078, 0x24fa, 0x0078, 0x3f83, 0x2300, |
1330 | 0x00c0, 0x3886, 0x6108, 0xa194, 0xff00, 0x0040, 0x3886, 0xa18c, | 1560 | 0x0079, 0x3f92, 0x3f97, 0x3f99, 0x3f95, 0x1078, 0x248c, 0x70a4, |
1331 | 0x00ff, 0x2001, 0x0019, 0xa106, 0x0040, 0x3875, 0x2001, 0x0032, | 1561 | 0x007a, 0x70a4, 0x007a, 0xa282, 0x0002, 0x0050, 0x3fa1, 0x1078, |
1332 | 0xa106, 0x0040, 0x3879, 0x0078, 0x387d, 0x2009, 0x0020, 0x0078, | 1562 | 0x248c, 0xa684, 0x0200, 0x0040, 0x3fab, 0x1078, 0x47fe, 0x1078, |
1333 | 0x387f, 0x2009, 0x003f, 0x0078, 0x387f, 0x2011, 0x0000, 0x2100, | 1563 | 0x43d5, 0x1078, 0x4805, 0x2300, 0x0079, 0x3fae, 0x3fb1, 0x3fd9, |
1334 | 0xa205, 0x600a, 0x6004, 0xa085, 0x0002, 0x6006, 0x0c7f, 0x007c, | 1564 | 0x403f, 0xad86, 0xffff, 0x0040, 0x3c68, 0xa286, 0x0001, 0x0040, |
1335 | 0x781b, 0x0065, 0x0078, 0x2459, 0x782b, 0x3008, 0x781b, 0x0065, | 1565 | 0x3fbb, 0x1078, 0x248c, 0xa684, 0x0200, 0x0040, 0x3fc3, 0x1078, |
1336 | 0x0078, 0x2459, 0x781b, 0x0058, 0x0078, 0x2459, 0x782b, 0x3008, | 1566 | 0x47fe, 0x1078, 0x4805, 0x2001, 0x0001, 0x1078, 0x4797, 0x78b8, |
1337 | 0x781b, 0x0056, 0x0078, 0x2459, 0x2009, 0x5120, 0x210c, 0xa186, | 1567 | 0xa084, 0xc001, 0x0040, 0x3fd5, 0x7848, 0xa085, 0x0008, 0x784a, |
1338 | 0x0000, 0x0040, 0x38b0, 0xa186, 0x0001, 0x0040, 0x38b3, 0x2009, | 1568 | 0x7848, 0xa084, 0x0008, 0x00c0, 0x3fd0, 0x7003, 0x0000, 0x0078, |
1339 | 0x5138, 0x200b, 0x000b, 0x706f, 0x0001, 0x781b, 0x0048, 0x007c, | 1569 | 0x3c68, 0x2200, 0x0079, 0x3fdc, 0x3fde, 0x400f, 0x70a7, 0x3fe2, |
1340 | 0x781b, 0x00c7, 0x007c, 0x2009, 0x5138, 0x200b, 0x000a, 0x007c, | 1570 | 0x0078, 0x4847, 0x2011, 0x000d, 0x1078, 0x43ed, 0x0079, 0x3fe8, |
1341 | 0x2009, 0x5120, 0x210c, 0xa186, 0x0000, 0x0040, 0x38d3, 0xa186, | 1571 | 0x3fef, 0x24fa, 0x3c68, 0x3ff7, 0x3fff, 0x4005, 0x4007, 0xa6b4, |
1342 | 0x0001, 0x0040, 0x38cd, 0x2009, 0x5138, 0x200b, 0x000b, 0x706f, | 1572 | 0x00ff, 0xa6b5, 0x0400, 0x6eb6, 0x7e5a, 0x0078, 0x4835, 0xa6b4, |
1343 | 0x0001, 0x781b, 0x0048, 0x0078, 0x2459, 0x2009, 0x5138, 0x200b, | 1573 | 0x00ff, 0xa6b5, 0x0400, 0x6eb6, 0x7e5a, 0x0078, 0x4835, 0x70ab, |
1344 | 0x000a, 0x0078, 0x2459, 0x782b, 0x3008, 0x781b, 0x00c7, 0x0078, | 1574 | 0x4003, 0x0078, 0x24fa, 0x0078, 0x3fef, 0x1078, 0x248c, 0x70ab, |
1345 | 0x2459, 0x781b, 0x00cd, 0x0078, 0x2459, 0x782b, 0x3008, 0x781b, | 1575 | 0x400b, 0x0078, 0x24fa, 0x1078, 0x484d, 0x0078, 0x24fa, 0x70a7, |
1346 | 0x00cd, 0x0078, 0x2459, 0x781b, 0x008e, 0x0078, 0x2459, 0x782b, | 1576 | 0x4013, 0x0078, 0x4847, 0x2011, 0x0012, 0x1078, 0x43ed, 0x0079, |
1347 | 0x3008, 0x781b, 0x008e, 0x0078, 0x2459, 0x6818, 0xa084, 0x8000, | 1577 | 0x4019, 0x401f, 0x24fa, 0x3c68, 0x402b, 0x4033, 0x4039, 0xa6b4, |
1348 | 0x0040, 0x38f4, 0x681b, 0x001d, 0x706f, 0x0001, 0x781b, 0x0048, | 1578 | 0x00ff, 0xa6b5, 0x0400, 0x6eb6, 0x7e5a, 0x70b4, 0xa080, 0x00aa, |
1349 | 0x0078, 0x2459, 0x007e, 0x7830, 0xa084, 0x00c0, 0x00c0, 0x3910, | 1579 | 0x781a, 0x0078, 0x24fa, 0xa6b4, 0x00ff, 0xa6b5, 0x0400, 0x6eb6, |
1350 | 0x7808, 0xa084, 0xfffc, 0x780a, 0x0005, 0x0005, 0x0005, 0x0005, | 1580 | 0x7e5a, 0x0078, 0x4835, 0x70ab, 0x4037, 0x0078, 0x24fa, 0x0078, |
1351 | 0x78ec, 0xa084, 0x0021, 0x0040, 0x3910, 0x7044, 0x780a, 0xa005, | 1581 | 0x401f, 0x70ab, 0x403d, 0x0078, 0x24fa, 0x0078, 0x402b, 0xa286, |
1352 | 0x007f, 0x007c, 0x7044, 0xa085, 0x0002, 0x7046, 0x780a, 0x007c, | 1582 | 0x0001, 0x0040, 0x4045, 0x1078, 0x248c, 0x70a7, 0x4049, 0x0078, |
1353 | 0x007e, 0x7830, 0xa084, 0x0040, 0x00c0, 0x3919, 0x0098, 0x3924, | 1583 | 0x4847, 0x2011, 0x0015, 0x1078, 0x43ed, 0x0079, 0x404f, 0x4054, |
1354 | 0x007f, 0x789a, 0x78ac, 0x007c, 0x7808, 0xa084, 0xfffd, 0x780a, | 1584 | 0x24fa, 0x3c68, 0x4062, 0x406e, 0xa6b4, 0x00ff, 0xa6b5, 0x0400, |
1355 | 0x0005, 0x0005, 0x0005, 0x0005, 0x78ec, 0xa084, 0x0021, 0x0040, | 1585 | 0x6eb6, 0x7e5a, 0x783b, 0x1301, 0x70b4, 0xa080, 0x00b5, 0x781a, |
1356 | 0x3933, 0x0098, 0x3931, 0x007f, 0x789a, 0x78ac, 0x007e, 0x7044, | 1586 | 0x0078, 0x24fa, 0xa6b4, 0x00ff, 0xa6b5, 0x0400, 0x6eb6, 0x7e5a, |
1357 | 0x780a, 0x007f, 0x007c, 0x78ec, 0xa084, 0x0002, 0x00c0, 0x4760, | 1587 | 0x70b4, 0xa080, 0x00aa, 0x781a, 0x0078, 0x24fa, 0x70ab, 0x4072, |
1358 | 0xa784, 0x007d, 0x00c0, 0x3947, 0x2700, 0x1078, 0x23eb, 0xa784, | 1588 | 0x0078, 0x24fa, 0x0078, 0x4054, 0xa282, 0x0003, 0x0050, 0x407a, |
1359 | 0x0001, 0x00c0, 0x2f6d, 0xa784, 0x0070, 0x0040, 0x3957, 0x0c7e, | 1589 | 0x1078, 0x248c, 0x2300, 0x0079, 0x407d, 0x4080, 0x40b7, 0x4114, |
1360 | 0x2d60, 0x2f68, 0x1078, 0x2396, 0x2d78, 0x2c68, 0x0c7f, 0xa784, | 1590 | 0xa286, 0x0001, 0x0040, 0x4086, 0x1078, 0x248c, 0x6804, 0xa084, |
1361 | 0x0008, 0x0040, 0x3964, 0x784b, 0x0008, 0x78ec, 0xa084, 0x0003, | 1591 | 0x00ff, 0xa086, 0x0006, 0x00c0, 0x4093, 0x1078, 0x3bc6, 0x7003, |
1362 | 0x0040, 0x2482, 0x0078, 0x3888, 0xa784, 0x0004, 0x0040, 0x3997, | 1592 | 0x0000, 0x0078, 0x3c68, 0x683b, 0x0000, 0x6837, 0x0000, 0xa684, |
1363 | 0x78b8, 0xa084, 0x4001, 0x0040, 0x3997, 0x784b, 0x0008, 0x78ec, | 1593 | 0x0200, 0x0040, 0x40a1, 0x1078, 0x47fe, 0x1078, 0x43d5, 0x1078, |
1364 | 0xa084, 0x0003, 0x0040, 0x2482, 0x78e4, 0xa084, 0x0007, 0xa086, | 1594 | 0x4805, 0x2001, 0x0001, 0x1078, 0x4797, 0x78b8, 0xa084, 0xc001, |
1365 | 0x0001, 0x00c0, 0x3997, 0x78c0, 0xa085, 0x4800, 0x2030, 0x7e5a, | 1595 | 0x0040, 0x40b3, 0x7848, 0xa085, 0x0008, 0x784a, 0x7848, 0xa084, |
1366 | 0x781b, 0x00cd, 0x0078, 0x2459, 0x784b, 0x0008, 0x6818, 0xa084, | 1596 | 0x0008, 0x00c0, 0x40ae, 0x7003, 0x0000, 0x0078, 0x3c68, 0x2200, |
1367 | 0x8000, 0x0040, 0x3993, 0x681b, 0x0015, 0xa684, 0x4000, 0x0040, | 1597 | 0x0079, 0x40ba, 0x40bc, 0x40ef, 0x70a7, 0x40c0, 0x0078, 0x4847, |
1368 | 0x3993, 0x681b, 0x0007, 0x1078, 0x389c, 0x0078, 0x2459, 0x681b, | 1598 | 0x2011, 0x000d, 0x1078, 0x43ed, 0x0079, 0x40c6, 0x40cd, 0x24fa, |
1369 | 0x0003, 0x7858, 0xa084, 0x3f00, 0x681e, 0x682f, 0x0000, 0x6833, | 1599 | 0x3c68, 0x40d5, 0x40dd, 0x40e3, 0x40e5, 0xa6b4, 0x00ff, 0xa6b5, |
1370 | 0x0000, 0x784b, 0x0008, 0x78ec, 0xa084, 0x0003, 0x0040, 0x2965, | 1600 | 0x0800, 0x6eb6, 0x7e5a, 0x0078, 0x4835, 0xa6b4, 0x00ff, 0xa6b5, |
1371 | 0x0018, 0x2459, 0x0078, 0x36a5, 0x6b14, 0x8307, 0xa084, 0x000f, | 1601 | 0x0800, 0x6eb6, 0x7e5a, 0x0078, 0x4835, 0x70ab, 0x40e1, 0x0078, |
1372 | 0x8003, 0x8003, 0x8003, 0xa080, 0x5380, 0x2060, 0x2048, 0x7056, | 1602 | 0x24fa, 0x0078, 0x40cd, 0x1078, 0x248c, 0x70ab, 0x40eb, 0x1078, |
1373 | 0x6000, 0x705a, 0x6004, 0x705e, 0x2a60, 0x007c, 0x0079, 0x39c0, | 1603 | 0x4805, 0x0078, 0x24fa, 0x1078, 0x484d, 0x0078, 0x24fa, 0x70a7, |
1374 | 0x39c8, 0x39c9, 0x39c8, 0x39cb, 0x39c8, 0x39c8, 0x39c8, 0x39d0, | 1604 | 0x40f3, 0x0078, 0x4847, 0x2011, 0x0005, 0x1078, 0x43ed, 0x0079, |
1375 | 0x007c, 0x1078, 0x33ee, 0x1078, 0x4776, 0x7038, 0x600a, 0x007c, | 1605 | 0x40f9, 0x40fe, 0x24fa, 0x3c68, 0x4106, 0x410e, 0xa6b4, 0x00ff, |
1376 | 0x70a0, 0xa005, 0x0040, 0x39dd, 0x2068, 0x1078, 0x1b62, 0x1078, | 1606 | 0xa6b5, 0x0800, 0x6eb6, 0x7e5a, 0x0078, 0x4835, 0xa6b4, 0x00ff, |
1377 | 0x46f8, 0x1078, 0x46ff, 0x70a3, 0x0000, 0x007c, 0x0e7e, 0x2091, | 1607 | 0xa6b5, 0x0800, 0x6eb6, 0x7e5a, 0x0078, 0x4835, 0x70ab, 0x4112, |
1378 | 0x8000, 0x2071, 0x5140, 0x7000, 0xa086, 0x0007, 0x00c0, 0x39f4, | 1608 | 0x0078, 0x24fa, 0x0078, 0x40fe, 0xa286, 0x0001, 0x0040, 0x411a, |
1379 | 0x6110, 0x70bc, 0xa106, 0x00c0, 0x39f4, 0x0e7f, 0x1078, 0x1b6f, | 1609 | 0x1078, 0x248c, 0x70a7, 0x411e, 0x0078, 0x4847, 0x2011, 0x0006, |
1380 | 0x1078, 0x39fa, 0xa006, 0x007c, 0x2091, 0x8001, 0x0e7f, 0xa085, | 1610 | 0x1078, 0x43ed, 0x0079, 0x4124, 0x4129, 0x24fa, 0x3c68, 0x412f, |
1381 | 0x0001, 0x007c, 0x0f7e, 0x0e7e, 0x2071, 0x5140, 0x0078, 0x21fa, | 1611 | 0x4139, 0xa6b5, 0x0800, 0x6eb6, 0x7e5a, 0x0078, 0x4835, 0xa6b4, |
1382 | 0x785b, 0x0000, 0x70af, 0x000e, 0x2009, 0x0100, 0x017e, 0x70a0, | 1612 | 0x00ff, 0xa6b5, 0x0800, 0x6eb6, 0xa6b5, 0x4000, 0x7e5a, 0x0078, |
1383 | 0xa06d, 0x0040, 0x3a0f, 0x70a3, 0x0000, 0x0078, 0x3a15, 0x70b3, | 1613 | 0x4835, 0x70ab, 0x413d, 0x0078, 0x24fa, 0x0078, 0x4129, 0x2300, |
1384 | 0x0000, 0x1078, 0x1b8b, 0x0040, 0x3a1b, 0x70ac, 0x6826, 0x1078, | 1614 | 0x0079, 0x4142, 0x4147, 0x4145, 0x4145, 0x1078, 0x248c, 0x1078, |
1385 | 0x3af8, 0x0078, 0x3a0f, 0x017f, 0x157e, 0x0c7e, 0x0d7e, 0x20a9, | 1615 | 0x248c, 0x2300, 0x71a8, 0xa005, 0x017a, 0x6810, 0x70be, 0xa282, |
1386 | 0x0008, 0x2061, 0x7510, 0x6000, 0xa105, 0x6002, 0x601c, 0xa06d, | 1616 | 0x0003, 0x0050, 0x4155, 0x1078, 0x248c, 0x2300, 0x0079, 0x4158, |
1387 | 0x0040, 0x3a33, 0x6800, 0x601e, 0x1078, 0x195a, 0x6008, 0x8000, | 1617 | 0x415b, 0x4169, 0x418b, 0xa684, 0x0200, 0x0040, 0x4163, 0x1078, |
1388 | 0x600a, 0x0078, 0x3a26, 0x6018, 0xa06d, 0x0040, 0x3a3d, 0x6800, | 1618 | 0x47fe, 0x1078, 0x4805, 0x2001, 0x0001, 0x1078, 0x4797, 0x0078, |
1389 | 0x601a, 0x1078, 0x195a, 0x0078, 0x3a33, 0xace0, 0x0008, 0x0070, | 1619 | 0x24fa, 0xa296, 0x0002, 0x0040, 0x4172, 0x82ff, 0x0040, 0x4172, |
1390 | 0x3a43, 0x0078, 0x3a23, 0x709c, 0xa084, 0x8000, 0x0040, 0x3a4a, | 1620 | 0x1078, 0x248c, 0x70a7, 0x4176, 0x0078, 0x4847, 0x2011, 0x0018, |
1391 | 0x1078, 0x3b72, 0x0d7f, 0x0c7f, 0x157f, 0x007c, 0x127e, 0x2091, | 1621 | 0x1078, 0x43ed, 0x0079, 0x417c, 0x4181, 0x24fa, 0x3c68, 0x4183, |
1392 | 0x2300, 0x6804, 0xa084, 0x000f, 0x0079, 0x3a56, 0x3a66, 0x3a66, | 1622 | 0x4185, 0x0078, 0x4835, 0x0078, 0x4835, 0x70ab, 0x4189, 0x0078, |
1393 | 0x3a66, 0x3a66, 0x3a66, 0x3a66, 0x3a68, 0x3a6e, 0x3a66, 0x3a66, | 1623 | 0x24fa, 0x0078, 0x4181, 0x2200, 0x0079, 0x418e, 0x4190, 0x41a9, |
1394 | 0x3a66, 0x3a66, 0x3a66, 0x3a70, 0x3a66, 0x3a68, 0x1078, 0x23eb, | 1624 | 0x70a7, 0x4194, 0x0078, 0x4847, 0x2011, 0x0017, 0x1078, 0x43ed, |
1395 | 0x1078, 0x44d0, 0x1078, 0x195a, 0x0078, 0x3a74, 0x6827, 0x000b, | 1625 | 0x0079, 0x419a, 0x419f, 0x24fa, 0x3c68, 0x41a1, 0x41a3, 0x0078, |
1396 | 0x1078, 0x44d0, 0x1078, 0x3af8, 0x127f, 0x007c, 0x127e, 0x2091, | 1626 | 0x4835, 0x0078, 0x4835, 0x70ab, 0x41a7, 0x0078, 0x24fa, 0x0078, |
1397 | 0x2300, 0x0098, 0x3a92, 0x7830, 0xa084, 0x00c0, 0x00c0, 0x3a92, | 1627 | 0x419f, 0xa484, 0x8000, 0x00c0, 0x4205, 0xa684, 0x0100, 0x0040, |
1398 | 0x0d7e, 0x1078, 0x4708, 0x2d00, 0x682e, 0x2009, 0x0004, 0x2001, | 1628 | 0x41b5, 0x1078, 0x47fe, 0x1078, 0x43d5, 0x78d8, 0x78d2, 0x78dc, |
1399 | 0x0000, 0x6827, 0x0084, 0x1078, 0x46c1, 0x1078, 0x3af8, 0x0d7f, | 1629 | 0x78d6, 0xa6b4, 0xefff, 0x7e5a, 0x70a7, 0x41c0, 0x0078, 0x4847, |
1400 | 0x0078, 0x3ac6, 0x7948, 0xa185, 0x4000, 0x784a, 0x0098, 0x3a9b, | 1630 | 0x2011, 0x000d, 0x1078, 0x43ed, 0x0079, 0x41c6, 0x41cd, 0x24fa, |
1401 | 0x794a, 0x0078, 0x3a80, 0x7828, 0xa086, 0x1834, 0x00c0, 0x3aa4, | 1631 | 0x3c68, 0x41cd, 0x41f3, 0x41f9, 0x41fb, 0x78d8, 0x79dc, 0xa105, |
1402 | 0xa185, 0x0004, 0x0078, 0x3aab, 0x7828, 0xa086, 0x1814, 0x00c0, | 1632 | 0x00c0, 0x41df, 0x78b8, 0xa084, 0x001f, 0x00c0, 0x41df, 0x70b3, |
1403 | 0x3a98, 0xa185, 0x000c, 0x784a, 0x789b, 0x000e, 0x78ab, 0x0002, | 1633 | 0x0000, 0x7858, 0xa084, 0xfdff, 0x785a, 0x0078, 0x4835, 0xa684, |
1404 | 0x7858, 0xa084, 0x00ff, 0xa085, 0x0400, 0x785a, 0x70b4, 0xa080, | 1634 | 0x0100, 0x0040, 0x41f1, 0x7848, 0xa085, 0x0008, 0x784a, 0x1078, |
1405 | 0x0091, 0x781a, 0x6827, 0x0284, 0x682c, 0x6836, 0x6830, 0x683a, | 1635 | 0x47bc, 0x682c, 0x78d2, 0x6830, 0x78d6, 0x70b3, 0x0000, 0x1078, |
1406 | 0x2009, 0x0004, 0x2001, 0x0000, 0x1078, 0x46c1, 0x127f, 0x007c, | 1636 | 0x47f6, 0x0078, 0x4835, 0x70ab, 0x41f7, 0x0078, 0x24fa, 0x0078, |
1407 | 0x0d7e, 0x6b14, 0x1078, 0x1bfd, 0x0040, 0x3ad5, 0x2068, 0x6827, | 1637 | 0x41cd, 0x1078, 0x248c, 0x70ab, 0x4201, 0x1078, 0x4805, 0x0078, |
1408 | 0x0002, 0x1078, 0x3af8, 0x0078, 0x3aca, 0x0d7f, 0x007c, 0x0d7e, | 1638 | 0x24fa, 0x1078, 0x484d, 0x0078, 0x24fa, 0x1078, 0x4805, 0x70ab, |
1409 | 0x6b14, 0x6c28, 0xa4a4, 0x00ff, 0x1078, 0x1b9b, 0x0040, 0x3ae5, | 1639 | 0x420f, 0x2001, 0x0003, 0x1078, 0x478f, 0x0078, 0x4841, 0x1078, |
1410 | 0x2068, 0x6827, 0x0002, 0x1078, 0x3af8, 0x0d7f, 0x007c, 0x0d7e, | 1640 | 0x47f6, 0x682c, 0x78d2, 0x6830, 0x78d6, 0x0078, 0x4835, 0x70b8, |
1411 | 0x6b14, 0xa39c, 0x00ff, 0x1078, 0x1bce, 0x0040, 0x3af6, 0x2068, | 1641 | 0x6812, 0x70be, 0x8000, 0x70ba, 0x681b, 0x0000, 0xa684, 0x0008, |
1412 | 0x6827, 0x0002, 0x1078, 0x3af8, 0x0078, 0x3aeb, 0x0d7f, 0x007c, | 1642 | 0x0040, 0x423a, 0x157e, 0x137e, 0x147e, 0x7890, 0x8004, 0x8004, |
1413 | 0x0c7e, 0x6914, 0x1078, 0x3b69, 0x6904, 0xa18c, 0x00ff, 0xa186, | 1643 | 0x8004, 0x8004, 0xa084, 0x000f, 0x681a, 0x80ac, 0x789b, 0x0000, |
1414 | 0x0006, 0x0040, 0x3b13, 0xa186, 0x000d, 0x0040, 0x3b32, 0xa186, | 1644 | 0xaf80, 0x002b, 0x2098, 0xad80, 0x000b, 0x20a0, 0x53a5, 0x147f, |
1415 | 0x0017, 0x00c0, 0x3b0f, 0x1078, 0x195a, 0x0078, 0x3b11, 0x1078, | 1645 | 0x137f, 0x157f, 0xa6c4, 0x0f00, 0xa684, 0x0002, 0x00c0, 0x4249, |
1416 | 0x1c72, 0x0c7f, 0x007c, 0x6004, 0x8001, 0x0048, 0x3b30, 0x6006, | 1646 | 0x692c, 0x810d, 0x810d, 0x810d, 0xa184, 0x0007, 0x2008, 0x0078, |
1417 | 0x2009, 0x0000, 0xa684, 0x0001, 0x00c0, 0x3b20, 0xa18d, 0x8000, | 1647 | 0x425c, 0x789b, 0x0010, 0x79ac, 0xa184, 0x0020, 0x0040, 0x425c, |
1418 | 0xa684, 0x0004, 0x0040, 0x3b26, 0xa18d, 0x0002, 0x691e, 0x6823, | 1648 | 0x017e, 0x2009, 0x0005, 0x2001, 0x3d00, 0x1078, 0x47c7, 0x6824, |
1419 | 0x0000, 0x7104, 0x810f, 0x6818, 0xa105, 0x681a, 0x0078, 0x3b0f, | 1649 | 0xa085, 0x003b, 0x6826, 0x017f, 0xa184, 0x001f, 0xa805, 0x6816, |
1420 | 0x1078, 0x23eb, 0x6018, 0xa005, 0x00c0, 0x3b41, 0x6008, 0x8001, | 1650 | 0x1078, 0x3c3b, 0x68be, 0xa684, 0x0004, 0x0040, 0x426d, 0xa18c, |
1421 | 0x0048, 0x3b41, 0x600a, 0x601c, 0x6802, 0x2d00, 0x601e, 0x0078, | 1651 | 0xff00, 0x78a8, 0xa084, 0x00ff, 0xa105, 0x682a, 0xa6b4, 0x00ff, |
1422 | 0x3b57, 0xac88, 0x0006, 0x2104, 0xa005, 0x0040, 0x3b4a, 0x2008, | 1652 | 0x6000, 0xa084, 0x0008, 0x0040, 0x4277, 0xa6b5, 0x4000, 0x6eb6, |
1423 | 0x0078, 0x3b43, 0x6802, 0x2d0a, 0x6008, 0x8001, 0x0048, 0x3b11, | 1653 | 0x007c, 0x157e, 0x137e, 0x147e, 0x6918, 0x7890, 0x8004, 0x8004, |
1424 | 0x600a, 0x6018, 0x2068, 0x6800, 0x601a, 0x0078, 0x3b3b, 0x157e, | 1654 | 0x8004, 0x8004, 0xa084, 0x000f, 0x007e, 0xa100, 0x681a, 0x007f, |
1425 | 0x137e, 0x147e, 0x0c7e, 0x0d7e, 0x1078, 0x1937, 0x2da0, 0x137f, | 1655 | 0x8000, 0x8004, 0x0040, 0x4298, 0x20a8, 0x8104, 0xa080, 0x000b, |
1426 | 0x20a9, 0x0031, 0x53a3, 0x0c7f, 0x147f, 0x137f, 0x157f, 0x0078, | 1656 | 0xad00, 0x20a0, 0x789b, 0x0000, 0xaf80, 0x002b, 0x2098, 0x53a5, |
1427 | 0x3b0f, 0xa184, 0x001f, 0x8003, 0x8003, 0x8003, 0xa080, 0x7510, | 1657 | 0x147f, 0x137f, 0x157f, 0x007c, 0x682c, 0xa084, 0x0020, 0x00c0, |
1428 | 0x2060, 0x007c, 0x2019, 0x5151, 0x2304, 0xa085, 0x0001, 0x201a, | 1658 | 0x42a4, 0x620c, 0x0078, 0x42a5, 0x6210, 0x6b18, 0x2300, 0xa202, |
1429 | 0x2019, 0x0102, 0x2304, 0xa085, 0x0001, 0x201a, 0x007c, 0x2019, | 1659 | 0x0040, 0x42c5, 0x2018, 0xa382, 0x000e, 0x0048, 0x42b5, 0x0040, |
1430 | 0x5151, 0x2304, 0xa084, 0xfffe, 0x201a, 0x2019, 0x0102, 0x2304, | 1660 | 0x42b5, 0x2019, 0x000e, 0x0078, 0x42b9, 0x7858, 0xa084, 0xffef, |
1431 | 0xa084, 0xfffe, 0x201a, 0x007c, 0x7990, 0xa18c, 0xfff8, 0x7992, | 1661 | 0x785a, 0x783b, 0x1b01, 0x7893, 0x0000, 0x7ba2, 0x70b4, 0xa080, |
1432 | 0x70b4, 0xa080, 0x00dd, 0x781a, 0x0078, 0x2459, 0x70a3, 0x0000, | 1662 | 0x008e, 0x781a, 0xa085, 0x0001, 0x007c, 0x7858, 0xa084, 0xffef, |
1433 | 0x7003, 0x0000, 0x7043, 0x0001, 0x7037, 0x0000, 0x0018, 0x2410, | 1663 | 0x785a, 0x7893, 0x0000, 0xa006, 0x007c, 0x6904, 0xa18c, 0x00ff, |
1434 | 0x1078, 0x1b8b, 0x0040, 0x3bc7, 0x2009, 0x510f, 0x200b, 0x0000, | 1664 | 0xa196, 0x0007, 0x0040, 0x42da, 0xa196, 0x000f, 0x0040, 0x42da, |
1435 | 0x68bc, 0x2060, 0x6100, 0xa184, 0x0300, 0x0040, 0x3bbb, 0x6827, | 1665 | 0x6807, 0x0117, 0x6914, 0x1078, 0x3c3b, 0x6100, 0x8104, 0x00c8, |
1436 | 0x000e, 0xa084, 0x0200, 0x0040, 0x3bb7, 0x6827, 0x0017, 0x1078, | 1666 | 0x42f5, 0x601c, 0xa005, 0x0040, 0x42e9, 0x2001, 0x0800, 0x0078, |
1437 | 0x3af8, 0x0078, 0x3b96, 0x7000, 0xa086, 0x0007, 0x00c0, 0x3c29, | 1667 | 0x42f7, 0x0d7e, 0x6824, 0x007e, 0x1078, 0x4812, 0x007f, 0x6826, |
1438 | 0x2d00, 0x70a2, 0xad80, 0x000f, 0x7036, 0x0078, 0x3bce, 0x7040, | 1668 | 0x2d00, 0x682e, 0x1078, 0x3bc6, 0x0d7f, 0x2001, 0x0200, 0x6924, |
1439 | 0xa086, 0x0001, 0x0040, 0x2492, 0x0078, 0x2459, 0x2031, 0x0000, | 1669 | 0xa18c, 0x00ff, 0xa10d, 0x6926, 0x8007, 0x789b, 0x000e, 0x78aa, |
1440 | 0x691c, 0xa184, 0x0002, 0x0040, 0x3bd7, 0xa6b5, 0x0004, 0xa184, | 1670 | 0x6820, 0xa085, 0x8000, 0x6822, 0x2031, 0x0400, 0x6eb6, 0x7e5a, |
1441 | 0x00c0, 0x8003, 0x8003, 0x8007, 0xa080, 0x3cc2, 0x2004, 0xa635, | 1671 | 0x71b4, 0xa188, 0x0091, 0x791a, 0x007c, 0xa6c4, 0x0f00, 0xa684, |
1442 | 0x6820, 0xa084, 0x0400, 0x0040, 0x3bef, 0x789b, 0x0018, 0x78ab, | 1672 | 0x0002, 0x00c0, 0x4321, 0x692c, 0x810d, 0x810d, 0x810d, 0xa184, |
1443 | 0x0003, 0x789b, 0x0081, 0x78ab, 0x0001, 0xa6b5, 0x1000, 0x6820, | 1673 | 0x0007, 0x2008, 0xa805, 0x6816, 0x1078, 0x3c3b, 0x68be, 0x0078, |
1444 | 0xa084, 0x8000, 0x00c0, 0x3bfd, 0x681c, 0xa084, 0x8000, 0x00c0, | 1674 | 0x4324, 0x6914, 0x1078, 0x3c3b, 0x6100, 0x8104, 0x00c8, 0x4382, |
1445 | 0x3c04, 0xa6b5, 0x0800, 0x0078, 0x3c04, 0xa6b5, 0x0400, 0x789b, | 1675 | 0xa184, 0x0300, 0x0040, 0x4330, 0x6807, 0x0117, 0x0078, 0x434e, |
1446 | 0x000e, 0x6824, 0x8007, 0x78aa, 0x6820, 0xa084, 0x0100, 0x0040, | 1676 | 0x6004, 0xa005, 0x00c0, 0x4357, 0x6807, 0x0117, 0x601c, 0xa005, |
1447 | 0x3c0b, 0xa6b5, 0x4000, 0xa684, 0x0200, 0x0040, 0x3c25, 0x682c, | 1677 | 0x00c0, 0x4344, 0x0d7e, 0x1078, 0x4812, 0x6827, 0x0034, 0x2d00, |
1448 | 0x78d2, 0x6830, 0x78d6, 0xa684, 0x0100, 0x0040, 0x3c23, 0x682c, | 1678 | 0x682e, 0x1078, 0x3bc6, 0x0d7f, 0xa684, 0x0004, 0x0040, 0x434e, |
1449 | 0xa084, 0x0001, 0x0040, 0x3c23, 0x7888, 0xa084, 0x0040, 0x0040, | 1679 | 0x2031, 0x0400, 0x2001, 0x2800, 0x0078, 0x4352, 0x2031, 0x0400, |
1450 | 0x3c23, 0xa6b5, 0x8000, 0x1078, 0x46f0, 0x7e5a, 0x6eb6, 0x0078, | 1680 | 0x2001, 0x0800, 0x71b4, 0xa188, 0x0091, 0x0078, 0x43b0, 0x6018, |
1451 | 0x4727, 0x1078, 0x38fa, 0x00c0, 0x3cbc, 0x702c, 0x8004, 0x0048, | 1681 | 0xa005, 0x00c0, 0x4344, 0x601c, 0xa005, 0x00c0, 0x4344, 0x689f, |
1452 | 0x3c37, 0x2019, 0x4e3b, 0x1078, 0x2276, 0x702f, 0x0001, 0x2041, | 1682 | 0x0000, 0x6827, 0x003d, 0xa684, 0x0001, 0x0040, 0x43be, 0xd694, |
1453 | 0x0001, 0x2031, 0x1000, 0x789b, 0x0018, 0x6814, 0xa084, 0x001f, | 1683 | 0x00c0, 0x437b, 0x6100, 0xd1d4, 0x0040, 0x437b, 0x692c, 0xa18c, |
1454 | 0xa085, 0x0080, 0x78aa, 0x691c, 0xa184, 0x0002, 0x0040, 0x3c50, | 1684 | 0x00ff, 0x0040, 0x43be, 0xa186, 0x0003, 0x0040, 0x43be, 0xa186, |
1455 | 0xa6b5, 0x0004, 0x78ab, 0x0020, 0x6828, 0x78aa, 0xa8c0, 0x0002, | 1685 | 0x0012, 0x0040, 0x43be, 0xa6b5, 0x0800, 0x71b4, 0xa188, 0x00ae, |
1456 | 0x681c, 0xd0f4, 0x0040, 0x3c59, 0x2c50, 0x1078, 0x39ac, 0x1078, | 1686 | 0x0078, 0x43b9, 0x6807, 0x0117, 0x2031, 0x0400, 0x692c, 0xa18c, |
1457 | 0x45ff, 0x6820, 0xa084, 0x8000, 0x0040, 0x3c67, 0xa6b5, 0x0400, | 1687 | 0x00ff, 0xa186, 0x0012, 0x00c0, 0x4393, 0x2001, 0x43cb, 0x2009, |
1458 | 0x789b, 0x000e, 0x6824, 0x8007, 0x78aa, 0x0078, 0x3c6e, 0x681c, | 1688 | 0x0001, 0x0078, 0x43a4, 0xa186, 0x0003, 0x00c0, 0x439d, 0x2001, |
1459 | 0xa084, 0x8000, 0x00c0, 0x3c6e, 0xa6b5, 0x0800, 0x6820, 0xa084, | 1689 | 0x43cc, 0x2009, 0x0012, 0x0078, 0x43a4, 0x2001, 0x0200, 0x71b4, |
1460 | 0x0100, 0x0040, 0x3c75, 0xa6b5, 0x4000, 0x681c, 0xa084, 0x00c0, | 1690 | 0xa188, 0x0091, 0x0078, 0x43b0, 0x1078, 0x47e1, 0x78a3, 0x0000, |
1461 | 0x8003, 0x8003, 0x8007, 0xa080, 0x3cc2, 0x2004, 0xa635, 0xa684, | 1691 | 0x681c, 0xa085, 0x0040, 0x681e, 0x71b4, 0xa188, 0x00da, 0xa006, |
1462 | 0x0100, 0x0040, 0x3c8f, 0x682c, 0xa084, 0x0001, 0x0040, 0x3c8f, | 1692 | 0x6826, 0x8007, 0x789b, 0x000e, 0x78aa, 0x6820, 0xa085, 0x8000, |
1463 | 0x7888, 0xa084, 0x0040, 0x0040, 0x3c8f, 0xa6b5, 0x8000, 0x789b, | 1693 | 0x6822, 0x6eb6, 0x7e5a, 0x791a, 0x0078, 0x24fa, 0x6eb6, 0x1078, |
1464 | 0x007e, 0x7eae, 0x6eb6, 0x6814, 0x8007, 0x78aa, 0x7882, 0x2810, | 1694 | 0x3bc6, 0x6810, 0x70be, 0x7003, 0x0007, 0x70a3, 0x0000, 0x704b, |
1465 | 0x7aaa, 0x7830, 0xa084, 0x00c0, 0x00c0, 0x3cbc, 0x0018, 0x3cbc, | 1695 | 0x0000, 0x0078, 0x24fa, 0x0023, 0x0070, 0x0005, 0x0000, 0x0a00, |
1466 | 0x70b4, 0xa080, 0x00e2, 0x781a, 0x1078, 0x3912, 0xa684, 0x0200, | 1696 | 0x0000, 0x0000, 0x0025, 0x0000, 0x0000, 0x683b, 0x0000, 0x6837, |
1467 | 0x0040, 0x3cb0, 0x682c, 0x78d2, 0x6830, 0x78d6, 0x1078, 0x46f0, | 1697 | 0x0000, 0xa684, 0x0200, 0x0040, 0x43ec, 0x78b8, 0xa08c, 0x001f, |
1468 | 0x2d00, 0x70a2, 0x704a, 0x6810, 0x70be, 0x7003, 0x0007, 0xad80, | 1698 | 0xa084, 0x8000, 0x0040, 0x43e5, 0x8108, 0x78d8, 0xa100, 0x6836, |
1469 | 0x000f, 0x7036, 0x0078, 0x2459, 0x1078, 0x1b62, 0x1078, 0x3912, | 1699 | 0x78dc, 0xa081, 0x0000, 0x683a, 0x007c, 0x7990, 0x810f, 0xa5ac, |
1470 | 0x0078, 0x2459, 0x0000, 0x0300, 0x0200, 0x0000, 0x1078, 0x23eb, | 1700 | 0x0007, 0x2021, 0x0000, 0xa480, 0x0010, 0x789a, 0x79a8, 0xa18c, |
1471 | 0x2300, 0x0079, 0x3ccb, 0x3cce, 0x3cce, 0x3cd0, 0x1078, 0x23eb, | 1701 | 0x00ff, 0xa184, 0x0080, 0x00c0, 0x441b, 0xa182, 0x0020, 0x00c8, |
1472 | 0x1078, 0x46ff, 0x6924, 0xa184, 0x00ff, 0xa086, 0x000a, 0x0040, | 1702 | 0x4439, 0xa182, 0x0012, 0x00c8, 0x4781, 0x2100, 0x1079, 0x4409, |
1473 | 0x3ce2, 0xa184, 0xff00, 0xa085, 0x000a, 0x6826, 0x1078, 0x1b62, | 1703 | 0x007c, 0x4781, 0x45eb, 0x4781, 0x4781, 0x4446, 0x4449, 0x4483, |
1474 | 0x0078, 0x3b96, 0x2001, 0x000a, 0x1078, 0x4691, 0x0078, 0x3b96, | 1704 | 0x44b9, 0x44ed, 0x44f0, 0x4781, 0x4781, 0x44a4, 0x4514, 0x454e, |
1475 | 0xa282, 0x0005, 0x0050, 0x3cee, 0x1078, 0x23eb, 0x7000, 0xa084, | 1705 | 0x4781, 0x4781, 0x4574, 0xa184, 0x0020, 0x00c0, 0x45a8, 0xa18c, |
1476 | 0x0007, 0x10c0, 0x39be, 0x1078, 0x1937, 0x00c0, 0x3d0d, 0xa684, | 1706 | 0x001f, 0x6814, 0xa084, 0x001f, 0xa106, 0x0040, 0x4436, 0x70b4, |
1477 | 0x0004, 0x0040, 0x3cff, 0x2001, 0x2800, 0x0078, 0x3d01, 0x2001, | 1707 | 0xa080, 0x00cd, 0x781a, 0x2001, 0x0014, 0x1078, 0x4797, 0x1078, |
1478 | 0x0800, 0x71b4, 0xa188, 0x0091, 0x789b, 0x000e, 0x78aa, 0x2031, | 1708 | 0x4805, 0x7003, 0x0000, 0x2001, 0x0002, 0x007c, 0x2001, 0x0000, |
1479 | 0x0400, 0x7e5a, 0x791a, 0x0078, 0x2459, 0x6807, 0x0106, 0x680b, | 1709 | 0x007c, 0xa182, 0x0024, 0x00c8, 0x4781, 0xa184, 0x0003, 0x1079, |
1480 | 0x0000, 0x689f, 0x0000, 0x6827, 0x0000, 0xa386, 0x0002, 0x00c0, | 1710 | 0x4409, 0x007c, 0x4781, 0x4781, 0x4781, 0x4781, 0x1078, 0x4781, |
1481 | 0x3d2e, 0xa286, 0x0002, 0x00c0, 0x3d2e, 0x78a0, 0xa005, 0x00c0, | 1711 | 0x007c, 0x2200, 0x0079, 0x444c, 0x4577, 0x4577, 0x4470, 0x4470, |
1482 | 0x3d2e, 0xa484, 0x8000, 0x00c0, 0x3d2e, 0x78e4, 0xa084, 0x0008, | 1712 | 0x4470, 0x4470, 0x4470, 0x4470, 0x4470, 0x4470, 0x446e, 0x4470, |
1483 | 0x0040, 0x3d2e, 0xa6b5, 0x0008, 0x2019, 0x0000, 0x1078, 0x411e, | 1713 | 0x4465, 0x4470, 0x4470, 0x4470, 0x4470, 0x4470, 0x4478, 0x447b, |
1484 | 0x2d00, 0x70a2, 0x704a, 0x7003, 0x0007, 0x7037, 0x0000, 0x6824, | 1714 | 0x4577, 0x447b, 0x4470, 0x4470, 0x4470, 0x0c7e, 0x077e, 0x6f14, |
1485 | 0xa084, 0x0080, 0x0040, 0x3d40, 0x1078, 0x41d0, 0x0078, 0x2459, | 1715 | 0x1078, 0x37b0, 0x077f, 0x0c7f, 0x0078, 0x4470, 0x1078, 0x468e, |
1486 | 0x2300, 0x0079, 0x3d43, 0x3d46, 0x3dc7, 0x3de6, 0x2200, 0x0079, | 1716 | 0x6827, 0x02b3, 0x2009, 0x000b, 0x2001, 0x4800, 0x0078, 0x45ab, |
1487 | 0x3d49, 0x3d4e, 0x3d5e, 0x3d84, 0x3d90, 0x3db3, 0x2029, 0x0001, | 1717 | 0x1078, 0x4773, 0x007c, 0x6827, 0x0093, 0x2009, 0x000b, 0x2001, |
1488 | 0xa026, 0x2011, 0x0000, 0x1078, 0x42f1, 0x0079, 0x3d57, 0x3d5c, | 1718 | 0x4800, 0x0078, 0x4593, 0x2d58, 0x6804, 0xa084, 0x00ff, 0xa086, |
1489 | 0x2459, 0x3b96, 0x3d5c, 0x3d5c, 0x1078, 0x23eb, 0x7990, 0xa18c, | 1719 | 0x0006, 0x00c0, 0x448d, 0x6807, 0x0117, 0x6827, 0x0002, 0x1078, |
1490 | 0x0007, 0x00c0, 0x3d65, 0x2009, 0x0008, 0x2011, 0x0001, 0xa684, | 1720 | 0x4812, 0x6827, 0x0036, 0x6932, 0x2d00, 0x682e, 0x0d7e, 0x1078, |
1491 | 0x0004, 0x0040, 0x3d6d, 0x2011, 0x0003, 0x2220, 0xa12a, 0x2011, | 1721 | 0x3b96, 0x1078, 0x45d3, 0x2b68, 0x1078, 0x3bc6, 0x0d7f, 0x1078, |
1492 | 0x0001, 0x1078, 0x42f1, 0x0079, 0x3d75, 0x3d7a, 0x2459, 0x3b96, | 1722 | 0x3bc6, 0x2001, 0x0002, 0x007c, 0x1078, 0x45d3, 0x2001, 0x0017, |
1493 | 0x3d82, 0x3d7c, 0x0078, 0x472d, 0x70ab, 0x3d80, 0x0078, 0x2459, | 1723 | 0x1078, 0x4797, 0x70a3, 0x0000, 0x2009, 0x5238, 0x200b, 0x0006, |
1494 | 0x0078, 0x3d7a, 0x1078, 0x23eb, 0xa684, 0x0010, 0x0040, 0x3d8e, | 1724 | 0x70af, 0x0017, 0x2009, 0x0200, 0x1078, 0x3ad4, 0x2001, 0x0001, |
1495 | 0x1078, 0x419f, 0x0040, 0x3d8e, 0x0078, 0x2459, 0x0078, 0x420c, | 1725 | 0x007c, 0x2200, 0x0079, 0x44bc, 0x4577, 0x45a8, 0x45a8, 0x45a8, |
1496 | 0x6000, 0xa084, 0x0002, 0x0040, 0x3dad, 0x70b4, 0xa080, 0x00d2, | 1726 | 0x44dd, 0x45ba, 0x44e5, 0x45ba, 0x45ba, 0x45bd, 0x45bd, 0x45c2, |
1497 | 0x781a, 0x0d7e, 0x1078, 0x4708, 0x2d00, 0x682e, 0x6827, 0x0000, | 1727 | 0x45c2, 0x44d5, 0x44d5, 0x45a8, 0x45a8, 0x45ba, 0x45a8, 0x44e5, |
1498 | 0x1078, 0x3af8, 0x0d7f, 0x1078, 0x195a, 0x7003, 0x0000, 0x7037, | 1728 | 0x4577, 0x44e5, 0x44e5, 0x44e5, 0x44e5, 0x6827, 0x0084, 0x2009, |
1499 | 0x0000, 0x704b, 0x0000, 0x0078, 0x3b96, 0xa684, 0x0004, 0x00c0, | 1729 | 0x000b, 0x2001, 0x4300, 0x0078, 0x45cc, 0x6827, 0x000d, 0x2009, |
1500 | 0x3db3, 0x0078, 0x472d, 0x6000, 0xa084, 0x0004, 0x00c0, 0x3dc5, | 1730 | 0x000b, 0x2001, 0x4300, 0x0078, 0x45ab, 0x6827, 0x0093, 0x2009, |
1501 | 0x6000, 0xa084, 0x0001, 0x0040, 0x3dc5, 0x70ab, 0x3dc5, 0x2001, | 1731 | 0x000b, 0x2001, 0x4300, 0x0078, 0x4593, 0x2001, 0x0000, 0x007c, |
1502 | 0x0007, 0x1078, 0x4689, 0x0078, 0x4733, 0x0078, 0x472d, 0x2200, | 1732 | 0x2200, 0x0079, 0x44f3, 0x4577, 0x450c, 0x450c, 0x450c, 0x450c, |
1503 | 0x0079, 0x3dca, 0x3dcf, 0x3dcf, 0x3dcf, 0x3dd1, 0x3dcf, 0x1078, | 1733 | 0x45ba, 0x45ba, 0x45ba, 0x45ba, 0x45ba, 0x45ba, 0x45ba, 0x45ba, |
1504 | 0x23eb, 0x70a7, 0x3dd5, 0x0078, 0x4739, 0x2011, 0x0018, 0x1078, | 1734 | 0x450c, 0x450c, 0x450c, 0x450c, 0x45ba, 0x450c, 0x450c, 0x45ba, |
1505 | 0x42eb, 0x0079, 0x3ddb, 0x3de0, 0x2459, 0x3b96, 0x3de2, 0x3de4, | 1735 | 0x45ba, 0x45ba, 0x45ba, 0x4577, 0x6827, 0x0093, 0x2009, 0x000b, |
1506 | 0x1078, 0x23eb, 0x1078, 0x23eb, 0x1078, 0x23eb, 0x2200, 0x0079, | 1736 | 0x2001, 0x4300, 0x0078, 0x4593, 0xa684, 0x0004, 0x00c0, 0x4528, |
1507 | 0x3de9, 0x3dee, 0x3df0, 0x3df0, 0x3dee, 0x3dee, 0x1078, 0x23eb, | 1737 | 0x6804, 0xa084, 0x00ff, 0xa086, 0x0006, 0x00c0, 0x4781, 0x1078, |
1508 | 0x78e4, 0xa084, 0x0008, 0x0040, 0x3e05, 0x70a7, 0x3df9, 0x0078, | 1738 | 0x45d3, 0x6807, 0x0117, 0x1078, 0x3bc6, 0x2001, 0x0002, 0x007c, |
1509 | 0x4739, 0x2011, 0x0004, 0x1078, 0x42eb, 0x0079, 0x3dff, 0x3e05, | 1739 | 0x6000, 0xa084, 0x0004, 0x0040, 0x4781, 0x2d58, 0x6804, 0xa084, |
1510 | 0x2459, 0x3b96, 0x3e05, 0x3e0f, 0x3e13, 0x70ab, 0x3e0d, 0x2001, | 1740 | 0x00ff, 0xa086, 0x0006, 0x00c0, 0x4537, 0x6807, 0x0117, 0x6827, |
1511 | 0x0003, 0x1078, 0x4689, 0x0078, 0x4733, 0x0078, 0x472d, 0x70ab, | 1741 | 0x0002, 0x1078, 0x4812, 0x6827, 0x0036, 0x6932, 0x2d00, 0x682e, |
1512 | 0x3e05, 0x0078, 0x2459, 0x70ab, 0x3e17, 0x0078, 0x2459, 0x0078, | 1742 | 0x0d7e, 0x1078, 0x3ba5, 0x1078, 0x45d3, 0x2b68, 0x1078, 0x3bc6, |
1513 | 0x3e0d, 0xa282, 0x0003, 0x0050, 0x3e1f, 0x1078, 0x23eb, 0xa386, | 1743 | 0x0d7f, 0x1078, 0x3bc6, 0x2001, 0x0002, 0x007c, 0x6000, 0xa084, |
1514 | 0x0002, 0x00c0, 0x3e38, 0xa286, 0x0002, 0x00c0, 0x3e3e, 0x78a0, | 1744 | 0x0004, 0x0040, 0x4781, 0x6a04, 0xa294, 0x00ff, 0xa286, 0x0006, |
1515 | 0xa005, 0x00c0, 0x3e3e, 0xa484, 0x8000, 0x00c0, 0x3e3e, 0x78e4, | 1745 | 0x00c0, 0x455c, 0x6807, 0x0117, 0x6827, 0x0002, 0x2d58, 0x1078, |
1516 | 0xa084, 0x0008, 0x0040, 0x3e38, 0xa6b5, 0x0008, 0x2019, 0x0000, | 1746 | 0x4812, 0x6827, 0x0036, 0x6932, 0x2d00, 0x682e, 0x0d7e, 0x1078, |
1517 | 0xa684, 0x0008, 0x0040, 0x3e3e, 0x1078, 0x417c, 0x6810, 0x70be, | 1747 | 0x3bb5, 0x1078, 0x45d3, 0x2b68, 0x1078, 0x3bc6, 0x0d7f, 0x1078, |
1518 | 0x7003, 0x0007, 0x2300, 0x0079, 0x3e45, 0x3e48, 0x3e75, 0x3e7d, | 1748 | 0x3bc6, 0x2001, 0x0002, 0x007c, 0x1078, 0x4781, 0x007c, 0x70b4, |
1519 | 0x2200, 0x0079, 0x3e4b, 0x3e50, 0x3e4e, 0x3e69, 0x1078, 0x23eb, | 1749 | 0xa080, 0x00cd, 0x781a, 0x2001, 0x0001, 0x1078, 0x4797, 0x1078, |
1520 | 0x7990, 0xa1ac, 0x0007, 0xa026, 0x2011, 0x0001, 0x1078, 0x42f1, | 1750 | 0x4805, 0x7003, 0x0000, 0x2001, 0x0002, 0x007c, 0x1078, 0x47c7, |
1521 | 0x0079, 0x3e5a, 0x3e5f, 0x2459, 0x3b96, 0x3e67, 0x3e61, 0x0078, | 1751 | 0x1078, 0x47fe, 0x1078, 0x43d5, 0x1078, 0x42cd, 0x1078, 0x4805, |
1522 | 0x472d, 0x70ab, 0x3e65, 0x0078, 0x2459, 0x0078, 0x3e5f, 0x1078, | 1752 | 0x2001, 0x0001, 0x007c, 0x1078, 0x47c7, 0x1078, 0x47fe, 0x1078, |
1523 | 0x23eb, 0xa684, 0x0010, 0x0040, 0x3e73, 0x1078, 0x419f, 0x0040, | 1753 | 0x43d5, 0x70b4, 0xa080, 0x00cd, 0x781a, 0x2001, 0x0013, 0x1078, |
1524 | 0x3e73, 0x0078, 0x2459, 0x0078, 0x420c, 0x2200, 0x0079, 0x3e78, | 1754 | 0x4797, 0x1078, 0x4805, 0x7003, 0x0000, 0x2001, 0x0002, 0x007c, |
1525 | 0x3e7b, 0x3e7b, 0x3e7b, 0x1078, 0x23eb, 0x2200, 0x0079, 0x3e80, | 1755 | 0x1078, 0x4781, 0x007c, 0x1078, 0x47c7, 0x1078, 0x47fe, 0x1078, |
1526 | 0x3e83, 0x3e85, 0x3e85, 0x1078, 0x23eb, 0x78e4, 0xa084, 0x0008, | 1756 | 0x43d5, 0x1078, 0x42cd, 0x1078, 0x4805, 0x1078, 0x484d, 0x2001, |
1527 | 0x0040, 0x3e9a, 0x70a7, 0x3e8e, 0x0078, 0x4739, 0x2011, 0x0004, | 1757 | 0x0001, 0x007c, 0x2001, 0x0003, 0x007c, 0x1078, 0x468e, 0x2001, |
1528 | 0x1078, 0x42eb, 0x0079, 0x3e94, 0x3e9a, 0x2459, 0x3b96, 0x3e9a, | 1758 | 0x0000, 0x007c, 0x0c7e, 0x077e, 0x6f14, 0x1078, 0x37b0, 0x077f, |
1529 | 0x3ea4, 0x3ea8, 0x70ab, 0x3ea2, 0x2001, 0x0003, 0x1078, 0x4689, | 1759 | 0x0c7f, 0x2001, 0x0000, 0x007c, 0x1078, 0x47c7, 0x1078, 0x4781, |
1530 | 0x0078, 0x4733, 0x0078, 0x472d, 0x70ab, 0x3e9a, 0x0078, 0x2459, | 1760 | 0x2001, 0x0006, 0x007c, 0x6904, 0xa18c, 0x00ff, 0xa186, 0x0007, |
1531 | 0x70ab, 0x3eac, 0x0078, 0x2459, 0x0078, 0x3ea2, 0x2300, 0x0079, | 1761 | 0x0040, 0x45de, 0xa186, 0x000f, 0x00c0, 0x45e2, 0x1078, 0x47fe, |
1532 | 0x3eb1, 0x3eb6, 0x3eb8, 0x3eb4, 0x1078, 0x23eb, 0x70a4, 0x007a, | 1762 | 0x1078, 0x43d5, 0x70b4, 0xa080, 0x00cd, 0x781a, 0x1078, 0x4805, |
1533 | 0x70a4, 0x007a, 0xa282, 0x0002, 0x0050, 0x3ec0, 0x1078, 0x23eb, | 1763 | 0x7003, 0x0000, 0x007c, 0x7aa8, 0xa294, 0x00ff, 0x78a8, 0xa084, |
1534 | 0xa684, 0x0200, 0x0040, 0x3eca, 0x1078, 0x46f8, 0x1078, 0x42d3, | 1764 | 0x00ff, 0xa08a, 0x0004, 0x00c8, 0x4781, 0x1079, 0x45f8, 0x007c, |
1535 | 0x1078, 0x46ff, 0x2300, 0x0079, 0x3ecd, 0x3ed0, 0x3ef4, 0x3f5a, | 1765 | 0x4781, 0x45fc, 0x4781, 0x4695, 0xa282, 0x0003, 0x0040, 0x4603, |
1536 | 0xa286, 0x0001, 0x0040, 0x3ed6, 0x1078, 0x23eb, 0xa684, 0x0200, | 1766 | 0x1078, 0x4781, 0x007c, 0x7da8, 0xa5ac, 0x00ff, 0x7ca8, 0xa4a4, |
1537 | 0x0040, 0x3ede, 0x1078, 0x46f8, 0x1078, 0x46ff, 0x2001, 0x0001, | 1767 | 0x00ff, 0x69b8, 0xa184, 0x0100, 0x0040, 0x4642, 0xa18c, 0xfeff, |
1538 | 0x1078, 0x4691, 0x78b8, 0xa084, 0xc001, 0x0040, 0x3ef0, 0x7848, | 1768 | 0x69ba, 0x78a0, 0xa005, 0x00c0, 0x4642, 0xa4a4, 0x00ff, 0x0040, |
1539 | 0xa085, 0x0008, 0x784a, 0x7848, 0xa084, 0x0008, 0x00c0, 0x3eeb, | 1769 | 0x4636, 0xa482, 0x000c, 0x0040, 0x461f, 0x00c8, 0x4629, 0x852b, |
1540 | 0x7003, 0x0000, 0x0078, 0x3b96, 0x2200, 0x0079, 0x3ef7, 0x3ef9, | 1770 | 0x852b, 0x1078, 0x382e, 0x0040, 0x4629, 0x1078, 0x3627, 0x0078, |
1541 | 0x3f2a, 0x70a7, 0x3efd, 0x0078, 0x4739, 0x2011, 0x000d, 0x1078, | 1771 | 0x4638, 0x1078, 0x4760, 0x1078, 0x3652, 0x69b8, 0xa18d, 0x0100, |
1542 | 0x42eb, 0x0079, 0x3f03, 0x3f0a, 0x2459, 0x3b96, 0x3f12, 0x3f1a, | 1772 | 0x69ba, 0xa6b5, 0x1000, 0x7e5a, 0x0078, 0x463b, 0x1078, 0x3652, |
1543 | 0x3f20, 0x3f22, 0xa6b4, 0x00ff, 0xa6b5, 0x0400, 0x6eb6, 0x7e5a, | 1773 | 0xa6b4, 0xefff, 0x7e5a, 0x70b4, 0xa080, 0x0091, 0x781a, 0x2001, |
1544 | 0x0078, 0x4727, 0xa6b4, 0x00ff, 0xa6b5, 0x0400, 0x6eb6, 0x7e5a, | 1774 | 0x0001, 0x007c, 0x0c7e, 0x1078, 0x4682, 0x6200, 0xd2e4, 0x0040, |
1545 | 0x0078, 0x4727, 0x70ab, 0x3f1e, 0x0078, 0x2459, 0x0078, 0x3f0a, | 1775 | 0x4673, 0x6208, 0x8217, 0xa294, 0x00ff, 0xa282, 0x000c, 0x0048, |
1546 | 0x1078, 0x23eb, 0x70ab, 0x3f26, 0x0078, 0x2459, 0x1078, 0x473f, | 1776 | 0x4655, 0x0040, 0x4655, 0x2011, 0x000c, 0x2400, 0xa202, 0x00c8, |
1547 | 0x0078, 0x2459, 0x70a7, 0x3f2e, 0x0078, 0x4739, 0x2011, 0x0012, | 1777 | 0x465a, 0x2220, 0x6208, 0xa294, 0x00ff, 0x701c, 0xa202, 0x00c8, |
1548 | 0x1078, 0x42eb, 0x0079, 0x3f34, 0x3f3a, 0x2459, 0x3b96, 0x3f46, | 1778 | 0x4662, 0x721c, 0x2200, 0xa502, 0x00c8, 0x4667, 0x2228, 0x1078, |
1549 | 0x3f4e, 0x3f54, 0xa6b4, 0x00ff, 0xa6b5, 0x0400, 0x6eb6, 0x7e5a, | 1779 | 0x4764, 0x852b, 0x852b, 0x1078, 0x382e, 0x0040, 0x4673, 0x1078, |
1550 | 0x70b4, 0xa080, 0x00a6, 0x781a, 0x0078, 0x2459, 0xa6b4, 0x00ff, | 1780 | 0x362e, 0x0078, 0x4677, 0x1078, 0x4760, 0x1078, 0x3659, 0xa6b5, |
1551 | 0xa6b5, 0x0400, 0x6eb6, 0x7e5a, 0x0078, 0x4727, 0x70ab, 0x3f52, | 1781 | 0x1000, 0x7e5a, 0x70b4, 0xa080, 0x00b9, 0x781a, 0x2001, 0x0004, |
1552 | 0x0078, 0x2459, 0x0078, 0x3f3a, 0x70ab, 0x3f58, 0x0078, 0x2459, | 1782 | 0x0c7f, 0x007c, 0x007e, 0x6814, 0x8007, 0xa084, 0x000f, 0x8003, |
1553 | 0x0078, 0x3f46, 0xa286, 0x0001, 0x0040, 0x3f60, 0x1078, 0x23eb, | 1783 | 0x8003, 0x8003, 0xa0e0, 0x5480, 0x007f, 0x007c, 0x0c7e, 0x1078, |
1554 | 0x70a7, 0x3f64, 0x0078, 0x4739, 0x2011, 0x0015, 0x1078, 0x42eb, | 1784 | 0x4682, 0x1078, 0x3659, 0x0c7f, 0x007c, 0xa282, 0x0002, 0x00c0, |
1555 | 0x0079, 0x3f6a, 0x3f6f, 0x2459, 0x3b96, 0x3f7d, 0x3f89, 0xa6b4, | 1785 | 0x4781, 0x7aa8, 0xa294, 0x00ff, 0x69b8, 0xa184, 0x0200, 0x0040, |
1556 | 0x00ff, 0xa6b5, 0x0400, 0x6eb6, 0x7e5a, 0x783b, 0x1301, 0x70b4, | 1786 | 0x46cc, 0xa18c, 0xfdff, 0x69ba, 0x78a0, 0xa005, 0x00c0, 0x46cc, |
1557 | 0xa080, 0x00b4, 0x781a, 0x0078, 0x2459, 0xa6b4, 0x00ff, 0xa6b5, | 1787 | 0xa282, 0x0002, 0x00c8, 0x376b, 0x1078, 0x472a, 0x1078, 0x36f9, |
1558 | 0x0400, 0x6eb6, 0x7e5a, 0x70b4, 0xa080, 0x00a6, 0x781a, 0x0078, | 1788 | 0x1078, 0x3652, 0xa684, 0x0100, 0x0040, 0x46c2, 0x682c, 0xa084, |
1559 | 0x2459, 0x70ab, 0x3f8d, 0x0078, 0x2459, 0x0078, 0x3f6f, 0xa282, | 1789 | 0x0001, 0x0040, 0x46c2, 0xc6fc, 0x7888, 0xa084, 0x0040, 0x0040, |
1560 | 0x0003, 0x0050, 0x3f95, 0x1078, 0x23eb, 0x2300, 0x0079, 0x3f98, | 1790 | 0x46c2, 0xc6fd, 0xa6b5, 0x1000, 0x7e5a, 0x70b4, 0xa080, 0x0091, |
1561 | 0x3f9b, 0x3fd2, 0x402d, 0xa286, 0x0001, 0x0040, 0x3fa1, 0x1078, | 1791 | 0x781a, 0x2001, 0x0001, 0x007c, 0x0c7e, 0x1078, 0x4682, 0xa284, |
1562 | 0x23eb, 0x6804, 0xa084, 0x00ff, 0xa086, 0x0006, 0x00c0, 0x3fae, | 1792 | 0xfffe, 0x0040, 0x46d7, 0x2011, 0x0001, 0x0078, 0x46db, 0xa284, |
1563 | 0x1078, 0x3af8, 0x7003, 0x0000, 0x0078, 0x3b96, 0x683b, 0x0000, | 1793 | 0x0001, 0x0040, 0x46e1, 0x6100, 0xd1ec, 0x00c0, 0x46e1, 0x2011, |
1564 | 0x6837, 0x0000, 0xa684, 0x0200, 0x0040, 0x3fbc, 0x1078, 0x46f8, | 1794 | 0x0000, 0x1078, 0x471c, 0x1078, 0x3700, 0x1078, 0x3659, 0xa684, |
1565 | 0x1078, 0x42d3, 0x1078, 0x46ff, 0x2001, 0x0001, 0x1078, 0x4691, | 1795 | 0x0100, 0x0040, 0x46f7, 0x682c, 0xa084, 0x0001, 0x0040, 0x46f7, |
1566 | 0x78b8, 0xa084, 0xc001, 0x0040, 0x3fce, 0x7848, 0xa085, 0x0008, | 1796 | 0xc6fc, 0x7888, 0xa084, 0x0040, 0x0040, 0x46f7, 0xc6fd, 0xa6b5, |
1567 | 0x784a, 0x7848, 0xa084, 0x0008, 0x00c0, 0x3fc9, 0x7003, 0x0000, | 1797 | 0x1000, 0x7e5a, 0x70b4, 0xa080, 0x00b9, 0x781a, 0x2001, 0x0004, |
1568 | 0x0078, 0x3b96, 0x2200, 0x0079, 0x3fd5, 0x3fd7, 0x4008, 0x70a7, | 1798 | 0x0c7f, 0x007c, 0x0c7e, 0x2960, 0x6000, 0x2011, 0x0001, 0xa084, |
1569 | 0x3fdb, 0x0078, 0x4739, 0x2011, 0x000d, 0x1078, 0x42eb, 0x0079, | 1799 | 0x2000, 0x00c0, 0x470d, 0x2011, 0x0000, 0x78ab, 0x0001, 0x78ab, |
1570 | 0x3fe1, 0x3fe8, 0x2459, 0x3b96, 0x3ff0, 0x3ff8, 0x3ffe, 0x4000, | 1800 | 0x0002, 0x78ab, 0x0003, 0x7aaa, 0xa8c0, 0x0004, 0x68b8, 0xa085, |
1571 | 0xa6b4, 0x00ff, 0xa6b5, 0x0800, 0x6eb6, 0x7e5a, 0x0078, 0x4727, | 1801 | 0x0200, 0x68ba, 0x0c7f, 0x007c, 0x789b, 0x0018, 0x78ab, 0x0001, |
1572 | 0xa6b4, 0x00ff, 0xa6b5, 0x0800, 0x6eb6, 0x7e5a, 0x0078, 0x4727, | 1802 | 0x78ab, 0x0002, 0x78ab, 0x0003, 0x7aaa, 0x789b, 0x0081, 0x78ab, |
1573 | 0x70ab, 0x3ffc, 0x0078, 0x2459, 0x0078, 0x3fe8, 0x1078, 0x23eb, | 1803 | 0x0004, 0x007c, 0x0c7e, 0x7054, 0x2060, 0x6000, 0xa084, 0x1000, |
1574 | 0x70ab, 0x4004, 0x0078, 0x2459, 0x1078, 0x473f, 0x0078, 0x2459, | 1804 | 0x00c0, 0x4738, 0x2029, 0x0032, 0x2021, 0x0000, 0x0078, 0x4758, |
1575 | 0x70a7, 0x400c, 0x0078, 0x4739, 0x2011, 0x0005, 0x1078, 0x42eb, | 1805 | 0x6508, 0xa5ac, 0x00ff, 0x7018, 0xa086, 0x0028, 0x00c0, 0x4748, |
1576 | 0x0079, 0x4012, 0x4017, 0x2459, 0x3b96, 0x401f, 0x4027, 0xa6b4, | 1806 | 0xa582, 0x0019, 0x00c8, 0x474e, 0x2029, 0x0019, 0x0078, 0x474e, |
1577 | 0x00ff, 0xa6b5, 0x0800, 0x6eb6, 0x7e5a, 0x0078, 0x4727, 0xa6b4, | 1807 | 0xa582, 0x000c, 0x00c8, 0x474e, 0x2029, 0x000c, 0x6408, 0x8427, |
1578 | 0x00ff, 0xa6b5, 0x0800, 0x6eb6, 0x7e5a, 0x0078, 0x4727, 0x70ab, | 1808 | 0xa4a4, 0x00ff, 0xa482, 0x000c, 0x0048, 0x4758, 0x2021, 0x000c, |
1579 | 0x402b, 0x0078, 0x2459, 0x0078, 0x4017, 0xa286, 0x0001, 0x0040, | 1809 | 0x1078, 0x4764, 0x68b8, 0xa085, 0x0100, 0x68ba, 0x0c7f, 0x007c, |
1580 | 0x4033, 0x1078, 0x23eb, 0x70a7, 0x4037, 0x0078, 0x4739, 0x2011, | 1810 | 0x2021, 0x0000, 0x2029, 0x0032, 0x789b, 0x0018, 0x78ab, 0x0001, |
1581 | 0x0006, 0x1078, 0x42eb, 0x0079, 0x403d, 0x4042, 0x2459, 0x3b96, | 1811 | 0x78ab, 0x0003, 0x78ab, 0x0001, 0x7daa, 0x7caa, 0x789b, 0x0081, |
1582 | 0x4048, 0x4052, 0xa6b5, 0x0800, 0x6eb6, 0x7e5a, 0x0078, 0x4727, | 1812 | 0x78ab, 0x0005, 0x007c, 0x2001, 0x0003, 0x1078, 0x478f, 0xa6b5, |
1583 | 0xa6b4, 0x00ff, 0xa6b5, 0x0800, 0x6eb6, 0xa6b5, 0x4000, 0x7e5a, | 1813 | 0x1000, 0x7e5a, 0x70b4, 0xa080, 0x00b9, 0x781a, 0x2001, 0x0005, |
1584 | 0x0078, 0x4727, 0x70ab, 0x4056, 0x0078, 0x2459, 0x0078, 0x4042, | 1814 | 0x007c, 0x2001, 0x0007, 0x1078, 0x478f, 0xa6b5, 0x1000, 0x7e5a, |
1585 | 0x2300, 0x0079, 0x405b, 0x4060, 0x405e, 0x405e, 0x1078, 0x23eb, | 1815 | 0x70b4, 0xa080, 0x00b9, 0x781a, 0x2001, 0x0004, 0x007c, 0x789b, |
1586 | 0x1078, 0x23eb, 0x2300, 0x71a8, 0xa005, 0x017a, 0x6810, 0x70be, | 1816 | 0x0018, 0x78aa, 0x789b, 0x0081, 0x78ab, 0x0001, 0x007c, 0x6904, |
1587 | 0xa282, 0x0003, 0x0050, 0x406e, 0x1078, 0x23eb, 0x2300, 0x0079, | 1817 | 0xa18c, 0x00ff, 0xa196, 0x0007, 0x0040, 0x47a5, 0xa196, 0x000f, |
1588 | 0x4071, 0x4074, 0x4082, 0x40a4, 0xa684, 0x0200, 0x0040, 0x407c, | 1818 | 0x0040, 0x47a5, 0x1078, 0x19ac, 0x007c, 0x6924, 0xa194, 0x003f, |
1589 | 0x1078, 0x46f8, 0x1078, 0x46ff, 0x2001, 0x0001, 0x1078, 0x4691, | 1819 | 0x00c0, 0x47ae, 0xa18c, 0xffc0, 0xa105, 0x6826, 0x1078, 0x3bc6, |
1590 | 0x0078, 0x2459, 0xa296, 0x0002, 0x0040, 0x408b, 0x82ff, 0x0040, | 1820 | 0x691c, 0xa184, 0x0100, 0x0040, 0x47bb, 0x6914, 0x1078, 0x3c3b, |
1591 | 0x408b, 0x1078, 0x23eb, 0x70a7, 0x408f, 0x0078, 0x4739, 0x2011, | 1821 | 0x6204, 0x8210, 0x6206, 0x007c, 0x692c, 0x6834, 0x682e, 0xa112, |
1592 | 0x0018, 0x1078, 0x42eb, 0x0079, 0x4095, 0x409a, 0x2459, 0x3b96, | 1822 | 0x6930, 0x6838, 0x6832, 0xa11b, 0xa200, 0xa301, 0x007c, 0x0c7e, |
1593 | 0x409c, 0x409e, 0x0078, 0x4727, 0x0078, 0x4727, 0x70ab, 0x40a2, | 1823 | 0xade0, 0x0018, 0x6003, 0x0070, 0x6106, 0x600b, 0x0000, 0x600f, |
1594 | 0x0078, 0x2459, 0x0078, 0x409a, 0x2200, 0x0079, 0x40a7, 0x40a9, | 1824 | 0x0a00, 0x6013, 0x0000, 0x6017, 0x0000, 0x8007, 0x601a, 0x601f, |
1595 | 0x40c2, 0x70a7, 0x40ad, 0x0078, 0x4739, 0x2011, 0x0017, 0x1078, | 1825 | 0x0000, 0x6023, 0x0000, 0x0c7f, 0x6824, 0xa085, 0x0080, 0x6826, |
1596 | 0x42eb, 0x0079, 0x40b3, 0x40b8, 0x2459, 0x3b96, 0x40ba, 0x40bc, | 1826 | 0x007c, 0x157e, 0x137e, 0x147e, 0x2098, 0xaf80, 0x002d, 0x20a0, |
1597 | 0x0078, 0x4727, 0x0078, 0x4727, 0x70ab, 0x40c0, 0x0078, 0x2459, | 1827 | 0x81ac, 0x0040, 0x47ec, 0x53a6, 0xa184, 0x0001, 0x0040, 0x47f2, |
1598 | 0x0078, 0x40b8, 0xa484, 0x8000, 0x00c0, 0x410c, 0xa684, 0x0100, | 1828 | 0x3304, 0x78be, 0x147f, 0x137f, 0x157f, 0x007c, 0x70b0, 0xa005, |
1599 | 0x0040, 0x40d6, 0x1078, 0x46f8, 0x1078, 0x42d3, 0x1078, 0x46ff, | 1829 | 0x10c0, 0x248c, 0x70b3, 0x8000, 0x0078, 0x4b4b, 0x71b0, 0x81ff, |
1600 | 0x7848, 0xa085, 0x000c, 0x784a, 0x0078, 0x40da, 0x78d8, 0x78d2, | 1830 | 0x0040, 0x4804, 0x1078, 0x4c41, 0x007c, 0x71b0, 0x81ff, 0x0040, |
1601 | 0x78dc, 0x78d6, 0xa6b4, 0xefff, 0x7e5a, 0x70a7, 0x40e1, 0x0078, | 1831 | 0x4811, 0x7848, 0xa085, 0x0008, 0x784a, 0x70b3, 0x0000, 0x1078, |
1602 | 0x4739, 0x2011, 0x000d, 0x1078, 0x42eb, 0x0079, 0x40e7, 0x40ee, | 1832 | 0x4887, 0x007c, 0x0c7e, 0x0d7e, 0x1078, 0x1989, 0x00c0, 0x481a, |
1603 | 0x2459, 0x3b96, 0x40ee, 0x40fc, 0x4102, 0x4104, 0xa684, 0x0100, | 1833 | 0x1078, 0x248c, 0x0c7f, 0x157e, 0x137e, 0x147e, 0x2da0, 0x2c98, |
1604 | 0x0040, 0x40fa, 0x1078, 0x46b6, 0x682c, 0x78d2, 0x6830, 0x78d6, | 1834 | 0x20a9, 0x0031, 0x53a3, 0x147f, 0x137f, 0x157f, 0x6807, 0x010d, |
1605 | 0x1078, 0x46f0, 0x0078, 0x4727, 0x70ab, 0x4100, 0x0078, 0x2459, | 1835 | 0x680b, 0x0000, 0x7004, 0x8007, 0x681a, 0x6823, 0x0000, 0x681f, |
1606 | 0x0078, 0x40ee, 0x1078, 0x23eb, 0x70ab, 0x4108, 0x0078, 0x2459, | 1836 | 0x0000, 0x689f, 0x0000, 0x0c7f, 0x007c, 0x70b4, 0xa080, 0x0091, |
1607 | 0x1078, 0x473f, 0x0078, 0x2459, 0x1078, 0x46ff, 0x70ab, 0x4116, | 1837 | 0x781a, 0x0078, 0x24fa, 0x70b4, 0xa080, 0x0081, 0x781a, 0x0078, |
1608 | 0x2001, 0x0003, 0x1078, 0x4689, 0x0078, 0x4733, 0x1078, 0x46f0, | 1838 | 0x24fa, 0x70b4, 0xa080, 0x00b9, 0x781a, 0x0078, 0x24fa, 0x70b4, |
1609 | 0x682c, 0x78d2, 0x6830, 0x78d6, 0x0078, 0x4727, 0x70b8, 0x6812, | 1839 | 0xa080, 0x00c3, 0x781a, 0x0078, 0x24fa, 0x6904, 0xa18c, 0x00ff, |
1610 | 0x70be, 0x8000, 0x70ba, 0x681b, 0x0000, 0xa684, 0x0008, 0x0040, | 1840 | 0xa196, 0x0007, 0x0040, 0x485a, 0xa196, 0x000f, 0x0040, 0x485a, |
1611 | 0x4141, 0x157e, 0x137e, 0x147e, 0x7890, 0x8004, 0x8004, 0x8004, | 1841 | 0x6807, 0x0117, 0x6824, 0xa084, 0x00ff, 0xa085, 0x0200, 0x6826, |
1612 | 0x8004, 0xa084, 0x000f, 0x681a, 0x80ac, 0x789b, 0x0000, 0xaf80, | 1842 | 0x8007, 0x789b, 0x000e, 0x78aa, 0x6820, 0xa085, 0x8000, 0x6822, |
1613 | 0x002b, 0x2098, 0xad80, 0x000b, 0x20a0, 0x53a5, 0x147f, 0x137f, | 1843 | 0x2031, 0x0400, 0x6eb6, 0x7e5a, 0x71b4, 0xa188, 0x0091, 0x791a, |
1614 | 0x157f, 0xa6c4, 0x0f00, 0xa684, 0x0002, 0x00c0, 0x4150, 0x692c, | 1844 | 0x007c, 0x1078, 0x4805, 0x7848, 0xa085, 0x000c, 0x784a, 0x70b4, |
1615 | 0x810d, 0x810d, 0x810d, 0xa184, 0x0007, 0x2008, 0x0078, 0x415f, | 1845 | 0xa080, 0x00cd, 0x781a, 0x2009, 0x000b, 0x2001, 0x4400, 0x1078, |
1616 | 0x789b, 0x0010, 0x79ac, 0xa184, 0x0020, 0x0040, 0x415f, 0x017e, | 1846 | 0x47c7, 0x2001, 0x0013, 0x1078, 0x4797, 0x0078, 0x3c68, 0x127e, |
1617 | 0x2009, 0x0005, 0x2001, 0x3d00, 0x1078, 0x46c1, 0x017f, 0xa184, | 1847 | 0x2091, 0x2200, 0x2049, 0x4887, 0x7000, 0x7204, 0xa205, 0x720c, |
1618 | 0x001f, 0xa805, 0x6816, 0x1078, 0x3b69, 0x68be, 0xa684, 0x0004, | 1848 | 0xa215, 0x7008, 0xa084, 0xfff7, 0xa205, 0x0040, 0x4899, 0x0078, |
1619 | 0x0040, 0x4170, 0xa18c, 0xff00, 0x78a8, 0xa084, 0x00ff, 0xa105, | 1849 | 0x489e, 0x7003, 0x0000, 0x127f, 0x2000, 0x007c, 0x7000, 0xa084, |
1620 | 0x682a, 0xa6b4, 0x00ff, 0x6000, 0xa084, 0x0008, 0x0040, 0x417a, | 1850 | 0x0001, 0x00c0, 0x48cc, 0x7108, 0x8103, 0x00c8, 0x48ab, 0x1078, |
1621 | 0xa6b5, 0x4000, 0x6eb6, 0x007c, 0x157e, 0x137e, 0x147e, 0x6918, | 1851 | 0x49ce, 0x0078, 0x48a3, 0x700c, 0xa08c, 0x00ff, 0x0040, 0x48cc, |
1622 | 0x7890, 0x8004, 0x8004, 0x8004, 0x8004, 0xa084, 0x000f, 0x007e, | 1852 | 0x7004, 0x8004, 0x00c8, 0x48c3, 0x7014, 0xa005, 0x00c0, 0x48bf, |
1623 | 0xa100, 0x681a, 0x007f, 0x8000, 0x8004, 0x0040, 0x419b, 0x20a8, | 1853 | 0x7010, 0xa005, 0x0040, 0x48c3, 0xa102, 0x00c8, 0x48a3, 0x7007, |
1624 | 0x8104, 0xa080, 0x000b, 0xad00, 0x20a0, 0x789b, 0x0000, 0xaf80, | 1854 | 0x0010, 0x0078, 0x48cc, 0x8aff, 0x0040, 0x48cc, 0x1078, 0x4c18, |
1625 | 0x002b, 0x2098, 0x53a5, 0x147f, 0x137f, 0x157f, 0x007c, 0x682c, | 1855 | 0x00c0, 0x48c6, 0x0040, 0x48a3, 0x1078, 0x4957, 0x7003, 0x0000, |
1626 | 0xa084, 0x0020, 0x00c0, 0x41a7, 0x620c, 0x0078, 0x41a8, 0x6210, | 1856 | 0x127f, 0x2000, 0x007c, 0x017e, 0x6104, 0xa18c, 0x00ff, 0xa186, |
1627 | 0x6b18, 0x2300, 0xa202, 0x0040, 0x41c8, 0x2018, 0xa382, 0x000e, | 1857 | 0x0007, 0x0040, 0x48df, 0xa18e, 0x000f, 0x00c0, 0x48e2, 0x6040, |
1628 | 0x0048, 0x41b8, 0x0040, 0x41b8, 0x2019, 0x000e, 0x0078, 0x41bc, | 1858 | 0x0078, 0x48e3, 0x6428, 0x017f, 0x84ff, 0x0040, 0x490d, 0x2c70, |
1629 | 0x7858, 0xa084, 0xffef, 0x785a, 0x783b, 0x1b01, 0x7893, 0x0000, | 1859 | 0x7004, 0xa0bc, 0x000f, 0xa7b8, 0x491d, 0x273c, 0x87fb, 0x00c0, |
1630 | 0x7ba2, 0x70b4, 0xa080, 0x008e, 0x781a, 0xa085, 0x0001, 0x007c, | 1860 | 0x48fb, 0x0048, 0x48f5, 0x1078, 0x248c, 0x609c, 0xa075, 0x0040, |
1631 | 0x7858, 0xa084, 0xffef, 0x785a, 0x7893, 0x0000, 0xa006, 0x007c, | 1861 | 0x490d, 0x0078, 0x48e8, 0x2704, 0xae68, 0x6808, 0xa630, 0x680c, |
1632 | 0x6904, 0xa18c, 0x00ff, 0xa196, 0x0007, 0x0040, 0x41dd, 0xa196, | 1862 | 0xa529, 0x8421, 0x0040, 0x490d, 0x8738, 0x2704, 0xa005, 0x00c0, |
1633 | 0x000f, 0x0040, 0x41dd, 0x6807, 0x0117, 0x6914, 0x1078, 0x3b69, | 1863 | 0x48fc, 0x709c, 0xa075, 0x00c0, 0x48e8, 0x007c, 0x0000, 0x0005, |
1634 | 0x6100, 0x8104, 0x00c8, 0x41f8, 0x601c, 0xa005, 0x0040, 0x41ec, | 1864 | 0x0009, 0x000d, 0x0011, 0x0015, 0x0019, 0x001d, 0x0000, 0x0003, |
1635 | 0x2001, 0x0800, 0x0078, 0x41fa, 0x0d7e, 0x6824, 0x007e, 0x1078, | 1865 | 0x0009, 0x000f, 0x0015, 0x001b, 0x0000, 0x0000, 0x4912, 0x490f, |
1636 | 0x4708, 0x007f, 0x6826, 0x2d00, 0x682e, 0x1078, 0x3af8, 0x0d7f, | 1866 | 0x0000, 0x0000, 0x8000, 0x0000, 0x4912, 0x0000, 0x491a, 0x4917, |
1637 | 0x2001, 0x0200, 0x6826, 0x8007, 0x789b, 0x000e, 0x78aa, 0x6820, | 1867 | 0x0000, 0x0000, 0x0000, 0x0000, 0x491a, 0x0000, 0x4915, 0x4915, |
1638 | 0xa085, 0x8000, 0x6822, 0x2031, 0x0400, 0x6eb6, 0x7e5a, 0x71b4, | 1868 | 0x0000, 0x0000, 0x8000, 0x0000, 0x4915, 0x0000, 0x491b, 0x491b, |
1639 | 0xa188, 0x0091, 0x791a, 0x007c, 0xa6c4, 0x0f00, 0xa684, 0x0002, | 1869 | 0x0000, 0x0000, 0x0000, 0x0000, 0x491b, 0x127e, 0x2091, 0x2200, |
1640 | 0x00c0, 0x4220, 0x692c, 0x810d, 0x810d, 0x810d, 0xa184, 0x0007, | 1870 | 0x2079, 0x5200, 0x2071, 0x0010, 0x7007, 0x000a, 0x7007, 0x0002, |
1641 | 0x2008, 0xa805, 0x6816, 0x1078, 0x3b69, 0x68be, 0x0078, 0x4223, | 1871 | 0x7003, 0x0000, 0x2071, 0x0020, 0x7007, 0x000a, 0x7007, 0x0002, |
1642 | 0x6914, 0x1078, 0x3b69, 0x6100, 0x8104, 0x00c8, 0x4280, 0xa184, | 1872 | 0x7003, 0x0000, 0x2049, 0x0000, 0x127f, 0x2000, 0x007c, 0x2049, |
1643 | 0x0300, 0x0040, 0x422f, 0x6807, 0x0117, 0x0078, 0x424d, 0x6004, | 1873 | 0x4957, 0x2019, 0x0000, 0x7004, 0x8004, 0x00c8, 0x49aa, 0x7007, |
1644 | 0xa005, 0x00c0, 0x4256, 0x6807, 0x0117, 0x601c, 0xa005, 0x00c0, | 1874 | 0x0012, 0x7108, 0x7008, 0xa106, 0x00c0, 0x4961, 0xa184, 0x01e0, |
1645 | 0x4243, 0x0d7e, 0x1078, 0x4708, 0x6827, 0x0034, 0x2d00, 0x682e, | 1875 | 0x0040, 0x496c, 0x1078, 0x248c, 0x2001, 0x04fd, 0x2004, 0xa082, |
1646 | 0x1078, 0x3af8, 0x0d7f, 0xa684, 0x0004, 0x0040, 0x424d, 0x2031, | 1876 | 0x0005, 0x00c8, 0x4977, 0xa184, 0x4000, 0x00c0, 0x4961, 0xa19c, |
1647 | 0x0400, 0x2001, 0x2800, 0x0078, 0x4251, 0x2031, 0x0400, 0x2001, | 1877 | 0x300c, 0xa386, 0x2004, 0x0040, 0x4985, 0xa386, 0x0008, 0x0040, |
1648 | 0x0800, 0x71b4, 0xa188, 0x0091, 0x0078, 0x42ae, 0x6018, 0xa005, | 1878 | 0x4990, 0xa386, 0x200c, 0x00c0, 0x4961, 0x7200, 0x8204, 0x0048, |
1649 | 0x00c0, 0x4243, 0x601c, 0xa005, 0x00c0, 0x4243, 0x689f, 0x0000, | 1879 | 0x4990, 0x730c, 0xa384, 0x00ff, 0x0040, 0x4990, 0x1078, 0x248c, |
1650 | 0x6827, 0x003d, 0xa684, 0x0001, 0x0040, 0x42bc, 0xd694, 0x00c0, | 1880 | 0x7007, 0x0012, 0x7000, 0xa084, 0x0001, 0x00c0, 0x49aa, 0x7008, |
1651 | 0x4279, 0x6100, 0xd1d4, 0x0040, 0x4279, 0x692c, 0x81ff, 0x0040, | 1881 | 0xa084, 0x01e0, 0x00c0, 0x49aa, 0x7310, 0x7014, 0xa305, 0x0040, |
1652 | 0x42bc, 0xa186, 0x0003, 0x0040, 0x42bc, 0xa186, 0x0012, 0x0040, | 1882 | 0x49aa, 0x710c, 0xa184, 0x0300, 0x00c0, 0x49aa, 0xa184, 0x00ff, |
1653 | 0x42bc, 0xa6b5, 0x0800, 0x71b4, 0xa188, 0x00af, 0x0078, 0x42b7, | 1883 | 0x00c0, 0x4957, 0x7007, 0x0012, 0x7007, 0x0008, 0x7004, 0xa084, |
1654 | 0x6807, 0x0117, 0x2031, 0x0400, 0x692c, 0xa18c, 0x00ff, 0xa186, | 1884 | 0x0008, 0x00c0, 0x49ae, 0x7007, 0x0012, 0x7108, 0x8103, 0x0048, |
1655 | 0x0012, 0x00c0, 0x4291, 0x2001, 0x42c9, 0x2009, 0x0001, 0x0078, | 1885 | 0x49b3, 0x7003, 0x0000, 0x2049, 0x0000, 0x007c, 0x107e, 0x007e, |
1656 | 0x42a2, 0xa186, 0x0003, 0x00c0, 0x429b, 0x2001, 0x42ca, 0x2009, | 1886 | 0x127e, 0x157e, 0x2091, 0x2200, 0x7108, 0x1078, 0x49ce, 0x157f, |
1657 | 0x0012, 0x0078, 0x42a2, 0x2001, 0x0200, 0x71b4, 0xa188, 0x0091, | 1887 | 0x127f, 0x2091, 0x8001, 0x007f, 0x107f, 0x007c, 0x7204, 0x7500, |
1658 | 0x0078, 0x42ae, 0x1078, 0x46db, 0x78a3, 0x0000, 0x681c, 0xa085, | 1888 | 0x730c, 0xa384, 0x0300, 0x00c0, 0x49f5, 0xa184, 0x01e0, 0x00c0, |
1659 | 0x0040, 0x681e, 0x71b4, 0xa188, 0x00df, 0xa006, 0x6826, 0x8007, | 1889 | 0x4a19, 0x7108, 0xa184, 0x01e0, 0x00c0, 0x4a19, 0x2001, 0x04fd, |
1660 | 0x789b, 0x000e, 0x78aa, 0x6820, 0xa085, 0x8000, 0x6822, 0x6eb6, | 1890 | 0x2004, 0xa082, 0x0005, 0x00c8, 0x49e9, 0xa184, 0x4000, 0x00c0, |
1661 | 0x7e5a, 0x791a, 0x0078, 0x2459, 0x6eb6, 0x1078, 0x3af8, 0x6810, | 1891 | 0x49d9, 0xa184, 0x0007, 0x0079, 0x49ed, 0x49f7, 0x4a09, 0x49f5, |
1662 | 0x70be, 0x7003, 0x0007, 0x70a3, 0x0000, 0x704b, 0x0000, 0x0078, | 1892 | 0x4a09, 0x49f5, 0x4a55, 0x49f5, 0x4a53, 0x1078, 0x248c, 0x7004, |
1663 | 0x2459, 0x0023, 0x0070, 0x0005, 0x0000, 0x0a00, 0x0000, 0x0000, | 1893 | 0xa084, 0x0010, 0xa085, 0x0002, 0x7006, 0x8aff, 0x00c0, 0x4a04, |
1664 | 0x0025, 0x0000, 0x0000, 0x683b, 0x0000, 0x6837, 0x0000, 0xa684, | 1894 | 0x2049, 0x0000, 0x0078, 0x4a08, 0x1078, 0x4c18, 0x00c0, 0x4a04, |
1665 | 0x0200, 0x0040, 0x42ea, 0x78b8, 0xa08c, 0x001f, 0xa084, 0x8000, | 1895 | 0x007c, 0x7004, 0xa084, 0x0010, 0xa085, 0x0002, 0x7006, 0x8aff, |
1666 | 0x0040, 0x42e3, 0x8108, 0x78d8, 0xa100, 0x6836, 0x78dc, 0xa081, | 1896 | 0x00c0, 0x4a14, 0x0078, 0x4a18, 0x1078, 0x4c18, 0x00c0, 0x4a14, |
1667 | 0x0000, 0x683a, 0x007c, 0x7990, 0x810f, 0xa5ac, 0x0007, 0x2021, | 1897 | 0x007c, 0x7007, 0x0012, 0x7108, 0x00e0, 0x4a1c, 0x2091, 0x6000, |
1668 | 0x0000, 0xa480, 0x0010, 0x789a, 0x79a8, 0xa18c, 0x00ff, 0xa184, | 1898 | 0x00e0, 0x4a20, 0x2091, 0x6000, 0x7007, 0x0012, 0x7007, 0x0008, |
1669 | 0x0080, 0x00c0, 0x4319, 0xa182, 0x0020, 0x00c8, 0x4337, 0xa182, | 1899 | 0x7004, 0xa084, 0x0008, 0x00c0, 0x4a28, 0x7007, 0x0012, 0x7108, |
1670 | 0x0012, 0x00c8, 0x467b, 0x2100, 0x1079, 0x4307, 0x007c, 0x467b, | 1900 | 0x8103, 0x0048, 0x4a2d, 0x7003, 0x0000, 0x7000, 0xa005, 0x00c0, |
1671 | 0x44e8, 0x467b, 0x467b, 0x4344, 0x4347, 0x4381, 0x43b7, 0x43eb, | 1901 | 0x4a41, 0x7004, 0xa005, 0x00c0, 0x4a41, 0x700c, 0xa005, 0x0040, |
1672 | 0x43ee, 0x467b, 0x467b, 0x43a2, 0x4412, 0x444c, 0x467b, 0x467b, | 1902 | 0x4a43, 0x0078, 0x4a24, 0x2049, 0x0000, 0x1078, 0x38d7, 0x6818, |
1673 | 0x4473, 0xa184, 0x0020, 0x00c0, 0x44a7, 0xa18c, 0x001f, 0x6814, | 1903 | 0xa084, 0x8000, 0x0040, 0x4a4e, 0x681b, 0x0002, 0x007c, 0x1078, |
1674 | 0xa084, 0x001f, 0xa106, 0x0040, 0x4334, 0x70b4, 0xa080, 0x00d2, | 1904 | 0x248c, 0x1078, 0x248c, 0x1078, 0x4ab1, 0x7210, 0x7114, 0x700c, |
1675 | 0x781a, 0x2001, 0x0014, 0x1078, 0x4691, 0x1078, 0x46ff, 0x7003, | 1905 | 0xa09c, 0x00ff, 0x2800, 0xa300, 0xa211, 0xa189, 0x0000, 0x1078, |
1676 | 0x0000, 0x2001, 0x0002, 0x007c, 0x2001, 0x0000, 0x007c, 0xa182, | 1906 | 0x4ab1, 0x2704, 0x2c58, 0xac60, 0x6308, 0x2200, 0xa322, 0x630c, |
1677 | 0x0024, 0x00c8, 0x467b, 0xa184, 0x0003, 0x1079, 0x4307, 0x007c, | 1907 | 0x2100, 0xa31b, 0x2400, 0xa305, 0x0040, 0x4a78, 0x00c8, 0x4a78, |
1678 | 0x467b, 0x467b, 0x467b, 0x467b, 0x1078, 0x467b, 0x007c, 0x2200, | 1908 | 0x8412, 0x8210, 0x830a, 0xa189, 0x0000, 0x2b60, 0x0078, 0x4a5f, |
1679 | 0x0079, 0x434a, 0x4476, 0x4476, 0x436e, 0x436e, 0x436e, 0x436e, | 1909 | 0x2b60, 0x8a07, 0x007e, 0x6004, 0xa084, 0x0008, 0x0040, 0x4a84, |
1680 | 0x436e, 0x436e, 0x436e, 0x436e, 0x436c, 0x436e, 0x4363, 0x436e, | 1910 | 0xa7ba, 0x4917, 0x0078, 0x4a86, 0xa7ba, 0x490f, 0x007f, 0xa73d, |
1681 | 0x436e, 0x436e, 0x436e, 0x436e, 0x4376, 0x4379, 0x4476, 0x4379, | 1911 | 0x2c00, 0x6886, 0x6f8a, 0x6c92, 0x6b8e, 0x7007, 0x0012, 0x1078, |
1682 | 0x436e, 0x436e, 0x436e, 0x0c7e, 0x077e, 0x6f14, 0x1078, 0x36e2, | 1912 | 0x4957, 0x007c, 0x8738, 0x2704, 0xa005, 0x00c0, 0x4aa5, 0x609c, |
1683 | 0x077f, 0x0c7f, 0x0078, 0x436e, 0x1078, 0x458b, 0x6827, 0x02b3, | 1913 | 0xa005, 0x0040, 0x4aae, 0x2060, 0x6004, 0xa084, 0x000f, 0xa080, |
1684 | 0x2009, 0x000b, 0x2001, 0x4800, 0x0078, 0x44aa, 0x1078, 0x4670, | 1914 | 0x491d, 0x203c, 0x87fb, 0x1040, 0x248c, 0x8a51, 0x0040, 0x4aad, |
1685 | 0x007c, 0x6827, 0x0093, 0x2009, 0x000b, 0x2001, 0x4800, 0x0078, | 1915 | 0x7008, 0xa084, 0x0003, 0xa086, 0x0003, 0x007c, 0x2051, 0x0000, |
1686 | 0x4492, 0x2d58, 0x6804, 0xa084, 0x00ff, 0xa086, 0x0006, 0x00c0, | 1916 | 0x007c, 0x8a50, 0x8739, 0x2704, 0xa004, 0x00c0, 0x4ac5, 0x6000, |
1687 | 0x438b, 0x6807, 0x0117, 0x6827, 0x0002, 0x1078, 0x4708, 0x6827, | 1917 | 0xa064, 0x00c0, 0x4abc, 0x2d60, 0x6004, 0xa084, 0x000f, 0xa080, |
1688 | 0x0036, 0x6932, 0x2d00, 0x682e, 0x0d7e, 0x1078, 0x3ac8, 0x1078, | 1918 | 0x492d, 0x203c, 0x87fb, 0x1040, 0x248c, 0x007c, 0x127e, 0x0d7e, |
1689 | 0x44d0, 0x2b68, 0x1078, 0x3af8, 0x0d7f, 0x1078, 0x3af8, 0x2001, | 1919 | 0x2091, 0x2200, 0x0d7f, 0x6884, 0x2060, 0x6888, 0x6b8c, 0x6c90, |
1690 | 0x0002, 0x007c, 0x1078, 0x44d0, 0x2001, 0x0017, 0x1078, 0x4691, | 1920 | 0x8057, 0xaad4, 0x00ff, 0xa084, 0x00ff, 0x007e, 0x6804, 0xa084, |
1691 | 0x70a3, 0x0000, 0x2009, 0x5138, 0x200b, 0x0006, 0x70af, 0x0017, | 1921 | 0x0008, 0x007f, 0x0040, 0x4ae0, 0xa0b8, 0x4917, 0x0078, 0x4ae2, |
1692 | 0x2009, 0x0200, 0x1078, 0x3a06, 0x2001, 0x0001, 0x007c, 0x2200, | 1922 | 0xa0b8, 0x490f, 0x7e08, 0xa6b5, 0x000c, 0x6904, 0xa18c, 0x00ff, |
1693 | 0x0079, 0x43ba, 0x4476, 0x44a7, 0x44a7, 0x44a7, 0x43db, 0x44b7, | 1923 | 0xa186, 0x0007, 0x0040, 0x4af0, 0xa18e, 0x000f, 0x00c0, 0x4af9, |
1694 | 0x43e3, 0x44b7, 0x44b7, 0x44ba, 0x44ba, 0x44bf, 0x44bf, 0x43d3, | 1924 | 0x681c, 0xa084, 0x0040, 0x0040, 0x4b00, 0xa6b5, 0x0001, 0x0078, |
1695 | 0x43d3, 0x44a7, 0x44a7, 0x44b7, 0x44a7, 0x43e3, 0x4476, 0x43e3, | 1925 | 0x4b00, 0x681c, 0xa084, 0x0040, 0x0040, 0x4b00, 0xa6b5, 0x0001, |
1696 | 0x43e3, 0x43e3, 0x43e3, 0x6827, 0x0084, 0x2009, 0x000b, 0x2001, | 1926 | 0x7007, 0x0004, 0x7004, 0xa084, 0x0004, 0x00c0, 0x4b02, 0x2400, |
1697 | 0x4300, 0x0078, 0x44c9, 0x6827, 0x000d, 0x2009, 0x000b, 0x2001, | 1927 | 0xa305, 0x00c0, 0x4b0d, 0x0078, 0x4b33, 0x2c58, 0x2704, 0x6104, |
1698 | 0x4300, 0x0078, 0x44aa, 0x6827, 0x0093, 0x2009, 0x000b, 0x2001, | 1928 | 0xac60, 0x6000, 0xa400, 0x701a, 0x6004, 0xa301, 0x701e, 0xa184, |
1699 | 0x4300, 0x0078, 0x4492, 0x2001, 0x0000, 0x007c, 0x2200, 0x0079, | 1929 | 0x0008, 0x0040, 0x4b23, 0x6010, 0xa081, 0x0000, 0x7022, 0x6014, |
1700 | 0x43f1, 0x4476, 0x440a, 0x440a, 0x440a, 0x440a, 0x44b7, 0x44b7, | 1930 | 0xa081, 0x0000, 0x7026, 0x6208, 0x2400, 0xa202, 0x7012, 0x620c, |
1701 | 0x44b7, 0x44b7, 0x44b7, 0x44b7, 0x44b7, 0x44b7, 0x440a, 0x440a, | 1931 | 0x2300, 0xa203, 0x7016, 0x7602, 0x7007, 0x0001, 0x2b60, 0x1078, |
1702 | 0x440a, 0x440a, 0x44b7, 0x440a, 0x440a, 0x44b7, 0x44b7, 0x44b7, | 1932 | 0x4a92, 0x0078, 0x4b35, 0x1078, 0x4c18, 0x00c0, 0x4b33, 0x127f, |
1703 | 0x44b7, 0x4476, 0x6827, 0x0093, 0x2009, 0x000b, 0x2001, 0x4300, | 1933 | 0x2000, 0x007c, 0x127e, 0x0d7e, 0x2091, 0x2200, 0x0d7f, 0x7007, |
1704 | 0x0078, 0x4492, 0xa684, 0x0004, 0x00c0, 0x4426, 0x6804, 0xa084, | 1934 | 0x0004, 0x7004, 0xa084, 0x0004, 0x00c0, 0x4b41, 0x7003, 0x0008, |
1705 | 0x00ff, 0xa086, 0x0006, 0x00c0, 0x467b, 0x1078, 0x44d0, 0x6807, | 1935 | 0x127f, 0x2000, 0x007c, 0x127e, 0x0d7e, 0x2091, 0x2200, 0x0d7f, |
1706 | 0x0117, 0x1078, 0x3af8, 0x2001, 0x0002, 0x007c, 0x6000, 0xa084, | 1936 | 0x2049, 0x4b4b, 0x7007, 0x0004, 0x7004, 0xa084, 0x0004, 0x00c0, |
1707 | 0x0004, 0x0040, 0x467b, 0x2d58, 0x6804, 0xa084, 0x00ff, 0xa086, | 1937 | 0x4b54, 0x7e08, 0xa6b5, 0x000c, 0x6904, 0xa18c, 0x00ff, 0xa186, |
1708 | 0x0006, 0x00c0, 0x4435, 0x6807, 0x0117, 0x6827, 0x0002, 0x1078, | 1938 | 0x0007, 0x0040, 0x4b67, 0xa18e, 0x000f, 0x00c0, 0x4b72, 0x681c, |
1709 | 0x4708, 0x6827, 0x0036, 0x6932, 0x2d00, 0x682e, 0x0d7e, 0x1078, | 1939 | 0xa084, 0x0040, 0x0040, 0x4b6e, 0xa6b5, 0x0001, 0x6840, 0x2050, |
1710 | 0x3ad7, 0x1078, 0x44d0, 0x2b68, 0x1078, 0x3af8, 0x0d7f, 0x1078, | 1940 | 0x0078, 0x4b7b, 0x681c, 0xa084, 0x0020, 0x00c0, 0x4b79, 0xa6b5, |
1711 | 0x3af8, 0x2001, 0x0002, 0x007c, 0x6000, 0xa084, 0x0004, 0x0040, | 1941 | 0x0001, 0x6828, 0x2050, 0x2d60, 0x6004, 0xa0bc, 0x000f, 0xa7b8, |
1712 | 0x467b, 0x2d58, 0x6a04, 0xa294, 0x00ff, 0xa286, 0x0006, 0x00c0, | 1942 | 0x491d, 0x273c, 0x87fb, 0x00c0, 0x4b8f, 0x0048, 0x4b89, 0x1078, |
1713 | 0x445b, 0x6807, 0x0117, 0x6827, 0x0002, 0x2d58, 0x1078, 0x4708, | 1943 | 0x248c, 0x689c, 0xa065, 0x0040, 0x4b93, 0x0078, 0x4b7c, 0x1078, |
1714 | 0x6827, 0x0036, 0x6932, 0x2d00, 0x682e, 0x0d7e, 0x1078, 0x3ae7, | 1944 | 0x4c18, 0x00c0, 0x4b8f, 0x127f, 0x2000, 0x007c, 0x127e, 0x007e, |
1715 | 0x1078, 0x44d0, 0x2b68, 0x1078, 0x3af8, 0x0d7f, 0x1078, 0x3af8, | 1945 | 0x017e, 0x0d7e, 0x2091, 0x2200, 0x0d7f, 0x037f, 0x047f, 0x7e08, |
1716 | 0x2001, 0x0002, 0x007c, 0x1078, 0x467b, 0x007c, 0x70b4, 0xa080, | 1946 | 0xa6b5, 0x000c, 0x6904, 0xa18c, 0x00ff, 0xa186, 0x0007, 0x0040, |
1717 | 0x00d2, 0x781a, 0x2001, 0x0001, 0x1078, 0x4691, 0x1078, 0x46ff, | 1947 | 0x4bad, 0xa18e, 0x000f, 0x00c0, 0x4bb6, 0x681c, 0xa084, 0x0040, |
1718 | 0x7003, 0x0000, 0x2001, 0x0002, 0x007c, 0x1078, 0x46c1, 0x1078, | 1948 | 0x0040, 0x4bbd, 0xa6b5, 0x0001, 0x0078, 0x4bbd, 0x681c, 0xa084, |
1719 | 0x46f8, 0x1078, 0x42d3, 0x1078, 0x41d0, 0x1078, 0x46ff, 0x2001, | 1949 | 0x0040, 0x0040, 0x4bbd, 0xa6b5, 0x0001, 0x2049, 0x4b96, 0x017e, |
1720 | 0x0001, 0x007c, 0x1078, 0x46c1, 0x1078, 0x46f8, 0x1078, 0x42d3, | 1950 | 0x6904, 0xa18c, 0x00ff, 0xa186, 0x0007, 0x0040, 0x4bcb, 0xa18e, |
1721 | 0x70b4, 0xa080, 0x00d2, 0x781a, 0x2001, 0x0013, 0x1078, 0x4691, | 1951 | 0x000f, 0x00c0, 0x4bce, 0x6840, 0x0078, 0x4bcf, 0x6828, 0x017f, |
1722 | 0x1078, 0x46ff, 0x7003, 0x0000, 0x2001, 0x0002, 0x007c, 0x1078, | 1952 | 0xa055, 0x0040, 0x4c15, 0x2d70, 0x2e60, 0x7004, 0xa0bc, 0x000f, |
1723 | 0x467b, 0x007c, 0x1078, 0x46c1, 0x1078, 0x46f8, 0x1078, 0x42d3, | 1953 | 0xa7b8, 0x491d, 0x273c, 0x87fb, 0x00c0, 0x4be9, 0x0048, 0x4be2, |
1724 | 0x1078, 0x41d0, 0x1078, 0x46ff, 0x2001, 0x0001, 0x007c, 0x2001, | 1954 | 0x1078, 0x248c, 0x709c, 0xa075, 0x2060, 0x0040, 0x4c15, 0x0078, |
1725 | 0x0003, 0x007c, 0x1078, 0x458b, 0x2001, 0x0000, 0x007c, 0x0c7e, | 1955 | 0x4bd5, 0x2704, 0xae68, 0x6808, 0xa422, 0x680c, 0xa31b, 0x0048, |
1726 | 0x077e, 0x6f14, 0x1078, 0x36e2, 0x077f, 0x0c7f, 0x2001, 0x0000, | 1956 | 0x4c02, 0x8a51, 0x00c0, 0x4bf6, 0x1078, 0x248c, 0x8738, 0x2704, |
1727 | 0x007c, 0x1078, 0x46c1, 0x1078, 0x467b, 0x2001, 0x0006, 0x007c, | 1957 | 0xa005, 0x00c0, 0x4bea, 0x709c, 0xa075, 0x2060, 0x0040, 0x4c15, |
1728 | 0x6904, 0xa18c, 0x00ff, 0xa186, 0x0007, 0x0040, 0x44db, 0xa186, | 1958 | 0x0078, 0x4bd5, 0x8422, 0x8420, 0x831a, 0xa399, 0x0000, 0x6908, |
1729 | 0x000f, 0x00c0, 0x44df, 0x1078, 0x46f8, 0x1078, 0x42d3, 0x70b4, | 1959 | 0x2400, 0xa122, 0x690c, 0x2300, 0xa11b, 0x00c8, 0x4c11, 0x1078, |
1730 | 0xa080, 0x00d2, 0x781a, 0x1078, 0x46ff, 0x7003, 0x0000, 0x007c, | 1960 | 0x248c, 0x2071, 0x0020, 0x0078, 0x4b00, 0x127f, 0x2000, 0x007c, |
1731 | 0x7aa8, 0xa294, 0x00ff, 0x78a8, 0xa084, 0x00ff, 0xa08a, 0x0004, | 1961 | 0x7008, 0xa084, 0x0003, 0xa086, 0x0003, 0x0040, 0x4c40, 0x2704, |
1732 | 0x00c8, 0x467b, 0x1079, 0x44f5, 0x007c, 0x467b, 0x44f9, 0x467b, | 1962 | 0xac08, 0x2104, 0x701a, 0x8108, 0x2104, 0x701e, 0x8108, 0x2104, |
1733 | 0x4592, 0xa282, 0x0003, 0x0040, 0x4500, 0x1078, 0x467b, 0x007c, | 1963 | 0x7012, 0x8108, 0x2104, 0x7016, 0x6004, 0xa084, 0x0008, 0x0040, |
1734 | 0x7da8, 0xa5ac, 0x00ff, 0x7ca8, 0xa4a4, 0x00ff, 0x69b8, 0xa184, | 1964 | 0x4c37, 0x8108, 0x2104, 0x7022, 0x8108, 0x2104, 0x7026, 0x7602, |
1735 | 0x0100, 0x0040, 0x453f, 0xa18c, 0xfeff, 0x69ba, 0x78a0, 0xa005, | 1965 | 0x7004, 0xa084, 0x0010, 0xa085, 0x0001, 0x7006, 0x1078, 0x4a92, |
1736 | 0x00c0, 0x453f, 0xa4a4, 0x00ff, 0x0040, 0x4533, 0xa482, 0x000c, | 1966 | 0x007c, 0x127e, 0x007e, 0x0d7e, 0x2091, 0x2200, 0x2049, 0x4c41, |
1737 | 0x0040, 0x451c, 0x00c8, 0x4526, 0x852b, 0x852b, 0x1078, 0x3760, | 1967 | 0x0d7f, 0x087f, 0x7108, 0xa184, 0x0003, 0x00c0, 0x4c6b, 0x017e, |
1738 | 0x0040, 0x4526, 0x1078, 0x355b, 0x0078, 0x4535, 0x1078, 0x465d, | 1968 | 0x6904, 0xa18c, 0x00ff, 0xa186, 0x0007, 0x0040, 0x4c5b, 0xa18e, |
1739 | 0x1078, 0x3586, 0x69b8, 0xa18d, 0x0100, 0x69ba, 0xa6b5, 0x1000, | 1969 | 0x000f, 0x00c0, 0x4c5e, 0x6840, 0x0078, 0x4c5f, 0x6828, 0x017f, |
1740 | 0x7e5a, 0x0078, 0x4538, 0x1078, 0x3586, 0xa6b4, 0xefff, 0x7e5a, | 1970 | 0xa005, 0x0040, 0x4c79, 0x0078, 0x489e, 0x0020, 0x4c6b, 0x1078, |
1741 | 0x70b4, 0xa080, 0x0091, 0x781a, 0x2001, 0x0001, 0x007c, 0x0c7e, | 1971 | 0x4a55, 0x0078, 0x4c79, 0x00a0, 0x4c72, 0x7108, 0x1078, 0x49ce, |
1742 | 0x1078, 0x457f, 0x6200, 0xd2e4, 0x0040, 0x4570, 0x6208, 0x8217, | 1972 | 0x0078, 0x4c4a, 0x7007, 0x0010, 0x00a0, 0x4c74, 0x7108, 0x1078, |
1743 | 0xa294, 0x00ff, 0xa282, 0x000c, 0x0048, 0x4552, 0x0040, 0x4552, | 1973 | 0x49ce, 0x7008, 0xa086, 0x0008, 0x00c0, 0x4c4a, 0x7000, 0xa005, |
1744 | 0x2011, 0x000c, 0x2400, 0xa202, 0x00c8, 0x4557, 0x2220, 0x6208, | 1974 | 0x00c0, 0x4c4a, 0x7003, 0x0000, 0x2049, 0x0000, 0x127f, 0x2000, |
1745 | 0xa294, 0x00ff, 0x701c, 0xa202, 0x00c8, 0x455f, 0x721c, 0x2200, | 1975 | 0x007c, 0x127e, 0x147e, 0x137e, 0x157e, 0x0c7e, 0x0d7e, 0x2091, |
1746 | 0xa502, 0x00c8, 0x4564, 0x2228, 0x1078, 0x4661, 0x852b, 0x852b, | 1976 | 0x2200, 0x0d7f, 0x2049, 0x4c89, 0xad80, 0x0011, 0x20a0, 0x2099, |
1747 | 0x1078, 0x3760, 0x0040, 0x4570, 0x1078, 0x3562, 0x0078, 0x4574, | 1977 | 0x0031, 0x700c, 0xa084, 0x00ff, 0x682a, 0x7007, 0x0008, 0x7007, |
1748 | 0x1078, 0x465d, 0x1078, 0x358d, 0xa6b5, 0x1000, 0x7e5a, 0x70b4, | 1978 | 0x0002, 0x7003, 0x0001, 0x0040, 0x4ca8, 0x8000, 0x80ac, 0x53a5, |
1749 | 0xa080, 0x00be, 0x781a, 0x2001, 0x0004, 0x0c7f, 0x007c, 0x007e, | 1979 | 0x7007, 0x0004, 0x7004, 0xa084, 0x0004, 0x00c0, 0x4caa, 0x0c7f, |
1750 | 0x6814, 0x8007, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xa0e0, | 1980 | 0x2049, 0x0000, 0x7003, 0x0000, 0x157f, 0x137f, 0x147f, 0x127f, |
1751 | 0x5380, 0x007f, 0x007c, 0x0c7e, 0x1078, 0x457f, 0x1078, 0x358d, | 1981 | 0x2000, 0x007c, 0x2091, 0x6000, 0x2091, 0x8000, 0x78cc, 0xa005, |
1752 | 0x0c7f, 0x007c, 0xa282, 0x0002, 0x00c0, 0x467b, 0x7aa8, 0xa294, | 1982 | 0x0040, 0x4cd1, 0x7994, 0x70d0, 0xa106, 0x00c0, 0x4cd1, 0x7804, |
1753 | 0x00ff, 0x69b8, 0xa184, 0x0200, 0x0040, 0x45c9, 0xa18c, 0xfdff, | 1983 | 0xa005, 0x0040, 0x4cd1, 0x7807, 0x0000, 0x0068, 0x4cd1, 0x2091, |
1754 | 0x69ba, 0x78a0, 0xa005, 0x00c0, 0x45c9, 0xa282, 0x0002, 0x00c8, | 1984 | 0x4080, 0x7820, 0x8001, 0x7822, 0x00c0, 0x4d2c, 0x7824, 0x7822, |
1755 | 0x369d, 0x1078, 0x4627, 0x1078, 0x362b, 0x1078, 0x3586, 0xa684, | 1985 | 0x2069, 0x5240, 0x6800, 0xa084, 0x0007, 0x0040, 0x4cef, 0xa086, |
1756 | 0x0100, 0x0040, 0x45bf, 0x682c, 0xa084, 0x0001, 0x0040, 0x45bf, | 1986 | 0x0002, 0x0040, 0x4cef, 0x6834, 0xa00d, 0x0040, 0x4cef, 0x2104, |
1757 | 0xc6fc, 0x7888, 0xa084, 0x0040, 0x0040, 0x45bf, 0xc6fd, 0xa6b5, | 1987 | 0xa005, 0x0040, 0x4cef, 0x8001, 0x200a, 0x0040, 0x4dd4, 0x7848, |
1758 | 0x1000, 0x7e5a, 0x70b4, 0xa080, 0x0091, 0x781a, 0x2001, 0x0001, | 1988 | 0xa005, 0x0040, 0x4cfd, 0x8001, 0x784a, 0x00c0, 0x4cfd, 0x2009, |
1759 | 0x007c, 0x0c7e, 0x1078, 0x457f, 0xa284, 0xfffe, 0x0040, 0x45d4, | 1989 | 0x0102, 0x6844, 0x200a, 0x1078, 0x226f, 0x6890, 0xa005, 0x0040, |
1760 | 0x2011, 0x0001, 0x0078, 0x45d8, 0xa284, 0x0001, 0x0040, 0x45de, | 1990 | 0x4d09, 0x8001, 0x6892, 0x00c0, 0x4d09, 0x686f, 0x0000, 0x6873, |
1761 | 0x6100, 0xd1ec, 0x00c0, 0x45de, 0x2011, 0x0000, 0x1078, 0x4619, | 1991 | 0x0001, 0x2061, 0x5500, 0x20a9, 0x0100, 0x2009, 0x0002, 0x6034, |
1762 | 0x1078, 0x3632, 0x1078, 0x358d, 0xa684, 0x0100, 0x0040, 0x45f4, | 1992 | 0xa005, 0x0040, 0x4d1f, 0x8001, 0x6036, 0x00c0, 0x4d1f, 0x6010, |
1763 | 0x682c, 0xa084, 0x0001, 0x0040, 0x45f4, 0xc6fc, 0x7888, 0xa084, | 1993 | 0xa005, 0x0040, 0x4d1f, 0x017e, 0x1078, 0x226f, 0x017f, 0xace0, |
1764 | 0x0040, 0x0040, 0x45f4, 0xc6fd, 0xa6b5, 0x1000, 0x7e5a, 0x70b4, | 1994 | 0x0010, 0x0070, 0x4d25, 0x0078, 0x4d0f, 0x8109, 0x0040, 0x4d2c, |
1765 | 0xa080, 0x00be, 0x781a, 0x2001, 0x0004, 0x0c7f, 0x007c, 0x0c7e, | 1995 | 0x20a9, 0x0100, 0x0078, 0x4d0f, 0x1078, 0x4d39, 0x1078, 0x4d5e, |
1766 | 0x2960, 0x6000, 0x2011, 0x0001, 0xa084, 0x2000, 0x00c0, 0x460a, | 1996 | 0x2009, 0x5251, 0x2104, 0x2009, 0x0102, 0x200a, 0x2091, 0x8001, |
1767 | 0x2011, 0x0000, 0x78ab, 0x0001, 0x78ab, 0x0002, 0x78ab, 0x0003, | 1997 | 0x007c, 0x7834, 0x8001, 0x7836, 0x00c0, 0x4d5d, 0x7838, 0x7836, |
1768 | 0x7aaa, 0xa8c0, 0x0004, 0x68b8, 0xa085, 0x0200, 0x68ba, 0x0c7f, | 1998 | 0x2091, 0x8000, 0x7844, 0xa005, 0x00c0, 0x4d48, 0x2001, 0x0101, |
1769 | 0x007c, 0x789b, 0x0018, 0x78ab, 0x0001, 0x78ab, 0x0002, 0x78ab, | 1999 | 0x8001, 0x7846, 0xa080, 0x7500, 0x2040, 0x2004, 0xa065, 0x0040, |
1770 | 0x0003, 0x7aaa, 0x789b, 0x0081, 0x78ab, 0x0004, 0x007c, 0x0c7e, | 2000 | 0x4d5d, 0x6024, 0xa005, 0x0040, 0x4d59, 0x8001, 0x6026, 0x0040, |
1771 | 0x7054, 0x2060, 0x6000, 0xa084, 0x1000, 0x00c0, 0x4635, 0x2029, | 2001 | 0x4d8d, 0x6000, 0x2c40, 0x0078, 0x4d4e, 0x007c, 0x7828, 0x8001, |
1772 | 0x0032, 0x2021, 0x0000, 0x0078, 0x4655, 0x6508, 0xa5ac, 0x00ff, | 2002 | 0x782a, 0x00c0, 0x4d8c, 0x782c, 0x782a, 0x7830, 0xa005, 0x00c0, |
1773 | 0x7018, 0xa086, 0x0028, 0x00c0, 0x4645, 0xa582, 0x0019, 0x00c8, | 2003 | 0x4d6b, 0x2001, 0x0200, 0x8001, 0x7832, 0x8003, 0x8003, 0x8003, |
1774 | 0x464b, 0x2029, 0x0019, 0x0078, 0x464b, 0xa582, 0x000c, 0x00c8, | 2004 | 0x8003, 0xa090, 0x5500, 0xa298, 0x0002, 0x2304, 0xa084, 0x0008, |
1775 | 0x464b, 0x2029, 0x000c, 0x6408, 0x8427, 0xa4a4, 0x00ff, 0xa482, | 2005 | 0x0040, 0x4d8c, 0xa290, 0x0009, 0x2204, 0xa005, 0x0040, 0x4d84, |
1776 | 0x000c, 0x0048, 0x4655, 0x2021, 0x000c, 0x1078, 0x4661, 0x68b8, | 2006 | 0x8001, 0x2012, 0x00c0, 0x4d8c, 0x2304, 0xa084, 0xfff7, 0xa085, |
1777 | 0xa085, 0x0100, 0x68ba, 0x0c7f, 0x007c, 0x2021, 0x0000, 0x2029, | 2007 | 0x0080, 0x201a, 0x1078, 0x226f, 0x007c, 0x2069, 0x5240, 0x6800, |
1778 | 0x0032, 0x789b, 0x0018, 0x78ab, 0x0001, 0x78ab, 0x0003, 0x78ab, | 2008 | 0xa005, 0x0040, 0x4d97, 0x6848, 0xac06, 0x0040, 0x4dd4, 0x601b, |
1779 | 0x0001, 0x7daa, 0x7caa, 0x789b, 0x0081, 0x78ab, 0x0005, 0x007c, | 2009 | 0x0006, 0x60b4, 0xa084, 0x3f00, 0x601e, 0x6020, 0xa084, 0x00ff, |
1780 | 0x2001, 0x0003, 0x1078, 0x4689, 0x70b4, 0xa080, 0x00be, 0x781a, | 2010 | 0xa085, 0x0060, 0x6022, 0x6000, 0x2042, 0x6714, 0x6f82, 0x1078, |
1781 | 0x2001, 0x0005, 0x007c, 0x2001, 0x0007, 0x1078, 0x4689, 0xa6b5, | 2011 | 0x19c5, 0x6818, 0xa005, 0x0040, 0x4daf, 0x8001, 0x681a, 0x6808, |
1782 | 0x1000, 0x7e5a, 0x70b4, 0xa080, 0x00be, 0x781a, 0x2001, 0x0004, | 2012 | 0xa084, 0xffef, 0x680a, 0x6810, 0x8001, 0x00d0, 0x4db9, 0x1078, |
1783 | 0x007c, 0x789b, 0x0018, 0x78aa, 0x789b, 0x0081, 0x78ab, 0x0001, | 2013 | 0x248c, 0x6812, 0x602f, 0x0000, 0x6033, 0x0000, 0x2c68, 0x1078, |
1784 | 0x007c, 0x6904, 0xa18c, 0x00ff, 0xa196, 0x0007, 0x0040, 0x469f, | 2014 | 0x1cdc, 0x2069, 0x5240, 0x7944, 0xa184, 0x0100, 0x2001, 0x0006, |
1785 | 0xa196, 0x000f, 0x0040, 0x469f, 0x1078, 0x195a, 0x007c, 0x6924, | 2015 | 0x686e, 0x00c0, 0x4dcf, 0x6986, 0x2001, 0x0004, 0x686e, 0x1078, |
1786 | 0xa194, 0x003f, 0x00c0, 0x46a8, 0xa18c, 0xffc0, 0xa105, 0x6826, | 2016 | 0x226a, 0x2091, 0x8001, 0x007c, 0x2069, 0x0100, 0x2009, 0x5240, |
1787 | 0x1078, 0x3af8, 0x691c, 0xa184, 0x0100, 0x0040, 0x46b5, 0x6914, | 2017 | 0x2104, 0xa084, 0x0007, 0x0040, 0x4e30, 0xa086, 0x0007, 0x00c0, |
1788 | 0x1078, 0x3b69, 0x6204, 0x8210, 0x6206, 0x007c, 0x692c, 0x6834, | 2018 | 0x4dea, 0x0d7e, 0x2009, 0x5252, 0x216c, 0x1078, 0x3b1c, 0x0d7f, |
1789 | 0x682e, 0xa112, 0x6930, 0x6838, 0x6832, 0xa11b, 0xa200, 0xa301, | 2019 | 0x0078, 0x4e30, 0x2009, 0x5252, 0x2164, 0x1078, 0x2437, 0x601b, |
1790 | 0x007c, 0x0c7e, 0xade0, 0x0018, 0x6003, 0x0070, 0x6106, 0x600b, | 2020 | 0x0006, 0x6858, 0xa084, 0x3f00, 0x601e, 0x6020, 0xa084, 0x00ff, |
1791 | 0x0000, 0x600f, 0x0a00, 0x6013, 0x0000, 0x6017, 0x0000, 0x8007, | 2021 | 0xa085, 0x0048, 0x6022, 0x602f, 0x0000, 0x6033, 0x0000, 0x6830, |
1792 | 0x601a, 0x601f, 0x0000, 0x6023, 0x0000, 0x0c7f, 0x6824, 0xa085, | 2022 | 0xa084, 0x0040, 0x0040, 0x4e24, 0x684b, 0x0004, 0x20a9, 0x0014, |
1793 | 0x0080, 0x6826, 0x007c, 0x157e, 0x137e, 0x147e, 0x2098, 0xaf80, | 2023 | 0x6848, 0xa084, 0x0004, 0x0040, 0x4e11, 0x0070, 0x4e11, 0x0078, |
1794 | 0x002d, 0x20a0, 0x81ac, 0x0040, 0x46e6, 0x53a6, 0xa184, 0x0001, | 2024 | 0x4e08, 0x684b, 0x0009, 0x20a9, 0x0014, 0x6848, 0xa084, 0x0001, |
1795 | 0x0040, 0x46ec, 0x3304, 0x78be, 0x147f, 0x137f, 0x157f, 0x007c, | 2025 | 0x0040, 0x4e1e, 0x0070, 0x4e1e, 0x0078, 0x4e15, 0x20a9, 0x00fa, |
1796 | 0x70b0, 0xa005, 0x10c0, 0x23eb, 0x70b3, 0x8000, 0x0078, 0x4a3a, | 2026 | 0x0070, 0x4e24, 0x0078, 0x4e20, 0x6808, 0xa084, 0xfffd, 0x680a, |
1797 | 0x71b0, 0x81ff, 0x0040, 0x46fe, 0x1078, 0x4b30, 0x007c, 0x71b0, | 2027 | 0x681b, 0x0048, 0x2009, 0x525b, 0x200b, 0x0007, 0x784c, 0x784a, |
1798 | 0x81ff, 0x0040, 0x4707, 0x70b3, 0x0000, 0x1078, 0x4776, 0x007c, | 2028 | 0x2091, 0x8001, 0x007c, 0x2079, 0x5200, 0x1078, 0x4e5e, 0x1078, |
1799 | 0x0c7e, 0x0d7e, 0x1078, 0x1937, 0x0c7f, 0x157e, 0x137e, 0x147e, | 2029 | 0x4e42, 0x1078, 0x4e50, 0x7833, 0x0000, 0x7847, 0x0000, 0x784b, |
1800 | 0x2da0, 0x2c98, 0x20a9, 0x0031, 0x53a3, 0x147f, 0x137f, 0x157f, | 2030 | 0x0000, 0x007c, 0x2019, 0x0003, 0x2011, 0x5246, 0x2204, 0xa086, |
1801 | 0x6807, 0x010d, 0x680b, 0x0000, 0x7004, 0x8007, 0x681a, 0x6823, | 2031 | 0x003c, 0x0040, 0x4e4d, 0x2019, 0x0002, 0x7b2a, 0x7b2e, 0x007c, |
1802 | 0x0000, 0x681f, 0x0000, 0x689f, 0x0000, 0x0c7f, 0x007c, 0x70b4, | 2032 | 0x2019, 0x0039, 0x2011, 0x5246, 0x2204, 0xa086, 0x003c, 0x0040, |
1803 | 0xa080, 0x0091, 0x781a, 0x0078, 0x2459, 0x70b4, 0xa080, 0x0081, | 2033 | 0x4e5b, 0x2019, 0x0027, 0x7b36, 0x7b3a, 0x007c, 0x2019, 0x3971, |
1804 | 0x781a, 0x0078, 0x2459, 0x70b4, 0xa080, 0x00be, 0x781a, 0x0078, | 2034 | 0x2011, 0x5246, 0x2204, 0xa086, 0x003c, 0x0040, 0x4e69, 0x2019, |
1805 | 0x2459, 0x70b4, 0xa080, 0x00c8, 0x781a, 0x0078, 0x2459, 0x6904, | 2035 | 0x2626, 0x7b22, 0x7b26, 0x783f, 0x0000, 0x7843, 0x000a, 0x007c, |
1806 | 0xa18c, 0x00ff, 0xa196, 0x0007, 0x0040, 0x474c, 0xa196, 0x000f, | 2036 | 0x0020, 0x002b, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, |
1807 | 0x0040, 0x474c, 0x6807, 0x0117, 0x2001, 0x0200, 0x6826, 0x8007, | 2037 | 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, |
1808 | 0x789b, 0x000e, 0x78aa, 0x6820, 0xa085, 0x8000, 0x6822, 0x2031, | 2038 | 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, |
1809 | 0x0400, 0x6eb6, 0x7e5a, 0x71b4, 0xa188, 0x0091, 0x791a, 0x007c, | 2039 | 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, |
1810 | 0x1078, 0x46ff, 0x7848, 0xa085, 0x000c, 0x784a, 0x70b4, 0xa080, | 2040 | 0x0000, 0x0020, 0x0000, 0x0014, 0x0014, 0x9849, 0x0014, 0x0014, |
1811 | 0x00d2, 0x781a, 0x2009, 0x000b, 0x2001, 0x4400, 0x1078, 0x46c1, | 2041 | 0x0014, 0x0014, 0x0014, 0x0014, 0x0014, 0x0080, 0x000f, 0x0000, |
1812 | 0x2001, 0x0013, 0x1078, 0x4691, 0x0078, 0x3b96, 0x127e, 0x2091, | 2042 | 0x0201, 0x0604, 0x0c08, 0x2120, 0x4022, 0xf880, 0x0018, 0x300b, |
1813 | 0x2200, 0x2049, 0x4776, 0x7000, 0x7204, 0xa205, 0x720c, 0xa215, | 2043 | 0xa201, 0x0014, 0xa200, 0x0014, 0xa200, 0x0214, 0x0000, 0x006c, |
1814 | 0x7008, 0xa084, 0xfff7, 0xa205, 0x0040, 0x4788, 0x0078, 0x478d, | 2044 | 0x0002, 0x0014, 0x98cd, 0x009e, 0x0093, 0xa202, 0x8838, 0x3806, |
1815 | 0x7003, 0x0000, 0x127f, 0x2000, 0x007c, 0x7000, 0xa084, 0x0001, | 2045 | 0x8839, 0x20c3, 0x0864, 0x9885, 0x28c1, 0x9cae, 0xa203, 0x300c, |
1816 | 0x00c0, 0x47bb, 0x7108, 0x8103, 0x00c8, 0x479a, 0x1078, 0x48bd, | 2046 | 0x2846, 0x8161, 0x846a, 0x8300, 0x1856, 0x883a, 0x9865, 0x28f2, |
1817 | 0x0078, 0x4792, 0x700c, 0xa08c, 0x00ff, 0x0040, 0x47bb, 0x7004, | 2047 | 0x9c91, 0x9858, 0x300c, 0x28e1, 0x9c91, 0x2802, 0xa206, 0x64c3, |
1818 | 0x8004, 0x00c8, 0x47b2, 0x7014, 0xa005, 0x00c0, 0x47ae, 0x7010, | 2048 | 0x282e, 0xa207, 0x64a0, 0x6de0, 0x67a0, 0x6fc0, 0x1814, 0x883b, |
1819 | 0xa005, 0x0040, 0x47b2, 0xa102, 0x00c8, 0x4792, 0x7007, 0x0010, | 2049 | 0x7824, 0x68c1, 0x7864, 0x883e, 0x9879, 0x8576, 0x8677, 0x206b, |
1820 | 0x0078, 0x47bb, 0x8aff, 0x0040, 0x47bb, 0x1078, 0x4b07, 0x00c0, | 2050 | 0x28c1, 0x9cae, 0x2044, 0x2103, 0x20a2, 0x2081, 0x9865, 0xa209, |
1821 | 0x47b5, 0x0040, 0x4792, 0x1078, 0x4846, 0x7003, 0x0000, 0x127f, | 2051 | 0x2901, 0x988d, 0x0014, 0xa205, 0xa300, 0x1872, 0x879a, 0x883c, |
1822 | 0x2000, 0x007c, 0x017e, 0x6104, 0xa18c, 0x00ff, 0xa186, 0x0007, | 2052 | 0x1fe2, 0xc601, 0xa20a, 0x856e, 0x0704, 0x9c91, 0x0014, 0xa204, |
1823 | 0x0040, 0x47ce, 0xa18e, 0x000f, 0x00c0, 0x47d1, 0x6040, 0x0078, | 2053 | 0xa300, 0x3009, 0x19e2, 0xf864, 0x856e, 0x883f, 0x08e6, 0x9891, |
1824 | 0x47d2, 0x6428, 0x017f, 0x84ff, 0x0040, 0x47fc, 0x2c70, 0x7004, | 2054 | 0xf881, 0x988c, 0xc801, 0x0014, 0xf8c1, 0x0016, 0x85b2, 0x80f0, |
1825 | 0xa0bc, 0x000f, 0xa7b8, 0x480c, 0x273c, 0x87fb, 0x00c0, 0x47ea, | 2055 | 0x9532, 0xfb02, 0x1de2, 0x0014, 0x8532, 0xf241, 0x0014, 0x1de2, |
1826 | 0x0048, 0x47e4, 0x1078, 0x23eb, 0x609c, 0xa075, 0x0040, 0x47fc, | 2056 | 0x84a8, 0xd7a0, 0x1fe6, 0x0014, 0xa208, 0x6043, 0x8008, 0x1dc1, |
1827 | 0x0078, 0x47d7, 0x2704, 0xae68, 0x6808, 0xa630, 0x680c, 0xa529, | 2057 | 0x0016, 0x8300, 0x8160, 0x842a, 0xf041, 0x3008, 0x84a8, 0x11d6, |
1828 | 0x8421, 0x0040, 0x47fc, 0x8738, 0x2704, 0xa005, 0x00c0, 0x47eb, | 2058 | 0x7042, 0x20dd, 0x0011, 0x20d5, 0x8822, 0x0016, 0x8000, 0x2847, |
1829 | 0x709c, 0xa075, 0x00c0, 0x47d7, 0x007c, 0x0000, 0x0005, 0x0009, | 2059 | 0x1011, 0x98c0, 0x8000, 0xa000, 0x2802, 0x1011, 0x98c6, 0x9865, |
1830 | 0x000d, 0x0011, 0x0015, 0x0019, 0x001d, 0x0000, 0x0003, 0x0009, | 2060 | 0x283e, 0x1011, 0x98ca, 0xa20b, 0x0017, 0x300c, 0xa300, 0x1de2, |
1831 | 0x000f, 0x0015, 0x001b, 0x0000, 0x0000, 0x4801, 0x47fe, 0x0000, | 2061 | 0xdb81, 0x0014, 0x0210, 0x98d7, 0x0014, 0x26e0, 0x873a, 0xfb02, |
1832 | 0x0000, 0x8000, 0x0000, 0x4801, 0x0000, 0x4809, 0x4806, 0x0000, | 2062 | 0x19f2, 0x1fe2, 0x0014, 0xa20d, 0x3806, 0x0210, 0x9cb3, 0x0704, |
1833 | 0x0000, 0x0000, 0x0000, 0x4809, 0x0000, 0x4804, 0x4804, 0x0000, | 2063 | 0x0000, 0x006c, 0x0002, 0x984f, 0x0014, 0x009e, 0x00a0, 0x0017, |
1834 | 0x0000, 0x8000, 0x0000, 0x4804, 0x0000, 0x480a, 0x480a, 0x0000, | 2064 | 0x60ff, 0x300c, 0x8720, 0xa211, 0x9cd0, 0x8772, 0x8837, 0x2101, |
1835 | 0x0000, 0x0000, 0x0000, 0x480a, 0x127e, 0x2091, 0x2200, 0x2079, | 2065 | 0x987a, 0x10d2, 0x78e2, 0x9cd3, 0x9859, 0xd984, 0xf0e2, 0xf0a1, |
1836 | 0x5100, 0x2071, 0x0010, 0x7007, 0x000a, 0x7007, 0x0002, 0x7003, | 2066 | 0x98cd, 0x0014, 0x8831, 0xd166, 0x8830, 0x800f, 0x9401, 0xb520, |
1837 | 0x0000, 0x2071, 0x0020, 0x7007, 0x000a, 0x7007, 0x0002, 0x7003, | 2067 | 0xc802, 0x8820, 0x987a, 0x2301, 0x987a, 0x10d2, 0x78e4, 0x9cd3, |
1838 | 0x0000, 0x2049, 0x0000, 0x127f, 0x2000, 0x007c, 0x2049, 0x4846, | 2068 | 0x8821, 0x8820, 0x9859, 0xf123, 0xf142, 0xf101, 0x98c6, 0x10d2, |
1839 | 0x2019, 0x0000, 0x7004, 0x8004, 0x00c8, 0x4899, 0x7007, 0x0012, | 2069 | 0x70f6, 0x8832, 0x8203, 0x870c, 0xd99e, 0x6001, 0x0014, 0x6845, |
1840 | 0x7108, 0x7008, 0xa106, 0x00c0, 0x4850, 0xa184, 0x01e0, 0x0040, | 2070 | 0x0214, 0xa21b, 0x9cd0, 0x2001, 0x98c5, 0x8201, 0x1852, 0xd184, |
1841 | 0x485b, 0x1078, 0x23eb, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, | 2071 | 0xd163, 0x8834, 0x8001, 0x988d, 0x3027, 0x84a8, 0x1a56, 0x8833, |
1842 | 0x00c8, 0x4866, 0xa184, 0x4000, 0x00c0, 0x4850, 0xa19c, 0x300c, | 2072 | 0x0014, 0xa218, 0x6981, 0x9cbc, 0x6926, 0x6902, 0x1a34, 0x9899, |
1843 | 0xa386, 0x2004, 0x0040, 0x4874, 0xa386, 0x0008, 0x0040, 0x487f, | 2073 | 0x1a14, 0x7021, 0x0014, 0xa300, 0x6141, 0x6964, 0x8010, 0x8592, |
1844 | 0xa386, 0x200c, 0x00c0, 0x4850, 0x7200, 0x8204, 0x0048, 0x487f, | 2074 | 0x8026, 0x84b9, 0x69e4, 0x8023, 0x16e1, 0x8001, 0x10f1, 0x6946, |
1845 | 0x730c, 0xa384, 0x00ff, 0x0040, 0x487f, 0x1078, 0x23eb, 0x7007, | 2075 | 0xa213, 0x1462, 0xa213, 0x8000, 0x16e1, 0x98b5, 0x6969, 0xa214, |
1846 | 0x0012, 0x7000, 0xa084, 0x0001, 0x00c0, 0x4899, 0x7008, 0xa084, | 2076 | 0x61c2, 0x8002, 0x14e1, 0x8004, 0x16e1, 0x0101, 0x300a, 0x8827, |
1847 | 0x01e0, 0x00c0, 0x4899, 0x7310, 0x7014, 0xa305, 0x0040, 0x4899, | 2077 | 0x0014, 0xa217, 0x9cbc, 0x0014, 0xa300, 0x8181, 0x842a, 0x84a8, |
1848 | 0x710c, 0xa184, 0x0300, 0x00c0, 0x4899, 0xa184, 0x00ff, 0x00c0, | 2078 | 0x1ce6, 0x882c, 0x0016, 0xa212, 0x9cd0, 0x10d2, 0x70e4, 0x0004, |
1849 | 0x4846, 0x7007, 0x0012, 0x7007, 0x0008, 0x7004, 0xa084, 0x0008, | 2079 | 0x8007, 0x9424, 0xcc1a, 0x9cd3, 0x98c5, 0x8827, 0x300a, 0x0013, |
1850 | 0x00c0, 0x489d, 0x7007, 0x0012, 0x7108, 0x8103, 0x0048, 0x48a2, | 2080 | 0x8000, 0x84a4, 0x0016, 0x11c2, 0x211e, 0x870e, 0xa21d, 0x0014, |
1851 | 0x7003, 0x0000, 0x2049, 0x0000, 0x007c, 0x107e, 0x007e, 0x127e, | 2081 | 0x878e, 0x0016, 0xa21c, 0x1035, 0x9891, 0xa210, 0xa000, 0x8010, |
1852 | 0x157e, 0x2091, 0x2200, 0x7108, 0x1078, 0x48bd, 0x157f, 0x127f, | 2082 | 0x8592, 0x853b, 0xd044, 0x8022, 0x3807, 0x84bb, 0x98ea, 0x8021, |
1853 | 0x2091, 0x8001, 0x007f, 0x107f, 0x007c, 0x7204, 0x7500, 0x730c, | 2083 | 0x3807, 0x84b9, 0x300c, 0x817e, 0x872b, 0x8772, 0x9891, 0x0000, |
1854 | 0xa384, 0x0300, 0x00c0, 0x48e4, 0xa184, 0x01e0, 0x00c0, 0x4908, | 2084 | 0x0020, 0x002b, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, |
1855 | 0x7108, 0xa184, 0x01e0, 0x00c0, 0x4908, 0x2001, 0x04fd, 0x2004, | 2085 | 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, |
1856 | 0xa082, 0x0005, 0x00c8, 0x48d8, 0xa184, 0x4000, 0x00c0, 0x48c8, | 2086 | 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, |
1857 | 0xa184, 0x0007, 0x0079, 0x48dc, 0x48e6, 0x48f8, 0x48e4, 0x48f8, | 2087 | 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, |
1858 | 0x48e4, 0x4944, 0x48e4, 0x4942, 0x1078, 0x23eb, 0x7004, 0xa084, | 2088 | 0x0000, 0x0020, 0x0000, 0x0014, 0x0014, 0x9849, 0x0014, 0x0014, |
1859 | 0x0010, 0xa085, 0x0002, 0x7006, 0x8aff, 0x00c0, 0x48f3, 0x2049, | 2089 | 0x98e2, 0x98cd, 0x0014, 0x0014, 0x0014, 0x0080, 0x0137, 0x0000, |
1860 | 0x0000, 0x0078, 0x48f7, 0x1078, 0x4b07, 0x00c0, 0x48f3, 0x007c, | 2090 | 0x0201, 0x0604, 0x0c08, 0x2120, 0x4022, 0xf880, 0x0018, 0x300b, |
1861 | 0x7004, 0xa084, 0x0010, 0xa085, 0x0002, 0x7006, 0x8aff, 0x00c0, | 2091 | 0xa201, 0x0014, 0xa200, 0x0014, 0xa200, 0x0214, 0xa202, 0x8838, |
1862 | 0x4903, 0x0078, 0x4907, 0x1078, 0x4b07, 0x00c0, 0x4903, 0x007c, | 2092 | 0x3806, 0x8839, 0x20c3, 0x0864, 0xa82f, 0x28c1, 0x9cae, 0xa203, |
1863 | 0x7007, 0x0012, 0x7108, 0x00e0, 0x490b, 0x2091, 0x6000, 0x00e0, | 2093 | 0x300c, 0x2846, 0x8161, 0x846a, 0x8300, 0x1856, 0x883a, 0xa804, |
1864 | 0x490f, 0x2091, 0x6000, 0x7007, 0x0012, 0x7007, 0x0008, 0x7004, | 2094 | 0x28f2, 0x9c91, 0xa8f4, 0x300c, 0x28e1, 0x9c91, 0x2802, 0xa206, |
1865 | 0xa084, 0x0008, 0x00c0, 0x4917, 0x7007, 0x0012, 0x7108, 0x8103, | 2095 | 0x64c3, 0x282e, 0xa207, 0x64a0, 0x6de0, 0x67a0, 0x6fc0, 0x1814, |
1866 | 0x0048, 0x491c, 0x7003, 0x0000, 0x7000, 0xa005, 0x00c0, 0x4930, | 2096 | 0x883b, 0x7824, 0x68c1, 0x7864, 0x883e, 0xa802, 0x8576, 0x8677, |
1867 | 0x7004, 0xa005, 0x00c0, 0x4930, 0x700c, 0xa005, 0x0040, 0x4932, | 2097 | 0x206b, 0x28c1, 0x9cae, 0x2044, 0x2103, 0x20a2, 0x2081, 0xa8e4, |
1868 | 0x0078, 0x4913, 0x2049, 0x0000, 0x1078, 0x3809, 0x6818, 0xa084, | 2098 | 0xa209, 0x2901, 0xa809, 0x0014, 0xa205, 0xa300, 0x1872, 0x879a, |
1869 | 0x8000, 0x0040, 0x493d, 0x681b, 0x0002, 0x007c, 0x1078, 0x23eb, | 2099 | 0x883c, 0x1fe2, 0xc601, 0xa20a, 0x856e, 0x0704, 0x9c91, 0x0014, |
1870 | 0x1078, 0x23eb, 0x1078, 0x49a0, 0x7210, 0x7114, 0x700c, 0xa09c, | 2100 | 0xa204, 0xa300, 0x3009, 0x19e2, 0xf864, 0x856e, 0x883f, 0x08e6, |
1871 | 0x00ff, 0x2800, 0xa300, 0xa211, 0xa189, 0x0000, 0x1078, 0x49a0, | 2101 | 0xa8f7, 0xf881, 0xa8f0, 0xc801, 0x0014, 0xf8c1, 0x0016, 0x85b2, |
1872 | 0x2704, 0x2c58, 0xac60, 0x6308, 0x2200, 0xa322, 0x630c, 0x2100, | 2102 | 0x80f0, 0x9532, 0xfb02, 0x1de2, 0x0014, 0x8532, 0xf241, 0x0014, |
1873 | 0xa31b, 0x2400, 0xa305, 0x0040, 0x4967, 0x00c8, 0x4967, 0x8412, | 2103 | 0x1de2, 0x84a8, 0xd7a0, 0x1fe6, 0x0014, 0xa208, 0x6043, 0x8008, |
1874 | 0x8210, 0x830a, 0xa189, 0x0000, 0x2b60, 0x0078, 0x494e, 0x2b60, | 2104 | 0x1dc1, 0x0016, 0x8300, 0x8160, 0x842a, 0xf041, 0x3008, 0x84a8, |
1875 | 0x8a07, 0x007e, 0x6004, 0xa084, 0x0008, 0x0040, 0x4973, 0xa7ba, | 2105 | 0x11d6, 0x7042, 0x20dd, 0x0011, 0x20d5, 0x8822, 0x0016, 0x8000, |
1876 | 0x4806, 0x0078, 0x4975, 0xa7ba, 0x47fe, 0x007f, 0xa73d, 0x2c00, | 2106 | 0x2847, 0x1011, 0xa8fc, 0x8000, 0xa000, 0x2802, 0x1011, 0xa8fd, |
1877 | 0x6886, 0x6f8a, 0x6c92, 0x6b8e, 0x7007, 0x0012, 0x1078, 0x4846, | 2107 | 0xa89b, 0x283e, 0x1011, 0xa8fd, 0xa20b, 0x0017, 0x300c, 0xa300, |
1878 | 0x007c, 0x8738, 0x2704, 0xa005, 0x00c0, 0x4994, 0x609c, 0xa005, | 2108 | 0x1de2, 0xdb81, 0x0014, 0x0210, 0xa801, 0x0014, 0x26e0, 0x873a, |
1879 | 0x0040, 0x499d, 0x2060, 0x6004, 0xa084, 0x000f, 0xa080, 0x480c, | 2109 | 0xfb02, 0x19f2, 0x1fe2, 0x0014, 0xa20d, 0x3806, 0x0210, 0x9cb3, |
1880 | 0x203c, 0x87fb, 0x1040, 0x23eb, 0x8a51, 0x0040, 0x499c, 0x7008, | 2110 | 0x0704, 0x0017, 0x60ff, 0x300c, 0x8720, 0xa211, 0x9d63, 0x8772, |
1881 | 0xa084, 0x0003, 0xa086, 0x0003, 0x007c, 0x2051, 0x0000, 0x007c, | 2111 | 0x8837, 0x2101, 0xa821, 0x10d2, 0x78e2, 0x9d66, 0xa8fc, 0xd984, |
1882 | 0x8a50, 0x8739, 0x2704, 0xa004, 0x00c0, 0x49b4, 0x6000, 0xa064, | 2112 | 0xf0e2, 0xf0a1, 0xa86c, 0x0014, 0x8831, 0xd166, 0x8830, 0x800f, |
1883 | 0x00c0, 0x49ab, 0x2d60, 0x6004, 0xa084, 0x000f, 0xa080, 0x481c, | 2113 | 0x9401, 0xb520, 0xc802, 0x8820, 0xa80f, 0x2301, 0xa80d, 0x10d2, |
1884 | 0x203c, 0x87fb, 0x1040, 0x23eb, 0x007c, 0x127e, 0x0d7e, 0x2091, | 2114 | 0x78e4, 0x9d66, 0x8821, 0x8820, 0xa8e6, 0xf123, 0xf142, 0xf101, |
1885 | 0x2200, 0x0d7f, 0x6884, 0x2060, 0x6888, 0x6b8c, 0x6c90, 0x8057, | 2115 | 0xa84f, 0x10d2, 0x70f6, 0x8832, 0x8203, 0x870c, 0xd99e, 0x6001, |
1886 | 0xaad4, 0x00ff, 0xa084, 0x00ff, 0x007e, 0x6804, 0xa084, 0x0008, | 2116 | 0x0014, 0x6845, 0x0214, 0xa21b, 0x9d63, 0x2001, 0xa840, 0x8201, |
1887 | 0x007f, 0x0040, 0x49cf, 0xa0b8, 0x4806, 0x0078, 0x49d1, 0xa0b8, | 2117 | 0x1852, 0xd184, 0xd163, 0x8834, 0x8001, 0xa801, 0x3027, 0x84a8, |
1888 | 0x47fe, 0x7e08, 0xa6b5, 0x000c, 0x6904, 0xa18c, 0x00ff, 0xa186, | 2118 | 0x1a56, 0x8833, 0x0014, 0xa218, 0x6981, 0x9d4f, 0x6926, 0x6902, |
1889 | 0x0007, 0x0040, 0x49df, 0xa18e, 0x000f, 0x00c0, 0x49e8, 0x681c, | 2119 | 0x1a34, 0xa801, 0x1a14, 0x7021, 0x0014, 0xa300, 0x6141, 0x6964, |
1890 | 0xa084, 0x0040, 0x0040, 0x49ef, 0xa6b5, 0x0001, 0x0078, 0x49ef, | 2120 | 0x8010, 0x8592, 0x8026, 0x84b9, 0x69e4, 0x8023, 0x16e1, 0x8001, |
1891 | 0x681c, 0xa084, 0x0040, 0x0040, 0x49ef, 0xa6b5, 0x0001, 0x7007, | 2121 | 0x10f1, 0x6946, 0xa213, 0x1462, 0xa213, 0x8000, 0x16e1, 0xa807, |
1892 | 0x0004, 0x7004, 0xa084, 0x0004, 0x00c0, 0x49f1, 0x2400, 0xa305, | 2122 | 0x6969, 0xa214, 0x61c2, 0x8002, 0x14e1, 0x8004, 0x16e1, 0x0101, |
1893 | 0x00c0, 0x49fc, 0x0078, 0x4a22, 0x2c58, 0x2704, 0x6104, 0xac60, | 2123 | 0x300a, 0x8827, 0x0014, 0xa217, 0x9d4f, 0x0014, 0xa300, 0x8181, |
1894 | 0x6000, 0xa400, 0x701a, 0x6004, 0xa301, 0x701e, 0xa184, 0x0008, | 2124 | 0x842a, 0x84a8, 0x1ce6, 0x882c, 0x0016, 0xa212, 0x9d63, 0x10d2, |
1895 | 0x0040, 0x4a12, 0x6010, 0xa081, 0x0000, 0x7022, 0x6014, 0xa081, | 2125 | 0x70e4, 0x0004, 0x8007, 0x9424, 0xcc1a, 0x9d66, 0xa8f8, 0x8827, |
1896 | 0x0000, 0x7026, 0x6208, 0x2400, 0xa202, 0x7012, 0x620c, 0x2300, | 2126 | 0x300a, 0x0013, 0x8000, 0x84a4, 0x0016, 0x11c2, 0x211e, 0x870e, |
1897 | 0xa203, 0x7016, 0x7602, 0x7007, 0x0001, 0x2b60, 0x1078, 0x4981, | 2127 | 0xa21d, 0x0014, 0x878e, 0x0016, 0xa21c, 0x1035, 0xa8b4, 0xa210, |
1898 | 0x0078, 0x4a24, 0x1078, 0x4b07, 0x00c0, 0x4a22, 0x127f, 0x2000, | 2128 | 0x3807, 0x300c, 0x817e, 0x872b, 0x8772, 0xa8ad, 0x0000, 0x0d0c |
1899 | 0x007c, 0x127e, 0x0d7e, 0x2091, 0x2200, 0x0d7f, 0x7007, 0x0004, | ||
1900 | 0x7004, 0xa084, 0x0004, 0x00c0, 0x4a30, 0x7003, 0x0008, 0x127f, | ||
1901 | 0x2000, 0x007c, 0x127e, 0x0d7e, 0x2091, 0x2200, 0x0d7f, 0x2049, | ||
1902 | 0x4a3a, 0x7007, 0x0004, 0x7004, 0xa084, 0x0004, 0x00c0, 0x4a43, | ||
1903 | 0x7e08, 0xa6b5, 0x000c, 0x6904, 0xa18c, 0x00ff, 0xa186, 0x0007, | ||
1904 | 0x0040, 0x4a56, 0xa18e, 0x000f, 0x00c0, 0x4a61, 0x681c, 0xa084, | ||
1905 | 0x0040, 0x0040, 0x4a5d, 0xa6b5, 0x0001, 0x6840, 0x2050, 0x0078, | ||
1906 | 0x4a6a, 0x681c, 0xa084, 0x0020, 0x00c0, 0x4a68, 0xa6b5, 0x0001, | ||
1907 | 0x6828, 0x2050, 0x2d60, 0x6004, 0xa0bc, 0x000f, 0xa7b8, 0x480c, | ||
1908 | 0x273c, 0x87fb, 0x00c0, 0x4a7e, 0x0048, 0x4a78, 0x1078, 0x23eb, | ||
1909 | 0x689c, 0xa065, 0x0040, 0x4a82, 0x0078, 0x4a6b, 0x1078, 0x4b07, | ||
1910 | 0x00c0, 0x4a7e, 0x127f, 0x2000, 0x007c, 0x127e, 0x007e, 0x017e, | ||
1911 | 0x0d7e, 0x2091, 0x2200, 0x0d7f, 0x037f, 0x047f, 0x7e08, 0xa6b5, | ||
1912 | 0x000c, 0x6904, 0xa18c, 0x00ff, 0xa186, 0x0007, 0x0040, 0x4a9c, | ||
1913 | 0xa18e, 0x000f, 0x00c0, 0x4aa5, 0x681c, 0xa084, 0x0040, 0x0040, | ||
1914 | 0x4aac, 0xa6b5, 0x0001, 0x0078, 0x4aac, 0x681c, 0xa084, 0x0040, | ||
1915 | 0x0040, 0x4aac, 0xa6b5, 0x0001, 0x2049, 0x4a85, 0x017e, 0x6904, | ||
1916 | 0xa18c, 0x00ff, 0xa186, 0x0007, 0x0040, 0x4aba, 0xa18e, 0x000f, | ||
1917 | 0x00c0, 0x4abd, 0x6840, 0x0078, 0x4abe, 0x6828, 0x017f, 0xa055, | ||
1918 | 0x0040, 0x4b04, 0x2d70, 0x2e60, 0x7004, 0xa0bc, 0x000f, 0xa7b8, | ||
1919 | 0x480c, 0x273c, 0x87fb, 0x00c0, 0x4ad8, 0x0048, 0x4ad1, 0x1078, | ||
1920 | 0x23eb, 0x709c, 0xa075, 0x2060, 0x0040, 0x4b04, 0x0078, 0x4ac4, | ||
1921 | 0x2704, 0xae68, 0x6808, 0xa422, 0x680c, 0xa31b, 0x0048, 0x4af1, | ||
1922 | 0x8a51, 0x00c0, 0x4ae5, 0x1078, 0x23eb, 0x8738, 0x2704, 0xa005, | ||
1923 | 0x00c0, 0x4ad9, 0x709c, 0xa075, 0x2060, 0x0040, 0x4b04, 0x0078, | ||
1924 | 0x4ac4, 0x8422, 0x8420, 0x831a, 0xa399, 0x0000, 0x6908, 0x2400, | ||
1925 | 0xa122, 0x690c, 0x2300, 0xa11b, 0x00c8, 0x4b00, 0x1078, 0x23eb, | ||
1926 | 0x2071, 0x0020, 0x0078, 0x49ef, 0x127f, 0x2000, 0x007c, 0x7008, | ||
1927 | 0xa084, 0x0003, 0xa086, 0x0003, 0x0040, 0x4b2f, 0x2704, 0xac08, | ||
1928 | 0x2104, 0x701a, 0x8108, 0x2104, 0x701e, 0x8108, 0x2104, 0x7012, | ||
1929 | 0x8108, 0x2104, 0x7016, 0x6004, 0xa084, 0x0008, 0x0040, 0x4b26, | ||
1930 | 0x8108, 0x2104, 0x7022, 0x8108, 0x2104, 0x7026, 0x7602, 0x7004, | ||
1931 | 0xa084, 0x0010, 0xa085, 0x0001, 0x7006, 0x1078, 0x4981, 0x007c, | ||
1932 | 0x127e, 0x007e, 0x0d7e, 0x2091, 0x2200, 0x2049, 0x4b30, 0x0d7f, | ||
1933 | 0x087f, 0x7108, 0xa184, 0x0003, 0x00c0, 0x4b5a, 0x017e, 0x6904, | ||
1934 | 0xa18c, 0x00ff, 0xa186, 0x0007, 0x0040, 0x4b4a, 0xa18e, 0x000f, | ||
1935 | 0x00c0, 0x4b4d, 0x6840, 0x0078, 0x4b4e, 0x6828, 0x017f, 0xa005, | ||
1936 | 0x0040, 0x4b68, 0x0078, 0x478d, 0x0020, 0x4b5a, 0x1078, 0x4944, | ||
1937 | 0x0078, 0x4b68, 0x00a0, 0x4b61, 0x7108, 0x1078, 0x48bd, 0x0078, | ||
1938 | 0x4b39, 0x7007, 0x0010, 0x00a0, 0x4b63, 0x7108, 0x1078, 0x48bd, | ||
1939 | 0x7008, 0xa086, 0x0008, 0x00c0, 0x4b39, 0x7000, 0xa005, 0x00c0, | ||
1940 | 0x4b39, 0x7003, 0x0000, 0x2049, 0x0000, 0x127f, 0x2000, 0x007c, | ||
1941 | 0x127e, 0x147e, 0x137e, 0x157e, 0x0c7e, 0x0d7e, 0x2091, 0x2200, | ||
1942 | 0x0d7f, 0x2049, 0x4b78, 0xad80, 0x0011, 0x20a0, 0x2099, 0x0031, | ||
1943 | 0x700c, 0xa084, 0x00ff, 0x682a, 0x7007, 0x0008, 0x7007, 0x0002, | ||
1944 | 0x7003, 0x0001, 0x0040, 0x4b97, 0x8000, 0x80ac, 0x53a5, 0x7007, | ||
1945 | 0x0004, 0x7004, 0xa084, 0x0004, 0x00c0, 0x4b99, 0x0c7f, 0x2049, | ||
1946 | 0x0000, 0x7003, 0x0000, 0x157f, 0x137f, 0x147f, 0x127f, 0x2000, | ||
1947 | 0x007c, 0x2091, 0x6000, 0x2091, 0x8000, 0x78cc, 0xa005, 0x0040, | ||
1948 | 0x4bc0, 0x7994, 0x70d0, 0xa106, 0x00c0, 0x4bc0, 0x7804, 0xa005, | ||
1949 | 0x0040, 0x4bc0, 0x7807, 0x0000, 0x0068, 0x4bc0, 0x2091, 0x4080, | ||
1950 | 0x7820, 0x8001, 0x7822, 0x00c0, 0x4c1b, 0x7824, 0x7822, 0x2069, | ||
1951 | 0x5140, 0x6800, 0xa084, 0x0007, 0x0040, 0x4bde, 0xa086, 0x0002, | ||
1952 | 0x0040, 0x4bde, 0x6834, 0xa00d, 0x0040, 0x4bde, 0x2104, 0xa005, | ||
1953 | 0x0040, 0x4bde, 0x8001, 0x200a, 0x0040, 0x4cc3, 0x7848, 0xa005, | ||
1954 | 0x0040, 0x4bec, 0x8001, 0x784a, 0x00c0, 0x4bec, 0x2009, 0x0102, | ||
1955 | 0x6844, 0x200a, 0x1078, 0x21d2, 0x6890, 0xa005, 0x0040, 0x4bf8, | ||
1956 | 0x8001, 0x6892, 0x00c0, 0x4bf8, 0x686f, 0x0000, 0x6873, 0x0001, | ||
1957 | 0x2061, 0x5400, 0x20a9, 0x0100, 0x2009, 0x0002, 0x6034, 0xa005, | ||
1958 | 0x0040, 0x4c0e, 0x8001, 0x6036, 0x00c0, 0x4c0e, 0x6010, 0xa005, | ||
1959 | 0x0040, 0x4c0e, 0x017e, 0x1078, 0x21d2, 0x017f, 0xace0, 0x0010, | ||
1960 | 0x0070, 0x4c14, 0x0078, 0x4bfe, 0x8109, 0x0040, 0x4c1b, 0x20a9, | ||
1961 | 0x0100, 0x0078, 0x4bfe, 0x1078, 0x4c28, 0x1078, 0x4c4d, 0x2009, | ||
1962 | 0x5151, 0x2104, 0x2009, 0x0102, 0x200a, 0x2091, 0x8001, 0x007c, | ||
1963 | 0x7834, 0x8001, 0x7836, 0x00c0, 0x4c4c, 0x7838, 0x7836, 0x2091, | ||
1964 | 0x8000, 0x7844, 0xa005, 0x00c0, 0x4c37, 0x2001, 0x0101, 0x8001, | ||
1965 | 0x7846, 0xa080, 0x7400, 0x2040, 0x2004, 0xa065, 0x0040, 0x4c4c, | ||
1966 | 0x6024, 0xa005, 0x0040, 0x4c48, 0x8001, 0x6026, 0x0040, 0x4c7c, | ||
1967 | 0x6000, 0x2c40, 0x0078, 0x4c3d, 0x007c, 0x7828, 0x8001, 0x782a, | ||
1968 | 0x00c0, 0x4c7b, 0x782c, 0x782a, 0x7830, 0xa005, 0x00c0, 0x4c5a, | ||
1969 | 0x2001, 0x0200, 0x8001, 0x7832, 0x8003, 0x8003, 0x8003, 0x8003, | ||
1970 | 0xa090, 0x5400, 0xa298, 0x0002, 0x2304, 0xa084, 0x0008, 0x0040, | ||
1971 | 0x4c7b, 0xa290, 0x0009, 0x2204, 0xa005, 0x0040, 0x4c73, 0x8001, | ||
1972 | 0x2012, 0x00c0, 0x4c7b, 0x2304, 0xa084, 0xfff7, 0xa085, 0x0080, | ||
1973 | 0x201a, 0x1078, 0x21d2, 0x007c, 0x2069, 0x5140, 0x6800, 0xa005, | ||
1974 | 0x0040, 0x4c86, 0x6848, 0xac06, 0x0040, 0x4cc3, 0x601b, 0x0006, | ||
1975 | 0x60b4, 0xa084, 0x3f00, 0x601e, 0x6020, 0xa084, 0x00ff, 0xa085, | ||
1976 | 0x0060, 0x6022, 0x6000, 0x2042, 0x6714, 0x6f82, 0x1078, 0x1973, | ||
1977 | 0x6818, 0xa005, 0x0040, 0x4c9e, 0x8001, 0x681a, 0x6808, 0xa084, | ||
1978 | 0xffef, 0x680a, 0x6810, 0x8001, 0x00d0, 0x4ca8, 0x1078, 0x23eb, | ||
1979 | 0x6812, 0x602f, 0x0000, 0x6033, 0x0000, 0x2c68, 0x1078, 0x1c70, | ||
1980 | 0x2069, 0x5140, 0x7944, 0xa184, 0x0100, 0x2001, 0x0006, 0x686e, | ||
1981 | 0x00c0, 0x4cbe, 0x6986, 0x2001, 0x0004, 0x686e, 0x1078, 0x21cd, | ||
1982 | 0x2091, 0x8001, 0x007c, 0x2069, 0x0100, 0x2009, 0x5140, 0x2104, | ||
1983 | 0xa084, 0x0007, 0x0040, 0x4d1f, 0xa086, 0x0007, 0x00c0, 0x4cd9, | ||
1984 | 0x0d7e, 0x2009, 0x5152, 0x216c, 0x1078, 0x3a4e, 0x0d7f, 0x0078, | ||
1985 | 0x4d1f, 0x2009, 0x5152, 0x2164, 0x1078, 0x2396, 0x601b, 0x0006, | ||
1986 | 0x6858, 0xa084, 0x3f00, 0x601e, 0x6020, 0xa084, 0x00ff, 0xa085, | ||
1987 | 0x0048, 0x6022, 0x602f, 0x0000, 0x6033, 0x0000, 0x6830, 0xa084, | ||
1988 | 0x0040, 0x0040, 0x4d13, 0x684b, 0x0004, 0x20a9, 0x0014, 0x6848, | ||
1989 | 0xa084, 0x0004, 0x0040, 0x4d00, 0x0070, 0x4d00, 0x0078, 0x4cf7, | ||
1990 | 0x684b, 0x0009, 0x20a9, 0x0014, 0x6848, 0xa084, 0x0001, 0x0040, | ||
1991 | 0x4d0d, 0x0070, 0x4d0d, 0x0078, 0x4d04, 0x20a9, 0x00fa, 0x0070, | ||
1992 | 0x4d13, 0x0078, 0x4d0f, 0x6808, 0xa084, 0xfffd, 0x680a, 0x681b, | ||
1993 | 0x0048, 0x2009, 0x515b, 0x200b, 0x0007, 0x784c, 0x784a, 0x2091, | ||
1994 | 0x8001, 0x007c, 0x2079, 0x5100, 0x1078, 0x4d4d, 0x1078, 0x4d31, | ||
1995 | 0x1078, 0x4d3f, 0x7833, 0x0000, 0x7847, 0x0000, 0x784b, 0x0000, | ||
1996 | 0x007c, 0x2019, 0x0003, 0x2011, 0x5146, 0x2204, 0xa086, 0x003c, | ||
1997 | 0x0040, 0x4d3c, 0x2019, 0x0002, 0x7b2a, 0x7b2e, 0x007c, 0x2019, | ||
1998 | 0x0039, 0x2011, 0x5146, 0x2204, 0xa086, 0x003c, 0x0040, 0x4d4a, | ||
1999 | 0x2019, 0x0027, 0x7b36, 0x7b3a, 0x007c, 0x2019, 0x3971, 0x2011, | ||
2000 | 0x5146, 0x2204, 0xa086, 0x003c, 0x0040, 0x4d58, 0x2019, 0x2626, | ||
2001 | 0x7b22, 0x7b26, 0x783f, 0x0000, 0x7843, 0x000a, 0x007c, 0x0020, | ||
2002 | 0x002b, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | ||
2003 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | ||
2004 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | ||
2005 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | ||
2006 | 0x0020, 0x0000, 0x0014, 0x0014, 0x9849, 0x0014, 0x0014, 0x0014, | ||
2007 | 0x0014, 0x0014, 0x0014, 0x0014, 0x0080, 0x000f, 0x0000, 0x0201, | ||
2008 | 0x0604, 0x0c08, 0x2120, 0x4022, 0xf880, 0x0018, 0x300b, 0xa201, | ||
2009 | 0x0014, 0xa200, 0x0014, 0xa200, 0x0214, 0x0000, 0x006c, 0x0002, | ||
2010 | 0x0014, 0x98d0, 0x009e, 0x0096, 0xa202, 0x8838, 0x3806, 0x8839, | ||
2011 | 0x20c3, 0x0864, 0x9884, 0x28c1, 0x9cb1, 0xa203, 0x300c, 0x2846, | ||
2012 | 0x8161, 0x846a, 0x8300, 0x1856, 0x883a, 0x9865, 0x28f2, 0x9c90, | ||
2013 | 0x9858, 0x300c, 0x28e1, 0x9c90, 0x2802, 0xa206, 0x64c3, 0x282d, | ||
2014 | 0xa207, 0x64a0, 0x67a0, 0x6fc0, 0x1814, 0x883b, 0x7824, 0x68c1, | ||
2015 | 0x7864, 0x883e, 0x9878, 0x8576, 0x8677, 0x206b, 0x28c1, 0x9cb1, | ||
2016 | 0x2044, 0x2103, 0x20a2, 0x2081, 0x9865, 0xa209, 0x2901, 0x988c, | ||
2017 | 0x0014, 0xa205, 0xa300, 0x1872, 0x879a, 0x883c, 0x1fe2, 0xc601, | ||
2018 | 0xa20a, 0x856e, 0x0704, 0x9c90, 0x0014, 0xa204, 0xa300, 0x3009, | ||
2019 | 0x19e2, 0xf868, 0x8176, 0x86eb, 0x85eb, 0x872e, 0x87a9, 0x883f, | ||
2020 | 0x08e6, 0x9890, 0xf881, 0x988b, 0xc801, 0x0014, 0xf8c1, 0x0016, | ||
2021 | 0x85b2, 0x80f0, 0x9532, 0xfb02, 0x1de2, 0x0014, 0x8532, 0xf241, | ||
2022 | 0x0014, 0x1de2, 0x84a8, 0xd7a0, 0x1fe6, 0x0014, 0xa208, 0x6043, | ||
2023 | 0x8008, 0x1dc1, 0x0016, 0x8300, 0x8160, 0x842a, 0xf041, 0x3008, | ||
2024 | 0x84a8, 0x11d6, 0x7042, 0x20dd, 0x0011, 0x20d5, 0x8822, 0x0016, | ||
2025 | 0x8000, 0x2847, 0x1011, 0x98c3, 0x8000, 0xa000, 0x2802, 0x1011, | ||
2026 | 0x98c9, 0x9865, 0x283e, 0x1011, 0x98cd, 0xa20b, 0x0017, 0x300c, | ||
2027 | 0xa300, 0x1de2, 0xdb81, 0x0014, 0x0210, 0x98da, 0x0014, 0x26e0, | ||
2028 | 0x873a, 0xfb02, 0x19f2, 0x1fe2, 0x0014, 0xa20d, 0x3806, 0x0210, | ||
2029 | 0x9cb6, 0x0704, 0x0000, 0x006c, 0x0002, 0x984f, 0x0014, 0x009e, | ||
2030 | 0x00a5, 0x0017, 0x60ff, 0x300c, 0x8720, 0xa211, 0x9cd5, 0x8772, | ||
2031 | 0x8837, 0x2101, 0x987a, 0x10d2, 0x78e2, 0x9cd8, 0x9859, 0xd984, | ||
2032 | 0xf0e2, 0xf0a1, 0x98d2, 0x0014, 0x8831, 0xd166, 0x8830, 0x800f, | ||
2033 | 0x9401, 0xb520, 0xc802, 0x8820, 0x987a, 0x2301, 0x987a, 0x10d2, | ||
2034 | 0x78e4, 0x9cd8, 0x8821, 0x8820, 0x9859, 0xf123, 0xf142, 0xf101, | ||
2035 | 0x98cb, 0x10d2, 0x70f6, 0x8832, 0x8203, 0x870c, 0xd99e, 0x6001, | ||
2036 | 0x0014, 0x6845, 0x0214, 0xa21b, 0x9cd5, 0x2001, 0x98ca, 0x8201, | ||
2037 | 0x1852, 0xd184, 0xd163, 0x8834, 0x8001, 0x988d, 0x3027, 0x84a8, | ||
2038 | 0x1a56, 0x8833, 0x0014, 0xa218, 0x6981, 0x9cc1, 0x692a, 0x6902, | ||
2039 | 0x1834, 0x989d, 0x1a14, 0x8010, 0x8592, 0x8026, 0x84b9, 0x7021, | ||
2040 | 0x0014, 0xa300, 0x69e1, 0x9caa, 0x694c, 0xa213, 0x9cba, 0x1462, | ||
2041 | 0xa213, 0x8000, 0x16e1, 0x98b4, 0x8023, 0x16e1, 0x8001, 0x10f1, | ||
2042 | 0x0016, 0x6968, 0xa214, 0x9cba, 0x8004, 0x16e1, 0x0101, 0x300a, | ||
2043 | 0x8827, 0x0014, 0x9cba, 0x0014, 0x61c2, 0x8002, 0x14e1, 0x0016, | ||
2044 | 0xa217, 0x9cc1, 0x0014, 0xa300, 0x8181, 0x842a, 0x84a8, 0x1ce6, | ||
2045 | 0x882c, 0x0016, 0xa212, 0x9cd5, 0x10d2, 0x70e4, 0x0004, 0x8007, | ||
2046 | 0x9424, 0xcc1a, 0x9cd8, 0x98ca, 0x8827, 0x300a, 0x0013, 0x8000, | ||
2047 | 0x84a4, 0x0016, 0x11c2, 0x211e, 0x870e, 0xa21d, 0x0014, 0x878e, | ||
2048 | 0x0016, 0xa21c, 0x1035, 0x9891, 0xa210, 0xa000, 0x8010, 0x8592, | ||
2049 | 0x853b, 0xd044, 0x8022, 0x3807, 0x84bb, 0x98ef, 0x8021, 0x3807, | ||
2050 | 0x84b9, 0x300c, 0x817e, 0x872b, 0x8772, 0x9891, 0x0000, 0x0020, | ||
2051 | 0x002b, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | ||
2052 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | ||
2053 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | ||
2054 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | ||
2055 | 0x0020, 0x0000, 0x0014, 0x0014, 0x9849, 0x0014, 0x0014, 0x98e5, | ||
2056 | 0x98d0, 0x0014, 0x0014, 0x0014, 0x0080, 0x013f, 0x0000, 0x0201, | ||
2057 | 0x0604, 0x0c08, 0x2120, 0x4022, 0xf880, 0x0018, 0x300b, 0xa201, | ||
2058 | 0x0014, 0xa200, 0x0014, 0xa200, 0x0214, 0xa202, 0x8838, 0x3806, | ||
2059 | 0x8839, 0x20c3, 0x0864, 0xa82e, 0x28c1, 0x9cb1, 0xa203, 0x300c, | ||
2060 | 0x2846, 0x8161, 0x846a, 0x8300, 0x1856, 0x883a, 0xa804, 0x28f2, | ||
2061 | 0x9c90, 0xa8f4, 0x300c, 0x28e1, 0x9c90, 0x2802, 0xa206, 0x64c3, | ||
2062 | 0x282d, 0xa207, 0x64a0, 0x67a0, 0x6fc0, 0x1814, 0x883b, 0x7824, | ||
2063 | 0x68c1, 0x7864, 0x883e, 0xa802, 0x8576, 0x8677, 0x206b, 0x28c1, | ||
2064 | 0x9cb1, 0x2044, 0x2103, 0x20a2, 0x2081, 0xa8e5, 0xa209, 0x2901, | ||
2065 | 0xa809, 0x0014, 0xa205, 0xa300, 0x1872, 0x879a, 0x883c, 0x1fe2, | ||
2066 | 0xc601, 0xa20a, 0x856e, 0x0704, 0x9c90, 0x0014, 0xa204, 0xa300, | ||
2067 | 0x3009, 0x19e2, 0xf868, 0x8176, 0x86eb, 0x85eb, 0x872e, 0x87a9, | ||
2068 | 0x883f, 0x08e6, 0xa8f3, 0xf881, 0xa8ec, 0xc801, 0x0014, 0xf8c1, | ||
2069 | 0x0016, 0x85b2, 0x80f0, 0x9532, 0xfb02, 0x1de2, 0x0014, 0x8532, | ||
2070 | 0xf241, 0x0014, 0x1de2, 0x84a8, 0xd7a0, 0x1fe6, 0x0014, 0xa208, | ||
2071 | 0x6043, 0x8008, 0x1dc1, 0x0016, 0x8300, 0x8160, 0x842a, 0xf041, | ||
2072 | 0x3008, 0x84a8, 0x11d6, 0x7042, 0x20dd, 0x0011, 0x20d5, 0x8822, | ||
2073 | 0x0016, 0x8000, 0x2847, 0x1011, 0xa8fc, 0x8000, 0xa000, 0x2802, | ||
2074 | 0x1011, 0xa8fd, 0xa898, 0x283e, 0x1011, 0xa8fd, 0xa20b, 0x0017, | ||
2075 | 0x300c, 0xa300, 0x1de2, 0xdb81, 0x0014, 0x0210, 0xa801, 0x0014, | ||
2076 | 0x26e0, 0x873a, 0xfb02, 0x19f2, 0x1fe2, 0x0014, 0xa20d, 0x3806, | ||
2077 | 0x0210, 0x9cb6, 0x0704, 0x0017, 0x60ff, 0x300c, 0x8720, 0xa211, | ||
2078 | 0x9d6b, 0x8772, 0x8837, 0x2101, 0xa821, 0x10d2, 0x78e2, 0x9d6e, | ||
2079 | 0xa8fc, 0xd984, 0xf0e2, 0xf0a1, 0xa871, 0x0014, 0x8831, 0xd166, | ||
2080 | 0x8830, 0x800f, 0x9401, 0xb520, 0xc802, 0x8820, 0xa80f, 0x2301, | ||
2081 | 0xa80d, 0x10d2, 0x78e4, 0x9d6e, 0x8821, 0x8820, 0xa8e6, 0xf123, | ||
2082 | 0xf142, 0xf101, 0xa854, 0x10d2, 0x70f6, 0x8832, 0x8203, 0x870c, | ||
2083 | 0xd99e, 0x6001, 0x0014, 0x6845, 0x0214, 0xa21b, 0x9d6b, 0x2001, | ||
2084 | 0xa845, 0x8201, 0x1852, 0xd184, 0xd163, 0x8834, 0x8001, 0xa801, | ||
2085 | 0x3027, 0x84a8, 0x1a56, 0x8833, 0x0014, 0xa218, 0x6981, 0x9d57, | ||
2086 | 0x692a, 0x6902, 0x1834, 0xa805, 0x1a14, 0x8010, 0x8592, 0x8026, | ||
2087 | 0x84b9, 0x7021, 0x0014, 0xa300, 0x69e1, 0x9d40, 0x694c, 0xa213, | ||
2088 | 0x9d50, 0x1462, 0xa213, 0x8000, 0x16e1, 0xa80a, 0x8023, 0x16e1, | ||
2089 | 0x8001, 0x10f1, 0x0016, 0x6968, 0xa214, 0x9d50, 0x8004, 0x16e1, | ||
2090 | 0x0101, 0x300a, 0x8827, 0x0014, 0x9d50, 0x0014, 0x61c2, 0x8002, | ||
2091 | 0x14e1, 0x0016, 0xa217, 0x9d57, 0x0014, 0xa300, 0x8181, 0x842a, | ||
2092 | 0x84a8, 0x1ce6, 0x882c, 0x0016, 0xa212, 0x9d6b, 0x10d2, 0x70e4, | ||
2093 | 0x0004, 0x8007, 0x9424, 0xcc1a, 0x9d6e, 0xa8f8, 0x8827, 0x300a, | ||
2094 | 0x0013, 0x8000, 0x84a4, 0x0016, 0x11c2, 0x211e, 0x870e, 0xa21d, | ||
2095 | 0x0014, 0x878e, 0x0016, 0xa21c, 0x1035, 0xa8af, 0xa210, 0x3807, | ||
2096 | 0x300c, 0x817e, 0x872b, 0x8772, 0xa8a8, 0x0000, 0xdf21 | ||
2097 | }; | 2129 | }; |
2098 | static unsigned short risc_code_length01 = 0x4057; | 2130 | static unsigned short risc_code_length01 = 0x4158; |
2099 | |||
diff --git a/drivers/scsi/ql12160_fw.h b/drivers/scsi/ql12160_fw.h index 9db6a208c9f8..d89dac0cc9d4 100644 --- a/drivers/scsi/ql12160_fw.h +++ b/drivers/scsi/ql12160_fw.h | |||
@@ -22,19 +22,19 @@ | |||
22 | ************************************************************************/ | 22 | ************************************************************************/ |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * Firmware Version 10.04.32 (12:03 May 09, 2001) | 25 | * Firmware Version 10.04.42 (15:44 Apr 18, 2003) |
26 | */ | 26 | */ |
27 | 27 | ||
28 | #ifdef UNIQUE_FW_NAME | 28 | #ifdef UNIQUE_FW_NAME |
29 | static unsigned char fw12160i_version_str[] = {10,4,32}; | 29 | static unsigned char fw12160i_version_str[] = {10,4,42}; |
30 | #else | 30 | #else |
31 | static unsigned char firmware_version[] = {10,4,32}; | 31 | static unsigned char firmware_version[] = {10,4,42}; |
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | #ifdef UNIQUE_FW_NAME | 34 | #ifdef UNIQUE_FW_NAME |
35 | #define fw12160i_VERSION_STRING "10.04.32" | 35 | #define fw12160i_VERSION_STRING "10.04.42" |
36 | #else | 36 | #else |
37 | #define FW_VERSION_STRING "10.04.32" | 37 | #define FW_VERSION_STRING "10.04.42" |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #ifdef UNIQUE_FW_NAME | 40 | #ifdef UNIQUE_FW_NAME |
@@ -48,7 +48,7 @@ static unsigned short fw12160i_code01[] = { | |||
48 | #else | 48 | #else |
49 | static unsigned short risc_code01[] = { | 49 | static unsigned short risc_code01[] = { |
50 | #endif | 50 | #endif |
51 | 0x0804, 0x1041, 0x0000, 0x35e6, 0x0000, 0x2043, 0x4f50, 0x5952, | 51 | 0x0804, 0x1041, 0x0000, 0x36c9, 0x0000, 0x2043, 0x4f50, 0x5952, |
52 | 0x4947, 0x4854, 0x2031, 0x3939, 0x312c, 0x3139, 0x3932, 0x2c31, | 52 | 0x4947, 0x4854, 0x2031, 0x3939, 0x312c, 0x3139, 0x3932, 0x2c31, |
53 | 0x3939, 0x332c, 0x3139, 0x3934, 0x2051, 0x4c4f, 0x4749, 0x4320, | 53 | 0x3939, 0x332c, 0x3139, 0x3934, 0x2051, 0x4c4f, 0x4749, 0x4320, |
54 | 0x434f, 0x5250, 0x4f52, 0x4154, 0x494f, 0x4e00, 0x2049, 0x5350, | 54 | 0x434f, 0x5250, 0x4f52, 0x4154, 0x494f, 0x4e00, 0x2049, 0x5350, |
@@ -56,112 +56,112 @@ static unsigned short risc_code01[] = { | |||
56 | 0x6572, 0x7369, 0x6f6e, 0x2031, 0x302e, 0x3034, 0x2020, 0x2043, | 56 | 0x6572, 0x7369, 0x6f6e, 0x2031, 0x302e, 0x3034, 0x2020, 0x2043, |
57 | 0x7573, 0x746f, 0x6d65, 0x7220, 0x4e6f, 0x2e20, 0x3030, 0x2050, | 57 | 0x7573, 0x746f, 0x6d65, 0x7220, 0x4e6f, 0x2e20, 0x3030, 0x2050, |
58 | 0x726f, 0x6475, 0x6374, 0x204e, 0x6f2e, 0x2020, 0x3030, 0x2020, | 58 | 0x726f, 0x6475, 0x6374, 0x204e, 0x6f2e, 0x2020, 0x3030, 0x2020, |
59 | 0x2400, 0x20c9, 0x8fff, 0x2071, 0x0200, 0x70a0, 0x70a2, 0x2001, | 59 | 0x2400, 0x20c9, 0x90ff, 0x2071, 0x0200, 0x70a0, 0x70a2, 0x2001, |
60 | 0x01ff, 0x2004, 0xd0fc, 0x1120, 0x2071, 0x0100, 0x70a0, 0x70a2, | 60 | 0x01ff, 0x2004, 0xd0fc, 0x1120, 0x2071, 0x0100, 0x70a0, 0x70a2, |
61 | 0x20c1, 0x0020, 0x2089, 0x1221, 0x2071, 0x0010, 0x70c3, 0x0004, | 61 | 0x20c1, 0x0020, 0x2089, 0x1221, 0x2071, 0x0010, 0x70c3, 0x0004, |
62 | 0x70c7, 0x4953, 0x70cb, 0x5020, 0x70cf, 0x2020, 0x70d3, 0x000a, | 62 | 0x70c7, 0x4953, 0x70cb, 0x5020, 0x70cf, 0x2020, 0x70d3, 0x000a, |
63 | 0x2001, 0x04fd, 0x2004, 0x70d6, 0x2009, 0xfeff, 0x2130, 0x2128, | 63 | 0x2001, 0x04fd, 0x2004, 0x70d6, 0x2009, 0xfeff, 0x2130, 0x2128, |
64 | 0xa1a2, 0x4600, 0x8424, 0x8424, 0x8424, 0x8424, 0x8424, 0x8424, | 64 | 0xa1a2, 0x4700, 0x8424, 0x8424, 0x8424, 0x8424, 0x8424, 0x8424, |
65 | 0xa192, 0x9000, 0x2009, 0x0000, 0x2001, 0x0032, 0x080c, 0x1de8, | 65 | 0xa192, 0x9100, 0x2009, 0x0000, 0x2001, 0x0032, 0x080c, 0x1e05, |
66 | 0x2218, 0x2079, 0x4600, 0x2fa0, 0x2408, 0x2011, 0x0000, 0x20a9, | 66 | 0x2218, 0x2079, 0x4700, 0x2fa0, 0x2408, 0x2011, 0x0000, 0x20a9, |
67 | 0x0040, 0x42a4, 0x8109, 0x1dd8, 0x2009, 0xff00, 0x3400, 0xa102, | 67 | 0x0040, 0x42a4, 0x8109, 0x1dd8, 0x2009, 0xff00, 0x3400, 0xa102, |
68 | 0x0218, 0x0110, 0x20a8, 0x42a4, 0x781b, 0x0064, 0x7814, 0xc0cd, | 68 | 0x0218, 0x0110, 0x20a8, 0x42a4, 0x781b, 0x0064, 0x7814, 0xc0cd, |
69 | 0xc0d5, 0x7816, 0x2071, 0x0200, 0x00d6, 0x2069, 0x4640, 0x080c, | 69 | 0xc0d5, 0x7816, 0x2071, 0x0200, 0x00d6, 0x2069, 0x4740, 0x080c, |
70 | 0x459a, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1130, 0x2069, 0x4680, | 70 | 0x465c, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1130, 0x2069, 0x4780, |
71 | 0x2071, 0x0100, 0x080c, 0x459a, 0x7814, 0xc0d4, 0x7816, 0x00de, | 71 | 0x2071, 0x0100, 0x080c, 0x465c, 0x7814, 0xc0d4, 0x7816, 0x00de, |
72 | 0x7eca, 0x7cc2, 0x7bc6, 0x7867, 0x0000, 0x7800, 0xc08d, 0x7802, | 72 | 0x7eca, 0x7cc2, 0x7bc6, 0x7867, 0x0000, 0x7800, 0xc08d, 0x7802, |
73 | 0x2031, 0x0030, 0x78af, 0x0101, 0x7823, 0x0002, 0x7827, 0x0002, | 73 | 0x2031, 0x0030, 0x78af, 0x0101, 0x7823, 0x0002, 0x7827, 0x0002, |
74 | 0x2009, 0x0002, 0x2069, 0x4640, 0x681b, 0x0003, 0x6823, 0x0007, | 74 | 0x2009, 0x0002, 0x2069, 0x4740, 0x681b, 0x0003, 0x6823, 0x0007, |
75 | 0x6827, 0x00fa, 0x682b, 0x0008, 0x682f, 0x0028, 0x6837, 0x0006, | 75 | 0x6827, 0x00fa, 0x682b, 0x0008, 0x682f, 0x0028, 0x6837, 0x0006, |
76 | 0x6833, 0x0008, 0x683b, 0x0000, 0x8109, 0x0500, 0x68cf, 0x000a, | 76 | 0x6833, 0x0008, 0x683b, 0x0000, 0x8109, 0x0500, 0x68cf, 0x000a, |
77 | 0x68bf, 0x46c0, 0x2079, 0x4600, 0x68d3, 0x762d, 0x68c3, 0x4bc0, | 77 | 0x68bf, 0x47c0, 0x2079, 0x4700, 0x68d3, 0x762d, 0x68c3, 0x4cc0, |
78 | 0x68c7, 0x4ac0, 0x68cb, 0x8bc0, 0x68a7, 0x8e44, 0x68ab, 0x8e49, | 78 | 0x68c7, 0x4bc0, 0x68cb, 0x8cc0, 0x68a7, 0x8f44, 0x68ab, 0x8f49, |
79 | 0x68af, 0x8e44, 0x68b3, 0x8e44, 0x68a3, 0x0001, 0x2001, 0x01ff, | 79 | 0x68af, 0x8f44, 0x68b3, 0x8f44, 0x68a3, 0x0001, 0x2001, 0x01ff, |
80 | 0x2004, 0xd0fc, 0x11c8, 0x2069, 0x4680, 0x0870, 0x68cf, 0x000a, | 80 | 0x2004, 0xd0fc, 0x11c8, 0x2069, 0x4780, 0x0870, 0x68cf, 0x000a, |
81 | 0x68bf, 0x48c0, 0x68d3, 0x7839, 0x68c3, 0x6bc0, 0x68c7, 0x4b40, | 81 | 0x68bf, 0x49c0, 0x68d3, 0x7839, 0x68c3, 0x6cc0, 0x68c7, 0x4c40, |
82 | 0x68cb, 0x8cd0, 0x68a7, 0x8e49, 0x68ab, 0x8e4e, 0x68af, 0x8e49, | 82 | 0x68cb, 0x8dd0, 0x68a7, 0x8f49, 0x68ab, 0x8f4e, 0x68af, 0x8f49, |
83 | 0x68b3, 0x8e49, 0x68a3, 0x0001, 0x00e6, 0x2069, 0x4ac0, 0x2071, | 83 | 0x68b3, 0x8f49, 0x68a3, 0x0001, 0x00e6, 0x2069, 0x4bc0, 0x2071, |
84 | 0x0200, 0x70ec, 0xd0e4, 0x2019, 0x1809, 0x2021, 0x0009, 0x1120, | 84 | 0x0200, 0x70ec, 0xd0e4, 0x2019, 0x1809, 0x2021, 0x0009, 0x1120, |
85 | 0x2019, 0x180c, 0x2021, 0x000c, 0x080c, 0x1d58, 0x2001, 0x01ff, | 85 | 0x2019, 0x180c, 0x2021, 0x000c, 0x080c, 0x1d75, 0x2001, 0x01ff, |
86 | 0x2004, 0xd0fc, 0x1188, 0x2069, 0x4b40, 0x2071, 0x0100, 0x70ec, | 86 | 0x2004, 0xd0fc, 0x1188, 0x2069, 0x4c40, 0x2071, 0x0100, 0x70ec, |
87 | 0xd0e4, 0x2019, 0x1809, 0x2021, 0x0009, 0x1120, 0x2019, 0x180c, | 87 | 0xd0e4, 0x2019, 0x1809, 0x2021, 0x0009, 0x1120, 0x2019, 0x180c, |
88 | 0x2021, 0x000c, 0x080c, 0x1d58, 0x00ee, 0x2011, 0x0002, 0x2069, | 88 | 0x2021, 0x000c, 0x080c, 0x1d75, 0x00ee, 0x2011, 0x0002, 0x2069, |
89 | 0x4bc0, 0x2009, 0x0002, 0x20a9, 0x0100, 0x6837, 0x0000, 0x680b, | 89 | 0x4cc0, 0x2009, 0x0002, 0x20a9, 0x0100, 0x6837, 0x0000, 0x680b, |
90 | 0x0040, 0x7bc8, 0xa386, 0xfeff, 0x1128, 0x6817, 0x0100, 0x681f, | 90 | 0x0040, 0x7bc8, 0xa386, 0xfeff, 0x1128, 0x6817, 0x0100, 0x681f, |
91 | 0x0064, 0x0020, 0x6817, 0x0064, 0x681f, 0x0002, 0xade8, 0x0010, | 91 | 0x0064, 0x0020, 0x6817, 0x0064, 0x681f, 0x0002, 0xade8, 0x0010, |
92 | 0x1f04, 0x1135, 0x8109, 0x1d38, 0x2001, 0x01ff, 0x2004, 0xd0fc, | 92 | 0x1f04, 0x1135, 0x8109, 0x1d38, 0x2001, 0x01ff, 0x2004, 0xd0fc, |
93 | 0x1128, 0x8211, 0x0118, 0x2069, 0x6bc0, 0x08d8, 0x080c, 0x22cf, | 93 | 0x1128, 0x8211, 0x0118, 0x2069, 0x6cc0, 0x08d8, 0x080c, 0x22f6, |
94 | 0x080c, 0x4015, 0x080c, 0x1b6d, 0x080c, 0x4553, 0x2091, 0x2200, | 94 | 0x080c, 0x403d, 0x080c, 0x1b8c, 0x080c, 0x4615, 0x2091, 0x2200, |
95 | 0x2079, 0x4600, 0x2071, 0x0050, 0x2091, 0x2400, 0x2079, 0x4600, | 95 | 0x2079, 0x4700, 0x2071, 0x0050, 0x2091, 0x2400, 0x2079, 0x4700, |
96 | 0x2071, 0x0020, 0x2091, 0x2600, 0x2079, 0x0200, 0x2071, 0x4640, | 96 | 0x2071, 0x0020, 0x2091, 0x2600, 0x2079, 0x0200, 0x2071, 0x4740, |
97 | 0x2091, 0x2800, 0x2079, 0x0100, 0x2071, 0x4680, 0x2091, 0x2000, | 97 | 0x2091, 0x2800, 0x2079, 0x0100, 0x2071, 0x4780, 0x2091, 0x2000, |
98 | 0x2079, 0x4600, 0x2071, 0x0010, 0x3200, 0xa085, 0x303d, 0x2090, | 98 | 0x2079, 0x4700, 0x2071, 0x0010, 0x3200, 0xa085, 0x303d, 0x2090, |
99 | 0x2071, 0x0010, 0x70c3, 0x0000, 0x1004, 0x118c, 0x70c0, 0xa086, | 99 | 0x2071, 0x0010, 0x70c3, 0x0000, 0x1004, 0x118c, 0x70c0, 0xa086, |
100 | 0x0002, 0x1110, 0x080c, 0x13ba, 0x2039, 0x0000, 0x080c, 0x12ab, | 100 | 0x0002, 0x1110, 0x080c, 0x13ba, 0x2039, 0x0000, 0x080c, 0x12ab, |
101 | 0x78ac, 0xa005, 0x1180, 0x0e04, 0x119a, 0x786c, 0xa065, 0x0110, | 101 | 0x78ac, 0xa005, 0x1180, 0x0e04, 0x119a, 0x786c, 0xa065, 0x0110, |
102 | 0x080c, 0x207a, 0x080c, 0x1e09, 0x0e04, 0x11af, 0x786c, 0xa065, | 102 | 0x080c, 0x20a1, 0x080c, 0x1e26, 0x0e04, 0x11af, 0x786c, 0xa065, |
103 | 0x0110, 0x080c, 0x207a, 0x0e04, 0x11af, 0x2009, 0x4647, 0x2011, | 103 | 0x0110, 0x080c, 0x20a1, 0x0e04, 0x11af, 0x2009, 0x4747, 0x2011, |
104 | 0x4687, 0x2104, 0x220c, 0xa105, 0x0110, 0x080c, 0x1c7c, 0x2071, | 104 | 0x4787, 0x2104, 0x220c, 0xa105, 0x0110, 0x080c, 0x1c9b, 0x2071, |
105 | 0x4640, 0x70a0, 0xa005, 0x01e8, 0x744c, 0xa485, 0x0000, 0x01c8, | 105 | 0x4740, 0x70a0, 0xa005, 0x01e8, 0x744c, 0xa485, 0x0000, 0x01c8, |
106 | 0x2079, 0x0200, 0x2091, 0x8000, 0x72d0, 0xa28c, 0x303d, 0x2190, | 106 | 0x2079, 0x0200, 0x2091, 0x8000, 0x72d0, 0xa28c, 0x303d, 0x2190, |
107 | 0x080c, 0x2720, 0x2091, 0x8000, 0x2091, 0x303d, 0x0e04, 0x11d1, | 107 | 0x080c, 0x274c, 0x2091, 0x8000, 0x2091, 0x303d, 0x0e04, 0x11d1, |
108 | 0x2079, 0x4600, 0x786c, 0xa065, 0x0120, 0x2071, 0x0010, 0x080c, | 108 | 0x2079, 0x4700, 0x786c, 0xa065, 0x0120, 0x2071, 0x0010, 0x080c, |
109 | 0x207a, 0x1d04, 0x11d9, 0x2079, 0x4600, 0x2071, 0x0010, 0x080c, | 109 | 0x20a1, 0x1d04, 0x11d9, 0x2079, 0x4700, 0x2071, 0x0010, 0x080c, |
110 | 0x4370, 0x2071, 0x4680, 0x70a0, 0xa005, 0x0188, 0x704c, 0xa025, | 110 | 0x4429, 0x2071, 0x4780, 0x70a0, 0xa005, 0x0188, 0x704c, 0xa025, |
111 | 0x0170, 0x2079, 0x0100, 0x2091, 0x8000, 0x72d0, 0xa28c, 0x303d, | 111 | 0x0170, 0x2079, 0x0100, 0x2091, 0x8000, 0x72d0, 0xa28c, 0x303d, |
112 | 0x2190, 0x080c, 0x2720, 0x2091, 0x8000, 0x2091, 0x303d, 0x2079, | 112 | 0x2190, 0x080c, 0x274c, 0x2091, 0x8000, 0x2091, 0x303d, 0x2079, |
113 | 0x4600, 0x2071, 0x0010, 0x0e04, 0x11fa, 0x786c, 0xa065, 0x0110, | 113 | 0x4700, 0x2071, 0x0010, 0x0e04, 0x11fa, 0x786c, 0xa065, 0x0110, |
114 | 0x080c, 0x207a, 0x1d04, 0x118e, 0x080c, 0x4370, 0x0804, 0x118e, | 114 | 0x080c, 0x20a1, 0x1d04, 0x118e, 0x080c, 0x4429, 0x0804, 0x118e, |
115 | 0x3c00, 0xa084, 0x0007, 0x0002, 0x120c, 0x120c, 0x120e, 0x120e, | 115 | 0x3c00, 0xa084, 0x0007, 0x0002, 0x120c, 0x120c, 0x120e, 0x120e, |
116 | 0x1213, 0x1213, 0x1218, 0x1218, 0x080c, 0x254c, 0x2091, 0x2400, | 116 | 0x1213, 0x1213, 0x1218, 0x1218, 0x080c, 0x2575, 0x2091, 0x2400, |
117 | 0x080c, 0x40ad, 0x0005, 0x2091, 0x2200, 0x080c, 0x40ad, 0x0005, | 117 | 0x080c, 0x40d5, 0x0005, 0x2091, 0x2200, 0x080c, 0x40d5, 0x0005, |
118 | 0x2091, 0x2200, 0x080c, 0x40ad, 0x2091, 0x2400, 0x080c, 0x40ad, | 118 | 0x2091, 0x2200, 0x080c, 0x40d5, 0x2091, 0x2400, 0x080c, 0x40d5, |
119 | 0x0005, 0x1241, 0x1241, 0x1242, 0x1242, 0x124d, 0x124d, 0x124d, | 119 | 0x0005, 0x1241, 0x1241, 0x1242, 0x1242, 0x124d, 0x124d, 0x124d, |
120 | 0x124d, 0x1256, 0x1256, 0x1261, 0x1261, 0x124d, 0x124d, 0x124d, | 120 | 0x124d, 0x1256, 0x1256, 0x1261, 0x1261, 0x124d, 0x124d, 0x124d, |
121 | 0x124d, 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, | 121 | 0x124d, 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, |
122 | 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, | 122 | 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, 0x1270, |
123 | 0x1270, 0x0cf8, 0x0006, 0x0106, 0x0126, 0x2091, 0x2800, 0x080c, | 123 | 0x1270, 0x0cf8, 0x0006, 0x0106, 0x0126, 0x2091, 0x2800, 0x080c, |
124 | 0x2569, 0x012e, 0x010e, 0x000e, 0x000d, 0x0006, 0x0106, 0x0126, | 124 | 0x2592, 0x012e, 0x010e, 0x000e, 0x000d, 0x0006, 0x0106, 0x0126, |
125 | 0x080c, 0x1200, 0x012e, 0x010e, 0x000e, 0x000d, 0x0006, 0x0106, | 125 | 0x080c, 0x1200, 0x012e, 0x010e, 0x000e, 0x000d, 0x0006, 0x0106, |
126 | 0x0126, 0x2091, 0x2600, 0x080c, 0x2569, 0x012e, 0x010e, 0x000e, | 126 | 0x0126, 0x2091, 0x2600, 0x080c, 0x2592, 0x012e, 0x010e, 0x000e, |
127 | 0x000d, 0x0006, 0x0106, 0x0126, 0x2091, 0x2600, 0x080c, 0x2569, | 127 | 0x000d, 0x0006, 0x0106, 0x0126, 0x2091, 0x2600, 0x080c, 0x2592, |
128 | 0x2091, 0x2800, 0x080c, 0x2569, 0x012e, 0x010e, 0x000e, 0x000d, | 128 | 0x2091, 0x2800, 0x080c, 0x2592, 0x012e, 0x010e, 0x000e, 0x000d, |
129 | 0x0006, 0x0106, 0x0126, 0x00d6, 0x00e6, 0x00f6, 0x2079, 0x4600, | 129 | 0x0006, 0x0106, 0x0126, 0x00d6, 0x00e6, 0x00f6, 0x2079, 0x4700, |
130 | 0x2071, 0x0200, 0x2069, 0x4640, 0x3d00, 0xd08c, 0x0130, 0x70ec, | 130 | 0x2071, 0x0200, 0x2069, 0x4740, 0x3d00, 0xd08c, 0x0130, 0x70ec, |
131 | 0xa084, 0x1c00, 0x78e2, 0x080c, 0x459a, 0x3d00, 0xd084, 0x0150, | 131 | 0xa084, 0x1c00, 0x78e2, 0x080c, 0x465c, 0x3d00, 0xd084, 0x0150, |
132 | 0x2069, 0x4680, 0x2071, 0x0100, 0x70ec, 0xa084, 0x1c00, 0x78e6, | 132 | 0x2069, 0x4780, 0x2071, 0x0100, 0x70ec, 0xa084, 0x1c00, 0x78e6, |
133 | 0x080c, 0x459a, 0x080c, 0x24fd, 0x00fe, 0x00ee, 0x00de, 0x012e, | 133 | 0x080c, 0x465c, 0x080c, 0x2526, 0x00fe, 0x00ee, 0x00de, 0x012e, |
134 | 0x010e, 0x000e, 0x000d, 0x7008, 0x800b, 0x1240, 0x7007, 0x0002, | 134 | 0x010e, 0x000e, 0x000d, 0x7008, 0x800b, 0x1240, 0x7007, 0x0002, |
135 | 0xa08c, 0x01e0, 0x1120, 0xd09c, 0x0108, 0x0887, 0x0897, 0x70c3, | 135 | 0xa08c, 0x01e0, 0x1120, 0xd09c, 0x0108, 0x0887, 0x0897, 0x70c3, |
136 | 0x4002, 0x0804, 0x13bd, 0x0e04, 0x131e, 0x2061, 0x0000, 0x6018, | 136 | 0x4002, 0x0804, 0x13bd, 0x0e04, 0x131e, 0x2061, 0x0000, 0x6018, |
137 | 0xd084, 0x1904, 0x131e, 0x7828, 0xa005, 0x1120, 0x0004, 0x131f, | 137 | 0xd084, 0x1904, 0x131e, 0x7828, 0xa005, 0x1120, 0x0004, 0x131f, |
138 | 0x0804, 0x131e, 0xd0fc, 0x0130, 0x0006, 0x080c, 0x1b0a, 0x000e, | 138 | 0x0804, 0x131e, 0xd0fc, 0x0130, 0x0006, 0x080c, 0x1b29, 0x000e, |
139 | 0x0150, 0x0028, 0x0006, 0x080c, 0x1aff, 0x000e, 0x0120, 0x2001, | 139 | 0x0150, 0x0028, 0x0006, 0x080c, 0x1b1e, 0x000e, 0x0120, 0x2001, |
140 | 0x4007, 0x0804, 0x13bc, 0x7910, 0xd0fc, 0x1128, 0x2061, 0x4640, | 140 | 0x4007, 0x0804, 0x13bc, 0x7910, 0xd0fc, 0x1128, 0x2061, 0x4740, |
141 | 0xc19c, 0xc7fc, 0x0020, 0x2061, 0x4680, 0xc19d, 0xc7fd, 0x6060, | 141 | 0xc19c, 0xc7fc, 0x0020, 0x2061, 0x4780, 0xc19d, 0xc7fd, 0x6060, |
142 | 0xa005, 0x1904, 0x131e, 0x7912, 0x607e, 0x7828, 0xc0fc, 0xa086, | 142 | 0xa005, 0x1904, 0x131e, 0x7912, 0x607e, 0x7828, 0xc0fc, 0xa086, |
143 | 0x0018, 0x1120, 0x00c6, 0x080c, 0x1916, 0x00ce, 0x782b, 0x0000, | 143 | 0x0018, 0x1120, 0x00c6, 0x080c, 0x1926, 0x00ce, 0x782b, 0x0000, |
144 | 0x6078, 0xa065, 0x01e0, 0x00c6, 0x609c, 0x080c, 0x1bd4, 0x00ce, | 144 | 0x6078, 0xa065, 0x01e0, 0x00c6, 0x609c, 0x080c, 0x1bf3, 0x00ce, |
145 | 0x609f, 0x0000, 0x080c, 0x1a41, 0x2009, 0x0018, 0x6087, 0x0103, | 145 | 0x609f, 0x0000, 0x080c, 0x1a60, 0x2009, 0x0018, 0x6087, 0x0103, |
146 | 0x7810, 0x0006, 0x84ff, 0x1110, 0x85ff, 0x0110, 0xc0c5, 0x7812, | 146 | 0x7810, 0x0006, 0x84ff, 0x1110, 0x85ff, 0x0110, 0xc0c5, 0x7812, |
147 | 0x080c, 0x1b15, 0x000e, 0x7812, 0x1198, 0x080c, 0x1b60, 0x7810, | 147 | 0x080c, 0x1b34, 0x000e, 0x7812, 0x1198, 0x080c, 0x1b7f, 0x7810, |
148 | 0xd09c, 0x1118, 0x2061, 0x4640, 0x0020, 0x2061, 0x4680, 0xc09c, | 148 | 0xd09c, 0x1118, 0x2061, 0x4740, 0x0020, 0x2061, 0x4780, 0xc09c, |
149 | 0x7812, 0x607b, 0x0000, 0x60d0, 0xd0c4, 0x0130, 0xc0c4, 0x60d2, | 149 | 0x7812, 0x607b, 0x0000, 0x60d0, 0xd0c4, 0x0130, 0xc0c4, 0x60d2, |
150 | 0x2001, 0x4005, 0x0804, 0x13bc, 0x0804, 0x13ba, 0x0005, 0xa006, | 150 | 0x2001, 0x4005, 0x0804, 0x13bc, 0x0804, 0x13ba, 0x0005, 0xa006, |
151 | 0x70c2, 0x70c6, 0x70ca, 0x70ce, 0x70da, 0x70c0, 0xa03d, 0xa08a, | 151 | 0x70c2, 0x70c6, 0x70ca, 0x70ce, 0x70da, 0x70c0, 0xa03d, 0xa08a, |
152 | 0x0040, 0x1a04, 0x136c, 0x0002, 0x13ba, 0x1408, 0x13d6, 0x143c, | 152 | 0x0040, 0x1a04, 0x136c, 0x0002, 0x13ba, 0x1408, 0x13d6, 0x143c, |
153 | 0x1470, 0x1470, 0x13ce, 0x1a59, 0x147a, 0x13c8, 0x13da, 0x13db, | 153 | 0x1470, 0x1470, 0x13ce, 0x1a78, 0x147a, 0x13c8, 0x13da, 0x13db, |
154 | 0x13dc, 0x13dd, 0x1a5d, 0x13c8, 0x1487, 0x14db, 0x1931, 0x1a53, | 154 | 0x13dc, 0x13dd, 0x1a7c, 0x13c8, 0x1487, 0x14db, 0x1941, 0x1a72, |
155 | 0x13de, 0x17ba, 0x17f0, 0x1822, 0x1868, 0x1777, 0x1784, 0x1797, | 155 | 0x13de, 0x17c8, 0x17fe, 0x1830, 0x1876, 0x1785, 0x1792, 0x17a5, |
156 | 0x17a9, 0x15b0, 0x13c8, 0x150d, 0x1518, 0x1526, 0x1534, 0x154b, | 156 | 0x17b7, 0x15bf, 0x13c8, 0x150d, 0x1518, 0x1526, 0x1534, 0x154b, |
157 | 0x1559, 0x155c, 0x156a, 0x1578, 0x1582, 0x1596, 0x15a2, 0x13c8, | 157 | 0x1559, 0x155c, 0x156e, 0x157c, 0x1586, 0x15a5, 0x15b1, 0x13c8, |
158 | 0x13c8, 0x13c8, 0x13c8, 0x15bd, 0x15ce, 0x15e8, 0x161c, 0x1645, | 158 | 0x13c8, 0x13c8, 0x13c8, 0x15cc, 0x15dd, 0x15f7, 0x162b, 0x1654, |
159 | 0x1657, 0x165a, 0x1685, 0x16be, 0x16d0, 0x1745, 0x1755, 0x13c8, | 159 | 0x1666, 0x1669, 0x1693, 0x16cc, 0x16de, 0x1753, 0x1763, 0x13c8, |
160 | 0x13c8, 0x13c8, 0x13c8, 0x1767, 0x2100, 0xa08a, 0x0040, 0x1a04, | 160 | 0x13c8, 0x13c8, 0x13c8, 0x1775, 0x2100, 0xa08a, 0x0040, 0x1a04, |
161 | 0x13c8, 0x0002, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x1a7f, | 161 | 0x13c8, 0x0002, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x1a9e, |
162 | 0x1a85, 0x13c8, 0x13c8, 0x13c8, 0x1a89, 0x1ac9, 0x13c8, 0x13c8, | 162 | 0x1aa4, 0x13c8, 0x13c8, 0x13c8, 0x1aa8, 0x1ae8, 0x13c8, 0x13c8, |
163 | 0x13c8, 0x13c8, 0x1403, 0x146b, 0x1482, 0x14d6, 0x192c, 0x13c8, | 163 | 0x13c8, 0x13c8, 0x1403, 0x146b, 0x1482, 0x14d6, 0x193c, 0x13c8, |
164 | 0x13c8, 0x18fb, 0x13c8, 0x1acd, 0x1a71, 0x1a7b, 0x13c8, 0x13c8, | 164 | 0x13c8, 0x190b, 0x13c8, 0x1aec, 0x1a90, 0x1a9a, 0x13c8, 0x13c8, |
165 | 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, | 165 | 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, |
166 | 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, | 166 | 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, |
167 | 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, | 167 | 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, 0x13c8, |
@@ -191,7 +191,7 @@ static unsigned short risc_code01[] = { | |||
191 | 0x0001, 0x7008, 0xd0fc, 0x0de8, 0xa084, 0x01e0, 0x0d48, 0x70c3, | 191 | 0x0001, 0x7008, 0xd0fc, 0x0de8, 0xa084, 0x01e0, 0x0d48, 0x70c3, |
192 | 0x4002, 0x0804, 0x13bd, 0x75d8, 0x74dc, 0x75da, 0x74de, 0x0878, | 192 | 0x4002, 0x0804, 0x13bd, 0x75d8, 0x74dc, 0x75da, 0x74de, 0x0878, |
193 | 0x71c4, 0x70c8, 0x2114, 0xa79e, 0x0004, 0x1108, 0x200a, 0x72ca, | 193 | 0x71c4, 0x70c8, 0x2114, 0xa79e, 0x0004, 0x1108, 0x200a, 0x72ca, |
194 | 0x0804, 0x13b9, 0x70c7, 0x000a, 0x70cb, 0x0004, 0x70cf, 0x0020, | 194 | 0x0804, 0x13b9, 0x70c7, 0x000a, 0x70cb, 0x0004, 0x70cf, 0x002a, |
195 | 0x0804, 0x13ba, 0x75d8, 0x76dc, 0x75da, 0x76de, 0x0018, 0x2029, | 195 | 0x0804, 0x13ba, 0x75d8, 0x76dc, 0x75da, 0x76de, 0x0018, 0x2029, |
196 | 0x0000, 0x2530, 0x70c4, 0x72c8, 0x73cc, 0x74d0, 0x70c6, 0x72ca, | 196 | 0x0000, 0x2530, 0x70c4, 0x72c8, 0x73cc, 0x74d0, 0x70c6, 0x72ca, |
197 | 0x73ce, 0x74d2, 0xa005, 0x05e8, 0xa40a, 0x0108, 0x1240, 0x8001, | 197 | 0x73ce, 0x74d2, 0xa005, 0x05e8, 0xa40a, 0x0108, 0x1240, 0x8001, |
@@ -211,1281 +211,1286 @@ static unsigned short risc_code01[] = { | |||
211 | 0xc2c5, 0x7a12, 0x7c96, 0x78ac, 0xa084, 0xfcff, 0x78ae, 0x0018, | 211 | 0xc2c5, 0x7a12, 0x7c96, 0x78ac, 0xa084, 0xfcff, 0x78ae, 0x0018, |
212 | 0x78ac, 0xc0c5, 0x78ae, 0x0804, 0x13ba, 0x2009, 0x0000, 0x786c, | 212 | 0x78ac, 0xc0c5, 0x78ae, 0x0804, 0x13ba, 0x2009, 0x0000, 0x786c, |
213 | 0xa065, 0x0118, 0x8108, 0x6000, 0x0cd8, 0x7ac4, 0x0804, 0x13b8, | 213 | 0xa065, 0x0118, 0x8108, 0x6000, 0x0cd8, 0x7ac4, 0x0804, 0x13b8, |
214 | 0x2009, 0x4648, 0x210c, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, | 214 | 0x2009, 0x4748, 0x210c, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, |
215 | 0x13b9, 0x2011, 0x4688, 0x2214, 0x0804, 0x13b8, 0x2009, 0x4649, | 215 | 0x13b9, 0x2011, 0x4788, 0x2214, 0x0804, 0x13b8, 0x2009, 0x4749, |
216 | 0x210c, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x13b9, 0x2011, | 216 | 0x210c, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x13b9, 0x2011, |
217 | 0x4689, 0x2214, 0x0804, 0x13b8, 0x2061, 0x4640, 0x6128, 0x622c, | 217 | 0x4789, 0x2214, 0x0804, 0x13b8, 0x2061, 0x4740, 0x6128, 0x622c, |
218 | 0x8214, 0x8214, 0x8214, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1148, | 218 | 0x8214, 0x8214, 0x8214, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1148, |
219 | 0x2061, 0x4680, 0x6328, 0x73da, 0x632c, 0x831c, 0x831c, 0x831c, | 219 | 0x2061, 0x4780, 0x6328, 0x73da, 0x632c, 0x831c, 0x831c, 0x831c, |
220 | 0x73de, 0x0804, 0x13b8, 0x2009, 0x464c, 0x210c, 0x2001, 0x01ff, | 220 | 0x73de, 0x0804, 0x13b8, 0x2009, 0x474c, 0x210c, 0x2001, 0x01ff, |
221 | 0x2004, 0xd0fc, 0x1904, 0x13b9, 0x2011, 0x468c, 0x2214, 0x0804, | 221 | 0x2004, 0xd0fc, 0x1904, 0x13b9, 0x2011, 0x478c, 0x2214, 0x0804, |
222 | 0x13b8, 0x7918, 0x0804, 0x13b9, 0x2009, 0x0202, 0x210c, 0x2001, | 222 | 0x13b8, 0x7918, 0x0804, 0x13b9, 0x2009, 0x0202, 0x210c, 0xa18c, |
223 | 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x13b9, 0x2011, 0x0102, 0x2214, | 223 | 0x0f30, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x13b9, 0x2011, |
224 | 0x0804, 0x13b8, 0x2009, 0x464d, 0x210c, 0x2001, 0x01ff, 0x2004, | 224 | 0x0102, 0x2214, 0xa294, 0x0f30, 0x0804, 0x13b8, 0x2009, 0x474d, |
225 | 0xd0fc, 0x1904, 0x13b9, 0x2011, 0x468d, 0x2214, 0x0804, 0x13b8, | 225 | 0x210c, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x13b9, 0x2011, |
226 | 0x7920, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x13b9, 0x7a24, | 226 | 0x478d, 0x2214, 0x0804, 0x13b8, 0x7920, 0x2001, 0x01ff, 0x2004, |
227 | 0x0804, 0x13b8, 0x2011, 0x4b40, 0x71c4, 0xd1fc, 0x1110, 0x2011, | 227 | 0xd0fc, 0x1904, 0x13b9, 0x7a24, 0x0804, 0x13b8, 0x2011, 0x4c40, |
228 | 0x4ac0, 0x8107, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xa268, | 228 | 0x71c4, 0xd1fc, 0x1110, 0x2011, 0x4bc0, 0x8107, 0xa084, 0x000f, |
229 | 0x6a00, 0x6b08, 0x6c1c, 0x74da, 0x0804, 0x13b7, 0x77c4, 0x080c, | 229 | 0x8003, 0x8003, 0x8003, 0xa268, 0x6a00, 0x6b08, 0x6c1c, 0x74da, |
230 | 0x1b7b, 0x2091, 0x8000, 0x6b1c, 0x6a14, 0x2091, 0x8001, 0x2708, | 230 | 0xd1fc, 0x1118, 0x2021, 0x023b, 0x0010, 0x2021, 0x013b, 0x2424, |
231 | 0x0804, 0x13b7, 0x2061, 0x4640, 0x6118, 0x2001, 0x01ff, 0x2004, | 231 | 0xa4a4, 0x1c00, 0x74de, 0x0804, 0x13b7, 0x77c4, 0x080c, 0x1b9a, |
232 | 0xd0fc, 0x1904, 0x13b9, 0x2061, 0x4680, 0x6218, 0x0804, 0x13b8, | 232 | 0x2091, 0x8000, 0x6b1c, 0x6a14, 0x2091, 0x8001, 0x2708, 0x0804, |
233 | 0x77c4, 0x080c, 0x1b7b, 0x2091, 0x8000, 0x6908, 0x6a18, 0x6b10, | 233 | 0x13b7, 0x2061, 0x4740, 0x6118, 0x2001, 0x01ff, 0x2004, 0xd0fc, |
234 | 0x77da, 0x2091, 0x8001, 0x0804, 0x13b7, 0x71c4, 0x2110, 0xa294, | 234 | 0x1904, 0x13b9, 0x2061, 0x4780, 0x6218, 0x0804, 0x13b8, 0x77c4, |
235 | 0x000f, 0xa282, 0x0010, 0x1a04, 0x13b3, 0x080c, 0x238b, 0xa384, | 235 | 0x080c, 0x1b9a, 0x2091, 0x8000, 0x6908, 0x6a18, 0x6b10, 0x77da, |
236 | 0x4000, 0x0110, 0xa295, 0x0020, 0x0804, 0x13b7, 0x71c4, 0x2100, | 236 | 0x2091, 0x8001, 0x0804, 0x13b7, 0x71c4, 0x2110, 0xa294, 0x000f, |
237 | 0xc0bc, 0xa082, 0x0010, 0x1a04, 0x13b3, 0xd1bc, 0x1120, 0x2011, | 237 | 0xa282, 0x0010, 0x1a04, 0x13b3, 0x080c, 0x23b4, 0xa384, 0x4000, |
238 | 0x4648, 0x2204, 0x0020, 0x2011, 0x4688, 0x2204, 0xc0bd, 0x0006, | 238 | 0x0110, 0xa295, 0x0020, 0x0804, 0x13b7, 0x71c4, 0x2100, 0xc0bc, |
239 | 0x2100, 0xc0bc, 0x2012, 0x080c, 0x2331, 0x001e, 0x0804, 0x13b9, | 239 | 0xa082, 0x0010, 0x1a04, 0x13b3, 0xd1bc, 0x1120, 0x2011, 0x4748, |
240 | 0x71c4, 0x2021, 0x4649, 0x2404, 0x70c6, 0x2019, 0x0000, 0x0030, | 240 | 0x2204, 0x0020, 0x2011, 0x4788, 0x2204, 0xc0bd, 0x0006, 0x2100, |
241 | 0x71c8, 0x2021, 0x4689, 0x2404, 0x70ca, 0xc3fd, 0x2011, 0x1614, | 241 | 0xc0bc, 0x2012, 0x080c, 0x2358, 0x001e, 0x0804, 0x13b9, 0x71c4, |
242 | 0x20a9, 0x0008, 0x2204, 0xa106, 0x0138, 0x8210, 0x1f04, 0x15fa, | 242 | 0x2021, 0x4749, 0x2404, 0x70c6, 0x2019, 0x0000, 0x0030, 0x71c8, |
243 | 0x71c4, 0x72c8, 0x0804, 0x13b2, 0xa292, 0x1614, 0x0026, 0x2122, | 243 | 0x2021, 0x4789, 0x2404, 0x70ca, 0xc3fd, 0x2011, 0x1623, 0x20a9, |
244 | 0x001e, 0x080c, 0x2343, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1110, | 244 | 0x0008, 0x2204, 0xa106, 0x0138, 0x8210, 0x1f04, 0x1609, 0x71c4, |
245 | 0xd3fc, 0x09f0, 0x0804, 0x13ba, 0x03e8, 0x00fa, 0x01f4, 0x02ee, | 245 | 0x72c8, 0x0804, 0x13b2, 0xa292, 0x1623, 0x0026, 0x2122, 0x001e, |
246 | 0x0004, 0x0001, 0x0002, 0x0003, 0x2061, 0x4640, 0x6128, 0x622c, | 246 | 0x080c, 0x236a, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1110, 0xd3fc, |
247 | 0x8214, 0x8214, 0x8214, 0x70c4, 0x602a, 0x70c8, 0x8003, 0x8003, | 247 | 0x09f0, 0x0804, 0x13ba, 0x03e8, 0x00fa, 0x01f4, 0x02ee, 0x0004, |
248 | 0x8003, 0x602e, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x11a0, 0x0026, | 248 | 0x0001, 0x0002, 0x0003, 0x2061, 0x4740, 0x6128, 0x622c, 0x8214, |
249 | 0x0016, 0x2061, 0x4680, 0x6128, 0x622c, 0x8214, 0x8214, 0x8214, | 249 | 0x8214, 0x8214, 0x70c4, 0x602a, 0x70c8, 0x8003, 0x8003, 0x8003, |
250 | 0x70d8, 0x602a, 0x70dc, 0x8003, 0x8003, 0x8003, 0x602e, 0x71da, | 250 | 0x602e, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x11a0, 0x0026, 0x0016, |
251 | 0x72de, 0x001e, 0x002e, 0x0804, 0x13b8, 0x2061, 0x4640, 0x6130, | 251 | 0x2061, 0x4780, 0x6128, 0x622c, 0x8214, 0x8214, 0x8214, 0x70d8, |
252 | 0x70c4, 0x6032, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x13b9, | 252 | 0x602a, 0x70dc, 0x8003, 0x8003, 0x8003, 0x602e, 0x71da, 0x72de, |
253 | 0x2061, 0x4680, 0x6230, 0x70c8, 0x6032, 0x0804, 0x13b8, 0x7918, | 253 | 0x001e, 0x002e, 0x0804, 0x13b8, 0x2061, 0x4740, 0x6130, 0x70c4, |
254 | 0x0804, 0x13b9, 0x71c4, 0xa184, 0xf0cf, 0x0148, 0x2001, 0x01ff, | 254 | 0x6032, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x13b9, 0x2061, |
255 | 0x2004, 0xd0fc, 0x1904, 0x13b3, 0x72c8, 0x0804, 0x13b2, 0x0006, | 255 | 0x4780, 0x6230, 0x70c8, 0x6032, 0x0804, 0x13b8, 0x7918, 0x0804, |
256 | 0x2019, 0x0000, 0x080c, 0x237f, 0x2001, 0x01ff, 0x2004, 0xd0fc, | 256 | 0x13b9, 0x71c4, 0xa184, 0xf0cf, 0x0148, 0x2001, 0x01ff, 0x2004, |
257 | 0x0118, 0x001e, 0x0804, 0x13b9, 0x71c8, 0xa184, 0xf0cf, 0x0128, | 257 | 0xd0fc, 0x1904, 0x13b3, 0x72c8, 0x0804, 0x13b2, 0x2019, 0x0000, |
258 | 0x0006, 0x2110, 0x71c4, 0x0804, 0x13b2, 0x0006, 0xc3fd, 0x080c, | 258 | 0x080c, 0x23a6, 0x0036, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x0118, |
259 | 0x237f, 0x002e, 0x001e, 0x0804, 0x13b8, 0x71c4, 0xa182, 0x0010, | 259 | 0x001e, 0x0804, 0x13b9, 0x71c8, 0xa184, 0xf0cf, 0x0128, 0x000e, |
260 | 0x0248, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x13b3, 0x72c8, | 260 | 0x2110, 0x71c4, 0x0804, 0x13b2, 0xc3fd, 0x080c, 0x23a6, 0x2310, |
261 | 0x0804, 0x13b2, 0x2011, 0x464d, 0x2204, 0x0006, 0x8104, 0x1208, | 261 | 0x001e, 0x0804, 0x13b8, 0x71c4, 0xa182, 0x0010, 0x0248, 0x2001, |
262 | 0x8108, 0x2112, 0x2019, 0x0000, 0x080c, 0x236c, 0x2001, 0x01ff, | 262 | 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x13b3, 0x72c8, 0x0804, 0x13b2, |
263 | 0x2004, 0xd0fc, 0x0118, 0x001e, 0x0804, 0x13b9, 0x71c8, 0xa182, | 263 | 0x2011, 0x474d, 0x2204, 0x0006, 0x8104, 0x1208, 0x8108, 0x2112, |
264 | 0x0010, 0x0228, 0x0006, 0x2110, 0x71c4, 0x0804, 0x13b2, 0x2011, | 264 | 0x2019, 0x0000, 0x080c, 0x2393, 0x2001, 0x01ff, 0x2004, 0xd0fc, |
265 | 0x468d, 0x2204, 0x0006, 0x8104, 0x1208, 0x8108, 0x2112, 0xc3fd, | 265 | 0x0118, 0x001e, 0x0804, 0x13b9, 0x71c8, 0xa182, 0x0010, 0x0228, |
266 | 0x080c, 0x236c, 0x002e, 0x001e, 0x0804, 0x13b8, 0x71c4, 0x72c8, | 266 | 0x0006, 0x2110, 0x71c4, 0x0804, 0x13b2, 0x2011, 0x478d, 0x2204, |
267 | 0xa184, 0xfffd, 0x1904, 0x13b2, 0xa284, 0xfffd, 0x1904, 0x13b2, | 267 | 0x0006, 0x8104, 0x1208, 0x8108, 0x2112, 0xc3fd, 0x080c, 0x2393, |
268 | 0x2100, 0x7920, 0x7822, 0x2200, 0x7a24, 0x7826, 0x0804, 0x13b8, | 268 | 0x002e, 0x001e, 0x0804, 0x13b8, 0x71c4, 0x72c8, 0xa184, 0xfffd, |
269 | 0x2011, 0x4b40, 0x71c4, 0xd1fc, 0x1110, 0x2011, 0x4ac0, 0x8107, | 269 | 0x1904, 0x13b2, 0xa284, 0xfffd, 0x1904, 0x13b2, 0x2100, 0x7920, |
270 | 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xa268, 0x72c8, 0x73cc, | 270 | 0x7822, 0x2200, 0x7a24, 0x7826, 0x0804, 0x13b8, 0x2011, 0x4c40, |
271 | 0x74d8, 0x71c6, 0x6800, 0x70ca, 0x73ce, 0x74da, 0x2091, 0x8000, | 271 | 0x71c4, 0xd1fc, 0x1110, 0x2011, 0x4bc0, 0x8107, 0xa084, 0x000f, |
272 | 0x6a02, 0xd2ac, 0x1118, 0x2021, 0x0000, 0x0090, 0xa484, 0x00ff, | 272 | 0x8003, 0x8003, 0x8003, 0xa268, 0x72c8, 0x73cc, 0x74d8, 0x71c6, |
273 | 0xa082, 0x0002, 0x1a04, 0x1741, 0x843f, 0xa7bc, 0x00ff, 0x0140, | 273 | 0x6800, 0x70ca, 0x73ce, 0x74da, 0x2091, 0x8000, 0x6a02, 0xd2ac, |
274 | 0xa786, 0x0002, 0x1904, 0x1741, 0xa484, 0x00ff, 0x0904, 0x1741, | 274 | 0x1118, 0x2021, 0x0000, 0x0090, 0xa484, 0x00ff, 0xa082, 0x0002, |
275 | 0x2061, 0x0200, 0xd1fc, 0x0110, 0x2061, 0x0100, 0x2029, 0x0009, | 275 | 0x1a04, 0x174f, 0x843f, 0xa7bc, 0x00ff, 0x0140, 0xa786, 0x0002, |
276 | 0x2031, 0x0062, 0x843f, 0xa7bc, 0x00ff, 0x0130, 0x8307, 0xa084, | 276 | 0x1904, 0x174f, 0xa484, 0x00ff, 0x0904, 0x174f, 0x2061, 0x0200, |
277 | 0x00ff, 0x1110, 0xa73d, 0x1138, 0x2041, 0x0019, 0xa384, 0x00ff, | 277 | 0xd1fc, 0x0110, 0x2061, 0x0100, 0x2029, 0x0009, 0x2031, 0x0062, |
278 | 0xa082, 0x001a, 0x0210, 0xa4a4, 0x00ff, 0x8307, 0xa084, 0x00ff, | 278 | 0x843f, 0xa7bc, 0x00ff, 0x0130, 0x8307, 0xa084, 0x00ff, 0x1110, |
279 | 0x0188, 0xa842, 0x02f0, 0xa086, 0x0010, 0x1120, 0xa39c, 0x00ff, | 279 | 0xa73d, 0x1138, 0x2041, 0x0019, 0xa384, 0x00ff, 0xa082, 0x001a, |
280 | 0xa39d, 0x0f00, 0xa3bc, 0x00ff, 0x2500, 0xa702, 0x0290, 0x2600, | 280 | 0x0210, 0xa4a4, 0x00ff, 0x8307, 0xa084, 0x00ff, 0x0188, 0xa842, |
281 | 0xa702, 0x1278, 0x2039, 0x003a, 0x6804, 0xa705, 0x6806, 0x6b0a, | 281 | 0x02f0, 0xa086, 0x0010, 0x1120, 0xa39c, 0x00ff, 0xa39d, 0x0f00, |
282 | 0x6b0c, 0x73ce, 0x681c, 0x70da, 0x6c1e, 0x2091, 0x8001, 0x0804, | 282 | 0xa3bc, 0x00ff, 0x2500, 0xa702, 0x0290, 0x2600, 0xa702, 0x1278, |
283 | 0x13ba, 0x2091, 0x8001, 0x0804, 0x13b4, 0x77c4, 0x080c, 0x1b7b, | 283 | 0x2039, 0x003a, 0x6804, 0xa705, 0x6806, 0x6b0a, 0x6b0c, 0x73ce, |
284 | 0x2091, 0x8000, 0x6a14, 0x6b1c, 0x2091, 0x8001, 0x70c8, 0x6816, | 284 | 0x681c, 0x70da, 0x6c1e, 0x2091, 0x8001, 0x0804, 0x13ba, 0x2091, |
285 | 0x70cc, 0x681e, 0x2708, 0x0804, 0x13b7, 0x70c4, 0x2061, 0x4640, | 285 | 0x8001, 0x0804, 0x13b4, 0x77c4, 0x080c, 0x1b9a, 0x2091, 0x8000, |
286 | 0x6118, 0x601a, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x13b9, | 286 | 0x6a14, 0x6b1c, 0x2091, 0x8001, 0x70c8, 0x6816, 0x70cc, 0x681e, |
287 | 0x70c8, 0x2061, 0x4680, 0x6218, 0x601a, 0x0804, 0x13b8, 0x71c4, | 287 | 0x2708, 0x0804, 0x13b7, 0x70c4, 0x2061, 0x4740, 0x6118, 0x601a, |
288 | 0x72c8, 0x73cc, 0xa182, 0x0010, 0x1a04, 0x13b3, 0x080c, 0x23af, | 288 | 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x13b9, 0x70c8, 0x2061, |
289 | 0xa384, 0x4000, 0x0110, 0xa295, 0x0020, 0x0804, 0x13b7, 0x77c4, | 289 | 0x4780, 0x6218, 0x601a, 0x0804, 0x13b8, 0x71c4, 0x72c8, 0x73cc, |
290 | 0x080c, 0x1b7b, 0x2091, 0x8000, 0x6a08, 0xc28d, 0x6a0a, 0x2091, | 290 | 0xa182, 0x0010, 0x1a04, 0x13b3, 0x080c, 0x23d8, 0xa384, 0x4000, |
291 | 0x8001, 0x2708, 0x0804, 0x13b8, 0x77c4, 0x080c, 0x1b7b, 0x2091, | 291 | 0x0110, 0xa295, 0x0020, 0x0804, 0x13b7, 0x77c4, 0x080c, 0x1b9a, |
292 | 0x8000, 0x6a08, 0xa294, 0xfff9, 0x6a0a, 0x6804, 0xa005, 0x0110, | 292 | 0x2091, 0x8000, 0x6a08, 0xc28d, 0x6a0a, 0x2091, 0x8001, 0x2708, |
293 | 0x080c, 0x22ae, 0x2091, 0x8001, 0x2708, 0x0804, 0x13b8, 0x77c4, | 293 | 0x0804, 0x13b8, 0x77c4, 0x080c, 0x1b9a, 0x2091, 0x8000, 0x6a08, |
294 | 0x080c, 0x1b7b, 0x2091, 0x8000, 0x6a08, 0xc295, 0x6a0a, 0x6804, | 294 | 0xa294, 0xfff9, 0x6a0a, 0x6804, 0xa005, 0x0110, 0x080c, 0x22d5, |
295 | 0xa005, 0x0110, 0x080c, 0x22ae, 0x2091, 0x8001, 0x2708, 0x0804, | 295 | 0x2091, 0x8001, 0x2708, 0x0804, 0x13b8, 0x77c4, 0x080c, 0x1b9a, |
296 | 0x13b8, 0x77c4, 0x2041, 0x0001, 0x2049, 0x0005, 0x2051, 0x0020, | 296 | 0x2091, 0x8000, 0x6a08, 0xc295, 0x6a0a, 0x6804, 0xa005, 0x0110, |
297 | 0x2091, 0x8000, 0x080c, 0x1b93, 0x2091, 0x8001, 0x2708, 0x6a08, | 297 | 0x080c, 0x22d5, 0x2091, 0x8001, 0x2708, 0x0804, 0x13b8, 0x77c4, |
298 | 0x0804, 0x13b8, 0x77c4, 0xd7fc, 0x0128, 0x080c, 0x1b0a, 0x0138, | 298 | 0x2041, 0x0001, 0x2049, 0x0005, 0x2051, 0x0020, 0x2091, 0x8000, |
299 | 0x0804, 0x13bc, 0x080c, 0x1aff, 0x0110, 0x0804, 0x13bc, 0x73c8, | 299 | 0x080c, 0x1bb2, 0x2091, 0x8001, 0x2708, 0x6a08, 0x0804, 0x13b8, |
300 | 0x72cc, 0x77c6, 0x73ca, 0x72ce, 0x080c, 0x1c0b, 0x11e8, 0x6818, | 300 | 0x77c4, 0xd7fc, 0x0128, 0x080c, 0x1b29, 0x0138, 0x0804, 0x13bc, |
301 | 0xa005, 0x01a0, 0x2708, 0x0076, 0x080c, 0x23ce, 0x007e, 0x1170, | 301 | 0x080c, 0x1b1e, 0x0110, 0x0804, 0x13bc, 0x73c8, 0x72cc, 0x77c6, |
302 | 0x2001, 0x0015, 0xd7fc, 0x1118, 0x2061, 0x4640, 0x0018, 0xc0fd, | 302 | 0x73ca, 0x72ce, 0x080c, 0x1c2a, 0x11e8, 0x6818, 0xa005, 0x01a0, |
303 | 0x2061, 0x4680, 0x782a, 0x2091, 0x8001, 0x0005, 0x2091, 0x8001, | 303 | 0x2708, 0x0076, 0x080c, 0x23f7, 0x007e, 0x1170, 0x2001, 0x0015, |
304 | 0x2001, 0x4005, 0x0804, 0x13bc, 0x2091, 0x8001, 0x0804, 0x13ba, | 304 | 0xd7fc, 0x1118, 0x2061, 0x4740, 0x0018, 0xc0fd, 0x2061, 0x4780, |
305 | 0x77c4, 0xd7fc, 0x0128, 0x080c, 0x1b0a, 0x0138, 0x0804, 0x13bc, | 305 | 0x782a, 0x2091, 0x8001, 0x0005, 0x2091, 0x8001, 0x2001, 0x4005, |
306 | 0x080c, 0x1aff, 0x0110, 0x0804, 0x13bc, 0x77c6, 0x2041, 0x0021, | 306 | 0x0804, 0x13bc, 0x2091, 0x8001, 0x0804, 0x13ba, 0x77c4, 0xd7fc, |
307 | 0x2049, 0x0005, 0x2051, 0x0020, 0x2091, 0x8000, 0x080c, 0x1b93, | 307 | 0x0128, 0x080c, 0x1b29, 0x0138, 0x0804, 0x13bc, 0x080c, 0x1b1e, |
308 | 0x2009, 0x0016, 0xd7fc, 0x1118, 0x2061, 0x4640, 0x0018, 0x2061, | 308 | 0x0110, 0x0804, 0x13bc, 0x77c6, 0x2041, 0x0021, 0x2049, 0x0005, |
309 | 0x4680, 0xc1fd, 0x6063, 0x0003, 0x607b, 0x0000, 0x6772, 0x607f, | 309 | 0x2051, 0x0020, 0x2091, 0x8000, 0x080c, 0x1bb2, 0x2009, 0x0016, |
310 | 0x000f, 0x792a, 0x61d0, 0xc1c4, 0x61d2, 0x080c, 0x22ae, 0x2091, | 310 | 0xd7fc, 0x1118, 0x2061, 0x4740, 0x0018, 0x2061, 0x4780, 0xc1fd, |
311 | 0x8001, 0x0005, 0x77c8, 0x77ca, 0x77c4, 0x77c6, 0xd7fc, 0x0128, | 311 | 0x6063, 0x0003, 0x607b, 0x0000, 0x6772, 0x607f, 0x000f, 0x792a, |
312 | 0x080c, 0x1b0a, 0x0138, 0x0804, 0x13bc, 0x080c, 0x1aff, 0x0110, | 312 | 0x61d0, 0xc1c4, 0x61d2, 0x080c, 0x22d5, 0x2091, 0x8001, 0x0005, |
313 | 0x0804, 0x13bc, 0xa7bc, 0xff00, 0x2091, 0x8000, 0x2009, 0x0017, | 313 | 0x77c8, 0x77ca, 0x77c4, 0x77c6, 0xd7fc, 0x0128, 0x080c, 0x1b29, |
314 | 0xd7fc, 0x1118, 0x2061, 0x4640, 0x0018, 0x2061, 0x4680, 0xc1fd, | 314 | 0x0138, 0x0804, 0x13bc, 0x080c, 0x1b1e, 0x0110, 0x0804, 0x13bc, |
315 | 0x607b, 0x0000, 0x6063, 0x0002, 0x6772, 0x607f, 0x000f, 0x792a, | 315 | 0xa7bc, 0xff00, 0x2091, 0x8000, 0x2009, 0x0017, 0xd7fc, 0x1118, |
316 | 0x61d0, 0xc1c4, 0x61d2, 0x080c, 0x22ae, 0x2091, 0x8001, 0x2041, | 316 | 0x2061, 0x4740, 0x0018, 0x2061, 0x4780, 0xc1fd, 0x607b, 0x0000, |
317 | 0x0021, 0x2049, 0x0005, 0x2051, 0x0030, 0x2091, 0x8000, 0x70c8, | 317 | 0x6063, 0x0002, 0x6772, 0x607f, 0x000f, 0x792a, 0x61d0, 0xc1c4, |
318 | 0xa005, 0x0118, 0x60d0, 0xc0fd, 0x60d2, 0x080c, 0x1b93, 0x70c8, | 318 | 0x61d2, 0x080c, 0x22d5, 0x2091, 0x8001, 0x2041, 0x0021, 0x2049, |
319 | 0x6836, 0x8738, 0xa784, 0x001f, 0x1dc0, 0x2091, 0x8001, 0x0005, | 319 | 0x0005, 0x2051, 0x0010, 0x2091, 0x8000, 0x70c8, 0xa005, 0x0118, |
320 | 0x2019, 0x0000, 0x72c8, 0xd284, 0x0128, 0x080c, 0x1b0a, 0x0138, | 320 | 0x60d0, 0xc0fd, 0x60d2, 0x080c, 0x1bb2, 0x70c8, 0x6836, 0x8738, |
321 | 0x0804, 0x13bc, 0x080c, 0x1aff, 0x0110, 0x0804, 0x13bc, 0x72c8, | 321 | 0xa784, 0x001f, 0x1dc0, 0x2091, 0x8001, 0x0005, 0x2019, 0x0000, |
322 | 0x72ca, 0x78ac, 0xa084, 0x0003, 0x1508, 0x2039, 0x0000, 0xd284, | 322 | 0x72c8, 0xd284, 0x0128, 0x080c, 0x1b29, 0x0138, 0x0804, 0x13bc, |
323 | 0x0108, 0xc7fd, 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, 0x0008, | 323 | 0x080c, 0x1b1e, 0x0110, 0x0804, 0x13bc, 0x72c8, 0x72ca, 0x78ac, |
324 | 0x080c, 0x1b7b, 0x2091, 0x8000, 0x6808, 0xc0d4, 0xa80d, 0x690a, | 324 | 0xa084, 0x0003, 0x1518, 0x2039, 0x0000, 0xd284, 0x0108, 0xc7fd, |
325 | 0x2091, 0x8001, 0x8738, 0xa784, 0x001f, 0x1d90, 0xa7bc, 0xff00, | 325 | 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, 0x0008, 0x080c, 0x1b9a, |
326 | 0x873f, 0x8738, 0x873f, 0xa784, 0x0f00, 0x1d50, 0x2091, 0x8000, | 326 | 0x2091, 0x8000, 0x6808, 0xc0d4, 0xa80d, 0x690a, 0x6837, 0x0000, |
327 | 0x2091, 0x8001, 0x8738, 0xa784, 0x001f, 0x1d80, 0xa7bc, 0xff00, | ||
328 | 0x873f, 0x8738, 0x873f, 0xa784, 0x0f00, 0x1d40, 0x2091, 0x8000, | ||
327 | 0x72c8, 0x2069, 0x0100, 0xd284, 0x1110, 0x2069, 0x0200, 0x6808, | 329 | 0x72c8, 0x2069, 0x0100, 0xd284, 0x1110, 0x2069, 0x0200, 0x6808, |
328 | 0xa084, 0xfffd, 0x680a, 0x6830, 0xd0b4, 0x01b0, 0x684b, 0x0004, | 330 | 0xa084, 0xfffd, 0x680a, 0x6830, 0xd0b4, 0x01b0, 0x684b, 0x0004, |
329 | 0x20a9, 0x0014, 0x6848, 0xd094, 0x0110, 0x1f04, 0x18b2, 0x684b, | 331 | 0x20a9, 0x0014, 0x6848, 0xd094, 0x0110, 0x1f04, 0x18c2, 0x684b, |
330 | 0x0009, 0x20a9, 0x0014, 0x6848, 0xd084, 0x0110, 0x1f04, 0x18bb, | 332 | 0x0009, 0x20a9, 0x0014, 0x6848, 0xd084, 0x0110, 0x1f04, 0x18cb, |
331 | 0x20a9, 0x00fa, 0x1f04, 0x18c2, 0x2079, 0x4600, 0x2009, 0x0018, | 333 | 0x20a9, 0x00fa, 0x1f04, 0x18d2, 0x2079, 0x4700, 0x2009, 0x0018, |
332 | 0x72c8, 0xd284, 0x1118, 0x2061, 0x4640, 0x0018, 0x2061, 0x4680, | 334 | 0x72c8, 0xd284, 0x1118, 0x2061, 0x4740, 0x0018, 0x2061, 0x4780, |
333 | 0xc1fd, 0x607b, 0x0000, 0x792a, 0x6063, 0x0001, 0x607f, 0x000f, | 335 | 0xc1fd, 0x607b, 0x0000, 0x792a, 0x6063, 0x0001, 0x607f, 0x000f, |
334 | 0x60a3, 0x0000, 0x60a4, 0x60ae, 0x60b2, 0x60d0, 0xd0b4, 0x0160, | 336 | 0x60a3, 0x0000, 0x60a4, 0x60ae, 0x60b2, 0x60d0, 0xd0b4, 0x0160, |
335 | 0xc0b4, 0x60d2, 0x00c6, 0x60b4, 0xa065, 0x6008, 0xc0d4, 0x600a, | 337 | 0xc0b4, 0x60d2, 0x00c6, 0x60b4, 0xa065, 0x6008, 0xc0d4, 0x600a, |
336 | 0x6018, 0x8001, 0x601a, 0x00ce, 0x60d0, 0xa084, 0x7eff, 0x60d2, | 338 | 0x6018, 0x8001, 0x601a, 0x00ce, 0x60d0, 0xa084, 0x7eff, 0x60d2, |
337 | 0x78ac, 0xc08d, 0x78ae, 0x83ff, 0x0108, 0x0005, 0x681b, 0x0054, | 339 | 0x78ac, 0xc08d, 0x78ae, 0x83ff, 0x0108, 0x0005, 0x681b, 0x0054, |
338 | 0x2091, 0x8001, 0x0005, 0x73cc, 0x080c, 0x186a, 0x69ec, 0x6a48, | 340 | 0x2091, 0x8001, 0x0005, 0x73cc, 0x080c, 0x1878, 0x69ec, 0x6a48, |
339 | 0xa185, 0x1800, 0x684a, 0xa185, 0x0040, 0x68ee, 0x73cc, 0x2021, | 341 | 0xa185, 0x1800, 0x684a, 0xa185, 0x0040, 0x68ee, 0x73cc, 0x2021, |
340 | 0x0004, 0x20a9, 0x09ff, 0x1f04, 0x190b, 0x8421, 0x1dd0, 0x8319, | 342 | 0x0004, 0x20a9, 0x09ff, 0x1f04, 0x191b, 0x8421, 0x1dd0, 0x8319, |
341 | 0x1db0, 0x69ee, 0x6a4a, 0x2091, 0x8001, 0x0005, 0xd7fc, 0x1118, | 343 | 0x1db0, 0x69ee, 0x6a4a, 0x2091, 0x8001, 0x0005, 0xd7fc, 0x1118, |
342 | 0x2069, 0x4640, 0x0010, 0x2069, 0x4680, 0x71c4, 0x71c6, 0x6916, | 344 | 0x2069, 0x4740, 0x0010, 0x2069, 0x4780, 0x71c4, 0x71c6, 0x6916, |
343 | 0x81ff, 0x1110, 0x68a3, 0x0001, 0x78ac, 0xc08c, 0x78ae, 0xd084, | 345 | 0x81ff, 0x1110, 0x68a3, 0x0001, 0x78ac, 0xc08c, 0x78ae, 0xd084, |
344 | 0x1110, 0x080c, 0x1c5b, 0x0005, 0x75d8, 0x74dc, 0x75da, 0x74de, | 346 | 0x1110, 0x080c, 0x1c7a, 0x0005, 0x75d8, 0x74dc, 0x75da, 0x74de, |
345 | 0x0010, 0xa02e, 0x2520, 0x71c4, 0x73c8, 0x72cc, 0x71c6, 0x73ca, | 347 | 0x0010, 0xa02e, 0x2520, 0x71c4, 0x73c8, 0x72cc, 0x71c6, 0x73ca, |
346 | 0x72ce, 0x2079, 0x4600, 0x7dde, 0x7cda, 0x7bd6, 0x7ad2, 0x080c, | 348 | 0x72ce, 0x2079, 0x4700, 0x7dde, 0x7cda, 0x7bd6, 0x7ad2, 0x080c, |
347 | 0x1b58, 0x0904, 0x1a3d, 0x20a9, 0x0005, 0x20a1, 0x4614, 0x2091, | 349 | 0x1b77, 0x0904, 0x1a5c, 0x20a9, 0x0005, 0x20a1, 0x4714, 0x2091, |
348 | 0x8000, 0x41a1, 0x2091, 0x8001, 0x2009, 0x0040, 0x080c, 0x1d24, | 350 | 0x8000, 0x41a1, 0x2091, 0x8001, 0x2009, 0x0040, 0x080c, 0x1d41, |
349 | 0x0120, 0x080c, 0x1b60, 0x0804, 0x1a3d, 0x6004, 0xa08c, 0x00ff, | 351 | 0x0120, 0x080c, 0x1b7f, 0x0804, 0x1a5c, 0x6004, 0xa08c, 0x00ff, |
350 | 0xa18e, 0x0009, 0x1120, 0x0006, 0x080c, 0x205f, 0x000e, 0xa084, | 352 | 0xa18e, 0x0009, 0x1120, 0x0006, 0x080c, 0x2086, 0x000e, 0xa084, |
351 | 0xff00, 0x8007, 0x8009, 0x0904, 0x19e1, 0x00c6, 0x2c68, 0x080c, | 353 | 0xff00, 0x8007, 0x8009, 0x0904, 0x19f1, 0x00c6, 0x2c68, 0x080c, |
352 | 0x1b58, 0x05a8, 0x2c00, 0x689e, 0x8109, 0x1dc0, 0x609f, 0x0000, | 354 | 0x1b77, 0x05a8, 0x2c00, 0x689e, 0x8109, 0x1dc0, 0x609f, 0x0000, |
353 | 0x00ce, 0x00c6, 0x7ddc, 0x7cd8, 0x7bd4, 0x7ad0, 0xa290, 0x0040, | 355 | 0x00ce, 0x00c6, 0x7ddc, 0x7cd8, 0x7bd4, 0x7ad0, 0xa290, 0x0040, |
354 | 0xa399, 0x0000, 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x7dde, 0x7cda, | 356 | 0xa399, 0x0000, 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x7dde, 0x7cda, |
355 | 0x7bd6, 0x7ad2, 0x2c68, 0x689c, 0xa065, 0x0904, 0x19e0, 0x2009, | 357 | 0x7bd6, 0x7ad2, 0x2c68, 0x689c, 0xa065, 0x0904, 0x19f0, 0x2009, |
356 | 0x0040, 0x080c, 0x1d24, 0x15a0, 0x6004, 0xa084, 0x00ff, 0xa086, | 358 | 0x0040, 0x080c, 0x1d41, 0x15a0, 0x6004, 0xa084, 0x00ff, 0xa086, |
357 | 0x0002, 0x1168, 0x6004, 0xa084, 0x00ff, 0xa086, 0x000a, 0x1120, | 359 | 0x0002, 0x0150, 0x6004, 0xa084, 0x00ff, 0xa086, 0x000a, 0x1138, |
358 | 0x0016, 0x080c, 0x205c, 0x001e, 0x2d00, 0x6002, 0x0898, 0x00ce, | 360 | 0x0016, 0x080c, 0x2083, 0x001e, 0x2d00, 0x6002, 0x0898, 0x00ce, |
359 | 0x00c6, 0x609c, 0x080c, 0x1bd4, 0x00ce, 0x609f, 0x0000, 0x080c, | 361 | 0x00c6, 0x609c, 0x080c, 0x1bf3, 0x00ce, 0x609f, 0x0000, 0x080c, |
360 | 0x1a41, 0x2009, 0x0018, 0x6008, 0xc0cd, 0x600a, 0x6004, 0x6086, | 362 | 0x1a60, 0x2009, 0x0018, 0x6008, 0xc0cd, 0x600a, 0x6004, 0x6086, |
361 | 0x7810, 0x0006, 0x84ff, 0x1110, 0x85ff, 0x0110, 0xc0c5, 0x7812, | 363 | 0x7810, 0x0006, 0x84ff, 0x1110, 0x85ff, 0x0110, 0xc0c5, 0x7812, |
362 | 0x080c, 0x1b15, 0x000e, 0x7812, 0x080c, 0x1b60, 0x0804, 0x1a3d, | 364 | 0x080c, 0x1b34, 0x000e, 0x7812, 0x080c, 0x1b7f, 0x0804, 0x1a5c, |
363 | 0x00ce, 0x00c6, 0x609c, 0x080c, 0x1bd4, 0x00ce, 0x609f, 0x0000, | 365 | 0x00ce, 0x00c6, 0x609c, 0x080c, 0x1bf3, 0x00ce, 0x609f, 0x0000, |
364 | 0x080c, 0x1a41, 0x2009, 0x0018, 0x6087, 0x0103, 0x601b, 0x0003, | 366 | 0x080c, 0x1a60, 0x2009, 0x0018, 0x6087, 0x0103, 0x601b, 0x0003, |
365 | 0x7810, 0x0006, 0x84ff, 0x1110, 0x85ff, 0x0110, 0xc0c5, 0x7812, | 367 | 0x7810, 0x0006, 0x84ff, 0x1110, 0x85ff, 0x0110, 0xc0c5, 0x7812, |
366 | 0x080c, 0x1b15, 0x000e, 0x7812, 0x080c, 0x1b60, 0x0804, 0x1a3d, | 368 | 0x080c, 0x1b34, 0x000e, 0x7812, 0x080c, 0x1b7f, 0x0804, 0x1a5c, |
367 | 0x00ce, 0x6114, 0xd1fc, 0x0120, 0x080c, 0x1b0a, 0x01f0, 0x0018, | 369 | 0x00ce, 0x6114, 0xd1fc, 0x0120, 0x080c, 0x1b29, 0x01f0, 0x0018, |
368 | 0x080c, 0x1aff, 0x01d0, 0x080c, 0x1a41, 0x2009, 0x0018, 0x6087, | 370 | 0x080c, 0x1b1e, 0x01d0, 0x080c, 0x1a60, 0x2009, 0x0018, 0x6087, |
369 | 0x0103, 0x601b, 0x0021, 0x7810, 0x0006, 0x84ff, 0x1110, 0x85ff, | 371 | 0x0103, 0x601b, 0x0021, 0x7810, 0x0006, 0x84ff, 0x1110, 0x85ff, |
370 | 0x0110, 0xc0c5, 0x7812, 0x080c, 0x1b15, 0x000e, 0x7812, 0x080c, | 372 | 0x0110, 0xc0c5, 0x7812, 0x080c, 0x1b34, 0x000e, 0x7812, 0x080c, |
371 | 0x1b60, 0x2001, 0x4007, 0x0804, 0x13bc, 0x74c4, 0x73c8, 0x72cc, | 373 | 0x1b7f, 0x2001, 0x4007, 0x0804, 0x13bc, 0x6104, 0xa18c, 0x00ff, |
372 | 0x6014, 0x2091, 0x8000, 0x00e6, 0x2009, 0x0012, 0xd0fc, 0x1118, | 374 | 0xa186, 0x0005, 0x1118, 0x601c, 0xc0bd, 0x601e, 0x74c4, 0x73c8, |
373 | 0x2071, 0x4640, 0x0018, 0x2071, 0x4680, 0xc1fd, 0x792a, 0x7063, | 375 | 0x72cc, 0x6014, 0x2091, 0x8000, 0x00e6, 0x2009, 0x0012, 0xd0fc, |
374 | 0x0005, 0x71d0, 0xc1c4, 0x71d2, 0x7366, 0x726a, 0x746e, 0x7072, | 376 | 0x1118, 0x2071, 0x4740, 0x0018, 0x2071, 0x4780, 0xc1fd, 0x792a, |
375 | 0x7077, 0x0000, 0x2c00, 0x707a, 0xa02e, 0x2530, 0x611c, 0xa184, | 377 | 0x7063, 0x0005, 0x71d0, 0xc1c4, 0x71d2, 0x7366, 0x726a, 0x746e, |
376 | 0x0060, 0x0110, 0x080c, 0x3fc1, 0x00ee, 0x6596, 0x65a6, 0x669a, | 378 | 0x7072, 0x7077, 0x0000, 0x2c00, 0x707a, 0xa02e, 0x2530, 0x611c, |
377 | 0x66aa, 0x60af, 0x0000, 0x60b3, 0x0000, 0x6714, 0x6023, 0x0000, | 379 | 0xa184, 0x0060, 0x0110, 0x080c, 0x3fe9, 0x00ee, 0x6596, 0x65a6, |
378 | 0x080c, 0x22ae, 0x2091, 0x8001, 0x0005, 0x70c3, 0x4005, 0x0804, | 380 | 0x669a, 0x66aa, 0x60af, 0x0000, 0x60b3, 0x0000, 0x6714, 0x6023, |
379 | 0x13bd, 0x20a9, 0x0005, 0x2099, 0x4614, 0x2091, 0x8000, 0x530a, | 381 | 0x0000, 0x6024, 0xa096, 0x0001, 0x1110, 0x8000, 0x6026, 0x080c, |
380 | 0x2091, 0x8001, 0x2100, 0xa210, 0xa399, 0x0000, 0xa4a1, 0x0000, | 382 | 0x22d5, 0x2091, 0x8001, 0x0005, 0x70c3, 0x4005, 0x0804, 0x13bd, |
381 | 0xa5a9, 0x0000, 0x0005, 0x71c4, 0x70c7, 0x0000, 0x791e, 0x0804, | 383 | 0x20a9, 0x0005, 0x2099, 0x4714, 0x2091, 0x8000, 0x530a, 0x2091, |
382 | 0x13ba, 0x71c4, 0x71c6, 0x2168, 0x0010, 0x2069, 0x1000, 0x690c, | 384 | 0x8001, 0x2100, 0xa210, 0xa399, 0x0000, 0xa4a1, 0x0000, 0xa5a9, |
383 | 0xa016, 0x2d04, 0xa210, 0x8d68, 0x8109, 0x1dd8, 0xa285, 0x0000, | 385 | 0x0000, 0x0005, 0x71c4, 0x70c7, 0x0000, 0x791e, 0x0804, 0x13ba, |
384 | 0x1118, 0x70c3, 0x4000, 0x0010, 0x70c3, 0x4003, 0x70ca, 0x0804, | 386 | 0x71c4, 0x71c6, 0x2168, 0x0010, 0x2069, 0x1000, 0x690c, 0xa016, |
385 | 0x13bd, 0x7964, 0x71c6, 0x71c4, 0xa182, 0x0003, 0x1a04, 0x13b3, | 387 | 0x2d04, 0xa210, 0x8d68, 0x8109, 0x1dd8, 0xa285, 0x0000, 0x1118, |
386 | 0x7966, 0x0804, 0x13ba, 0x7964, 0x71c6, 0x0804, 0x13ba, 0x7900, | 388 | 0x70c3, 0x4000, 0x0010, 0x70c3, 0x4003, 0x70ca, 0x0804, 0x13bd, |
387 | 0x71c6, 0x71c4, 0x7902, 0x0804, 0x13ba, 0x7900, 0x71c6, 0x0804, | 389 | 0x7964, 0x71c6, 0x71c4, 0xa182, 0x0003, 0x1a04, 0x13b3, 0x7966, |
388 | 0x13ba, 0x70c4, 0x2011, 0x0000, 0xa08c, 0x000d, 0x0160, 0x810c, | 390 | 0x0804, 0x13ba, 0x7964, 0x71c6, 0x0804, 0x13ba, 0x7900, 0x71c6, |
389 | 0x0230, 0x8210, 0x810c, 0x810c, 0x0210, 0x8210, 0x810c, 0x81ff, | 391 | 0x71c4, 0x7902, 0x0804, 0x13ba, 0x7900, 0x71c6, 0x0804, 0x13ba, |
390 | 0x1904, 0x13b4, 0x8210, 0x7a0e, 0xd28c, 0x0538, 0x7910, 0xc1cd, | 392 | 0x70c4, 0x2011, 0x0000, 0xa08c, 0x000d, 0x0160, 0x810c, 0x0230, |
391 | 0x7912, 0x2009, 0x0021, 0x2019, 0x0003, 0xd284, 0x01c0, 0x8108, | 393 | 0x8210, 0x810c, 0x810c, 0x0210, 0x8210, 0x810c, 0x81ff, 0x1904, |
392 | 0x2019, 0x0041, 0x2011, 0x8e4e, 0x2312, 0x2019, 0x0042, 0x8210, | 394 | 0x13b4, 0x8210, 0x7a0e, 0xd28c, 0x0538, 0x7910, 0xc1cd, 0x7912, |
393 | 0x2312, 0x2019, 0x0043, 0x8210, 0x2312, 0x2019, 0x0046, 0x8210, | 395 | 0x2009, 0x0021, 0x2019, 0x0003, 0xd284, 0x01c0, 0x8108, 0x2019, |
394 | 0x2312, 0x2019, 0x0047, 0x8210, 0x2312, 0x2019, 0x0006, 0x2011, | 396 | 0x0041, 0x2011, 0x8f4e, 0x2312, 0x2019, 0x0042, 0x8210, 0x2312, |
395 | 0x8e53, 0x2112, 0x2011, 0x8e73, 0x2312, 0x7904, 0x7806, 0x0804, | 397 | 0x2019, 0x0043, 0x8210, 0x2312, 0x2019, 0x0046, 0x8210, 0x2312, |
396 | 0x13b9, 0x7804, 0x70c6, 0x0804, 0x13ba, 0x71c4, 0xd1fc, 0x1118, | 398 | 0x2019, 0x0047, 0x8210, 0x2312, 0x2019, 0x0006, 0x2011, 0x8f53, |
397 | 0x2011, 0x4ac0, 0x0010, 0x2011, 0x4b40, 0x8107, 0xa084, 0x000f, | 399 | 0x2112, 0x2011, 0x8f73, 0x2312, 0x7904, 0x7806, 0x0804, 0x13b9, |
398 | 0x8003, 0x8003, 0x8003, 0xa268, 0x2011, 0x0000, 0x6814, 0xd0fc, | 400 | 0x7804, 0x70c6, 0x0804, 0x13ba, 0x71c4, 0xd1fc, 0x1118, 0x2011, |
399 | 0x0110, 0xa295, 0x0200, 0xd0b4, 0x0110, 0xa295, 0x0001, 0x6b0c, | 401 | 0x4bc0, 0x0010, 0x2011, 0x4c40, 0x8107, 0xa084, 0x000f, 0x8003, |
400 | 0x6800, 0x70da, 0x0804, 0x13b7, 0x7814, 0xd0f4, 0x0130, 0x2001, | 402 | 0x8003, 0x8003, 0xa268, 0x2011, 0x0000, 0x6814, 0xd0fc, 0x0110, |
401 | 0x4007, 0x70db, 0x0000, 0xa005, 0x0048, 0xd0fc, 0x0130, 0x2001, | 403 | 0xa295, 0x0200, 0xd0b4, 0x0110, 0xa295, 0x0001, 0x6b0c, 0x6800, |
402 | 0x4007, 0x70db, 0x0001, 0xa005, 0x0008, 0xa006, 0x0005, 0x7814, | 404 | 0x70da, 0x0804, 0x13b7, 0x7814, 0xd0f4, 0x0130, 0x2001, 0x4007, |
403 | 0xd0f4, 0x0130, 0x2001, 0x4007, 0x70db, 0x0000, 0xa005, 0x0008, | 405 | 0x70db, 0x0000, 0xa005, 0x0048, 0xd0fc, 0x0130, 0x2001, 0x4007, |
404 | 0xa006, 0x0005, 0x7814, 0xd0fc, 0x0130, 0x2001, 0x4007, 0x70db, | 406 | 0x70db, 0x0001, 0xa005, 0x0008, 0xa006, 0x0005, 0x7814, 0xd0f4, |
405 | 0x0001, 0xa005, 0x0008, 0xa006, 0x0005, 0x7112, 0x721a, 0x731e, | 407 | 0x0130, 0x2001, 0x4007, 0x70db, 0x0000, 0xa005, 0x0008, 0xa006, |
406 | 0x7810, 0xd0c4, 0x0110, 0x7422, 0x7526, 0xac80, 0x0001, 0x8108, | 408 | 0x0005, 0x7814, 0xd0fc, 0x0130, 0x2001, 0x4007, 0x70db, 0x0001, |
407 | 0x810c, 0x81a9, 0x8098, 0x20a1, 0x0030, 0x7003, 0x0000, 0x6084, | 409 | 0xa005, 0x0008, 0xa006, 0x0005, 0x7112, 0x721a, 0x731e, 0x7810, |
408 | 0x20a2, 0x53a6, 0x7007, 0x0001, 0x7974, 0xa184, 0xff00, 0x0140, | 410 | 0xd0c4, 0x0110, 0x7422, 0x7526, 0xac80, 0x0001, 0x8108, 0x810c, |
409 | 0x810f, 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, 0xa100, 0x0018, | 411 | 0x81a9, 0x8098, 0x20a1, 0x0030, 0x7003, 0x0000, 0x6084, 0x20a2, |
410 | 0x8107, 0x8004, 0x8004, 0x797c, 0xa108, 0x7a78, 0xa006, 0xa211, | 412 | 0x53a6, 0x7007, 0x0001, 0x7974, 0xa184, 0xff00, 0x0140, 0x810f, |
411 | 0x7d10, 0xd5c4, 0x0120, 0x7b84, 0xa319, 0x7c80, 0xa421, 0x7008, | 413 | 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, 0xa100, 0x0018, 0x8107, |
412 | 0xd0fc, 0x0de8, 0x7003, 0x0001, 0x7007, 0x0006, 0x711a, 0x721e, | 414 | 0x8004, 0x8004, 0x797c, 0xa108, 0x7a78, 0xa006, 0xa211, 0x7d10, |
413 | 0x7d10, 0xd5c4, 0x0110, 0x7322, 0x7426, 0xa084, 0x01e0, 0x0005, | 415 | 0xd5c4, 0x0120, 0x7b84, 0xa319, 0x7c80, 0xa421, 0x7008, 0xd0fc, |
414 | 0x7848, 0xa065, 0x0120, 0x2c04, 0x784a, 0x2063, 0x0000, 0x0005, | 416 | 0x0de8, 0x7003, 0x0001, 0x7007, 0x0006, 0x711a, 0x721e, 0x7d10, |
415 | 0x00f6, 0x2079, 0x4600, 0x7848, 0x2062, 0x2c00, 0xa005, 0x1110, | 417 | 0xd5c4, 0x0110, 0x7322, 0x7426, 0xa084, 0x01e0, 0x0005, 0x7848, |
416 | 0x080c, 0x254c, 0x784a, 0x00fe, 0x0005, 0x2011, 0x9000, 0x7a4a, | 418 | 0xa065, 0x0120, 0x2c04, 0x784a, 0x2063, 0x0000, 0x0005, 0x00f6, |
417 | 0x7bc4, 0x8319, 0x0128, 0xa280, 0x0032, 0x2012, 0x2010, 0x0cc8, | 419 | 0x2079, 0x4700, 0x7848, 0x2062, 0x2c00, 0xa005, 0x1110, 0x080c, |
418 | 0x2013, 0x0000, 0x0005, 0x0016, 0x0026, 0xd7fc, 0x1118, 0x2011, | 420 | 0x2575, 0x784a, 0x00fe, 0x0005, 0x2011, 0x9100, 0x7a4a, 0x7bc4, |
419 | 0x4bc0, 0x0010, 0x2011, 0x6bc0, 0xa784, 0x0f00, 0x800b, 0xa784, | 421 | 0x8319, 0x0128, 0xa280, 0x0032, 0x2012, 0x2010, 0x0cc8, 0x2013, |
420 | 0x001f, 0x0120, 0x8003, 0x8003, 0x8003, 0x8003, 0xa105, 0xa268, | 422 | 0x0000, 0x0005, 0x0016, 0x0026, 0xd7fc, 0x1118, 0x2011, 0x4cc0, |
421 | 0x002e, 0x001e, 0x0005, 0x0c39, 0x2900, 0x682a, 0x2a00, 0x682e, | 423 | 0x0010, 0x2011, 0x6cc0, 0xa784, 0x0f00, 0x800b, 0xa784, 0x001f, |
422 | 0x6808, 0xa084, 0xf9ef, 0xa80d, 0x690a, 0x00e6, 0xd7fc, 0x1128, | 424 | 0x0120, 0x8003, 0x8003, 0x8003, 0x8003, 0xa105, 0xa268, 0x002e, |
423 | 0x2009, 0x4652, 0x2071, 0x4640, 0x0020, 0x2009, 0x4692, 0x2071, | 425 | 0x001e, 0x0005, 0x0c39, 0x2900, 0x682a, 0x2a00, 0x682e, 0x6808, |
424 | 0x4680, 0x210c, 0x6804, 0xa005, 0x0148, 0xa116, 0x1138, 0x2060, | 426 | 0xa084, 0xf9ef, 0xa80d, 0x690a, 0x00e6, 0xd7fc, 0x1128, 0x2009, |
425 | 0x6000, 0x6806, 0x0016, 0x200b, 0x0000, 0x0018, 0x2009, 0x0000, | 427 | 0x4752, 0x2071, 0x4740, 0x0020, 0x2009, 0x4792, 0x2071, 0x4780, |
426 | 0x0016, 0x6804, 0xa065, 0x0178, 0x6000, 0x6806, 0x0421, 0x080c, | 428 | 0x210c, 0x6804, 0xa005, 0x0148, 0xa116, 0x1138, 0x2060, 0x6000, |
427 | 0x1d95, 0x6810, 0x7908, 0x8109, 0x790a, 0x8001, 0x6812, 0x1d88, | 429 | 0x6806, 0x0016, 0x200b, 0x0000, 0x0018, 0x2009, 0x0000, 0x0016, |
428 | 0x7910, 0xc1a5, 0x7912, 0x001e, 0x6902, 0x6906, 0x2d00, 0x2060, | 430 | 0x6804, 0xa065, 0x0178, 0x6000, 0x6806, 0x0421, 0x080c, 0x1db2, |
429 | 0x080c, 0x2693, 0x00ee, 0x0005, 0xa065, 0x0160, 0x2008, 0x609c, | 431 | 0x6810, 0x7908, 0x8109, 0x790a, 0x8001, 0x6812, 0x1d88, 0x7910, |
430 | 0xa005, 0x0128, 0x2062, 0x609f, 0x0000, 0xa065, 0x0cc0, 0x7848, | 432 | 0xc1a5, 0x7912, 0x001e, 0x6902, 0x6906, 0x2d00, 0x2060, 0x080c, |
431 | 0x794a, 0x2062, 0x0005, 0x6007, 0x0103, 0x608f, 0x0000, 0x20a9, | 433 | 0x26bf, 0x00ee, 0x0005, 0xa065, 0x0160, 0x2008, 0x609c, 0xa005, |
432 | 0x001c, 0xac80, 0x0005, 0x20a0, 0x2001, 0x0000, 0x40a4, 0x6828, | 434 | 0x0128, 0x2062, 0x609f, 0x0000, 0xa065, 0x0cc0, 0x7848, 0x794a, |
433 | 0x601a, 0x682c, 0x6022, 0x0005, 0x00e6, 0xd7fc, 0x1128, 0x2071, | 435 | 0x2062, 0x0005, 0x6007, 0x0103, 0x608f, 0x0000, 0x20a9, 0x001c, |
434 | 0x4640, 0x2031, 0x46c0, 0x0020, 0x2071, 0x4680, 0x2031, 0x48c0, | 436 | 0xac80, 0x0005, 0x20a0, 0x2001, 0x0000, 0x40a4, 0x6828, 0x601a, |
435 | 0x704c, 0xa08c, 0x0200, 0x1128, 0xa608, 0x2d0a, 0x8000, 0x704e, | 437 | 0x682c, 0x6022, 0x0005, 0x00e6, 0xd7fc, 0x1128, 0x2071, 0x4740, |
436 | 0xa006, 0x00ee, 0x0005, 0x00f6, 0xd7fc, 0x1118, 0x2079, 0x4640, | 438 | 0x2031, 0x47c0, 0x0020, 0x2071, 0x4780, 0x2031, 0x49c0, 0x704c, |
437 | 0x0010, 0x2079, 0x4680, 0x080c, 0x1b7b, 0x2091, 0x8000, 0x6804, | 439 | 0xa08c, 0x0200, 0x1128, 0xa608, 0x2d0a, 0x8000, 0x704e, 0xa006, |
438 | 0x780a, 0xa065, 0x05f0, 0x0030, 0x2c00, 0x780a, 0x2060, 0x6000, | 440 | 0x00ee, 0x0005, 0x00f6, 0xd7fc, 0x1118, 0x2079, 0x4740, 0x0010, |
439 | 0xa065, 0x05b8, 0x6010, 0xa306, 0x1db8, 0x600c, 0xa206, 0x1da0, | 441 | 0x2079, 0x4780, 0x080c, 0x1b9a, 0x2091, 0x8000, 0x6804, 0x780a, |
440 | 0x2c28, 0x7848, 0xac06, 0x1108, 0x0448, 0x6804, 0xac06, 0x1140, | 442 | 0xa065, 0x05f0, 0x0030, 0x2c00, 0x780a, 0x2060, 0x6000, 0xa065, |
441 | 0x6000, 0x2060, 0x6806, 0xa005, 0x1118, 0x6803, 0x0000, 0x0048, | 443 | 0x05b8, 0x6010, 0xa306, 0x1db8, 0x600c, 0xa206, 0x1da0, 0x2c28, |
442 | 0x6400, 0x7808, 0x2060, 0x6402, 0xa486, 0x0000, 0x1110, 0x2c00, | 444 | 0x7848, 0xac06, 0x1108, 0x0448, 0x6804, 0xac06, 0x1140, 0x6000, |
443 | 0x6802, 0x2560, 0x080c, 0x1be3, 0x601b, 0x0005, 0x6023, 0x0020, | 445 | 0x2060, 0x6806, 0xa005, 0x1118, 0x6803, 0x0000, 0x0048, 0x6400, |
444 | 0x00fe, 0x080c, 0x1d95, 0x00f6, 0x7908, 0x8109, 0x790a, 0x6810, | 446 | 0x7808, 0x2060, 0x6402, 0xa486, 0x0000, 0x1110, 0x2c00, 0x6802, |
445 | 0x8001, 0x6812, 0x1118, 0x7810, 0xc0a5, 0x7812, 0x2001, 0xffff, | 447 | 0x2560, 0x080c, 0x1c02, 0x601b, 0x0005, 0x6023, 0x0020, 0x00fe, |
446 | 0xa005, 0x00fe, 0x0005, 0x0076, 0x2700, 0x2039, 0x0000, 0xd0fc, | 448 | 0x080c, 0x1db2, 0x00f6, 0x7908, 0x8109, 0x790a, 0x6810, 0x8001, |
447 | 0x0108, 0xc7fd, 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, 0x0008, | 449 | 0x6812, 0x1118, 0x7810, 0xc0a5, 0x7812, 0x2001, 0xffff, 0xa005, |
448 | 0x2091, 0x8000, 0x080c, 0x1b93, 0x8738, 0xa784, 0x001f, 0x1dd0, | 450 | 0x00fe, 0x0005, 0x0076, 0x2700, 0x2039, 0x0000, 0xd0fc, 0x0108, |
449 | 0xa7bc, 0xff00, 0x873f, 0x8738, 0x873f, 0xa784, 0x0f00, 0x1d90, | 451 | 0xc7fd, 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, 0x0008, 0x2091, |
450 | 0x2091, 0x8001, 0x007e, 0x0005, 0x786c, 0x2009, 0x8e74, 0x210c, | 452 | 0x8000, 0x080c, 0x1bb2, 0x8738, 0xa784, 0x001f, 0x1dd0, 0xa7bc, |
451 | 0xa10d, 0x0118, 0xa065, 0x0804, 0x207a, 0x2061, 0x0000, 0x6018, | 453 | 0xff00, 0x873f, 0x8738, 0x873f, 0xa784, 0x0f00, 0x1d90, 0x2091, |
452 | 0xd084, 0x11b8, 0x7810, 0xd08c, 0x0130, 0xc08c, 0x7812, 0xc7fc, | 454 | 0x8001, 0x007e, 0x0005, 0x786c, 0x2009, 0x8f74, 0x210c, 0xa10d, |
453 | 0x2069, 0x4640, 0x0028, 0xc08d, 0x7812, 0x2069, 0x4680, 0xc7fd, | 455 | 0x0118, 0xa065, 0x0804, 0x20a1, 0x2061, 0x0000, 0x6018, 0xd084, |
454 | 0x2091, 0x8000, 0x681c, 0x681f, 0x0000, 0x2091, 0x8001, 0xa005, | 456 | 0x11b8, 0x7810, 0xd08c, 0x0130, 0xc08c, 0x7812, 0xc7fc, 0x2069, |
455 | 0x1108, 0x0005, 0xa08c, 0xfff0, 0x0110, 0x080c, 0x254c, 0x0002, | 457 | 0x4740, 0x0028, 0xc08d, 0x7812, 0x2069, 0x4780, 0xc7fd, 0x2091, |
456 | 0x1cb8, 0x1cbb, 0x1cc1, 0x1cc5, 0x1cb9, 0x1cc9, 0x1cb9, 0x1cb9, | 458 | 0x8000, 0x681c, 0x681f, 0x0000, 0x2091, 0x8001, 0xa005, 0x1108, |
457 | 0x1cb9, 0x1ccf, 0x1cfb, 0x1cfe, 0x1d03, 0x1d0c, 0x1cb9, 0x1cb9, | 459 | 0x0005, 0xa08c, 0xfff0, 0x0110, 0x080c, 0x2575, 0x0002, 0x1cd7, |
458 | 0x0005, 0x080c, 0x254c, 0x080c, 0x1c5b, 0x2001, 0x8001, 0x0804, | 460 | 0x1cda, 0x1ce0, 0x1ce4, 0x1cd8, 0x1ce8, 0x1cd8, 0x1cd8, 0x1cd8, |
459 | 0x1d15, 0x2001, 0x8003, 0x0804, 0x1d15, 0x2001, 0x8004, 0x0804, | 461 | 0x1cee, 0x1d18, 0x1d1b, 0x1d20, 0x1d29, 0x1cd8, 0x1cd8, 0x0005, |
460 | 0x1d15, 0x080c, 0x1c5b, 0x2001, 0x8006, 0x0804, 0x1d15, 0x2091, | 462 | 0x080c, 0x2575, 0x080c, 0x1c7a, 0x2001, 0x8001, 0x0804, 0x1d32, |
461 | 0x8000, 0x0076, 0xd7fc, 0x1128, 0x2069, 0x4640, 0x2039, 0x0009, | 463 | 0x2001, 0x8003, 0x0804, 0x1d32, 0x2001, 0x8004, 0x0804, 0x1d32, |
462 | 0x0020, 0x2069, 0x4680, 0x2039, 0x0009, 0x6800, 0xa086, 0x0000, | 464 | 0x080c, 0x1c7a, 0x2001, 0x8006, 0x0804, 0x1d32, 0x2011, 0x800a, |
463 | 0x0128, 0x000e, 0x6f1e, 0x2091, 0x8001, 0x0005, 0x6870, 0x007e, | 465 | 0x2091, 0x8000, 0xd7fc, 0x1118, 0x2069, 0x4740, 0x0010, 0x2069, |
464 | 0xa0bc, 0xff00, 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, 0x0010, | 466 | 0x4780, 0x2038, 0x6800, 0xa086, 0x0000, 0x0120, 0x6f1e, 0x2091, |
465 | 0x080c, 0x1b93, 0x8738, 0xa784, 0x001f, 0x1dd0, 0x2091, 0x8001, | 467 | 0x8001, 0x0005, 0x0026, 0x6870, 0xa0bc, 0xff00, 0x2041, 0x0021, |
466 | 0x2001, 0x800a, 0x00d0, 0x2001, 0x800c, 0x00b8, 0x080c, 0x1c5b, | 468 | 0x2049, 0x0004, 0x2051, 0x0010, 0x080c, 0x1bb2, 0x8738, 0xa784, |
467 | 0x2001, 0x800d, 0x0090, 0xd7fc, 0x0110, 0x78e4, 0x0008, 0x78e0, | 469 | 0x001f, 0x1dd0, 0x2091, 0x8001, 0x000e, 0x6970, 0x71c6, 0x00d0, |
468 | 0x70c6, 0x2001, 0x800e, 0x0048, 0xd7fc, 0x0110, 0x78ec, 0x0008, | 470 | 0x2001, 0x800c, 0x00b8, 0x080c, 0x1c7a, 0x2001, 0x800d, 0x0090, |
469 | 0x78e8, 0x70c6, 0x2001, 0x800f, 0x0000, 0x70c2, 0xd7fc, 0x1118, | 471 | 0xd7fc, 0x0110, 0x78e4, 0x0008, 0x78e0, 0x70c6, 0x2001, 0x800e, |
470 | 0x70db, 0x0000, 0x0010, 0x70db, 0x0001, 0x2061, 0x0000, 0x601b, | 472 | 0x0048, 0xd7fc, 0x0110, 0x78ec, 0x0008, 0x78e8, 0x70c6, 0x2001, |
471 | 0x0001, 0x2091, 0x4080, 0x0005, 0xac80, 0x0001, 0x81ff, 0x0518, | 473 | 0x800f, 0x0000, 0x70c2, 0xd7fc, 0x1118, 0x70db, 0x0000, 0x0010, |
472 | 0x2099, 0x0030, 0x20a0, 0x700c, 0xa084, 0x07ff, 0x0100, 0x7018, | 474 | 0x70db, 0x0001, 0x2061, 0x0000, 0x601b, 0x0001, 0x2091, 0x4080, |
473 | 0x0006, 0x701c, 0x0006, 0x7020, 0x0006, 0x7024, 0x0006, 0x7112, | 475 | 0x0005, 0xac80, 0x0001, 0x81ff, 0x0518, 0x2099, 0x0030, 0x20a0, |
474 | 0x81ac, 0x721a, 0x731e, 0x7422, 0x7526, 0x7003, 0x0001, 0x7007, | 476 | 0x700c, 0xa084, 0x07ff, 0x0100, 0x7018, 0x0006, 0x701c, 0x0006, |
475 | 0x0001, 0x7008, 0x800b, 0x1ee8, 0x7007, 0x0002, 0xa08c, 0x01e0, | 477 | 0x7020, 0x0006, 0x7024, 0x0006, 0x7112, 0x81ac, 0x721a, 0x731e, |
476 | 0x1110, 0x53a5, 0xa006, 0x7003, 0x0000, 0x7007, 0x0004, 0x000e, | 478 | 0x7422, 0x7526, 0x7003, 0x0001, 0x7007, 0x0001, 0x7008, 0x800b, |
477 | 0x7026, 0x000e, 0x7022, 0x000e, 0x701e, 0x000e, 0x701a, 0x0005, | 479 | 0x1ee8, 0x7007, 0x0002, 0xa08c, 0x01e0, 0x1110, 0x53a5, 0xa006, |
478 | 0x2011, 0x0020, 0x2009, 0x0010, 0x6b0a, 0x6c0e, 0x681f, 0x0201, | 480 | 0x7003, 0x0000, 0x7007, 0x0004, 0x000e, 0x7026, 0x000e, 0x7022, |
479 | 0x6803, 0xfd20, 0x6807, 0x0038, 0x6a1a, 0x2d00, 0xa0e8, 0x0008, | 481 | 0x000e, 0x701e, 0x000e, 0x701a, 0x0005, 0x2011, 0x0020, 0x2009, |
480 | 0xa290, 0x0004, 0x8109, 0x1d80, 0x0005, 0x70ec, 0xd0dc, 0x1520, | 482 | 0x0010, 0x6b0a, 0x6c0e, 0x681f, 0x0201, 0x6803, 0xfd20, 0x6807, |
481 | 0x2029, 0x0001, 0x7814, 0xd0cc, 0x1160, 0x70ec, 0xd0e4, 0x2019, | 483 | 0x0038, 0x6a1a, 0x2d00, 0xa0e8, 0x0008, 0xa290, 0x0004, 0x8109, |
482 | 0x0c0a, 0x2021, 0x000a, 0x1120, 0x2019, 0x0c0c, 0x2021, 0x000c, | 484 | 0x1d80, 0x0005, 0x70ec, 0xd0dc, 0x1520, 0x2029, 0x0001, 0x7814, |
483 | 0x0070, 0x70ec, 0xd0e4, 0x1128, 0x2019, 0x180c, 0x2021, 0x000c, | 485 | 0xd0cc, 0x1160, 0x70ec, 0xd0e4, 0x2019, 0x0c0a, 0x2021, 0x000a, |
484 | 0x0030, 0x2019, 0x1809, 0x2021, 0x0009, 0xa5ad, 0x0200, 0x6b0a, | 486 | 0x1120, 0x2019, 0x0c0c, 0x2021, 0x000c, 0x0070, 0x70ec, 0xd0e4, |
485 | 0x6c0e, 0x6d1e, 0x6807, 0x0038, 0x0005, 0x6004, 0x6086, 0x2c08, | 487 | 0x1128, 0x2019, 0x180c, 0x2021, 0x000c, 0x0030, 0x2019, 0x1809, |
486 | 0x2063, 0x0000, 0x7868, 0xa005, 0x796a, 0x0110, 0x2c02, 0x0008, | 488 | 0x2021, 0x0009, 0xa5ad, 0x0200, 0x6b0a, 0x6c0e, 0x6d1e, 0x6807, |
487 | 0x796e, 0x0005, 0x00c6, 0x2061, 0x4600, 0x6887, 0x0103, 0x2d08, | 489 | 0x0038, 0x0005, 0x6004, 0x6086, 0x2c08, 0x2063, 0x0000, 0x7868, |
488 | 0x206b, 0x0000, 0x6068, 0xa005, 0x616a, 0x0110, 0x2d02, 0x0008, | 490 | 0xa005, 0x796a, 0x0110, 0x2c02, 0x0008, 0x796e, 0x0005, 0x00c6, |
489 | 0x616e, 0x00ce, 0x0005, 0x2091, 0x8000, 0x2c04, 0x786e, 0xa005, | 491 | 0x2061, 0x4700, 0x6887, 0x0103, 0x2d08, 0x206b, 0x0000, 0x6068, |
490 | 0x1108, 0x786a, 0x2091, 0x8001, 0x609c, 0xa005, 0x0188, 0x00c6, | 492 | 0xa005, 0x616a, 0x0110, 0x2d02, 0x0008, 0x616e, 0x00ce, 0x0005, |
491 | 0x2060, 0x2008, 0x609c, 0xa005, 0x0138, 0x2062, 0x609f, 0x0000, | 493 | 0x2091, 0x8000, 0x2c04, 0x786e, 0xa005, 0x1108, 0x786a, 0x2091, |
492 | 0xa065, 0x609c, 0xa005, 0x1dc8, 0x7848, 0x794a, 0x2062, 0x00ce, | 494 | 0x8001, 0x609c, 0xa005, 0x0188, 0x00c6, 0x2060, 0x2008, 0x609c, |
493 | 0x7848, 0x2062, 0x609f, 0x0000, 0xac85, 0x0000, 0x1110, 0x080c, | 495 | 0xa005, 0x0138, 0x2062, 0x609f, 0x0000, 0xa065, 0x609c, 0xa005, |
494 | 0x254c, 0x784a, 0x0005, 0x20a9, 0x0010, 0xa006, 0x8004, 0x8086, | 496 | 0x1dc8, 0x7848, 0x794a, 0x2062, 0x00ce, 0x7848, 0x2062, 0x609f, |
495 | 0x818e, 0x1208, 0xa200, 0x1f04, 0x1ddf, 0x8086, 0x818e, 0x0005, | 497 | 0x0000, 0xac85, 0x0000, 0x1110, 0x080c, 0x2575, 0x784a, 0x0005, |
496 | 0x0156, 0x20a9, 0x0010, 0xa005, 0x01b8, 0xa11a, 0x12a8, 0x8213, | 498 | 0x20a9, 0x0010, 0xa006, 0x8004, 0x8086, 0x818e, 0x1208, 0xa200, |
497 | 0x818d, 0x0228, 0xa11a, 0x1220, 0x1f04, 0x1def, 0x0028, 0xa11a, | 499 | 0x1f04, 0x1dfc, 0x8086, 0x818e, 0x0005, 0x0156, 0x20a9, 0x0010, |
498 | 0x2308, 0x8210, 0x1f04, 0x1def, 0x0006, 0x3200, 0xa084, 0xefff, | 500 | 0xa005, 0x01b8, 0xa11a, 0x12a8, 0x8213, 0x818d, 0x0228, 0xa11a, |
499 | 0x2080, 0x000e, 0x015e, 0x0005, 0x0006, 0x3200, 0xa085, 0x1000, | 501 | 0x1220, 0x1f04, 0x1e0c, 0x0028, 0xa11a, 0x2308, 0x8210, 0x1f04, |
500 | 0x0cb8, 0x7d74, 0x70d0, 0xa506, 0x0904, 0x1ebd, 0x7810, 0x2050, | 502 | 0x1e0c, 0x0006, 0x3200, 0xa084, 0xefff, 0x2080, 0x000e, 0x015e, |
501 | 0x080c, 0x1b58, 0x0904, 0x1ebd, 0xa046, 0x7970, 0x2500, 0x8000, | 503 | 0x0005, 0x0006, 0x3200, 0xa085, 0x1000, 0x0cb8, 0x7d74, 0x70d0, |
502 | 0xa112, 0x2009, 0x0040, 0x1208, 0x0030, 0x72d0, 0xa206, 0x0118, | 504 | 0xa506, 0x0904, 0x1eda, 0x7810, 0x2050, 0x080c, 0x1b77, 0x0904, |
503 | 0x8840, 0x2009, 0x0080, 0x00c6, 0x7112, 0x7007, 0x0001, 0x2099, | 505 | 0x1eda, 0xa046, 0x7970, 0x2500, 0x8000, 0xa112, 0x2009, 0x0040, |
504 | 0x0030, 0x20a9, 0x0020, 0xac80, 0x0001, 0x20a0, 0x2061, 0x0000, | 506 | 0x1208, 0x0030, 0x72d0, 0xa206, 0x0118, 0x8840, 0x2009, 0x0080, |
505 | 0x88ff, 0x0110, 0x080c, 0x1b58, 0x7008, 0xd0fc, 0x0de8, 0x7007, | 507 | 0x00c6, 0x7112, 0x7007, 0x0001, 0x2099, 0x0030, 0x20a9, 0x0020, |
506 | 0x0002, 0x2091, 0x8001, 0xa08c, 0x01e0, 0x1538, 0x53a5, 0x8cff, | 508 | 0xac80, 0x0001, 0x20a0, 0x2061, 0x0000, 0x88ff, 0x0110, 0x080c, |
507 | 0x1120, 0x88ff, 0x0904, 0x1eaa, 0x0050, 0x2c00, 0x788e, 0x20a9, | 509 | 0x1b77, 0x7008, 0xd0fc, 0x0de8, 0x7007, 0x0002, 0x2091, 0x8001, |
508 | 0x0020, 0xac80, 0x0001, 0x20a0, 0x53a5, 0x0804, 0x1eaa, 0xa046, | 510 | 0xa08c, 0x01e0, 0x1538, 0x53a5, 0x8cff, 0x1120, 0x88ff, 0x0904, |
509 | 0x7218, 0x731c, 0xdac4, 0x0110, 0x7420, 0x7524, 0xa292, 0x0040, | 511 | 0x1ec7, 0x0050, 0x2c00, 0x788e, 0x20a9, 0x0020, 0xac80, 0x0001, |
510 | 0xa39b, 0x0000, 0xa4a3, 0x0000, 0xa5ab, 0x0000, 0x721a, 0x731e, | 512 | 0x20a0, 0x53a5, 0x0804, 0x1ec7, 0xa046, 0x7218, 0x731c, 0xdac4, |
511 | 0xdac4, 0x0118, 0x7422, 0x7526, 0xa006, 0x7007, 0x0004, 0x0904, | 513 | 0x0110, 0x7420, 0x7524, 0xa292, 0x0040, 0xa39b, 0x0000, 0xa4a3, |
512 | 0x1eaa, 0x8cff, 0x0110, 0x080c, 0x1b60, 0x00ce, 0x080c, 0x1b60, | 514 | 0x0000, 0xa5ab, 0x0000, 0x721a, 0x731e, 0xdac4, 0x0118, 0x7422, |
513 | 0xa046, 0x7888, 0x8000, 0x788a, 0xa086, 0x0002, 0x01c0, 0x7a7c, | 515 | 0x7526, 0xa006, 0x7007, 0x0004, 0x0904, 0x1ec7, 0x8cff, 0x0110, |
514 | 0x7b78, 0xdac4, 0x0110, 0x7c84, 0x7d80, 0x7974, 0x8107, 0x8004, | 516 | 0x080c, 0x1b7f, 0x00ce, 0x080c, 0x1b7f, 0xa046, 0x7888, 0x8000, |
515 | 0x8004, 0xa210, 0xa399, 0x0000, 0xa4a1, 0x0000, 0xa5a9, 0x0000, | 517 | 0x788a, 0xa086, 0x0002, 0x01c0, 0x7a7c, 0x7b78, 0xdac4, 0x0110, |
516 | 0x721a, 0x731e, 0xdac4, 0x0588, 0x7422, 0x7526, 0x0470, 0x6014, | 518 | 0x7c84, 0x7d80, 0x7974, 0x8107, 0x8004, 0x8004, 0xa210, 0xa399, |
517 | 0xd0fc, 0x1118, 0x2069, 0x4640, 0x0010, 0x2069, 0x4680, 0x2091, | 519 | 0x0000, 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x721a, 0x731e, 0xdac4, |
518 | 0x8000, 0x681f, 0x0002, 0x88ff, 0x0120, 0xa046, 0x788c, 0x2060, | 520 | 0x0588, 0x7422, 0x7526, 0x0470, 0x6014, 0xd0fc, 0x1118, 0x2069, |
519 | 0x0c70, 0x788b, 0x0000, 0x78ac, 0xa085, 0x0003, 0x78ae, 0x2091, | 521 | 0x4740, 0x0010, 0x2069, 0x4780, 0x2091, 0x8000, 0x681f, 0x0002, |
520 | 0x8001, 0x0098, 0x00ce, 0x788b, 0x0000, 0x080c, 0x2035, 0x6004, | 522 | 0x88ff, 0x0120, 0xa046, 0x788c, 0x2060, 0x0c70, 0x788b, 0x0000, |
521 | 0xa084, 0x000f, 0x0059, 0x88ff, 0x0130, 0x788c, 0x2060, 0x6004, | 523 | 0x78ac, 0xa085, 0x0003, 0x78ae, 0x2091, 0x8001, 0x0098, 0x00ce, |
522 | 0xa084, 0x000f, 0x0019, 0x0804, 0x1e09, 0x0005, 0x0002, 0x1ecf, | 524 | 0x788b, 0x0000, 0x080c, 0x205c, 0x6004, 0xa084, 0x000f, 0x0059, |
523 | 0x1eea, 0x1f03, 0x1ecf, 0x1f10, 0x1ee0, 0x1ecf, 0x1ecf, 0x1ecf, | 525 | 0x88ff, 0x0130, 0x788c, 0x2060, 0x6004, 0xa084, 0x000f, 0x0019, |
524 | 0x1ee8, 0x1f01, 0x1ecf, 0x1ecf, 0x1ecf, 0x1ecf, 0x1ecf, 0x2039, | 526 | 0x0804, 0x1e26, 0x0005, 0x0002, 0x1eec, 0x1f07, 0x1f20, 0x1eec, |
525 | 0x0400, 0x78bc, 0xa705, 0x78be, 0x6008, 0xa705, 0x600a, 0x080c, | 527 | 0x1f2d, 0x1efd, 0x1eec, 0x1eec, 0x1eec, 0x1f05, 0x1f1e, 0x1eec, |
526 | 0x1f4c, 0x609c, 0x78ba, 0x609f, 0x0000, 0x080c, 0x2021, 0x0005, | 528 | 0x1eec, 0x1eec, 0x1eec, 0x1eec, 0x2039, 0x0400, 0x78bc, 0xa705, |
527 | 0x78bc, 0xd0c4, 0x0108, 0x0c58, 0x601c, 0xc0bd, 0x601e, 0x0030, | 529 | 0x78be, 0x6008, 0xa705, 0x600a, 0x080c, 0x1f69, 0x609c, 0x78ba, |
528 | 0x080c, 0x205f, 0x78bc, 0xd0c4, 0x0108, 0x0c08, 0x78bf, 0x0000, | 530 | 0x609f, 0x0000, 0x080c, 0x2048, 0x0005, 0x78bc, 0xd0c4, 0x0108, |
529 | 0x6004, 0x8007, 0xa084, 0x00ff, 0x78b2, 0x8001, 0x0138, 0x080c, | 531 | 0x0c58, 0x601c, 0xc0bd, 0x601e, 0x0030, 0x080c, 0x2086, 0x78bc, |
530 | 0x1f4c, 0x0120, 0x78bc, 0xc0c5, 0x78be, 0x0010, 0x0804, 0x1f67, | 532 | 0xd0c4, 0x0108, 0x0c08, 0x78bf, 0x0000, 0x6004, 0x8007, 0xa084, |
531 | 0x0005, 0x080c, 0x205c, 0x78bc, 0xa08c, 0x0e00, 0x1110, 0xd0c4, | 533 | 0x00ff, 0x78b2, 0x8001, 0x0138, 0x080c, 0x1f69, 0x0120, 0x78bc, |
532 | 0x1108, 0x0828, 0x080c, 0x1f4c, 0x1110, 0x0804, 0x1f67, 0x0005, | 534 | 0xc0c5, 0x78be, 0x0010, 0x0804, 0x1f84, 0x0005, 0x080c, 0x2083, |
533 | 0x78bc, 0xd0c4, 0x0110, 0x0804, 0x1ecf, 0x78bf, 0x0000, 0x6714, | 535 | 0x78bc, 0xa08c, 0x0e00, 0x1110, 0xd0c4, 0x1108, 0x0828, 0x080c, |
534 | 0x2011, 0x0001, 0x22a8, 0x6018, 0xa084, 0x00ff, 0xa005, 0x0188, | 536 | 0x1f69, 0x1110, 0x0804, 0x1f84, 0x0005, 0x78bc, 0xd0c4, 0x0110, |
535 | 0xa7bc, 0xff00, 0x20a9, 0x0020, 0xa08e, 0x0001, 0x0150, 0xa7bc, | 537 | 0x0804, 0x1eec, 0x78bf, 0x0000, 0x6714, 0x2011, 0x0001, 0x22a8, |
536 | 0x8000, 0x2011, 0x0002, 0x20a9, 0x0100, 0xa08e, 0x0002, 0x0108, | 538 | 0x6018, 0xa084, 0x00ff, 0xa005, 0x0188, 0xa7bc, 0xff00, 0x20a9, |
537 | 0x00c0, 0x080c, 0x1b7b, 0x2d00, 0x2091, 0x8000, 0x682b, 0x0000, | 539 | 0x0020, 0xa08e, 0x0001, 0x0150, 0xa7bc, 0x8000, 0x2011, 0x0002, |
538 | 0x682f, 0x0000, 0x6808, 0xa084, 0xffde, 0x680a, 0xade8, 0x0010, | 540 | 0x20a9, 0x0100, 0xa08e, 0x0002, 0x0108, 0x00c0, 0x080c, 0x1b9a, |
539 | 0x2091, 0x8001, 0x1f04, 0x1f34, 0x8211, 0x0118, 0x20a9, 0x0100, | 541 | 0x2d00, 0x2091, 0x8000, 0x682b, 0x0000, 0x682f, 0x0000, 0x6808, |
540 | 0x0c58, 0x080c, 0x1b60, 0x0005, 0x609f, 0x0000, 0x78b4, 0xa06d, | 542 | 0xa084, 0xffde, 0x680a, 0xade8, 0x0010, 0x2091, 0x8001, 0x1f04, |
541 | 0x2c00, 0x78b6, 0x1110, 0x78ba, 0x0038, 0x689e, 0x2d00, 0x6002, | 543 | 0x1f51, 0x8211, 0x0118, 0x20a9, 0x0100, 0x0c58, 0x080c, 0x1b7f, |
542 | 0x78b8, 0xad06, 0x1108, 0x6002, 0x78b0, 0x8001, 0x78b2, 0x1130, | 544 | 0x0005, 0x609f, 0x0000, 0x78b4, 0xa06d, 0x2c00, 0x78b6, 0x1110, |
543 | 0x78bc, 0xc0c4, 0x78be, 0x78b8, 0x2060, 0xa006, 0x0005, 0x00e6, | 545 | 0x78ba, 0x0038, 0x689e, 0x2d00, 0x6002, 0x78b8, 0xad06, 0x1108, |
544 | 0xa02e, 0x2530, 0x7dba, 0x7db6, 0x65ae, 0x65b2, 0x601c, 0x60a2, | 546 | 0x6002, 0x78b0, 0x8001, 0x78b2, 0x1130, 0x78bc, 0xc0c4, 0x78be, |
545 | 0x2048, 0xa984, 0xe1ff, 0x601e, 0xa984, 0x0060, 0x0110, 0x080c, | 547 | 0x78b8, 0x2060, 0xa006, 0x0005, 0x00e6, 0xa02e, 0x2530, 0x7dba, |
546 | 0x3fc1, 0x6596, 0x65a6, 0x669a, 0x66aa, 0x6714, 0x2071, 0x4680, | 548 | 0x7db6, 0x65ae, 0x65b2, 0x601c, 0x60a2, 0x2048, 0xa984, 0xe1ff, |
547 | 0xd7fc, 0x1110, 0x2071, 0x4640, 0xa784, 0x0f00, 0x800b, 0xa784, | 549 | 0x601e, 0xa984, 0x0060, 0x0160, 0x080c, 0x3fe9, 0x86ff, 0x1140, |
548 | 0x001f, 0x0120, 0x8003, 0x8003, 0x8003, 0x8003, 0xa105, 0x71c0, | 550 | 0x85ff, 0x1130, 0x2039, 0x0800, 0x080c, 0x2048, 0x0804, 0x2046, |
549 | 0xa168, 0x2700, 0x8007, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, | 551 | 0x6596, 0x65a6, 0x669a, 0x66aa, 0x6714, 0x2071, 0x4780, 0xd7fc, |
550 | 0x71c4, 0xa100, 0x60c2, 0x2091, 0x8000, 0x7814, 0xd0c4, 0x0138, | 552 | 0x1110, 0x2071, 0x4740, 0xa784, 0x0f00, 0x800b, 0xa784, 0x001f, |
551 | 0xd7fc, 0x1118, 0xd0f4, 0x1140, 0x0010, 0xd0fc, 0x1128, 0x6e08, | 553 | 0x0120, 0x8003, 0x8003, 0x8003, 0x8003, 0xa105, 0x71c0, 0xa168, |
552 | 0xd684, 0x01f0, 0xd9fc, 0x11e0, 0x2091, 0x8001, 0x080c, 0x1be3, | 554 | 0x2700, 0x8007, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0x71c4, |
553 | 0x2091, 0x8000, 0x080c, 0x1d95, 0x2091, 0x8001, 0x7814, 0xd0c4, | 555 | 0xa100, 0x60c2, 0x2091, 0x8000, 0x7814, 0xd0c4, 0x0138, 0xd7fc, |
554 | 0x0904, 0x201f, 0xd7fc, 0x1120, 0xd0f4, 0x1130, 0x0804, 0x201f, | 556 | 0x1118, 0xd0f4, 0x1140, 0x0010, 0xd0fc, 0x1128, 0x6e08, 0xd684, |
555 | 0xd0fc, 0x1110, 0x0804, 0x201f, 0x601b, 0x0021, 0x0804, 0x201f, | 557 | 0x01f0, 0xd9fc, 0x11e0, 0x2091, 0x8001, 0x080c, 0x1c02, 0x2091, |
556 | 0x6024, 0xa096, 0x0001, 0x1110, 0x8000, 0x6026, 0x6a10, 0x6814, | 558 | 0x8000, 0x080c, 0x1db2, 0x2091, 0x8001, 0x7814, 0xd0c4, 0x0904, |
557 | 0xa202, 0x0268, 0x0160, 0x2091, 0x8001, 0x2039, 0x0200, 0x609c, | 559 | 0x2046, 0xd7fc, 0x1120, 0xd0f4, 0x1130, 0x0804, 0x2046, 0xd0fc, |
558 | 0x78ba, 0x609f, 0x0000, 0x080c, 0x2021, 0x0804, 0x201f, 0x2c08, | 560 | 0x1110, 0x0804, 0x2046, 0x601b, 0x0021, 0x0804, 0x2046, 0x6024, |
559 | 0xd9fc, 0x01f0, 0x6800, 0xa065, 0x01d8, 0x6a04, 0x7000, 0xa084, | 561 | 0xa096, 0x0001, 0x1110, 0x8000, 0x6026, 0x6a10, 0x6814, 0xa202, |
560 | 0x0002, 0x0168, 0x7048, 0xa206, 0x1150, 0x6b04, 0x2160, 0x2304, | 562 | 0x0268, 0x0160, 0x2091, 0x8001, 0x2039, 0x0200, 0x609c, 0x78ba, |
561 | 0x6002, 0xa005, 0x1108, 0x6902, 0x2260, 0x6102, 0x0098, 0x2d00, | 563 | 0x609f, 0x0000, 0x080c, 0x2048, 0x0804, 0x2046, 0x2c08, 0xd9fc, |
562 | 0x2060, 0x080c, 0x2693, 0x6e08, 0x2160, 0x6202, 0x6906, 0x0050, | 564 | 0x01f0, 0x6800, 0xa065, 0x01d8, 0x6a04, 0x7000, 0xa084, 0x0002, |
563 | 0x6800, 0x6902, 0xa065, 0x0110, 0x6102, 0x0008, 0x6906, 0x2160, | 565 | 0x0168, 0x7048, 0xa206, 0x1150, 0x6b04, 0x2160, 0x2304, 0x6002, |
564 | 0x6003, 0x0000, 0x2160, 0xd9fc, 0x0118, 0xa6b4, 0xfffc, 0x6e0a, | 566 | 0xa005, 0x1108, 0x6902, 0x2260, 0x6102, 0x0098, 0x2d00, 0x2060, |
565 | 0x6810, 0x7d08, 0x8528, 0x7d0a, 0x8000, 0x6812, 0x2091, 0x8001, | 567 | 0x080c, 0x26bf, 0x6e08, 0x2160, 0x6202, 0x6906, 0x0050, 0x6800, |
566 | 0xd6b4, 0x0128, 0xa6b6, 0x0040, 0x6e0a, 0x080c, 0x1bf4, 0x00ee, | 568 | 0x6902, 0xa065, 0x0110, 0x6102, 0x0008, 0x6906, 0x2160, 0x6003, |
567 | 0x0005, 0x6008, 0xa705, 0x600a, 0x2091, 0x8000, 0x080c, 0x1d95, | 569 | 0x0000, 0x2160, 0xd9fc, 0x0118, 0xa6b4, 0xfffc, 0x6e0a, 0x6810, |
568 | 0x2091, 0x8001, 0x78b8, 0xa065, 0x0128, 0x609c, 0x78ba, 0x609f, | 570 | 0x7d08, 0x8528, 0x7d0a, 0x8000, 0x6812, 0x2091, 0x8001, 0xd6b4, |
569 | 0x0000, 0x0c78, 0x78b6, 0x78ba, 0x0005, 0x7970, 0x7874, 0x2818, | 571 | 0x0128, 0xa6b6, 0x0040, 0x6e0a, 0x080c, 0x1c13, 0x00ee, 0x0005, |
570 | 0xd384, 0x0118, 0x8000, 0xa112, 0x0220, 0x8000, 0xa112, 0x1278, | 572 | 0x6008, 0xa705, 0x600a, 0x2091, 0x8000, 0x080c, 0x1db2, 0x2091, |
571 | 0xc384, 0x7a7c, 0x721a, 0x7a78, 0x721e, 0xdac4, 0x0120, 0x7a84, | 573 | 0x8001, 0x78b8, 0xa065, 0x0128, 0x609c, 0x78ba, 0x609f, 0x0000, |
572 | 0x7222, 0x7a80, 0x7226, 0xa006, 0xd384, 0x0108, 0x8000, 0x7876, | 574 | 0x0c78, 0x78b6, 0x78ba, 0x0005, 0x7970, 0x7874, 0x2818, 0xd384, |
573 | 0x70d2, 0x781c, 0xa005, 0x0138, 0x8001, 0x781e, 0x1120, 0x0e04, | 575 | 0x0118, 0x8000, 0xa112, 0x0220, 0x8000, 0xa112, 0x1278, 0xc384, |
574 | 0x205b, 0x2091, 0x4080, 0x0005, 0x2039, 0x2071, 0x0010, 0x2039, | 576 | 0x7a7c, 0x721a, 0x7a78, 0x721e, 0xdac4, 0x0120, 0x7a84, 0x7222, |
575 | 0x2077, 0x2704, 0xa005, 0x0160, 0xac00, 0x2068, 0x6908, 0x6810, | 577 | 0x7a80, 0x7226, 0xa006, 0xd384, 0x0108, 0x8000, 0x7876, 0x70d2, |
576 | 0x6912, 0x680a, 0x690c, 0x6814, 0x6916, 0x680e, 0x8738, 0x0c88, | 578 | 0x781c, 0xa005, 0x0138, 0x8001, 0x781e, 0x1120, 0x0e04, 0x2082, |
577 | 0x0005, 0x0003, 0x0009, 0x000f, 0x0015, 0x001b, 0x0000, 0x0015, | 579 | 0x2091, 0x4080, 0x0005, 0x2039, 0x2098, 0x0010, 0x2039, 0x209e, |
578 | 0x001b, 0x0000, 0x2041, 0x0000, 0x780c, 0x0002, 0x2223, 0x21fe, | 580 | 0x2704, 0xa005, 0x0160, 0xac00, 0x2068, 0x6908, 0x6810, 0x6912, |
579 | 0x2082, 0x20f2, 0x2039, 0x8e74, 0x2734, 0x7d10, 0x00c0, 0x6084, | 581 | 0x680a, 0x690c, 0x6814, 0x6916, 0x680e, 0x8738, 0x0c88, 0x0005, |
580 | 0xa086, 0x0103, 0x1904, 0x20dc, 0x6114, 0x6018, 0xa105, 0x0120, | 582 | 0x0003, 0x0009, 0x000f, 0x0015, 0x001b, 0x0000, 0x0015, 0x001b, |
581 | 0x86ff, 0x11d8, 0x0804, 0x20dc, 0x8603, 0xa080, 0x8e55, 0x620c, | 583 | 0x0000, 0x2041, 0x0000, 0x780c, 0x0002, 0x224a, 0x2225, 0x20a9, |
582 | 0x2202, 0x8000, 0x6210, 0x2202, 0x080c, 0x1db3, 0x8630, 0xa68e, | 584 | 0x2119, 0x2039, 0x8f74, 0x2734, 0x7d10, 0x00c0, 0x6084, 0xa086, |
583 | 0x000f, 0x0904, 0x215d, 0x786c, 0xa065, 0x1d08, 0x7808, 0xa602, | 585 | 0x0103, 0x1904, 0x2103, 0x6114, 0x6018, 0xa105, 0x0120, 0x86ff, |
584 | 0x1220, 0xd5ac, 0x1110, 0x263a, 0x0005, 0xa682, 0x0003, 0x1a04, | 586 | 0x11d8, 0x0804, 0x2103, 0x8603, 0xa080, 0x8f55, 0x620c, 0x2202, |
585 | 0x215d, 0x2091, 0x8000, 0x2069, 0x0000, 0x6818, 0xd084, 0x11f8, | 587 | 0x8000, 0x6210, 0x2202, 0x080c, 0x1dd0, 0x8630, 0xa68e, 0x000f, |
586 | 0x2011, 0x8e55, 0x2204, 0x70c6, 0x8210, 0x2204, 0x70ca, 0xd684, | 588 | 0x0904, 0x2184, 0x786c, 0xa065, 0x1d08, 0x7808, 0xa602, 0x1220, |
587 | 0x1130, 0x8210, 0x2204, 0x70da, 0x8210, 0x2204, 0x70de, 0xa685, | 589 | 0xd5ac, 0x1110, 0x263a, 0x0005, 0xa682, 0x0003, 0x1a04, 0x2184, |
588 | 0x8020, 0x70c2, 0x681b, 0x0001, 0x2091, 0x4080, 0x7810, 0xa084, | 590 | 0x2091, 0x8000, 0x2069, 0x0000, 0x6818, 0xd084, 0x11f8, 0x2011, |
589 | 0xffcf, 0x7812, 0x2091, 0x8001, 0x203b, 0x0000, 0x0005, 0x7810, | 591 | 0x8f55, 0x2204, 0x70c6, 0x8210, 0x2204, 0x70ca, 0xd684, 0x1130, |
590 | 0xc0ad, 0x7812, 0x0804, 0x215d, 0x263a, 0x080c, 0x2229, 0x1904, | 592 | 0x8210, 0x2204, 0x70da, 0x8210, 0x2204, 0x70de, 0xa685, 0x8020, |
591 | 0x2245, 0x786c, 0xa065, 0x1904, 0x2087, 0x2091, 0x8000, 0x7810, | 593 | 0x70c2, 0x681b, 0x0001, 0x2091, 0x4080, 0x7810, 0xa084, 0xffcf, |
592 | 0xa084, 0xffcf, 0x86ff, 0x0108, 0xc0ad, 0x7812, 0x2091, 0x8001, | 594 | 0x7812, 0x2091, 0x8001, 0x203b, 0x0000, 0x0005, 0x7810, 0xc0ad, |
593 | 0x0804, 0x2245, 0x2039, 0x8e74, 0x2734, 0x7d10, 0x00a0, 0x6084, | 595 | 0x7812, 0x0804, 0x2184, 0x263a, 0x080c, 0x2250, 0x1904, 0x226c, |
594 | 0xa086, 0x0103, 0x1904, 0x2147, 0x6114, 0x6018, 0xa105, 0x0120, | 596 | 0x786c, 0xa065, 0x1904, 0x20ae, 0x2091, 0x8000, 0x7810, 0xa084, |
595 | 0x86ff, 0x11b8, 0x0804, 0x2147, 0xa680, 0x8e55, 0x620c, 0x2202, | 597 | 0xffcf, 0x86ff, 0x0108, 0xc0ad, 0x7812, 0x2091, 0x8001, 0x0804, |
596 | 0x080c, 0x1db3, 0x8630, 0xa68e, 0x001e, 0x0904, 0x215d, 0x786c, | 598 | 0x226c, 0x2039, 0x8f74, 0x2734, 0x7d10, 0x00a0, 0x6084, 0xa086, |
597 | 0xa065, 0x1d28, 0x7808, 0xa602, 0x1220, 0xd5ac, 0x1110, 0x263a, | 599 | 0x0103, 0x1904, 0x216e, 0x6114, 0x6018, 0xa105, 0x0120, 0x86ff, |
598 | 0x0005, 0xa682, 0x0006, 0x1a04, 0x215d, 0x2091, 0x8000, 0x2069, | 600 | 0x11b8, 0x0804, 0x216e, 0xa680, 0x8f55, 0x620c, 0x2202, 0x080c, |
599 | 0x0000, 0x6818, 0xd084, 0x11f8, 0x2011, 0x8e55, 0x2009, 0x8e4e, | 601 | 0x1dd0, 0x8630, 0xa68e, 0x001e, 0x0904, 0x2184, 0x786c, 0xa065, |
600 | 0x26a8, 0x211c, 0x2204, 0x201a, 0x8108, 0x8210, 0x1f04, 0x2129, | 602 | 0x1d28, 0x7808, 0xa602, 0x1220, 0xd5ac, 0x1110, 0x263a, 0x0005, |
601 | 0xa685, 0x8030, 0x70c2, 0x681b, 0x0001, 0x2091, 0x4080, 0x7810, | 603 | 0xa682, 0x0006, 0x1a04, 0x2184, 0x2091, 0x8000, 0x2069, 0x0000, |
602 | 0xa084, 0xffcf, 0x7812, 0x2091, 0x8001, 0xa006, 0x2009, 0x8e75, | 604 | 0x6818, 0xd084, 0x11f8, 0x2011, 0x8f55, 0x2009, 0x8f4e, 0x26a8, |
603 | 0x200a, 0x203a, 0x0005, 0x7810, 0xc0ad, 0x7812, 0x00b0, 0x263a, | 605 | 0x211c, 0x2204, 0x201a, 0x8108, 0x8210, 0x1f04, 0x2150, 0xa685, |
604 | 0x080c, 0x2229, 0x1904, 0x2245, 0x786c, 0xa065, 0x1904, 0x20f7, | 606 | 0x8030, 0x70c2, 0x681b, 0x0001, 0x2091, 0x4080, 0x7810, 0xa084, |
605 | 0x2091, 0x8000, 0x7810, 0xa084, 0xffcf, 0x86ff, 0x0108, 0xc0ad, | 607 | 0xffcf, 0x7812, 0x2091, 0x8001, 0xa006, 0x2009, 0x8f75, 0x200a, |
606 | 0x7812, 0x2091, 0x8001, 0x0804, 0x2245, 0x2091, 0x8000, 0x7007, | 608 | 0x203a, 0x0005, 0x7810, 0xc0ad, 0x7812, 0x00b0, 0x263a, 0x080c, |
607 | 0x0004, 0x7994, 0x70d4, 0xa102, 0x0228, 0x0168, 0x7b90, 0xa302, | 609 | 0x2250, 0x1904, 0x226c, 0x786c, 0xa065, 0x1904, 0x211e, 0x2091, |
608 | 0x1150, 0x0010, 0x8002, 0x1138, 0x263a, 0x7810, 0xc0ad, 0x7812, | 610 | 0x8000, 0x7810, 0xa084, 0xffcf, 0x86ff, 0x0108, 0xc0ad, 0x7812, |
609 | 0x2091, 0x8001, 0x0005, 0xa184, 0xff00, 0x0140, 0x810f, 0x810c, | 611 | 0x2091, 0x8001, 0x0804, 0x226c, 0x2091, 0x8000, 0x7007, 0x0004, |
610 | 0x810c, 0x8004, 0x8004, 0x8007, 0xa100, 0x0018, 0x8107, 0x8004, | 612 | 0x7994, 0x70d4, 0xa102, 0x0228, 0x0168, 0x7b90, 0xa302, 0x1150, |
611 | 0x8004, 0x7a9c, 0xa210, 0x721a, 0x7a98, 0xa006, 0xa211, 0x721e, | 613 | 0x0010, 0x8002, 0x1138, 0x263a, 0x7810, 0xc0ad, 0x7812, 0x2091, |
612 | 0xd4c4, 0x0130, 0x7aa4, 0xa211, 0x7222, 0x7aa0, 0xa211, 0x7226, | 614 | 0x8001, 0x0005, 0xa184, 0xff00, 0x0140, 0x810f, 0x810c, 0x810c, |
613 | 0x20a1, 0x0030, 0x7003, 0x0000, 0x2009, 0x8e54, 0x260a, 0x8109, | 615 | 0x8004, 0x8004, 0x8007, 0xa100, 0x0018, 0x8107, 0x8004, 0x8004, |
614 | 0x2198, 0x2104, 0xd084, 0x0108, 0x8633, 0xa6b0, 0x0002, 0x26a8, | 616 | 0x7a9c, 0xa210, 0x721a, 0x7a98, 0xa006, 0xa211, 0x721e, 0xd4c4, |
615 | 0x53a6, 0x8603, 0x7012, 0x7007, 0x0001, 0x7990, 0x7894, 0x8000, | 617 | 0x0130, 0x7aa4, 0xa211, 0x7222, 0x7aa0, 0xa211, 0x7226, 0x20a1, |
616 | 0xa10a, 0x1208, 0xa006, 0x2028, 0x7974, 0xa184, 0xff00, 0x0140, | 618 | 0x0030, 0x7003, 0x0000, 0x2009, 0x8f54, 0x260a, 0x8109, 0x2198, |
617 | 0x810f, 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, 0xa100, 0x0018, | 619 | 0x2104, 0xd084, 0x0108, 0x8633, 0xa6b0, 0x0002, 0x26a8, 0x53a6, |
618 | 0x8107, 0x8004, 0x8004, 0x797c, 0xa108, 0x7a78, 0xa006, 0xa211, | 620 | 0x8603, 0x7012, 0x7007, 0x0001, 0x7990, 0x7894, 0x8000, 0xa10a, |
619 | 0xd4c4, 0x0120, 0x7b84, 0xa319, 0x7c80, 0xa421, 0x7008, 0xd0fc, | 621 | 0x1208, 0xa006, 0x2028, 0x7974, 0xa184, 0xff00, 0x0140, 0x810f, |
620 | 0x0de8, 0xa084, 0x01e0, 0x01d0, 0x7d10, 0x2031, 0x8e54, 0x2634, | 622 | 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, 0xa100, 0x0018, 0x8107, |
621 | 0x78a8, 0x8000, 0x78aa, 0xd08c, 0x1138, 0x7007, 0x0006, 0x7004, | 623 | 0x8004, 0x8004, 0x797c, 0xa108, 0x7a78, 0xa006, 0xa211, 0xd4c4, |
622 | 0xd094, 0x1de8, 0x0804, 0x215f, 0x2069, 0x4647, 0x206b, 0x0003, | 624 | 0x0120, 0x7b84, 0xa319, 0x7c80, 0xa421, 0x7008, 0xd0fc, 0x0de8, |
623 | 0x78ac, 0xa085, 0x0300, 0x78ae, 0xa006, 0x0048, 0x2030, 0x75d6, | 625 | 0xa084, 0x01e0, 0x01d0, 0x7d10, 0x2031, 0x8f54, 0x2634, 0x78a8, |
624 | 0x2091, 0x4080, 0x7d96, 0x7d10, 0xa5ac, 0xffcf, 0x7d12, 0x2091, | 626 | 0x8000, 0x78aa, 0xd08c, 0x1138, 0x7007, 0x0006, 0x7004, 0xd094, |
625 | 0x8001, 0x78aa, 0x7007, 0x0006, 0x263a, 0x7003, 0x0001, 0x711a, | 627 | 0x1de8, 0x0804, 0x2186, 0x2069, 0x4747, 0x206b, 0x0003, 0x78ac, |
626 | 0x721e, 0xd5c4, 0x0110, 0x7322, 0x7426, 0x0005, 0x6084, 0xa086, | 628 | 0xa085, 0x0300, 0x78ae, 0xa006, 0x0048, 0x2030, 0x75d6, 0x2091, |
627 | 0x0103, 0x11d8, 0x6114, 0x6018, 0xa105, 0x11b8, 0x2069, 0x0000, | 629 | 0x4080, 0x7d96, 0x7d10, 0xa5ac, 0xffcf, 0x7d12, 0x2091, 0x8001, |
628 | 0x6818, 0xd084, 0x1190, 0x600c, 0x70c6, 0x6010, 0x70ca, 0x70c3, | 630 | 0x78aa, 0x7007, 0x0006, 0x263a, 0x7003, 0x0001, 0x711a, 0x721e, |
629 | 0x8020, 0x681b, 0x0001, 0x2091, 0x4080, 0x080c, 0x1db3, 0x0e04, | 631 | 0xd5c4, 0x0110, 0x7322, 0x7426, 0x0005, 0x6084, 0xa086, 0x0103, |
630 | 0x221c, 0x786c, 0xa065, 0x1d10, 0x0005, 0x0059, 0x1530, 0x786c, | 632 | 0x11d8, 0x6114, 0x6018, 0xa105, 0x11b8, 0x2069, 0x0000, 0x6818, |
631 | 0xa065, 0x19e0, 0x0410, 0x0029, 0x1500, 0x786c, 0xa065, 0x1dd8, | 633 | 0xd084, 0x1190, 0x600c, 0x70c6, 0x6010, 0x70ca, 0x70c3, 0x8020, |
632 | 0x00e0, 0x6084, 0xa086, 0x0103, 0x1168, 0x6018, 0xc0fc, 0x601a, | 634 | 0x681b, 0x0001, 0x2091, 0x4080, 0x080c, 0x1dd0, 0x0e04, 0x2243, |
633 | 0xa086, 0x0004, 0x1138, 0x7804, 0xd0a4, 0x0120, 0x080c, 0x1db3, | 635 | 0x786c, 0xa065, 0x1d10, 0x0005, 0x0059, 0x1530, 0x786c, 0xa065, |
634 | 0xa006, 0x0005, 0x0079, 0x1118, 0xa085, 0x0001, 0x0005, 0x00b9, | 636 | 0x19e0, 0x0410, 0x0029, 0x1500, 0x786c, 0xa065, 0x1dd8, 0x00e0, |
635 | 0x1110, 0x2041, 0x0001, 0x7d10, 0x0005, 0x88ff, 0x0110, 0x2091, | 637 | 0x6084, 0xa086, 0x0103, 0x1168, 0x6018, 0xc0fc, 0x601a, 0xa086, |
636 | 0x4080, 0x0005, 0x7b90, 0x7994, 0x70d4, 0xa102, 0x1118, 0xa385, | 638 | 0x0004, 0x1138, 0x7804, 0xd0a4, 0x0120, 0x080c, 0x1dd0, 0xa006, |
637 | 0x0000, 0x0005, 0x0210, 0xa302, 0x0005, 0x8002, 0x0005, 0xa184, | 639 | 0x0005, 0x0079, 0x1118, 0xa085, 0x0001, 0x0005, 0x00b9, 0x1110, |
638 | 0xff00, 0x0140, 0x810f, 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, | 640 | 0x2041, 0x0001, 0x7d10, 0x0005, 0x88ff, 0x0110, 0x2091, 0x4080, |
639 | 0xa100, 0x0018, 0x8107, 0x8004, 0x8004, 0x7a9c, 0x7b98, 0x7ca4, | 641 | 0x0005, 0x7b90, 0x7994, 0x70d4, 0xa102, 0x1118, 0xa385, 0x0000, |
640 | 0x7da0, 0xa210, 0xa006, 0xa319, 0xa421, 0xa529, 0x2009, 0x0018, | 642 | 0x0005, 0x0210, 0xa302, 0x0005, 0x8002, 0x0005, 0xa184, 0xff00, |
641 | 0x6028, 0xa005, 0x0110, 0x2009, 0x0040, 0x080c, 0x1b15, 0x01d0, | 643 | 0x0140, 0x810f, 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, 0xa100, |
642 | 0x78a8, 0x8000, 0x78aa, 0xd08c, 0x1510, 0x6014, 0xd0fc, 0x1118, | 644 | 0x0018, 0x8107, 0x8004, 0x8004, 0x7a9c, 0x7b98, 0x7ca4, 0x7da0, |
643 | 0x2069, 0x4640, 0x0010, 0x2069, 0x4680, 0x2091, 0x8000, 0x681f, | 645 | 0xa210, 0xa006, 0xa319, 0xa421, 0xa529, 0x2009, 0x0018, 0x6028, |
644 | 0x0003, 0x78ab, 0x0000, 0x78ac, 0xa085, 0x0300, 0x78ae, 0x2091, | 646 | 0xa005, 0x0110, 0x2009, 0x0040, 0x080c, 0x1b34, 0x01d0, 0x78a8, |
645 | 0x8001, 0x0068, 0x78ab, 0x0000, 0x080c, 0x1db3, 0x7990, 0x7894, | 647 | 0x8000, 0x78aa, 0xd08c, 0x1510, 0x6014, 0xd0fc, 0x1118, 0x2069, |
646 | 0x8000, 0xa10a, 0x1208, 0xa006, 0x7896, 0x70d6, 0xa006, 0x2071, | 648 | 0x4740, 0x0010, 0x2069, 0x4780, 0x2091, 0x8000, 0x681f, 0x0003, |
647 | 0x0010, 0x2091, 0x8001, 0x0005, 0xd7fc, 0x1118, 0x2009, 0x4658, | 649 | 0x78ab, 0x0000, 0x78ac, 0xa085, 0x0300, 0x78ae, 0x2091, 0x8001, |
648 | 0x0010, 0x2009, 0x4698, 0x2091, 0x8000, 0x200a, 0x00f6, 0x2009, | 650 | 0x0068, 0x78ab, 0x0000, 0x080c, 0x1dd0, 0x7990, 0x7894, 0x8000, |
649 | 0x4680, 0x2079, 0x0100, 0xd7fc, 0x1120, 0x2009, 0x4640, 0x2079, | 651 | 0xa10a, 0x1208, 0xa006, 0x7896, 0x70d6, 0xa006, 0x2071, 0x0010, |
650 | 0x0200, 0x2104, 0xa086, 0x0000, 0x1180, 0xd7fc, 0x1118, 0x2009, | 652 | 0x2091, 0x8001, 0x0005, 0xd7fc, 0x1118, 0x2009, 0x4758, 0x0010, |
651 | 0x4645, 0x0010, 0x2009, 0x4685, 0x2104, 0xa005, 0x1130, 0x7830, | 653 | 0x2009, 0x4798, 0x2091, 0x8000, 0x200a, 0x00f6, 0x2009, 0x4780, |
652 | 0xa084, 0x00c0, 0x1110, 0x781b, 0x0052, 0x00fe, 0x0005, 0x2009, | 654 | 0x2079, 0x0100, 0xd7fc, 0x1120, 0x2009, 0x4740, 0x2079, 0x0200, |
653 | 0x0002, 0x2069, 0x4600, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, | 655 | 0x2104, 0xa086, 0x0000, 0x1180, 0xd7fc, 0x1118, 0x2009, 0x4745, |
654 | 0x2324, 0x2071, 0x4680, 0x2079, 0x0100, 0x2021, 0x48bf, 0x784b, | 656 | 0x0010, 0x2009, 0x4785, 0x2104, 0xa005, 0x1130, 0x7830, 0xa084, |
655 | 0x000f, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x0118, 0x2019, 0x3e0f, | 657 | 0x00c0, 0x1110, 0x781b, 0x0052, 0x00fe, 0x0005, 0x2009, 0x0002, |
656 | 0x0030, 0x20a1, 0x012b, 0x2019, 0x3e0f, 0xd184, 0x0110, 0x20a1, | 658 | 0x2069, 0x4700, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1904, 0x234b, |
657 | 0x022b, 0x2304, 0xa005, 0x0140, 0x789a, 0x8318, 0x23ac, 0x8318, | 659 | 0x2071, 0x4780, 0x2079, 0x0100, 0x2021, 0x49bf, 0x784b, 0x000f, |
658 | 0x2398, 0x53a6, 0x3318, 0x0ca8, 0x789b, 0x0000, 0x789b, 0x0020, | 660 | 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x0118, 0x2019, 0x3e37, 0x0030, |
659 | 0x20a9, 0x0010, 0x78af, 0x0000, 0x78af, 0x2020, 0x1f04, 0x2302, | 661 | 0x20a1, 0x012b, 0x2019, 0x3e37, 0xd184, 0x0110, 0x20a1, 0x022b, |
660 | 0x7003, 0x0000, 0x0016, 0xd18c, 0x2009, 0x0000, 0x0108, 0xc1bd, | 662 | 0x2304, 0xa005, 0x0140, 0x789a, 0x8318, 0x23ac, 0x8318, 0x2398, |
661 | 0x080c, 0x2443, 0x001e, 0x7020, 0xa084, 0x000f, 0xa085, 0x6300, | 663 | 0x53a6, 0x3318, 0x0ca8, 0x789b, 0x0000, 0x789b, 0x0020, 0x20a9, |
662 | 0x7806, 0x780f, 0x9000, 0x7843, 0x00d8, 0x7853, 0x0090, 0x780b, | 664 | 0x0010, 0x78af, 0x0000, 0x78af, 0x2020, 0x1f04, 0x2329, 0x7003, |
663 | 0x2f08, 0x7452, 0x704f, 0x0000, 0x8109, 0x0140, 0x2071, 0x4640, | 665 | 0x0000, 0x0016, 0xd18c, 0x2009, 0x0000, 0x0108, 0xc1bd, 0x080c, |
664 | 0x2079, 0x0200, 0x2021, 0x46bf, 0x0804, 0x22df, 0x080c, 0x24fd, | 666 | 0x246c, 0x001e, 0x7020, 0xa084, 0x000f, 0xa085, 0x6300, 0x7806, |
665 | 0x0005, 0x0016, 0x2011, 0x0101, 0xd1bc, 0x1110, 0x2011, 0x0201, | 667 | 0x780f, 0x9000, 0x7843, 0x00d8, 0x7853, 0x0090, 0x780b, 0x2f08, |
666 | 0xa18c, 0x000f, 0x2204, 0xa084, 0xfff0, 0xa105, 0x2012, 0x001e, | 668 | 0x7452, 0x704f, 0x0000, 0x8109, 0x0140, 0x2071, 0x4740, 0x2079, |
667 | 0x080c, 0x2443, 0x0005, 0x2011, 0x0101, 0xd3fc, 0x1110, 0x2011, | 669 | 0x0200, 0x2021, 0x47bf, 0x0804, 0x2306, 0x080c, 0x2526, 0x0005, |
668 | 0x0201, 0x20a9, 0x0009, 0x810b, 0x1f04, 0x234b, 0xa18c, 0x0e00, | 670 | 0x0016, 0x2011, 0x0101, 0xd1bc, 0x1110, 0x2011, 0x0201, 0xa18c, |
669 | 0x2204, 0xa084, 0xf1ff, 0xa105, 0x2012, 0x0005, 0x2019, 0x0002, | 671 | 0x000f, 0x2204, 0xa084, 0xfff0, 0xa105, 0x2012, 0x001e, 0x080c, |
670 | 0x2009, 0x0101, 0x20a9, 0x0005, 0x8213, 0x1f04, 0x235c, 0xa294, | 672 | 0x246c, 0x0005, 0x2011, 0x0101, 0xd3fc, 0x1110, 0x2011, 0x0201, |
671 | 0x00e0, 0x2104, 0xa084, 0xff1f, 0xa205, 0x200a, 0x8319, 0x0118, | 673 | 0x20a9, 0x0009, 0x810b, 0x1f04, 0x2372, 0xa18c, 0x0e00, 0x2204, |
672 | 0x2009, 0x0201, 0x0c78, 0x0005, 0x2011, 0x0101, 0xd3fc, 0x1110, | 674 | 0xa084, 0xf1ff, 0xa105, 0x2012, 0x0005, 0x2019, 0x0002, 0x2009, |
673 | 0x2011, 0x0201, 0x20a9, 0x000c, 0x810b, 0x1f04, 0x2374, 0xa18c, | 675 | 0x0101, 0x20a9, 0x0005, 0x8213, 0x1f04, 0x2383, 0xa294, 0x00e0, |
674 | 0xf000, 0x2204, 0xa084, 0x0fff, 0xa105, 0x2012, 0x0005, 0x2011, | 676 | 0x2104, 0xa084, 0xff1f, 0xa205, 0x200a, 0x8319, 0x0118, 0x2009, |
675 | 0x0102, 0xd3fc, 0x1110, 0x2011, 0x0202, 0x2204, 0xa084, 0xf0cf, | 677 | 0x0201, 0x0c78, 0x0005, 0x2011, 0x0101, 0xd3fc, 0x1110, 0x2011, |
676 | 0xa105, 0x2012, 0x0005, 0x00c6, 0x2061, 0x0100, 0xd1bc, 0x1110, | 678 | 0x0201, 0x20a9, 0x000c, 0x810b, 0x1f04, 0x239b, 0xa18c, 0xf000, |
677 | 0x2061, 0x0200, 0xc1bc, 0x8103, 0x8003, 0xa080, 0x0020, 0x609a, | 679 | 0x2204, 0xa084, 0x0fff, 0xa105, 0x2012, 0x0005, 0x2011, 0x0102, |
678 | 0x62ac, 0x63ac, 0x00ce, 0x0005, 0x00c6, 0x2061, 0x0100, 0xd1bc, | 680 | 0xd3fc, 0x1110, 0x2011, 0x0202, 0x2204, 0xa09c, 0x0f30, 0xa084, |
679 | 0x1110, 0x2061, 0x0200, 0xc1bc, 0x8103, 0x8003, 0xa080, 0x0022, | 681 | 0xf0cf, 0xa105, 0x2012, 0x0005, 0x00c6, 0x2061, 0x0100, 0xd1bc, |
680 | 0x609a, 0x60a4, 0xa084, 0xffdf, 0x60ae, 0x00ce, 0x0005, 0x00c6, | 682 | 0x1110, 0x2061, 0x0200, 0xc1bc, 0x8103, 0x8003, 0xa080, 0x0020, |
681 | 0x2061, 0x0100, 0xd1bc, 0x1110, 0x2061, 0x0200, 0xc1bc, 0x8103, | 683 | 0x609a, 0x62ac, 0x63ac, 0x00ce, 0x0005, 0x00c6, 0x2061, 0x0100, |
682 | 0x8003, 0xa080, 0x0020, 0x609a, 0x60a4, 0xa28c, 0x0020, 0x0118, | 684 | 0xd1bc, 0x1110, 0x2061, 0x0200, 0xc1bc, 0x8103, 0x8003, 0xa080, |
683 | 0xc2ac, 0xa39d, 0x4000, 0xc3ec, 0xd3b4, 0x1108, 0xc3ed, 0x62ae, | 685 | 0x0022, 0x609a, 0x60a4, 0xa084, 0xffdf, 0x60ae, 0x00ce, 0x0005, |
684 | 0x2010, 0x60a4, 0x63ae, 0x2018, 0x00ce, 0x0005, 0x2091, 0x8000, | 686 | 0x00c6, 0x2061, 0x0100, 0xd1bc, 0x1110, 0x2061, 0x0200, 0xc1bc, |
685 | 0x00c6, 0x00e6, 0x6818, 0xa005, 0x0904, 0x2427, 0xd1fc, 0x0118, | 687 | 0x8103, 0x8003, 0xa080, 0x0020, 0x609a, 0x60a4, 0xa28c, 0x0020, |
686 | 0x2061, 0x8dd0, 0x0010, 0x2061, 0x8cc0, 0x080c, 0x242f, 0x0560, | 688 | 0x0118, 0xc2ac, 0xa39d, 0x4000, 0xc3ec, 0xd3b4, 0x1108, 0xc3ed, |
687 | 0x20a9, 0x0101, 0xd1fc, 0x0118, 0x2061, 0x8cd0, 0x0010, 0x2061, | 689 | 0x62ae, 0x2010, 0x60a4, 0x63ae, 0x2018, 0x00ce, 0x0005, 0x2091, |
688 | 0x8bc0, 0x00c6, 0x080c, 0x242f, 0x0128, 0x00ce, 0x8c60, 0x1f04, | 690 | 0x8000, 0x00c6, 0x00e6, 0x6818, 0xa005, 0x0904, 0x2450, 0xd1fc, |
689 | 0x23e9, 0x04a8, 0x000e, 0xd1fc, 0x0128, 0xa082, 0x8cd0, 0x2071, | 691 | 0x0118, 0x2061, 0x8ed0, 0x0010, 0x2061, 0x8dc0, 0x080c, 0x2458, |
690 | 0x4680, 0x0020, 0xa082, 0x8bc0, 0x2071, 0x4640, 0x7076, 0x7172, | 692 | 0x0560, 0x20a9, 0x0101, 0xd1fc, 0x0118, 0x2061, 0x8dd0, 0x0010, |
691 | 0x2138, 0x2001, 0x0004, 0x7062, 0x707f, 0x000f, 0x71d0, 0xc1c4, | 693 | 0x2061, 0x8cc0, 0x00c6, 0x080c, 0x2458, 0x0128, 0x00ce, 0x8c60, |
692 | 0x71d2, 0x080c, 0x22a4, 0x00c0, 0xd1fc, 0x1118, 0x2071, 0x4640, | 694 | 0x1f04, 0x2412, 0x04a8, 0x000e, 0xd1fc, 0x0128, 0xa082, 0x8dd0, |
693 | 0x0010, 0x2071, 0x4680, 0x6020, 0xc0dd, 0x6022, 0x7172, 0x2138, | 695 | 0x2071, 0x4780, 0x0020, 0xa082, 0x8cc0, 0x2071, 0x4740, 0x7076, |
694 | 0x2c00, 0x707a, 0x2001, 0x0006, 0x7062, 0x707f, 0x000f, 0x71d0, | 696 | 0x7172, 0x2138, 0x2001, 0x0004, 0x7062, 0x707f, 0x000f, 0x71d0, |
695 | 0xc1c4, 0x71d2, 0x080c, 0x22a4, 0x2001, 0x0000, 0x0010, 0x2001, | 697 | 0xc1c4, 0x71d2, 0x080c, 0x22cb, 0x00c0, 0xd1fc, 0x1118, 0x2071, |
696 | 0x0001, 0x2091, 0x8001, 0xa005, 0x00ee, 0x00ce, 0x0005, 0x2c04, | 698 | 0x4740, 0x0010, 0x2071, 0x4780, 0x6020, 0xc0dd, 0x6022, 0x7172, |
697 | 0xa005, 0x0170, 0x2060, 0x6010, 0xa306, 0x1140, 0x600c, 0xa206, | 699 | 0x2138, 0x2c00, 0x707a, 0x2001, 0x0006, 0x7062, 0x707f, 0x000f, |
698 | 0x1128, 0x6014, 0xa106, 0x1110, 0xa006, 0x0020, 0x6000, 0x0c80, | 700 | 0x71d0, 0xc1c4, 0x71d2, 0x080c, 0x22cb, 0x2001, 0x0000, 0x0010, |
699 | 0xa085, 0x0001, 0x0005, 0x00f6, 0x00e6, 0x0016, 0x2079, 0x4680, | 701 | 0x2001, 0x0001, 0x2091, 0x8001, 0xa005, 0x00ee, 0x00ce, 0x0005, |
700 | 0x2071, 0x0100, 0xd1bc, 0x1120, 0x2079, 0x4640, 0x2071, 0x0200, | 702 | 0x2c04, 0xa005, 0x0170, 0x2060, 0x6010, 0xa306, 0x1140, 0x600c, |
701 | 0x7920, 0xa18c, 0x000f, 0x70ec, 0xd0c4, 0x1110, 0x001e, 0x0060, | 703 | 0xa206, 0x1128, 0x6014, 0xa106, 0x1110, 0xa006, 0x0020, 0x6000, |
702 | 0x810b, 0x810b, 0x810b, 0x810b, 0x000e, 0xa18d, 0x0800, 0xd0bc, | 704 | 0x0c80, 0xa085, 0x0001, 0x0005, 0x00f6, 0x00e6, 0x0016, 0x2079, |
703 | 0x1110, 0xa18d, 0x0f00, 0x2104, 0x00ee, 0x00fe, 0x0005, 0x2001, | 705 | 0x4780, 0x2071, 0x0100, 0xd1bc, 0x1120, 0x2079, 0x4740, 0x2071, |
704 | 0x4601, 0x2004, 0xd0ac, 0x1138, 0x68e4, 0xd0ac, 0x0120, 0xa084, | 706 | 0x0200, 0x7920, 0xa18c, 0x000f, 0x70ec, 0xd0c4, 0x1110, 0x001e, |
705 | 0x0006, 0x1108, 0x0009, 0x0005, 0x6014, 0x00e6, 0x0036, 0x2018, | 707 | 0x0060, 0x810b, 0x810b, 0x810b, 0x810b, 0x000e, 0xa18d, 0x0800, |
706 | 0x2071, 0x4b40, 0xd0fc, 0x1110, 0x2071, 0x4ac0, 0x8007, 0xa084, | 708 | 0xd0bc, 0x1110, 0xa18d, 0x0f00, 0x2104, 0x00ee, 0x00fe, 0x0005, |
707 | 0x000f, 0x8003, 0x8003, 0x8003, 0xae70, 0x7004, 0xa084, 0x000a, | 709 | 0x2001, 0x4701, 0x2004, 0xd0ac, 0x1138, 0x68e4, 0xd0ac, 0x0120, |
708 | 0x1904, 0x24fa, 0x7108, 0xa194, 0xff00, 0x0904, 0x24fa, 0xa18c, | 710 | 0xa084, 0x0006, 0x1108, 0x0009, 0x0005, 0x6014, 0x00e6, 0x0036, |
709 | 0x00ff, 0x701c, 0xa084, 0xff00, 0x01c0, 0x7004, 0xa085, 0x003a, | 711 | 0x2018, 0x2071, 0x4c40, 0xd0fc, 0x1110, 0x2071, 0x4bc0, 0x8007, |
710 | 0x7006, 0x2001, 0x0009, 0xa102, 0x16d8, 0x2001, 0x000a, 0xa102, | 712 | 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xae70, 0x7004, 0xa084, |
711 | 0x16d0, 0x2001, 0x000c, 0xa102, 0x16c8, 0x701c, 0xa084, 0x00ff, | 713 | 0x000a, 0x1904, 0x2523, 0x7108, 0xa194, 0xff00, 0x0904, 0x2523, |
712 | 0x701e, 0x7004, 0xa084, 0xffdf, 0x7006, 0x2001, 0x000a, 0xa106, | 714 | 0xa18c, 0x00ff, 0x701c, 0xa084, 0xff00, 0x01c0, 0x7004, 0xa085, |
713 | 0x01a8, 0x2001, 0x000c, 0xa106, 0x01a0, 0x2001, 0x0012, 0xa106, | 715 | 0x003a, 0x7006, 0x2001, 0x0009, 0xa102, 0x16d8, 0x2001, 0x000a, |
714 | 0x0198, 0x2001, 0x0014, 0xa106, 0x0190, 0x2001, 0x0019, 0xa106, | 716 | 0xa102, 0x16d0, 0x2001, 0x000c, 0xa102, 0x16c8, 0x701c, 0xa084, |
715 | 0x0188, 0x2001, 0x0032, 0xa106, 0x0180, 0x00d8, 0x2009, 0x000c, | 717 | 0x00ff, 0x701e, 0x7004, 0xa084, 0xffdf, 0x7006, 0x2001, 0x000a, |
716 | 0x00d0, 0x2009, 0x0012, 0x00b8, 0x2009, 0x0014, 0x00a0, 0x2009, | 718 | 0xa106, 0x01a8, 0x2001, 0x000c, 0xa106, 0x01a0, 0x2001, 0x0012, |
717 | 0x0019, 0x0088, 0x2009, 0x0020, 0x0070, 0x2009, 0x003f, 0x0058, | 719 | 0xa106, 0x0198, 0x2001, 0x0014, 0xa106, 0x0190, 0x2001, 0x0019, |
718 | 0x2009, 0x000a, 0x0040, 0x2009, 0x000c, 0x0028, 0x2009, 0x0019, | 720 | 0xa106, 0x0188, 0x2001, 0x0032, 0xa106, 0x0180, 0x00d8, 0x2009, |
719 | 0x0010, 0x2011, 0x0000, 0x2100, 0xa205, 0x700a, 0x7004, 0xa085, | 721 | 0x000c, 0x00d0, 0x2009, 0x0012, 0x00b8, 0x2009, 0x0014, 0x00a0, |
720 | 0x000a, 0x7006, 0x2071, 0x4600, 0x7004, 0xd0bc, 0x0158, 0xd3fc, | 722 | 0x2009, 0x0019, 0x0088, 0x2009, 0x0020, 0x0070, 0x2009, 0x003f, |
721 | 0x1120, 0x73ea, 0x2071, 0x4640, 0x0018, 0x73ee, 0x2071, 0x4680, | 723 | 0x0058, 0x2009, 0x000a, 0x0040, 0x2009, 0x000c, 0x0028, 0x2009, |
722 | 0x701f, 0x000d, 0x003e, 0x00ee, 0x0005, 0x2001, 0x01ff, 0x2004, | 724 | 0x0019, 0x0010, 0x2011, 0x0000, 0x2100, 0xa205, 0x700a, 0x7004, |
723 | 0xd0fc, 0x11d0, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, 0x12a0, | 725 | 0xa085, 0x000a, 0x7006, 0x2071, 0x4700, 0x7004, 0xd0bc, 0x0158, |
724 | 0x2071, 0x0200, 0x71ec, 0xa18c, 0x1c00, 0x810f, 0x810c, 0x810c, | 726 | 0xd3fc, 0x1120, 0x73ea, 0x2071, 0x4740, 0x0018, 0x73ee, 0x2071, |
725 | 0x2079, 0x0100, 0x78ec, 0xa084, 0x1c00, 0x8007, 0x8004, 0x8004, | 727 | 0x4780, 0x701f, 0x000d, 0x003e, 0x00ee, 0x0005, 0x2001, 0x01ff, |
726 | 0xa105, 0xa08a, 0x0007, 0x0208, 0x0005, 0x0002, 0x254b, 0x2532, | 728 | 0x2004, 0xd0fc, 0x11d0, 0x2001, 0x04fd, 0x2004, 0xa082, 0x0005, |
727 | 0x254b, 0x2532, 0x2525, 0x253f, 0x2525, 0x7008, 0xa084, 0xc3ff, | 729 | 0x12a0, 0x2071, 0x0200, 0x71ec, 0xa18c, 0x1c00, 0x810f, 0x810c, |
728 | 0xa085, 0x3000, 0x700a, 0x7808, 0xa084, 0xc3ff, 0xa085, 0x3000, | 730 | 0x810c, 0x2079, 0x0100, 0x78ec, 0xa084, 0x1c00, 0x8007, 0x8004, |
729 | 0x780a, 0x0005, 0x7008, 0xa084, 0xc3ff, 0xa085, 0x2000, 0x700a, | 731 | 0x8004, 0xa105, 0xa08a, 0x0007, 0x0208, 0x0005, 0x0002, 0x2574, |
730 | 0x7808, 0xa084, 0xc3ff, 0xa085, 0x2000, 0x780a, 0x0005, 0x7008, | 732 | 0x255b, 0x2574, 0x255b, 0x254e, 0x2568, 0x254e, 0x7008, 0xa084, |
731 | 0xa084, 0xc3ff, 0xa085, 0x0c00, 0x700a, 0x7808, 0xa084, 0xc3ff, | 733 | 0xc3ff, 0xa085, 0x3000, 0x700a, 0x7808, 0xa084, 0xc3ff, 0xa085, |
732 | 0xa085, 0x0c00, 0x780a, 0x0005, 0x0e04, 0x254c, 0x2091, 0x8000, | 734 | 0x3000, 0x780a, 0x0005, 0x7008, 0xa084, 0xc3ff, 0xa085, 0x2000, |
733 | 0x2071, 0x0000, 0x0006, 0x7018, 0xd084, 0x1de8, 0x000e, 0x2071, | 735 | 0x700a, 0x7808, 0xa084, 0xc3ff, 0xa085, 0x2000, 0x780a, 0x0005, |
734 | 0x0010, 0x70ca, 0x000e, 0x70c6, 0x70c3, 0x8002, 0x70db, 0x0a04, | 736 | 0x7008, 0xa084, 0xc3ff, 0xa085, 0x0c00, 0x700a, 0x7808, 0xa084, |
735 | 0x70df, 0x0020, 0x2071, 0x0000, 0x701b, 0x0001, 0x2091, 0x4080, | 737 | 0xc3ff, 0xa085, 0x0c00, 0x780a, 0x0005, 0x0e04, 0x2575, 0x2091, |
736 | 0x0cf8, 0x7f3c, 0x7e58, 0x7c30, 0x7d38, 0x78a0, 0x708a, 0x758e, | 738 | 0x8000, 0x2071, 0x0000, 0x0006, 0x7018, 0xd084, 0x1de8, 0x000e, |
737 | 0x7492, 0x7696, 0x779a, 0xa594, 0x003f, 0xd4f4, 0x0138, 0xd7bc, | 739 | 0x2071, 0x0010, 0x70ca, 0x000e, 0x70c6, 0x70c3, 0x8002, 0x70db, |
738 | 0x1128, 0xa784, 0x007d, 0x1904, 0x3c74, 0x0871, 0xa49c, 0x000f, | 740 | 0x0a04, 0x70df, 0x002a, 0x2071, 0x0000, 0x701b, 0x0001, 0x2091, |
739 | 0xa382, 0x0004, 0x0320, 0xa3a6, 0x0007, 0x1930, 0x2418, 0x8507, | 741 | 0x4080, 0x0cf8, 0x7f3c, 0x7e58, 0x7c30, 0x7d38, 0x78a0, 0x708a, |
740 | 0xa084, 0x000f, 0x0002, 0x2b49, 0x2c34, 0x2c72, 0x2ed8, 0x3256, | 742 | 0x758e, 0x7492, 0x7696, 0x779a, 0xa594, 0x003f, 0xd4f4, 0x0138, |
741 | 0x32ad, 0x3353, 0x33e2, 0x34b6, 0x3588, 0x259e, 0x259b, 0x2970, | 743 | 0xd7bc, 0x1128, 0xa784, 0x007d, 0x1904, 0x3c9c, 0x0871, 0xa49c, |
742 | 0x2a56, 0x322a, 0x259b, 0x080c, 0x254c, 0x0005, 0xa006, 0x0038, | 744 | 0x000f, 0xa382, 0x0004, 0x0320, 0xa3a6, 0x0007, 0x1930, 0x2418, |
743 | 0x7808, 0xc08d, 0x780a, 0xa006, 0x7002, 0x704a, 0x7042, 0x70ce, | 745 | 0x8507, 0xa084, 0x000f, 0x0002, 0x2b6c, 0x2c57, 0x2c95, 0x2efb, |
744 | 0x705c, 0xa005, 0x1904, 0x26ec, 0x7060, 0xa084, 0x0007, 0x0002, | 746 | 0x3279, 0x32d0, 0x3376, 0x3405, 0x34d9, 0x35ab, 0x25c7, 0x25c4, |
745 | 0x25b8, 0x2626, 0x262e, 0x2637, 0x2640, 0x26d2, 0x2649, 0x2626, | 747 | 0x299e, 0x2a85, 0x324d, 0x25c4, 0x080c, 0x2575, 0x0005, 0xa006, |
746 | 0x7830, 0xd0bc, 0x1d10, 0x71d0, 0xd1bc, 0x19f8, 0xd1b4, 0x1904, | 748 | 0x0038, 0x7808, 0xc08d, 0x780a, 0xa006, 0x7002, 0x704a, 0x7042, |
747 | 0x2603, 0x70a0, 0xa086, 0x0001, 0x09c0, 0x70b0, 0xa06d, 0x6800, | 749 | 0x70ce, 0x705c, 0xa005, 0x1904, 0x2718, 0x7060, 0xa084, 0x0007, |
748 | 0xa065, 0xa055, 0x789b, 0x0080, 0x6b0c, 0x7baa, 0x6808, 0xa045, | 750 | 0x0002, 0x25e1, 0x2652, 0x265a, 0x2663, 0x266c, 0x26fe, 0x2675, |
749 | 0x6d10, 0x6804, 0xa06d, 0xa05d, 0xa886, 0x0001, 0x0118, 0x69bc, | 751 | 0x2652, 0x7830, 0xd0bc, 0x1d10, 0x71d0, 0xd1bc, 0x19f8, 0xd1b4, |
750 | 0x7daa, 0x79aa, 0x68c0, 0xa04d, 0x6e1c, 0x2001, 0x0010, 0x0804, | 752 | 0x1904, 0x262f, 0x70a0, 0xa086, 0x0001, 0x09c0, 0x7014, 0xa005, |
751 | 0x281f, 0x705c, 0xa005, 0x1904, 0x259d, 0x00c6, 0x00d6, 0x70b0, | 753 | 0x19a8, 0x70b0, 0xa06d, 0x6800, 0xa065, 0xa055, 0x789b, 0x0080, |
752 | 0xa06d, 0x6800, 0xa065, 0xa055, 0x789b, 0x0080, 0x6b0c, 0x7baa, | 754 | 0x6b0c, 0x7baa, 0x6808, 0xa045, 0x6d10, 0x6804, 0xa06d, 0xa05d, |
753 | 0x6808, 0xa045, 0x6d10, 0x6804, 0xa06d, 0xa05d, 0xa886, 0x0001, | 755 | 0xa886, 0x0001, 0x0118, 0x69bc, 0x7daa, 0x79aa, 0x68c0, 0xa04d, |
754 | 0x0118, 0x69bc, 0x7daa, 0x79aa, 0x68c0, 0xa04d, 0x6e1c, 0x2001, | 756 | 0x6e1c, 0x2001, 0x0010, 0x0804, 0x284b, 0x705c, 0xa005, 0x1904, |
755 | 0x0020, 0x0804, 0x281f, 0x080c, 0x3c33, 0x1904, 0x259d, 0x781b, | 757 | 0x25c6, 0x00c6, 0x00d6, 0x70b0, 0xa06d, 0x6800, 0xa065, 0xa055, |
756 | 0x0068, 0x70b8, 0xa06d, 0x68b4, 0x785a, 0x6894, 0x78d6, 0x78de, | 758 | 0x789b, 0x0080, 0x6b0c, 0x7baa, 0x6808, 0xa045, 0x6d10, 0x6804, |
757 | 0x6898, 0x78d2, 0x78da, 0x7808, 0xc08d, 0x780a, 0x68bc, 0x703e, | 759 | 0xa06d, 0xa05d, 0xa886, 0x0001, 0x0118, 0x69bc, 0x7daa, 0x79aa, |
758 | 0xc1b4, 0x71d2, 0x70b4, 0xa065, 0x68c0, 0x7056, 0x7003, 0x0002, | 760 | 0x68c0, 0xa04d, 0x6e1c, 0x2001, 0x0020, 0x0804, 0x284b, 0x080c, |
759 | 0x2d00, 0x704a, 0xad80, 0x0009, 0x7042, 0x0005, 0x080c, 0x3c33, | 761 | 0x3c5b, 0x1904, 0x25c6, 0x781b, 0x0068, 0x70b8, 0xa06d, 0x68b4, |
760 | 0x1120, 0x781b, 0x0054, 0x7003, 0x0004, 0x0005, 0x080c, 0x3c33, | 762 | 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, 0x7808, |
761 | 0x1128, 0x2011, 0x000c, 0x0419, 0x7003, 0x0004, 0x0005, 0x080c, | 763 | 0xc08d, 0x780a, 0x68bc, 0x703e, 0xc1b4, 0x71d2, 0x70b4, 0xa065, |
762 | 0x3c33, 0x1128, 0x2011, 0x0006, 0x00d1, 0x7003, 0x0004, 0x0005, | 764 | 0x68c0, 0x7056, 0x7003, 0x0002, 0x2d00, 0x704a, 0xad80, 0x0009, |
763 | 0x080c, 0x3c33, 0x1128, 0x2011, 0x000d, 0x0089, 0x7003, 0x0004, | 765 | 0x7042, 0x0005, 0x080c, 0x3c5b, 0x1120, 0x781b, 0x0054, 0x7003, |
764 | 0x0005, 0x080c, 0x3c33, 0x1150, 0x2011, 0x0006, 0x0041, 0x7078, | 766 | 0x0004, 0x0005, 0x080c, 0x3c5b, 0x1128, 0x2011, 0x000c, 0x0419, |
765 | 0x707b, 0x0000, 0x2068, 0x704a, 0x7003, 0x0004, 0x0005, 0x7170, | 767 | 0x7003, 0x0004, 0x0005, 0x080c, 0x3c5b, 0x1128, 0x2011, 0x0006, |
766 | 0xc1fc, 0x8107, 0x7882, 0x789b, 0x0080, 0xa286, 0x000c, 0x1120, | 768 | 0x00d1, 0x7003, 0x0004, 0x0005, 0x080c, 0x3c5b, 0x1128, 0x2011, |
767 | 0x7aaa, 0x2001, 0x0001, 0x0098, 0xa18c, 0x001f, 0xa18d, 0x00c0, | 769 | 0x000d, 0x0089, 0x7003, 0x0004, 0x0005, 0x080c, 0x3c5b, 0x1150, |
768 | 0x79aa, 0xa286, 0x000d, 0x0120, 0x7aaa, 0x2001, 0x0002, 0x0038, | 770 | 0x2011, 0x0006, 0x0041, 0x7078, 0x707b, 0x0000, 0x2068, 0x704a, |
769 | 0x78ab, 0x0020, 0x7174, 0x79aa, 0x7aaa, 0x2001, 0x0004, 0x789b, | 771 | 0x7003, 0x0004, 0x0005, 0x7170, 0xc1fc, 0x8107, 0x7882, 0x789b, |
770 | 0x0060, 0x78aa, 0x785b, 0x0004, 0x781b, 0x0113, 0x080c, 0x3c46, | 772 | 0x0080, 0xa286, 0x000c, 0x1120, 0x7aaa, 0x2001, 0x0001, 0x0098, |
771 | 0x707f, 0x000f, 0x70d0, 0xd0b4, 0x0168, 0xc0b4, 0x70d2, 0x00c6, | 773 | 0xa18c, 0x001f, 0xa18d, 0x00c0, 0x79aa, 0xa286, 0x000d, 0x0120, |
772 | 0x70b4, 0xa065, 0x6008, 0xa084, 0xfbef, 0x600a, 0x6018, 0x8001, | 774 | 0x7aaa, 0x2001, 0x0002, 0x0038, 0x78ab, 0x0020, 0x7174, 0x79aa, |
773 | 0x601a, 0x00ce, 0x0005, 0x7014, 0xa005, 0x1138, 0x70d0, 0xd0b4, | 775 | 0x7aaa, 0x2001, 0x0004, 0x789b, 0x0060, 0x78aa, 0x785b, 0x0004, |
774 | 0x0128, 0x70b4, 0xac06, 0x1110, 0x0c29, 0x0005, 0x0016, 0x71a0, | 776 | 0x781b, 0x0113, 0x080c, 0x3c6e, 0x707f, 0x000f, 0x70d0, 0xd0b4, |
775 | 0xa186, 0x0001, 0x0528, 0x00d6, 0x0026, 0x2100, 0x2011, 0x0001, | 777 | 0x0168, 0xc0b4, 0x70d2, 0x00c6, 0x70b4, 0xa065, 0x6008, 0xa084, |
776 | 0xa212, 0x70b0, 0x2068, 0x6800, 0xac06, 0x0120, 0x8211, 0x01b0, | 778 | 0xfbef, 0x600a, 0x6018, 0x8001, 0x601a, 0x00ce, 0x0005, 0x7014, |
777 | 0x00c9, 0x0cc8, 0x00c6, 0x2100, 0x2011, 0x0001, 0xa212, 0x70b0, | 779 | 0xa005, 0x1138, 0x70d0, 0xd0b4, 0x0128, 0x70b4, 0xac06, 0x1110, |
778 | 0x2068, 0x6800, 0x2060, 0x6008, 0xa084, 0xfbef, 0x600a, 0x8211, | 780 | 0x0c29, 0x0005, 0x0016, 0x71a0, 0xa186, 0x0001, 0x0528, 0x00d6, |
779 | 0x0110, 0x0041, 0x0cb0, 0x70a3, 0x0001, 0x00ce, 0x002e, 0x00de, | 781 | 0x0026, 0x2100, 0x2011, 0x0001, 0xa212, 0x70b0, 0x2068, 0x6800, |
780 | 0x001e, 0x0005, 0xade8, 0x0005, 0x70a8, 0xad06, 0x1110, 0x70a4, | 782 | 0xac06, 0x0120, 0x8211, 0x01b0, 0x00c9, 0x0cc8, 0x00c6, 0x2100, |
781 | 0x2068, 0x0005, 0x080c, 0x3c33, 0x1904, 0x259d, 0x7078, 0x2068, | 783 | 0x2011, 0x0001, 0xa212, 0x70b0, 0x2068, 0x6800, 0x2060, 0x6008, |
782 | 0x7770, 0x080c, 0x3b6f, 0x2c50, 0x080c, 0x3cce, 0x789b, 0x0080, | 784 | 0xa084, 0xfbef, 0x600a, 0x8211, 0x0110, 0x0041, 0x0cb0, 0x70a3, |
783 | 0x6814, 0xa084, 0x001f, 0xc0bd, 0x78aa, 0x6e1c, 0x2041, 0x0001, | 785 | 0x0001, 0x00ce, 0x002e, 0x00de, 0x001e, 0x0005, 0xade8, 0x0005, |
784 | 0x2001, 0x0004, 0x0804, 0x2824, 0x080c, 0x3c33, 0x1904, 0x259d, | 786 | 0x70a8, 0xad06, 0x1110, 0x70a4, 0x2068, 0x0005, 0x080c, 0x3c5b, |
785 | 0x789b, 0x0080, 0x705c, 0x2068, 0x6f14, 0x70d0, 0xd0b4, 0x0168, | 787 | 0x1904, 0x25c6, 0x7078, 0x2068, 0x7770, 0x080c, 0x3b95, 0x2c50, |
786 | 0xc0b4, 0x70d2, 0x00c6, 0x70b4, 0xa065, 0x6008, 0xa084, 0xfbef, | 788 | 0x080c, 0x3cf6, 0x789b, 0x0080, 0x6814, 0xa084, 0x001f, 0xc0bd, |
787 | 0x600a, 0x6018, 0x8001, 0x601a, 0x00ce, 0x080c, 0x3b6f, 0x2c50, | 789 | 0x78aa, 0x6e1c, 0x2041, 0x0001, 0x2001, 0x0004, 0x0804, 0x2850, |
788 | 0x080c, 0x3cce, 0x6824, 0xa005, 0x0130, 0xa082, 0x0006, 0x0208, | 790 | 0x080c, 0x3c5b, 0x1904, 0x25c6, 0x789b, 0x0080, 0x705c, 0x2068, |
789 | 0x0010, 0x6827, 0x0005, 0x6814, 0xa084, 0x001f, 0xc0bd, 0x78aa, | 791 | 0x6f14, 0x70d0, 0xd0b4, 0x0168, 0xc0b4, 0x70d2, 0x00c6, 0x70b4, |
790 | 0x2031, 0x0020, 0x2041, 0x0001, 0x2001, 0x0003, 0x0804, 0x2824, | 792 | 0xa065, 0x6008, 0xa084, 0xfbef, 0x600a, 0x6018, 0x8001, 0x601a, |
791 | 0xc28d, 0x72d2, 0x72bc, 0xa200, 0xa015, 0x7150, 0x8108, 0xa12a, | 793 | 0x00ce, 0x080c, 0x3b95, 0x2c50, 0x080c, 0x3cf6, 0x6824, 0xa005, |
792 | 0x0208, 0x71bc, 0x2164, 0x6504, 0x85ff, 0x1170, 0x7152, 0x8421, | 794 | 0x0130, 0xa082, 0x0006, 0x0208, 0x0010, 0x6827, 0x0005, 0x6814, |
793 | 0x1da8, 0x70d0, 0xd08c, 0x0128, 0x70cc, 0xa005, 0x1110, 0x70cf, | 795 | 0xa084, 0x001f, 0xc0bd, 0x78aa, 0x2031, 0x0020, 0x2041, 0x0001, |
794 | 0x000a, 0x0005, 0x2200, 0x0c90, 0x70d0, 0xc08c, 0x70d2, 0x70cf, | 796 | 0x2001, 0x0003, 0x0804, 0x2850, 0xc28d, 0x72d2, 0x72bc, 0xa200, |
795 | 0x0000, 0x6034, 0xa005, 0x1db0, 0x6708, 0xa784, 0x073f, 0x01d0, | 797 | 0xa015, 0x7150, 0x8108, 0xa12a, 0x0208, 0x71bc, 0x2164, 0x6504, |
796 | 0xd7d4, 0x1d80, 0xa784, 0x0021, 0x1d68, 0xa784, 0x0002, 0x0130, | 798 | 0x85ff, 0x1170, 0x7152, 0x8421, 0x1da8, 0x70d0, 0xd08c, 0x0128, |
797 | 0xa784, 0x0004, 0x0d38, 0xa7bc, 0xfffb, 0x670a, 0xa784, 0x0218, | 799 | 0x70cc, 0xa005, 0x1110, 0x70cf, 0x000a, 0x0005, 0x2200, 0x0c90, |
798 | 0x1d08, 0xa784, 0x0100, 0x0130, 0x6018, 0xa005, 0x19d8, 0xa7bc, | 800 | 0x70d0, 0xc08c, 0x70d2, 0x70cf, 0x0000, 0x6034, 0xa005, 0x1db0, |
799 | 0xfeff, 0x670a, 0x2568, 0x6823, 0x0000, 0x6e1c, 0xa684, 0x000e, | 801 | 0x6708, 0xa784, 0x073f, 0x01d0, 0xd7d4, 0x1d80, 0xa784, 0x0021, |
800 | 0x6318, 0x0128, 0x601c, 0xa302, 0x0220, 0x0118, 0x0858, 0x83ff, | 802 | 0x1d68, 0xa784, 0x0002, 0x0130, 0xa784, 0x0004, 0x0d38, 0xa7bc, |
801 | 0x1948, 0x2d58, 0x2c50, 0x7152, 0xd7bc, 0x1120, 0x7028, 0x6022, | 803 | 0xfffb, 0x670a, 0xa784, 0x0218, 0x1d08, 0xa784, 0x0100, 0x0130, |
802 | 0x603a, 0x0010, 0xc7bc, 0x670a, 0x68c0, 0xa065, 0xa04d, 0x6100, | 804 | 0x6018, 0xa005, 0x19d8, 0xa7bc, 0xfeff, 0x670a, 0x2568, 0x6823, |
803 | 0x2a60, 0x2041, 0x0001, 0x6b14, 0xa39c, 0x001f, 0xa39d, 0x00c0, | 805 | 0x0000, 0x6e1c, 0xa684, 0x000e, 0x6318, 0x0128, 0x601c, 0xa302, |
804 | 0xd1fc, 0x0110, 0xd684, 0x0110, 0xa39c, 0xffbf, 0xd6a4, 0x0110, | 806 | 0x0220, 0x0118, 0x0858, 0x83ff, 0x1948, 0x2d58, 0x2c50, 0x7152, |
805 | 0xa39d, 0x0020, 0xa684, 0x000e, 0x1904, 0x27d6, 0xc7a5, 0x670a, | 807 | 0xd7bc, 0x1120, 0x7028, 0x6022, 0x603a, 0x0010, 0xc7bc, 0x670a, |
806 | 0x2c00, 0x68c6, 0x77a0, 0xa786, 0x0001, 0x1178, 0x70d0, 0xd0b4, | 808 | 0x68c0, 0xa065, 0xa04d, 0x6100, 0x2a60, 0x2041, 0x0001, 0x6b14, |
807 | 0x1160, 0x7000, 0xa082, 0x0002, 0x1240, 0x7830, 0xd0bc, 0x1128, | 809 | 0xa39c, 0x001f, 0xa39d, 0x00c0, 0xd1fc, 0x0110, 0xd684, 0x0110, |
808 | 0x789b, 0x0080, 0x7baa, 0x0804, 0x281d, 0x8739, 0x77a2, 0x2750, | 810 | 0xa39c, 0xffbf, 0xd6a4, 0x0110, 0xa39d, 0x0020, 0xa684, 0x000e, |
809 | 0x77ac, 0xa7b0, 0x0005, 0x70a8, 0xa606, 0x1108, 0x76a4, 0x76ae, | 811 | 0x1904, 0x2802, 0xc7a5, 0x670a, 0x2c00, 0x68c6, 0x77a0, 0xa786, |
810 | 0x2c3a, 0x8738, 0x2d3a, 0x8738, 0x283a, 0x8738, 0x233a, 0x8738, | 812 | 0x0001, 0x1178, 0x70d0, 0xd0b4, 0x1160, 0x7000, 0xa082, 0x0002, |
811 | 0x253a, 0x7830, 0xd0bc, 0x0150, 0x2091, 0x8000, 0x2091, 0x303d, | 813 | 0x1240, 0x7830, 0xd0bc, 0x1128, 0x789b, 0x0080, 0x7baa, 0x0804, |
812 | 0x70d0, 0xa084, 0x303d, 0x2091, 0x8000, 0x2090, 0xaad5, 0x0000, | 814 | 0x2849, 0x8739, 0x77a2, 0x2750, 0x77ac, 0xa7b0, 0x0005, 0x70a8, |
813 | 0x0120, 0x8421, 0x2200, 0x1904, 0x2725, 0x0005, 0xd1dc, 0x0904, | 815 | 0xa606, 0x1108, 0x76a4, 0x76ae, 0x2c3a, 0x8738, 0x2d3a, 0x8738, |
814 | 0x37ce, 0x2029, 0x0020, 0xd69c, 0x1120, 0x8528, 0xd68c, 0x1108, | 816 | 0x283a, 0x8738, 0x233a, 0x8738, 0x253a, 0x7830, 0xd0bc, 0x0150, |
815 | 0x8528, 0x8840, 0x6f14, 0x610c, 0x8108, 0xa18c, 0x00ff, 0x70c8, | 817 | 0x2091, 0x8000, 0x2091, 0x303d, 0x70d0, 0xa084, 0x303d, 0x2091, |
816 | 0xa160, 0x2c64, 0x8cff, 0x0188, 0x6014, 0xa706, 0x1dd0, 0x60b8, | 818 | 0x8000, 0x2090, 0xaad5, 0x0000, 0x0120, 0x8421, 0x2200, 0x1904, |
817 | 0x8001, 0x60ba, 0x1d88, 0x2a60, 0x6008, 0xa085, 0x0100, 0x600a, | 819 | 0x2751, 0x0005, 0xd1dc, 0x0904, 0x37f1, 0x2029, 0x0020, 0xd69c, |
818 | 0x2200, 0x8421, 0x1904, 0x2725, 0x0005, 0x2a60, 0x610e, 0x69be, | 820 | 0x1120, 0x8528, 0xd68c, 0x1108, 0x8528, 0x8840, 0x6f14, 0x610c, |
819 | 0x2c00, 0x68c6, 0x8840, 0x6008, 0xc0d5, 0x600a, 0x77a0, 0xa786, | 821 | 0x8108, 0xa18c, 0x00ff, 0x70c8, 0xa160, 0x2c64, 0x8cff, 0x0188, |
820 | 0x0001, 0x1904, 0x27ad, 0x70d0, 0xd0b4, 0x1904, 0x27ad, 0x7000, | 822 | 0x6014, 0xa706, 0x1dd0, 0x60b8, 0x8001, 0x60ba, 0x1d88, 0x2a60, |
821 | 0xa082, 0x0002, 0x1a04, 0x27ad, 0x7830, 0xd0bc, 0x1904, 0x27ad, | 823 | 0x6008, 0xa085, 0x0100, 0x600a, 0x2200, 0x8421, 0x1904, 0x2751, |
822 | 0x789b, 0x0080, 0x7baa, 0x7daa, 0x79aa, 0x2001, 0x0002, 0x0006, | 824 | 0x0005, 0x2a60, 0x610e, 0x69be, 0x2c00, 0x68c6, 0x8840, 0x6008, |
823 | 0x6018, 0x8000, 0x601a, 0x0008, 0x0006, 0x2960, 0x6104, 0x2a60, | 825 | 0xc0d5, 0x600a, 0x77a0, 0xa786, 0x0001, 0x1904, 0x27d9, 0x70d0, |
824 | 0x080c, 0x3ce1, 0x1590, 0xa184, 0x0018, 0x0180, 0xa184, 0x0010, | 826 | 0xd0b4, 0x1904, 0x27d9, 0x7000, 0xa082, 0x0002, 0x1a04, 0x27d9, |
825 | 0x0118, 0x080c, 0x3977, 0x1548, 0xa184, 0x0008, 0x0138, 0x69a0, | 827 | 0x7830, 0xd0bc, 0x1904, 0x27d9, 0x789b, 0x0080, 0x7baa, 0x7daa, |
826 | 0xa184, 0x0600, 0x1118, 0x080c, 0x3895, 0x00f8, 0x69a0, 0xa184, | 828 | 0x79aa, 0x2001, 0x0002, 0x0006, 0x6018, 0x8000, 0x601a, 0x0008, |
827 | 0x1e00, 0x0528, 0xa184, 0x0800, 0x0178, 0x00c6, 0x2960, 0x6000, | 829 | 0x0006, 0x2960, 0x6104, 0x2a60, 0x080c, 0x3d09, 0x1590, 0xa184, |
828 | 0xa085, 0x2000, 0x6002, 0x6104, 0xa18d, 0x0010, 0x6106, 0x00ce, | 830 | 0x0018, 0x0180, 0xa184, 0x0010, 0x0118, 0x080c, 0x399a, 0x1548, |
829 | 0x080c, 0x3977, 0x1150, 0x69a0, 0xa184, 0x0200, 0x0118, 0x080c, | 831 | 0xa184, 0x0008, 0x0138, 0x69a0, 0xa184, 0x0600, 0x1118, 0x080c, |
830 | 0x38da, 0x0018, 0xa184, 0x0400, 0x19f0, 0x69a0, 0xa184, 0x1000, | 832 | 0x38b8, 0x00f8, 0x69a0, 0xa184, 0x1e00, 0x0528, 0xa184, 0x0800, |
831 | 0x0130, 0x6914, 0xa18c, 0xff00, 0x810f, 0x080c, 0x239c, 0x002e, | 833 | 0x0178, 0x00c6, 0x2960, 0x6000, 0xa085, 0x2000, 0x6002, 0x6104, |
832 | 0xa68c, 0x00e0, 0xa684, 0x0060, 0x0128, 0xa086, 0x0060, 0x1110, | 834 | 0xa18d, 0x0010, 0x6106, 0x00ce, 0x080c, 0x399a, 0x1150, 0x69a0, |
833 | 0xa18d, 0x4000, 0xa18d, 0x0104, 0x69b6, 0x789b, 0x0060, 0x2800, | 835 | 0xa184, 0x0200, 0x0118, 0x080c, 0x38fd, 0x0018, 0xa184, 0x0400, |
834 | 0x78aa, 0x6818, 0xc0fd, 0x681a, 0xd6bc, 0x0168, 0xc0fc, 0x7083, | 836 | 0x19f0, 0x69a0, 0xa184, 0x1000, 0x0130, 0x6914, 0xa18c, 0xff00, |
835 | 0x0000, 0xa08a, 0x000d, 0x0328, 0xa08a, 0x000c, 0x7182, 0x2001, | 837 | 0x810f, 0x080c, 0x23c5, 0x002e, 0xa68c, 0x00e0, 0xa684, 0x0060, |
836 | 0x000c, 0x800c, 0x7186, 0x78aa, 0x3518, 0x3340, 0x3428, 0x8000, | 838 | 0x0128, 0xa086, 0x0060, 0x1110, 0xa18d, 0x4000, 0xa18d, 0x0104, |
837 | 0x80ac, 0xaf80, 0x002b, 0x20a0, 0x789b, 0x0000, 0xad80, 0x000b, | 839 | 0x69b6, 0x789b, 0x0060, 0x2800, 0x78aa, 0x6818, 0xc0fd, 0x681a, |
838 | 0x2098, 0x53a6, 0x23a8, 0x2898, 0x25a0, 0xa286, 0x0020, 0x1508, | 840 | 0xd6bc, 0x0168, 0xc0fc, 0x7083, 0x0000, 0xa08a, 0x000d, 0x0328, |
839 | 0x70d0, 0xc0b5, 0x70d2, 0x2c00, 0x70b6, 0x2d00, 0x70ba, 0x6814, | 841 | 0xa08a, 0x000c, 0x7182, 0x2001, 0x000c, 0x800c, 0x7186, 0x78aa, |
840 | 0xc0fc, 0x8007, 0x7882, 0xa286, 0x0002, 0x0904, 0x28f5, 0x70a0, | 842 | 0x3518, 0x3340, 0x3428, 0x8000, 0x80ac, 0xaf80, 0x002b, 0x20a0, |
841 | 0x8000, 0x70a2, 0x74b0, 0xa498, 0x0005, 0x70a8, 0xa306, 0x1108, | 843 | 0x789b, 0x0000, 0xad80, 0x000b, 0x2098, 0x53a6, 0x23a8, 0x2898, |
842 | 0x73a4, 0x73b2, 0xa286, 0x0010, 0x0904, 0x259d, 0x00de, 0x00ce, | 844 | 0x25a0, 0xa286, 0x0020, 0x1508, 0x70d0, 0xc0b5, 0x70d2, 0x2c00, |
843 | 0x0005, 0x7000, 0xa005, 0x19e0, 0xa286, 0x0002, 0x1904, 0x290c, | 845 | 0x70b6, 0x2d00, 0x70ba, 0x6814, 0xc0fc, 0x8007, 0x7882, 0xa286, |
844 | 0x080c, 0x3c33, 0x19a8, 0x6814, 0xc0fc, 0x8007, 0x7882, 0x2091, | 846 | 0x0002, 0x0904, 0x2921, 0x70a0, 0x8000, 0x70a2, 0x74b0, 0xa498, |
845 | 0x8000, 0x781b, 0x0068, 0x68b4, 0x785a, 0x6894, 0x78d6, 0x78de, | 847 | 0x0005, 0x70a8, 0xa306, 0x1108, 0x73a4, 0x73b2, 0xa286, 0x0010, |
846 | 0x6898, 0x78d2, 0x78da, 0x2091, 0x8001, 0x7808, 0xc08d, 0x780a, | 848 | 0x0904, 0x25c6, 0x00de, 0x00ce, 0x0005, 0x7000, 0xa005, 0x19e0, |
847 | 0x0126, 0x00d6, 0x00c6, 0x70d0, 0xa084, 0x2e00, 0x2090, 0x00ce, | 849 | 0xa286, 0x0002, 0x1904, 0x2938, 0x080c, 0x3c5b, 0x19a8, 0x6814, |
848 | 0x00de, 0x012e, 0x2900, 0x7056, 0x68bc, 0x703e, 0x7003, 0x0002, | 850 | 0xc0fc, 0x8007, 0x7882, 0x2091, 0x8000, 0x781b, 0x0068, 0x68b4, |
849 | 0x2d00, 0x704a, 0xad80, 0x0009, 0x7042, 0x7830, 0xd0bc, 0x0140, | 851 | 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, 0x2091, |
850 | 0x2091, 0x303d, 0x70d0, 0xa084, 0x303d, 0x2091, 0x8000, 0x2090, | 852 | 0x8001, 0x7808, 0xc08d, 0x780a, 0x0126, 0x00d6, 0x00c6, 0x70d0, |
851 | 0x70a0, 0xa005, 0x1108, 0x0005, 0x8421, 0x0de8, 0x724c, 0x70bc, | 853 | 0xa084, 0x2e00, 0x2090, 0x00ce, 0x00de, 0x012e, 0x2900, 0x7056, |
852 | 0xa200, 0xa015, 0x0804, 0x2725, 0xa286, 0x0010, 0x1560, 0x080c, | 854 | 0x68bc, 0x703e, 0x7003, 0x0002, 0x2d00, 0x704a, 0xad80, 0x0009, |
853 | 0x3c33, 0x1904, 0x28a0, 0x6814, 0xc0fc, 0x8007, 0x7882, 0x781b, | 855 | 0x7042, 0x7830, 0xd0bc, 0x0140, 0x2091, 0x303d, 0x70d0, 0xa084, |
854 | 0x0068, 0x68b4, 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, | 856 | 0x303d, 0x2091, 0x8000, 0x2090, 0x70a0, 0xa005, 0x1108, 0x0005, |
855 | 0x78da, 0x7808, 0xc08d, 0x780a, 0x70a0, 0x8000, 0x70a2, 0x74b0, | 857 | 0x8421, 0x0de8, 0x724c, 0x70bc, 0xa200, 0xa015, 0x0804, 0x2751, |
856 | 0xa490, 0x0005, 0x70a8, 0xa206, 0x1108, 0x72a4, 0x72b2, 0x2900, | 858 | 0xa286, 0x0010, 0x1560, 0x080c, 0x3c5b, 0x1904, 0x28cc, 0x6814, |
857 | 0x7056, 0x68bc, 0x703e, 0x7003, 0x0002, 0x2d00, 0x704a, 0xad80, | 859 | 0xc0fc, 0x8007, 0x7882, 0x781b, 0x0068, 0x68b4, 0x785a, 0x6894, |
858 | 0x0009, 0x7042, 0x0005, 0x6bb4, 0xa39d, 0x2000, 0x7b5a, 0x6814, | 860 | 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, 0x7808, 0xc08d, 0x780a, |
859 | 0xc0fc, 0x8007, 0x7882, 0x6b94, 0x7bd6, 0x7bde, 0x6e98, 0x7ed2, | 861 | 0x70a0, 0x8000, 0x70a2, 0x74b0, 0xa490, 0x0005, 0x70a8, 0xa206, |
860 | 0x7eda, 0x781b, 0x0068, 0x2900, 0x7056, 0x7202, 0x7808, 0xc08d, | 862 | 0x1108, 0x72a4, 0x72b2, 0x2900, 0x7056, 0x68bc, 0x703e, 0x7003, |
861 | 0x780a, 0x2300, 0xa605, 0x0170, 0x70d0, 0xa084, 0x2e00, 0xa086, | 863 | 0x0002, 0x2d00, 0x704a, 0xad80, 0x0009, 0x7042, 0x0005, 0x6bb4, |
862 | 0x2600, 0x1118, 0x2009, 0x0000, 0x0010, 0x2009, 0x0001, 0xa284, | 864 | 0xa39d, 0x2000, 0x7b5a, 0x6814, 0xc0fc, 0x8007, 0x7882, 0x6b94, |
863 | 0x000f, 0x0023, 0xad80, 0x0009, 0x7042, 0x0005, 0x296e, 0x41d9, | 865 | 0x7bd6, 0x7bde, 0x6e98, 0x7ed2, 0x7eda, 0x781b, 0x0068, 0x2900, |
864 | 0x41d9, 0x41c7, 0x41d9, 0x296e, 0x296e, 0x296e, 0x080c, 0x254c, | 866 | 0x7056, 0x7202, 0x7808, 0xc08d, 0x780a, 0x2300, 0xa605, 0x0170, |
865 | 0x7808, 0xa084, 0xfffd, 0x780a, 0x00f6, 0x2079, 0x4600, 0x78ac, | 867 | 0x70d0, 0xa084, 0x2e00, 0xa086, 0x2600, 0x1118, 0x2009, 0x0000, |
866 | 0x00fe, 0xd084, 0x01b0, 0x7060, 0xa086, 0x0001, 0x0904, 0x2a32, | 868 | 0x0010, 0x2009, 0x0001, 0xa284, 0x000f, 0x0033, 0xad80, 0x0009, |
867 | 0x7060, 0xa086, 0x0005, 0x1158, 0x7078, 0x2068, 0x681b, 0x0004, | 869 | 0x7042, 0x2d00, 0x704a, 0x0005, 0x299c, 0x4208, 0x4208, 0x41f6, |
870 | 0x4208, 0x299c, 0x299c, 0x299c, 0x080c, 0x2575, 0x7808, 0xa084, | ||
871 | 0xfffd, 0x780a, 0x00f6, 0x2079, 0x4700, 0x78ac, 0x00fe, 0xd084, | ||
872 | 0x01c0, 0x7160, 0xa186, 0x0001, 0x0904, 0x2a61, 0xa186, 0x0007, | ||
873 | 0x0170, 0xa186, 0x0005, 0x1158, 0x7078, 0x2068, 0x681b, 0x0004, | ||
868 | 0x6817, 0x0000, 0x6820, 0xa084, 0x00ff, 0xc09d, 0x6822, 0x7063, | 874 | 0x6817, 0x0000, 0x6820, 0xa084, 0x00ff, 0xc09d, 0x6822, 0x7063, |
869 | 0x0000, 0x70a3, 0x0000, 0x70a4, 0x70ae, 0x70b2, 0x080c, 0x2682, | 875 | 0x0000, 0x70a3, 0x0000, 0x70a4, 0x70ae, 0x70b2, 0x080c, 0x26ae, |
870 | 0x0156, 0x2011, 0x0004, 0x7160, 0xa186, 0x0001, 0x0160, 0xa186, | 876 | 0x0156, 0x2011, 0x0004, 0x7160, 0xa186, 0x0001, 0x0158, 0xa186, |
871 | 0x0007, 0x1118, 0x701f, 0x0005, 0x0030, 0x701f, 0x0001, 0x70d0, | 877 | 0x0007, 0x1118, 0x701f, 0x0005, 0x0010, 0x701f, 0x0001, 0x70d0, |
872 | 0xc0c5, 0x70d2, 0x0000, 0x2001, 0x460a, 0x2004, 0xa084, 0x00ff, | 878 | 0xc0c5, 0x70d2, 0x2001, 0x470a, 0x2004, 0xa084, 0x00ff, 0xa086, |
873 | 0xa086, 0x0018, 0x0130, 0x7018, 0x7016, 0xa005, 0x1110, 0x70a3, | 879 | 0x0018, 0x0130, 0x7018, 0x7016, 0xa005, 0x1110, 0x70a3, 0x0001, |
874 | 0x0001, 0x0066, 0x080c, 0x3f26, 0x20a9, 0x0010, 0x2039, 0x0000, | 880 | 0x0066, 0x080c, 0x3f4e, 0x20a9, 0x0010, 0x2039, 0x0000, 0x080c, |
875 | 0x080c, 0x3a66, 0xa7b8, 0x0100, 0x1f04, 0x29c0, 0x006e, 0x7000, | 881 | 0x3a8b, 0xa7b8, 0x0100, 0x1f04, 0x29ef, 0x006e, 0x7000, 0x0002, |
876 | 0x0002, 0x29fd, 0x29db, 0x29db, 0x29d3, 0x29fd, 0x29fd, 0x29fd, | 882 | 0x2a2c, 0x2a0a, 0x2a0a, 0x2a02, 0x2a2c, 0x2a2c, 0x2a2c, 0x2a00, |
877 | 0x29d1, 0x080c, 0x254c, 0x705c, 0xa005, 0x0538, 0xad06, 0x1118, | 883 | 0x080c, 0x2575, 0x705c, 0xa005, 0x0538, 0xad06, 0x1118, 0x6800, |
878 | 0x6800, 0x705e, 0x0080, 0x6820, 0xd084, 0x1148, 0x6f14, 0x080c, | 884 | 0x705e, 0x0080, 0x6820, 0xd084, 0x1148, 0x6f14, 0x080c, 0x3b95, |
879 | 0x3b6f, 0x6008, 0xc0d4, 0x600a, 0x080c, 0x37a4, 0x0020, 0x7058, | 885 | 0x6008, 0xc0d4, 0x600a, 0x080c, 0x37c7, 0x0020, 0x7058, 0x2060, |
880 | 0x2060, 0x6800, 0x6002, 0xa684, 0x5f00, 0x681e, 0x6818, 0xd0fc, | 886 | 0x6800, 0x6002, 0xa684, 0x5f00, 0x681e, 0x6818, 0xd0fc, 0x0108, |
881 | 0x0108, 0x6a1a, 0x6817, 0x0000, 0x682b, 0x0000, 0x6820, 0xa084, | 887 | 0x6a1a, 0x6817, 0x0000, 0x682b, 0x0000, 0x6820, 0xa084, 0x00ff, |
882 | 0x00ff, 0xc09d, 0x6822, 0x080c, 0x1da2, 0x2011, 0x0004, 0x74c8, | 888 | 0xc09d, 0x6822, 0x080c, 0x1dbf, 0x2011, 0x0004, 0x74c8, 0xa4a0, |
883 | 0xa4a0, 0x0100, 0x04b1, 0xaea0, 0x0017, 0x0499, 0x20a9, 0x0101, | 889 | 0x0100, 0x04b1, 0xaea0, 0x0017, 0x0499, 0x20a9, 0x0101, 0x74c8, |
884 | 0x74c8, 0x0479, 0x8420, 0x1f04, 0x2a09, 0x70c0, 0x2060, 0x2021, | 890 | 0x0479, 0x8420, 0x1f04, 0x2a38, 0x70c0, 0x2060, 0x2021, 0x0002, |
885 | 0x0002, 0x20a9, 0x0100, 0x6110, 0x81ff, 0x0198, 0x6018, 0x0016, | 891 | 0x20a9, 0x0100, 0x6110, 0x81ff, 0x0198, 0x6018, 0x0016, 0x0006, |
886 | 0x0006, 0x2011, 0x4602, 0x220c, 0xa102, 0x2012, 0x000e, 0x001e, | 892 | 0x2011, 0x4702, 0x220c, 0xa102, 0x2012, 0x000e, 0x001e, 0xa102, |
887 | 0xa102, 0x0338, 0x6012, 0x1128, 0x2011, 0x4604, 0x2204, 0xc0a5, | 893 | 0x0338, 0x6012, 0x1128, 0x2011, 0x4704, 0x2204, 0xc0a5, 0x2012, |
888 | 0x2012, 0x601b, 0x0000, 0xace0, 0x0010, 0x1f04, 0x2a13, 0x8421, | 894 | 0x601b, 0x0000, 0xace0, 0x0010, 0x1f04, 0x2a42, 0x8421, 0x1d00, |
889 | 0x1d00, 0x015e, 0x7063, 0x0000, 0x7003, 0x0000, 0x704b, 0x0000, | 895 | 0x015e, 0x7063, 0x0000, 0x7003, 0x0000, 0x704b, 0x0000, 0x0005, |
890 | 0x0005, 0x0046, 0x2404, 0xa005, 0x01a8, 0x2068, 0x6800, 0x0006, | 896 | 0x0046, 0x2404, 0xa005, 0x01a8, 0x2068, 0x6800, 0x0006, 0x6a1a, |
891 | 0x6a1a, 0x6817, 0x0000, 0x682b, 0x0000, 0x68b4, 0xa084, 0x5f00, | ||
892 | 0x681e, 0x6820, 0xa084, 0x00ff, 0xc09d, 0x6822, 0x080c, 0x1da2, | ||
893 | 0x000e, 0x0c48, 0x004e, 0x2023, 0x0000, 0x0005, 0xa282, 0x0003, | ||
894 | 0x0310, 0x080c, 0x254c, 0x2300, 0x0002, 0x2a60, 0x2add, 0x2af7, | ||
895 | 0xa282, 0x0002, 0x0110, 0x080c, 0x254c, 0x7060, 0x7063, 0x0000, | ||
896 | 0x707f, 0x0000, 0x0022, 0x77d0, 0xc7c5, 0x77d2, 0x0002, 0x2a77, | ||
897 | 0x2a77, 0x2a79, 0x2ab1, 0x37d8, 0x2a77, 0x2ab1, 0x2a77, 0x080c, | ||
898 | 0x254c, 0x7770, 0x080c, 0x3a66, 0x7770, 0xa7bc, 0x8f00, 0x080c, | ||
899 | 0x3b6f, 0x6018, 0xa005, 0x0528, 0xd7fc, 0x1118, 0x2021, 0x8cc0, | ||
900 | 0x0010, 0x2021, 0x8dd0, 0x2009, 0x0005, 0x2011, 0x0010, 0x080c, | ||
901 | 0x2b11, 0x01b8, 0x0156, 0x20a9, 0x0101, 0xd7fc, 0x1118, 0x2021, | ||
902 | 0x8bc0, 0x0010, 0x2021, 0x8cd0, 0x0046, 0x2009, 0x0005, 0x2011, | ||
903 | 0x0010, 0x080c, 0x2b11, 0x004e, 0x0118, 0x8420, 0x1f04, 0x2a9c, | ||
904 | 0x015e, 0x8738, 0xa784, 0x001f, 0x1990, 0x0804, 0x25a0, 0x0804, | ||
905 | 0x25a0, 0x7770, 0x080c, 0x3b6f, 0x6018, 0xa005, 0x0520, 0xd7fc, | ||
906 | 0x1118, 0x2021, 0x8cc0, 0x0010, 0x2021, 0x8dd0, 0x2009, 0x0005, | ||
907 | 0x2011, 0x0020, 0x080c, 0x2b11, 0x01b0, 0x0156, 0x20a9, 0x0101, | ||
908 | 0xd7fc, 0x1118, 0x2021, 0x8bc0, 0x0010, 0x2021, 0x8cd0, 0x0046, | ||
909 | 0x2009, 0x0005, 0x2011, 0x0020, 0x04e1, 0x004e, 0x0118, 0x8420, | ||
910 | 0x1f04, 0x2acf, 0x015e, 0x0804, 0x25a0, 0x2200, 0x0002, 0x2ae2, | ||
911 | 0x2ae4, 0x2ae4, 0x080c, 0x254c, 0x2009, 0x0012, 0x7060, 0xa086, | ||
912 | 0x0002, 0x0110, 0x2009, 0x000e, 0x6818, 0xd0fc, 0x0108, 0x691a, | ||
913 | 0x7063, 0x0000, 0x70d0, 0xc0c5, 0x70d2, 0x0804, 0x3be5, 0x2200, | ||
914 | 0x0002, 0x2afe, 0x2ae4, 0x2afc, 0x080c, 0x254c, 0x080c, 0x3f26, | ||
915 | 0x7000, 0xa086, 0x0002, 0x1904, 0x375d, 0x080c, 0x37be, 0x6008, | ||
916 | 0xa084, 0xfbef, 0x600a, 0x080c, 0x374f, 0x0904, 0x375d, 0x0804, | ||
917 | 0x25a0, 0x2404, 0xa005, 0x0590, 0x2068, 0x2d04, 0x0006, 0x6814, | ||
918 | 0xa706, 0x0118, 0x2d20, 0x000e, 0x0ca8, 0x000e, 0x2022, 0x691a, | ||
919 | 0x6817, 0x0000, 0x682b, 0x0000, 0x68b4, 0xa084, 0x5f00, 0x681e, | 897 | 0x6817, 0x0000, 0x682b, 0x0000, 0x68b4, 0xa084, 0x5f00, 0x681e, |
920 | 0x6820, 0xa084, 0x00ff, 0xa205, 0x6822, 0x080c, 0x1da2, 0x2021, | 898 | 0x6820, 0xa084, 0x00ff, 0xc09d, 0x6822, 0x080c, 0x1dbf, 0x000e, |
921 | 0x4602, 0x241c, 0x8319, 0x2322, 0x6010, 0x8001, 0x6012, 0x1128, | 899 | 0x0c48, 0x004e, 0x2023, 0x0000, 0x0005, 0xa282, 0x0003, 0x0310, |
922 | 0x2021, 0x4604, 0x2404, 0xc0a5, 0x2022, 0x6008, 0xa084, 0xf9ef, | 900 | 0x080c, 0x2575, 0x2300, 0x0002, 0x2a8f, 0x2b0c, 0x2b1a, 0xa282, |
923 | 0x600a, 0x080c, 0x269e, 0x080c, 0x37be, 0x0005, 0xa085, 0x0001, | 901 | 0x0002, 0x0110, 0x080c, 0x2575, 0x7060, 0x7063, 0x0000, 0x707f, |
924 | 0x0ce0, 0x2300, 0x0002, 0x2b50, 0x2b4e, 0x2bcb, 0x080c, 0x254c, | 902 | 0x0000, 0x0022, 0x77d0, 0xc7c5, 0x77d2, 0x0002, 0x2aa6, 0x2aa6, |
925 | 0x78e4, 0xa005, 0x17b0, 0x3208, 0xa18c, 0x0800, 0x0118, 0x0104, | 903 | 0x2aa8, 0x2ae0, 0x37fb, 0x2aa6, 0x2ae0, 0x2aa6, 0x080c, 0x2575, |
926 | 0x259d, 0x0010, 0x0304, 0x259d, 0x2008, 0xa084, 0x0030, 0x1110, | 904 | 0x7770, 0x080c, 0x3a8b, 0x7770, 0xa7bc, 0x8f00, 0x080c, 0x3b95, |
927 | 0x0804, 0x322a, 0x78ec, 0xa084, 0x0003, 0x0dd0, 0x7884, 0xd0fc, | 905 | 0x6018, 0xa005, 0x0528, 0xd7fc, 0x1118, 0x2021, 0x8dc0, 0x0010, |
928 | 0x1118, 0xa184, 0x0007, 0x0090, 0xa184, 0x0007, 0xa086, 0x0004, | 906 | 0x2021, 0x8ed0, 0x2009, 0x0005, 0x2011, 0x0010, 0x080c, 0x2b34, |
929 | 0x1118, 0x2001, 0x0000, 0x0050, 0xa184, 0x0007, 0xa086, 0x0005, | 907 | 0x01b8, 0x0156, 0x20a9, 0x0101, 0xd7fc, 0x1118, 0x2021, 0x8cc0, |
930 | 0x0118, 0xa184, 0x0007, 0x0010, 0x2001, 0x0001, 0x0002, 0x2bae, | 908 | 0x0010, 0x2021, 0x8dd0, 0x0046, 0x2009, 0x0005, 0x2011, 0x0010, |
931 | 0x2bb7, 0x2ba4, 0x2b87, 0x3c29, 0x3c29, 0x2b87, 0x2bc1, 0x080c, | 909 | 0x080c, 0x2b34, 0x004e, 0x0118, 0x8420, 0x1f04, 0x2acb, 0x015e, |
932 | 0x254c, 0x7000, 0xa086, 0x0004, 0x1190, 0x7060, 0xa086, 0x0002, | 910 | 0x8738, 0xa784, 0x001f, 0x1990, 0x0804, 0x25c9, 0x0804, 0x25c9, |
933 | 0x1130, 0x2011, 0x0002, 0x2019, 0x0000, 0x0804, 0x2a56, 0x7060, | 911 | 0x7770, 0x080c, 0x3b95, 0x6018, 0xa005, 0x0520, 0xd7fc, 0x1118, |
934 | 0xa086, 0x0006, 0x0db0, 0x7060, 0xa086, 0x0004, 0x0d90, 0x79e4, | 912 | 0x2021, 0x8dc0, 0x0010, 0x2021, 0x8ed0, 0x2009, 0x0005, 0x2011, |
935 | 0x2001, 0x0003, 0x0804, 0x2f18, 0x6818, 0xd0fc, 0x0110, 0x681b, | 913 | 0x0020, 0x080c, 0x2b34, 0x01b0, 0x0156, 0x20a9, 0x0101, 0xd7fc, |
936 | 0x001d, 0x080c, 0x3a3c, 0x781b, 0x006e, 0x0005, 0x6818, 0xd0fc, | 914 | 0x1118, 0x2021, 0x8cc0, 0x0010, 0x2021, 0x8dd0, 0x0046, 0x2009, |
937 | 0x0110, 0x681b, 0x001d, 0x080c, 0x3a3c, 0x0804, 0x3c07, 0x6818, | 915 | 0x0005, 0x2011, 0x0020, 0x0481, 0x004e, 0x0118, 0x8420, 0x1f04, |
938 | 0xd0fc, 0x0110, 0x681b, 0x001d, 0x080c, 0x3a3c, 0x781b, 0x00fa, | 916 | 0x2afe, 0x015e, 0x0804, 0x25c9, 0x2200, 0x0002, 0x2b11, 0x2b13, |
939 | 0x0005, 0x6818, 0xd0fc, 0x0110, 0x681b, 0x001d, 0x080c, 0x3a3c, | 917 | 0x2b13, 0x080c, 0x2575, 0x7063, 0x0000, 0x70d0, 0xc0c5, 0x70d2, |
940 | 0x781b, 0x00cb, 0x0005, 0xa584, 0x000f, 0x11c0, 0x7000, 0x0002, | 918 | 0x0804, 0x25c9, 0x2200, 0x0002, 0x2b21, 0x2b13, 0x2b1f, 0x080c, |
941 | 0x25a0, 0x2bd8, 0x2bda, 0x375d, 0x375d, 0x375d, 0x2bd8, 0x2bd8, | 919 | 0x2575, 0x080c, 0x3f4e, 0x7000, 0xa086, 0x0002, 0x1904, 0x3780, |
942 | 0x080c, 0x254c, 0x080c, 0x37be, 0x6008, 0xa084, 0xfbef, 0x600a, | 920 | 0x080c, 0x37e1, 0x6008, 0xa084, 0xfbef, 0x600a, 0x080c, 0x3772, |
943 | 0x080c, 0x374f, 0x0904, 0x375d, 0x0804, 0x25a0, 0x78e4, 0xa005, | 921 | 0x0904, 0x3780, 0x0804, 0x25c9, 0x2404, 0xa005, 0x0590, 0x2068, |
944 | 0x1b04, 0x2b89, 0x3208, 0xa18c, 0x0800, 0x0118, 0x0104, 0x2b89, | 922 | 0x2d04, 0x0006, 0x6814, 0xa706, 0x0118, 0x2d20, 0x000e, 0x0ca8, |
945 | 0x0010, 0x0304, 0x2b89, 0x2008, 0xa084, 0x0030, 0x1118, 0x781b, | 923 | 0x000e, 0x2022, 0x691a, 0x6817, 0x0000, 0x682b, 0x0000, 0x68b4, |
946 | 0x0068, 0x0005, 0x78ec, 0xa084, 0x0003, 0x0dc8, 0x7884, 0xd0fc, | 924 | 0xa084, 0x5f00, 0x681e, 0x6820, 0xa084, 0x00ff, 0xa205, 0x6822, |
947 | 0x1118, 0xa184, 0x0007, 0x0090, 0xa184, 0x0007, 0xa086, 0x0004, | 925 | 0x080c, 0x1dbf, 0x2021, 0x4702, 0x241c, 0x8319, 0x2322, 0x6010, |
948 | 0x1118, 0x2001, 0x0000, 0x0050, 0xa184, 0x0007, 0xa086, 0x0005, | 926 | 0x8001, 0x6012, 0x1128, 0x2021, 0x4704, 0x2404, 0xc0a5, 0x2022, |
949 | 0x0118, 0xa184, 0x0007, 0x0010, 0x2001, 0x0001, 0x0002, 0x2c26, | 927 | 0x6008, 0xa084, 0xf9ef, 0x600a, 0x080c, 0x26ca, 0x080c, 0x37e1, |
950 | 0x2c2a, 0x2c21, 0x2c1f, 0x3c29, 0x3c29, 0x2c1f, 0x3c23, 0x080c, | 928 | 0x0005, 0xa085, 0x0001, 0x0ce0, 0x2300, 0x0002, 0x2b73, 0x2b71, |
951 | 0x254c, 0x080c, 0x3a42, 0x781b, 0x006e, 0x0005, 0x080c, 0x3a42, | 929 | 0x2bee, 0x080c, 0x2575, 0x78e4, 0xa005, 0x17b0, 0x3208, 0xa18c, |
952 | 0x0804, 0x3c07, 0x080c, 0x3a42, 0x781b, 0x00fa, 0x0005, 0x080c, | 930 | 0x0800, 0x0118, 0x0104, 0x25c6, 0x0010, 0x0304, 0x25c6, 0x2008, |
953 | 0x3a42, 0x781b, 0x00cb, 0x0005, 0x2300, 0x0002, 0x2c3b, 0x2c39, | 931 | 0xa084, 0x0030, 0x1110, 0x0804, 0x324d, 0x78ec, 0xa084, 0x0003, |
954 | 0x2c3d, 0x080c, 0x254c, 0x0804, 0x33e2, 0x681b, 0x0016, 0x78a3, | 932 | 0x0dd0, 0x7884, 0xd0fc, 0x1118, 0xa184, 0x0007, 0x0090, 0xa184, |
955 | 0x0000, 0x79e4, 0xa184, 0x0030, 0x0904, 0x33e2, 0x78ec, 0xa084, | 933 | 0x0007, 0xa086, 0x0004, 0x1118, 0x2001, 0x0000, 0x0050, 0xa184, |
956 | 0x0003, 0x0904, 0x33e2, 0xa184, 0x0100, 0x0d98, 0x7884, 0xd0fc, | 934 | 0x0007, 0xa086, 0x0005, 0x0118, 0xa184, 0x0007, 0x0010, 0x2001, |
935 | 0x0001, 0x0002, 0x2bd1, 0x2bda, 0x2bc7, 0x2baa, 0x3c4f, 0x3c4f, | ||
936 | 0x2baa, 0x2be4, 0x080c, 0x2575, 0x7000, 0xa086, 0x0004, 0x1190, | ||
937 | 0x7060, 0xa086, 0x0002, 0x1130, 0x2011, 0x0002, 0x2019, 0x0000, | ||
938 | 0x0804, 0x2a85, 0x7060, 0xa086, 0x0006, 0x0db0, 0x7060, 0xa086, | ||
939 | 0x0004, 0x0d90, 0x79e4, 0x2001, 0x0003, 0x0804, 0x2f3b, 0x6818, | ||
940 | 0xd0fc, 0x0110, 0x681b, 0x001d, 0x080c, 0x3a61, 0x781b, 0x006e, | ||
941 | 0x0005, 0x6818, 0xd0fc, 0x0110, 0x681b, 0x001d, 0x080c, 0x3a61, | ||
942 | 0x0804, 0x3c2d, 0x6818, 0xd0fc, 0x0110, 0x681b, 0x001d, 0x080c, | ||
943 | 0x3a61, 0x781b, 0x00fa, 0x0005, 0x6818, 0xd0fc, 0x0110, 0x681b, | ||
944 | 0x001d, 0x080c, 0x3a61, 0x781b, 0x00cb, 0x0005, 0xa584, 0x000f, | ||
945 | 0x11c0, 0x7000, 0x0002, 0x25c9, 0x2bfb, 0x2bfd, 0x3780, 0x3780, | ||
946 | 0x3780, 0x2bfb, 0x2bfb, 0x080c, 0x2575, 0x080c, 0x37e1, 0x6008, | ||
947 | 0xa084, 0xfbef, 0x600a, 0x080c, 0x3772, 0x0904, 0x3780, 0x0804, | ||
948 | 0x25c9, 0x78e4, 0xa005, 0x1b04, 0x2bac, 0x3208, 0xa18c, 0x0800, | ||
949 | 0x0118, 0x0104, 0x2bac, 0x0010, 0x0304, 0x2bac, 0x2008, 0xa084, | ||
950 | 0x0030, 0x1118, 0x781b, 0x0068, 0x0005, 0x78ec, 0xa084, 0x0003, | ||
951 | 0x0dc8, 0x7884, 0xd0fc, 0x1118, 0xa184, 0x0007, 0x0090, 0xa184, | ||
952 | 0x0007, 0xa086, 0x0004, 0x1118, 0x2001, 0x0000, 0x0050, 0xa184, | ||
953 | 0x0007, 0xa086, 0x0005, 0x0118, 0xa184, 0x0007, 0x0010, 0x2001, | ||
954 | 0x0001, 0x0002, 0x2c49, 0x2c4d, 0x2c44, 0x2c42, 0x3c4f, 0x3c4f, | ||
955 | 0x2c42, 0x3c49, 0x080c, 0x2575, 0x080c, 0x3a67, 0x781b, 0x006e, | ||
956 | 0x0005, 0x080c, 0x3a67, 0x0804, 0x3c2d, 0x080c, 0x3a67, 0x781b, | ||
957 | 0x00fa, 0x0005, 0x080c, 0x3a67, 0x781b, 0x00cb, 0x0005, 0x2300, | ||
958 | 0x0002, 0x2c5e, 0x2c5c, 0x2c60, 0x080c, 0x2575, 0x0804, 0x3405, | ||
959 | 0x681b, 0x0016, 0x78a3, 0x0000, 0x79e4, 0xa184, 0x0030, 0x0904, | ||
960 | 0x3405, 0x78ec, 0xa084, 0x0003, 0x0904, 0x3405, 0xa184, 0x0100, | ||
961 | 0x0d98, 0x7884, 0xd0fc, 0x1118, 0xa184, 0x0007, 0x0090, 0xa184, | ||
962 | 0x0007, 0xa086, 0x0004, 0x1118, 0x2001, 0x0000, 0x0050, 0xa184, | ||
963 | 0x0007, 0xa086, 0x0005, 0x0118, 0xa184, 0x0007, 0x0010, 0x2001, | ||
964 | 0x0001, 0x0002, 0x2c92, 0x2c4d, 0x2bc7, 0x3c0b, 0x3c4f, 0x3c4f, | ||
965 | 0x3c0b, 0x3c49, 0x080c, 0x3c17, 0x0005, 0xa282, 0x0005, 0x0310, | ||
966 | 0x080c, 0x2575, 0x7898, 0x2040, 0x2300, 0x0002, 0x2ca1, 0x2ecb, | ||
967 | 0x2ed5, 0x2200, 0x0002, 0x2cbd, 0x2caa, 0x2cbd, 0x2ca8, 0x2ead, | ||
968 | 0x080c, 0x2575, 0x789b, 0x0018, 0x78a8, 0x2010, 0xa084, 0x00ff, | ||
969 | 0xa082, 0x0020, 0x0a04, 0x3a30, 0xa08a, 0x0004, 0x1a04, 0x3a30, | ||
970 | 0x0002, 0x3a30, 0x3a30, 0x3a30, 0x39e4, 0x789b, 0x0018, 0x79a8, | ||
971 | 0xa184, 0x0080, 0x0148, 0x0804, 0x3a30, 0x7000, 0xa005, 0x1dd8, | ||
972 | 0x2011, 0x0004, 0x0804, 0x35b7, 0xa184, 0x00ff, 0xa08a, 0x0010, | ||
973 | 0x1a04, 0x3a30, 0x0002, 0x2ce5, 0x2ce3, 0x2cf7, 0x2cfb, 0x2da9, | ||
974 | 0x3a30, 0x3a30, 0x2dab, 0x3a30, 0x3a30, 0x2ea9, 0x2ea9, 0x3a30, | ||
975 | 0x3a30, 0x3a30, 0x2eab, 0x080c, 0x2575, 0xd6e4, 0x0140, 0x2001, | ||
976 | 0x0300, 0x8000, 0x8000, 0x783a, 0x781b, 0x00c7, 0x0005, 0x6818, | ||
977 | 0xd0fc, 0x0118, 0x681b, 0x001d, 0x0c90, 0x0804, 0x3c0b, 0x681b, | ||
978 | 0x001d, 0x0804, 0x3a5b, 0x6920, 0x6922, 0xa684, 0x1800, 0x1904, | ||
979 | 0x2d4c, 0x6820, 0xd084, 0x1904, 0x2d54, 0x6818, 0xa086, 0x0008, | ||
980 | 0x1110, 0x681b, 0x0000, 0xd6d4, 0x0568, 0xd6bc, 0x0558, 0x7083, | ||
981 | 0x0000, 0x6818, 0xa084, 0x003f, 0xa08a, 0x000d, 0x0718, 0xa08a, | ||
982 | 0x000c, 0x7182, 0x2001, 0x000c, 0x800c, 0x7186, 0x789b, 0x0061, | ||
983 | 0x78aa, 0x0156, 0x0136, 0x0146, 0x0016, 0x3208, 0xa18c, 0x0600, | ||
984 | 0x0118, 0x20a1, 0x022b, 0x0010, 0x20a1, 0x012b, 0x001e, 0x789b, | ||
985 | 0x0000, 0x8000, 0x80ac, 0xad80, 0x000b, 0x2098, 0x53a6, 0x014e, | ||
986 | 0x013e, 0x015e, 0x6038, 0xa005, 0x1150, 0x681c, 0xa084, 0x000e, | ||
987 | 0x0904, 0x3a5b, 0x080c, 0x3a6d, 0x782b, 0x3008, 0x0010, 0x8001, | ||
988 | 0x603a, 0x781b, 0x0071, 0x0005, 0xd6e4, 0x0130, 0x781b, 0x0083, | ||
989 | 0x0005, 0x781b, 0x0083, 0x0005, 0xa684, 0x0060, 0x0dd0, 0xd6dc, | ||
990 | 0x0dc0, 0xd6fc, 0x01a0, 0xc6fc, 0x7e5a, 0x6eb6, 0x7adc, 0x79d8, | ||
991 | 0x78d0, 0x8007, 0xa084, 0x007f, 0xa108, 0xa291, 0x0000, 0x6b98, | ||
992 | 0x2100, 0xa302, 0x68b2, 0x6b94, 0x2200, 0xa303, 0x68ae, 0xd6f4, | ||
993 | 0x0118, 0xc6f4, 0x7e5a, 0x6eb6, 0x7000, 0xa086, 0x0003, 0x1148, | ||
994 | 0x0006, 0x080c, 0x3f4e, 0x080c, 0x4208, 0x000e, 0x781b, 0x0080, | ||
995 | 0x0005, 0xa006, 0x080c, 0x42e8, 0x6ab0, 0x69ac, 0x6c98, 0x6b94, | ||
996 | 0x2200, 0xa105, 0x0120, 0x2200, 0xa422, 0x2100, 0xa31b, 0x6caa, | ||
997 | 0x7cd2, 0x7cda, 0x6ba6, 0x7bd6, 0x7bde, 0x2300, 0xa405, 0x1130, | ||
998 | 0xc6f5, 0x7e5a, 0x6eb6, 0x781b, 0x0080, 0x0005, 0x781b, 0x0080, | ||
999 | 0x2200, 0xa115, 0x1118, 0x080c, 0x4208, 0x0005, 0x080c, 0x4235, | ||
1000 | 0x0005, 0x080c, 0x2575, 0x0804, 0x2e3f, 0x00c6, 0x7054, 0x2060, | ||
1001 | 0x6920, 0xa18c, 0xecff, 0x6922, 0x6000, 0xa084, 0xcfdf, 0x6002, | ||
1002 | 0x080c, 0x3917, 0xa006, 0x2040, 0x2038, 0x080c, 0x39bf, 0x0804, | ||
1003 | 0x2e33, 0x00c6, 0x7054, 0x2060, 0x2c48, 0x7aa8, 0xa294, 0x00ff, | ||
1004 | 0xa286, 0x0004, 0x11d8, 0x6920, 0xd1e4, 0x1170, 0x2039, 0x0000, | ||
1005 | 0x2041, 0x0000, 0x2031, 0x0000, 0xa006, 0x2010, 0x080c, 0x391a, | ||
1006 | 0x080c, 0x39bf, 0x0804, 0x2e33, 0xa18c, 0xecff, 0x6922, 0x6104, | ||
1007 | 0xa18c, 0xffdd, 0x6106, 0x6000, 0xc0ac, 0x6002, 0xa286, 0x0003, | ||
1008 | 0x01d0, 0x6104, 0xa184, 0x0010, 0x0548, 0x080c, 0x3b91, 0x080c, | ||
1009 | 0x399a, 0x88ff, 0x0518, 0x00ce, 0x789b, 0x0060, 0x2800, 0x78aa, | ||
1010 | 0x7e58, 0xc695, 0x7e5a, 0xd6d4, 0x1118, 0x781b, 0x006e, 0x0005, | ||
1011 | 0x781b, 0x0082, 0x0005, 0x6920, 0xd1cc, 0x0130, 0xa18c, 0xfdff, | ||
1012 | 0x6922, 0x6000, 0xc0ec, 0x6002, 0x2039, 0x0000, 0x2041, 0x0000, | ||
1013 | 0x2031, 0x0000, 0xa006, 0x2010, 0x080c, 0x39bf, 0xa286, 0x0001, | ||
1014 | 0x0158, 0x6104, 0xa184, 0x0008, 0x01b0, 0x080c, 0x3b91, 0x080c, | ||
1015 | 0x38b8, 0x88ff, 0x1980, 0x0078, 0x6920, 0xd1c4, 0x0130, 0xa18c, | ||
1016 | 0xfeff, 0x6922, 0x6000, 0xc0e4, 0x6002, 0x2031, 0x0000, 0xa006, | ||
1017 | 0x2010, 0x080c, 0x391a, 0x00ce, 0x7e58, 0xd6d4, 0x1118, 0x781b, | ||
1018 | 0x0071, 0x0005, 0x781b, 0x0083, 0x0005, 0x0804, 0x3a57, 0x2808, | ||
1019 | 0x789b, 0x0080, 0x2019, 0x0080, 0x78a8, 0xa094, 0x00ff, 0xa286, | ||
1020 | 0x0001, 0x11b8, 0x2300, 0xa102, 0xa086, 0x0001, 0x0904, 0x2dad, | ||
1021 | 0x7ca8, 0xa4a4, 0x00ff, 0xa480, 0x0002, 0xa300, 0x2018, 0xa102, | ||
1022 | 0x0a04, 0x2dc1, 0x0904, 0x2dc1, 0x24a8, 0x7aa8, 0x1f04, 0x2e5d, | ||
1023 | 0x0c18, 0xa284, 0x00f0, 0xa082, 0x0020, 0x06b8, 0x2200, 0xa082, | ||
1024 | 0x0021, 0x1698, 0x7aa8, 0x8318, 0x8318, 0x2100, 0xa302, 0x0aa0, | ||
1025 | 0xa286, 0x0023, 0x0950, 0x681c, 0xa084, 0xfff1, 0x681e, 0x7e58, | ||
1026 | 0xa684, 0xfff1, 0xc0a5, 0x2030, 0x7e5a, 0x6008, 0xc0a5, 0x600a, | ||
1027 | 0x78a0, 0xa005, 0x0904, 0x2e34, 0x20a8, 0x7998, 0x789b, 0x0060, | ||
1028 | 0x78aa, 0x2011, 0x0080, 0x799a, 0x78a8, 0x7998, 0x7a9a, 0x78aa, | ||
1029 | 0x7a98, 0x1f04, 0x2e8b, 0xc695, 0x7e5a, 0xd6d4, 0x1118, 0x781b, | ||
1030 | 0x006e, 0x0005, 0x781b, 0x0082, 0x0005, 0x8318, 0x2100, 0xa302, | ||
1031 | 0x0a04, 0x2e44, 0xa284, 0x0080, 0x1904, 0x3a5b, 0x78a0, 0xa005, | ||
1032 | 0x08c8, 0x0804, 0x3a5b, 0x0804, 0x3a30, 0x7054, 0xa04d, 0x789b, | ||
1033 | 0x0018, 0x78a8, 0xa084, 0x00ff, 0xa08e, 0x0001, 0x0110, 0x080c, | ||
1034 | 0x2575, 0x7aa8, 0xa294, 0x00ff, 0x784b, 0x0008, 0x78a8, 0xa084, | ||
1035 | 0x00ff, 0xa08a, 0x0005, 0x1a04, 0x3a30, 0x0002, 0x3a30, 0x382f, | ||
1036 | 0x3a30, 0x394a, 0x3d59, 0xa282, 0x0000, 0x1110, 0x080c, 0x2575, | ||
1037 | 0x080c, 0x3a61, 0x781b, 0x0082, 0x0005, 0xa282, 0x0003, 0x1110, | ||
1038 | 0x080c, 0x2575, 0xd4fc, 0x11d0, 0x7060, 0xa005, 0x0110, 0x080c, | ||
1039 | 0x2575, 0x6f14, 0x7772, 0xa7bc, 0x8f00, 0x080c, 0x3b95, 0x6008, | ||
1040 | 0xa085, 0x0021, 0x600a, 0x8738, 0xa784, 0x001f, 0x1db0, 0x080c, | ||
1041 | 0x3a64, 0x7063, 0x0002, 0x701f, 0x0009, 0x0010, 0x080c, 0x3a70, | ||
1042 | 0x781b, 0x0082, 0x0005, 0xa282, 0x0004, 0x0310, 0x080c, 0x2575, | ||
1043 | 0x2300, 0x0002, 0x2f05, 0x309b, 0x30d7, 0xa286, 0x0003, 0x0598, | ||
1044 | 0x7200, 0x7cd8, 0x7ddc, 0x7fd0, 0x71d0, 0xd1b4, 0x0528, 0xd1bc, | ||
1045 | 0x1518, 0x2001, 0x4701, 0x2004, 0xd0c4, 0x11f0, 0x7868, 0xa084, | ||
1046 | 0x00ff, 0x11d0, 0xa282, 0x0002, 0x12b8, 0x00d6, 0x783b, 0x8300, | ||
1047 | 0x781b, 0x0059, 0x70b8, 0xa06d, 0x68b4, 0x785a, 0x6894, 0x78d6, | ||
1048 | 0x78de, 0x6898, 0x78d2, 0x78da, 0xc1b4, 0x71d2, 0x7003, 0x0030, | ||
1049 | 0x00de, 0x2001, 0x0000, 0x0058, 0x783b, 0x1300, 0x781b, 0x0057, | ||
1050 | 0x2001, 0x0000, 0x0020, 0x7200, 0x7cd8, 0x7ddc, 0x7fd0, 0x7046, | ||
1051 | 0x68a0, 0xd0ec, 0x0118, 0x6008, 0xc08d, 0x600a, 0xa284, 0x000f, | ||
1052 | 0x0002, 0x307c, 0x2f56, 0x2f53, 0x31a7, 0x3232, 0x25c9, 0x2f51, | ||
1053 | 0x2f51, 0x080c, 0x2575, 0x6008, 0xc0d4, 0x600a, 0xd6e4, 0x0120, | ||
1054 | 0x7044, 0xa086, 0x0014, 0x11e8, 0x080c, 0x3f4e, 0x2009, 0x0000, | ||
1055 | 0x6818, 0xd0fc, 0x0108, 0x7044, 0xa086, 0x0014, 0x0168, 0x6818, | ||
1056 | 0xa086, 0x0008, 0x1904, 0x303e, 0x7858, 0xd09c, 0x0904, 0x303e, | ||
1057 | 0x6820, 0xd0ac, 0x0904, 0x303e, 0x681b, 0x0014, 0x2009, 0x0002, | ||
1058 | 0x04a8, 0x7868, 0xa08c, 0x00ff, 0x0588, 0xa186, 0x0008, 0x1158, | ||
1059 | 0x6008, 0xc0a4, 0x600a, 0x080c, 0x3772, 0x0540, 0x080c, 0x37e1, | ||
1060 | 0x080c, 0x3f4e, 0x0060, 0xa186, 0x0028, 0x1500, 0x6018, 0xa005, | ||
1061 | 0x0d78, 0x8001, 0x0d68, 0x8001, 0x0d58, 0x601e, 0x0c48, 0x6820, | ||
1062 | 0xd084, 0x0904, 0x25c9, 0xc084, 0x6822, 0x080c, 0x26bf, 0x7058, | ||
1063 | 0x00c6, 0x2060, 0x6800, 0x6002, 0x00ce, 0x6004, 0x6802, 0xa005, | ||
1064 | 0x2d00, 0x1108, 0x6002, 0x6006, 0x0804, 0x25c9, 0x0016, 0x81ff, | ||
1065 | 0x15f0, 0x7000, 0xa086, 0x0030, 0x05d0, 0x71d0, 0xd1bc, 0x15b8, | ||
1066 | 0xd1b4, 0x11e8, 0x705c, 0xa005, 0x1590, 0x70a0, 0xa086, 0x0001, | ||
1067 | 0x0570, 0x7003, 0x0000, 0x0046, 0x0056, 0x0076, 0x0066, 0x00c6, | ||
1068 | 0x00d6, 0x080c, 0x25f1, 0x00de, 0x00ce, 0x006e, 0x007e, 0x005e, | ||
1069 | 0x004e, 0x71d0, 0xd1b4, 0x11d8, 0x7003, 0x0040, 0x00c0, 0x080c, | ||
1070 | 0x3c5b, 0x11a8, 0x781b, 0x0068, 0x00d6, 0x70b8, 0xa06d, 0x68b4, | ||
1071 | 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, 0xc1b4, | ||
1072 | 0x71d2, 0x7003, 0x0030, 0x7808, 0xc08d, 0x780a, 0x00de, 0x080c, | ||
1073 | 0x30ff, 0x001e, 0x81ff, 0x0904, 0x303e, 0xa684, 0xdf00, 0x681e, | ||
1074 | 0x682b, 0x0000, 0x6f14, 0xa186, 0x0002, 0x1904, 0x303f, 0x6818, | ||
1075 | 0xa086, 0x0014, 0x1130, 0x2008, 0xd6e4, 0x0118, 0x7868, 0xa08c, | ||
1076 | 0x00ff, 0x080c, 0x3a7a, 0x080c, 0x26ca, 0x6820, 0xd0dc, 0x1578, | ||
1077 | 0x8717, 0xa294, 0x000f, 0x8213, 0x8213, 0x8213, 0xb284, 0x0600, | ||
1078 | 0x0118, 0xa290, 0x4bc0, 0x0010, 0xa290, 0x4c40, 0xa290, 0x0000, | ||
1079 | 0x221c, 0xd3c4, 0x0170, 0x6820, 0xd0e4, 0x0128, 0xa084, 0xefff, | ||
1080 | 0x6822, 0xc3ac, 0x2312, 0x8210, 0x2204, 0xa085, 0x0038, 0x2012, | ||
1081 | 0x8211, 0xd3d4, 0x0138, 0x68a0, 0xd0c4, 0x1120, 0x080c, 0x3167, | ||
1082 | 0x0804, 0x25c9, 0x6008, 0xc08d, 0x600a, 0x0008, 0x692a, 0x6916, | ||
1083 | 0x6818, 0xd0fc, 0x0110, 0x7044, 0x681a, 0xa68c, 0xdf00, 0x691e, | ||
1084 | 0x6410, 0x84ff, 0x0168, 0x2009, 0x4702, 0x2104, 0x8001, 0x200a, | ||
1085 | 0x8421, 0x6412, 0x1128, 0x2021, 0x4704, 0x2404, 0xc0a5, 0x2022, | ||
1086 | 0x6018, 0xa005, 0x0118, 0x8001, 0x601a, 0x1118, 0x6008, 0xc0a4, | ||
1087 | 0x600a, 0x6820, 0xd084, 0x1130, 0x6800, 0xa005, 0x1108, 0x6002, | ||
1088 | 0x6006, 0x0020, 0x7058, 0x2060, 0x6800, 0x6002, 0x2061, 0x4700, | ||
1089 | 0x6887, 0x0103, 0x2d08, 0x206b, 0x0000, 0x6068, 0xa005, 0x616a, | ||
1090 | 0x0110, 0x2d02, 0x0008, 0x616e, 0x7200, 0xa286, 0x0030, 0x0158, | ||
1091 | 0xa286, 0x0040, 0x1904, 0x25c9, 0x7003, 0x0002, 0x7048, 0x2068, | ||
1092 | 0x68c4, 0x2060, 0x0005, 0x7003, 0x0002, 0x70b8, 0xa06d, 0x68bc, | ||
1093 | 0x703e, 0x70b4, 0xa065, 0x68c0, 0x7056, 0x2d00, 0x704a, 0xad80, | ||
1094 | 0x0009, 0x7042, 0x0005, 0xa282, 0x0004, 0x0210, 0x080c, 0x2575, | ||
1095 | 0x2200, 0x0002, 0x30a6, 0x30b5, 0x30c1, 0x30b5, 0xa586, 0x1300, | ||
1096 | 0x0160, 0xa586, 0x8300, 0x1d90, 0x7003, 0x0000, 0x6018, 0x8001, | ||
1097 | 0x601a, 0x6008, 0xa084, 0xfbef, 0x600a, 0x7000, 0xa086, 0x0005, | ||
1098 | 0x0128, 0x080c, 0x3a61, 0x781b, 0x0082, 0x0005, 0x781b, 0x0083, | ||
1099 | 0x0005, 0x7890, 0x8007, 0x8001, 0xa084, 0x0007, 0xa080, 0x0018, | ||
1100 | 0x789a, 0x79a8, 0xa18c, 0x00ff, 0xa186, 0x0003, 0x0128, 0xa186, | ||
1101 | 0x0000, 0x0110, 0x0804, 0x3a30, 0x781b, 0x0083, 0x0005, 0x6820, | ||
1102 | 0xc095, 0x6822, 0x82ff, 0x1118, 0x080c, 0x3a61, 0x0030, 0x8211, | ||
1103 | 0x0110, 0x080c, 0x2575, 0x080c, 0x3a70, 0x781b, 0x0082, 0x0005, | ||
1104 | 0x080c, 0x3c6e, 0x7830, 0xa084, 0x00c0, 0x1170, 0x0016, 0x3208, | ||
1105 | 0xa18c, 0x0800, 0x001e, 0x0118, 0x0104, 0x30fc, 0x0010, 0x0304, | ||
1106 | 0x30fc, 0x791a, 0xa006, 0x0005, 0xa085, 0x0001, 0x0005, 0xa684, | ||
1107 | 0x0060, 0x1130, 0x682f, 0x0000, 0x6833, 0x0000, 0x0804, 0x3166, | ||
1108 | 0xd6dc, 0x1198, 0x68b4, 0xd0dc, 0x1180, 0x6998, 0x6a94, 0x692e, | ||
1109 | 0x6a32, 0x7044, 0xa005, 0x1130, 0x2200, 0xa105, 0x0904, 0x3f4e, | ||
1110 | 0x7047, 0x0015, 0x0804, 0x3f4e, 0x0005, 0xd6ac, 0x01f0, 0xd6f4, | ||
1111 | 0x0130, 0x682f, 0x0000, 0x6833, 0x0000, 0x0804, 0x3f4e, 0x68b4, | ||
1112 | 0xa084, 0x4000, 0xa635, 0xd6f4, 0x1da0, 0x7044, 0xa005, 0x1110, | ||
1113 | 0x7047, 0x0015, 0xd6dc, 0x1128, 0x68b4, 0xd0dc, 0x0110, 0x6ca8, | ||
1114 | 0x6da4, 0x6c2e, 0x6d32, 0x0804, 0x3f4e, 0xd6f4, 0x0130, 0x682f, | ||
1115 | 0x0000, 0x6833, 0x0000, 0x0804, 0x3f4e, 0x68b4, 0xa084, 0x4800, | ||
1116 | 0xa635, 0xd6f4, 0x1da0, 0x7044, 0xa005, 0x1110, 0x7047, 0x0015, | ||
1117 | 0x2408, 0x2510, 0x2700, 0x8007, 0xa084, 0x007f, 0xa108, 0xa291, | ||
1118 | 0x0000, 0x692e, 0x6a32, 0x2100, 0xa205, 0x1110, 0x0804, 0x3f4e, | ||
1119 | 0x7000, 0xa086, 0x0006, 0x0110, 0x0804, 0x3f4e, 0x0005, 0x6946, | ||
1120 | 0x6008, 0xc0cd, 0xd3cc, 0x0108, 0xc08d, 0x600a, 0x6818, 0x683a, | ||
1121 | 0x681b, 0x0006, 0x688f, 0x0000, 0x6893, 0x0000, 0x6a30, 0x692c, | ||
1122 | 0x6a3e, 0x6942, 0x682f, 0x0003, 0x6833, 0x0000, 0x6837, 0x0020, | ||
1123 | 0x6897, 0x0000, 0x689b, 0x0020, 0x7000, 0x0002, 0x25c9, 0x3196, | ||
1124 | 0x3190, 0x318e, 0x318e, 0x318e, 0x318e, 0x318e, 0x080c, 0x2575, | ||
1125 | 0x6820, 0xd084, 0x1118, 0x080c, 0x37c7, 0x0030, 0x7058, 0x2c50, | ||
1126 | 0x2060, 0x6800, 0x6002, 0x2a60, 0xaea0, 0x0017, 0x2404, 0xa005, | ||
1127 | 0x0110, 0x2020, 0x0cd8, 0x2d22, 0x206b, 0x0000, 0x0005, 0x080c, | ||
1128 | 0x37cd, 0x080c, 0x37e1, 0x6008, 0xc0cc, 0x600a, 0x682b, 0x0000, | ||
1129 | 0x789b, 0x000e, 0x6f14, 0x6938, 0x691a, 0x6944, 0x6916, 0x2009, | ||
1130 | 0x0000, 0xae86, 0x4740, 0x0110, 0x2009, 0x0001, 0x080c, 0x431f, | ||
1131 | 0xd6dc, 0x01c8, 0x691c, 0xc1ed, 0x691e, 0x6828, 0xa082, 0x000e, | ||
1132 | 0x0290, 0x6848, 0xa084, 0x000f, 0xa086, 0x000b, 0x1160, 0x685c, | ||
1133 | 0xa086, 0x0047, 0x1140, 0x2001, 0x4701, 0x2004, 0xd0ac, 0x1118, | ||
1134 | 0x2700, 0x080c, 0x249e, 0x6818, 0xd0fc, 0x0140, 0x681b, 0x0000, | ||
1135 | 0x7868, 0xa08c, 0x00ff, 0x0110, 0x681b, 0x001e, 0xaea0, 0x0017, | ||
1136 | 0x6800, 0x2022, 0x6a3c, 0x6940, 0x6a32, 0x692e, 0x68c0, 0x2060, | ||
1137 | 0x6000, 0xd0a4, 0x0580, 0x2041, 0x0021, 0x2049, 0x0005, 0x2051, | ||
1138 | 0x0020, 0x00d6, 0x00f6, 0x0156, 0x0146, 0x2079, 0x4700, 0x080c, | ||
1139 | 0x1bb2, 0x014e, 0x015e, 0x00fe, 0x70c8, 0x2010, 0x2009, 0x0101, | ||
1140 | 0x0026, 0x2204, 0xa06d, 0x0140, 0x6814, 0xa706, 0x0110, 0x6800, | ||
1141 | 0x0cc8, 0x6820, 0xc0d5, 0x6822, 0x002e, 0x8210, 0x8109, 0x1d80, | ||
1142 | 0x00de, 0x7063, 0x0003, 0x707b, 0x0000, 0x7772, 0x707f, 0x000f, | ||
1143 | 0x71d0, 0xc1c4, 0x71d2, 0x6818, 0xa086, 0x0002, 0x1138, 0x6817, | ||
1144 | 0x0000, 0x682b, 0x0000, 0x681c, 0xc0ec, 0x681e, 0x080c, 0x1dbf, | ||
1145 | 0x0804, 0x25c9, 0x7cd8, 0x7ddc, 0x7fd0, 0x080c, 0x30ff, 0x682b, | ||
1146 | 0x0000, 0x789b, 0x000e, 0x6f14, 0x080c, 0x3c72, 0xa08c, 0x00ff, | ||
1147 | 0x6916, 0x6818, 0xd0fc, 0x0110, 0x7044, 0x681a, 0xa68c, 0xdf00, | ||
1148 | 0x691e, 0x7063, 0x0000, 0x0804, 0x25c9, 0x7000, 0xa005, 0x1110, | ||
1149 | 0x0804, 0x25c9, 0xa006, 0x080c, 0x3f4e, 0x6920, 0xd1ac, 0x1110, | ||
1150 | 0x681b, 0x0014, 0xa68c, 0xdf00, 0x691e, 0x682b, 0x0000, 0x6820, | ||
1151 | 0xa084, 0x00ff, 0x6822, 0x7000, 0x0002, 0x25c9, 0x326f, 0x326f, | ||
1152 | 0x3272, 0x3272, 0x3272, 0x326d, 0x326d, 0x080c, 0x2575, 0x6818, | ||
1153 | 0x0804, 0x2f3b, 0x6008, 0xc0a4, 0x600a, 0x6817, 0x0000, 0x0804, | ||
1154 | 0x3795, 0x2300, 0x0002, 0x327e, 0x3280, 0x32ce, 0x080c, 0x2575, | ||
1155 | 0xd6fc, 0x1904, 0x2d5b, 0x7000, 0xa00d, 0x0002, 0x25c9, 0x3290, | ||
1156 | 0x3290, 0x32ba, 0x3290, 0x32cb, 0x328e, 0x328e, 0x080c, 0x2575, | ||
1157 | 0xa684, 0x0060, 0x0538, 0xa086, 0x0060, 0x1510, 0xc6ac, 0xc6f4, | ||
1158 | 0xc6ed, 0x7e5a, 0x6eb6, 0x681c, 0xc0ac, 0x681e, 0xa186, 0x0002, | ||
1159 | 0x0148, 0x080c, 0x3f4e, 0x69ac, 0x68b0, 0xa115, 0x0118, 0x080c, | ||
1160 | 0x4235, 0x0010, 0x080c, 0x4208, 0x781b, 0x0083, 0x71d0, 0xd1b4, | ||
1161 | 0x1904, 0x25c6, 0x70a0, 0xa086, 0x0001, 0x1904, 0x260d, 0x0005, | ||
1162 | 0xd6ec, 0x09f0, 0x6818, 0xd0fc, 0x0170, 0xd6f4, 0x1130, 0x681b, | ||
1163 | 0x0015, 0x781b, 0x0083, 0x0804, 0x25c6, 0x681b, 0x0007, 0x682f, | ||
1164 | 0x0000, 0x6833, 0x0000, 0x080c, 0x3c17, 0x0005, 0x080c, 0x2575, | ||
1165 | 0x2300, 0x0002, 0x32d7, 0x32f9, 0x3351, 0x080c, 0x2575, 0x7000, | ||
1166 | 0x0002, 0x32e1, 0x32e3, 0x32ea, 0x32e1, 0x32e1, 0x32e1, 0x32e1, | ||
1167 | 0x32e1, 0x080c, 0x2575, 0x69ac, 0x68b0, 0xa115, 0x0118, 0x080c, | ||
1168 | 0x4235, 0x0010, 0x080c, 0x4208, 0x681c, 0xc0b4, 0x681e, 0x70d0, | ||
1169 | 0xd0b4, 0x1904, 0x25c6, 0x70a0, 0xa086, 0x0001, 0x1904, 0x260d, | ||
1170 | 0x0005, 0xd6fc, 0x1904, 0x3341, 0x7000, 0xa00d, 0x0002, 0x25c9, | ||
1171 | 0x330f, 0x3309, 0x3339, 0x330f, 0x333e, 0x3307, 0x3307, 0x080c, | ||
1172 | 0x2575, 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, 0xa684, | ||
1173 | 0x0060, 0x0538, 0xa086, 0x0060, 0x1510, 0xa6b4, 0xbfbf, 0xc6ed, | ||
1174 | 0x7e5a, 0x6eb6, 0xa186, 0x0002, 0x0148, 0x080c, 0x3f4e, 0x69ac, | ||
1175 | 0x68b0, 0xa115, 0x0118, 0x080c, 0x4235, 0x0010, 0x080c, 0x4208, | ||
1176 | 0x781b, 0x0083, 0x681c, 0xc0b4, 0x681e, 0x71d0, 0xd1b4, 0x1904, | ||
1177 | 0x25c6, 0x70a0, 0xa086, 0x0001, 0x1904, 0x260d, 0x0005, 0xd6ec, | ||
1178 | 0x09f0, 0x6818, 0xd0fc, 0x0110, 0x681b, 0x0007, 0x781b, 0x00fb, | ||
1179 | 0x0005, 0xc6fc, 0x7e5a, 0x7adc, 0x79d8, 0x6b98, 0x2100, 0xa302, | ||
1180 | 0x68b2, 0x6b94, 0x2200, 0xa303, 0x68ae, 0x79d2, 0x781b, 0x0083, | ||
1181 | 0x0005, 0xd6dc, 0x0130, 0x782b, 0x3009, 0x781b, 0x0083, 0x0804, | ||
1182 | 0x25c6, 0x7884, 0xc0ac, 0x7886, 0x78e4, 0xa084, 0x0008, 0x1150, | ||
1183 | 0xa484, 0x0200, 0x0108, 0xc6f5, 0xc6dd, 0x7e5a, 0x781b, 0x0083, | ||
1184 | 0x0804, 0x25c6, 0x6820, 0xc095, 0x6822, 0x080c, 0x3c02, 0xc6dd, | ||
1185 | 0x080c, 0x3a61, 0x781b, 0x0082, 0x0804, 0x25c6, 0x2300, 0x0002, | ||
1186 | 0x337b, 0x337d, 0x337f, 0x080c, 0x2575, 0x0804, 0x3a5b, 0x7d98, | ||
1187 | 0xd6d4, 0x15a8, 0x79e4, 0xd1ac, 0x0130, 0x78ec, 0xa084, 0x0003, | ||
1188 | 0x0110, 0x782b, 0x3009, 0x789b, 0x0060, 0x78ab, 0x0000, 0xa684, | ||
1189 | 0xfffb, 0x785a, 0x7d9a, 0x79e4, 0xd1ac, 0x0120, 0x78ec, 0xa084, | ||
1190 | 0x0003, 0x1120, 0x2001, 0x0014, 0x0804, 0x2f3b, 0x7884, 0xd0fc, | ||
957 | 0x1118, 0xa184, 0x0007, 0x0090, 0xa184, 0x0007, 0xa086, 0x0004, | 1191 | 0x1118, 0xa184, 0x0007, 0x0090, 0xa184, 0x0007, 0xa086, 0x0004, |
958 | 0x1118, 0x2001, 0x0000, 0x0050, 0xa184, 0x0007, 0xa086, 0x0005, | 1192 | 0x1118, 0x2001, 0x0000, 0x0050, 0xa184, 0x0007, 0xa086, 0x0005, |
959 | 0x0118, 0xa184, 0x0007, 0x0010, 0x2001, 0x0001, 0x0002, 0x2c6f, | 1193 | 0x0118, 0xa184, 0x0007, 0x0010, 0x2001, 0x0001, 0x04c2, 0x7a90, |
960 | 0x2c2a, 0x2ba4, 0x3be5, 0x3c29, 0x3c29, 0x3be5, 0x3c23, 0x080c, | 1194 | 0xa294, 0x0007, 0x789b, 0x0060, 0x79a8, 0x81ff, 0x0568, 0x789b, |
961 | 0x3bf1, 0x0005, 0xa282, 0x0005, 0x0310, 0x080c, 0x254c, 0x7898, | 1195 | 0x0080, 0x7ba8, 0xa384, 0x0001, 0x11d0, 0x7ba8, 0x7ba8, 0xa386, |
962 | 0x2040, 0x2300, 0x0002, 0x2c7e, 0x2ea8, 0x2eb2, 0x2200, 0x0002, | 1196 | 0x0004, 0x1118, 0x2009, 0xffdf, 0x0058, 0xa386, 0x0001, 0x1118, |
963 | 0x2c9a, 0x2c87, 0x2c9a, 0x2c85, 0x2e8a, 0x080c, 0x254c, 0x789b, | 1197 | 0x2009, 0xfff7, 0x0028, 0xa386, 0x0003, 0x1148, 0x2009, 0xffef, |
964 | 0x0018, 0x78a8, 0x2010, 0xa084, 0x00ff, 0xa082, 0x0020, 0x0a04, | 1198 | 0x00c6, 0x7054, 0x2060, 0x6004, 0xa104, 0x6006, 0x00ce, 0x789b, |
965 | 0x3a0b, 0xa08a, 0x0004, 0x1a04, 0x3a0b, 0x0002, 0x3a0b, 0x3a0b, | 1199 | 0x0060, 0x78ab, 0x0000, 0xa684, 0xfffb, 0x785a, 0x782b, 0x3009, |
966 | 0x3a0b, 0x39c1, 0x789b, 0x0018, 0x79a8, 0xa184, 0x0080, 0x0148, | 1200 | 0x6920, 0xa18c, 0xecff, 0x6922, 0x7d9a, 0x0804, 0x3c0b, 0x2bd1, |
967 | 0x0804, 0x3a0b, 0x7000, 0xa005, 0x1dd8, 0x2011, 0x0004, 0x0804, | 1201 | 0x2bda, 0x33f9, 0x33ff, 0x33f7, 0x33f7, 0x3c0b, 0x3c0b, 0x080c, |
968 | 0x3594, 0xa184, 0x00ff, 0xa08a, 0x0010, 0x1a04, 0x3a0b, 0x0002, | 1202 | 0x2575, 0x6920, 0xa18c, 0xfcff, 0x6922, 0x0804, 0x3c11, 0x6920, |
969 | 0x2cc2, 0x2cc0, 0x2cd4, 0x2cd8, 0x2d86, 0x3a0b, 0x3a0b, 0x2d88, | 1203 | 0xa18c, 0xfcff, 0x6922, 0x0804, 0x3c0b, 0x79e4, 0xa184, 0x0030, |
970 | 0x3a0b, 0x3a0b, 0x2e86, 0x2e86, 0x3a0b, 0x3a0b, 0x3a0b, 0x2e88, | 1204 | 0x0120, 0x78ec, 0xa084, 0x0003, 0x1570, 0x7000, 0xa086, 0x0004, |
971 | 0x080c, 0x254c, 0xd6e4, 0x0140, 0x2001, 0x0300, 0x8000, 0x8000, | 1205 | 0x1190, 0x7060, 0xa086, 0x0002, 0x1130, 0x2011, 0x0002, 0x2019, |
972 | 0x783a, 0x781b, 0x00c7, 0x0005, 0x6818, 0xd0fc, 0x0118, 0x681b, | 1206 | 0x0000, 0x0804, 0x2a85, 0x7060, 0xa086, 0x0006, 0x0db0, 0x7060, |
973 | 0x001d, 0x0c90, 0x0804, 0x3be5, 0x681b, 0x001d, 0x0804, 0x3a36, | 1207 | 0xa086, 0x0004, 0x0d90, 0x7000, 0xa086, 0x0000, 0x0904, 0x25c6, |
974 | 0x6920, 0x6922, 0xa684, 0x1800, 0x1904, 0x2d29, 0x6820, 0xd084, | 1208 | 0x6920, 0xa184, 0x0420, 0x0128, 0xc1d4, 0x6922, 0x6818, 0x0804, |
975 | 0x1904, 0x2d31, 0x6818, 0xa086, 0x0008, 0x1110, 0x681b, 0x0000, | 1209 | 0x2f3b, 0x6818, 0xa08e, 0x0002, 0x0120, 0xc0fd, 0x681a, 0x2001, |
976 | 0xd6d4, 0x0568, 0xd6bc, 0x0558, 0x7083, 0x0000, 0x6818, 0xa084, | 1210 | 0x0014, 0x0804, 0x2f3b, 0x7884, 0xd0fc, 0x1118, 0xa184, 0x0007, |
977 | 0x003f, 0xa08a, 0x000d, 0x0718, 0xa08a, 0x000c, 0x7182, 0x2001, | ||
978 | 0x000c, 0x800c, 0x7186, 0x789b, 0x0061, 0x78aa, 0x0156, 0x0136, | ||
979 | 0x0146, 0x0016, 0x3208, 0xa18c, 0x0600, 0x0118, 0x20a1, 0x022b, | ||
980 | 0x0010, 0x20a1, 0x012b, 0x001e, 0x789b, 0x0000, 0x8000, 0x80ac, | ||
981 | 0xad80, 0x000b, 0x2098, 0x53a6, 0x014e, 0x013e, 0x015e, 0x6038, | ||
982 | 0xa005, 0x1150, 0x681c, 0xa084, 0x000e, 0x0904, 0x3a36, 0x080c, | ||
983 | 0x3a48, 0x782b, 0x3008, 0x0010, 0x8001, 0x603a, 0x781b, 0x0071, | ||
984 | 0x0005, 0xd6e4, 0x0130, 0x781b, 0x0083, 0x0005, 0x781b, 0x0083, | ||
985 | 0x0005, 0xa684, 0x0060, 0x0dd0, 0xd6dc, 0x0dc0, 0xd6fc, 0x01a0, | ||
986 | 0xc6fc, 0x7e5a, 0x6eb6, 0x7adc, 0x79d8, 0x78d0, 0x8007, 0xa084, | ||
987 | 0x007f, 0xa108, 0xa291, 0x0000, 0x6b98, 0x2100, 0xa302, 0x68b2, | ||
988 | 0x6b94, 0x2200, 0xa303, 0x68ae, 0xd6f4, 0x0118, 0xc6f4, 0x7e5a, | ||
989 | 0x6eb6, 0x7000, 0xa086, 0x0003, 0x1148, 0x0006, 0x080c, 0x3f26, | ||
990 | 0x080c, 0x41d9, 0x000e, 0x781b, 0x0080, 0x0005, 0xa006, 0x080c, | ||
991 | 0x42b5, 0x6ab0, 0x69ac, 0x6c98, 0x6b94, 0x2200, 0xa105, 0x0120, | ||
992 | 0x2200, 0xa422, 0x2100, 0xa31b, 0x6caa, 0x7cd2, 0x7cda, 0x6ba6, | ||
993 | 0x7bd6, 0x7bde, 0x2300, 0xa405, 0x1130, 0xc6f5, 0x7e5a, 0x6eb6, | ||
994 | 0x781b, 0x0080, 0x0005, 0x781b, 0x0080, 0x2200, 0xa115, 0x1118, | ||
995 | 0x080c, 0x41d9, 0x0005, 0x080c, 0x4206, 0x0005, 0x080c, 0x254c, | ||
996 | 0x0804, 0x2e1c, 0x00c6, 0x7054, 0x2060, 0x6920, 0xa18c, 0xecff, | ||
997 | 0x6922, 0x6000, 0xa084, 0xcfdf, 0x6002, 0x080c, 0x38f4, 0xa006, | ||
998 | 0x2040, 0x2038, 0x080c, 0x399c, 0x0804, 0x2e10, 0x00c6, 0x7054, | ||
999 | 0x2060, 0x2c48, 0x7aa8, 0xa294, 0x00ff, 0xa286, 0x0004, 0x11d8, | ||
1000 | 0x6920, 0xd1e4, 0x1170, 0x2039, 0x0000, 0x2041, 0x0000, 0x2031, | ||
1001 | 0x0000, 0xa006, 0x2010, 0x080c, 0x38f7, 0x080c, 0x399c, 0x0804, | ||
1002 | 0x2e10, 0xa18c, 0xecff, 0x6922, 0x6104, 0xa18c, 0xffdd, 0x6106, | ||
1003 | 0x6000, 0xc0ac, 0x6002, 0xa286, 0x0003, 0x01d0, 0x6104, 0xa184, | ||
1004 | 0x0010, 0x0548, 0x080c, 0x3b6b, 0x080c, 0x3977, 0x88ff, 0x0518, | ||
1005 | 0x00ce, 0x789b, 0x0060, 0x2800, 0x78aa, 0x7e58, 0xc695, 0x7e5a, | ||
1006 | 0xd6d4, 0x1118, 0x781b, 0x006e, 0x0005, 0x781b, 0x0082, 0x0005, | ||
1007 | 0x6920, 0xd1cc, 0x0130, 0xa18c, 0xfdff, 0x6922, 0x6000, 0xc0ec, | ||
1008 | 0x6002, 0x2039, 0x0000, 0x2041, 0x0000, 0x2031, 0x0000, 0xa006, | ||
1009 | 0x2010, 0x080c, 0x399c, 0xa286, 0x0001, 0x0158, 0x6104, 0xa184, | ||
1010 | 0x0008, 0x01b0, 0x080c, 0x3b6b, 0x080c, 0x3895, 0x88ff, 0x1980, | ||
1011 | 0x0078, 0x6920, 0xd1c4, 0x0130, 0xa18c, 0xfeff, 0x6922, 0x6000, | ||
1012 | 0xc0e4, 0x6002, 0x2031, 0x0000, 0xa006, 0x2010, 0x080c, 0x38f7, | ||
1013 | 0x00ce, 0x7e58, 0xd6d4, 0x1118, 0x781b, 0x0071, 0x0005, 0x781b, | ||
1014 | 0x0083, 0x0005, 0x0804, 0x3a32, 0x2808, 0x789b, 0x0080, 0x2019, | ||
1015 | 0x0080, 0x78a8, 0xa094, 0x00ff, 0xa286, 0x0001, 0x11b8, 0x2300, | ||
1016 | 0xa102, 0xa086, 0x0001, 0x0904, 0x2d8a, 0x7ca8, 0xa4a4, 0x00ff, | ||
1017 | 0xa480, 0x0002, 0xa300, 0x2018, 0xa102, 0x0a04, 0x2d9e, 0x0904, | ||
1018 | 0x2d9e, 0x24a8, 0x7aa8, 0x1f04, 0x2e3a, 0x0c18, 0xa284, 0x00f0, | ||
1019 | 0xa082, 0x0020, 0x06b8, 0x2200, 0xa082, 0x0021, 0x1698, 0x7aa8, | ||
1020 | 0x8318, 0x8318, 0x2100, 0xa302, 0x0aa0, 0xa286, 0x0023, 0x0950, | ||
1021 | 0x681c, 0xa084, 0xfff1, 0x681e, 0x7e58, 0xa684, 0xfff1, 0xc0a5, | ||
1022 | 0x2030, 0x7e5a, 0x6008, 0xc0a5, 0x600a, 0x78a0, 0x8001, 0x0904, | ||
1023 | 0x2e10, 0x20a8, 0x7998, 0x789b, 0x0060, 0x78aa, 0x2011, 0x0080, | ||
1024 | 0x799a, 0x78a8, 0x7998, 0x7a9a, 0x78aa, 0x7a98, 0x1f04, 0x2e68, | ||
1025 | 0xc695, 0x7e5a, 0xd6d4, 0x1118, 0x781b, 0x006e, 0x0005, 0x781b, | ||
1026 | 0x0082, 0x0005, 0x8318, 0x2100, 0xa302, 0x0a04, 0x2e21, 0xa284, | ||
1027 | 0x0080, 0x1904, 0x3a36, 0x78a0, 0xa005, 0x08c8, 0x0804, 0x3a36, | ||
1028 | 0x0804, 0x3a0b, 0x7054, 0xa04d, 0x789b, 0x0018, 0x78a8, 0xa084, | ||
1029 | 0x00ff, 0xa08e, 0x0001, 0x0110, 0x080c, 0x254c, 0x7aa8, 0xa294, | ||
1030 | 0x00ff, 0x784b, 0x0008, 0x78a8, 0xa084, 0x00ff, 0xa08a, 0x0005, | ||
1031 | 0x1a04, 0x3a0b, 0x0002, 0x3a0b, 0x380c, 0x3a0b, 0x3927, 0x3d31, | ||
1032 | 0xa282, 0x0000, 0x1110, 0x080c, 0x254c, 0x080c, 0x3a3c, 0x781b, | ||
1033 | 0x0082, 0x0005, 0xa282, 0x0003, 0x1110, 0x080c, 0x254c, 0xd4fc, | ||
1034 | 0x11d0, 0x7060, 0xa005, 0x0110, 0x080c, 0x254c, 0x6f14, 0x7772, | ||
1035 | 0xa7bc, 0x8f00, 0x080c, 0x3b6f, 0x6008, 0xa085, 0x0021, 0x600a, | ||
1036 | 0x8738, 0xa784, 0x001f, 0x1db0, 0x080c, 0x3a3f, 0x7063, 0x0002, | ||
1037 | 0x701f, 0x0009, 0x0010, 0x080c, 0x3a4b, 0x781b, 0x0082, 0x0005, | ||
1038 | 0xa282, 0x0004, 0x0310, 0x080c, 0x254c, 0x2300, 0x0002, 0x2ee2, | ||
1039 | 0x3078, 0x30b4, 0xa286, 0x0003, 0x0598, 0x7200, 0x7cd8, 0x7ddc, | ||
1040 | 0x7fd0, 0x71d0, 0xd1b4, 0x0528, 0xd1bc, 0x1518, 0x2001, 0x4601, | ||
1041 | 0x2004, 0xd0c4, 0x11f0, 0x7868, 0xa084, 0x00ff, 0x11d0, 0xa282, | ||
1042 | 0x0002, 0x12b8, 0x00d6, 0x783b, 0x8300, 0x781b, 0x0059, 0x70b8, | ||
1043 | 0xa06d, 0x68b4, 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, | ||
1044 | 0x78da, 0xc1b4, 0x71d2, 0x7003, 0x0030, 0x00de, 0x2001, 0x0000, | ||
1045 | 0x0058, 0x783b, 0x1300, 0x781b, 0x0057, 0x2001, 0x0000, 0x0020, | ||
1046 | 0x7200, 0x7cd8, 0x7ddc, 0x7fd0, 0x7046, 0x68a0, 0xd0ec, 0x0118, | ||
1047 | 0x6008, 0xc08d, 0x600a, 0xa284, 0x000f, 0x0002, 0x3059, 0x2f33, | ||
1048 | 0x2f30, 0x3184, 0x320f, 0x25a0, 0x2f2e, 0x2f2e, 0x080c, 0x254c, | ||
1049 | 0x6008, 0xc0d4, 0x600a, 0xd6e4, 0x0120, 0x7044, 0xa086, 0x0014, | ||
1050 | 0x11e8, 0x080c, 0x3f26, 0x2009, 0x0000, 0x6818, 0xd0fc, 0x0108, | ||
1051 | 0x7044, 0xa086, 0x0014, 0x0168, 0x6818, 0xa086, 0x0008, 0x1904, | ||
1052 | 0x301b, 0x7858, 0xd09c, 0x0904, 0x301b, 0x6820, 0xd0ac, 0x0904, | ||
1053 | 0x301b, 0x681b, 0x0014, 0x2009, 0x0002, 0x04a8, 0x7868, 0xa08c, | ||
1054 | 0x00ff, 0x0588, 0xa186, 0x0008, 0x1158, 0x6008, 0xc0a4, 0x600a, | ||
1055 | 0x080c, 0x374f, 0x0540, 0x080c, 0x37be, 0x080c, 0x3f26, 0x0060, | ||
1056 | 0xa186, 0x0028, 0x1500, 0x6018, 0xa005, 0x0d78, 0x8001, 0x0d68, | ||
1057 | 0x8001, 0x0d58, 0x601e, 0x0c48, 0x6820, 0xd084, 0x0904, 0x25a0, | ||
1058 | 0xc084, 0x6822, 0x080c, 0x2693, 0x7058, 0x00c6, 0x2060, 0x6800, | ||
1059 | 0x6002, 0x00ce, 0x6004, 0x6802, 0xa005, 0x2d00, 0x1108, 0x6002, | ||
1060 | 0x6006, 0x0804, 0x25a0, 0x0016, 0x81ff, 0x15f0, 0x7000, 0xa086, | ||
1061 | 0x0030, 0x05d0, 0x71d0, 0xd1bc, 0x15b8, 0xd1b4, 0x11e8, 0x705c, | ||
1062 | 0xa005, 0x1590, 0x70a0, 0xa086, 0x0001, 0x0570, 0x7003, 0x0000, | ||
1063 | 0x0046, 0x0056, 0x0076, 0x0066, 0x00c6, 0x00d6, 0x080c, 0x25c5, | ||
1064 | 0x00de, 0x00ce, 0x006e, 0x007e, 0x005e, 0x004e, 0x71d0, 0xd1b4, | ||
1065 | 0x11d8, 0x7003, 0x0040, 0x00c0, 0x080c, 0x3c33, 0x11a8, 0x781b, | ||
1066 | 0x0068, 0x00d6, 0x70b8, 0xa06d, 0x68b4, 0x785a, 0x6894, 0x78d6, | ||
1067 | 0x78de, 0x6898, 0x78d2, 0x78da, 0xc1b4, 0x71d2, 0x7003, 0x0030, | ||
1068 | 0x7808, 0xc08d, 0x780a, 0x00de, 0x080c, 0x30dc, 0x001e, 0x81ff, | ||
1069 | 0x0904, 0x301b, 0xa684, 0xdf00, 0x681e, 0x682b, 0x0000, 0x6f14, | ||
1070 | 0xa186, 0x0002, 0x1904, 0x301c, 0x6818, 0xa086, 0x0014, 0x1130, | ||
1071 | 0x2008, 0xd6e4, 0x0118, 0x7868, 0xa08c, 0x00ff, 0x080c, 0x3a55, | ||
1072 | 0x080c, 0x269e, 0x6820, 0xd0dc, 0x1578, 0x8717, 0xa294, 0x000f, | ||
1073 | 0x8213, 0x8213, 0x8213, 0xb284, 0x0600, 0x0118, 0xa290, 0x4ac0, | ||
1074 | 0x0010, 0xa290, 0x4b40, 0xa290, 0x0000, 0x221c, 0xd3c4, 0x0170, | ||
1075 | 0x6820, 0xd0e4, 0x0128, 0xa084, 0xefff, 0x6822, 0xc3ac, 0x2312, | ||
1076 | 0x8210, 0x2204, 0xa085, 0x0038, 0x2012, 0x8211, 0xd3d4, 0x0138, | ||
1077 | 0x68a0, 0xd0c4, 0x1120, 0x080c, 0x3144, 0x0804, 0x25a0, 0x6008, | ||
1078 | 0xc08d, 0x600a, 0x0008, 0x692a, 0x6916, 0x6818, 0xd0fc, 0x0110, | ||
1079 | 0x7044, 0x681a, 0xa68c, 0xdf00, 0x691e, 0x6410, 0x84ff, 0x0168, | ||
1080 | 0x2009, 0x4602, 0x2104, 0x8001, 0x200a, 0x8421, 0x6412, 0x1128, | ||
1081 | 0x2021, 0x4604, 0x2404, 0xc0a5, 0x2022, 0x6018, 0xa005, 0x0118, | ||
1082 | 0x8001, 0x601a, 0x1118, 0x6008, 0xc0a4, 0x600a, 0x6820, 0xd084, | ||
1083 | 0x1130, 0x6800, 0xa005, 0x1108, 0x6002, 0x6006, 0x0020, 0x7058, | ||
1084 | 0x2060, 0x6800, 0x6002, 0x2061, 0x4600, 0x6887, 0x0103, 0x2d08, | ||
1085 | 0x206b, 0x0000, 0x6068, 0xa005, 0x616a, 0x0110, 0x2d02, 0x0008, | ||
1086 | 0x616e, 0x7200, 0xa286, 0x0030, 0x0158, 0xa286, 0x0040, 0x1904, | ||
1087 | 0x25a0, 0x7003, 0x0002, 0x7048, 0x2068, 0x68c4, 0x2060, 0x0005, | ||
1088 | 0x7003, 0x0002, 0x70b8, 0xa06d, 0x68bc, 0x703e, 0x70b4, 0xa065, | ||
1089 | 0x68c0, 0x7056, 0x2d00, 0x704a, 0xad80, 0x0009, 0x7042, 0x0005, | ||
1090 | 0xa282, 0x0004, 0x0210, 0x080c, 0x254c, 0x2200, 0x0002, 0x3083, | ||
1091 | 0x3092, 0x309e, 0x3092, 0xa586, 0x1300, 0x0160, 0xa586, 0x8300, | ||
1092 | 0x1d90, 0x7003, 0x0000, 0x6018, 0x8001, 0x601a, 0x6008, 0xa084, | ||
1093 | 0xfbef, 0x600a, 0x7000, 0xa086, 0x0005, 0x0128, 0x080c, 0x3a3c, | ||
1094 | 0x781b, 0x0082, 0x0005, 0x781b, 0x0083, 0x0005, 0x7890, 0x8007, | ||
1095 | 0x8001, 0xa084, 0x0007, 0xa080, 0x0018, 0x789a, 0x79a8, 0xa18c, | ||
1096 | 0x00ff, 0xa186, 0x0003, 0x0128, 0xa186, 0x0000, 0x0110, 0x0804, | ||
1097 | 0x3a0b, 0x781b, 0x0083, 0x0005, 0x6820, 0xc095, 0x6822, 0x82ff, | ||
1098 | 0x1118, 0x080c, 0x3a3c, 0x0030, 0x8211, 0x0110, 0x080c, 0x254c, | ||
1099 | 0x080c, 0x3a4b, 0x781b, 0x0082, 0x0005, 0x080c, 0x3c46, 0x7830, | ||
1100 | 0xa084, 0x00c0, 0x1170, 0x0016, 0x3208, 0xa18c, 0x0800, 0x001e, | ||
1101 | 0x0118, 0x0104, 0x30d9, 0x0010, 0x0304, 0x30d9, 0x791a, 0xa006, | ||
1102 | 0x0005, 0xa085, 0x0001, 0x0005, 0xa684, 0x0060, 0x1130, 0x682f, | ||
1103 | 0x0000, 0x6833, 0x0000, 0x0804, 0x3143, 0xd6dc, 0x1198, 0x68b4, | ||
1104 | 0xd0dc, 0x1180, 0x6998, 0x6a94, 0x692e, 0x6a32, 0x7044, 0xa005, | ||
1105 | 0x1130, 0x2200, 0xa105, 0x0904, 0x3f26, 0x7047, 0x0015, 0x0804, | ||
1106 | 0x3f26, 0x0005, 0xd6ac, 0x01f0, 0xd6f4, 0x0130, 0x682f, 0x0000, | ||
1107 | 0x6833, 0x0000, 0x0804, 0x3f26, 0x68b4, 0xa084, 0x4000, 0xa635, | ||
1108 | 0xd6f4, 0x1da0, 0x7044, 0xa005, 0x1110, 0x7047, 0x0015, 0xd6dc, | ||
1109 | 0x1128, 0x68b4, 0xd0dc, 0x0110, 0x6ca8, 0x6da4, 0x6c2e, 0x6d32, | ||
1110 | 0x0804, 0x3f26, 0xd6f4, 0x0130, 0x682f, 0x0000, 0x6833, 0x0000, | ||
1111 | 0x0804, 0x3f26, 0x68b4, 0xa084, 0x4800, 0xa635, 0xd6f4, 0x1da0, | ||
1112 | 0x7044, 0xa005, 0x1110, 0x7047, 0x0015, 0x2408, 0x2510, 0x2700, | ||
1113 | 0x8007, 0xa084, 0x007f, 0xa108, 0xa291, 0x0000, 0x692e, 0x6a32, | ||
1114 | 0x2100, 0xa205, 0x1110, 0x0804, 0x3f26, 0x7000, 0xa086, 0x0006, | ||
1115 | 0x0110, 0x0804, 0x3f26, 0x0005, 0x6946, 0x6008, 0xc0cd, 0xd3cc, | ||
1116 | 0x0108, 0xc08d, 0x600a, 0x6818, 0x683a, 0x681b, 0x0006, 0x688f, | ||
1117 | 0x0000, 0x6893, 0x0000, 0x6a30, 0x692c, 0x6a3e, 0x6942, 0x682f, | ||
1118 | 0x0003, 0x6833, 0x0000, 0x6837, 0x0020, 0x6897, 0x0000, 0x689b, | ||
1119 | 0x0020, 0x7000, 0x0002, 0x25a0, 0x3173, 0x316d, 0x316b, 0x316b, | ||
1120 | 0x316b, 0x316b, 0x316b, 0x080c, 0x254c, 0x6820, 0xd084, 0x1118, | ||
1121 | 0x080c, 0x37a4, 0x0030, 0x7058, 0x2c50, 0x2060, 0x6800, 0x6002, | ||
1122 | 0x2a60, 0xaea0, 0x0017, 0x2404, 0xa005, 0x0110, 0x2020, 0x0cd8, | ||
1123 | 0x2d22, 0x206b, 0x0000, 0x0005, 0x080c, 0x37aa, 0x080c, 0x37be, | ||
1124 | 0x6008, 0xc0cc, 0x600a, 0x682b, 0x0000, 0x789b, 0x000e, 0x6f14, | ||
1125 | 0x6938, 0x691a, 0x6944, 0x6916, 0x2009, 0x0000, 0xae86, 0x4640, | ||
1126 | 0x0110, 0x2009, 0x0001, 0x080c, 0x42ec, 0xd6dc, 0x01c8, 0x691c, | ||
1127 | 0xc1ed, 0x691e, 0x6828, 0xa082, 0x000e, 0x0290, 0x6848, 0xa084, | ||
1128 | 0x000f, 0xa086, 0x000b, 0x1160, 0x685c, 0xa086, 0x0047, 0x1140, | ||
1129 | 0x2001, 0x4601, 0x2004, 0xd0ac, 0x1118, 0x2700, 0x080c, 0x2475, | ||
1130 | 0x6818, 0xd0fc, 0x0140, 0x681b, 0x0000, 0x7868, 0xa08c, 0x00ff, | ||
1131 | 0x0110, 0x681b, 0x001e, 0xaea0, 0x0017, 0x6800, 0x2022, 0x6a3c, | ||
1132 | 0x6940, 0x6a32, 0x692e, 0x68c0, 0x2060, 0x6000, 0xd0a4, 0x0580, | ||
1133 | 0x2041, 0x0021, 0x2049, 0x0005, 0x2051, 0x0020, 0x00d6, 0x00f6, | ||
1134 | 0x0156, 0x0146, 0x2079, 0x4600, 0x080c, 0x1b93, 0x014e, 0x015e, | ||
1135 | 0x00fe, 0x70c8, 0x2010, 0x2009, 0x0101, 0x0026, 0x2204, 0xa06d, | ||
1136 | 0x0140, 0x6814, 0xa706, 0x0110, 0x6800, 0x0cc8, 0x6820, 0xc0d5, | ||
1137 | 0x6822, 0x002e, 0x8210, 0x8109, 0x1d80, 0x00de, 0x7063, 0x0003, | ||
1138 | 0x707b, 0x0000, 0x7772, 0x707f, 0x000f, 0x71d0, 0xc1c4, 0x71d2, | ||
1139 | 0x6818, 0xa086, 0x0002, 0x1138, 0x6817, 0x0000, 0x682b, 0x0000, | ||
1140 | 0x681c, 0xc0ec, 0x681e, 0x080c, 0x1da2, 0x0804, 0x25a0, 0x7cd8, | ||
1141 | 0x7ddc, 0x7fd0, 0x080c, 0x30dc, 0x682b, 0x0000, 0x789b, 0x000e, | ||
1142 | 0x6f14, 0x080c, 0x3c4a, 0xa08c, 0x00ff, 0x6916, 0x6818, 0xd0fc, | ||
1143 | 0x0110, 0x7044, 0x681a, 0xa68c, 0xdf00, 0x691e, 0x7063, 0x0000, | ||
1144 | 0x0804, 0x25a0, 0x7000, 0xa005, 0x1110, 0x0804, 0x25a0, 0xa006, | ||
1145 | 0x080c, 0x3f26, 0x6920, 0xd1ac, 0x1110, 0x681b, 0x0014, 0xa68c, | ||
1146 | 0xdf00, 0x691e, 0x682b, 0x0000, 0x6820, 0xa084, 0x00ff, 0x6822, | ||
1147 | 0x7000, 0x0002, 0x25a0, 0x324c, 0x324c, 0x324f, 0x324f, 0x324f, | ||
1148 | 0x324a, 0x324a, 0x080c, 0x254c, 0x6818, 0x0804, 0x2f18, 0x6008, | ||
1149 | 0xc0a4, 0x600a, 0x6817, 0x0000, 0x0804, 0x3772, 0x2300, 0x0002, | ||
1150 | 0x325b, 0x325d, 0x32ab, 0x080c, 0x254c, 0xd6fc, 0x1904, 0x2d38, | ||
1151 | 0x7000, 0xa00d, 0x0002, 0x25a0, 0x326d, 0x326d, 0x3297, 0x326d, | ||
1152 | 0x32a8, 0x326b, 0x326b, 0x080c, 0x254c, 0xa684, 0x0060, 0x0538, | ||
1153 | 0xa086, 0x0060, 0x1510, 0xc6ac, 0xc6f4, 0xc6ed, 0x7e5a, 0x6eb6, | ||
1154 | 0x681c, 0xc0ac, 0x681e, 0xa186, 0x0002, 0x0148, 0x080c, 0x3f26, | ||
1155 | 0x69ac, 0x68b0, 0xa115, 0x0118, 0x080c, 0x4206, 0x0010, 0x080c, | ||
1156 | 0x41d9, 0x781b, 0x0083, 0x71d0, 0xd1b4, 0x1904, 0x259d, 0x70a0, | ||
1157 | 0xa086, 0x0001, 0x1904, 0x25e1, 0x0005, 0xd6ec, 0x09f0, 0x6818, | ||
1158 | 0xd0fc, 0x0170, 0xd6f4, 0x1130, 0x681b, 0x0015, 0x781b, 0x0083, | ||
1159 | 0x0804, 0x259d, 0x681b, 0x0007, 0x682f, 0x0000, 0x6833, 0x0000, | ||
1160 | 0x080c, 0x3bf1, 0x0005, 0x080c, 0x254c, 0x2300, 0x0002, 0x32b4, | ||
1161 | 0x32d6, 0x332e, 0x080c, 0x254c, 0x7000, 0x0002, 0x32be, 0x32c0, | ||
1162 | 0x32c7, 0x32be, 0x32be, 0x32be, 0x32be, 0x32be, 0x080c, 0x254c, | ||
1163 | 0x69ac, 0x68b0, 0xa115, 0x0118, 0x080c, 0x4206, 0x0010, 0x080c, | ||
1164 | 0x41d9, 0x681c, 0xc0b4, 0x681e, 0x70d0, 0xd0b4, 0x1904, 0x259d, | ||
1165 | 0x70a0, 0xa086, 0x0001, 0x1904, 0x25e1, 0x0005, 0xd6fc, 0x1904, | ||
1166 | 0x331e, 0x7000, 0xa00d, 0x0002, 0x25a0, 0x32ec, 0x32e6, 0x3316, | ||
1167 | 0x32ec, 0x331b, 0x32e4, 0x32e4, 0x080c, 0x254c, 0x6894, 0x78d6, | ||
1168 | 0x78de, 0x6898, 0x78d2, 0x78da, 0xa684, 0x0060, 0x0538, 0xa086, | ||
1169 | 0x0060, 0x1510, 0xa6b4, 0xbfbf, 0xc6ed, 0x7e5a, 0x6eb6, 0xa186, | ||
1170 | 0x0002, 0x0148, 0x080c, 0x3f26, 0x69ac, 0x68b0, 0xa115, 0x0118, | ||
1171 | 0x080c, 0x4206, 0x0010, 0x080c, 0x41d9, 0x781b, 0x0083, 0x681c, | ||
1172 | 0xc0b4, 0x681e, 0x71d0, 0xd1b4, 0x1904, 0x259d, 0x70a0, 0xa086, | ||
1173 | 0x0001, 0x1904, 0x25e1, 0x0005, 0xd6ec, 0x09f0, 0x6818, 0xd0fc, | ||
1174 | 0x0110, 0x681b, 0x0007, 0x781b, 0x00fb, 0x0005, 0xc6fc, 0x7e5a, | ||
1175 | 0x7adc, 0x79d8, 0x6b98, 0x2100, 0xa302, 0x68b2, 0x6b94, 0x2200, | ||
1176 | 0xa303, 0x68ae, 0x79d2, 0x781b, 0x0083, 0x0005, 0xd6dc, 0x0130, | ||
1177 | 0x782b, 0x3009, 0x781b, 0x0083, 0x0804, 0x259d, 0x7884, 0xc0ac, | ||
1178 | 0x7886, 0x78e4, 0xa084, 0x0008, 0x1150, 0xa484, 0x0200, 0x0108, | ||
1179 | 0xc6f5, 0xc6dd, 0x7e5a, 0x781b, 0x0083, 0x0804, 0x259d, 0x6820, | ||
1180 | 0xc095, 0x6822, 0x080c, 0x3bdc, 0xc6dd, 0x080c, 0x3a3c, 0x781b, | ||
1181 | 0x0082, 0x0804, 0x259d, 0x2300, 0x0002, 0x3358, 0x335a, 0x335c, | ||
1182 | 0x080c, 0x254c, 0x0804, 0x3a36, 0x7d98, 0xd6d4, 0x15a8, 0x79e4, | ||
1183 | 0xd1ac, 0x0130, 0x78ec, 0xa084, 0x0003, 0x0110, 0x782b, 0x3009, | ||
1184 | 0x789b, 0x0060, 0x78ab, 0x0000, 0xa684, 0xfffb, 0x785a, 0x7d9a, | ||
1185 | 0x79e4, 0xd1ac, 0x0120, 0x78ec, 0xa084, 0x0003, 0x1120, 0x2001, | ||
1186 | 0x0014, 0x0804, 0x2f18, 0x7884, 0xd0fc, 0x1118, 0xa184, 0x0007, | ||
1187 | 0x0090, 0xa184, 0x0007, 0xa086, 0x0004, 0x1118, 0x2001, 0x0000, | 1211 | 0x0090, 0xa184, 0x0007, 0xa086, 0x0004, 0x1118, 0x2001, 0x0000, |
1188 | 0x0050, 0xa184, 0x0007, 0xa086, 0x0005, 0x0118, 0xa184, 0x0007, | 1212 | 0x0050, 0xa184, 0x0007, 0xa086, 0x0005, 0x0118, 0xa184, 0x0007, |
1189 | 0x0010, 0x2001, 0x0001, 0x04c2, 0x7a90, 0xa294, 0x0007, 0x789b, | 1213 | 0x0010, 0x2001, 0x0001, 0x0002, 0x3c0b, 0x3c0b, 0x345c, 0x3c0b, |
1190 | 0x0060, 0x79a8, 0x81ff, 0x0568, 0x789b, 0x0080, 0x7ba8, 0xa384, | 1214 | 0x3c4f, 0x3c4f, 0x3c0b, 0x3c0b, 0xd6bc, 0x0570, 0x7180, 0x81ff, |
1191 | 0x0001, 0x11d0, 0x7ba8, 0x7ba8, 0xa386, 0x0004, 0x1118, 0x2009, | 1215 | 0x0558, 0xa182, 0x000d, 0x1318, 0x7083, 0x0000, 0x0028, 0xa182, |
1192 | 0xffdf, 0x0058, 0xa386, 0x0001, 0x1118, 0x2009, 0xfff7, 0x0028, | 1216 | 0x000c, 0x7082, 0x2009, 0x000c, 0x789b, 0x0061, 0x79aa, 0x0156, |
1193 | 0xa386, 0x0003, 0x1148, 0x2009, 0xffef, 0x00c6, 0x7054, 0x2060, | 1217 | 0x0136, 0x0146, 0x7084, 0x8114, 0xa210, 0x7286, 0xa080, 0x000b, |
1194 | 0x6004, 0xa104, 0x6006, 0x00ce, 0x789b, 0x0060, 0x78ab, 0x0000, | 1218 | 0xad00, 0x2098, 0xb284, 0x0600, 0x0118, 0x20a1, 0x022b, 0x0010, |
1195 | 0xa684, 0xfffb, 0x785a, 0x782b, 0x3009, 0x6920, 0xa18c, 0xecff, | 1219 | 0x20a1, 0x012b, 0x789b, 0x0000, 0x8108, 0x81ac, 0x53a6, 0x014e, |
1196 | 0x6922, 0x7d9a, 0x0804, 0x3be5, 0x2bae, 0x2bb7, 0x33d6, 0x33dc, | 1220 | 0x013e, 0x015e, 0x0804, 0x3c11, 0xd6d4, 0x1904, 0x34cf, 0x6820, |
1197 | 0x33d4, 0x33d4, 0x3be5, 0x3be5, 0x080c, 0x254c, 0x6920, 0xa18c, | 1221 | 0xd084, 0x0904, 0x3c11, 0xa68c, 0x0060, 0xa684, 0x0060, 0x0120, |
1198 | 0xfcff, 0x6922, 0x0804, 0x3beb, 0x6920, 0xa18c, 0xfcff, 0x6922, | 1222 | 0xa086, 0x0060, 0x1108, 0xc1f5, 0xc194, 0x795a, 0x69b6, 0x789b, |
1199 | 0x0804, 0x3be5, 0x79e4, 0xa184, 0x0030, 0x0120, 0x78ec, 0xa084, | 1223 | 0x0060, 0x78ab, 0x0000, 0x789b, 0x0061, 0x6818, 0xc0fd, 0x681a, |
1200 | 0x0003, 0x1570, 0x7000, 0xa086, 0x0004, 0x1190, 0x7060, 0xa086, | 1224 | 0x78aa, 0x8008, 0x810c, 0x0904, 0x37f6, 0xa18c, 0x00f8, 0x1904, |
1201 | 0x0002, 0x1130, 0x2011, 0x0002, 0x2019, 0x0000, 0x0804, 0x2a56, | 1225 | 0x37f6, 0x0156, 0x0136, 0x0146, 0x0016, 0x20a1, 0x012b, 0x3208, |
1202 | 0x7060, 0xa086, 0x0006, 0x0db0, 0x7060, 0xa086, 0x0004, 0x0d90, | 1226 | 0xa18c, 0x0600, 0x0110, 0x20a1, 0x022b, 0x001e, 0x789b, 0x0000, |
1203 | 0x7000, 0xa086, 0x0000, 0x0904, 0x259d, 0x6920, 0xa184, 0x0420, | 1227 | 0x8000, 0x80ac, 0xad80, 0x000b, 0x2098, 0x53a6, 0x014e, 0x013e, |
1204 | 0x0128, 0xc1d4, 0x6922, 0x6818, 0x0804, 0x2f18, 0x6818, 0xa08e, | 1228 | 0x015e, 0x6814, 0xc0fc, 0x8007, 0x7882, 0x0804, 0x3c11, 0x6818, |
1205 | 0x0002, 0x0120, 0xc0fd, 0x681a, 0x2001, 0x0014, 0x0804, 0x2f18, | 1229 | 0xd0fc, 0x0110, 0x681b, 0x0008, 0x080c, 0x3a61, 0x781b, 0x00ed, |
1206 | 0x7884, 0xd0fc, 0x1118, 0xa184, 0x0007, 0x0090, 0xa184, 0x0007, | 1230 | 0x0005, 0x2300, 0x0002, 0x34e0, 0x359d, 0x34de, 0x080c, 0x2575, |
1207 | 0xa086, 0x0004, 0x1118, 0x2001, 0x0000, 0x0050, 0xa184, 0x0007, | 1231 | 0x7cd8, 0x7ddc, 0x7fd0, 0x82ff, 0x1528, 0x7200, 0xa286, 0x0003, |
1208 | 0xa086, 0x0005, 0x0118, 0xa184, 0x0007, 0x0010, 0x2001, 0x0001, | 1232 | 0x0904, 0x2f09, 0x71d0, 0xd1bc, 0x11f8, 0xd1b4, 0x01e8, 0x2001, |
1209 | 0x0002, 0x3be5, 0x3be5, 0x3439, 0x3be5, 0x3c29, 0x3c29, 0x3be5, | 1233 | 0x4701, 0x2004, 0xd0c4, 0x11c0, 0x00d6, 0x783b, 0x8800, 0x781b, |
1210 | 0x3be5, 0xd6bc, 0x0570, 0x7180, 0x81ff, 0x0558, 0xa182, 0x000d, | 1234 | 0x0059, 0x70b8, 0xa06d, 0x68b4, 0xc0a5, 0x785a, 0x6894, 0x78d6, |
1211 | 0x1318, 0x7083, 0x0000, 0x0028, 0xa182, 0x000c, 0x7082, 0x2009, | 1235 | 0x78de, 0x6898, 0x78d2, 0x78da, 0xc1b4, 0x71d2, 0x7003, 0x0030, |
1212 | 0x000c, 0x789b, 0x0061, 0x79aa, 0x0156, 0x0136, 0x0146, 0x7084, | 1236 | 0x00de, 0x0030, 0x7200, 0x0020, 0x783b, 0x1800, 0x781b, 0x0057, |
1213 | 0x8114, 0xa210, 0x7286, 0xa080, 0x000b, 0xad00, 0x2098, 0xb284, | 1237 | 0xa284, 0x000f, 0x0002, 0x3588, 0x3545, 0x351d, 0x2f38, 0x351b, |
1214 | 0x0600, 0x0118, 0x20a1, 0x022b, 0x0010, 0x20a1, 0x012b, 0x789b, | 1238 | 0x3588, 0x351b, 0x351b, 0x080c, 0x2575, 0x681c, 0xd0ec, 0x0118, |
1215 | 0x0000, 0x8108, 0x81ac, 0x53a6, 0x014e, 0x013e, 0x015e, 0x0804, | 1239 | 0x6008, 0xc08d, 0x600a, 0x6920, 0xc185, 0x6922, 0x6800, 0x6006, |
1216 | 0x3beb, 0xd6d4, 0x1904, 0x34ac, 0x6820, 0xd084, 0x0904, 0x3beb, | 1240 | 0xa005, 0x1108, 0x6002, 0x6008, 0xc0d4, 0x600a, 0x681c, 0xa084, |
1217 | 0xa68c, 0x0060, 0xa684, 0x0060, 0x0120, 0xa086, 0x0060, 0x1108, | 1241 | 0x000e, 0x1120, 0x71c8, 0xa188, 0x0100, 0x0028, 0x7030, 0x68ba, |
1218 | 0xc1f5, 0xc194, 0x795a, 0x69b6, 0x789b, 0x0060, 0x78ab, 0x0000, | 1242 | 0x713c, 0x70c8, 0xa108, 0x2104, 0x6802, 0x2d0a, 0x715a, 0xd6dc, |
1219 | 0x789b, 0x0061, 0x6818, 0xc0fd, 0x681a, 0x78aa, 0x8008, 0x810c, | 1243 | 0x1120, 0xc6fc, 0x6eb6, 0x0804, 0x3588, 0x6eb6, 0xa684, 0x0060, |
1220 | 0x0904, 0x37d3, 0xa18c, 0x00f8, 0x1904, 0x37d3, 0x0156, 0x0136, | 1244 | 0x1120, 0xa684, 0x7fff, 0x68b6, 0x04d8, 0xd6dc, 0x1150, 0xa684, |
1221 | 0x0146, 0x0016, 0x20a1, 0x012b, 0x3208, 0xa18c, 0x0600, 0x0110, | 1245 | 0x7fff, 0x68b6, 0x6894, 0x68a6, 0x6898, 0x68aa, 0x080c, 0x3f4e, |
1222 | 0x20a1, 0x022b, 0x001e, 0x789b, 0x0000, 0x8000, 0x80ac, 0xad80, | 1246 | 0x0478, 0xd6ac, 0x0140, 0xa006, 0x080c, 0x3f4e, 0x2408, 0x2510, |
1223 | 0x000b, 0x2098, 0x53a6, 0x014e, 0x013e, 0x015e, 0x6814, 0xc0fc, | 1247 | 0x69aa, 0x6aa6, 0x0068, 0x2408, 0x2510, 0x2700, 0x8007, 0xa084, |
1224 | 0x8007, 0x7882, 0x0804, 0x3beb, 0x6818, 0xd0fc, 0x0110, 0x681b, | 1248 | 0x007f, 0xa108, 0xa291, 0x0000, 0x69aa, 0x6aa6, 0x080c, 0x3f4e, |
1225 | 0x0008, 0x080c, 0x3a3c, 0x781b, 0x00ed, 0x0005, 0x2300, 0x0002, | 1249 | 0xd6fc, 0x01b0, 0xa684, 0x7fff, 0x68b6, 0x2510, 0x2408, 0xd6ac, |
1226 | 0x34bd, 0x357a, 0x34bb, 0x080c, 0x254c, 0x7cd8, 0x7ddc, 0x7fd0, | 1250 | 0x1138, 0x2700, 0x8007, 0xa084, 0x007f, 0xa108, 0xa291, 0x0000, |
1227 | 0x82ff, 0x1528, 0x7200, 0xa286, 0x0003, 0x0904, 0x2ee6, 0x71d0, | 1251 | 0x6b98, 0x2100, 0xa302, 0x68b2, 0x6b94, 0x2200, 0xa303, 0x68ae, |
1228 | 0xd1bc, 0x11f8, 0xd1b4, 0x01e8, 0x2001, 0x4601, 0x2004, 0xd0c4, | 1252 | 0x7000, 0xa086, 0x0030, 0x1904, 0x25c9, 0x7003, 0x0002, 0x70b8, |
1229 | 0x11c0, 0x00d6, 0x783b, 0x8800, 0x781b, 0x0059, 0x70b8, 0xa06d, | 1253 | 0xa06d, 0x68bc, 0x703e, 0x70b4, 0xa065, 0x68c0, 0x7056, 0x2d00, |
1230 | 0x68b4, 0xc0a5, 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, | 1254 | 0x704a, 0xad80, 0x0009, 0x7042, 0x0005, 0xa586, 0x8800, 0x1148, |
1231 | 0x78da, 0xc1b4, 0x71d2, 0x7003, 0x0030, 0x00de, 0x0030, 0x7200, | 1255 | 0x7003, 0x0000, 0x6018, 0x8001, 0x601a, 0x6008, 0xa084, 0xfbef, |
1232 | 0x0020, 0x783b, 0x1800, 0x781b, 0x0057, 0xa284, 0x000f, 0x0002, | 1256 | 0x600a, 0x0804, 0x3a5b, 0x7043, 0x0000, 0xa282, 0x0006, 0x0310, |
1233 | 0x3565, 0x3522, 0x34fa, 0x2f15, 0x34f8, 0x3565, 0x34f8, 0x34f8, | 1257 | 0x080c, 0x2575, 0x2300, 0x0002, 0x35b7, 0x35c8, 0x35d2, 0x2200, |
1234 | 0x080c, 0x254c, 0x681c, 0xd0ec, 0x0118, 0x6008, 0xc08d, 0x600a, | 1258 | 0x0002, 0x35bf, 0x3a5b, 0x35c1, 0x35bf, 0x3603, 0x3651, 0x080c, |
1235 | 0x6920, 0xc185, 0x6922, 0x6800, 0x6006, 0xa005, 0x1108, 0x6002, | 1259 | 0x2575, 0x7a80, 0xa294, 0x0f00, 0x080c, 0x36a5, 0x0804, 0x3a30, |
1236 | 0x6008, 0xc0d4, 0x600a, 0x681c, 0xa084, 0x000e, 0x1120, 0x71c8, | 1260 | 0x00c1, 0x0002, 0x3a5b, 0x35d0, 0x35d0, 0x3603, 0x35d0, 0x3a5b, |
1237 | 0xa188, 0x0100, 0x0028, 0x7030, 0x68ba, 0x713c, 0x70c8, 0xa108, | 1261 | 0x080c, 0x2575, 0x0071, 0x0002, 0x35dc, 0x35da, 0x35da, 0x35dc, |
1238 | 0x2104, 0x6802, 0x2d0a, 0x715a, 0xd6dc, 0x1120, 0xc6fc, 0x6eb6, | 1262 | 0x35da, 0x35dc, 0x080c, 0x2575, 0x080c, 0x3a70, 0x781b, 0x0082, |
1239 | 0x0804, 0x3565, 0x6eb6, 0xa684, 0x0060, 0x1120, 0xa684, 0x7fff, | 1263 | 0x0005, 0x7000, 0xa086, 0x0002, 0x1150, 0x080c, 0x37e1, 0x0010, |
1240 | 0x68b6, 0x04d8, 0xd6dc, 0x1150, 0xa684, 0x7fff, 0x68b6, 0x6894, | 1264 | 0x080c, 0x3f4e, 0x6008, 0xa084, 0xfbef, 0x600a, 0x0020, 0x7000, |
1241 | 0x68a6, 0x6898, 0x68aa, 0x080c, 0x3f26, 0x0478, 0xd6ac, 0x0140, | 1265 | 0xa086, 0x0003, 0x0da8, 0x7003, 0x0005, 0x2001, 0x8ee0, 0xae8e, |
1242 | 0xa006, 0x080c, 0x3f26, 0x2408, 0x2510, 0x69aa, 0x6aa6, 0x0068, | 1266 | 0x4740, 0x0110, 0x2001, 0x8f12, 0x2068, 0x704a, 0xad80, 0x0009, |
1243 | 0x2408, 0x2510, 0x2700, 0x8007, 0xa084, 0x007f, 0xa108, 0xa291, | 1267 | 0x7042, 0x2200, 0x0005, 0x7000, 0xa086, 0x0002, 0x1158, 0x70d0, |
1244 | 0x0000, 0x69aa, 0x6aa6, 0x080c, 0x3f26, 0xd6fc, 0x01b0, 0xa684, | 1268 | 0xc0b5, 0x70d2, 0x2c00, 0x70b6, 0x2d00, 0x70ba, 0x0038, 0x080c, |
1245 | 0x7fff, 0x68b6, 0x2510, 0x2408, 0xd6ac, 0x1138, 0x2700, 0x8007, | 1269 | 0x3f4e, 0x0020, 0x7000, 0xa086, 0x0003, 0x0dc8, 0x7003, 0x0001, |
1246 | 0xa084, 0x007f, 0xa108, 0xa291, 0x0000, 0x6b98, 0x2100, 0xa302, | 1270 | 0x7a80, 0xa294, 0x0f00, 0x789b, 0x0018, 0x7ca8, 0xa484, 0x001f, |
1247 | 0x68b2, 0x6b94, 0x2200, 0xa303, 0x68ae, 0x7000, 0xa086, 0x0030, | 1271 | 0xa215, 0x2069, 0x8dc0, 0xb284, 0x0600, 0x1118, 0xc2fd, 0x2069, |
1248 | 0x1904, 0x25a0, 0x7003, 0x0002, 0x70b8, 0xa06d, 0x68bc, 0x703e, | 1272 | 0x8ed0, 0x2d04, 0x2d08, 0x715a, 0xa06d, 0x0128, 0x6814, 0xa206, |
1249 | 0x70b4, 0xa065, 0x68c0, 0x7056, 0x2d00, 0x704a, 0xad80, 0x0009, | 1273 | 0x0120, 0x6800, 0x0cb8, 0x080c, 0x36a5, 0x6eb4, 0x7e5a, 0x6920, |
1250 | 0x7042, 0x0005, 0xa586, 0x8800, 0x1148, 0x7003, 0x0000, 0x6018, | 1274 | 0xa184, 0x0c00, 0x0904, 0x36cb, 0x7060, 0xa086, 0x0006, 0x1128, |
1251 | 0x8001, 0x601a, 0x6008, 0xa084, 0xfbef, 0x600a, 0x0804, 0x3a36, | 1275 | 0x7070, 0xa206, 0x1110, 0x7062, 0x707a, 0x681b, 0x0005, 0xc1ad, |
1252 | 0x7043, 0x0000, 0xa282, 0x0006, 0x0310, 0x080c, 0x254c, 0x2300, | 1276 | 0x681b, 0x0005, 0xc1ad, 0xc1d4, 0x6922, 0x080c, 0x3a67, 0x0804, |
1253 | 0x0002, 0x3594, 0x35a5, 0x35af, 0x2200, 0x0002, 0x359c, 0x3a36, | 1277 | 0x36cb, 0x7200, 0xa286, 0x0002, 0x1158, 0x70d0, 0xc0b5, 0x70d2, |
1254 | 0x359e, 0x359c, 0x35e0, 0x362e, 0x080c, 0x254c, 0x7a80, 0xa294, | 1278 | 0x2c00, 0x70b6, 0x2d00, 0x70ba, 0x0030, 0x080c, 0x3f4e, 0x0018, |
1255 | 0x0f00, 0x080c, 0x3682, 0x0804, 0x3a0b, 0x00c1, 0x0002, 0x3a36, | 1279 | 0xa286, 0x0003, 0x0dd0, 0x7003, 0x0001, 0x7a80, 0xa294, 0x0f00, |
1256 | 0x35ad, 0x35ad, 0x35e0, 0x35ad, 0x3a36, 0x080c, 0x254c, 0x0071, | 1280 | 0x789b, 0x0018, 0x7ca8, 0xa484, 0x001f, 0xa215, 0xae86, 0x4740, |
1257 | 0x0002, 0x35b9, 0x35b7, 0x35b7, 0x35b9, 0x35b7, 0x35b9, 0x080c, | 1281 | 0x0108, 0xc2fd, 0x79a8, 0x79a8, 0xa18c, 0x00ff, 0x2118, 0x70c8, |
1258 | 0x254c, 0x080c, 0x3a4b, 0x781b, 0x0082, 0x0005, 0x7000, 0xa086, | 1282 | 0xa168, 0x2d04, 0x2d08, 0x715a, 0xa06d, 0x0128, 0x6814, 0xa206, |
1259 | 0x0002, 0x1150, 0x080c, 0x37be, 0x0010, 0x080c, 0x3f26, 0x6008, | 1283 | 0x0118, 0x6800, 0x0cb8, 0x0409, 0x6eb4, 0x6920, 0xa184, 0x0c00, |
1260 | 0xa084, 0xfbef, 0x600a, 0x0020, 0x7000, 0xa086, 0x0003, 0x0da8, | 1284 | 0x0904, 0x36cb, 0xd0dc, 0x0178, 0x7060, 0xa086, 0x0004, 0x1140, |
1261 | 0x7003, 0x0005, 0x2001, 0x8de0, 0xae8e, 0x4640, 0x0110, 0x2001, | 1285 | 0x7070, 0xa206, 0x1128, 0x7074, 0xa306, 0x1110, 0x7062, 0x707a, |
1262 | 0x8e12, 0x2068, 0x704a, 0xad80, 0x0009, 0x7042, 0x2200, 0x0005, | 1286 | 0x080c, 0x3a6d, 0x0480, 0x681b, 0x0005, 0xc1ad, 0xc1d4, 0x6922, |
1263 | 0x7000, 0xa086, 0x0002, 0x1158, 0x70d0, 0xc0b5, 0x70d2, 0x2c00, | 1287 | 0x080c, 0x3a67, 0x707b, 0x0000, 0x0430, 0x7003, 0x0005, 0xb284, |
1264 | 0x70b6, 0x2d00, 0x70ba, 0x0038, 0x080c, 0x3f26, 0x0020, 0x7000, | 1288 | 0x0600, 0x0118, 0x2001, 0x8ee0, 0x0010, 0x2001, 0x8f12, 0x2068, |
1265 | 0xa086, 0x0003, 0x0dc8, 0x7003, 0x0001, 0x7a80, 0xa294, 0x0f00, | 1289 | 0x704a, 0x0156, 0x20a9, 0x0032, 0x2003, 0x0000, 0x8000, 0x1f04, |
1266 | 0x789b, 0x0018, 0x7ca8, 0xa484, 0x001f, 0xa215, 0x2069, 0x8cc0, | 1290 | 0x36b4, 0x015e, 0xb284, 0x0600, 0x0110, 0xc2fc, 0x0008, 0xc2fd, |
1267 | 0xb284, 0x0600, 0x1118, 0xc2fd, 0x2069, 0x8dd0, 0x2d04, 0x2d08, | 1291 | 0x6a16, 0xad80, 0x0009, 0x7042, 0x68b7, 0x0700, 0x6823, 0x0800, |
1268 | 0x715a, 0xa06d, 0x0128, 0x6814, 0xa206, 0x0120, 0x6800, 0x0cb8, | 1292 | 0x6827, 0x0003, 0x0005, 0xc6ec, 0xa6ac, 0x0060, 0x0904, 0x3712, |
1269 | 0x080c, 0x3682, 0x6eb4, 0x7e5a, 0x6920, 0xa184, 0x0c00, 0x0904, | 1293 | 0x6b98, 0x6c94, 0x69ac, 0x68b0, 0xa105, 0x11e0, 0x7bd2, 0x7bda, |
1270 | 0x36a8, 0x7060, 0xa086, 0x0006, 0x1128, 0x7070, 0xa206, 0x1110, | 1294 | 0x7cd6, 0x7cde, 0xa586, 0x0060, 0x05c8, 0xd6f4, 0x1108, 0xc6ed, |
1271 | 0x7062, 0x707a, 0x681b, 0x0005, 0xc1ad, 0x681b, 0x0005, 0xc1ad, | 1295 | 0xa6b4, 0xb7ff, 0x7e5a, 0x2009, 0x0083, 0xd69c, 0x0128, 0x2009, |
1272 | 0xc1d4, 0x6922, 0x080c, 0x3a42, 0x0804, 0x36a8, 0x7200, 0xa286, | 1296 | 0x0082, 0x2019, 0x0000, 0x2320, 0x791a, 0xd6ec, 0x0588, 0x080c, |
1273 | 0x0002, 0x1158, 0x70d0, 0xc0b5, 0x70d2, 0x2c00, 0x70b6, 0x2d00, | 1297 | 0x4208, 0x0470, 0x68b0, 0xa31a, 0x2100, 0xa423, 0x2400, 0xa305, |
1274 | 0x70ba, 0x0030, 0x080c, 0x3f26, 0x0018, 0xa286, 0x0003, 0x0dd0, | 1298 | 0x01f8, 0x7bd2, 0x7bda, 0x7cd6, 0x7cde, 0x68b0, 0xd6f4, 0x1108, |
1275 | 0x7003, 0x0001, 0x7a80, 0xa294, 0x0f00, 0x789b, 0x0018, 0x7ca8, | 1299 | 0xc6ed, 0xc6f4, 0x7e5a, 0x2011, 0x0083, 0xd69c, 0x0128, 0x2011, |
1276 | 0xa484, 0x001f, 0xa215, 0xae86, 0x4640, 0x0108, 0xc2fd, 0x79a8, | 1300 | 0x0082, 0x2019, 0x0000, 0x2320, 0x7a1a, 0xd6ec, 0x0188, 0x080c, |
1277 | 0x79a8, 0xa18c, 0x00ff, 0x2118, 0x70c8, 0xa168, 0x2d04, 0x2d08, | 1301 | 0x4235, 0x0070, 0x2019, 0x0000, 0x2320, 0x0010, 0xa6b4, 0xb7ff, |
1278 | 0x715a, 0xa06d, 0x0128, 0x6814, 0xa206, 0x0118, 0x6800, 0x0cb8, | 1302 | 0x7e5a, 0x2009, 0x0083, 0xd69c, 0x0110, 0x2009, 0x0082, 0x791a, |
1279 | 0x0409, 0x6eb4, 0x6920, 0xa184, 0x0c00, 0x0904, 0x36a8, 0xd0dc, | 1303 | 0x68c0, 0x7056, 0x2d00, 0x704a, 0x68c4, 0x2060, 0x71d0, 0x2001, |
1280 | 0x0178, 0x7060, 0xa086, 0x0004, 0x1140, 0x7070, 0xa206, 0x1128, | 1304 | 0x4701, 0x2004, 0xd0c4, 0x15c8, 0x70d4, 0xa02d, 0x01b8, 0xd1bc, |
1281 | 0x7074, 0xa306, 0x1110, 0x7062, 0x707a, 0x080c, 0x3a48, 0x0480, | 1305 | 0x0548, 0x7a80, 0xa294, 0x0f00, 0x70d8, 0xa206, 0x0118, 0x78e0, |
1282 | 0x681b, 0x0005, 0xc1ad, 0xc1d4, 0x6922, 0x080c, 0x3a42, 0x707b, | 1306 | 0xa504, 0x1558, 0x70d6, 0xc1bc, 0x71d2, 0x0438, 0x2031, 0x0001, |
1283 | 0x0000, 0x0430, 0x7003, 0x0005, 0xb284, 0x0600, 0x0118, 0x2001, | 1307 | 0x852c, 0x0218, 0x8633, 0x8210, 0x0cd8, 0x0005, 0x7de0, 0xa594, |
1284 | 0x8de0, 0x0010, 0x2001, 0x8e12, 0x2068, 0x704a, 0x0156, 0x20a9, | 1308 | 0xff00, 0x0130, 0x2011, 0x0008, 0x852f, 0x0c81, 0x8637, 0x0008, |
1285 | 0x0032, 0x2003, 0x0000, 0x8000, 0x1f04, 0x3691, 0x015e, 0xb284, | 1309 | 0x0c69, 0x8217, 0x7880, 0xa084, 0x0f00, 0xa206, 0x0170, 0x72da, |
1286 | 0x0600, 0x0110, 0xc2fc, 0x0008, 0xc2fd, 0x6a16, 0xad80, 0x0009, | 1310 | 0x76d6, 0x0058, 0x7a80, 0xa294, 0x0f00, 0x70d8, 0xa236, 0x0dc0, |
1287 | 0x7042, 0x68b7, 0x0700, 0x6823, 0x0800, 0x6827, 0x0003, 0x0005, | 1311 | 0x78e0, 0xa534, 0x0da8, 0xc1bd, 0x71d2, 0xd1b4, 0x1904, 0x25c6, |
1288 | 0xc6ec, 0xa6ac, 0x0060, 0x0904, 0x36ef, 0x6b98, 0x6c94, 0x69ac, | 1312 | 0x2300, 0xa405, 0x0904, 0x25c6, 0x70a0, 0xa086, 0x0001, 0x1904, |
1289 | 0x68b0, 0xa105, 0x11e0, 0x7bd2, 0x7bda, 0x7cd6, 0x7cde, 0xa586, | 1313 | 0x260d, 0x0005, 0x6020, 0xa005, 0x0150, 0x8001, 0x6022, 0x6008, |
1290 | 0x0060, 0x05c8, 0xd6f4, 0x1108, 0xc6ed, 0xa6b4, 0xb7ff, 0x7e5a, | 1314 | 0xa085, 0x0008, 0x600a, 0x700f, 0x0100, 0x702c, 0x6026, 0x0005, |
1291 | 0x2009, 0x0083, 0xd69c, 0x0128, 0x2009, 0x0082, 0x2019, 0x0000, | 1315 | 0xa006, 0x080c, 0x3f4e, 0x7000, 0xa086, 0x0002, 0x0120, 0x7060, |
1292 | 0x2320, 0x791a, 0xd6ec, 0x0588, 0x080c, 0x41d9, 0x0470, 0x68b0, | 1316 | 0xa086, 0x0005, 0x1150, 0x682b, 0x0000, 0x6817, 0x0000, 0x681b, |
1293 | 0xa31a, 0x2100, 0xa423, 0x2400, 0xa305, 0x01f8, 0x7bd2, 0x7bda, | 1317 | 0x0001, 0x6823, 0x0040, 0x681f, 0x0100, 0x7000, 0xa084, 0x000f, |
1294 | 0x7cd6, 0x7cde, 0x68b0, 0xd6f4, 0x1108, 0xc6ed, 0xc6f4, 0x7e5a, | 1318 | 0x0002, 0x25c9, 0x37a6, 0x37a3, 0x37c3, 0x37af, 0x25c9, 0x37a1, |
1295 | 0x2011, 0x0083, 0xd69c, 0x0128, 0x2011, 0x0082, 0x2019, 0x0000, | 1319 | 0x37a1, 0x080c, 0x2575, 0x0449, 0x0411, 0x0028, 0x0431, 0x7058, |
1296 | 0x2320, 0x7a1a, 0xd6ec, 0x0188, 0x080c, 0x4206, 0x0070, 0x2019, | 1320 | 0x2060, 0x6800, 0x6002, 0x080c, 0x1dbf, 0x0804, 0x25c9, 0x7060, |
1297 | 0x0000, 0x2320, 0x0010, 0xa6b4, 0xb7ff, 0x7e5a, 0x2009, 0x0083, | 1321 | 0x7063, 0x0000, 0x707f, 0x0000, 0x0002, 0x37bf, 0x37bf, 0x37bd, |
1298 | 0xd69c, 0x0110, 0x2009, 0x0082, 0x791a, 0x68c0, 0x7056, 0x2d00, | 1322 | 0x37bd, 0x37bd, 0x37bf, 0x37bd, 0x37bf, 0x0804, 0x2a9a, 0x7063, |
1299 | 0x704a, 0x68c4, 0x2060, 0x71d0, 0x2001, 0x4601, 0x2004, 0xd0c4, | 1323 | 0x0000, 0x0804, 0x25c9, 0x681b, 0x0000, 0x0804, 0x31a7, 0x6800, |
1300 | 0x15c8, 0x70d4, 0xa02d, 0x01b8, 0xd1bc, 0x0548, 0x7a80, 0xa294, | 1324 | 0xa005, 0x1108, 0x6002, 0x6006, 0x0005, 0x6410, 0x84ff, 0x0168, |
1301 | 0x0f00, 0x70d8, 0xa206, 0x0118, 0x78e0, 0xa504, 0x1558, 0x70d6, | 1325 | 0x2009, 0x4702, 0x2104, 0x8001, 0x200a, 0x8421, 0x6412, 0x1128, |
1302 | 0xc1bc, 0x71d2, 0x0438, 0x2031, 0x0001, 0x852c, 0x0218, 0x8633, | 1326 | 0x2021, 0x4704, 0x2404, 0xc0a5, 0x2022, 0x6008, 0xc0a4, 0x600a, |
1303 | 0x8210, 0x0cd8, 0x0005, 0x7de0, 0xa594, 0xff00, 0x0130, 0x2011, | 1327 | 0x0005, 0x6018, 0xa005, 0x0110, 0x8001, 0x601a, 0x0005, 0x080c, |
1304 | 0x0008, 0x852f, 0x0c81, 0x8637, 0x0008, 0x0c69, 0x8217, 0x7880, | 1328 | 0x3c6e, 0x681b, 0x0018, 0x0490, 0x080c, 0x3c6e, 0x681b, 0x0019, |
1305 | 0xa084, 0x0f00, 0xa206, 0x0170, 0x72da, 0x76d6, 0x0058, 0x7a80, | 1329 | 0x0468, 0x080c, 0x3c6e, 0x681b, 0x001a, 0x0440, 0x080c, 0x3c6e, |
1306 | 0xa294, 0x0f00, 0x70d8, 0xa236, 0x0dc0, 0x78e0, 0xa534, 0x0da8, | 1330 | 0x681b, 0x0003, 0x0418, 0x7770, 0x080c, 0x3b95, 0x7174, 0xa18c, |
1307 | 0xc1bd, 0x71d2, 0xd1b4, 0x1904, 0x259d, 0x2300, 0xa405, 0x0904, | 1331 | 0x00ff, 0x3210, 0xa294, 0x0600, 0x0118, 0xa1e8, 0x8cc0, 0x0010, |
1308 | 0x259d, 0x70a0, 0xa086, 0x0001, 0x1904, 0x25e1, 0x0005, 0x6020, | 1332 | 0xa1e8, 0x8dd0, 0x2d04, 0x2d08, 0x2068, 0xa005, 0x1118, 0x707a, |
1309 | 0xa005, 0x0150, 0x8001, 0x6022, 0x6008, 0xa085, 0x0008, 0x600a, | 1333 | 0x0804, 0x25c9, 0x6814, 0x7270, 0xa206, 0x0110, 0x6800, 0x0c98, |
1310 | 0x700f, 0x0100, 0x702c, 0x6026, 0x0005, 0xa006, 0x080c, 0x3f26, | 1334 | 0x6800, 0x200a, 0x681b, 0x0005, 0x707b, 0x0000, 0x080c, 0x37cd, |
1311 | 0x7000, 0xa086, 0x0002, 0x0120, 0x7060, 0xa086, 0x0005, 0x1150, | 1335 | 0x6820, 0xd084, 0x1110, 0x080c, 0x37c7, 0x080c, 0x37e1, 0x681f, |
1312 | 0x682b, 0x0000, 0x6817, 0x0000, 0x681b, 0x0001, 0x6823, 0x0040, | 1336 | 0x0000, 0x6823, 0x0020, 0x080c, 0x1dbf, 0x0804, 0x25c9, 0xa282, |
1313 | 0x681f, 0x0100, 0x7000, 0xa084, 0x000f, 0x0002, 0x25a0, 0x3783, | 1337 | 0x0003, 0x1904, 0x3a35, 0x7da8, 0xa5ac, 0x00ff, 0x7ea8, 0xa6b4, |
1314 | 0x3780, 0x37a0, 0x378c, 0x25a0, 0x377e, 0x377e, 0x080c, 0x254c, | 1338 | 0x00ff, 0x6920, 0xc1bd, 0x6922, 0xd1c4, 0x05b0, 0xc1c4, 0x6922, |
1315 | 0x0449, 0x0411, 0x0028, 0x0431, 0x7058, 0x2060, 0x6800, 0x6002, | 1339 | 0xa6b4, 0x00ff, 0x0530, 0xa682, 0x0018, 0x0218, 0x0110, 0x2031, |
1316 | 0x080c, 0x1da2, 0x0804, 0x25a0, 0x7060, 0x7063, 0x0000, 0x707f, | 1340 | 0x0018, 0xa686, 0x0010, 0x1108, 0x8630, 0x852b, 0x852b, 0x2041, |
1317 | 0x0000, 0x0002, 0x379c, 0x379c, 0x379a, 0x379a, 0x379a, 0x379c, | 1341 | 0x0000, 0x080c, 0x3aee, 0x0118, 0x080c, 0x391a, 0x00a0, 0x080c, |
1318 | 0x379a, 0x379c, 0x0804, 0x2a6b, 0x7063, 0x0000, 0x0804, 0x25a0, | 1342 | 0x3aba, 0x080c, 0x3917, 0x6920, 0xc1c5, 0x6922, 0x7e58, 0xc695, |
1319 | 0x681b, 0x0000, 0x0804, 0x3184, 0x6800, 0xa005, 0x1108, 0x6002, | 1343 | 0x7e5a, 0xd6d4, 0x1118, 0x781b, 0x006e, 0x0005, 0x781b, 0x0082, |
1320 | 0x6006, 0x0005, 0x6410, 0x84ff, 0x0168, 0x2009, 0x4602, 0x2104, | 1344 | 0x0005, 0x080c, 0x3917, 0x7e58, 0xd6d4, 0x1118, 0x781b, 0x0071, |
1321 | 0x8001, 0x200a, 0x8421, 0x6412, 0x1128, 0x2021, 0x4604, 0x2404, | 1345 | 0x0005, 0x781b, 0x0083, 0x0005, 0x00c6, 0x7054, 0x2060, 0x6100, |
1322 | 0xc0a5, 0x2022, 0x6008, 0xc0a4, 0x600a, 0x0005, 0x6018, 0xa005, | 1346 | 0xd1e4, 0x0598, 0x6208, 0x8217, 0xa294, 0x00ff, 0xa282, 0x0018, |
1323 | 0x0110, 0x8001, 0x601a, 0x0005, 0x080c, 0x3c46, 0x681b, 0x0018, | 1347 | 0x0218, 0x0110, 0x2011, 0x0018, 0x2600, 0xa202, 0x1208, 0x2230, |
1324 | 0x0490, 0x080c, 0x3c46, 0x681b, 0x0019, 0x0468, 0x080c, 0x3c46, | 1348 | 0xa686, 0x0010, 0x1108, 0x8630, 0x6208, 0xa294, 0x00ff, 0x78ec, |
1325 | 0x681b, 0x001a, 0x0440, 0x080c, 0x3c46, 0x681b, 0x0003, 0x0418, | 1349 | 0xd0e4, 0x0130, 0xa282, 0x000a, 0x1240, 0x2011, 0x000a, 0x0028, |
1326 | 0x7770, 0x080c, 0x3b6f, 0x7174, 0xa18c, 0x00ff, 0x3210, 0xa294, | 1350 | 0xa282, 0x000c, 0x1210, 0x2011, 0x000c, 0x2200, 0xa502, 0x1208, |
1327 | 0x0600, 0x0118, 0xa1e8, 0x8bc0, 0x0010, 0xa1e8, 0x8cd0, 0x2d04, | 1351 | 0x2228, 0x080c, 0x3abe, 0x852b, 0x852b, 0x2041, 0x0000, 0x080c, |
1328 | 0x2d08, 0x2068, 0xa005, 0x1118, 0x707a, 0x0804, 0x25a0, 0x6814, | 1352 | 0x3aee, 0x0118, 0x080c, 0x391a, 0x0020, 0x080c, 0x3aba, 0x080c, |
1329 | 0x7270, 0xa206, 0x0110, 0x6800, 0x0c98, 0x6800, 0x200a, 0x681b, | 1353 | 0x3917, 0x7858, 0xc095, 0x785a, 0x00ce, 0x781b, 0x0082, 0x0005, |
1330 | 0x0005, 0x707b, 0x0000, 0x080c, 0x37aa, 0x6820, 0xd084, 0x1110, | 1354 | 0x00c6, 0x2960, 0x6000, 0xd0e4, 0x1188, 0xd0b4, 0x1150, 0x6010, |
1331 | 0x080c, 0x37a4, 0x080c, 0x37be, 0x681f, 0x0000, 0x6823, 0x0020, | 1355 | 0xa084, 0x000f, 0x1130, 0x6104, 0xa18c, 0xfff5, 0x6106, 0x00ce, |
1332 | 0x080c, 0x1da2, 0x0804, 0x25a0, 0xa282, 0x0003, 0x1904, 0x3a10, | 1356 | 0x0005, 0x2011, 0x0032, 0x2019, 0x0000, 0x00f0, 0x68a0, 0xd0cc, |
1333 | 0x7da8, 0xa5ac, 0x00ff, 0x7ea8, 0xa6b4, 0x00ff, 0x6920, 0xc1bd, | 1357 | 0x1dc0, 0x6208, 0xa294, 0x00ff, 0x78ec, 0xd0e4, 0x0130, 0xa282, |
1334 | 0x6922, 0xd1c4, 0x05b0, 0xc1c4, 0x6922, 0xa6b4, 0x00ff, 0x0530, | 1358 | 0x000b, 0x1218, 0x2011, 0x000a, 0x0028, 0xa282, 0x000c, 0x1210, |
1335 | 0xa682, 0x0018, 0x0218, 0x0110, 0x2031, 0x0018, 0xa686, 0x0010, | 1359 | 0x2011, 0x000c, 0x6308, 0x831f, 0xa39c, 0x00ff, 0xa382, 0x0018, |
1336 | 0x1108, 0x8630, 0x852b, 0x852b, 0x2041, 0x0000, 0x080c, 0x3ac9, | 1360 | 0x0218, 0x0110, 0x2019, 0x0018, 0x78ab, 0x0001, 0x78ab, 0x0003, |
1337 | 0x0118, 0x080c, 0x38f7, 0x00a0, 0x080c, 0x3a95, 0x080c, 0x38f4, | 1361 | 0x78ab, 0x0001, 0x7aaa, 0x7baa, 0xa8c0, 0x0005, 0x6820, 0xc0c5, |
1338 | 0x6920, 0xc1c5, 0x6922, 0x7e58, 0xc695, 0x7e5a, 0xd6d4, 0x1118, | 1362 | 0x6822, 0x080c, 0x3a7a, 0x00ce, 0x0005, 0x00c6, 0x2960, 0x6104, |
1339 | 0x781b, 0x006e, 0x0005, 0x781b, 0x0082, 0x0005, 0x080c, 0x38f4, | 1363 | 0xa18c, 0xfff5, 0x6106, 0x2011, 0x0032, 0x2019, 0x0000, 0x0000, |
1364 | 0x78ab, 0x0001, 0x78ab, 0x0003, 0x78ab, 0x0001, 0x7aaa, 0x7baa, | ||
1365 | 0xa8c0, 0x0005, 0x6820, 0xc0c5, 0x6822, 0x00ce, 0x0005, 0xa006, | ||
1366 | 0x2030, 0x2010, 0x00c6, 0x7154, 0x2160, 0x2018, 0x2008, 0xa084, | ||
1367 | 0xffe0, 0xa635, 0x7e86, 0x6018, 0x789a, 0x7eae, 0x6612, 0x78a4, | ||
1368 | 0xa084, 0x7770, 0xa18c, 0x000f, 0xa105, 0x2029, 0x4705, 0x252c, | ||
1369 | 0xd5cc, 0x0140, 0xd3a4, 0x0110, 0xa085, 0x0800, 0xd3fc, 0x0110, | ||
1370 | 0xa085, 0x8080, 0x78a6, 0x6016, 0x788a, 0xa6b4, 0x001f, 0x8637, | ||
1371 | 0x8204, 0x8004, 0xa605, 0x600e, 0x6004, 0xa084, 0xffd5, 0x6006, | ||
1372 | 0x00ce, 0x0005, 0xa282, 0x0002, 0x1904, 0x3a3f, 0x7aa8, 0x6920, | ||
1373 | 0xc1bd, 0x6922, 0xd1cc, 0x0568, 0xc1cc, 0x6922, 0xa294, 0x00ff, | ||
1374 | 0xa282, 0x0002, 0x1a04, 0x3a30, 0x080c, 0x39c1, 0x080c, 0x3917, | ||
1375 | 0xa980, 0x0001, 0x200c, 0x080c, 0x3b91, 0x080c, 0x38b8, 0x88ff, | ||
1376 | 0x0178, 0x789b, 0x0060, 0x2800, 0x78aa, 0x7e58, 0xc695, 0x7e5a, | ||
1377 | 0xd6d4, 0x1118, 0x781b, 0x006e, 0x0005, 0x781b, 0x0082, 0x0005, | ||
1340 | 0x7e58, 0xd6d4, 0x1118, 0x781b, 0x0071, 0x0005, 0x781b, 0x0083, | 1378 | 0x7e58, 0xd6d4, 0x1118, 0x781b, 0x0071, 0x0005, 0x781b, 0x0083, |
1341 | 0x0005, 0x00c6, 0x7054, 0x2060, 0x6100, 0xd1e4, 0x0598, 0x6208, | 1379 | 0x0005, 0xa282, 0x0002, 0x1218, 0xa284, 0x0001, 0x0140, 0x7154, |
1342 | 0x8217, 0xa294, 0x00ff, 0xa282, 0x0018, 0x0218, 0x0110, 0x2011, | 1380 | 0xa188, 0x0000, 0x210c, 0xd1ec, 0x1110, 0x2011, 0x0000, 0x080c, |
1343 | 0x0018, 0x2600, 0xa202, 0x1208, 0x2230, 0xa686, 0x0010, 0x1108, | 1381 | 0x3aac, 0x0479, 0x080c, 0x3917, 0x7858, 0xc095, 0x785a, 0x781b, |
1344 | 0x8630, 0x6208, 0xa294, 0x00ff, 0x78ec, 0xd0e4, 0x0130, 0xa282, | 1382 | 0x0082, 0x0005, 0x00c6, 0x0026, 0x2960, 0x6000, 0x2011, 0x0001, |
1345 | 0x000a, 0x1240, 0x2011, 0x000a, 0x0028, 0xa282, 0x000c, 0x1210, | 1383 | 0xd0ec, 0x1158, 0xd0bc, 0x1138, 0x6014, 0xd0b4, 0x1120, 0xc1a4, |
1346 | 0x2011, 0x000c, 0x2200, 0xa502, 0x1208, 0x2228, 0x080c, 0x3a99, | 1384 | 0x6106, 0xa006, 0x0088, 0x2011, 0x0000, 0x78ab, 0x0001, 0x78ab, |
1347 | 0x852b, 0x852b, 0x2041, 0x0000, 0x080c, 0x3ac9, 0x0118, 0x080c, | 1385 | 0x0002, 0x78ab, 0x0003, 0x7aaa, 0xa8c0, 0x0004, 0x080c, 0x3a7a, |
1348 | 0x38f7, 0x0020, 0x080c, 0x3a95, 0x080c, 0x38f4, 0x7858, 0xc095, | 1386 | 0x6820, 0xa085, 0x0200, 0x6822, 0x002e, 0x00ce, 0x0005, 0x8807, |
1349 | 0x785a, 0x00ce, 0x781b, 0x0082, 0x0005, 0x00c6, 0x2960, 0x6000, | 1387 | 0xa715, 0x00c6, 0x2009, 0x0000, 0x7054, 0x2060, 0x82ff, 0x0110, |
1350 | 0xd0e4, 0x1188, 0xd0b4, 0x1150, 0x6010, 0xa084, 0x000f, 0x1130, | 1388 | 0x2009, 0x0040, 0x6018, 0xa080, 0x0002, 0x789a, 0x78a4, 0xa084, |
1351 | 0x6104, 0xa18c, 0xfff5, 0x6106, 0x00ce, 0x0005, 0x2011, 0x0032, | 1389 | 0xff9f, 0xa105, 0xc0ec, 0xd0b4, 0x1108, 0xc0ed, 0x6100, 0xd1f4, |
1352 | 0x2019, 0x0000, 0x00f0, 0x68a0, 0xd0cc, 0x1dc0, 0x6208, 0xa294, | 1390 | 0x0110, 0xa085, 0x0020, 0x78a6, 0x6016, 0x788a, 0x6004, 0xa084, |
1353 | 0x00ff, 0x78ec, 0xd0e4, 0x0130, 0xa282, 0x000b, 0x1218, 0x2011, | 1391 | 0xffef, 0x6006, 0x00ce, 0x0005, 0x0006, 0x7000, 0xa086, 0x0003, |
1354 | 0x000a, 0x0028, 0xa282, 0x000c, 0x1210, 0x2011, 0x000c, 0x6308, | 1392 | 0x0110, 0x000e, 0x0010, 0x000e, 0x0498, 0xd6ac, 0x0588, 0x7888, |
1355 | 0x831f, 0xa39c, 0x00ff, 0xa382, 0x0018, 0x0218, 0x0110, 0x2019, | 1393 | 0xa084, 0x0040, 0x0568, 0x7bb8, 0x8307, 0xa084, 0x007f, 0x1518, |
1356 | 0x0018, 0x78ab, 0x0001, 0x78ab, 0x0003, 0x78ab, 0x0001, 0x7aaa, | 1394 | 0x8207, 0xa084, 0x00ff, 0x0904, 0x3a57, 0xa09a, 0x0004, 0x1a04, |
1357 | 0x7baa, 0xa8c0, 0x0005, 0x6820, 0xc0c5, 0x6822, 0x080c, 0x3a55, | 1395 | 0x3a57, 0xd6f4, 0x11d0, 0x79d8, 0x7adc, 0xa108, 0xa291, 0x0000, |
1358 | 0x00ce, 0x0005, 0x00c6, 0x2960, 0x6104, 0xa18c, 0xfff5, 0x6106, | 1396 | 0x79d2, 0x79da, 0x7ad6, 0x7ade, 0x080c, 0x42e8, 0x781b, 0x0080, |
1359 | 0x2011, 0x0032, 0x2019, 0x0000, 0x0000, 0x78ab, 0x0001, 0x78ab, | 1397 | 0xb284, 0x0600, 0x0118, 0x2001, 0x0000, 0x0010, 0x2001, 0x0001, |
1360 | 0x0003, 0x78ab, 0x0001, 0x7aaa, 0x7baa, 0xa8c0, 0x0005, 0x6820, | 1398 | 0x080c, 0x419a, 0x0005, 0x080c, 0x2575, 0x781b, 0x0080, 0x0005, |
1361 | 0xc0c5, 0x6822, 0x00ce, 0x0005, 0xa006, 0x2030, 0x2010, 0x00c6, | 1399 | 0x781b, 0x0083, 0x0005, 0x2039, 0x0000, 0x2041, 0x0000, 0x2031, |
1362 | 0x7154, 0x2160, 0x2018, 0x2008, 0xa084, 0xffe0, 0xa635, 0x7e86, | 1400 | 0x0000, 0xa006, 0x2010, 0x080c, 0x391a, 0x080c, 0x39bf, 0x7e58, |
1363 | 0x6018, 0x789a, 0x7eae, 0x6612, 0x78a4, 0xa084, 0x7770, 0xa18c, | 1401 | 0x080c, 0x3a73, 0x781b, 0x0082, 0x0005, 0x0cd1, 0x6820, 0xc0c4, |
1364 | 0x000f, 0xa105, 0x2029, 0x4605, 0x252c, 0xd5cc, 0x0140, 0xd3a4, | 1402 | 0x6822, 0x00c6, 0x7054, 0x2060, 0x080c, 0x3944, 0x00b0, 0x0c81, |
1365 | 0x0110, 0xa085, 0x0800, 0xd3fc, 0x0110, 0xa085, 0x8080, 0x78a6, | 1403 | 0x6820, 0xc0cc, 0x6822, 0x00c6, 0x7054, 0x2060, 0x080c, 0x39de, |
1366 | 0x6016, 0x788a, 0xa6b4, 0x001f, 0x8637, 0x8204, 0x8004, 0xa605, | 1404 | 0x0060, 0x0c31, 0x6820, 0xa084, 0xecff, 0x6822, 0x00c6, 0x7054, |
1367 | 0x600e, 0x6004, 0xa084, 0xffd5, 0x6006, 0x00ce, 0x0005, 0xa282, | 1405 | 0x2060, 0x6004, 0xa084, 0xffc5, 0x6006, 0x00ce, 0x0005, 0x0049, |
1368 | 0x0002, 0x1904, 0x3a1a, 0x7aa8, 0x6920, 0xc1bd, 0x6922, 0xd1cc, | 1406 | 0x781b, 0x0082, 0x0005, 0x6827, 0x0002, 0x0049, 0x781b, 0x0082, |
1369 | 0x0568, 0xc1cc, 0x6922, 0xa294, 0x00ff, 0xa282, 0x0002, 0x1a04, | 1407 | 0x0005, 0x2001, 0x0005, 0x0088, 0x2001, 0x000c, 0x0070, 0x6820, |
1370 | 0x3a0b, 0x080c, 0x399e, 0x080c, 0x38f4, 0xa980, 0x0001, 0x200c, | 1408 | 0xc0d5, 0x6822, 0x2001, 0x0006, 0x0040, 0x2001, 0x000d, 0x0028, |
1371 | 0x080c, 0x3b6b, 0x080c, 0x3895, 0x88ff, 0x0178, 0x789b, 0x0060, | 1409 | 0x2001, 0x0009, 0x0010, 0x2001, 0x0007, 0x789b, 0x007e, 0x78aa, |
1372 | 0x2800, 0x78aa, 0x7e58, 0xc695, 0x7e5a, 0xd6d4, 0x1118, 0x781b, | 1410 | 0xc69d, 0x7e5a, 0x70d0, 0xd0b4, 0x0168, 0xc0b4, 0x70d2, 0x00c6, |
1373 | 0x006e, 0x0005, 0x781b, 0x0082, 0x0005, 0x7e58, 0xd6d4, 0x1118, | 1411 | 0x70b4, 0xa065, 0x6008, 0xa084, 0xfbef, 0x600a, 0x6018, 0x8001, |
1374 | 0x781b, 0x0071, 0x0005, 0x781b, 0x0083, 0x0005, 0xa282, 0x0002, | 1412 | 0x601a, 0x00ce, 0x0005, 0x0076, 0x873f, 0xa7bc, 0x000f, 0x873b, |
1375 | 0x1218, 0xa284, 0x0001, 0x0140, 0x7154, 0xa188, 0x0000, 0x210c, | 1413 | 0x873b, 0x8703, 0xa0e0, 0x4bc0, 0xae8e, 0x4740, 0x0110, 0xa0e0, |
1376 | 0xd1ec, 0x1110, 0x2011, 0x0000, 0x080c, 0x3a87, 0x0479, 0x080c, | 1414 | 0x4c40, 0xa7b8, 0x0020, 0x7f9a, 0x79a4, 0xa184, 0x7fe0, 0x78ae, |
1377 | 0x38f4, 0x7858, 0xc095, 0x785a, 0x781b, 0x0082, 0x0005, 0x00c6, | 1415 | 0x6012, 0x79a4, 0xa184, 0x773f, 0x78a6, 0x6016, 0x6004, 0xa085, |
1378 | 0x0026, 0x2960, 0x6000, 0x2011, 0x0001, 0xd0ec, 0x1158, 0xd0bc, | 1416 | 0x0038, 0x6006, 0x007e, 0x0005, 0x789b, 0x0080, 0x78ab, 0x0001, |
1379 | 0x1138, 0x6014, 0xd0b4, 0x1120, 0xc1a4, 0x6106, 0xa006, 0x0088, | 1417 | 0x78ab, 0x0002, 0x78ab, 0x0003, 0x7aaa, 0x789b, 0x0060, 0x78ab, |
1380 | 0x2011, 0x0000, 0x78ab, 0x0001, 0x78ab, 0x0002, 0x78ab, 0x0003, | 1418 | 0x0004, 0x0800, 0x2031, 0x0000, 0x2029, 0x0032, 0x789b, 0x0080, |
1381 | 0x7aaa, 0xa8c0, 0x0004, 0x080c, 0x3a55, 0x6820, 0xa085, 0x0200, | 1419 | 0x78ab, 0x0001, 0x78ab, 0x0003, 0x78ab, 0x0001, 0x7daa, 0x7eaa, |
1382 | 0x6822, 0x002e, 0x00ce, 0x0005, 0x8807, 0xa715, 0x00c6, 0x2009, | 1420 | 0x789b, 0x0060, 0x78ab, 0x0005, 0x0804, 0x3a7a, 0x0156, 0x8007, |
1383 | 0x0000, 0x7054, 0x2060, 0x82ff, 0x0110, 0x2009, 0x0040, 0x6018, | 1421 | 0xa084, 0x00ff, 0x8003, 0x8003, 0xa080, 0x0020, 0x789a, 0x79a4, |
1384 | 0xa080, 0x0002, 0x789a, 0x78a4, 0xa084, 0xff9f, 0xa105, 0xc0ec, | 1422 | 0xa18c, 0xffe0, 0x2021, 0x3b7a, 0x2019, 0x0011, 0x20a9, 0x000e, |
1385 | 0xd0b4, 0x1108, 0xc0ed, 0x6100, 0xd1f4, 0x0110, 0xa085, 0x0020, | 1423 | 0x2011, 0x0032, 0x2404, 0xa084, 0xffe0, 0xa106, 0x0128, 0x8420, |
1386 | 0x78a6, 0x6016, 0x788a, 0x6004, 0xa084, 0xffef, 0x6006, 0x00ce, | 1424 | 0x2300, 0xa210, 0x1f04, 0x3ae2, 0x015e, 0x0005, 0x0156, 0x0804, |
1387 | 0x0005, 0x0006, 0x7000, 0xa086, 0x0003, 0x0110, 0x000e, 0x0010, | 1425 | 0x3b30, 0x2021, 0x3b88, 0x20a9, 0x0009, 0x2011, 0x0029, 0xa582, |
1388 | 0x000e, 0x0488, 0xd6ac, 0x0578, 0x7888, 0xa084, 0x0040, 0x0558, | 1426 | 0x0028, 0x0550, 0x8420, 0x95a9, 0x2011, 0x0033, 0xa582, 0x0033, |
1389 | 0x7bb8, 0x8307, 0xa084, 0x007f, 0x1508, 0x8207, 0xa084, 0x00ff, | 1427 | 0x0618, 0x8420, 0x95a9, 0x2019, 0x000a, 0x2011, 0x0065, 0x2200, |
1390 | 0xa09e, 0x0001, 0x1904, 0x3a32, 0xd6f4, 0x11d0, 0x79d8, 0x7adc, | 1428 | 0xa502, 0x02d0, 0x8420, 0x2300, 0xa210, 0x1f04, 0x3b07, 0x015e, |
1391 | 0xa108, 0xa291, 0x0000, 0x79d2, 0x79da, 0x7ad6, 0x7ade, 0x080c, | 1429 | 0x0088, 0x2021, 0x3b7a, 0x2019, 0x0011, 0x20a9, 0x000e, 0x2011, |
1392 | 0x42b5, 0x781b, 0x0080, 0xb284, 0x0600, 0x0118, 0x2001, 0x0000, | 1430 | 0x0033, 0x2200, 0xa502, 0x0240, 0x8420, 0x2300, 0xa210, 0x1f04, |
1393 | 0x0010, 0x2001, 0x0001, 0x080c, 0x4172, 0x0005, 0x080c, 0x254c, | 1431 | 0x3b19, 0x015e, 0xa006, 0x0005, 0x8211, 0x015e, 0xa582, 0x0064, |
1394 | 0x781b, 0x0080, 0x0005, 0x781b, 0x0083, 0x0005, 0x2039, 0x0000, | 1432 | 0x1220, 0x7808, 0xa085, 0x0070, 0x780a, 0x2404, 0xa005, 0x0005, |
1395 | 0x2041, 0x0000, 0x2031, 0x0000, 0xa006, 0x2010, 0x080c, 0x38f7, | 1433 | 0xa886, 0x0002, 0x01e8, 0x2021, 0x3b66, 0x20a9, 0x000d, 0x2011, |
1396 | 0x080c, 0x399c, 0x7e58, 0x080c, 0x3a4e, 0x781b, 0x0082, 0x0005, | 1434 | 0x0028, 0xa582, 0x0028, 0x0d48, 0x8420, 0x2019, 0x0019, 0x2011, |
1397 | 0x0cd1, 0x6820, 0xc0c4, 0x6822, 0x00c6, 0x7054, 0x2060, 0x080c, | 1435 | 0x0033, 0x2200, 0xa502, 0x0e00, 0x8420, 0x2300, 0xa210, 0x1f04, |
1398 | 0x3921, 0x00b0, 0x0c81, 0x6820, 0xc0cc, 0x6822, 0x00c6, 0x7054, | 1436 | 0x3b41, 0x015e, 0x2011, 0x0184, 0xa582, 0x0185, 0x0ab0, 0x0890, |
1399 | 0x2060, 0x080c, 0x39bb, 0x0060, 0x0c31, 0x6820, 0xa084, 0xecff, | 1437 | 0x2021, 0x3b75, 0x20a9, 0x0003, 0x2011, 0x0024, 0xa586, 0x0024, |
1400 | 0x6822, 0x00c6, 0x7054, 0x2060, 0x6004, 0xa084, 0xffc5, 0x6006, | 1438 | 0x0960, 0x8420, 0x2011, 0x0028, 0xa586, 0x0028, 0x0930, 0x8420, |
1401 | 0x00ce, 0x0005, 0x0049, 0x781b, 0x0082, 0x0005, 0x6827, 0x0002, | 1439 | 0x2019, 0x0019, 0x2011, 0x0033, 0x0804, 0x3b19, 0x1021, 0x2202, |
1402 | 0x0049, 0x781b, 0x0082, 0x0005, 0x2001, 0x0005, 0x0088, 0x2001, | 1440 | 0x3403, 0x4604, 0x5805, 0x6a06, 0x7c07, 0x4610, 0x4612, 0x5812, |
1403 | 0x000c, 0x0070, 0x6820, 0xc0d5, 0x6822, 0x2001, 0x0006, 0x0040, | 1441 | 0x5a12, 0x6a14, 0x6c14, 0x6e14, 0x7e17, 0x9021, 0xb002, 0xe204, |
1404 | 0x2001, 0x000d, 0x0028, 0x2001, 0x0009, 0x0010, 0x2001, 0x0007, | 1442 | 0xe210, 0xe210, 0x1209, 0x3002, 0x3202, 0x4203, 0x4403, 0x5404, |
1405 | 0x789b, 0x007e, 0x78aa, 0xc69d, 0x7e5a, 0x70d0, 0xd0b4, 0x0168, | 1443 | 0x5604, 0x6605, 0x6805, 0x7806, 0x7a06, 0x0c07, 0x0c07, 0x0e07, |
1406 | 0xc0b4, 0x70d2, 0x00c6, 0x70b4, 0xa065, 0x6008, 0xa084, 0xfbef, | 1444 | 0x10e1, 0x330a, 0x5805, 0x5a05, 0x6a06, 0x6c06, 0x7c07, 0x7e07, |
1407 | 0x600a, 0x6018, 0x8001, 0x601a, 0x00ce, 0x0005, 0x0076, 0x873f, | 1445 | 0x0e00, 0x789b, 0x0080, 0xa046, 0x0005, 0xa784, 0x0f00, 0x800b, |
1408 | 0xa7bc, 0x000f, 0x873b, 0x873b, 0x8703, 0xa0e0, 0x4ac0, 0xae8e, | 1446 | 0xa784, 0x001f, 0x8003, 0x8003, 0x8003, 0x8003, 0xa105, 0xd7fc, |
1409 | 0x4640, 0x0110, 0xa0e0, 0x4b40, 0xa7b8, 0x0020, 0x7f9a, 0x79a4, | 1447 | 0x0118, 0xa0e0, 0x6cc0, 0x0010, 0xa0e0, 0x4cc0, 0x0005, 0x00e6, |
1410 | 0xa184, 0x7fe0, 0x78ae, 0x6012, 0x79a4, 0xa184, 0x773f, 0x78a6, | 1448 | 0x00f6, 0xd084, 0x0138, 0x2079, 0x0100, 0x2009, 0x4780, 0x2071, |
1411 | 0x6016, 0x6004, 0xa085, 0x0038, 0x6006, 0x007e, 0x0005, 0x789b, | 1449 | 0x4780, 0x0030, 0x2009, 0x4740, 0x2079, 0x0200, 0x2071, 0x4740, |
1412 | 0x0080, 0x78ab, 0x0001, 0x78ab, 0x0002, 0x78ab, 0x0003, 0x7aaa, | 1450 | 0x2091, 0x8000, 0x2104, 0xa084, 0x000f, 0x0002, 0x3bc8, 0x3bc8, |
1413 | 0x789b, 0x0060, 0x78ab, 0x0004, 0x0800, 0x2031, 0x0000, 0x2029, | 1451 | 0x3bc8, 0x3bc8, 0x3bc8, 0x3bc8, 0x3bc6, 0x3bc6, 0x080c, 0x2575, |
1414 | 0x0032, 0x789b, 0x0080, 0x78ab, 0x0001, 0x78ab, 0x0003, 0x78ab, | 1452 | 0x69b4, 0xc1f5, 0xa18c, 0xff9f, 0x69b6, 0xa005, 0x0580, 0x7858, |
1415 | 0x0001, 0x7daa, 0x7eaa, 0x789b, 0x0060, 0x78ab, 0x0005, 0x0804, | 1453 | 0xa084, 0xff9f, 0xa085, 0x6000, 0x785a, 0x7828, 0xa086, 0x1814, |
1416 | 0x3a55, 0x0156, 0x8007, 0xa084, 0x00ff, 0x8003, 0x8003, 0xa080, | 1454 | 0x1530, 0x784b, 0x0004, 0x7848, 0xa084, 0x0004, 0x1de0, 0x784b, |
1417 | 0x0020, 0x789a, 0x79a4, 0xa18c, 0xffe0, 0x2021, 0x3b54, 0x2019, | 1455 | 0x0008, 0x7848, 0xa084, 0x0008, 0x1de0, 0x7830, 0xd0bc, 0x11b8, |
1418 | 0x0011, 0x20a9, 0x000e, 0x2011, 0x0032, 0x2404, 0xa084, 0xffe0, | 1456 | 0xb284, 0x0800, 0x0118, 0x0104, 0x3bff, 0x0010, 0x0304, 0x3bff, |
1419 | 0xa106, 0x0128, 0x8420, 0x2300, 0xa210, 0x1f04, 0x3abd, 0x015e, | 1457 | 0x79e4, 0xa184, 0x0030, 0x0158, 0x78ec, 0xa084, 0x0003, 0x0138, |
1420 | 0x0005, 0x0156, 0x04f8, 0x2021, 0x3b62, 0x20a9, 0x0009, 0x2011, | 1458 | 0x681c, 0xd0ac, 0x1110, 0x00d9, 0x0010, 0x781b, 0x00fb, 0x00fe, |
1421 | 0x0029, 0xa582, 0x0028, 0x0550, 0x8420, 0x95a9, 0x2011, 0x0033, | 1459 | 0x00ee, 0x0005, 0x2001, 0x4701, 0x2004, 0xd0ac, 0x1118, 0x6814, |
1422 | 0xa582, 0x0033, 0x0618, 0x8420, 0x95a9, 0x2019, 0x000a, 0x2011, | 1460 | 0x080c, 0x249e, 0x0005, 0x781b, 0x0083, 0x0005, 0x781b, 0x0082, |
1423 | 0x0065, 0x2200, 0xa502, 0x02d0, 0x8420, 0x2300, 0xa210, 0x1f04, | 1461 | 0x0005, 0x781b, 0x0071, 0x0005, 0x781b, 0x006e, 0x0005, 0x2009, |
1424 | 0x3ae1, 0x015e, 0x0088, 0x2021, 0x3b54, 0x2019, 0x0011, 0x20a9, | 1462 | 0x4719, 0x210c, 0xa186, 0x0000, 0x0150, 0xa186, 0x0001, 0x0150, |
1425 | 0x000e, 0x2011, 0x0033, 0x2200, 0xa502, 0x0240, 0x8420, 0x2300, | 1463 | 0x701f, 0x000b, 0x7063, 0x0001, 0x781b, 0x0054, 0x0005, 0x781b, |
1426 | 0xa210, 0x1f04, 0x3af3, 0x015e, 0xa006, 0x0005, 0x8211, 0x015e, | 1464 | 0x00f3, 0x0005, 0x701f, 0x000a, 0x0005, 0x2009, 0x4719, 0x210c, |
1427 | 0xa582, 0x0064, 0x1220, 0x7808, 0xa085, 0x0070, 0x780a, 0x2404, | 1465 | 0xa186, 0x0000, 0x0168, 0xa186, 0x0001, 0x0138, 0x701f, 0x000b, |
1428 | 0xa005, 0x0005, 0xa886, 0x0002, 0x01e8, 0x2021, 0x3b40, 0x20a9, | 1466 | 0x7063, 0x0001, 0x781b, 0x0054, 0x0005, 0x701f, 0x000a, 0x0005, |
1429 | 0x000d, 0x2011, 0x0028, 0xa582, 0x0028, 0x0d48, 0x8420, 0x2019, | 1467 | 0x781b, 0x00f2, 0x0005, 0x781b, 0x00fb, 0x0005, 0x781b, 0x00fa, |
1430 | 0x0019, 0x2011, 0x0033, 0x2200, 0xa502, 0x0e00, 0x8420, 0x2300, | 1468 | 0x0005, 0x781b, 0x00cc, 0x0005, 0x781b, 0x00cb, 0x0005, 0x6818, |
1431 | 0xa210, 0x1f04, 0x3b1b, 0x015e, 0x2011, 0x0184, 0xa582, 0x0185, | 1469 | 0xd0fc, 0x0110, 0x681b, 0x001d, 0x701f, 0x000b, 0x7063, 0x0001, |
1432 | 0x0ab0, 0x0890, 0x2021, 0x3b4f, 0x20a9, 0x0003, 0x2011, 0x0024, | ||
1433 | 0xa586, 0x0024, 0x0960, 0x8420, 0x2011, 0x0028, 0xa586, 0x0028, | ||
1434 | 0x0930, 0x8420, 0x2019, 0x0019, 0x2011, 0x0033, 0x0804, 0x3af3, | ||
1435 | 0x1021, 0x2202, 0x3403, 0x4604, 0x5805, 0x6a06, 0x7c07, 0x4610, | ||
1436 | 0x4612, 0x5812, 0x5a12, 0x6a14, 0x6c14, 0x6e14, 0x7e17, 0x9021, | ||
1437 | 0xb002, 0xe204, 0xe210, 0xe210, 0x1209, 0x3002, 0x3202, 0x4203, | ||
1438 | 0x4403, 0x5404, 0x5604, 0x6605, 0x6805, 0x7806, 0x7a06, 0x0c07, | ||
1439 | 0x0c07, 0x0e07, 0x10e1, 0x330a, 0x5805, 0x5a05, 0x6a06, 0x6c06, | ||
1440 | 0x7c07, 0x7e07, 0x0e00, 0x789b, 0x0080, 0xa046, 0x0005, 0xa784, | ||
1441 | 0x0f00, 0x800b, 0xa784, 0x001f, 0x8003, 0x8003, 0x8003, 0x8003, | ||
1442 | 0xa105, 0xd7fc, 0x0118, 0xa0e0, 0x6bc0, 0x0010, 0xa0e0, 0x4bc0, | ||
1443 | 0x0005, 0x00e6, 0x00f6, 0xd084, 0x0138, 0x2079, 0x0100, 0x2009, | ||
1444 | 0x4680, 0x2071, 0x4680, 0x0030, 0x2009, 0x4640, 0x2079, 0x0200, | ||
1445 | 0x2071, 0x4640, 0x2091, 0x8000, 0x2104, 0xa084, 0x000f, 0x0002, | ||
1446 | 0x3ba2, 0x3ba2, 0x3ba2, 0x3ba2, 0x3ba2, 0x3ba2, 0x3ba0, 0x3ba0, | ||
1447 | 0x080c, 0x254c, 0x69b4, 0xc1f5, 0xa18c, 0xff9f, 0x69b6, 0xa005, | ||
1448 | 0x0580, 0x7858, 0xa084, 0xff9f, 0xa085, 0x6000, 0x785a, 0x7828, | ||
1449 | 0xa086, 0x1814, 0x1530, 0x784b, 0x0004, 0x7848, 0xa084, 0x0004, | ||
1450 | 0x1de0, 0x784b, 0x0008, 0x7848, 0xa084, 0x0008, 0x1de0, 0x7830, | ||
1451 | 0xd0bc, 0x11b8, 0xb284, 0x0800, 0x0118, 0x0104, 0x3bd9, 0x0010, | ||
1452 | 0x0304, 0x3bd9, 0x79e4, 0xa184, 0x0030, 0x0158, 0x78ec, 0xa084, | ||
1453 | 0x0003, 0x0138, 0x681c, 0xd0ac, 0x1110, 0x00d9, 0x0010, 0x781b, | ||
1454 | 0x00fb, 0x00fe, 0x00ee, 0x0005, 0x2001, 0x4601, 0x2004, 0xd0ac, | ||
1455 | 0x1118, 0x6814, 0x080c, 0x2475, 0x0005, 0x781b, 0x0083, 0x0005, | ||
1456 | 0x781b, 0x0082, 0x0005, 0x781b, 0x0071, 0x0005, 0x781b, 0x006e, | ||
1457 | 0x0005, 0x2009, 0x4619, 0x210c, 0xa186, 0x0000, 0x0150, 0xa186, | ||
1458 | 0x0001, 0x0150, 0x701f, 0x000b, 0x7063, 0x0001, 0x781b, 0x0054, | ||
1459 | 0x0005, 0x781b, 0x00f3, 0x0005, 0x701f, 0x000a, 0x0005, 0x2009, | ||
1460 | 0x4619, 0x210c, 0xa186, 0x0000, 0x0168, 0xa186, 0x0001, 0x0138, | ||
1461 | 0x701f, 0x000b, 0x7063, 0x0001, 0x781b, 0x0054, 0x0005, 0x701f, | ||
1462 | 0x000a, 0x0005, 0x781b, 0x00f2, 0x0005, 0x781b, 0x00fb, 0x0005, | ||
1463 | 0x781b, 0x00fa, 0x0005, 0x781b, 0x00cc, 0x0005, 0x781b, 0x00cb, | ||
1464 | 0x0005, 0x6818, 0xd0fc, 0x0110, 0x681b, 0x001d, 0x7063, 0x0001, | ||
1465 | 0x781b, 0x0054, 0x0005, 0x7830, 0xa084, 0x00c0, 0x1170, 0x7808, | 1470 | 0x781b, 0x0054, 0x0005, 0x7830, 0xa084, 0x00c0, 0x1170, 0x7808, |
1466 | 0xc08c, 0x780a, 0xe000, 0xe000, 0xe000, 0xe000, 0x78ec, 0xa084, | 1471 | 0xc08c, 0x780a, 0xe000, 0xe000, 0xe000, 0xe000, 0x78ec, 0xa084, |
1467 | 0x0021, 0x0118, 0x7808, 0xc08d, 0x780a, 0x0005, 0x7808, 0xc08d, | 1472 | 0x0021, 0x0118, 0x7808, 0xc08d, 0x780a, 0x0005, 0x7808, 0xc08d, |
1468 | 0x780a, 0x0005, 0x7830, 0xa084, 0x0040, 0x1de0, 0xb284, 0x0800, | 1473 | 0x780a, 0x0005, 0x7830, 0xa084, 0x0040, 0x1de0, 0xb284, 0x0800, |
1469 | 0x0118, 0x1104, 0x3c58, 0x0010, 0x1304, 0x3c58, 0x78ac, 0x0005, | 1474 | 0x0118, 0x1104, 0x3c80, 0x0010, 0x1304, 0x3c80, 0x78ac, 0x0005, |
1470 | 0x7808, 0xa084, 0xfffd, 0x780a, 0xe000, 0xe000, 0xe000, 0xe000, | 1475 | 0x7808, 0xa084, 0xfffd, 0x780a, 0xe000, 0xe000, 0xe000, 0xe000, |
1471 | 0x78ec, 0xa084, 0x0021, 0x0140, 0xb284, 0x0800, 0x0118, 0x1104, | 1476 | 0x78ec, 0xa084, 0x0021, 0x0140, 0xb284, 0x0800, 0x0118, 0x1104, |
1472 | 0x3c67, 0x0010, 0x1304, 0x3c6a, 0x78ac, 0x0006, 0x7808, 0xa085, | 1477 | 0x3c8f, 0x0010, 0x1304, 0x3c92, 0x78ac, 0x0006, 0x7808, 0xa085, |
1473 | 0x0002, 0x780a, 0x000e, 0x0005, 0xa784, 0x0001, 0x1904, 0x322a, | 1478 | 0x0002, 0x780a, 0x000e, 0x0005, 0xa784, 0x0001, 0x1904, 0x324d, |
1474 | 0xa784, 0x0070, 0x0140, 0x00c6, 0x2d60, 0x2f68, 0x080c, 0x2467, | 1479 | 0xa784, 0x0070, 0x0140, 0x00c6, 0x2d60, 0x2f68, 0x080c, 0x2490, |
1475 | 0x2d78, 0x2c68, 0x00ce, 0xa784, 0x0008, 0x0148, 0x784b, 0x0008, | 1480 | 0x2d78, 0x2c68, 0x00ce, 0xa784, 0x0008, 0x0148, 0x784b, 0x0008, |
1476 | 0x78ec, 0xa084, 0x0003, 0x0904, 0x322a, 0x0804, 0x3be5, 0xa784, | 1481 | 0x78ec, 0xa084, 0x0003, 0x0904, 0x324d, 0x0804, 0x3c0b, 0xa784, |
1477 | 0x0004, 0x01c8, 0x78b8, 0xa084, 0x8000, 0x01a8, 0x784b, 0x0008, | 1482 | 0x0004, 0x01c8, 0x78b8, 0xa084, 0x8000, 0x01a8, 0x784b, 0x0008, |
1478 | 0x78ec, 0xa084, 0x0003, 0x0904, 0x322a, 0x78e4, 0xa084, 0x0007, | 1483 | 0x78ec, 0xa084, 0x0003, 0x0904, 0x324d, 0x78e4, 0xa084, 0x0007, |
1479 | 0xa086, 0x0001, 0x1140, 0x78c0, 0xa685, 0x4800, 0x2030, 0x7e5a, | 1484 | 0xa086, 0x0001, 0x1140, 0x78c0, 0xa685, 0x4800, 0x2030, 0x7e5a, |
1480 | 0x781b, 0x00fb, 0x0005, 0xa784, 0x0080, 0x0140, 0x7884, 0xd0fc, | 1485 | 0x781b, 0x00fb, 0x0005, 0xa784, 0x0080, 0x0140, 0x7884, 0xd0fc, |
1481 | 0x0128, 0x080c, 0x3a32, 0x681b, 0x0022, 0x0005, 0x681b, 0x0003, | 1486 | 0x0128, 0x080c, 0x3a57, 0x681b, 0x0022, 0x0005, 0x681b, 0x0003, |
1482 | 0x7858, 0xa084, 0x5f00, 0x681e, 0x682f, 0x0000, 0x6833, 0x0000, | 1487 | 0x7858, 0xa084, 0x5f00, 0x681e, 0x682f, 0x0000, 0x6833, 0x0000, |
1483 | 0x784b, 0x0008, 0x78ec, 0xa084, 0x0003, 0x0904, 0x2b89, 0xb284, | 1488 | 0x784b, 0x0008, 0x78ec, 0xa084, 0x0003, 0x0904, 0x2bac, 0xb284, |
1484 | 0x0800, 0x0110, 0x0104, 0x259d, 0x0304, 0x259d, 0x6b14, 0x8307, | 1489 | 0x0800, 0x0110, 0x0104, 0x25c6, 0x0304, 0x25c6, 0x6b14, 0x8307, |
1485 | 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xd3fc, 0x0118, 0xa080, | 1490 | 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xd3fc, 0x0118, 0xa080, |
1486 | 0x4b40, 0x0010, 0xa080, 0x4ac0, 0x2060, 0x2048, 0x7056, 0x2a60, | 1491 | 0x4c40, 0x0010, 0xa080, 0x4bc0, 0x2060, 0x2048, 0x7056, 0x2a60, |
1487 | 0x0005, 0x00c6, 0x2960, 0x6000, 0xd0ac, 0x0904, 0x3d2f, 0x68a0, | 1492 | 0x0005, 0x00c6, 0x2960, 0x6000, 0xd0ac, 0x0904, 0x3d57, 0x68a0, |
1488 | 0xd1ac, 0x1120, 0xa084, 0x0e00, 0x0904, 0x3d2d, 0x6108, 0x8117, | 1493 | 0xd1ac, 0x1120, 0xa084, 0x0e00, 0x0904, 0x3d55, 0x6108, 0x8117, |
1489 | 0xa18c, 0x00ff, 0x631c, 0x832f, 0xd0dc, 0x0110, 0xa39d, 0x0001, | 1494 | 0xa18c, 0x00ff, 0x631c, 0x832f, 0xd0dc, 0x0110, 0xa39d, 0x0001, |
1490 | 0xd0cc, 0x11c8, 0xa584, 0x00ff, 0x0138, 0x78ec, 0xd0e4, 0x0110, | 1495 | 0xd0cc, 0x11c8, 0xa584, 0x00ff, 0x0138, 0x78ec, 0xd0e4, 0x0110, |
1491 | 0x8213, 0x00b8, 0x2029, 0x0000, 0xa182, 0x000c, 0x1290, 0x78ec, | 1496 | 0x8213, 0x00b8, 0x2029, 0x0000, 0xa182, 0x000c, 0x1290, 0x78ec, |
@@ -1493,23 +1498,23 @@ static unsigned short risc_code01[] = { | |||
1493 | 0x2009, 0x000a, 0x0030, 0x2009, 0x0032, 0x2011, 0x0000, 0x2029, | 1498 | 0x2009, 0x000a, 0x0030, 0x2009, 0x0032, 0x2011, 0x0000, 0x2029, |
1494 | 0x0000, 0x78ab, 0x0001, 0x78ab, 0x0006, 0x78ab, 0x0004, 0x79aa, | 1499 | 0x0000, 0x78ab, 0x0001, 0x78ab, 0x0006, 0x78ab, 0x0004, 0x79aa, |
1495 | 0x78ab, 0x0000, 0x7aaa, 0x7baa, 0x7daa, 0xa8c0, 0x0008, 0x6820, | 1500 | 0x78ab, 0x0000, 0x7aaa, 0x7baa, 0x7daa, 0xa8c0, 0x0008, 0x6820, |
1496 | 0xa085, 0x1000, 0x6822, 0x080c, 0x3a55, 0xa085, 0x0001, 0x00ce, | 1501 | 0xa085, 0x1000, 0x6822, 0x080c, 0x3a7a, 0xa085, 0x0001, 0x00ce, |
1497 | 0x0005, 0xa282, 0x0006, 0x1904, 0x3a24, 0x7da8, 0x7eac, 0x8637, | 1502 | 0x0005, 0xa282, 0x0006, 0x1904, 0x3a49, 0x7da8, 0x7eac, 0x8637, |
1498 | 0xa5ac, 0x00ff, 0xa6b4, 0x00ff, 0x7fac, 0x8747, 0xa7bc, 0x00ff, | 1503 | 0xa5ac, 0x00ff, 0xa6b4, 0x00ff, 0x7fac, 0x8747, 0xa7bc, 0x00ff, |
1499 | 0xa8c4, 0x00ff, 0x6920, 0xc1bd, 0x6922, 0xd1e4, 0x0904, 0x3da3, | 1504 | 0xa8c4, 0x00ff, 0x6920, 0xc1bd, 0x6922, 0xd1e4, 0x0904, 0x3dcb, |
1500 | 0xa18c, 0xecff, 0x6922, 0xa782, 0x0002, 0x1a04, 0x39fe, 0xa6b4, | 1505 | 0xa18c, 0xecff, 0x6922, 0xa782, 0x0002, 0x1a04, 0x3a23, 0xa6b4, |
1501 | 0x00ff, 0x0904, 0x3da0, 0xa682, 0x0031, 0x1a04, 0x39fe, 0xa582, | 1506 | 0x00ff, 0x0904, 0x3dc8, 0xa682, 0x0031, 0x1a04, 0x3a23, 0xa582, |
1502 | 0x0009, 0x0a04, 0x39fe, 0xa882, 0x0003, 0x1a04, 0x39fe, 0xa886, | 1507 | 0x0009, 0x0a04, 0x3a23, 0xa882, 0x0003, 0x1a04, 0x3a23, 0xa886, |
1503 | 0x0002, 0x01d0, 0xa886, 0x0000, 0x1904, 0x39fe, 0x2001, 0x000c, | 1508 | 0x0002, 0x01d0, 0xa886, 0x0000, 0x1904, 0x3a23, 0x2001, 0x000c, |
1504 | 0x79ec, 0xd1e4, 0x0110, 0x2001, 0x000a, 0xa502, 0x1290, 0x080c, | 1509 | 0x79ec, 0xd1e4, 0x0110, 0x2001, 0x000a, 0xa502, 0x1290, 0x080c, |
1505 | 0x39fe, 0x00c6, 0x2960, 0x6004, 0xa085, 0x001a, 0x6006, 0x6000, | 1510 | 0x3a23, 0x00c6, 0x2960, 0x6004, 0xa085, 0x001a, 0x6006, 0x6000, |
1506 | 0xc0ac, 0x6002, 0x00ce, 0x0005, 0xa786, 0x0000, 0x0904, 0x39fe, | 1511 | 0xc0ac, 0x6002, 0x00ce, 0x0005, 0xa786, 0x0000, 0x0904, 0x3a23, |
1507 | 0x8634, 0xa682, 0x0018, 0x0228, 0x0120, 0x2031, 0x0018, 0x0804, | 1512 | 0x8634, 0xa682, 0x0018, 0x0228, 0x0120, 0x2031, 0x0018, 0x0804, |
1508 | 0x3df1, 0xa686, 0x0010, 0x1108, 0x8630, 0x852b, 0x852b, 0x080c, | 1513 | 0x3e19, 0xa686, 0x0010, 0x1108, 0x8630, 0x852b, 0x852b, 0x080c, |
1509 | 0x3ac9, 0x0904, 0x39fe, 0x080c, 0x38f7, 0x080c, 0x399c, 0x7e58, | 1514 | 0x3aee, 0x0904, 0x3a23, 0x080c, 0x391a, 0x080c, 0x39bf, 0x7e58, |
1510 | 0xd6d4, 0x1118, 0x781b, 0x0071, 0x0005, 0x781b, 0x0083, 0x0005, | 1515 | 0xd6d4, 0x1118, 0x781b, 0x0071, 0x0005, 0x781b, 0x0083, 0x0005, |
1511 | 0x080c, 0x38f4, 0x0c90, 0xa886, 0x0002, 0x1108, 0x8634, 0x7154, | 1516 | 0x080c, 0x3917, 0x0c90, 0xa886, 0x0002, 0x1108, 0x8634, 0x7154, |
1512 | 0xa188, 0x0000, 0x210c, 0xd1ac, 0x0904, 0x39fe, 0xd1ec, 0x1120, | 1517 | 0xa188, 0x0000, 0x210c, 0xd1ac, 0x0904, 0x3a23, 0xd1ec, 0x1120, |
1513 | 0x2039, 0x0000, 0x2041, 0x0000, 0xd1e4, 0x1120, 0x2031, 0x0000, | 1518 | 0x2039, 0x0000, 0x2041, 0x0000, 0xd1e4, 0x1120, 0x2031, 0x0000, |
1514 | 0x2041, 0x0000, 0xa782, 0x0002, 0x12c8, 0x621c, 0xa284, 0x00ff, | 1519 | 0x2041, 0x0000, 0xa782, 0x0002, 0x12c8, 0x621c, 0xa284, 0x00ff, |
1515 | 0xa706, 0x0110, 0x2039, 0x0000, 0xa605, 0x0190, 0x6108, 0x811f, | 1520 | 0xa706, 0x0110, 0x2039, 0x0000, 0xa605, 0x0190, 0x6108, 0x811f, |
@@ -1517,11 +1522,11 @@ static unsigned short risc_code01[] = { | |||
1517 | 0xa086, 0x0201, 0x0160, 0xa886, 0x0000, 0x0168, 0x2039, 0x0000, | 1522 | 0xa086, 0x0201, 0x0160, 0xa886, 0x0000, 0x0168, 0x2039, 0x0000, |
1518 | 0x2041, 0x0000, 0x2031, 0x0000, 0xa006, 0x2010, 0x0070, 0xa284, | 1523 | 0x2041, 0x0000, 0x2031, 0x0000, 0xa006, 0x2010, 0x0070, 0xa284, |
1519 | 0xff00, 0x1108, 0x2040, 0xa184, 0x00ff, 0xa502, 0x0108, 0x2128, | 1524 | 0xff00, 0x1108, 0x2040, 0xa184, 0x00ff, 0xa502, 0x0108, 0x2128, |
1520 | 0x852b, 0x852b, 0x080c, 0x3ac9, 0x0d58, 0x080c, 0x38f7, 0x080c, | 1525 | 0x852b, 0x852b, 0x080c, 0x3aee, 0x0d58, 0x080c, 0x391a, 0x080c, |
1521 | 0x399c, 0x789b, 0x0080, 0x78ab, 0x0001, 0x78ab, 0x0006, 0x78ab, | 1526 | 0x39bf, 0x789b, 0x0080, 0x78ab, 0x0001, 0x78ab, 0x0006, 0x78ab, |
1522 | 0x0004, 0x7daa, 0x78ab, 0x0000, 0x7eaa, 0x7faa, 0x2800, 0x78aa, | 1527 | 0x0004, 0x7daa, 0x78ab, 0x0000, 0x7eaa, 0x7faa, 0x2800, 0x78aa, |
1523 | 0x789b, 0x0060, 0x78ab, 0x0008, 0x6820, 0xc0e5, 0x6822, 0x080c, | 1528 | 0x789b, 0x0060, 0x78ab, 0x0008, 0x6820, 0xc0e5, 0x6822, 0x080c, |
1524 | 0x3a55, 0x7858, 0xc095, 0x785a, 0x781b, 0x0082, 0x0005, 0x0020, | 1529 | 0x3a7a, 0x7858, 0xc095, 0x785a, 0x781b, 0x0082, 0x0005, 0x0020, |
1525 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | 1530 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, |
1526 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | 1531 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, |
1527 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | 1532 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, |
@@ -1559,223 +1564,248 @@ static unsigned short risc_code01[] = { | |||
1559 | 0x20dd, 0x0011, 0x20d5, 0x8822, 0x0016, 0x0000, 0x0126, 0x70d0, | 1564 | 0x20dd, 0x0011, 0x20d5, 0x8822, 0x0016, 0x0000, 0x0126, 0x70d0, |
1560 | 0xa084, 0x4c00, 0x8004, 0x2090, 0x7204, 0x7008, 0xc09c, 0xa205, | 1565 | 0xa084, 0x4c00, 0x8004, 0x2090, 0x7204, 0x7008, 0xc09c, 0xa205, |
1561 | 0x11a0, 0x720c, 0x82ff, 0x0128, 0x8aff, 0x1178, 0x7200, 0xd284, | 1566 | 0x11a0, 0x720c, 0x82ff, 0x0128, 0x8aff, 0x1178, 0x7200, 0xd284, |
1562 | 0x1160, 0x7804, 0xd0cc, 0x0110, 0x080c, 0x4328, 0x7007, 0x0008, | 1567 | 0x1160, 0x7804, 0xd0cc, 0x0110, 0x080c, 0x435b, 0x7007, 0x0008, |
1563 | 0x7003, 0x0008, 0x012e, 0x2000, 0x0005, 0x7000, 0xa084, 0x0003, | 1568 | 0x7003, 0x0008, 0x012e, 0x2000, 0x0005, 0x7000, 0xa084, 0x0003, |
1564 | 0x7002, 0xc69c, 0xd084, 0x0588, 0x7108, 0xe000, 0x7008, 0xa106, | 1569 | 0x7002, 0xc69c, 0xd084, 0x0588, 0x7108, 0xe000, 0x7008, 0xa106, |
1565 | 0x1dd8, 0xa184, 0x0003, 0x0904, 0x3fa2, 0xa184, 0x01e0, 0x1904, | 1570 | 0x1dd8, 0xa184, 0x0003, 0x0904, 0x3fca, 0xa184, 0x01e0, 0x1904, |
1566 | 0x3fa2, 0xd1f4, 0x1d88, 0xa184, 0x3000, 0xa086, 0x1000, 0x0d60, | 1571 | 0x3fca, 0xd1f4, 0x1d88, 0xa184, 0x3000, 0xa086, 0x1000, 0x0d60, |
1567 | 0x2011, 0x0180, 0x710c, 0x8211, 0x0130, 0x7008, 0xd0f4, 0x1d20, | 1572 | 0x2011, 0x0180, 0x710c, 0x8211, 0x0130, 0x7008, 0xd0f4, 0x1d20, |
1568 | 0x700c, 0xa106, 0x0dc0, 0x7007, 0x0012, 0x7108, 0xe000, 0x7008, | 1573 | 0x700c, 0xa106, 0x0dc0, 0x7007, 0x0012, 0x7108, 0xe000, 0x7008, |
1569 | 0xa106, 0x1dd8, 0xa184, 0x0003, 0x0568, 0xd194, 0x0db0, 0xd1f4, | 1574 | 0xa106, 0x1dd8, 0xa184, 0x0003, 0x0568, 0xd194, 0x0db0, 0xd1f4, |
1570 | 0x0548, 0x7007, 0x0002, 0x0880, 0x0428, 0x7108, 0xd1fc, 0x0130, | 1575 | 0x0548, 0x7007, 0x0002, 0x0880, 0x0428, 0x7108, 0xd1fc, 0x0130, |
1571 | 0x080c, 0x40ae, 0x8aff, 0x0904, 0x3f2c, 0x0cb8, 0x700c, 0xa08c, | 1576 | 0x080c, 0x40d6, 0x8aff, 0x0904, 0x3f54, 0x0cb8, 0x700c, 0xa08c, |
1572 | 0x07ff, 0x01e8, 0x7004, 0xd084, 0x0178, 0x7014, 0xa005, 0x1148, | 1577 | 0x07ff, 0x01e8, 0x7004, 0xd084, 0x0178, 0x7014, 0xa005, 0x1148, |
1573 | 0x7010, 0x7310, 0xa306, 0x1de0, 0x2300, 0xa005, 0x0128, 0xa102, | 1578 | 0x7010, 0x7310, 0xa306, 0x1de0, 0x2300, 0xa005, 0x0128, 0xa102, |
1574 | 0x1e20, 0x7007, 0x0010, 0x0030, 0x8aff, 0x0148, 0x080c, 0x426b, | 1579 | 0x1e20, 0x7007, 0x0010, 0x0030, 0x8aff, 0x0148, 0x080c, 0x429a, |
1575 | 0x1de8, 0x09d8, 0x080c, 0x4034, 0x012e, 0x2000, 0x0005, 0x7204, | 1580 | 0x1de8, 0x09d8, 0x080c, 0x405c, 0x012e, 0x2000, 0x0005, 0x7204, |
1576 | 0x7108, 0xc19c, 0x8103, 0x1218, 0x7007, 0x0002, 0x0cc0, 0xa205, | 1581 | 0x7108, 0xc19c, 0x8103, 0x1218, 0x7007, 0x0002, 0x0cc0, 0xa205, |
1577 | 0x1d88, 0x7007, 0x0008, 0x7003, 0x0008, 0x0006, 0x2001, 0x4601, | 1582 | 0x1d88, 0x7007, 0x0008, 0x7003, 0x0008, 0x0006, 0x2001, 0x4701, |
1578 | 0x2004, 0xd0cc, 0x0110, 0x080c, 0x4328, 0x000e, 0x012e, 0x2000, | 1583 | 0x2004, 0xd0cc, 0x0110, 0x080c, 0x435b, 0x000e, 0x012e, 0x2000, |
1579 | 0x0005, 0x6428, 0x84ff, 0x0508, 0x2c70, 0x7004, 0xa0bc, 0x000f, | 1584 | 0x0005, 0x6428, 0x84ff, 0x0508, 0x2c70, 0x7004, 0xa0bc, 0x000f, |
1580 | 0xa7b8, 0x3ff5, 0x273c, 0x87fb, 0x1148, 0x0210, 0x080c, 0x254c, | 1585 | 0xa7b8, 0x401d, 0x273c, 0x87fb, 0x1148, 0x0210, 0x080c, 0x2575, |
1581 | 0x609c, 0xa075, 0x0190, 0x0c88, 0x2039, 0x3fea, 0x2704, 0xae68, | 1586 | 0x609c, 0xa075, 0x0190, 0x0c88, 0x2039, 0x4012, 0x2704, 0xae68, |
1582 | 0x6808, 0xa630, 0x680c, 0xa529, 0x8421, 0x0138, 0x8738, 0x2704, | 1587 | 0x6808, 0xa630, 0x680c, 0xa529, 0x8421, 0x0138, 0x8738, 0x2704, |
1583 | 0xa005, 0x1da8, 0x709c, 0xa075, 0x1d00, 0x0005, 0x0000, 0x0005, | 1588 | 0xa005, 0x1da8, 0x709c, 0xa075, 0x1d00, 0x0005, 0x0000, 0x0005, |
1584 | 0x0009, 0x000d, 0x0011, 0x0015, 0x0019, 0x001d, 0x0000, 0x0003, | 1589 | 0x0009, 0x000d, 0x0011, 0x0015, 0x0019, 0x001d, 0x0000, 0x0003, |
1585 | 0x0009, 0x000f, 0x0015, 0x001b, 0x0000, 0x0000, 0x3fea, 0x3fe7, | 1590 | 0x0009, 0x000f, 0x0015, 0x001b, 0x0000, 0x0000, 0x4012, 0x400f, |
1586 | 0x0000, 0x0000, 0x8000, 0x0000, 0x3fea, 0x0000, 0x3ff2, 0x3fef, | 1591 | 0x0000, 0x0000, 0x8000, 0x0000, 0x4012, 0x0000, 0x401a, 0x4017, |
1587 | 0x0000, 0x0000, 0x0000, 0x0000, 0x3ff2, 0x0000, 0x3fed, 0x3fed, | 1592 | 0x0000, 0x0000, 0x0000, 0x0000, 0x401a, 0x0000, 0x4015, 0x4015, |
1588 | 0x0000, 0x0000, 0x8000, 0x0000, 0x3fed, 0x0000, 0x3ff3, 0x3ff3, | 1593 | 0x0000, 0x0000, 0x8000, 0x0000, 0x4015, 0x0000, 0x401b, 0x401b, |
1589 | 0x0000, 0x0000, 0x0000, 0x0000, 0x3ff3, 0x2079, 0x4600, 0x2071, | 1594 | 0x0000, 0x0000, 0x0000, 0x0000, 0x401b, 0x2079, 0x4700, 0x2071, |
1590 | 0x0010, 0x7007, 0x000a, 0x7007, 0x0002, 0x7003, 0x0001, 0x2009, | 1595 | 0x0010, 0x7007, 0x000a, 0x7007, 0x0002, 0x7003, 0x0001, 0x2009, |
1591 | 0x0002, 0x2071, 0x0050, 0x7007, 0x000a, 0x7007, 0x0002, 0x7003, | 1596 | 0x0002, 0x2071, 0x0050, 0x7007, 0x000a, 0x7007, 0x0002, 0x7003, |
1592 | 0x0000, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1128, 0x8109, 0x0118, | 1597 | 0x0000, 0x2001, 0x01ff, 0x2004, 0xd0fc, 0x1128, 0x8109, 0x0118, |
1593 | 0x2071, 0x0020, 0x0c80, 0x0005, 0x7004, 0x8004, 0x1a04, 0x408a, | 1598 | 0x2071, 0x0020, 0x0c80, 0x0005, 0x7004, 0x8004, 0x1a04, 0x40b2, |
1594 | 0x7108, 0x7008, 0xa106, 0x1de0, 0xa184, 0x01e0, 0x0120, 0x080c, | 1599 | 0x7108, 0x7008, 0xa106, 0x1de0, 0xa184, 0x01e0, 0x0120, 0x080c, |
1595 | 0x40e6, 0x0804, 0x40aa, 0x7007, 0x0012, 0x2019, 0x0000, 0x7108, | 1600 | 0x410e, 0x0804, 0x40d2, 0x7007, 0x0012, 0x2019, 0x0000, 0x7108, |
1596 | 0x7008, 0xa106, 0x1de0, 0xa184, 0x01e0, 0x0120, 0x080c, 0x40e6, | 1601 | 0x7008, 0xa106, 0x1de0, 0xa184, 0x01e0, 0x0120, 0x080c, 0x410e, |
1597 | 0x0804, 0x40aa, 0xa19c, 0x300c, 0xa386, 0x2004, 0x0190, 0xa386, | 1602 | 0x0804, 0x40d2, 0xa19c, 0x300c, 0xa386, 0x2004, 0x0190, 0xa386, |
1598 | 0x0008, 0x01c0, 0x7004, 0xd084, 0x1148, 0x7108, 0x7008, 0xa106, | 1603 | 0x0008, 0x01c0, 0x7004, 0xd084, 0x1148, 0x7108, 0x7008, 0xa106, |
1599 | 0x1de0, 0xa184, 0x0003, 0x0110, 0x0804, 0x40e6, 0xa386, 0x200c, | 1604 | 0x1de0, 0xa184, 0x0003, 0x0110, 0x0804, 0x410e, 0xa386, 0x200c, |
1600 | 0x19f0, 0x7200, 0x8204, 0x0230, 0x730c, 0xa384, 0x07ff, 0x0110, | 1605 | 0x19f0, 0x7200, 0x8204, 0x0230, 0x730c, 0xa384, 0x07ff, 0x0110, |
1601 | 0x080c, 0x254c, 0x7108, 0x7008, 0xa106, 0x1de0, 0xa184, 0x01e0, | 1606 | 0x080c, 0x2575, 0x7108, 0x7008, 0xa106, 0x1de0, 0xa184, 0x01e0, |
1602 | 0x0118, 0x080c, 0x40e6, 0x0470, 0x7007, 0x0012, 0x7000, 0xd084, | 1607 | 0x0118, 0x080c, 0x410e, 0x0470, 0x7007, 0x0012, 0x7000, 0xd084, |
1603 | 0x1148, 0x7310, 0x7014, 0xa305, 0x0128, 0x710c, 0xa184, 0x07ff, | 1608 | 0x1148, 0x7310, 0x7014, 0xa305, 0x0128, 0x710c, 0xa184, 0x07ff, |
1604 | 0x1904, 0x4034, 0x7108, 0x7008, 0xa106, 0x1de0, 0xa184, 0x01e0, | 1609 | 0x1904, 0x405c, 0x7108, 0x7008, 0xa106, 0x1de0, 0xa184, 0x01e0, |
1605 | 0x0118, 0x080c, 0x40e6, 0x00b0, 0x7007, 0x0012, 0x7007, 0x0008, | 1610 | 0x0118, 0x080c, 0x410e, 0x00b0, 0x7007, 0x0012, 0x7007, 0x0008, |
1606 | 0x7004, 0xd09c, 0x1de8, 0x7108, 0x7008, 0xa106, 0x1de0, 0xa184, | 1611 | 0x7004, 0xd09c, 0x1de8, 0x7108, 0x7008, 0xa106, 0x1de0, 0xa184, |
1607 | 0x01e0, 0x0118, 0x080c, 0x40e6, 0x0028, 0x7007, 0x0012, 0x7108, | 1612 | 0x01e0, 0x0118, 0x080c, 0x410e, 0x0028, 0x7007, 0x0012, 0x7108, |
1608 | 0x8103, 0x0e88, 0x7003, 0x0008, 0x0005, 0x7108, 0xa184, 0x01e0, | 1613 | 0x8103, 0x0e88, 0x7003, 0x0008, 0x0005, 0x7108, 0xa184, 0x01e0, |
1609 | 0x15a8, 0x7108, 0xa184, 0x01e0, 0x1588, 0xa184, 0x0007, 0x0002, | 1614 | 0x15a8, 0x7108, 0xa184, 0x01e0, 0x1588, 0xa184, 0x0007, 0x0002, |
1610 | 0x40c2, 0x40d0, 0x40c0, 0x40d0, 0x40c0, 0x4120, 0x40c0, 0x411e, | 1615 | 0x40ea, 0x40f8, 0x40e8, 0x40f8, 0x40e8, 0x4148, 0x40e8, 0x4146, |
1611 | 0x080c, 0x254c, 0x7004, 0xa084, 0x0010, 0xc08d, 0x7006, 0x8aff, | 1616 | 0x080c, 0x2575, 0x7004, 0xa084, 0x0010, 0xc08d, 0x7006, 0x8aff, |
1612 | 0x1118, 0x2049, 0x0000, 0x0005, 0x080c, 0x426b, 0x1de8, 0x0005, | 1617 | 0x1118, 0x2049, 0x0000, 0x0005, 0x080c, 0x429a, 0x1de8, 0x0005, |
1613 | 0x7004, 0xa084, 0x0010, 0xc08d, 0x7006, 0x7004, 0xd084, 0x1140, | 1618 | 0x7004, 0xa084, 0x0010, 0xc08d, 0x7006, 0x7004, 0xd084, 0x1140, |
1614 | 0x7108, 0x7008, 0xa106, 0x1de0, 0xa184, 0x0003, 0x0108, 0x0030, | 1619 | 0x7108, 0x7008, 0xa106, 0x1de0, 0xa184, 0x0003, 0x0108, 0x0030, |
1615 | 0x8aff, 0x0118, 0x080c, 0x426b, 0x1de8, 0x0005, 0x7007, 0x0012, | 1620 | 0x8aff, 0x0118, 0x080c, 0x429a, 0x1de8, 0x0005, 0x7007, 0x0012, |
1616 | 0x7108, 0x1d04, 0x40e9, 0x2091, 0x6000, 0x1d04, 0x40ed, 0x2091, | 1621 | 0x7108, 0x1d04, 0x4111, 0x2091, 0x6000, 0x1d04, 0x4115, 0x2091, |
1617 | 0x6000, 0x7007, 0x0012, 0x7007, 0x0008, 0x7004, 0xd09c, 0x1de8, | 1622 | 0x6000, 0x7007, 0x0012, 0x7007, 0x0008, 0x7004, 0xd09c, 0x1de8, |
1618 | 0x7007, 0x0012, 0x7108, 0xd1fc, 0x1dd8, 0x7003, 0x0000, 0x7000, | 1623 | 0x7007, 0x0012, 0x7108, 0xd1fc, 0x1dd8, 0x7003, 0x0000, 0x7000, |
1619 | 0xa005, 0x1130, 0x7004, 0xa005, 0x1118, 0x700c, 0xa005, 0x0108, | 1624 | 0xa005, 0x1130, 0x7004, 0xa005, 0x1118, 0x700c, 0xa005, 0x0108, |
1620 | 0x0c40, 0x2049, 0x0000, 0xb284, 0x0200, 0x0118, 0x2001, 0x0000, | 1625 | 0x0c40, 0x2049, 0x0000, 0xb284, 0x0200, 0x0118, 0x2001, 0x0000, |
1621 | 0x0010, 0x2001, 0x0001, 0x080c, 0x3b81, 0x681b, 0x0002, 0x2051, | 1626 | 0x0010, 0x2001, 0x0001, 0x080c, 0x3ba7, 0x681b, 0x0002, 0x2051, |
1622 | 0x0000, 0x0005, 0x080c, 0x254c, 0x080c, 0x254c, 0x080c, 0x415f, | 1627 | 0x0000, 0x0005, 0x080c, 0x2575, 0x080c, 0x2575, 0x080c, 0x4187, |
1623 | 0x7210, 0x7114, 0x700c, 0xa09c, 0x07ff, 0x2800, 0xa300, 0xa211, | 1628 | 0x7210, 0x7114, 0x700c, 0xa09c, 0x07ff, 0x2800, 0xa300, 0xa211, |
1624 | 0xa189, 0x0000, 0x04a1, 0x2704, 0x2c58, 0xac60, 0x6308, 0x2200, | 1629 | 0xa189, 0x0000, 0x04a1, 0x2704, 0x2c58, 0xac60, 0x6308, 0x2200, |
1625 | 0xa322, 0x630c, 0x2100, 0xa31b, 0x2400, 0xa305, 0x0140, 0x1238, | 1630 | 0xa322, 0x630c, 0x2100, 0xa31b, 0x2400, 0xa305, 0x0140, 0x1238, |
1626 | 0x8412, 0x8210, 0x830a, 0xa189, 0x0000, 0x2b60, 0x0c58, 0x2b60, | 1631 | 0x8412, 0x8210, 0x830a, 0xa189, 0x0000, 0x2b60, 0x0c58, 0x2b60, |
1627 | 0x8a07, 0x0006, 0x6004, 0xd09c, 0x0118, 0xa7ba, 0x3fef, 0x0010, | 1632 | 0x8a07, 0x0006, 0x6004, 0xd09c, 0x0118, 0xa7ba, 0x4017, 0x0010, |
1628 | 0xa7ba, 0x3fe7, 0x000e, 0xa73d, 0x2c00, 0x6886, 0x6f8a, 0x6c92, | 1633 | 0xa7ba, 0x400f, 0x000e, 0xa73d, 0x2c00, 0x6886, 0x6f8a, 0x6c92, |
1629 | 0x6b8e, 0x7108, 0x7008, 0xa106, 0x1de0, 0xa184, 0x01e0, 0x0110, | 1634 | 0x6b8e, 0x7108, 0x7008, 0xa106, 0x1de0, 0xa184, 0x01e0, 0x0110, |
1630 | 0x080c, 0x40e6, 0x7007, 0x0012, 0x080c, 0x4034, 0x0005, 0x8a50, | 1635 | 0x080c, 0x410e, 0x7007, 0x0012, 0x080c, 0x405c, 0x0005, 0x8a50, |
1631 | 0x8739, 0x2704, 0xa004, 0x1168, 0x6000, 0xa064, 0x1108, 0x2d60, | 1636 | 0x8739, 0x2704, 0xa004, 0x1168, 0x6000, 0xa064, 0x1108, 0x2d60, |
1632 | 0x6004, 0xa084, 0x000f, 0xa080, 0x4005, 0x203c, 0x87fb, 0x090c, | 1637 | 0x6004, 0xa084, 0x000f, 0xa080, 0x402d, 0x203c, 0x87fb, 0x090c, |
1633 | 0x254c, 0x0005, 0x0126, 0x00d6, 0x70d0, 0xa084, 0x4c00, 0x8004, | 1638 | 0x2575, 0x0005, 0x0126, 0x00d6, 0x70d0, 0xa084, 0x4c00, 0x8004, |
1634 | 0x2090, 0x00de, 0x6884, 0x2060, 0x6888, 0x6b8c, 0x6c90, 0x8057, | 1639 | 0x2090, 0x00de, 0x6884, 0x2060, 0x6888, 0x6b8c, 0x6c90, 0x8057, |
1635 | 0xaad4, 0x00ff, 0xa084, 0x00ff, 0x0006, 0x6804, 0xa084, 0x0008, | 1640 | 0xaad4, 0x00ff, 0xa084, 0x00ff, 0x0006, 0x6804, 0xa084, 0x0008, |
1636 | 0x000e, 0x0118, 0xa0b8, 0x3fef, 0x0010, 0xa0b8, 0x3fe7, 0xb284, | 1641 | 0x000e, 0x0118, 0xa0b8, 0x4017, 0x0010, 0xa0b8, 0x400f, 0xb284, |
1637 | 0x0200, 0x0110, 0x7e20, 0x0008, 0x7e24, 0xa6b5, 0x000c, 0x681c, | 1642 | 0x0200, 0x0110, 0x7e20, 0x0008, 0x7e24, 0xa6b5, 0x000c, 0x681c, |
1638 | 0xd0b4, 0x0108, 0xc685, 0x2400, 0xa305, 0x0518, 0x2c58, 0x2704, | 1643 | 0xd0b4, 0x0108, 0xc685, 0x2400, 0xa305, 0x0550, 0x2c58, 0x2704, |
1639 | 0x6104, 0xac60, 0x6000, 0xa400, 0x701a, 0x6004, 0xa301, 0x701e, | 1644 | 0x6104, 0xac60, 0x6000, 0xa400, 0x2048, 0xa9cc, 0x0004, 0x0118, |
1640 | 0xd19c, 0x0140, 0x6010, 0xa081, 0x0000, 0x7022, 0x6014, 0xa081, | 1645 | 0x080c, 0x43a3, 0x0400, 0x701a, 0x6004, 0xa301, 0x701e, 0xd19c, |
1641 | 0x0000, 0x7026, 0x6208, 0x2400, 0xa202, 0x7012, 0x620c, 0x2300, | 1646 | 0x0140, 0x6010, 0xa081, 0x0000, 0x7022, 0x6014, 0xa081, 0x0000, |
1642 | 0xa203, 0x7016, 0x7602, 0x7007, 0x0001, 0x2b60, 0x080c, 0x4292, | 1647 | 0x7026, 0x6208, 0x2400, 0xa202, 0x7012, 0x620c, 0x2300, 0xa203, |
1643 | 0x0010, 0x080c, 0x426b, 0x1de8, 0x012e, 0x2000, 0x0005, 0x0126, | 1648 | 0x7016, 0x7602, 0x7007, 0x0001, 0x2b60, 0x080c, 0x42c5, 0x0010, |
1644 | 0x00d6, 0x70d0, 0xa084, 0x4c00, 0x8004, 0x2090, 0x00de, 0x7007, | 1649 | 0x080c, 0x429a, 0x1de8, 0x012e, 0x2000, 0x0005, 0x0126, 0x00d6, |
1645 | 0x0004, 0x7004, 0xd094, 0x1de8, 0x7003, 0x0008, 0x012e, 0x2000, | 1650 | 0x70d0, 0xa084, 0x4c00, 0x8004, 0x2090, 0x00de, 0x7007, 0x0004, |
1646 | 0x0005, 0x0126, 0x00d6, 0x70d0, 0xa084, 0x4c00, 0x8004, 0x2090, | 1651 | 0x7004, 0xd094, 0x1de8, 0x7003, 0x0008, 0x012e, 0x2000, 0x0005, |
1647 | 0x00de, 0x7e20, 0xb284, 0x0200, 0x1108, 0x7e24, 0xa6b5, 0x000c, | 1652 | 0x0126, 0x00d6, 0x70d0, 0xa084, 0x4c00, 0x8004, 0x2090, 0x00de, |
1648 | 0x681c, 0xd0ac, 0x1118, 0xc685, 0x7003, 0x0000, 0x6828, 0x2050, | 1653 | 0x7e20, 0xb284, 0x0200, 0x1108, 0x7e24, 0xa6b5, 0x000c, 0x681c, |
1649 | 0x2d60, 0x6004, 0xa0bc, 0x000f, 0xa7b8, 0x3ff5, 0x273c, 0x87fb, | 1654 | 0xd0ac, 0x1118, 0xc685, 0x7003, 0x0000, 0x6828, 0x2050, 0x2d60, |
1650 | 0x1138, 0x0210, 0x080c, 0x254c, 0x689c, 0xa065, 0x0120, 0x0c88, | 1655 | 0x6004, 0xa0bc, 0x000f, 0xa7b8, 0x401d, 0x273c, 0x87fb, 0x1138, |
1651 | 0x080c, 0x426b, 0x1de8, 0x012e, 0x2000, 0x0005, 0x0126, 0x0006, | 1656 | 0x0210, 0x080c, 0x2575, 0x689c, 0xa065, 0x0120, 0x0c88, 0x080c, |
1652 | 0x0016, 0x00d6, 0x70d0, 0xa084, 0x4c00, 0x8004, 0x2090, 0x7e20, | 1657 | 0x429a, 0x1de8, 0x012e, 0x2000, 0x0005, 0x0126, 0x0006, 0x0016, |
1653 | 0xb284, 0x0200, 0x1108, 0x7e24, 0x00de, 0x003e, 0x004e, 0xa6b5, | 1658 | 0x00d6, 0x70d0, 0xa084, 0x4c00, 0x8004, 0x2090, 0x7e20, 0xb284, |
1654 | 0x000c, 0x681c, 0xd0b4, 0x0128, 0xc685, 0x7003, 0x0000, 0x7007, | 1659 | 0x0200, 0x1108, 0x7e24, 0x00de, 0x003e, 0x004e, 0xa6b5, 0x000c, |
1655 | 0x0004, 0x2049, 0x4206, 0x6828, 0xa055, 0x00d6, 0x0904, 0x4267, | 1660 | 0x681c, 0xd0b4, 0x0128, 0xc685, 0x7003, 0x0000, 0x7007, 0x0004, |
1656 | 0x2d70, 0x2e60, 0x7004, 0xa0bc, 0x000f, 0xa7b8, 0x3ff5, 0x273c, | 1661 | 0x2049, 0x4235, 0x6828, 0xa055, 0x00d6, 0x0904, 0x4296, 0x2d70, |
1657 | 0x87fb, 0x1140, 0x0210, 0x080c, 0x254c, 0x709c, 0xa075, 0x2060, | 1662 | 0x2e60, 0x7004, 0xa0bc, 0x000f, 0xa7b8, 0x401d, 0x273c, 0x87fb, |
1658 | 0x0570, 0x0c80, 0x2704, 0xae68, 0x6808, 0xa422, 0x680c, 0xa31b, | 1663 | 0x1140, 0x0210, 0x080c, 0x2575, 0x709c, 0xa075, 0x2060, 0x0570, |
1659 | 0x0268, 0x8a51, 0x1110, 0x080c, 0x254c, 0x8738, 0x2704, 0xa005, | 1664 | 0x0c80, 0x2704, 0xae68, 0x6808, 0xa422, 0x680c, 0xa31b, 0x0268, |
1660 | 0x1d90, 0x709c, 0xa075, 0x2060, 0x01d0, 0x08e0, 0x8422, 0x8420, | 1665 | 0x8a51, 0x1110, 0x080c, 0x2575, 0x8738, 0x2704, 0xa005, 0x1d90, |
1661 | 0x831a, 0xa399, 0x0000, 0x6908, 0x2400, 0xa122, 0x690c, 0x2300, | 1666 | 0x709c, 0xa075, 0x2060, 0x01d0, 0x08e0, 0x8422, 0x8420, 0x831a, |
1662 | 0xa11b, 0x1210, 0x080c, 0x254c, 0xb284, 0x0200, 0x0118, 0x2071, | 1667 | 0xa399, 0x0000, 0x6908, 0x2400, 0xa122, 0x690c, 0x2300, 0xa11b, |
1663 | 0x0050, 0x0010, 0x2071, 0x0020, 0x00de, 0x0804, 0x419b, 0x00de, | 1668 | 0x1210, 0x080c, 0x2575, 0xb284, 0x0200, 0x0118, 0x2071, 0x0050, |
1664 | 0x012e, 0x2000, 0x0005, 0x7008, 0x0006, 0xa084, 0x01e0, 0x000e, | 1669 | 0x0010, 0x2071, 0x0020, 0x00de, 0x0804, 0x41c3, 0x00de, 0x012e, |
1665 | 0x0110, 0xa006, 0x0005, 0xa084, 0x0003, 0xa086, 0x0003, 0x1108, | 1670 | 0x2000, 0x0005, 0x7008, 0x0006, 0xa084, 0x01e0, 0x000e, 0x0110, |
1666 | 0x0005, 0x2704, 0xac78, 0x7800, 0x701a, 0x7804, 0x701e, 0x7808, | 1671 | 0xa006, 0x0005, 0xa084, 0x0003, 0xa086, 0x0003, 0x1108, 0x0005, |
1667 | 0x7012, 0x780c, 0x7016, 0x6004, 0xd09c, 0x0120, 0x7810, 0x7022, | 1672 | 0x2704, 0xac78, 0x7800, 0x2f08, 0xd094, 0x1904, 0x43a6, 0x701a, |
1668 | 0x7814, 0x7026, 0x7602, 0x7004, 0xa084, 0x0010, 0xc085, 0x7006, | 1673 | 0x7804, 0x701e, 0x7808, 0x7012, 0x780c, 0x7016, 0x6004, 0xd09c, |
1669 | 0x2079, 0x4600, 0x8a51, 0x01e8, 0x8738, 0x2704, 0xa005, 0x1168, | 1674 | 0x0120, 0x7810, 0x7022, 0x7814, 0x7026, 0x7602, 0x7004, 0xa084, |
1670 | 0x609c, 0xa005, 0x01b8, 0x2060, 0x6004, 0xa084, 0x000f, 0xa080, | 1675 | 0x0010, 0xc085, 0x7006, 0x2079, 0x4700, 0x8a51, 0x01e8, 0x8738, |
1671 | 0x3ff5, 0x203c, 0x87fb, 0x090c, 0x254c, 0x7008, 0x0006, 0xa084, | 1676 | 0x2704, 0xa005, 0x1168, 0x609c, 0xa005, 0x01b8, 0x2060, 0x6004, |
1672 | 0x01e0, 0x000e, 0x0110, 0xa006, 0x0028, 0xa084, 0x0003, 0xa086, | 1677 | 0xa084, 0x000f, 0xa080, 0x401d, 0x203c, 0x87fb, 0x090c, 0x2575, |
1673 | 0x0003, 0x0005, 0x2051, 0x0000, 0x0005, 0x0126, 0x0006, 0x00d6, | 1678 | 0x7008, 0x0006, 0xa084, 0x01e0, 0x000e, 0x0110, 0xa006, 0x0028, |
1674 | 0x70d0, 0xa084, 0x4c00, 0x8004, 0x2090, 0x00de, 0x008e, 0x7108, | 1679 | 0xa084, 0x0003, 0xa086, 0x0003, 0x0005, 0x2051, 0x0000, 0x0005, |
1675 | 0xa184, 0x0003, 0x1128, 0x6828, 0xa005, 0x0178, 0x0804, 0x3f45, | 1680 | 0x0126, 0x0006, 0x00d6, 0x70d0, 0xa084, 0x4c00, 0x8004, 0x2090, |
1676 | 0x7108, 0xd1fc, 0x0118, 0x080c, 0x40ae, 0x0c88, 0x7007, 0x0010, | 1681 | 0x00de, 0x008e, 0x7108, 0xa184, 0x0003, 0x1128, 0x6828, 0xa005, |
1677 | 0x7108, 0xd1fc, 0x0de8, 0x080c, 0x40ae, 0x7008, 0xa086, 0x0008, | 1682 | 0x0178, 0x0804, 0x3f6d, 0x7108, 0xd1fc, 0x0118, 0x080c, 0x40d6, |
1678 | 0x1d30, 0x7000, 0xa005, 0x1d18, 0x7003, 0x0000, 0x2049, 0x0000, | 1683 | 0x0c88, 0x7007, 0x0010, 0x7108, 0xd1fc, 0x0de8, 0x080c, 0x40d6, |
1679 | 0x0006, 0x2001, 0x4601, 0x2004, 0xd0cc, 0x0110, 0x080c, 0x4328, | 1684 | 0x7008, 0xa086, 0x0008, 0x1d30, 0x7000, 0xa005, 0x1d18, 0x7003, |
1680 | 0x000e, 0x012e, 0x2000, 0x0005, 0x0126, 0x0146, 0x0136, 0x0156, | 1685 | 0x0000, 0x2049, 0x0000, 0x0006, 0x2001, 0x4701, 0x2004, 0xd0cc, |
1681 | 0x00c6, 0x00d6, 0x70d0, 0xa084, 0x4c00, 0x8004, 0x2090, 0x00de, | 1686 | 0x0110, 0x080c, 0x435b, 0x000e, 0x012e, 0x2000, 0x0005, 0x0126, |
1682 | 0x2049, 0x42ec, 0xad80, 0x0011, 0x20a0, 0xb284, 0x0200, 0x0118, | 1687 | 0x0146, 0x0136, 0x0156, 0x00c6, 0x00d6, 0x70d0, 0xa084, 0x4c00, |
1683 | 0x2099, 0x0032, 0x0010, 0x2099, 0x0031, 0x700c, 0xa084, 0x07ff, | 1688 | 0x8004, 0x2090, 0x00de, 0x2049, 0x431f, 0xad80, 0x0011, 0x20a0, |
1684 | 0x682a, 0x7007, 0x0008, 0x7007, 0x0002, 0x7003, 0x0001, 0x0118, | 1689 | 0xb284, 0x0200, 0x0118, 0x2099, 0x0032, 0x0010, 0x2099, 0x0031, |
1685 | 0x8000, 0x80ac, 0x53a5, 0x700c, 0xa084, 0x07ff, 0x0130, 0x7007, | 1690 | 0x700c, 0xa084, 0x07ff, 0x682a, 0x7007, 0x0008, 0x7007, 0x0002, |
1686 | 0x0004, 0x7004, 0xa084, 0x0004, 0x1de0, 0x00ce, 0x2049, 0x0000, | 1691 | 0x7003, 0x0001, 0x0118, 0x8000, 0x80ac, 0x53a5, 0x700c, 0xa084, |
1687 | 0x7003, 0x0000, 0x015e, 0x013e, 0x014e, 0x012e, 0x2000, 0x0005, | 1692 | 0x07ff, 0x0130, 0x7007, 0x0004, 0x7004, 0xa084, 0x0004, 0x1de0, |
1688 | 0x6814, 0xd0fc, 0x0904, 0x436b, 0x7000, 0xd084, 0x05e0, 0x7e24, | 1693 | 0x00ce, 0x2049, 0x0000, 0x7003, 0x0000, 0x015e, 0x013e, 0x014e, |
1689 | 0xa6b5, 0x0004, 0x7007, 0x0004, 0x7004, 0xa084, 0x0004, 0x1de0, | 1694 | 0x012e, 0x2000, 0x0005, 0x6814, 0xd0fc, 0x0904, 0x439e, 0x7000, |
1690 | 0x7118, 0x0016, 0x711c, 0x0016, 0x7120, 0x0016, 0x7124, 0x0016, | 1695 | 0xd084, 0x05e0, 0x7e24, 0xa6b5, 0x0004, 0x7007, 0x0004, 0x7004, |
1691 | 0x701b, 0x0000, 0x701f, 0x3fff, 0x7023, 0x0000, 0x7027, 0x0000, | 1696 | 0xa084, 0x0004, 0x1de0, 0x7118, 0x0016, 0x711c, 0x0016, 0x7120, |
1692 | 0x7013, 0x0004, 0x7017, 0x0000, 0x7602, 0x7007, 0x0001, 0x2001, | 1697 | 0x0016, 0x7124, 0x0016, 0x701b, 0x0000, 0x701f, 0x3fff, 0x7023, |
1693 | 0xffff, 0x2009, 0x0031, 0x200a, 0x200a, 0x7108, 0x7008, 0xa106, | 1698 | 0x0000, 0x7027, 0x0000, 0x7013, 0x0004, 0x7017, 0x0000, 0x7602, |
1694 | 0x1de0, 0xd1fc, 0x0dd0, 0x002e, 0x7226, 0x002e, 0x7222, 0x002e, | 1699 | 0x7007, 0x0001, 0x2001, 0xffff, 0x2009, 0x0031, 0x200a, 0x200a, |
1695 | 0x721e, 0x002e, 0x721a, 0x7007, 0x0002, 0x7008, 0xa086, 0x0008, | 1700 | 0x7108, 0x7008, 0xa106, 0x1de0, 0xd1fc, 0x0dd0, 0x002e, 0x7226, |
1696 | 0x0110, 0x0804, 0x40e6, 0x7007, 0x0004, 0x7003, 0x0000, 0x0005, | 1701 | 0x002e, 0x7222, 0x002e, 0x721e, 0x002e, 0x721a, 0x7007, 0x0002, |
1697 | 0x2091, 0x8000, 0x2091, 0x6000, 0x78ac, 0xa005, 0x1168, 0x7974, | 1702 | 0x7008, 0xa086, 0x0008, 0x0110, 0x0804, 0x410e, 0x7007, 0x0004, |
1698 | 0x70d0, 0xa106, 0x1148, 0x781c, 0xa005, 0x0130, 0x781f, 0x0000, | 1703 | 0x7003, 0x0000, 0x0005, 0x2049, 0x41c3, 0x0068, 0x7008, 0xa084, |
1699 | 0x0e04, 0x4384, 0x2091, 0x4080, 0x2069, 0x4680, 0xd7fc, 0x1110, | 1704 | 0x0003, 0x0110, 0xa006, 0x0005, 0xa006, 0x2020, 0x2018, 0x2c58, |
1700 | 0x2069, 0x4640, 0x6800, 0xa084, 0x000f, 0x1198, 0x68d0, 0xd0b4, | 1705 | 0x2160, 0x2049, 0x0000, 0x8b58, 0x6100, 0x2100, 0xa408, 0x711a, |
1701 | 0x0180, 0xd0bc, 0x1170, 0x00f6, 0x2079, 0x0100, 0xd7fc, 0x1110, | 1706 | 0x6004, 0xa301, 0x701e, 0x0006, 0x2b04, 0xa084, 0x0008, 0x0150, |
1702 | 0x2079, 0x0200, 0x7830, 0xa084, 0x00c0, 0x1110, 0x080c, 0x22ae, | 1707 | 0x6010, 0xa081, 0x0000, 0x7022, 0x0006, 0x6014, 0xa081, 0x0000, |
1703 | 0x00fe, 0x7830, 0x8001, 0x7832, 0x1904, 0x440b, 0x7834, 0x7832, | 1708 | 0x7026, 0x0006, 0xa184, 0x0007, 0x2011, 0x0008, 0xa22a, 0x6208, |
1704 | 0x2061, 0x6bc0, 0x2069, 0x4680, 0xc7fd, 0x68cc, 0xa005, 0x0128, | 1709 | 0x2400, 0xa212, 0x0026, 0x620c, 0x2240, 0x2300, 0xa843, 0x002e, |
1705 | 0x8001, 0x68ce, 0x1110, 0x080c, 0x4577, 0x6800, 0xa084, 0x000f, | 1710 | 0x88ff, 0x1170, 0x2500, 0xa202, 0x0108, 0x1250, 0x2220, 0x2041, |
1706 | 0x0168, 0xa086, 0x0001, 0x0150, 0x6840, 0xa00d, 0x0138, 0x2104, | 1711 | 0x0000, 0x2b04, 0xd09c, 0x0110, 0x000e, 0x000e, 0x000e, 0x0450, |
1707 | 0xa005, 0x0120, 0x8001, 0x200a, 0x0904, 0x4514, 0x6814, 0xa005, | 1712 | 0x7512, 0x7017, 0x0000, 0x7602, 0xa986, 0x41c3, 0x1118, 0x7007, |
1708 | 0x01a8, 0x8001, 0x6816, 0x1190, 0x68a3, 0x0001, 0x00f6, 0xd7fc, | 1713 | 0x0001, 0x0028, 0x7004, 0xa084, 0x0010, 0xc085, 0x7006, 0x2500, |
1709 | 0x1118, 0x2079, 0x0200, 0x0010, 0x2079, 0x0100, 0x080c, 0x3c46, | 1714 | 0xa100, 0x701a, 0x2b04, 0xa084, 0x0008, 0x0110, 0x000e, 0x004e, |
1710 | 0x00fe, 0x6860, 0xa005, 0x0110, 0x080c, 0x22ae, 0x687c, 0xa005, | 1715 | 0x001e, 0xa189, 0x0000, 0x711e, 0x2b0c, 0xa18c, 0x0008, 0x0130, |
1711 | 0x0140, 0x8001, 0x687e, 0x1128, 0x6863, 0x0000, 0x68d0, 0xc0c5, | 1716 | 0xa4a1, 0x0000, 0x7422, 0xa081, 0x0000, 0x7026, 0x2500, 0xa222, |
1712 | 0x68d2, 0x68d0, 0xd0fc, 0x01b0, 0xc0fc, 0x68d2, 0x20a9, 0x0200, | 1717 | 0xa8c3, 0x0000, 0x7412, 0x2820, 0x7416, 0x7602, 0xa986, 0x41c3, |
1713 | 0x6034, 0xa005, 0x0158, 0x8001, 0x6036, 0x68d0, 0xc0fd, 0x68d2, | 1718 | 0x1118, 0x7007, 0x0001, 0x0028, 0x7004, 0xa084, 0x0010, 0xc085, |
1714 | 0x1128, 0x6010, 0xa005, 0x0110, 0x080c, 0x22ae, 0xace0, 0x0010, | 1719 | 0x7006, 0x8b59, 0x2b60, 0x2079, 0x4700, 0x080c, 0x42c5, 0xa006, |
1715 | 0x1f04, 0x43f0, 0xd7fc, 0x0138, 0x2061, 0x4bc0, 0x2069, 0x4640, | 1720 | 0x0005, 0x2091, 0x8000, 0x2091, 0x6000, 0x78ac, 0xa005, 0x1168, |
1716 | 0xc7fc, 0x0804, 0x43ad, 0x0459, 0x7838, 0x8001, 0x783a, 0x11a0, | 1721 | 0x7974, 0x70d0, 0xa106, 0x1148, 0x781c, 0xa005, 0x0130, 0x781f, |
1717 | 0x783c, 0x783a, 0x2061, 0x4bc0, 0x2069, 0x4640, 0xc7fc, 0x680c, | 1722 | 0x0000, 0x0e04, 0x443d, 0x2091, 0x4080, 0x2069, 0x4780, 0xc7fd, |
1718 | 0xa005, 0x0110, 0x080c, 0x4487, 0xd7fc, 0x1130, 0x2061, 0x6bc0, | 1723 | 0x6800, 0xa084, 0x000f, 0x1198, 0x68d0, 0xd0b4, 0x0180, 0xd0bc, |
1719 | 0x2069, 0x4680, 0xc7fd, 0x0c98, 0x7810, 0xd0cc, 0x0168, 0xd0ac, | 1724 | 0x1170, 0x00f6, 0x2079, 0x0100, 0xd7fc, 0x1110, 0x2079, 0x0200, |
1720 | 0x1120, 0xd0a4, 0x0148, 0xc0ad, 0x7812, 0x2091, 0x8001, 0x0e04, | 1725 | 0x7830, 0xa084, 0x00c0, 0x1110, 0x080c, 0x22d5, 0x00fe, 0xd7fc, |
1721 | 0x4433, 0x080c, 0x207a, 0x0005, 0x2091, 0x8001, 0x0005, 0x7840, | 1726 | 0x0120, 0x2069, 0x4740, 0xc7fc, 0x0c18, 0x7830, 0x8001, 0x7832, |
1722 | 0x8001, 0x7842, 0x1904, 0x4486, 0x7844, 0x7842, 0x2069, 0x4640, | 1727 | 0x1904, 0x44c7, 0x7834, 0x7832, 0x2061, 0x6cc0, 0x2069, 0x4780, |
1723 | 0xc7fc, 0x2079, 0x0200, 0x68d4, 0xa005, 0x0138, 0x7de0, 0xa504, | 1728 | 0xc7fd, 0x68cc, 0xa005, 0x0128, 0x8001, 0x68ce, 0x1110, 0x080c, |
1724 | 0x1120, 0x68d6, 0x68d0, 0xc0bc, 0x68d2, 0x2079, 0x4600, 0x6810, | 1729 | 0x4639, 0x6800, 0xa084, 0x000f, 0x0168, 0xa086, 0x0001, 0x0150, |
1725 | 0xa005, 0x1110, 0x2001, 0x0101, 0x8001, 0x6812, 0xd7fc, 0x0118, | 1730 | 0x6840, 0xa00d, 0x0138, 0x2104, 0xa005, 0x0120, 0x8001, 0x200a, |
1726 | 0xa080, 0x8cd0, 0x0010, 0xa080, 0x8bc0, 0x2040, 0x2004, 0xa065, | 1731 | 0x0904, 0x45d6, 0x6814, 0xa005, 0x01a8, 0x8001, 0x6816, 0x1190, |
1727 | 0x01e0, 0x6024, 0xa005, 0x01b0, 0x8001, 0x6026, 0x1198, 0x6800, | 1732 | 0x68a3, 0x0001, 0x00f6, 0xd7fc, 0x1118, 0x2079, 0x0200, 0x0010, |
1728 | 0xa005, 0x0130, 0x6848, 0xac06, 0x1118, 0x080c, 0x4514, 0x0068, | 1733 | 0x2079, 0x0100, 0x080c, 0x3c6e, 0x00fe, 0x6860, 0xa005, 0x0110, |
1729 | 0x6860, 0xa005, 0x0118, 0x6027, 0x0001, 0x0020, 0x080c, 0x44c8, | 1734 | 0x080c, 0x22d5, 0x687c, 0xa005, 0x0140, 0x8001, 0x687e, 0x1128, |
1730 | 0x2804, 0x0c28, 0x6000, 0x2c40, 0x0c10, 0xd7fc, 0x1138, 0x2069, | 1735 | 0x6863, 0x0000, 0x68d0, 0xc0c5, 0x68d2, 0x68d0, 0xd0fc, 0x01b0, |
1731 | 0x4680, 0xc7fd, 0x2079, 0x0100, 0x0804, 0x4443, 0x0005, 0x2009, | 1736 | 0xc0fc, 0x68d2, 0x20a9, 0x0200, 0x6034, 0xa005, 0x0158, 0x8001, |
1732 | 0x0000, 0x20a9, 0x0200, 0x6008, 0xd09c, 0x0558, 0x6024, 0xa005, | 1737 | 0x6036, 0x68d0, 0xc0fd, 0x68d2, 0x1128, 0x6010, 0xa005, 0x0110, |
1733 | 0x0118, 0x8001, 0x6026, 0x0418, 0x6008, 0xc09c, 0xd084, 0x1110, | 1738 | 0x080c, 0x22d5, 0xace0, 0x0010, 0x1f04, 0x44ac, 0xd7fc, 0x0138, |
1734 | 0xd0ac, 0x01c0, 0x600a, 0x6004, 0xa005, 0x01d8, 0x00d6, 0x00c6, | 1739 | 0x2061, 0x4cc0, 0x2069, 0x4740, 0xc7fc, 0x0804, 0x4469, 0x0459, |
1735 | 0x0016, 0x2068, 0x6010, 0x8001, 0x6012, 0x080c, 0x37a4, 0x2d00, | 1740 | 0x7838, 0x8001, 0x783a, 0x11a0, 0x783c, 0x783a, 0x2061, 0x4cc0, |
1736 | 0x2c68, 0x2060, 0x080c, 0x1be3, 0x080c, 0x1d95, 0x001e, 0x00ce, | 1741 | 0x2069, 0x4740, 0xc7fc, 0x680c, 0xa005, 0x0110, 0x080c, 0x4543, |
1737 | 0x00de, 0x0038, 0xc0bd, 0x600a, 0xa18d, 0x0001, 0x0010, 0xa18d, | 1742 | 0xd7fc, 0x1130, 0x2061, 0x6cc0, 0x2069, 0x4780, 0xc7fd, 0x0c98, |
1738 | 0x0100, 0xace0, 0x0010, 0x1f04, 0x448b, 0xa184, 0x0001, 0x0130, | 1743 | 0x7810, 0xd0cc, 0x0168, 0xd0ac, 0x1120, 0xd0a4, 0x0148, 0xc0ad, |
1739 | 0xa18c, 0xfffe, 0x690e, 0x080c, 0x22ae, 0x0008, 0x690e, 0x0005, | 1744 | 0x7812, 0x2091, 0x8001, 0x0e04, 0x44ef, 0x080c, 0x20a1, 0x0005, |
1740 | 0x2c00, 0x687a, 0x6714, 0x6f72, 0x6017, 0x0000, 0x602b, 0x0000, | 1745 | 0x2091, 0x8001, 0x0005, 0x7840, 0x8001, 0x7842, 0x1904, 0x4542, |
1741 | 0x601b, 0x0006, 0x60b4, 0xa084, 0x5f00, 0x601e, 0x6020, 0xa084, | 1746 | 0x7844, 0x7842, 0x2069, 0x4740, 0xc7fc, 0x2079, 0x0200, 0x68d4, |
1742 | 0x00ff, 0xa085, 0x0060, 0x6022, 0x6000, 0x2042, 0x6858, 0xac06, | 1747 | 0xa005, 0x0138, 0x7de0, 0xa504, 0x1120, 0x68d6, 0x68d0, 0xc0bc, |
1743 | 0x1110, 0x2800, 0x685a, 0x080c, 0x1b7b, 0x6818, 0xa005, 0x0110, | 1748 | 0x68d2, 0x2079, 0x4700, 0x6810, 0xa005, 0x1110, 0x2001, 0x0101, |
1744 | 0x8001, 0x681a, 0x6808, 0xc0a4, 0x680a, 0x6810, 0x7908, 0x8109, | 1749 | 0x8001, 0x6812, 0xd7fc, 0x0118, 0xa080, 0x8dd0, 0x0010, 0xa080, |
1745 | 0x790a, 0x8001, 0x1310, 0x080c, 0x254c, 0x6812, 0x1118, 0x7910, | 1750 | 0x8cc0, 0x2040, 0x2004, 0xa065, 0x01e0, 0x6024, 0xa005, 0x01b0, |
1746 | 0xc1a5, 0x7912, 0x602f, 0x0000, 0x6033, 0x0000, 0x2c68, 0x080c, | 1751 | 0x8001, 0x6026, 0x1198, 0x6800, 0xa005, 0x0130, 0x6848, 0xac06, |
1747 | 0x1da2, 0xd7fc, 0x1118, 0x2069, 0x4640, 0x0010, 0x2069, 0x4680, | 1752 | 0x1118, 0x080c, 0x45d6, 0x0068, 0x6860, 0xa005, 0x0118, 0x6027, |
1748 | 0x6910, 0xa184, 0x0100, 0x2001, 0x0006, 0x1118, 0x6976, 0x2001, | 1753 | 0x0001, 0x0020, 0x080c, 0x4584, 0x2804, 0x0c28, 0x6000, 0x2c40, |
1749 | 0x0004, 0x080c, 0x22a4, 0x0005, 0x00d6, 0x6948, 0x2160, 0xd7fc, | 1754 | 0x0c10, 0xd7fc, 0x1138, 0x2069, 0x4780, 0xc7fd, 0x2079, 0x0100, |
1750 | 0x1118, 0x2069, 0x0200, 0x0010, 0x2069, 0x0100, 0x080c, 0x2467, | 1755 | 0x0804, 0x44ff, 0x0005, 0x2009, 0x0000, 0x20a9, 0x0200, 0x6008, |
1751 | 0x601b, 0x0006, 0x6858, 0xa084, 0x5f00, 0x601e, 0x6020, 0xa084, | 1756 | 0xd09c, 0x0558, 0x6024, 0xa005, 0x0118, 0x8001, 0x6026, 0x0418, |
1752 | 0x00ff, 0xa085, 0x0048, 0x6022, 0x602f, 0x0000, 0x6033, 0x0000, | 1757 | 0x6008, 0xc09c, 0xd084, 0x1110, 0xd0ac, 0x01c0, 0x600a, 0x6004, |
1753 | 0x6808, 0xa084, 0xfffd, 0x680a, 0x6830, 0xd0b4, 0x01b0, 0x684b, | 1758 | 0xa005, 0x01d8, 0x00d6, 0x00c6, 0x0016, 0x2068, 0x6010, 0x8001, |
1754 | 0x0004, 0x20a9, 0x0014, 0x6848, 0xd094, 0x0110, 0x1f04, 0x453b, | 1759 | 0x6012, 0x080c, 0x37c7, 0x2d00, 0x2c68, 0x2060, 0x080c, 0x1c02, |
1755 | 0x684b, 0x0009, 0x20a9, 0x0014, 0x6848, 0xd084, 0x0110, 0x1f04, | 1760 | 0x080c, 0x1db2, 0x001e, 0x00ce, 0x00de, 0x0038, 0xc0bd, 0x600a, |
1756 | 0x4544, 0x20a9, 0x00fa, 0x1f04, 0x454b, 0x681b, 0x0054, 0x00de, | 1761 | 0xa18d, 0x0001, 0x0010, 0xa18d, 0x0100, 0xace0, 0x0010, 0x1f04, |
1757 | 0x6863, 0x0007, 0x0005, 0x2079, 0x4600, 0x00e1, 0x0089, 0x00a9, | 1762 | 0x4547, 0xa184, 0x0001, 0x0130, 0xa18c, 0xfffe, 0x690e, 0x080c, |
1758 | 0x2009, 0x0002, 0x2069, 0x4680, 0x680f, 0x0000, 0x6813, 0x0000, | 1763 | 0x22d5, 0x0008, 0x690e, 0x0005, 0x2c00, 0x687a, 0x6714, 0x6f72, |
1759 | 0x6817, 0x0000, 0x8109, 0x0118, 0x2069, 0x4640, 0x0ca8, 0x0005, | 1764 | 0x6017, 0x0000, 0x602b, 0x0000, 0x601b, 0x0006, 0x60b4, 0xa084, |
1760 | 0x2019, 0x00a3, 0x7b3a, 0x7b3e, 0x0005, 0x2019, 0x0033, 0x7b42, | 1765 | 0x5f00, 0x601e, 0x6020, 0xa084, 0x00ff, 0xa085, 0x0060, 0x6022, |
1761 | 0x7b46, 0x0005, 0x2019, 0x32dd, 0x7b32, 0x7b36, 0x0005, 0x6a4c, | 1766 | 0x6000, 0x2042, 0x2069, 0x4780, 0xd7fc, 0x1110, 0x2069, 0x4740, |
1762 | 0xa285, 0x0000, 0x01f0, 0x6950, 0x6bbc, 0xa300, 0x00c6, 0x2164, | 1767 | 0x6858, 0xac06, 0x1110, 0x2800, 0x685a, 0x080c, 0x1b9a, 0x6818, |
1763 | 0x6304, 0x83ff, 0x1138, 0x8211, 0x0148, 0x8108, 0xa11a, 0x0eb8, | 1768 | 0xa005, 0x0110, 0x8001, 0x681a, 0x6808, 0xc0a4, 0x680a, 0x6810, |
1764 | 0x69bc, 0x0ca8, 0x68cf, 0x000a, 0x00ce, 0x0005, 0x694c, 0x6abc, | 1769 | 0x7908, 0x8109, 0x790a, 0x8001, 0x1310, 0x080c, 0x2575, 0x6812, |
1765 | 0x2264, 0x6008, 0xc0b5, 0x600a, 0x8210, 0x8109, 0x1dc8, 0x694e, | 1770 | 0x1118, 0x7910, 0xc1a5, 0x7912, 0x602f, 0x0000, 0x6033, 0x0000, |
1766 | 0x00ce, 0x0005, 0x1d04, 0x459a, 0x2091, 0x6000, 0x1d04, 0x459e, | 1771 | 0x2c68, 0x080c, 0x1dbf, 0xd7fc, 0x1118, 0x2069, 0x4740, 0x0010, |
1767 | 0x2091, 0x6000, 0x70ec, 0xd0dc, 0x1118, 0xd0d4, 0x0190, 0x0098, | 1772 | 0x2069, 0x4780, 0x6910, 0xa184, 0x0100, 0x2001, 0x0006, 0x1118, |
1768 | 0xae8e, 0x0100, 0x0138, 0x7814, 0xc0f5, 0xc0c5, 0x7816, 0xd0d4, | 1773 | 0x6976, 0x2001, 0x0004, 0x080c, 0x22cb, 0x0005, 0x00d6, 0x6948, |
1769 | 0x1578, 0x0458, 0x7814, 0xc0fd, 0xc0c5, 0x7816, 0xd0d4, 0x1540, | 1774 | 0x2160, 0xd7fc, 0x1118, 0x2069, 0x0200, 0x0010, 0x2069, 0x0100, |
1770 | 0x0420, 0xd0e4, 0x0538, 0x1d04, 0x45bb, 0x2091, 0x6000, 0x2009, | 1775 | 0x080c, 0x2490, 0x601b, 0x0006, 0x6858, 0xa084, 0x5f00, 0x601e, |
1771 | 0x000c, 0x1d04, 0x45c1, 0x2091, 0x6000, 0x8109, 0x1dd0, 0x70e4, | 1776 | 0x6020, 0xa084, 0x00ff, 0xa085, 0x0048, 0x6022, 0x602f, 0x0000, |
1772 | 0xa084, 0x01ff, 0xa086, 0x01ff, 0x1110, 0x70ec, 0x08c8, 0xae8e, | 1777 | 0x6033, 0x0000, 0x6808, 0xa084, 0xfffd, 0x680a, 0x6830, 0xd0b4, |
1773 | 0x0100, 0x0128, 0x7814, 0xc0f4, 0xd0fc, 0x1130, 0x0020, 0x7814, | 1778 | 0x01b0, 0x684b, 0x0004, 0x20a9, 0x0014, 0x6848, 0xd094, 0x0110, |
1774 | 0xc0fc, 0xd0f4, 0x1108, 0xc0c4, 0x7816, 0x7804, 0xd08c, 0x0110, | 1779 | 0x1f04, 0x45fd, 0x684b, 0x0009, 0x20a9, 0x0014, 0x6848, 0xd084, |
1775 | 0x681f, 0x000c, 0x70a0, 0x70a2, 0x0005, 0x7c12 | 1780 | 0x0110, 0x1f04, 0x4606, 0x20a9, 0x00fa, 0x1f04, 0x460d, 0x681b, |
1781 | 0x0054, 0x00de, 0x6863, 0x0007, 0x0005, 0x2079, 0x4700, 0x00e1, | ||
1782 | 0x0089, 0x00a9, 0x2009, 0x0002, 0x2069, 0x4780, 0x680f, 0x0000, | ||
1783 | 0x6813, 0x0000, 0x6817, 0x0000, 0x8109, 0x0118, 0x2069, 0x4740, | ||
1784 | 0x0ca8, 0x0005, 0x2019, 0x00a3, 0x7b3a, 0x7b3e, 0x0005, 0x2019, | ||
1785 | 0x0033, 0x7b42, 0x7b46, 0x0005, 0x2019, 0x32dd, 0x7b32, 0x7b36, | ||
1786 | 0x0005, 0x6a4c, 0xa285, 0x0000, 0x01f0, 0x6950, 0x6bbc, 0xa300, | ||
1787 | 0x00c6, 0x2164, 0x6304, 0x83ff, 0x1138, 0x8211, 0x0148, 0x8108, | ||
1788 | 0xa11a, 0x0eb8, 0x69bc, 0x0ca8, 0x68cf, 0x000a, 0x00ce, 0x0005, | ||
1789 | 0x694c, 0x6abc, 0x2264, 0x6008, 0xc0b5, 0x600a, 0x8210, 0x8109, | ||
1790 | 0x1dc8, 0x694e, 0x00ce, 0x0005, 0x0016, 0x1d04, 0x465d, 0x2091, | ||
1791 | 0x6000, 0x1d04, 0x4661, 0x2091, 0x6000, 0x70ec, 0xd0dc, 0x1118, | ||
1792 | 0xd0d4, 0x0190, 0x00a0, 0xae8e, 0x0100, 0x0138, 0x7814, 0xc0f5, | ||
1793 | 0xc0c5, 0x7816, 0xd0d4, 0x1580, 0x0460, 0x7814, 0xc0fd, 0xc0c5, | ||
1794 | 0x7816, 0xd0d4, 0x1548, 0x0428, 0xd0e4, 0x0904, 0x46c4, 0x1d04, | ||
1795 | 0x467f, 0x2091, 0x6000, 0x2009, 0x000c, 0x1d04, 0x4685, 0x2091, | ||
1796 | 0x6000, 0x8109, 0x1dd0, 0x70e4, 0xa084, 0x01ff, 0xa086, 0x01ff, | ||
1797 | 0x1110, 0x70ec, 0x08c0, 0xae8e, 0x0100, 0x0128, 0x7814, 0xc0f4, | ||
1798 | 0xd0fc, 0x1130, 0x0020, 0x7814, 0xc0fc, 0xd0f4, 0x1108, 0xc0c4, | ||
1799 | 0x7816, 0x7804, 0xd08c, 0x0500, 0x00c6, 0x2061, 0x0000, 0x6018, | ||
1800 | 0xd084, 0x11b8, 0xae86, 0x0200, 0x00e6, 0x2071, 0x0010, 0x0120, | ||
1801 | 0x70db, 0x0001, 0x78e4, 0x0018, 0x70db, 0x0000, 0x78e0, 0x70c6, | ||
1802 | 0x70c3, 0x800e, 0x601b, 0x0001, 0x2091, 0x4080, 0x00ee, 0x00ce, | ||
1803 | 0x0018, 0x00ce, 0x681f, 0x000c, 0x001e, 0x70a0, 0x70a2, 0x0005, | ||
1804 | 0x0c26 | ||
1776 | }; | 1805 | }; |
1777 | #ifdef UNIQUE_FW_NAME | 1806 | #ifdef UNIQUE_FW_NAME |
1778 | static unsigned short fw12160i_length01 = 0x35e6; | 1807 | static unsigned short fw12160i_length01 = 0x36c9; |
1779 | #else | 1808 | #else |
1780 | static unsigned short risc_code_length01 = 0x35e6; | 1809 | static unsigned short risc_code_length01 = 0x36c9; |
1781 | #endif | 1810 | #endif |
1811 | |||
diff --git a/drivers/scsi/ql1280_fw.h b/drivers/scsi/ql1280_fw.h index 2621e99a4311..784f2a04bf28 100644 --- a/drivers/scsi/ql1280_fw.h +++ b/drivers/scsi/ql1280_fw.h | |||
@@ -23,25 +23,25 @@ | |||
23 | 23 | ||
24 | 24 | ||
25 | /* | 25 | /* |
26 | * Firmware Version 8.15.00 (14:35 Aug 22, 2000) | 26 | * Firmware Version 8.15.11 (10:20 Jan 02, 2002) |
27 | */ | 27 | */ |
28 | 28 | ||
29 | #ifdef UNIQUE_FW_NAME | 29 | #ifdef UNIQUE_FW_NAME |
30 | static unsigned char fw1280ei_version_str[] = {8,15,0}; | 30 | static unsigned char fw1280ei_version_str[] = {8,15,11}; |
31 | #else | 31 | #else |
32 | static unsigned char firmware_version[] = {8,15,0}; | 32 | static unsigned char firmware_version[] = {8,15,11}; |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #ifdef UNIQUE_FW_NAME | 35 | #ifdef UNIQUE_FW_NAME |
36 | #define fw1280ei_VERSION_STRING "8.15.00" | 36 | #define fw1280ei_VERSION_STRING "8.15.11" |
37 | #else | 37 | #else |
38 | #define FW_VERSION_STRING "8.15.00" | 38 | #define FW_VERSION_STRING "8.15.11" |
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | #ifdef UNIQUE_FW_NAME | 41 | #ifdef UNIQUE_FW_NAME |
42 | static unsigned short fw1280ei_addr01 = 0x1000; | 42 | static unsigned short fw1280ei_addr01 = 0x1000 ; |
43 | #else | 43 | #else |
44 | static unsigned short risc_code_addr01 = 0x1000; | 44 | static unsigned short risc_code_addr01 = 0x1000 ; |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | #ifdef UNIQUE_FW_NAME | 47 | #ifdef UNIQUE_FW_NAME |
@@ -49,7 +49,7 @@ static unsigned short fw1280ei_code01[] = { | |||
49 | #else | 49 | #else |
50 | static unsigned short risc_code01[] = { | 50 | static unsigned short risc_code01[] = { |
51 | #endif | 51 | #endif |
52 | 0x0078, 0x1041, 0x0000, 0x3d3b, 0x0000, 0x2043, 0x4f50, 0x5952, | 52 | 0x0078, 0x1041, 0x0000, 0x3e2e, 0x0000, 0x2043, 0x4f50, 0x5952, |
53 | 0x4947, 0x4854, 0x2031, 0x3939, 0x312c, 0x3139, 0x3932, 0x2c31, | 53 | 0x4947, 0x4854, 0x2031, 0x3939, 0x312c, 0x3139, 0x3932, 0x2c31, |
54 | 0x3939, 0x332c, 0x3139, 0x3934, 0x2051, 0x4c4f, 0x4749, 0x4320, | 54 | 0x3939, 0x332c, 0x3139, 0x3934, 0x2051, 0x4c4f, 0x4749, 0x4320, |
55 | 0x434f, 0x5250, 0x4f52, 0x4154, 0x494f, 0x4e00, 0x2049, 0x5350, | 55 | 0x434f, 0x5250, 0x4f52, 0x4154, 0x494f, 0x4e00, 0x2049, 0x5350, |
@@ -57,7 +57,7 @@ static unsigned short risc_code01[] = { | |||
57 | 0x6572, 0x7369, 0x6f6e, 0x2030, 0x382e, 0x3135, 0x2020, 0x2043, | 57 | 0x6572, 0x7369, 0x6f6e, 0x2030, 0x382e, 0x3135, 0x2020, 0x2043, |
58 | 0x7573, 0x746f, 0x6d65, 0x7220, 0x4e6f, 0x2e20, 0x3030, 0x2050, | 58 | 0x7573, 0x746f, 0x6d65, 0x7220, 0x4e6f, 0x2e20, 0x3030, 0x2050, |
59 | 0x726f, 0x6475, 0x6374, 0x204e, 0x6f2e, 0x2020, 0x3030, 0x2020, | 59 | 0x726f, 0x6475, 0x6374, 0x204e, 0x6f2e, 0x2020, 0x3030, 0x2020, |
60 | 0x2400, 0x20c9, 0x97ff, 0x2001, 0x04fc, 0x2004, 0xa086, 0x1080, | 60 | 0x2400, 0x20c9, 0x98ff, 0x2001, 0x04fc, 0x2004, 0xa086, 0x1080, |
61 | 0x00c0, 0x1054, 0x2071, 0x0100, 0x70a0, 0x70a2, 0x20c1, 0x0010, | 61 | 0x00c0, 0x1054, 0x2071, 0x0100, 0x70a0, 0x70a2, 0x20c1, 0x0010, |
62 | 0x2089, 0x1374, 0x0078, 0x106d, 0x2001, 0x04fc, 0x2004, 0xa086, | 62 | 0x2089, 0x1374, 0x0078, 0x106d, 0x2001, 0x04fc, 0x2004, 0xa086, |
63 | 0x1280, 0x00c0, 0x1069, 0x2071, 0x0200, 0x70a0, 0x70a2, 0x2071, | 63 | 0x1280, 0x00c0, 0x1069, 0x2071, 0x0200, 0x70a0, 0x70a2, 0x2071, |
@@ -70,1660 +70,1670 @@ static unsigned short risc_code01[] = { | |||
70 | 0xa286, 0xa5a5, 0x0040, 0x10a4, 0xa386, 0x000f, 0x0040, 0x10a0, | 70 | 0xa286, 0xa5a5, 0x0040, 0x10a4, 0xa386, 0x000f, 0x0040, 0x10a0, |
71 | 0x2c6a, 0x2a5a, 0x20c1, 0x0020, 0x2019, 0x000f, 0x0078, 0x1080, | 71 | 0x2c6a, 0x2a5a, 0x20c1, 0x0020, 0x2019, 0x000f, 0x0078, 0x1080, |
72 | 0x2c6a, 0x2a5a, 0x0078, 0x10a2, 0x2c6a, 0x2a5a, 0x2130, 0x2128, | 72 | 0x2c6a, 0x2a5a, 0x0078, 0x10a2, 0x2c6a, 0x2a5a, 0x2130, 0x2128, |
73 | 0xa1a2, 0x4e00, 0x8424, 0x8424, 0x8424, 0x8424, 0x8424, 0x8424, | 73 | 0xa1a2, 0x4f00, 0x8424, 0x8424, 0x8424, 0x8424, 0x8424, 0x8424, |
74 | 0xa192, 0x9800, 0x2009, 0x0000, 0x2001, 0x0032, 0x1078, 0x207a, | 74 | 0xa192, 0x9900, 0x2009, 0x0000, 0x2001, 0x0032, 0x1078, 0x20c1, |
75 | 0x2218, 0x2079, 0x4e00, 0x2fa0, 0x2408, 0x2011, 0x0000, 0x20a9, | 75 | 0x2218, 0x2079, 0x4f00, 0x2fa0, 0x2408, 0x2011, 0x0000, 0x20a9, |
76 | 0x0040, 0x42a4, 0x8109, 0x00c0, 0x10bf, 0x2009, 0xff00, 0x3400, | 76 | 0x0040, 0x42a4, 0x8109, 0x00c0, 0x10bf, 0x2009, 0xff00, 0x3400, |
77 | 0xa102, 0x0048, 0x10cf, 0x0040, 0x10cf, 0x20a8, 0x42a4, 0x2001, | 77 | 0xa102, 0x0048, 0x10cf, 0x0040, 0x10cf, 0x20a8, 0x42a4, 0x2001, |
78 | 0x04fc, 0x2004, 0xa086, 0x1080, 0x00c0, 0x10e5, 0x2071, 0x0100, | 78 | 0x04fc, 0x2004, 0xa086, 0x1080, 0x00c0, 0x10e5, 0x2071, 0x0100, |
79 | 0x0d7e, 0x2069, 0x4e40, 0x1078, 0x4cdd, 0x0d7f, 0x7810, 0xc0ed, | 79 | 0x0d7e, 0x2069, 0x4f40, 0x1078, 0x4db0, 0x0d7f, 0x7810, 0xc0ed, |
80 | 0x7812, 0x781b, 0x0064, 0x0078, 0x110a, 0x2001, 0x04fc, 0x2004, | 80 | 0x7812, 0x781b, 0x0064, 0x0078, 0x110a, 0x2001, 0x04fc, 0x2004, |
81 | 0xa086, 0x1280, 0x00c0, 0x1105, 0x7814, 0xc0ed, 0xc0d5, 0x7816, | 81 | 0xa086, 0x1280, 0x00c0, 0x1105, 0x7814, 0xc0ed, 0xc0d5, 0x7816, |
82 | 0x781b, 0x0064, 0x2071, 0x0200, 0x0d7e, 0x2069, 0x4e40, 0x1078, | 82 | 0x781b, 0x0064, 0x2071, 0x0200, 0x0d7e, 0x2069, 0x4f40, 0x1078, |
83 | 0x4cdd, 0x2069, 0x4e80, 0x2071, 0x0100, 0x1078, 0x4cdd, 0x7814, | 83 | 0x4db0, 0x2069, 0x4f80, 0x2071, 0x0100, 0x1078, 0x4db0, 0x7814, |
84 | 0xc0d4, 0x7816, 0x0d7f, 0x0078, 0x110a, 0x7814, 0xc0e5, 0x7816, | 84 | 0xc0d4, 0x7816, 0x0d7f, 0x0078, 0x110a, 0x7814, 0xc0e5, 0x7816, |
85 | 0x781b, 0x003c, 0x7eca, 0x7cc2, 0x7bc6, 0x7867, 0x0000, 0x7800, | 85 | 0x781b, 0x003c, 0x7eca, 0x7cc2, 0x7bc6, 0x7867, 0x0000, 0x7800, |
86 | 0xc08d, 0x7802, 0x2031, 0x0030, 0x78af, 0x0101, 0x7823, 0x0002, | 86 | 0xc08d, 0x7802, 0x2031, 0x0030, 0x78af, 0x0101, 0x7823, 0x0002, |
87 | 0x7827, 0x0002, 0x2009, 0x0002, 0x2069, 0x4e40, 0x681b, 0x0003, | 87 | 0x7827, 0x0002, 0x2009, 0x0002, 0x2069, 0x4f40, 0x681b, 0x0003, |
88 | 0x6823, 0x0007, 0x6827, 0x00fa, 0x682b, 0x0008, 0x682f, 0x0028, | 88 | 0x6823, 0x0007, 0x6827, 0x00fa, 0x682b, 0x0008, 0x682f, 0x0028, |
89 | 0x6837, 0x0000, 0x683b, 0x0006, 0x6833, 0x0008, 0x683f, 0x0000, | 89 | 0x6837, 0x0000, 0x683b, 0x0006, 0x6833, 0x0008, 0x683f, 0x0000, |
90 | 0x8109, 0x0040, 0x115e, 0x68d3, 0x000a, 0x68c3, 0x4ec0, 0x2079, | 90 | 0x8109, 0x0040, 0x115e, 0x68d3, 0x000a, 0x68c3, 0x4fc0, 0x2079, |
91 | 0x4e00, 0x7814, 0xd0e4, 0x00c0, 0x1144, 0xd0ec, 0x00c0, 0x1148, | 91 | 0x4f00, 0x7814, 0xd0e4, 0x00c0, 0x1144, 0xd0ec, 0x00c0, 0x1148, |
92 | 0x68d7, 0x7329, 0x0078, 0x114a, 0x68d7, 0x730d, 0x0078, 0x114a, | 92 | 0x68d7, 0x7329, 0x0078, 0x114a, 0x68d7, 0x730d, 0x0078, 0x114a, |
93 | 0x68d7, 0x732d, 0x68c7, 0x53c0, 0x68cb, 0x52c0, 0x68cf, 0x93c0, | 93 | 0x68d7, 0x732d, 0x68c7, 0x54c0, 0x68cb, 0x53c0, 0x68cf, 0x94c0, |
94 | 0x68ab, 0x9644, 0x68af, 0x9649, 0x68b3, 0x9644, 0x68b7, 0x9644, | 94 | 0x68ab, 0x9744, 0x68af, 0x9749, 0x68b3, 0x9744, 0x68b7, 0x9744, |
95 | 0x68a7, 0x0001, 0x2069, 0x4e80, 0x0078, 0x111e, 0x68d3, 0x000a, | 95 | 0x68a7, 0x0001, 0x2069, 0x4f80, 0x0078, 0x111e, 0x68d3, 0x000a, |
96 | 0x68c3, 0x50c0, 0x7814, 0xd0e4, 0x00c0, 0x116a, 0x68d7, 0x7439, | 96 | 0x68c3, 0x51c0, 0x7814, 0xd0e4, 0x00c0, 0x116a, 0x68d7, 0x7439, |
97 | 0x0078, 0x116c, 0x68d7, 0x7419, 0x68c7, 0x73c0, 0x68cb, 0x5340, | 97 | 0x0078, 0x116c, 0x68d7, 0x7419, 0x68c7, 0x74c0, 0x68cb, 0x5440, |
98 | 0x68cf, 0x94d0, 0x68ab, 0x9649, 0x68af, 0x964e, 0x68b3, 0x9649, | 98 | 0x68cf, 0x95d0, 0x68ab, 0x9749, 0x68af, 0x974e, 0x68b3, 0x9749, |
99 | 0x68b7, 0x9649, 0x68a7, 0x0001, 0x7810, 0xd0ec, 0x00c0, 0x11c2, | 99 | 0x68b7, 0x9749, 0x68a7, 0x0001, 0x7810, 0xd0ec, 0x00c0, 0x11c2, |
100 | 0x7814, 0xd0e4, 0x00c0, 0x11b4, 0x0e7e, 0x2069, 0x52c0, 0x2071, | 100 | 0x7814, 0xd0e4, 0x00c0, 0x11b4, 0x0e7e, 0x2069, 0x53c0, 0x2071, |
101 | 0x0200, 0x70ec, 0xd0e4, 0x00c0, 0x1195, 0x2019, 0x0c0c, 0x2021, | 101 | 0x0200, 0x70ec, 0xd0e4, 0x00c0, 0x1195, 0x2019, 0x0c0c, 0x2021, |
102 | 0x000c, 0x1078, 0x2009, 0x0078, 0x119b, 0x2019, 0x0c0a, 0x2021, | 102 | 0x000c, 0x1078, 0x2050, 0x0078, 0x119b, 0x2019, 0x0c0a, 0x2021, |
103 | 0x000a, 0x1078, 0x2009, 0x2069, 0x5340, 0x2071, 0x0100, 0x70ec, | 103 | 0x000a, 0x1078, 0x2050, 0x2069, 0x5440, 0x2071, 0x0100, 0x70ec, |
104 | 0xd0e4, 0x00c0, 0x11ab, 0x2019, 0x0c0c, 0x2021, 0x000c, 0x1078, | 104 | 0xd0e4, 0x00c0, 0x11ab, 0x2019, 0x0c0c, 0x2021, 0x000c, 0x1078, |
105 | 0x2009, 0x0078, 0x11b1, 0x2019, 0x0c0a, 0x2021, 0x000a, 0x1078, | 105 | 0x2050, 0x0078, 0x11b1, 0x2019, 0x0c0a, 0x2021, 0x000a, 0x1078, |
106 | 0x2009, 0x0e7f, 0x0078, 0x11db, 0x2019, 0x0c0c, 0x2021, 0x000c, | 106 | 0x2050, 0x0e7f, 0x0078, 0x11db, 0x2019, 0x0c0c, 0x2021, 0x000c, |
107 | 0x2069, 0x52c0, 0x1078, 0x2009, 0x2069, 0x5340, 0x1078, 0x2009, | 107 | 0x2069, 0x53c0, 0x1078, 0x2050, 0x2069, 0x5440, 0x1078, 0x2050, |
108 | 0x0078, 0x11db, 0x2069, 0x52c0, 0x0e7e, 0x2071, 0x0100, 0x70ec, | 108 | 0x0078, 0x11db, 0x2069, 0x53c0, 0x0e7e, 0x2071, 0x0100, 0x70ec, |
109 | 0xd0e4, 0x00c0, 0x11d4, 0x2019, 0x0c0c, 0x2021, 0x000c, 0x1078, | 109 | 0xd0e4, 0x00c0, 0x11d4, 0x2019, 0x0c0c, 0x2021, 0x000c, 0x1078, |
110 | 0x2009, 0x0e7f, 0x0078, 0x11db, 0x2019, 0x0c0a, 0x2021, 0x000a, | 110 | 0x2050, 0x0e7f, 0x0078, 0x11db, 0x2019, 0x0c0a, 0x2021, 0x000a, |
111 | 0x1078, 0x2009, 0x0e7f, 0x2011, 0x0002, 0x2069, 0x53c0, 0x2009, | 111 | 0x1078, 0x2050, 0x0e7f, 0x2011, 0x0002, 0x2069, 0x54c0, 0x2009, |
112 | 0x0002, 0x20a9, 0x0100, 0x6837, 0x0000, 0x680b, 0x0040, 0x7bc8, | 112 | 0x0002, 0x20a9, 0x0100, 0x6837, 0x0000, 0x680b, 0x0040, 0x7bc8, |
113 | 0xa386, 0xfeff, 0x00c0, 0x11f2, 0x6817, 0x0100, 0x681f, 0x0064, | 113 | 0xa386, 0xfeff, 0x00c0, 0x11f2, 0x6817, 0x0100, 0x681f, 0x0064, |
114 | 0x0078, 0x11f6, 0x6817, 0x0064, 0x681f, 0x0002, 0xade8, 0x0010, | 114 | 0x0078, 0x11f6, 0x6817, 0x0064, 0x681f, 0x0002, 0xade8, 0x0010, |
115 | 0x00f0, 0x11e3, 0x8109, 0x00c0, 0x11e1, 0x8211, 0x0040, 0x1204, | 115 | 0x00f0, 0x11e3, 0x8109, 0x00c0, 0x11e1, 0x8211, 0x0040, 0x1204, |
116 | 0x2069, 0x73c0, 0x0078, 0x11df, 0x1078, 0x265b, 0x1078, 0x468e, | 116 | 0x2069, 0x74c0, 0x0078, 0x11df, 0x1078, 0x26a2, 0x1078, 0x4712, |
117 | 0x1078, 0x1dd4, 0x1078, 0x4c6f, 0x2091, 0x2100, 0x2079, 0x4e00, | 117 | 0x1078, 0x1e1b, 0x1078, 0x4d42, 0x2091, 0x2100, 0x2079, 0x4f00, |
118 | 0x7810, 0xd0ec, 0x0040, 0x1218, 0x2071, 0x0020, 0x0078, 0x121a, | 118 | 0x7810, 0xd0ec, 0x0040, 0x1218, 0x2071, 0x0020, 0x0078, 0x121a, |
119 | 0x2071, 0x0050, 0x2091, 0x2200, 0x2079, 0x4e00, 0x2071, 0x0020, | 119 | 0x2071, 0x0050, 0x2091, 0x2200, 0x2079, 0x4f00, 0x2071, 0x0020, |
120 | 0x2091, 0x2300, 0x2079, 0x4e00, 0x7810, 0xd0ec, 0x0040, 0x122c, | 120 | 0x2091, 0x2300, 0x2079, 0x4f00, 0x7810, 0xd0ec, 0x0040, 0x122c, |
121 | 0x2079, 0x0100, 0x0078, 0x122e, 0x2079, 0x0200, 0x2071, 0x4e40, | 121 | 0x2079, 0x0100, 0x0078, 0x122e, 0x2079, 0x0200, 0x2071, 0x4f40, |
122 | 0x2091, 0x2400, 0x2079, 0x0100, 0x2071, 0x4e80, 0x2091, 0x2000, | 122 | 0x2091, 0x2400, 0x2079, 0x0100, 0x2071, 0x4f80, 0x2091, 0x2000, |
123 | 0x2079, 0x4e00, 0x2071, 0x0010, 0x3200, 0xa085, 0x303d, 0x2090, | 123 | 0x2079, 0x4f00, 0x2071, 0x0010, 0x3200, 0xa085, 0x303d, 0x2090, |
124 | 0x2071, 0x0010, 0x70c3, 0x0000, 0x0090, 0x124d, 0x70c0, 0xa086, | 124 | 0x2071, 0x0010, 0x70c3, 0x0000, 0x0090, 0x124d, 0x70c0, 0xa086, |
125 | 0x0002, 0x00c0, 0x124d, 0x1078, 0x15ba, 0x2039, 0x0000, 0x7810, | 125 | 0x0002, 0x00c0, 0x124d, 0x1078, 0x15c1, 0x2039, 0x0000, 0x7810, |
126 | 0xd0ec, 0x00c0, 0x12cf, 0x1078, 0x148e, 0x78ac, 0xa005, 0x00c0, | 126 | 0xd0ec, 0x00c0, 0x12cf, 0x1078, 0x148e, 0x78ac, 0xa005, 0x00c0, |
127 | 0x126b, 0x0068, 0x1261, 0x786c, 0xa065, 0x0040, 0x1261, 0x1078, | 127 | 0x126b, 0x0068, 0x1261, 0x786c, 0xa065, 0x0040, 0x1261, 0x1078, |
128 | 0x2395, 0x1078, 0x20a1, 0x0068, 0x1278, 0x786c, 0xa065, 0x0040, | 128 | 0x23dc, 0x1078, 0x20e8, 0x0068, 0x1278, 0x786c, 0xa065, 0x0040, |
129 | 0x126b, 0x1078, 0x2395, 0x0068, 0x1278, 0x2009, 0x4e47, 0x2011, | 129 | 0x126b, 0x1078, 0x23dc, 0x0068, 0x1278, 0x2009, 0x4f47, 0x2011, |
130 | 0x4e87, 0x2104, 0x220c, 0xa105, 0x0040, 0x1278, 0x1078, 0x1f0a, | 130 | 0x4f87, 0x2104, 0x220c, 0xa105, 0x0040, 0x1278, 0x1078, 0x1f51, |
131 | 0x2071, 0x4e40, 0x70a4, 0xa005, 0x0040, 0x129d, 0x7450, 0xa485, | 131 | 0x2071, 0x4f40, 0x70a4, 0xa005, 0x0040, 0x129d, 0x7450, 0xa485, |
132 | 0x0000, 0x0040, 0x129d, 0x2079, 0x0200, 0x2091, 0x8000, 0x72d4, | 132 | 0x0000, 0x0040, 0x129d, 0x2079, 0x0200, 0x2091, 0x8000, 0x72d4, |
133 | 0xa28c, 0x303d, 0x2190, 0x1078, 0x2b6a, 0x2091, 0x8000, 0x2091, | 133 | 0xa28c, 0x303d, 0x2190, 0x1078, 0x2bb1, 0x2091, 0x8000, 0x2091, |
134 | 0x303d, 0x0068, 0x129d, 0x2079, 0x4e00, 0x786c, 0xa065, 0x0040, | 134 | 0x303d, 0x0068, 0x129d, 0x2079, 0x4f00, 0x786c, 0xa065, 0x0040, |
135 | 0x129d, 0x2071, 0x0010, 0x1078, 0x2395, 0x00e0, 0x12a5, 0x2079, | 135 | 0x129d, 0x2071, 0x0010, 0x1078, 0x23dc, 0x00e0, 0x12a5, 0x2079, |
136 | 0x4e00, 0x2071, 0x0010, 0x1078, 0x4a43, 0x2071, 0x4e80, 0x70a4, | 136 | 0x4f00, 0x2071, 0x0010, 0x1078, 0x4b16, 0x2071, 0x4f80, 0x70a4, |
137 | 0xa005, 0x0040, 0x12bd, 0x7050, 0xa025, 0x0040, 0x12bd, 0x2079, | 137 | 0xa005, 0x0040, 0x12bd, 0x7050, 0xa025, 0x0040, 0x12bd, 0x2079, |
138 | 0x0100, 0x2091, 0x8000, 0x72d4, 0xa28c, 0x303d, 0x2190, 0x1078, | 138 | 0x0100, 0x2091, 0x8000, 0x72d4, 0xa28c, 0x303d, 0x2190, 0x1078, |
139 | 0x2b6a, 0x2091, 0x8000, 0x2091, 0x303d, 0x2079, 0x4e00, 0x2071, | 139 | 0x2bb1, 0x2091, 0x8000, 0x2091, 0x303d, 0x2079, 0x4f00, 0x2071, |
140 | 0x0010, 0x0068, 0x12c9, 0x786c, 0xa065, 0x0040, 0x12c9, 0x1078, | 140 | 0x0010, 0x0068, 0x12c9, 0x786c, 0xa065, 0x0040, 0x12c9, 0x1078, |
141 | 0x2395, 0x00e0, 0x1253, 0x1078, 0x4a43, 0x0078, 0x1253, 0x1078, | 141 | 0x23dc, 0x00e0, 0x1253, 0x1078, 0x4b16, 0x0078, 0x1253, 0x1078, |
142 | 0x148e, 0x78ac, 0xa005, 0x00c0, 0x12e7, 0x0068, 0x12dd, 0x786c, | 142 | 0x148e, 0x78ac, 0xa005, 0x00c0, 0x12e7, 0x0068, 0x12dd, 0x786c, |
143 | 0xa065, 0x0040, 0x12dd, 0x1078, 0x2395, 0x1078, 0x20a1, 0x0068, | 143 | 0xa065, 0x0040, 0x12dd, 0x1078, 0x23dc, 0x1078, 0x20e8, 0x0068, |
144 | 0x12f1, 0x786c, 0xa065, 0x0040, 0x12e7, 0x1078, 0x2395, 0x0068, | 144 | 0x12f1, 0x786c, 0xa065, 0x0040, 0x12e7, 0x1078, 0x23dc, 0x0068, |
145 | 0x12f1, 0x2009, 0x4e47, 0x2104, 0xa005, 0x0040, 0x12f1, 0x1078, | 145 | 0x12f1, 0x2009, 0x4f47, 0x2104, 0xa005, 0x0040, 0x12f1, 0x1078, |
146 | 0x1f0a, 0x2071, 0x4e40, 0x70a4, 0xa005, 0x0040, 0x130c, 0x7450, | 146 | 0x1f51, 0x2071, 0x4f40, 0x70a4, 0xa005, 0x0040, 0x130c, 0x7450, |
147 | 0xa485, 0x0000, 0x0040, 0x130c, 0x2079, 0x0100, 0x2091, 0x8000, | 147 | 0xa485, 0x0000, 0x0040, 0x130c, 0x2079, 0x0100, 0x2091, 0x8000, |
148 | 0x72d4, 0xa28c, 0x303d, 0x2190, 0x1078, 0x2b6a, 0x2091, 0x8000, | 148 | 0x72d4, 0xa28c, 0x303d, 0x2190, 0x1078, 0x2bb1, 0x2091, 0x8000, |
149 | 0x2091, 0x303d, 0x2079, 0x4e00, 0x2071, 0x0010, 0x0068, 0x1316, | 149 | 0x2091, 0x303d, 0x2079, 0x4f00, 0x2071, 0x0010, 0x0068, 0x1316, |
150 | 0x786c, 0xa065, 0x0040, 0x1316, 0x1078, 0x2395, 0x00e0, 0x12cf, | 150 | 0x786c, 0xa065, 0x0040, 0x1316, 0x1078, 0x23dc, 0x00e0, 0x12cf, |
151 | 0x1078, 0x4a43, 0x0078, 0x12cf, 0x133c, 0x133c, 0x133e, 0x133e, | 151 | 0x1078, 0x4b16, 0x0078, 0x12cf, 0x133c, 0x133c, 0x133e, 0x133e, |
152 | 0x134b, 0x134b, 0x134b, 0x134b, 0x1356, 0x1356, 0x1363, 0x1363, | 152 | 0x134b, 0x134b, 0x134b, 0x134b, 0x1356, 0x1356, 0x1363, 0x1363, |
153 | 0x134b, 0x134b, 0x134b, 0x134b, 0x133c, 0x133c, 0x133e, 0x133e, | 153 | 0x134b, 0x134b, 0x134b, 0x134b, 0x133c, 0x133c, 0x133e, 0x133e, |
154 | 0x134b, 0x134b, 0x134b, 0x134b, 0x1356, 0x1356, 0x1363, 0x1363, | 154 | 0x134b, 0x134b, 0x134b, 0x134b, 0x1356, 0x1356, 0x1363, 0x1363, |
155 | 0x134b, 0x134b, 0x134b, 0x134b, 0x0078, 0x133c, 0x007e, 0x107e, | 155 | 0x134b, 0x134b, 0x134b, 0x134b, 0x0078, 0x133c, 0x007e, 0x107e, |
156 | 0x127e, 0x2091, 0x2400, 0x1078, 0x298a, 0x127f, 0x107f, 0x007f, | 156 | 0x127e, 0x2091, 0x2400, 0x1078, 0x29d1, 0x127f, 0x107f, 0x007f, |
157 | 0x2091, 0x8001, 0x007c, 0x007e, 0x107e, 0x127e, 0x1078, 0x13c8, | 157 | 0x2091, 0x8001, 0x007c, 0x007e, 0x107e, 0x127e, 0x1078, 0x13c8, |
158 | 0x127f, 0x107f, 0x007f, 0x2091, 0x8001, 0x007c, 0x007e, 0x107e, | 158 | 0x127f, 0x107f, 0x007f, 0x2091, 0x8001, 0x007c, 0x007e, 0x107e, |
159 | 0x127e, 0x2091, 0x2300, 0x1078, 0x298a, 0x127f, 0x107f, 0x007f, | 159 | 0x127e, 0x2091, 0x2300, 0x1078, 0x29d1, 0x127f, 0x107f, 0x007f, |
160 | 0x2091, 0x8001, 0x007c, 0x007e, 0x107e, 0x127e, 0x2091, 0x2300, | 160 | 0x2091, 0x8001, 0x007c, 0x007e, 0x107e, 0x127e, 0x2091, 0x2300, |
161 | 0x1078, 0x298a, 0x2091, 0x2400, 0x1078, 0x298a, 0x127f, 0x107f, | 161 | 0x1078, 0x29d1, 0x2091, 0x2400, 0x1078, 0x29d1, 0x127f, 0x107f, |
162 | 0x007f, 0x2091, 0x8001, 0x007c, 0x1394, 0x1394, 0x1396, 0x1396, | 162 | 0x007f, 0x2091, 0x8001, 0x007c, 0x1394, 0x1394, 0x1396, 0x1396, |
163 | 0x13a3, 0x13a3, 0x13a3, 0x13a3, 0x13ae, 0x13ae, 0x1396, 0x1396, | 163 | 0x13a3, 0x13a3, 0x13a3, 0x13a3, 0x13ae, 0x13ae, 0x1396, 0x1396, |
164 | 0x13a3, 0x13a3, 0x13a3, 0x13a3, 0x13af, 0x13af, 0x13af, 0x13af, | 164 | 0x13a3, 0x13a3, 0x13a3, 0x13a3, 0x13af, 0x13af, 0x13af, 0x13af, |
165 | 0x13af, 0x13af, 0x13af, 0x13af, 0x13af, 0x13af, 0x13af, 0x13af, | 165 | 0x13af, 0x13af, 0x13af, 0x13af, 0x13af, 0x13af, 0x13af, 0x13af, |
166 | 0x13af, 0x13af, 0x13af, 0x13af, 0x0078, 0x1394, 0x007e, 0x107e, | 166 | 0x13af, 0x13af, 0x13af, 0x13af, 0x0078, 0x1394, 0x007e, 0x107e, |
167 | 0x127e, 0x2091, 0x2300, 0x1078, 0x298a, 0x127f, 0x107f, 0x007f, | 167 | 0x127e, 0x2091, 0x2300, 0x1078, 0x29d1, 0x127f, 0x107f, 0x007f, |
168 | 0x2091, 0x8001, 0x007c, 0x007e, 0x107e, 0x127e, 0x1078, 0x13d5, | 168 | 0x2091, 0x8001, 0x007c, 0x007e, 0x107e, 0x127e, 0x1078, 0x13d5, |
169 | 0x127f, 0x107f, 0x007f, 0x2091, 0x8001, 0x007c, 0x007c, 0x107e, | 169 | 0x127f, 0x107f, 0x007f, 0x2091, 0x8001, 0x007c, 0x007c, 0x107e, |
170 | 0x127e, 0x0d7e, 0x0e7e, 0x0f7e, 0x007e, 0x2071, 0x0100, 0x2069, | 170 | 0x127e, 0x0d7e, 0x0e7e, 0x0f7e, 0x007e, 0x2071, 0x0100, 0x2069, |
171 | 0x4e40, 0x2079, 0x4e00, 0x70ec, 0xa084, 0x1c00, 0x78e2, 0x1078, | 171 | 0x4f40, 0x2079, 0x4f00, 0x70ec, 0xa084, 0x1c00, 0x78e2, 0x1078, |
172 | 0x4cdd, 0x007f, 0x0f7f, 0x0e7f, 0x0d7f, 0x127f, 0x107f, 0x007c, | 172 | 0x4db0, 0x007f, 0x0f7f, 0x0e7f, 0x0d7f, 0x127f, 0x107f, 0x007c, |
173 | 0x3c00, 0xa084, 0x0007, 0x0079, 0x13cd, 0x13de, 0x13de, 0x13e0, | 173 | 0x3c00, 0xa084, 0x0007, 0x0079, 0x13cd, 0x13de, 0x13de, 0x13e0, |
174 | 0x13e0, 0x13e5, 0x13e5, 0x13ea, 0x13ea, 0x3c00, 0xa084, 0x0003, | 174 | 0x13e0, 0x13e5, 0x13e5, 0x13ea, 0x13ea, 0x3c00, 0xa084, 0x0003, |
175 | 0x0079, 0x13da, 0x13de, 0x13de, 0x13f3, 0x13f3, 0x1078, 0x296b, | 175 | 0x0079, 0x13da, 0x13de, 0x13de, 0x13f3, 0x13f3, 0x1078, 0x29b2, |
176 | 0x2091, 0x2200, 0x1078, 0x4768, 0x007c, 0x2091, 0x2100, 0x1078, | 176 | 0x2091, 0x2200, 0x1078, 0x47ec, 0x007c, 0x2091, 0x2100, 0x1078, |
177 | 0x4768, 0x007c, 0x2091, 0x2100, 0x1078, 0x4768, 0x2091, 0x2200, | 177 | 0x47ec, 0x007c, 0x2091, 0x2100, 0x1078, 0x47ec, 0x2091, 0x2200, |
178 | 0x1078, 0x4768, 0x007c, 0x2091, 0x2100, 0x1078, 0x4768, 0x007c, | 178 | 0x1078, 0x47ec, 0x007c, 0x2091, 0x2100, 0x1078, 0x47ec, 0x007c, |
179 | 0x1418, 0x1418, 0x141a, 0x141a, 0x1427, 0x1427, 0x1427, 0x1427, | 179 | 0x1418, 0x1418, 0x141a, 0x141a, 0x1427, 0x1427, 0x1427, 0x1427, |
180 | 0x1432, 0x1432, 0x143f, 0x143f, 0x1427, 0x1427, 0x1427, 0x1427, | 180 | 0x1432, 0x1432, 0x143f, 0x143f, 0x1427, 0x1427, 0x1427, 0x1427, |
181 | 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, | 181 | 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, |
182 | 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, | 182 | 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, 0x1450, |
183 | 0x0078, 0x1418, 0x007e, 0x107e, 0x127e, 0x2091, 0x2400, 0x1078, | 183 | 0x0078, 0x1418, 0x007e, 0x107e, 0x127e, 0x2091, 0x2400, 0x1078, |
184 | 0x298a, 0x127f, 0x107f, 0x007f, 0x2091, 0x8001, 0x007c, 0x007e, | 184 | 0x29d1, 0x127f, 0x107f, 0x007f, 0x2091, 0x8001, 0x007c, 0x007e, |
185 | 0x107e, 0x127e, 0x1078, 0x13c8, 0x127f, 0x107f, 0x007f, 0x2091, | 185 | 0x107e, 0x127e, 0x1078, 0x13c8, 0x127f, 0x107f, 0x007f, 0x2091, |
186 | 0x8001, 0x007c, 0x007e, 0x107e, 0x127e, 0x2091, 0x2300, 0x1078, | 186 | 0x8001, 0x007c, 0x007e, 0x107e, 0x127e, 0x2091, 0x2300, 0x1078, |
187 | 0x298a, 0x127f, 0x107f, 0x007f, 0x2091, 0x8001, 0x007c, 0x007e, | 187 | 0x29d1, 0x127f, 0x107f, 0x007f, 0x2091, 0x8001, 0x007c, 0x007e, |
188 | 0x107e, 0x127e, 0x2091, 0x2300, 0x1078, 0x298a, 0x2091, 0x2400, | 188 | 0x107e, 0x127e, 0x2091, 0x2300, 0x1078, 0x29d1, 0x2091, 0x2400, |
189 | 0x1078, 0x298a, 0x127f, 0x107f, 0x007f, 0x2091, 0x8001, 0x007c, | 189 | 0x1078, 0x29d1, 0x127f, 0x107f, 0x007f, 0x2091, 0x8001, 0x007c, |
190 | 0x007e, 0x107e, 0x127e, 0x0d7e, 0x0e7e, 0x0f7e, 0x2079, 0x4e00, | 190 | 0x007e, 0x107e, 0x127e, 0x0d7e, 0x0e7e, 0x0f7e, 0x2079, 0x4f00, |
191 | 0x2071, 0x0200, 0x2069, 0x4e40, 0x3d00, 0xd08c, 0x0040, 0x1466, | 191 | 0x2071, 0x0200, 0x2069, 0x4f40, 0x3d00, 0xd08c, 0x0040, 0x1466, |
192 | 0x70ec, 0xa084, 0x1c00, 0x78e2, 0x1078, 0x4cdd, 0x3d00, 0xd084, | 192 | 0x70ec, 0xa084, 0x1c00, 0x78e2, 0x1078, 0x4db0, 0x3d00, 0xd084, |
193 | 0x0040, 0x1474, 0x2069, 0x4e80, 0x2071, 0x0100, 0x70ec, 0xa084, | 193 | 0x0040, 0x1474, 0x2069, 0x4f80, 0x2071, 0x0100, 0x70ec, 0xa084, |
194 | 0x1c00, 0x78e6, 0x1078, 0x4cdd, 0x0f7f, 0x0e7f, 0x0d7f, 0x127f, | 194 | 0x1c00, 0x78e6, 0x1078, 0x4db0, 0x0f7f, 0x0e7f, 0x0d7f, 0x127f, |
195 | 0x107f, 0x007f, 0x007c, 0x7008, 0x800b, 0x00c8, 0x1489, 0x7007, | 195 | 0x107f, 0x007f, 0x007c, 0x7008, 0x800b, 0x00c8, 0x1489, 0x7007, |
196 | 0x0002, 0xa08c, 0x01e0, 0x00c0, 0x148a, 0xd09c, 0x0040, 0x1489, | 196 | 0x0002, 0xa08c, 0x01e0, 0x00c0, 0x148a, 0xd09c, 0x0040, 0x1489, |
197 | 0x087a, 0x097a, 0x70c3, 0x4002, 0x0078, 0x15bd, 0x0068, 0x1513, | 197 | 0x087a, 0x097a, 0x70c3, 0x4002, 0x0078, 0x15c4, 0x0068, 0x151a, |
198 | 0x2061, 0x0000, 0x6018, 0xd084, 0x00c0, 0x1513, 0x7828, 0xa005, | 198 | 0x2061, 0x0000, 0x6018, 0xd084, 0x00c0, 0x151a, 0x7828, 0xa005, |
199 | 0x00c0, 0x149e, 0x0010, 0x1514, 0x0078, 0x1513, 0x7910, 0xd1f4, | 199 | 0x00c0, 0x149e, 0x0010, 0x151b, 0x0078, 0x151a, 0x7910, 0xd1f4, |
200 | 0x0040, 0x14a6, 0x2001, 0x4007, 0x0078, 0x15bc, 0x7914, 0xd1ec, | 200 | 0x0040, 0x14a4, 0x0078, 0x14b9, 0x7914, 0xd1ec, 0x0040, 0x14bd, |
201 | 0x0040, 0x14c1, 0xd0fc, 0x0040, 0x14b7, 0x007e, 0x1078, 0x1d64, | 201 | 0xd0fc, 0x0040, 0x14b3, 0x007e, 0x1078, 0x1dae, 0x007f, 0x0040, |
202 | 0x007f, 0x0040, 0x14c1, 0x2001, 0x4007, 0x0078, 0x15bc, 0x007e, | 202 | 0x14bd, 0x0078, 0x14b9, 0x007e, 0x1078, 0x1da1, 0x007f, 0x0040, |
203 | 0x1078, 0x1d54, 0x007f, 0x0040, 0x14c1, 0x2001, 0x4007, 0x0078, | 203 | 0x14bd, 0x2001, 0x4007, 0x0078, 0x15c3, 0x7910, 0xd0fc, 0x00c0, |
204 | 0x15bc, 0x7910, 0xd0fc, 0x00c0, 0x14cb, 0x2061, 0x4e40, 0xc19c, | 204 | 0x14c7, 0x2061, 0x4f40, 0xc19c, 0xc7fc, 0x0078, 0x14cb, 0x2061, |
205 | 0xc7fc, 0x0078, 0x14cf, 0x2061, 0x4e80, 0xc19d, 0xc7fd, 0x6064, | 205 | 0x4f80, 0xc19d, 0xc7fd, 0x6064, 0xa005, 0x00c0, 0x151a, 0x7912, |
206 | 0xa005, 0x00c0, 0x1513, 0x7912, 0x6083, 0x0000, 0x7828, 0xc0fc, | 206 | 0x6082, 0x7828, 0xc0fc, 0xa086, 0x0018, 0x00c0, 0x14db, 0x0c7e, |
207 | 0xa086, 0x0018, 0x00c0, 0x14e0, 0x0c7e, 0x1078, 0x1b5b, 0x0c7f, | 207 | 0x1078, 0x1b85, 0x0c7f, 0x782b, 0x0000, 0x607c, 0xa065, 0x0040, |
208 | 0x782b, 0x0000, 0x607c, 0xa065, 0x0040, 0x14f9, 0x0c7e, 0x609c, | 208 | 0x1500, 0x0c7e, 0x609c, 0x1078, 0x1e90, 0x0c7f, 0x609f, 0x0000, |
209 | 0x1078, 0x1e49, 0x0c7f, 0x609f, 0x0000, 0x1078, 0x1c84, 0x2009, | 209 | 0x1078, 0x1cd5, 0x2009, 0x0018, 0x6087, 0x0103, 0x7810, 0x007e, |
210 | 0x0018, 0x6087, 0x0103, 0x1078, 0x1d74, 0x00c0, 0x150d, 0x1078, | 210 | 0x84ff, 0x00c0, 0x14f6, 0x85ff, 0x0040, 0x14f8, 0xc0c5, 0x7812, |
211 | 0x1dc6, 0x7810, 0xd09c, 0x00c0, 0x1501, 0x2061, 0x4e40, 0x0078, | 211 | 0x1078, 0x1dbb, 0x007f, 0x7812, 0x00c0, 0x1514, 0x1078, 0x1e0d, |
212 | 0x1505, 0x2061, 0x4e80, 0xc09c, 0x7812, 0x607f, 0x0000, 0x60d4, | 212 | 0x7810, 0xd09c, 0x00c0, 0x1508, 0x2061, 0x4f40, 0x0078, 0x150c, |
213 | 0xd0dc, 0x0040, 0x1511, 0xc0dc, 0x60d6, 0x2001, 0x4005, 0x0078, | 213 | 0x2061, 0x4f80, 0xc09c, 0x7812, 0x607f, 0x0000, 0x60d4, 0xd0dc, |
214 | 0x15bc, 0x0078, 0x15ba, 0x007c, 0x7810, 0xd0f4, 0x0040, 0x151c, | 214 | 0x0040, 0x1518, 0xc0dc, 0x60d6, 0x2001, 0x4005, 0x0078, 0x15c3, |
215 | 0x2001, 0x4007, 0x0078, 0x15bc, 0xa006, 0x70c2, 0x70c6, 0x70ca, | 215 | 0x0078, 0x15c1, 0x007c, 0x7810, 0xd0f4, 0x0040, 0x1523, 0x2001, |
216 | 0x70ce, 0x70da, 0x70c0, 0xa03d, 0xa08a, 0x0040, 0x00c8, 0x152a, | 216 | 0x4007, 0x0078, 0x15c3, 0xa006, 0x70c2, 0x70c6, 0x70ca, 0x70ce, |
217 | 0x0079, 0x1531, 0x2100, 0xa08a, 0x0040, 0x00c8, 0x15c8, 0x0079, | 217 | 0x70da, 0x70c0, 0xa03d, 0xa08a, 0x0040, 0x00c8, 0x1531, 0x0079, |
218 | 0x1571, 0x15ba, 0x1610, 0x15d9, 0x1648, 0x1680, 0x1680, 0x15d0, | 218 | 0x1538, 0x2100, 0xa08a, 0x0040, 0x00c8, 0x15cf, 0x0079, 0x1578, |
219 | 0x1c9c, 0x168b, 0x15c8, 0x15dd, 0x15df, 0x15e1, 0x15e3, 0x1ca1, | 219 | 0x15c1, 0x1617, 0x15e0, 0x164f, 0x1687, 0x1687, 0x15d7, 0x1ced, |
220 | 0x15c8, 0x1699, 0x16f6, 0x1b7b, 0x1c96, 0x15e5, 0x19c0, 0x1a02, | 220 | 0x1692, 0x15cf, 0x15e4, 0x15e6, 0x15e8, 0x15ea, 0x1cf2, 0x15cf, |
221 | 0x1a3d, 0x1a8e, 0x197b, 0x1988, 0x199c, 0x19af, 0x17cb, 0x15c8, | 221 | 0x16a0, 0x16fd, 0x1ba5, 0x1ce7, 0x15ec, 0x19ea, 0x1a2c, 0x1a67, |
222 | 0x172d, 0x173a, 0x1746, 0x1752, 0x1768, 0x1774, 0x1777, 0x1783, | 222 | 0x1ab8, 0x19a5, 0x19b2, 0x19c6, 0x19d9, 0x17eb, 0x15cf, 0x1734, |
223 | 0x178f, 0x1797, 0x17b3, 0x17bf, 0x15c8, 0x15c8, 0x15c8, 0x15c8, | 223 | 0x1741, 0x174d, 0x1759, 0x176f, 0x177b, 0x177e, 0x178a, 0x1796, |
224 | 0x17d8, 0x17ea, 0x1806, 0x183c, 0x1864, 0x1874, 0x1877, 0x18a8, | 224 | 0x179e, 0x17d3, 0x17df, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x17f8, |
225 | 0x18d9, 0x18eb, 0x194a, 0x195a, 0x15c8, 0x15c8, 0x15c8, 0x15c8, | 225 | 0x180a, 0x1826, 0x185c, 0x1884, 0x1894, 0x1897, 0x18c8, 0x18f9, |
226 | 0x196a, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x1cc6, 0x1ccc, | 226 | 0x190b, 0x1974, 0x1984, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x1994, |
227 | 0x15c8, 0x15c8, 0x15c8, 0x1cd0, 0x1d15, 0x15c8, 0x15c8, 0x15c8, | 227 | 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x1d17, 0x1d1d, 0x15cf, |
228 | 0x15c8, 0x160a, 0x167a, 0x1693, 0x16f0, 0x1b75, 0x15c8, 0x15c8, | 228 | 0x15cf, 0x15cf, 0x1d21, 0x1d66, 0x15cf, 0x15cf, 0x15cf, 0x15cf, |
229 | 0x1b3e, 0x15c8, 0x1d19, 0x1cb8, 0x1cc2, 0x15c8, 0x15c8, 0x15c8, | 229 | 0x1611, 0x1681, 0x169a, 0x16f7, 0x1b9f, 0x15cf, 0x15cf, 0x1b68, |
230 | 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, | 230 | 0x15cf, 0x1d6a, 0x1d09, 0x1d13, 0x15cf, 0x15cf, 0x15cf, 0x15cf, |
231 | 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, | 231 | 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, |
232 | 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, | 232 | 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, |
233 | 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, 0x15c8, | 233 | 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, |
234 | 0x15c8, 0x72ca, 0x71c6, 0x2001, 0x4006, 0x0078, 0x15bc, 0x73ce, | 234 | 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, 0x15cf, |
235 | 0x72ca, 0x71c6, 0x2001, 0x4000, 0x70c2, 0x0068, 0x15bd, 0x2061, | 235 | 0x72ca, 0x71c6, 0x2001, 0x4006, 0x0078, 0x15c3, 0x73ce, 0x72ca, |
236 | 0x0000, 0x601b, 0x0001, 0x2091, 0x5000, 0x2091, 0x4080, 0x007c, | 236 | 0x71c6, 0x2001, 0x4000, 0x70c2, 0x0068, 0x15c4, 0x2061, 0x0000, |
237 | 0x70c3, 0x4001, 0x0078, 0x15bd, 0x70c3, 0x4006, 0x0078, 0x15bd, | 237 | 0x601b, 0x0001, 0x2091, 0x5000, 0x2091, 0x4080, 0x007c, 0x70c3, |
238 | 0x2099, 0x0041, 0x20a1, 0x0041, 0x20a9, 0x0005, 0x53a3, 0x0078, | 238 | 0x4001, 0x0078, 0x15c4, 0x70c3, 0x4006, 0x0078, 0x15c4, 0x2099, |
239 | 0x15ba, 0x70c4, 0x70c3, 0x0004, 0x007a, 0x0078, 0x15ba, 0x0078, | 239 | 0x0041, 0x20a1, 0x0041, 0x20a9, 0x0005, 0x53a3, 0x0078, 0x15c1, |
240 | 0x15ba, 0x0078, 0x15ba, 0x0078, 0x15ba, 0x2091, 0x8000, 0x70c3, | 240 | 0x70c4, 0x70c3, 0x0004, 0x007a, 0x0078, 0x15c1, 0x0078, 0x15c1, |
241 | 0x0004, 0x70c7, 0x4953, 0x70cb, 0x5020, 0x70cf, 0x2020, 0x70d3, | 241 | 0x0078, 0x15c1, 0x0078, 0x15c1, 0x2091, 0x8000, 0x70c3, 0x0004, |
242 | 0x0008, 0x2001, 0x000f, 0x70d6, 0x2079, 0x0000, 0x781b, 0x0001, | 242 | 0x70c7, 0x4953, 0x70cb, 0x5020, 0x70cf, 0x2020, 0x70d3, 0x0008, |
243 | 0x2031, 0x0030, 0x2059, 0x1000, 0x2029, 0x041a, 0x2051, 0x0445, | 243 | 0x2001, 0x000f, 0x70d6, 0x2079, 0x0000, 0x781b, 0x0001, 0x2031, |
244 | 0x2061, 0x0447, 0x20c1, 0x0020, 0x2091, 0x5000, 0x2091, 0x4080, | 244 | 0x0030, 0x2059, 0x1000, 0x2029, 0x041a, 0x2051, 0x0445, 0x2061, |
245 | 0x0078, 0x0418, 0x75d8, 0x74dc, 0x75da, 0x74de, 0x0078, 0x1613, | 245 | 0x0447, 0x20c1, 0x0020, 0x2091, 0x5000, 0x2091, 0x4080, 0x0078, |
246 | 0x2029, 0x0000, 0x2520, 0x71d0, 0x72c8, 0x73cc, 0x70c4, 0x20a0, | 246 | 0x0418, 0x75d8, 0x74dc, 0x75da, 0x74de, 0x0078, 0x161a, 0x2029, |
247 | 0x2099, 0x0030, 0x7003, 0x0001, 0x7007, 0x0006, 0x731a, 0x721e, | 247 | 0x0000, 0x2520, 0x71d0, 0x72c8, 0x73cc, 0x70c4, 0x20a0, 0x2099, |
248 | 0x7422, 0x7526, 0x2021, 0x0040, 0x81ff, 0x0040, 0x15ba, 0xa182, | 248 | 0x0030, 0x7003, 0x0001, 0x7007, 0x0006, 0x731a, 0x721e, 0x7422, |
249 | 0x0040, 0x00c8, 0x162d, 0x2120, 0xa006, 0x2008, 0x8403, 0x7012, | 249 | 0x7526, 0x2021, 0x0040, 0x81ff, 0x0040, 0x15c1, 0xa182, 0x0040, |
250 | 0x7007, 0x0004, 0x7007, 0x0001, 0x7008, 0xd0fc, 0x0040, 0x1634, | 250 | 0x00c8, 0x1634, 0x2120, 0xa006, 0x2008, 0x8403, 0x7012, 0x7007, |
251 | 0x7007, 0x0002, 0xa084, 0x01e0, 0x0040, 0x1642, 0x70c3, 0x4002, | 251 | 0x0004, 0x7007, 0x0001, 0x7008, 0xd0fc, 0x0040, 0x163b, 0x7007, |
252 | 0x0078, 0x15bd, 0x24a8, 0x53a5, 0x0078, 0x1624, 0x0078, 0x15ba, | 252 | 0x0002, 0xa084, 0x01e0, 0x0040, 0x1649, 0x70c3, 0x4002, 0x0078, |
253 | 0x2029, 0x0000, 0x2520, 0x71d0, 0x72c8, 0x73cc, 0x70c4, 0x2098, | 253 | 0x15c4, 0x24a8, 0x53a5, 0x0078, 0x162b, 0x0078, 0x15c1, 0x2029, |
254 | 0x20a1, 0x0030, 0x7003, 0x0000, 0x7007, 0x0006, 0x731a, 0x721e, | 254 | 0x0000, 0x2520, 0x71d0, 0x72c8, 0x73cc, 0x70c4, 0x2098, 0x20a1, |
255 | 0x7422, 0x7526, 0x2021, 0x0040, 0x7007, 0x0006, 0x81ff, 0x0040, | 255 | 0x0030, 0x7003, 0x0000, 0x7007, 0x0006, 0x731a, 0x721e, 0x7422, |
256 | 0x15ba, 0xa182, 0x0040, 0x00c8, 0x1667, 0x2120, 0xa006, 0x2008, | 256 | 0x7526, 0x2021, 0x0040, 0x7007, 0x0006, 0x81ff, 0x0040, 0x15c1, |
257 | 0x8403, 0x7012, 0x24a8, 0x53a6, 0x7007, 0x0001, 0x7008, 0xd0fc, | 257 | 0xa182, 0x0040, 0x00c8, 0x166e, 0x2120, 0xa006, 0x2008, 0x8403, |
258 | 0x0040, 0x166e, 0xa084, 0x01e0, 0x0040, 0x165c, 0x70c3, 0x4002, | 258 | 0x7012, 0x24a8, 0x53a6, 0x7007, 0x0001, 0x7008, 0xd0fc, 0x0040, |
259 | 0x0078, 0x15bd, 0x75d8, 0x74dc, 0x75da, 0x74de, 0x0078, 0x164b, | 259 | 0x1675, 0xa084, 0x01e0, 0x0040, 0x1663, 0x70c3, 0x4002, 0x0078, |
260 | 0x71c4, 0x70c8, 0x2114, 0xa79e, 0x0004, 0x00c0, 0x1688, 0x200a, | 260 | 0x15c4, 0x75d8, 0x74dc, 0x75da, 0x74de, 0x0078, 0x1652, 0x71c4, |
261 | 0x72ca, 0x0078, 0x15b9, 0x70c7, 0x0008, 0x70cb, 0x000f, 0x70cf, | 261 | 0x70c8, 0x2114, 0xa79e, 0x0004, 0x00c0, 0x168f, 0x200a, 0x72ca, |
262 | 0x0000, 0x0078, 0x15ba, 0x75d8, 0x76dc, 0x75da, 0x76de, 0x0078, | 262 | 0x0078, 0x15c0, 0x70c7, 0x0008, 0x70cb, 0x000f, 0x70cf, 0x000b, |
263 | 0x169c, 0x2029, 0x0000, 0x2530, 0x70c4, 0x72c8, 0x73cc, 0x74d0, | 263 | 0x0078, 0x15c1, 0x75d8, 0x76dc, 0x75da, 0x76de, 0x0078, 0x16a3, |
264 | 0x70c6, 0x72ca, 0x73ce, 0x74d2, 0xa005, 0x0040, 0x16eb, 0xa40a, | 264 | 0x2029, 0x0000, 0x2530, 0x70c4, 0x72c8, 0x73cc, 0x74d0, 0x70c6, |
265 | 0x0040, 0x16ac, 0x00c8, 0x16b5, 0x8001, 0x7872, 0xa084, 0xfc00, | 265 | 0x72ca, 0x73ce, 0x74d2, 0xa005, 0x0040, 0x16f2, 0xa40a, 0x0040, |
266 | 0x0040, 0x16b9, 0x78ac, 0xc085, 0x78ae, 0x2001, 0x4005, 0x0078, | 266 | 0x16b3, 0x00c8, 0x16bc, 0x8001, 0x7872, 0xa084, 0xfc00, 0x0040, |
267 | 0x15bc, 0x7b7e, 0x7a7a, 0x7e86, 0x7d82, 0x7c76, 0xa48c, 0xff00, | 267 | 0x16c0, 0x78ac, 0xc085, 0x78ae, 0x2001, 0x4005, 0x0078, 0x15c3, |
268 | 0x0040, 0x16d1, 0x8407, 0x8004, 0x8004, 0x810c, 0x810c, 0x810f, | 268 | 0x7b7e, 0x7a7a, 0x7e86, 0x7d82, 0x7c76, 0xa48c, 0xff00, 0x0040, |
269 | 0xa118, 0xa291, 0x0000, 0xa6b1, 0x0000, 0xa581, 0x0000, 0x0078, | 269 | 0x16d8, 0x8407, 0x8004, 0x8004, 0x810c, 0x810c, 0x810f, 0xa118, |
270 | 0x16db, 0x8407, 0x8004, 0x8004, 0xa318, 0xa291, 0x0000, 0xa6b1, | 270 | 0xa291, 0x0000, 0xa6b1, 0x0000, 0xa581, 0x0000, 0x0078, 0x16e2, |
271 | 0x0000, 0xa581, 0x0000, 0x731a, 0x721e, 0x7622, 0x7026, 0xa605, | 271 | 0x8407, 0x8004, 0x8004, 0xa318, 0xa291, 0x0000, 0xa6b1, 0x0000, |
272 | 0x0040, 0x16e5, 0x7a10, 0xc2c5, 0x7a12, 0x78ac, 0xa084, 0xfffc, | 272 | 0xa581, 0x0000, 0x731a, 0x721e, 0x7622, 0x7026, 0xa605, 0x0040, |
273 | 0x78ae, 0x0078, 0x16ee, 0x78ac, 0xc085, 0x78ae, 0x0078, 0x15ba, | 273 | 0x16ec, 0x7a10, 0xc2c5, 0x7a12, 0x78ac, 0xa084, 0xfffc, 0x78ae, |
274 | 0x75d8, 0x76dc, 0x75da, 0x76de, 0x0078, 0x16f9, 0x2029, 0x0000, | 274 | 0x0078, 0x16f5, 0x78ac, 0xc085, 0x78ae, 0x0078, 0x15c1, 0x75d8, |
275 | 0x2530, 0x70c4, 0x72c8, 0x73cc, 0x74d4, 0x70c6, 0x72ca, 0x73ce, | 275 | 0x76dc, 0x75da, 0x76de, 0x0078, 0x1700, 0x2029, 0x0000, 0x2530, |
276 | 0x74d6, 0xa005, 0x0040, 0x1728, 0xa40a, 0x0040, 0x1709, 0x00c8, | 276 | 0x70c4, 0x72c8, 0x73cc, 0x74d4, 0x70c6, 0x72ca, 0x73ce, 0x74d6, |
277 | 0x15bc, 0x8001, 0x7892, 0xa084, 0xfc00, 0x0040, 0x1716, 0x78ac, | 277 | 0xa005, 0x0040, 0x172f, 0xa40a, 0x0040, 0x1710, 0x00c8, 0x1719, |
278 | 0xc0c5, 0x78ae, 0x2001, 0x4005, 0x0078, 0x15bc, 0x7a9a, 0x7b9e, | 278 | 0x8001, 0x7892, 0xa084, 0xfc00, 0x0040, 0x171d, 0x78ac, 0xc0c5, |
279 | 0x7da2, 0x7ea6, 0x2600, 0xa505, 0x0040, 0x1721, 0x7a10, 0xc2c5, | 279 | 0x78ae, 0x2001, 0x4005, 0x0078, 0x15c3, 0x7a9a, 0x7b9e, 0x7da2, |
280 | 0x7a12, 0x7c96, 0x78ac, 0xa084, 0xfcff, 0x78ae, 0x0078, 0x172b, | 280 | 0x7ea6, 0x2600, 0xa505, 0x0040, 0x1728, 0x7a10, 0xc2c5, 0x7a12, |
281 | 0x78ac, 0xc0c5, 0x78ae, 0x0078, 0x15ba, 0x2009, 0x0000, 0x786c, | 281 | 0x7c96, 0x78ac, 0xa084, 0xfcff, 0x78ae, 0x0078, 0x1732, 0x78ac, |
282 | 0xa065, 0x0040, 0x1737, 0x8108, 0x6000, 0x0078, 0x1730, 0x7ac4, | 282 | 0xc0c5, 0x78ae, 0x0078, 0x15c1, 0x2009, 0x0000, 0x786c, 0xa065, |
283 | 0x0078, 0x15b8, 0x2009, 0x4e48, 0x210c, 0x7810, 0xd0ec, 0x00c0, | 283 | 0x0040, 0x173e, 0x8108, 0x6000, 0x0078, 0x1737, 0x7ac4, 0x0078, |
284 | 0x15b9, 0x2011, 0x4e88, 0x2214, 0x0078, 0x15b8, 0x2009, 0x4e49, | 284 | 0x15bf, 0x2009, 0x4f48, 0x210c, 0x7810, 0xd0ec, 0x00c0, 0x15c0, |
285 | 0x210c, 0x7810, 0xd0ec, 0x00c0, 0x15b9, 0x2011, 0x4e89, 0x2214, | 285 | 0x2011, 0x4f88, 0x2214, 0x0078, 0x15bf, 0x2009, 0x4f49, 0x210c, |
286 | 0x0078, 0x15b8, 0x2061, 0x4e40, 0x6128, 0x622c, 0x8214, 0x8214, | 286 | 0x7810, 0xd0ec, 0x00c0, 0x15c0, 0x2011, 0x4f89, 0x2214, 0x0078, |
287 | 0x8214, 0x7810, 0xd0ec, 0x00c0, 0x1766, 0x2061, 0x4e80, 0x6328, | 287 | 0x15bf, 0x2061, 0x4f40, 0x6128, 0x622c, 0x8214, 0x8214, 0x8214, |
288 | 0x73da, 0x632c, 0x831c, 0x831c, 0x831c, 0x73de, 0x0078, 0x15b8, | 288 | 0x7810, 0xd0ec, 0x00c0, 0x176d, 0x2061, 0x4f80, 0x6328, 0x73da, |
289 | 0x2009, 0x4e4c, 0x210c, 0x7810, 0xd0ec, 0x00c0, 0x15b9, 0x2011, | 289 | 0x632c, 0x831c, 0x831c, 0x831c, 0x73de, 0x0078, 0x15bf, 0x2009, |
290 | 0x4e8c, 0x2214, 0x0078, 0x15b8, 0x7918, 0x0078, 0x15b9, 0x2009, | 290 | 0x4f4c, 0x210c, 0x7810, 0xd0ec, 0x00c0, 0x15c0, 0x2011, 0x4f8c, |
291 | 0x4e4d, 0x210c, 0x7810, 0xd0ec, 0x00c0, 0x15b9, 0x2011, 0x4e8d, | 291 | 0x2214, 0x0078, 0x15bf, 0x7918, 0x0078, 0x15c0, 0x2009, 0x4f4d, |
292 | 0x2214, 0x0078, 0x15b8, 0x2009, 0x4e4e, 0x210c, 0x7810, 0xd0ec, | 292 | 0x210c, 0x7810, 0xd0ec, 0x00c0, 0x15c0, 0x2011, 0x4f8d, 0x2214, |
293 | 0x00c0, 0x15b9, 0x2011, 0x4e8e, 0x2214, 0x0078, 0x15b8, 0x7920, | 293 | 0x0078, 0x15bf, 0x2009, 0x4f4e, 0x210c, 0x7810, 0xd0ec, 0x00c0, |
294 | 0x7810, 0xd0ec, 0x00c0, 0x15b9, 0x7a24, 0x0078, 0x15b8, 0x71c4, | 294 | 0x15c0, 0x2011, 0x4f8e, 0x2214, 0x0078, 0x15bf, 0x7920, 0x7810, |
295 | 0xd1fc, 0x00c0, 0x179f, 0x2011, 0x52c0, 0x0078, 0x17a1, 0x2011, | 295 | 0xd0ec, 0x00c0, 0x15c0, 0x7a24, 0x0078, 0x15bf, 0x71c4, 0xd1fc, |
296 | 0x5340, 0x8107, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xa268, | 296 | 0x00c0, 0x17a6, 0x2011, 0x53c0, 0x0078, 0x17a8, 0x2011, 0x5440, |
297 | 0x6a00, 0x6804, 0xd09c, 0x0040, 0x17b0, 0x6b08, 0x0078, 0x17b1, | 297 | 0x8107, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xa268, 0x6a00, |
298 | 0x6b0c, 0x0078, 0x15b7, 0x77c4, 0x1078, 0x1de4, 0x2091, 0x8000, | 298 | 0x6804, 0xd09c, 0x0040, 0x17b7, 0x6b08, 0x0078, 0x17b8, 0x6b0c, |
299 | 0x6b1c, 0x6a14, 0x2091, 0x8001, 0x2708, 0x0078, 0x15b7, 0x2061, | 299 | 0xd1fc, 0x00c0, 0x17bf, 0x2021, 0x023b, 0x0078, 0x17c1, 0x2021, |
300 | 0x4e40, 0x6118, 0x7810, 0xd0ec, 0x00c0, 0x15b9, 0x2061, 0x4e80, | 300 | 0x013b, 0x2424, 0x7914, 0xd1e4, 0x0040, 0x17cd, 0xd4c4, 0x00c0, |
301 | 0x6218, 0x0078, 0x15b8, 0x77c4, 0x1078, 0x1de4, 0x2091, 0x8000, | 301 | 0x17cc, 0xc4d5, 0x0078, 0x17cd, 0xc4dd, 0xa4a4, 0x1c00, 0x74de, |
302 | 0x6908, 0x6a18, 0x6b10, 0x77da, 0x2091, 0x8001, 0x0078, 0x15b7, | 302 | 0x71c4, 0x0078, 0x15be, 0x77c4, 0x1078, 0x1e2b, 0x2091, 0x8000, |
303 | 0x71c4, 0x2110, 0xa294, 0x000f, 0xa282, 0x0010, 0x00c8, 0x15b2, | 303 | 0x6b1c, 0x6a14, 0x2091, 0x8001, 0x2708, 0x0078, 0x15be, 0x2061, |
304 | 0x1078, 0x277f, 0xa384, 0x4000, 0x0040, 0x17e8, 0xa295, 0x0020, | 304 | 0x4f40, 0x6118, 0x7810, 0xd0ec, 0x00c0, 0x15c0, 0x2061, 0x4f80, |
305 | 0x0078, 0x15b7, 0x71c4, 0x2100, 0xc0bc, 0xa082, 0x0010, 0x00c8, | 305 | 0x6218, 0x0078, 0x15bf, 0x77c4, 0x1078, 0x1e2b, 0x2091, 0x8000, |
306 | 0x15b2, 0xd1bc, 0x00c0, 0x17f9, 0x2011, 0x4e48, 0x2204, 0x0078, | 306 | 0x6908, 0x6a18, 0x6b10, 0x77da, 0x2091, 0x8001, 0x0078, 0x15be, |
307 | 0x17fd, 0x2011, 0x4e88, 0x2204, 0xc0bd, 0x007e, 0x2100, 0xc0bc, | 307 | 0x71c4, 0x2110, 0xa294, 0x000f, 0xa282, 0x0010, 0x00c8, 0x15b9, |
308 | 0x2012, 0x1078, 0x26dc, 0x017f, 0x0078, 0x15b9, 0x71c4, 0x2021, | 308 | 0x1078, 0x27c6, 0xa384, 0x4000, 0x0040, 0x1808, 0xa295, 0x0020, |
309 | 0x4e49, 0x2404, 0x70c6, 0x2019, 0x0000, 0x0078, 0x1815, 0x71c8, | 309 | 0x0078, 0x15be, 0x71c4, 0x2100, 0xc0bc, 0xa082, 0x0010, 0x00c8, |
310 | 0x2021, 0x4e89, 0x2404, 0x70ca, 0xc3fd, 0x2011, 0x1834, 0x20a9, | 310 | 0x15b9, 0xd1bc, 0x00c0, 0x1819, 0x2011, 0x4f48, 0x2204, 0x0078, |
311 | 0x0008, 0x2204, 0xa106, 0x0040, 0x1824, 0x8210, 0x00f0, 0x1819, | 311 | 0x181d, 0x2011, 0x4f88, 0x2204, 0xc0bd, 0x007e, 0x2100, 0xc0bc, |
312 | 0x71c4, 0x72c8, 0x0078, 0x15b1, 0xa292, 0x1834, 0x027e, 0x2122, | 312 | 0x2012, 0x1078, 0x2723, 0x017f, 0x0078, 0x15c0, 0x71c4, 0x2021, |
313 | 0x017f, 0x1078, 0x26fd, 0x7810, 0xd0ec, 0x00c0, 0x1832, 0xd3fc, | 313 | 0x4f49, 0x2404, 0x70c6, 0x2019, 0x0000, 0x0078, 0x1835, 0x71c8, |
314 | 0x0040, 0x180f, 0x0078, 0x15ba, 0x03e8, 0x00fa, 0x01f4, 0x02ee, | 314 | 0x2021, 0x4f89, 0x2404, 0x70ca, 0xc3fd, 0x2011, 0x1854, 0x20a9, |
315 | 0x0004, 0x0001, 0x0002, 0x0003, 0x2061, 0x4e40, 0x6128, 0x622c, | 315 | 0x0008, 0x2204, 0xa106, 0x0040, 0x1844, 0x8210, 0x00f0, 0x1839, |
316 | 0x71c4, 0x72c8, 0x0078, 0x15b8, 0xa292, 0x1854, 0x027e, 0x2122, | ||
317 | 0x017f, 0x1078, 0x2744, 0x7810, 0xd0ec, 0x00c0, 0x1852, 0xd3fc, | ||
318 | 0x0040, 0x182f, 0x0078, 0x15c1, 0x03e8, 0x00fa, 0x01f4, 0x02ee, | ||
319 | 0x0004, 0x0001, 0x0002, 0x0003, 0x2061, 0x4f40, 0x6128, 0x622c, | ||
316 | 0x8214, 0x8214, 0x8214, 0x70c4, 0x602a, 0x70c8, 0x8003, 0x8003, | 320 | 0x8214, 0x8214, 0x8214, 0x70c4, 0x602a, 0x70c8, 0x8003, 0x8003, |
317 | 0x8003, 0x602e, 0x7810, 0xd0ec, 0x00c0, 0x1862, 0x027e, 0x017e, | 321 | 0x8003, 0x602e, 0x7810, 0xd0ec, 0x00c0, 0x1882, 0x027e, 0x017e, |
318 | 0x2061, 0x4e80, 0x6128, 0x622c, 0x8214, 0x8214, 0x8214, 0x70d8, | 322 | 0x2061, 0x4f80, 0x6128, 0x622c, 0x8214, 0x8214, 0x8214, 0x70d8, |
319 | 0x602a, 0x70dc, 0x8003, 0x8003, 0x8003, 0x602e, 0x71da, 0x72de, | 323 | 0x602a, 0x70dc, 0x8003, 0x8003, 0x8003, 0x602e, 0x71da, 0x72de, |
320 | 0x017f, 0x027f, 0x0078, 0x15b8, 0x2061, 0x4e40, 0x6130, 0x70c4, | 324 | 0x017f, 0x027f, 0x0078, 0x15bf, 0x2061, 0x4f40, 0x6130, 0x70c4, |
321 | 0x6032, 0x7810, 0xd0ec, 0x00c0, 0x15b9, 0x2061, 0x4e80, 0x6230, | 325 | 0x6032, 0x7810, 0xd0ec, 0x00c0, 0x15c0, 0x2061, 0x4f80, 0x6230, |
322 | 0x70c8, 0x6032, 0x0078, 0x15b8, 0x7918, 0x0078, 0x15b9, 0x71c4, | 326 | 0x70c8, 0x6032, 0x0078, 0x15bf, 0x7918, 0x0078, 0x15c0, 0x71c4, |
323 | 0xa184, 0xffcf, 0x0040, 0x1883, 0x7810, 0xd0ec, 0x00c0, 0x15b2, | 327 | 0xa184, 0xffcf, 0x0040, 0x18a3, 0x7810, 0xd0ec, 0x00c0, 0x15b9, |
324 | 0x72c8, 0x0078, 0x15b1, 0x2011, 0x4e4d, 0x2204, 0x2112, 0x007e, | 328 | 0x72c8, 0x0078, 0x15b8, 0x2011, 0x4f4d, 0x2204, 0x2112, 0x007e, |
325 | 0x2019, 0x0000, 0x1078, 0x2764, 0x7810, 0xd0ec, 0x0040, 0x1893, | 329 | 0x2019, 0x0000, 0x1078, 0x27ab, 0x7810, 0xd0ec, 0x0040, 0x18b3, |
326 | 0x017f, 0x0078, 0x15b9, 0x71c8, 0xa184, 0xffcf, 0x0040, 0x189c, | 330 | 0x017f, 0x0078, 0x15c0, 0x71c8, 0xa184, 0xffcf, 0x0040, 0x18bc, |
327 | 0x2110, 0x71c4, 0x0078, 0x15b1, 0x2011, 0x4e8d, 0x2204, 0x2112, | 331 | 0x2110, 0x71c4, 0x0078, 0x15b8, 0x2011, 0x4f8d, 0x2204, 0x2112, |
328 | 0x007e, 0xc3fd, 0x1078, 0x2764, 0x027f, 0x017f, 0x0078, 0x15b8, | 332 | 0x007e, 0xc3fd, 0x1078, 0x27ab, 0x027f, 0x017f, 0x0078, 0x15bf, |
329 | 0x71c4, 0xa182, 0x0010, 0x0048, 0x18b4, 0x7810, 0xd0ec, 0x00c0, | 333 | 0x71c4, 0xa182, 0x0010, 0x0048, 0x18d4, 0x7810, 0xd0ec, 0x00c0, |
330 | 0x15b2, 0x72c8, 0x0078, 0x15b1, 0x2011, 0x4e4e, 0x2204, 0x007e, | 334 | 0x15b9, 0x72c8, 0x0078, 0x15b8, 0x2011, 0x4f4e, 0x2204, 0x007e, |
331 | 0x2112, 0x2019, 0x0000, 0x1078, 0x2742, 0x7810, 0xd0ec, 0x0040, | 335 | 0x2112, 0x2019, 0x0000, 0x1078, 0x2789, 0x7810, 0xd0ec, 0x0040, |
332 | 0x18c4, 0x017f, 0x0078, 0x15b9, 0x71c8, 0xa182, 0x0010, 0x0048, | 336 | 0x18e4, 0x017f, 0x0078, 0x15c0, 0x71c8, 0xa182, 0x0010, 0x0048, |
333 | 0x18cd, 0x2110, 0x71c4, 0x0078, 0x15b1, 0x2011, 0x4e8e, 0x2204, | 337 | 0x18ed, 0x2110, 0x71c4, 0x0078, 0x15b8, 0x2011, 0x4f8e, 0x2204, |
334 | 0x007e, 0x2112, 0xc3fd, 0x1078, 0x2742, 0x027f, 0x017f, 0x0078, | 338 | 0x007e, 0x2112, 0xc3fd, 0x1078, 0x2789, 0x027f, 0x017f, 0x0078, |
335 | 0x15b8, 0x71c4, 0x72c8, 0xa184, 0xfffd, 0x00c0, 0x15b1, 0xa284, | 339 | 0x15bf, 0x71c4, 0x72c8, 0xa184, 0xfffd, 0x00c0, 0x15b8, 0xa284, |
336 | 0xfffd, 0x00c0, 0x15b1, 0x2100, 0x7920, 0x7822, 0x2200, 0x7a24, | 340 | 0xfffd, 0x00c0, 0x15b8, 0x2100, 0x7920, 0x7822, 0x2200, 0x7a24, |
337 | 0x7826, 0x0078, 0x15b8, 0x71c4, 0xd1fc, 0x00c0, 0x18f3, 0x2011, | 341 | 0x7826, 0x0078, 0x15bf, 0x71c4, 0xd1fc, 0x00c0, 0x1913, 0x2011, |
338 | 0x52c0, 0x0078, 0x18f5, 0x2011, 0x5340, 0x8107, 0xa084, 0x000f, | 342 | 0x53c0, 0x0078, 0x1915, 0x2011, 0x5440, 0x8107, 0xa084, 0x000f, |
339 | 0x8003, 0x8003, 0x8003, 0xa268, 0x2019, 0x0000, 0x72c8, 0x2091, | 343 | 0x8003, 0x8003, 0x8003, 0xa268, 0x2019, 0x0000, 0x72c8, 0xd2bc, |
340 | 0x8000, 0x6800, 0x007e, 0xa226, 0x0040, 0x191e, 0x6a02, 0xd4ec, | 344 | 0x0040, 0x1924, 0xa39d, 0x0010, 0xd2b4, 0x0040, 0x1929, 0xa39d, |
341 | 0x0040, 0x190b, 0xc3a5, 0xd4e4, 0x0040, 0x190f, 0xc39d, 0xd4f4, | 345 | 0x0008, 0x2091, 0x8000, 0x6800, 0x007e, 0xa226, 0x0040, 0x1948, |
342 | 0x0040, 0x191e, 0x810f, 0xd2f4, 0x0040, 0x191a, 0x1078, 0x27c1, | 346 | 0x6a02, 0xd4ec, 0x0040, 0x1935, 0xc3a5, 0xd4e4, 0x0040, 0x1939, |
343 | 0x0078, 0x191e, 0x1078, 0x279f, 0x0078, 0x191e, 0x72cc, 0x6808, | 347 | 0xc39d, 0xd4f4, 0x0040, 0x1948, 0x810f, 0xd2f4, 0x0040, 0x1944, |
344 | 0xa206, 0x0040, 0x1940, 0xa2a4, 0x00ff, 0x7814, 0xd0e4, 0x00c0, | 348 | 0x1078, 0x2808, 0x0078, 0x1948, 0x1078, 0x27e6, 0x0078, 0x1948, |
345 | 0x1931, 0xa482, 0x0028, 0x0048, 0x193d, 0x0040, 0x193d, 0x0078, | 349 | 0x72cc, 0x6808, 0xa206, 0x0040, 0x196a, 0xa2a4, 0x00ff, 0x7814, |
346 | 0x1935, 0xa482, 0x0043, 0x0048, 0x193d, 0x71c4, 0x71c6, 0x027f, | 350 | 0xd0e4, 0x00c0, 0x195b, 0xa482, 0x0028, 0x0048, 0x1967, 0x0040, |
347 | 0x72ca, 0x2091, 0x8001, 0x0078, 0x15b3, 0x6a0a, 0xa39d, 0x000a, | 351 | 0x1967, 0x0078, 0x195f, 0xa482, 0x0043, 0x0048, 0x1967, 0x71c4, |
348 | 0x6804, 0xa305, 0x6806, 0x027f, 0x6b0c, 0x71c4, 0x2091, 0x8001, | 352 | 0x71c6, 0x027f, 0x72ca, 0x2091, 0x8001, 0x0078, 0x15ba, 0x6a0a, |
349 | 0x0078, 0x15b7, 0x77c4, 0x1078, 0x1de4, 0x2091, 0x8000, 0x6a14, | 353 | 0xa39d, 0x000a, 0x6804, 0xa305, 0x6806, 0x027f, 0x6b0c, 0x71c4, |
350 | 0x6b1c, 0x2091, 0x8001, 0x70c8, 0x6816, 0x70cc, 0x681e, 0x2708, | 354 | 0x2091, 0x8001, 0x0078, 0x15be, 0x77c4, 0x1078, 0x1e2b, 0x2091, |
351 | 0x0078, 0x15b7, 0x70c4, 0x2061, 0x4e40, 0x6118, 0x601a, 0x7810, | 355 | 0x8000, 0x6a14, 0x6b1c, 0x2091, 0x8001, 0x70c8, 0x6816, 0x70cc, |
352 | 0xd0ec, 0x00c0, 0x15b9, 0x70c8, 0x2061, 0x4e80, 0x6218, 0x601a, | 356 | 0x681e, 0x2708, 0x0078, 0x15be, 0x70c4, 0x2061, 0x4f40, 0x6118, |
353 | 0x0078, 0x15b8, 0x71c4, 0x72c8, 0x73cc, 0xa182, 0x0010, 0x00c8, | 357 | 0x601a, 0x7810, 0xd0ec, 0x00c0, 0x15c0, 0x70c8, 0x2061, 0x4f80, |
354 | 0x15b2, 0x1078, 0x27e3, 0xa384, 0x4000, 0x0040, 0x1979, 0xa295, | 358 | 0x6218, 0x601a, 0x0078, 0x15bf, 0x71c4, 0x72c8, 0x73cc, 0xa182, |
355 | 0x0020, 0x0078, 0x15b7, 0x77c4, 0x1078, 0x1de4, 0x2091, 0x8000, | 359 | 0x0010, 0x00c8, 0x15b9, 0x1078, 0x282a, 0xa384, 0x4000, 0x0040, |
356 | 0x6a08, 0xc28d, 0x6a0a, 0x2091, 0x8001, 0x2708, 0x0078, 0x15b8, | 360 | 0x19a3, 0xa295, 0x0020, 0x0078, 0x15be, 0x77c4, 0x1078, 0x1e2b, |
357 | 0x77c4, 0x1078, 0x1de4, 0x2091, 0x8000, 0x6a08, 0xa294, 0xfff9, | 361 | 0x2091, 0x8000, 0x6a08, 0xc28d, 0x6a0a, 0x2091, 0x8001, 0x2708, |
358 | 0x6a0a, 0x6804, 0xa005, 0x0040, 0x1997, 0x1078, 0x2628, 0x2091, | 362 | 0x0078, 0x15bf, 0x77c4, 0x1078, 0x1e2b, 0x2091, 0x8000, 0x6a08, |
359 | 0x8001, 0x2708, 0x0078, 0x15b8, 0x77c4, 0x1078, 0x1de4, 0x2091, | 363 | 0xa294, 0xfff9, 0x6a0a, 0x6804, 0xa005, 0x0040, 0x19c1, 0x1078, |
360 | 0x8000, 0x6a08, 0xc295, 0x6a0a, 0x6804, 0xa005, 0x0040, 0x19aa, | 364 | 0x266f, 0x2091, 0x8001, 0x2708, 0x0078, 0x15bf, 0x77c4, 0x1078, |
361 | 0x1078, 0x2628, 0x2091, 0x8001, 0x2708, 0x0078, 0x15b8, 0x77c4, | 365 | 0x1e2b, 0x2091, 0x8000, 0x6a08, 0xc295, 0x6a0a, 0x6804, 0xa005, |
362 | 0x2041, 0x0001, 0x2049, 0x0005, 0x2051, 0x0020, 0x2091, 0x8000, | 366 | 0x0040, 0x19d4, 0x1078, 0x266f, 0x2091, 0x8001, 0x2708, 0x0078, |
363 | 0x1078, 0x1dff, 0x2091, 0x8001, 0x2708, 0x6a08, 0x0078, 0x15b8, | 367 | 0x15bf, 0x77c4, 0x2041, 0x0001, 0x2049, 0x0005, 0x2051, 0x0020, |
364 | 0x77c4, 0x7814, 0xd0e4, 0x00c0, 0x19d4, 0xd7fc, 0x0040, 0x19ce, | 368 | 0x2091, 0x8000, 0x1078, 0x1e46, 0x2091, 0x8001, 0x2708, 0x6a08, |
365 | 0x1078, 0x1d64, 0x0040, 0x19d4, 0x0078, 0x15bc, 0x1078, 0x1d54, | 369 | 0x0078, 0x15bf, 0x77c4, 0x7814, 0xd0e4, 0x00c0, 0x19fe, 0xd7fc, |
366 | 0x0040, 0x19d4, 0x0078, 0x15bc, 0x73c8, 0x72cc, 0x77c6, 0x73ca, | 370 | 0x0040, 0x19f8, 0x1078, 0x1dae, 0x0040, 0x19fe, 0x0078, 0x15c3, |
367 | 0x72ce, 0x1078, 0x1e86, 0x00c0, 0x19fe, 0x6818, 0xa005, 0x0040, | 371 | 0x1078, 0x1da1, 0x0040, 0x19fe, 0x0078, 0x15c3, 0x73c8, 0x72cc, |
368 | 0x19f8, 0x2708, 0x077e, 0x1078, 0x2813, 0x077f, 0x00c0, 0x19f8, | 372 | 0x77c6, 0x73ca, 0x72ce, 0x1078, 0x1ecd, 0x00c0, 0x1a28, 0x6818, |
369 | 0x2001, 0x0015, 0xd7fc, 0x00c0, 0x19f1, 0x2061, 0x4e40, 0x0078, | 373 | 0xa005, 0x0040, 0x1a22, 0x2708, 0x077e, 0x1078, 0x285a, 0x077f, |
370 | 0x19f4, 0xc0fd, 0x2061, 0x4e80, 0x782a, 0x2091, 0x8001, 0x007c, | 374 | 0x00c0, 0x1a22, 0x2001, 0x0015, 0xd7fc, 0x00c0, 0x1a1b, 0x2061, |
371 | 0x2091, 0x8001, 0x2001, 0x4005, 0x0078, 0x15bc, 0x2091, 0x8001, | 375 | 0x4f40, 0x0078, 0x1a1e, 0xc0fd, 0x2061, 0x4f80, 0x782a, 0x2091, |
372 | 0x0078, 0x15ba, 0x77c4, 0x7814, 0xd0e4, 0x00c0, 0x1a16, 0xd7fc, | 376 | 0x8001, 0x007c, 0x2091, 0x8001, 0x2001, 0x4005, 0x0078, 0x15c3, |
373 | 0x0040, 0x1a10, 0x1078, 0x1d64, 0x0040, 0x1a16, 0x0078, 0x15bc, | 377 | 0x2091, 0x8001, 0x0078, 0x15c1, 0x77c4, 0x7814, 0xd0e4, 0x00c0, |
374 | 0x1078, 0x1d54, 0x0040, 0x1a16, 0x0078, 0x15bc, 0x77c6, 0x2041, | 378 | 0x1a40, 0xd7fc, 0x0040, 0x1a3a, 0x1078, 0x1dae, 0x0040, 0x1a40, |
375 | 0x0021, 0x2049, 0x0005, 0x2051, 0x0020, 0x2091, 0x8000, 0x1078, | 379 | 0x0078, 0x15c3, 0x1078, 0x1da1, 0x0040, 0x1a40, 0x0078, 0x15c3, |
376 | 0x1dff, 0x2009, 0x0016, 0xd7fc, 0x00c0, 0x1a2a, 0x2061, 0x4e40, | 380 | 0x77c6, 0x2041, 0x0021, 0x2049, 0x0005, 0x2051, 0x0020, 0x2091, |
377 | 0x0078, 0x1a2d, 0x2061, 0x4e80, 0xc1fd, 0x6067, 0x0003, 0x607f, | 381 | 0x8000, 0x1078, 0x1e46, 0x2009, 0x0016, 0xd7fc, 0x00c0, 0x1a54, |
378 | 0x0000, 0x6776, 0x6083, 0x000f, 0x792a, 0x61d4, 0xc1dc, 0x61d6, | 382 | 0x2061, 0x4f40, 0x0078, 0x1a57, 0x2061, 0x4f80, 0xc1fd, 0x6067, |
379 | 0x1078, 0x2628, 0x2091, 0x8001, 0x007c, 0x77c8, 0x77ca, 0x77c4, | 383 | 0x0003, 0x607f, 0x0000, 0x6776, 0x6083, 0x000f, 0x792a, 0x61d4, |
380 | 0x77c6, 0x7814, 0xd0e4, 0x00c0, 0x1a54, 0xd7fc, 0x0040, 0x1a4e, | 384 | 0xc1dc, 0x61d6, 0x1078, 0x266f, 0x2091, 0x8001, 0x007c, 0x77c8, |
381 | 0x1078, 0x1d64, 0x0040, 0x1a54, 0x0078, 0x15bc, 0x1078, 0x1d54, | 385 | 0x77ca, 0x77c4, 0x77c6, 0x7814, 0xd0e4, 0x00c0, 0x1a7e, 0xd7fc, |
382 | 0x0040, 0x1a54, 0x0078, 0x15bc, 0xa7bc, 0xff00, 0x2091, 0x8000, | 386 | 0x0040, 0x1a78, 0x1078, 0x1dae, 0x0040, 0x1a7e, 0x0078, 0x15c3, |
383 | 0x2009, 0x0017, 0xd7fc, 0x00c0, 0x1a61, 0x2061, 0x4e40, 0x0078, | 387 | 0x1078, 0x1da1, 0x0040, 0x1a7e, 0x0078, 0x15c3, 0xa7bc, 0xff00, |
384 | 0x1a64, 0x2061, 0x4e80, 0xc1fd, 0x607f, 0x0000, 0x6067, 0x0002, | 388 | 0x2091, 0x8000, 0x2009, 0x0017, 0xd7fc, 0x00c0, 0x1a8b, 0x2061, |
385 | 0x6776, 0x6083, 0x000f, 0x792a, 0x61d4, 0xc1dc, 0x61d6, 0x1078, | 389 | 0x4f40, 0x0078, 0x1a8e, 0x2061, 0x4f80, 0xc1fd, 0x607f, 0x0000, |
386 | 0x2628, 0x2091, 0x8001, 0x2041, 0x0021, 0x2049, 0x0005, 0x2051, | 390 | 0x6067, 0x0002, 0x6776, 0x6083, 0x000f, 0x792a, 0x61d4, 0xc1dc, |
387 | 0x0010, 0x2091, 0x8000, 0x70c8, 0xa005, 0x0040, 0x1a82, 0x60d4, | 391 | 0x61d6, 0x1078, 0x266f, 0x2091, 0x8001, 0x2041, 0x0021, 0x2049, |
388 | 0xc0fd, 0x60d6, 0x1078, 0x1dff, 0x70c8, 0x6836, 0x8738, 0xa784, | 392 | 0x0005, 0x2051, 0x0010, 0x2091, 0x8000, 0x70c8, 0xa005, 0x0040, |
389 | 0x001f, 0x00c0, 0x1a82, 0x2091, 0x8001, 0x007c, 0x2019, 0x0000, | 393 | 0x1aac, 0x60d4, 0xc0fd, 0x60d6, 0x1078, 0x1e46, 0x70c8, 0x6836, |
390 | 0x7814, 0xd0e4, 0x00c0, 0x1aa4, 0x72c8, 0xd284, 0x0040, 0x1a9e, | 394 | 0x8738, 0xa784, 0x001f, 0x00c0, 0x1aac, 0x2091, 0x8001, 0x007c, |
391 | 0x1078, 0x1d64, 0x0040, 0x1aa4, 0x0078, 0x15bc, 0x1078, 0x1d54, | 395 | 0x2019, 0x0000, 0x7814, 0xd0e4, 0x00c0, 0x1ace, 0x72c8, 0xd284, |
392 | 0x0040, 0x1aa4, 0x0078, 0x15bc, 0x72c8, 0x72ca, 0x78ac, 0xa084, | 396 | 0x0040, 0x1ac8, 0x1078, 0x1dae, 0x0040, 0x1ace, 0x0078, 0x15c3, |
393 | 0x0003, 0x00c0, 0x1acf, 0x2039, 0x0000, 0xd284, 0x0040, 0x1ab1, | 397 | 0x1078, 0x1da1, 0x0040, 0x1ace, 0x0078, 0x15c3, 0x72c8, 0x72ca, |
394 | 0xc7fd, 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, 0x0008, 0x1078, | 398 | 0x78ac, 0xa084, 0x0003, 0x00c0, 0x1af9, 0x2039, 0x0000, 0xd284, |
395 | 0x1de4, 0x2091, 0x8000, 0x6808, 0xc0d4, 0xa80d, 0x690a, 0x2091, | 399 | 0x0040, 0x1adb, 0xc7fd, 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, |
396 | 0x8001, 0x8738, 0xa784, 0x001f, 0x00c0, 0x1ab7, 0xa7bc, 0xff00, | 400 | 0x0008, 0x1078, 0x1e2b, 0x2091, 0x8000, 0x6808, 0xc0d4, 0xa80d, |
397 | 0x873f, 0x8738, 0x873f, 0xa784, 0x0f00, 0x00c0, 0x1ab7, 0x2091, | 401 | 0x690a, 0x2091, 0x8001, 0x8738, 0xa784, 0x001f, 0x00c0, 0x1ae1, |
398 | 0x8000, 0x72c8, 0xd284, 0x00c0, 0x1ae1, 0x7810, 0xd0ec, 0x0040, | 402 | 0xa7bc, 0xff00, 0x873f, 0x8738, 0x873f, 0xa784, 0x0f00, 0x00c0, |
399 | 0x1add, 0x2069, 0x0100, 0x0078, 0x1ae3, 0x2069, 0x0200, 0x0078, | 403 | 0x1ae1, 0x2091, 0x8000, 0x72c8, 0xd284, 0x00c0, 0x1b0b, 0x7810, |
400 | 0x1ae3, 0x2069, 0x0100, 0x6808, 0xa084, 0xfffd, 0x680a, 0x6830, | 404 | 0xd0ec, 0x0040, 0x1b07, 0x2069, 0x0100, 0x0078, 0x1b0d, 0x2069, |
401 | 0xd0b4, 0x0040, 0x1b03, 0x684b, 0x0004, 0x20a9, 0x0014, 0x6848, | 405 | 0x0200, 0x0078, 0x1b0d, 0x2069, 0x0100, 0x6808, 0xa084, 0xfffd, |
402 | 0xd094, 0x0040, 0x1af5, 0x00f0, 0x1aef, 0x684b, 0x0009, 0x20a9, | 406 | 0x680a, 0x6830, 0xd0b4, 0x0040, 0x1b2d, 0x684b, 0x0004, 0x20a9, |
403 | 0x0014, 0x6848, 0xd084, 0x0040, 0x1aff, 0x00f0, 0x1af9, 0x20a9, | 407 | 0x0014, 0x6848, 0xd094, 0x0040, 0x1b1f, 0x00f0, 0x1b19, 0x684b, |
404 | 0x00fa, 0x00f0, 0x1b01, 0x2079, 0x4e00, 0x2009, 0x0018, 0x72c8, | 408 | 0x0009, 0x20a9, 0x0014, 0x6848, 0xd084, 0x0040, 0x1b29, 0x00f0, |
405 | 0xd284, 0x00c0, 0x1b0f, 0x2061, 0x4e40, 0x0078, 0x1b12, 0x2061, | 409 | 0x1b23, 0x20a9, 0x00fa, 0x00f0, 0x1b2b, 0x2079, 0x4f00, 0x2009, |
406 | 0x4e80, 0xc1fd, 0x607f, 0x0000, 0x792a, 0x6067, 0x0001, 0x6083, | 410 | 0x0018, 0x72c8, 0xd284, 0x00c0, 0x1b39, 0x2061, 0x4f40, 0x0078, |
407 | 0x000f, 0x60a7, 0x0000, 0x60a8, 0x60b2, 0x60b6, 0x60d4, 0xd0b4, | 411 | 0x1b3c, 0x2061, 0x4f80, 0xc1fd, 0x607f, 0x0000, 0x792a, 0x6067, |
408 | 0x0040, 0x1b2e, 0xc0b4, 0x60d6, 0x0c7e, 0x60b8, 0xa065, 0x6008, | 412 | 0x0001, 0x6083, 0x000f, 0x60a7, 0x0000, 0x60a8, 0x60b2, 0x60b6, |
409 | 0xc0d4, 0x600a, 0x6018, 0x8001, 0x601a, 0x0c7f, 0x60d4, 0xa084, | 413 | 0x60d4, 0xd0b4, 0x0040, 0x1b58, 0xc0b4, 0x60d6, 0x0c7e, 0x60b8, |
410 | 0x77ff, 0x60d6, 0x78ac, 0xc08d, 0x78ae, 0x83ff, 0x0040, 0x1b39, | 414 | 0xa065, 0x6008, 0xc0d4, 0x600a, 0x6018, 0x8001, 0x601a, 0x0c7f, |
411 | 0x007c, 0x681b, 0x0047, 0x2091, 0x8001, 0x007c, 0x73cc, 0x1078, | 415 | 0x60d4, 0xa084, 0x77ff, 0x60d6, 0x78ac, 0xc08d, 0x78ae, 0x83ff, |
412 | 0x1a90, 0x69ec, 0x6a48, 0xa185, 0x1800, 0x684a, 0xa185, 0x0040, | 416 | 0x0040, 0x1b63, 0x007c, 0x681b, 0x0047, 0x2091, 0x8001, 0x007c, |
413 | 0x68ee, 0x73cc, 0x2021, 0x0004, 0x20a9, 0x09ff, 0x00f0, 0x1b4e, | 417 | 0x73cc, 0x1078, 0x1aba, 0x69ec, 0x6a48, 0xa185, 0x1800, 0x684a, |
414 | 0x8421, 0x00c0, 0x1b4c, 0x8319, 0x00c0, 0x1b4a, 0x69ee, 0x6a4a, | 418 | 0xa185, 0x0040, 0x68ee, 0x73cc, 0x2021, 0x0004, 0x20a9, 0x09ff, |
415 | 0x2091, 0x8001, 0x007c, 0xd7fc, 0x00c0, 0x1b62, 0x2069, 0x4e40, | 419 | 0x00f0, 0x1b78, 0x8421, 0x00c0, 0x1b76, 0x8319, 0x00c0, 0x1b74, |
416 | 0x0078, 0x1b64, 0x2069, 0x4e80, 0x71c4, 0x71c6, 0x6916, 0x81ff, | 420 | 0x69ee, 0x6a4a, 0x2091, 0x8001, 0x007c, 0xd7fc, 0x00c0, 0x1b8c, |
417 | 0x00c0, 0x1b6c, 0x68a7, 0x0001, 0x78ac, 0xc08c, 0x78ae, 0xd084, | 421 | 0x2069, 0x4f40, 0x0078, 0x1b8e, 0x2069, 0x4f80, 0x71c4, 0x71c6, |
418 | 0x00c0, 0x1b74, 0x1078, 0x1ee6, 0x007c, 0x75d8, 0x74dc, 0x75da, | 422 | 0x6916, 0x81ff, 0x00c0, 0x1b96, 0x68a7, 0x0001, 0x78ac, 0xc08c, |
419 | 0x74de, 0x0078, 0x1b7e, 0x2029, 0x0000, 0x2520, 0x71c4, 0x73c8, | 423 | 0x78ae, 0xd084, 0x00c0, 0x1b9e, 0x1078, 0x1f2d, 0x007c, 0x75d8, |
420 | 0x72cc, 0x71c6, 0x73ca, 0x72ce, 0x2079, 0x4e00, 0x7dde, 0x7cda, | 424 | 0x74dc, 0x75da, 0x74de, 0x0078, 0x1ba7, 0xa02e, 0x2520, 0x71c4, |
421 | 0x7bd6, 0x7ad2, 0x1078, 0x1dbd, 0x0040, 0x1c80, 0x20a9, 0x0005, | 425 | 0x73c8, 0x72cc, 0x71c6, 0x73ca, 0x72ce, 0x2079, 0x4f00, 0x7dde, |
422 | 0x20a1, 0x4e14, 0x2091, 0x8000, 0x41a1, 0x2091, 0x8001, 0x2009, | 426 | 0x7cda, 0x7bd6, 0x7ad2, 0x1078, 0x1e04, 0x0040, 0x1cd1, 0x20a9, |
423 | 0x0040, 0x1078, 0x1fd1, 0x0040, 0x1ba1, 0x1078, 0x1dc6, 0x0078, | 427 | 0x0005, 0x20a1, 0x4f14, 0x2091, 0x8000, 0x41a1, 0x2091, 0x8001, |
424 | 0x1c80, 0x6004, 0xa08c, 0x00ff, 0xa18e, 0x0009, 0x00c0, 0x1bac, | 428 | 0x2009, 0x0040, 0x1078, 0x2018, 0x0040, 0x1bca, 0x1078, 0x1e0d, |
425 | 0x007e, 0x1078, 0x2378, 0x007f, 0xa084, 0xff00, 0x8007, 0x8009, | 429 | 0x0078, 0x1cd1, 0x6004, 0xa08c, 0x00ff, 0xa18e, 0x0009, 0x00c0, |
426 | 0x0040, 0x1c20, 0x0c7e, 0x2c68, 0x1078, 0x1dbd, 0x0040, 0x1bf2, | 430 | 0x1bd5, 0x007e, 0x1078, 0x23bf, 0x007f, 0xa084, 0xff00, 0x8007, |
427 | 0x2c00, 0x689e, 0x8109, 0x00c0, 0x1bb3, 0x609f, 0x0000, 0x0c7f, | 431 | 0x8009, 0x0040, 0x1c61, 0x0c7e, 0x2c68, 0x1078, 0x1e04, 0x0040, |
428 | 0x0c7e, 0x7ddc, 0x7cd8, 0x7bd4, 0x7ad0, 0xa290, 0x0040, 0xa399, | 432 | 0x1c1b, 0x2c00, 0x689e, 0x8109, 0x00c0, 0x1bdc, 0x609f, 0x0000, |
429 | 0x0000, 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x7dde, 0x7cda, 0x7bd6, | 433 | 0x0c7f, 0x0c7e, 0x7ddc, 0x7cd8, 0x7bd4, 0x7ad0, 0xa290, 0x0040, |
430 | 0x7ad2, 0x2c68, 0x689c, 0xa065, 0x0040, 0x1c1f, 0x2009, 0x0040, | 434 | 0xa399, 0x0000, 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x7dde, 0x7cda, |
431 | 0x1078, 0x1fd1, 0x00c0, 0x1c09, 0x6004, 0xa084, 0x00ff, 0xa086, | 435 | 0x7bd6, 0x7ad2, 0x2c68, 0x689c, 0xa065, 0x0040, 0x1c60, 0x2009, |
432 | 0x0002, 0x00c0, 0x1bf2, 0x6004, 0xa084, 0x00ff, 0xa086, 0x000a, | 436 | 0x0040, 0x1078, 0x2018, 0x00c0, 0x1c3e, 0x6004, 0xa084, 0x00ff, |
433 | 0x00c0, 0x1bee, 0x017e, 0x1078, 0x2374, 0x017f, 0x2d00, 0x6002, | 437 | 0xa086, 0x0002, 0x00c0, 0x1c1b, 0x6004, 0xa084, 0x00ff, 0xa086, |
434 | 0x0078, 0x1bc1, 0x0c7f, 0x0c7e, 0x609c, 0x1078, 0x1e49, 0x0c7f, | 438 | 0x000a, 0x00c0, 0x1c17, 0x017e, 0x1078, 0x23bb, 0x017f, 0x2d00, |
435 | 0x609f, 0x0000, 0x1078, 0x1c84, 0x2009, 0x0018, 0x6008, 0xc0cd, | 439 | 0x6002, 0x0078, 0x1bea, 0x0c7f, 0x0c7e, 0x609c, 0x1078, 0x1e90, |
436 | 0x600a, 0x6004, 0x6086, 0x1078, 0x1d74, 0x1078, 0x1dc6, 0x0078, | 440 | 0x0c7f, 0x609f, 0x0000, 0x1078, 0x1cd5, 0x2009, 0x0018, 0x6008, |
437 | 0x1c80, 0x0c7f, 0x0c7e, 0x609c, 0x1078, 0x1e49, 0x0c7f, 0x609f, | 441 | 0xc0cd, 0x600a, 0x6004, 0x6086, 0x7810, 0x007e, 0x84ff, 0x00c0, |
438 | 0x0000, 0x1078, 0x1c84, 0x2009, 0x0018, 0x6087, 0x0103, 0x601b, | 442 | 0x1c34, 0x85ff, 0x0040, 0x1c36, 0xc0c5, 0x7812, 0x1078, 0x1dbb, |
439 | 0x0003, 0x1078, 0x1d74, 0x1078, 0x1dc6, 0x0078, 0x1c80, 0x0c7f, | 443 | 0x007f, 0x7812, 0x1078, 0x1e0d, 0x0078, 0x1cd1, 0x0c7f, 0x0c7e, |
440 | 0x7814, 0xd0e4, 0x00c0, 0x1c45, 0x6114, 0xd1fc, 0x0040, 0x1c2e, | 444 | 0x609c, 0x1078, 0x1e90, 0x0c7f, 0x609f, 0x0000, 0x1078, 0x1cd5, |
441 | 0x1078, 0x1d64, 0x0040, 0x1c45, 0x0078, 0x1c32, 0x1078, 0x1d54, | 445 | 0x2009, 0x0018, 0x6087, 0x0103, 0x601b, 0x0003, 0x7810, 0x007e, |
442 | 0x0040, 0x1c45, 0x2029, 0x0000, 0x2520, 0x2009, 0x0018, 0x73c8, | 446 | 0x84ff, 0x00c0, 0x1c56, 0x85ff, 0x0040, 0x1c58, 0xc0c5, 0x7812, |
443 | 0x72cc, 0x6087, 0x0103, 0x601b, 0x0021, 0x1078, 0x1d74, 0x1078, | 447 | 0x1078, 0x1dbb, 0x007f, 0x7812, 0x1078, 0x1e0d, 0x0078, 0x1cd1, |
444 | 0x1dc6, 0x2001, 0x4007, 0x0078, 0x15bc, 0x74c4, 0x73c8, 0x72cc, | 448 | 0x0c7f, 0x7814, 0xd0e4, 0x00c0, 0x1c8f, 0x6114, 0xd1fc, 0x0040, |
445 | 0x6014, 0x2091, 0x8000, 0x0e7e, 0x2009, 0x0012, 0xd0fc, 0x00c0, | 449 | 0x1c6f, 0x1078, 0x1dae, 0x0040, 0x1c8f, 0x0078, 0x1c73, 0x1078, |
446 | 0x1c55, 0x2071, 0x4e40, 0x0078, 0x1c58, 0x2071, 0x4e80, 0xc1fd, | 450 | 0x1da1, 0x0040, 0x1c8f, 0x1078, 0x1cd5, 0x2009, 0x0018, 0x6087, |
447 | 0x792a, 0x7067, 0x0005, 0x71d4, 0xc1dc, 0x71d6, 0x736a, 0x726e, | 451 | 0x0103, 0x601b, 0x0021, 0x7810, 0x007e, 0x84ff, 0x00c0, 0x1c83, |
448 | 0x7472, 0x7076, 0x707b, 0x0000, 0x2c00, 0x707e, 0xa02e, 0x2530, | 452 | 0x85ff, 0x0040, 0x1c85, 0xc0c5, 0x7812, 0x1078, 0x1dbb, 0x007f, |
449 | 0x611c, 0xa184, 0x0060, 0x0040, 0x1c6f, 0x1078, 0x4632, 0x0e7f, | 453 | 0x7812, 0x1078, 0x1e0d, 0x2001, 0x4007, 0x0078, 0x15c3, 0x74c4, |
450 | 0x6596, 0x65a6, 0x669a, 0x66aa, 0x60af, 0x0000, 0x60b3, 0x0000, | 454 | 0x73c8, 0x72cc, 0x6014, 0x2091, 0x8000, 0x0e7e, 0x2009, 0x0012, |
451 | 0x6714, 0x6023, 0x0000, 0x1078, 0x2628, 0x2091, 0x8001, 0x007c, | 455 | 0xd0fc, 0x00c0, 0x1c9f, 0x2071, 0x4f40, 0x0078, 0x1ca2, 0x2071, |
452 | 0x70c3, 0x4005, 0x0078, 0x15bd, 0x20a9, 0x0005, 0x2099, 0x4e14, | 456 | 0x4f80, 0xc1fd, 0x792a, 0x7067, 0x0005, 0x71d4, 0xc1dc, 0x71d6, |
453 | 0x2091, 0x8000, 0x530a, 0x2091, 0x8001, 0x2100, 0xa210, 0xa399, | 457 | 0x736a, 0x726e, 0x7472, 0x7076, 0x707b, 0x0000, 0x2c00, 0x707e, |
454 | 0x0000, 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x007c, 0x71c4, 0x70c7, | 458 | 0xa02e, 0x2530, 0x611c, 0xa184, 0x0060, 0x0040, 0x1cb9, 0x1078, |
455 | 0x0000, 0x791e, 0x0078, 0x15ba, 0x71c4, 0x71c6, 0x2168, 0x0078, | 459 | 0x46b6, 0x0e7f, 0x6596, 0x65a6, 0x669a, 0x66aa, 0x60af, 0x0000, |
456 | 0x1ca3, 0x2069, 0x1000, 0x690c, 0xa016, 0x2d04, 0xa210, 0x8d68, | 460 | 0x60b3, 0x0000, 0x6714, 0x6023, 0x0000, 0x6024, 0xa096, 0x0001, |
457 | 0x8109, 0x00c0, 0x1ca5, 0xa285, 0x0000, 0x00c0, 0x1cb3, 0x70c3, | 461 | 0x00c0, 0x1ccc, 0x8000, 0x6026, 0x1078, 0x266f, 0x2091, 0x8001, |
458 | 0x4000, 0x0078, 0x1cb5, 0x70c3, 0x4003, 0x70ca, 0x0078, 0x15bd, | 462 | 0x007c, 0x70c3, 0x4005, 0x0078, 0x15c4, 0x20a9, 0x0005, 0x2099, |
459 | 0x7964, 0x71c6, 0x71c4, 0xa182, 0x0003, 0x00c8, 0x15b2, 0x7966, | 463 | 0x4f14, 0x2091, 0x8000, 0x530a, 0x2091, 0x8001, 0x2100, 0xa210, |
460 | 0x0078, 0x15ba, 0x7964, 0x71c6, 0x0078, 0x15ba, 0x7900, 0x71c6, | 464 | 0xa399, 0x0000, 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x007c, 0x71c4, |
461 | 0x71c4, 0x7902, 0x0078, 0x15ba, 0x7900, 0x71c6, 0x0078, 0x15ba, | 465 | 0x70c7, 0x0000, 0x791e, 0x0078, 0x15c1, 0x71c4, 0x71c6, 0x2168, |
462 | 0x70c4, 0x2011, 0x0000, 0xa08c, 0x000d, 0x0040, 0x1ce5, 0x810c, | 466 | 0x0078, 0x1cf4, 0x2069, 0x1000, 0x690c, 0xa016, 0x2d04, 0xa210, |
463 | 0x0048, 0x1ce1, 0x8210, 0x810c, 0x810c, 0x0048, 0x1ce1, 0x8210, | 467 | 0x8d68, 0x8109, 0x00c0, 0x1cf6, 0xa285, 0x0000, 0x00c0, 0x1d04, |
464 | 0x810c, 0x81ff, 0x00c0, 0x15b3, 0x8210, 0x7a0e, 0xd28c, 0x0040, | 468 | 0x70c3, 0x4000, 0x0078, 0x1d06, 0x70c3, 0x4003, 0x70ca, 0x0078, |
465 | 0x1d11, 0x7910, 0xc1cd, 0x7912, 0x2009, 0x0021, 0x2019, 0x0003, | 469 | 0x15c4, 0x7964, 0x71c6, 0x71c4, 0xa182, 0x0003, 0x00c8, 0x15b9, |
466 | 0xd284, 0x0040, 0x1d0b, 0x8108, 0x2019, 0x0041, 0x2011, 0x964e, | 470 | 0x7966, 0x0078, 0x15c1, 0x7964, 0x71c6, 0x0078, 0x15c1, 0x7900, |
467 | 0x2312, 0x2019, 0x0042, 0x8210, 0x2312, 0x2019, 0x0043, 0x8210, | 471 | 0x71c6, 0x71c4, 0x7902, 0x0078, 0x15c1, 0x7900, 0x71c6, 0x0078, |
468 | 0x2312, 0x2019, 0x0046, 0x8210, 0x2312, 0x2019, 0x0047, 0x8210, | 472 | 0x15c1, 0x70c4, 0x2011, 0x0000, 0xa08c, 0x000d, 0x0040, 0x1d36, |
469 | 0x2312, 0x2019, 0x0006, 0x2011, 0x9653, 0x2112, 0x2011, 0x9673, | 473 | 0x810c, 0x0048, 0x1d32, 0x8210, 0x810c, 0x810c, 0x0048, 0x1d32, |
470 | 0x2312, 0x7904, 0x7806, 0x0078, 0x15b9, 0x7804, 0x70c6, 0x0078, | 474 | 0x8210, 0x810c, 0x81ff, 0x00c0, 0x15ba, 0x8210, 0x7a0e, 0xd28c, |
471 | 0x15ba, 0x71c4, 0xd1fc, 0x00c0, 0x1d21, 0x2011, 0x52c0, 0x0078, | 475 | 0x0040, 0x1d62, 0x7910, 0xc1cd, 0x7912, 0x2009, 0x0021, 0x2019, |
472 | 0x1d23, 0x2011, 0x5340, 0x8107, 0xa084, 0x000f, 0x8003, 0x8003, | 476 | 0x0003, 0xd284, 0x0040, 0x1d5c, 0x8108, 0x2019, 0x0041, 0x2011, |
473 | 0x8003, 0xa268, 0x6a14, 0xd2b4, 0x0040, 0x1d32, 0x2011, 0x0001, | 477 | 0x974e, 0x2312, 0x2019, 0x0042, 0x8210, 0x2312, 0x2019, 0x0043, |
474 | 0x0078, 0x1d34, 0x2011, 0x0000, 0x6b0c, 0x6800, 0x70da, 0x0078, | 478 | 0x8210, 0x2312, 0x2019, 0x0046, 0x8210, 0x2312, 0x2019, 0x0047, |
475 | 0x15b7, 0x017e, 0x7814, 0xd0f4, 0x0040, 0x1d46, 0x2001, 0x4007, | 479 | 0x8210, 0x2312, 0x2019, 0x0006, 0x2011, 0x9753, 0x2112, 0x2011, |
476 | 0x70db, 0x0000, 0xa18d, 0x0001, 0x0078, 0x1d52, 0xd0fc, 0x0040, | 480 | 0x9773, 0x2312, 0x7904, 0x7806, 0x0078, 0x15c0, 0x7804, 0x70c6, |
477 | 0x1d51, 0x2001, 0x4007, 0x70db, 0x0001, 0xa18d, 0x0001, 0x0078, | 481 | 0x0078, 0x15c1, 0x71c4, 0xd1fc, 0x00c0, 0x1d72, 0x2011, 0x53c0, |
478 | 0x1d52, 0xa006, 0x017f, 0x007c, 0x017e, 0x7814, 0xd0f4, 0x0040, | 482 | 0x0078, 0x1d74, 0x2011, 0x5440, 0x8107, 0xa084, 0x000f, 0x8003, |
479 | 0x1d61, 0x2001, 0x4007, 0x70db, 0x0000, 0xa18d, 0x0001, 0x0078, | 483 | 0x8003, 0x8003, 0xa268, 0x6a14, 0xd2b4, 0x0040, 0x1d83, 0x2011, |
480 | 0x1d62, 0xa006, 0x017f, 0x007c, 0x017e, 0x7814, 0xd0fc, 0x0040, | 484 | 0x0001, 0x0078, 0x1d85, 0x2011, 0x0000, 0x6b0c, 0x6800, 0x70da, |
481 | 0x1d71, 0x2001, 0x4007, 0x70db, 0x0001, 0xa18d, 0x0001, 0x0078, | 485 | 0x0078, 0x15be, 0x7814, 0xd0f4, 0x0040, 0x1d95, 0x2001, 0x4007, |
482 | 0x1d72, 0xa006, 0x017f, 0x007c, 0x7112, 0x721a, 0x731e, 0x7810, | 486 | 0x70db, 0x0000, 0xa005, 0x0078, 0x1da0, 0xd0fc, 0x0040, 0x1d9f, |
483 | 0xd0c4, 0x0040, 0x1d7d, 0x7422, 0x7526, 0xac80, 0x0001, 0x8108, | 487 | 0x2001, 0x4007, 0x70db, 0x0001, 0xa005, 0x0078, 0x1da0, 0xa006, |
484 | 0x810c, 0x81a9, 0x8098, 0x20a1, 0x0030, 0x7003, 0x0000, 0x6084, | 488 | 0x007c, 0x7814, 0xd0f4, 0x0040, 0x1dac, 0x2001, 0x4007, 0x70db, |
485 | 0x20a2, 0x53a6, 0x7007, 0x0001, 0x7974, 0xa184, 0xff00, 0x0040, | 489 | 0x0000, 0xa005, 0x0078, 0x1dad, 0xa006, 0x007c, 0x7814, 0xd0fc, |
486 | 0x1d9a, 0x810f, 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, 0xa100, | 490 | 0x0040, 0x1db9, 0x2001, 0x4007, 0x70db, 0x0001, 0xa005, 0x0078, |
487 | 0x0078, 0x1d9d, 0x8107, 0x8004, 0x8004, 0x797c, 0xa108, 0x7a78, | 491 | 0x1dba, 0xa006, 0x007c, 0x7112, 0x721a, 0x731e, 0x7810, 0xd0c4, |
488 | 0xa006, 0xa211, 0x7d10, 0xd5c4, 0x0040, 0x1daa, 0x7b84, 0xa319, | 492 | 0x0040, 0x1dc4, 0x7422, 0x7526, 0xac80, 0x0001, 0x8108, 0x810c, |
489 | 0x7c80, 0xa421, 0x7008, 0xd0fc, 0x0040, 0x1daa, 0x7003, 0x0001, | 493 | 0x81a9, 0x8098, 0x20a1, 0x0030, 0x7003, 0x0000, 0x6084, 0x20a2, |
490 | 0x7007, 0x0006, 0x711a, 0x721e, 0x7d10, 0xd5c4, 0x0040, 0x1dba, | 494 | 0x53a6, 0x7007, 0x0001, 0x7974, 0xa184, 0xff00, 0x0040, 0x1de1, |
491 | 0x7322, 0x7426, 0xa084, 0x01e0, 0x007c, 0x7848, 0xa065, 0x0040, | 495 | 0x810f, 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, 0xa100, 0x0078, |
492 | 0x1dc5, 0x2c04, 0x784a, 0x2063, 0x0000, 0x007c, 0x0f7e, 0x2079, | 496 | 0x1de4, 0x8107, 0x8004, 0x8004, 0x797c, 0xa108, 0x7a78, 0xa006, |
493 | 0x4e00, 0x7848, 0x2062, 0x2c00, 0xa005, 0x00c0, 0x1dd1, 0x1078, | 497 | 0xa211, 0x7d10, 0xd5c4, 0x0040, 0x1df1, 0x7b84, 0xa319, 0x7c80, |
494 | 0x296b, 0x784a, 0x0f7f, 0x007c, 0x2011, 0x9800, 0x7a4a, 0x7bc4, | 498 | 0xa421, 0x7008, 0xd0fc, 0x0040, 0x1df1, 0x7003, 0x0001, 0x7007, |
495 | 0x8319, 0x0040, 0x1de1, 0xa280, 0x0032, 0x2012, 0x2010, 0x0078, | 499 | 0x0006, 0x711a, 0x721e, 0x7d10, 0xd5c4, 0x0040, 0x1e01, 0x7322, |
496 | 0x1dd8, 0x2013, 0x0000, 0x007c, 0x017e, 0x027e, 0xd7fc, 0x00c0, | 500 | 0x7426, 0xa084, 0x01e0, 0x007c, 0x7848, 0xa065, 0x0040, 0x1e0c, |
497 | 0x1ded, 0x2011, 0x53c0, 0x0078, 0x1def, 0x2011, 0x73c0, 0xa784, | 501 | 0x2c04, 0x784a, 0x2063, 0x0000, 0x007c, 0x0f7e, 0x2079, 0x4f00, |
498 | 0x0f00, 0x800b, 0xa784, 0x001f, 0x0040, 0x1dfa, 0x8003, 0x8003, | 502 | 0x7848, 0x2062, 0x2c00, 0xa005, 0x00c0, 0x1e18, 0x1078, 0x29b2, |
499 | 0x8003, 0x8003, 0xa105, 0xa268, 0x027f, 0x017f, 0x007c, 0x1078, | 503 | 0x784a, 0x0f7f, 0x007c, 0x2011, 0x9900, 0x7a4a, 0x7bc4, 0x8319, |
500 | 0x1de4, 0x2900, 0x682a, 0x2a00, 0x682e, 0x6808, 0xa084, 0xf9ef, | 504 | 0x0040, 0x1e28, 0xa280, 0x0032, 0x2012, 0x2010, 0x0078, 0x1e1f, |
501 | 0xa80d, 0x690a, 0x0e7e, 0xd7fc, 0x00c0, 0x1e14, 0x2009, 0x4e53, | 505 | 0x2013, 0x0000, 0x007c, 0x017e, 0x027e, 0xd7fc, 0x00c0, 0x1e34, |
502 | 0x2071, 0x4e40, 0x0078, 0x1e18, 0x2009, 0x4e93, 0x2071, 0x4e80, | 506 | 0x2011, 0x54c0, 0x0078, 0x1e36, 0x2011, 0x74c0, 0xa784, 0x0f00, |
503 | 0x210c, 0x6804, 0xa005, 0x0040, 0x1e28, 0xa116, 0x00c0, 0x1e28, | 507 | 0x800b, 0xa784, 0x001f, 0x0040, 0x1e41, 0x8003, 0x8003, 0x8003, |
504 | 0x2060, 0x6000, 0x6806, 0x017e, 0x200b, 0x0000, 0x0078, 0x1e2b, | 508 | 0x8003, 0xa105, 0xa268, 0x027f, 0x017f, 0x007c, 0x1078, 0x1e2b, |
505 | 0x2009, 0x0000, 0x017e, 0x6804, 0xa065, 0x0040, 0x1e40, 0x6000, | 509 | 0x2900, 0x682a, 0x2a00, 0x682e, 0x6808, 0xa084, 0xf9ef, 0xa80d, |
506 | 0x6806, 0x1078, 0x1e5b, 0x1078, 0x201d, 0x6810, 0x7908, 0x8109, | 510 | 0x690a, 0x0e7e, 0xd7fc, 0x00c0, 0x1e5b, 0x2009, 0x4f53, 0x2071, |
507 | 0x790a, 0x8001, 0x6812, 0x00c0, 0x1e2b, 0x7910, 0xc1a5, 0x7912, | 511 | 0x4f40, 0x0078, 0x1e5f, 0x2009, 0x4f93, 0x2071, 0x4f80, 0x210c, |
508 | 0x017f, 0x6902, 0x6906, 0x2d00, 0x2060, 0x1078, 0x2acc, 0x0e7f, | 512 | 0x6804, 0xa005, 0x0040, 0x1e6f, 0xa116, 0x00c0, 0x1e6f, 0x2060, |
509 | 0x007c, 0xa065, 0x0040, 0x1e5a, 0x2008, 0x609c, 0xa005, 0x0040, | 513 | 0x6000, 0x6806, 0x017e, 0x200b, 0x0000, 0x0078, 0x1e72, 0x2009, |
510 | 0x1e57, 0x2062, 0x609f, 0x0000, 0xa065, 0x0078, 0x1e4d, 0x7848, | 514 | 0x0000, 0x017e, 0x6804, 0xa065, 0x0040, 0x1e87, 0x6000, 0x6806, |
511 | 0x794a, 0x2062, 0x007c, 0x6007, 0x0103, 0x608f, 0x0000, 0x20a9, | 515 | 0x1078, 0x1ea2, 0x1078, 0x2064, 0x6810, 0x7908, 0x8109, 0x790a, |
512 | 0x001c, 0xac80, 0x0005, 0x20a0, 0x2001, 0x0000, 0x40a4, 0x6828, | 516 | 0x8001, 0x6812, 0x00c0, 0x1e72, 0x7910, 0xc1a5, 0x7912, 0x017f, |
513 | 0x601a, 0x682c, 0x6022, 0x007c, 0x0e7e, 0xd7fc, 0x00c0, 0x1e76, | 517 | 0x6902, 0x6906, 0x2d00, 0x2060, 0x1078, 0x2b13, 0x0e7f, 0x007c, |
514 | 0x2071, 0x4e40, 0x2031, 0x4ec0, 0x0078, 0x1e7a, 0x2071, 0x4e80, | 518 | 0xa065, 0x0040, 0x1ea1, 0x2008, 0x609c, 0xa005, 0x0040, 0x1e9e, |
515 | 0x2031, 0x50c0, 0x7050, 0xa08c, 0x0200, 0x00c0, 0x1e84, 0xa608, | 519 | 0x2062, 0x609f, 0x0000, 0xa065, 0x0078, 0x1e94, 0x7848, 0x794a, |
516 | 0x2d0a, 0x8000, 0x7052, 0xa006, 0x0e7f, 0x007c, 0x0f7e, 0xd7fc, | 520 | 0x2062, 0x007c, 0x6007, 0x0103, 0x608f, 0x0000, 0x20a9, 0x001c, |
517 | 0x00c0, 0x1e8e, 0x2079, 0x4e40, 0x0078, 0x1e90, 0x2079, 0x4e80, | 521 | 0xac80, 0x0005, 0x20a0, 0x2001, 0x0000, 0x40a4, 0x6828, 0x601a, |
518 | 0x1078, 0x1de4, 0x2091, 0x8000, 0x6804, 0x780a, 0xa065, 0x0040, | 522 | 0x682c, 0x6022, 0x007c, 0x0e7e, 0xd7fc, 0x00c0, 0x1ebd, 0x2071, |
519 | 0x1ee4, 0x0078, 0x1ea2, 0x2c00, 0x780a, 0x2060, 0x6000, 0xa065, | 523 | 0x4f40, 0x2031, 0x4fc0, 0x0078, 0x1ec1, 0x2071, 0x4f80, 0x2031, |
520 | 0x0040, 0x1ee4, 0x6010, 0xa306, 0x00c0, 0x1e9b, 0x600c, 0xa206, | 524 | 0x51c0, 0x7050, 0xa08c, 0x0200, 0x00c0, 0x1ecb, 0xa608, 0x2d0a, |
521 | 0x00c0, 0x1e9b, 0x2c28, 0x784c, 0xac06, 0x00c0, 0x1eb1, 0x0078, | 525 | 0x8000, 0x7052, 0xa006, 0x0e7f, 0x007c, 0x0f7e, 0xd7fc, 0x00c0, |
522 | 0x1ee1, 0x6804, 0xac06, 0x00c0, 0x1ebf, 0x6000, 0x2060, 0x6806, | 526 | 0x1ed5, 0x2079, 0x4f40, 0x0078, 0x1ed7, 0x2079, 0x4f80, 0x1078, |
523 | 0xa005, 0x00c0, 0x1ebf, 0x6803, 0x0000, 0x0078, 0x1ec9, 0x6400, | 527 | 0x1e2b, 0x2091, 0x8000, 0x6804, 0x780a, 0xa065, 0x0040, 0x1f2b, |
524 | 0x7808, 0x2060, 0x6402, 0xa486, 0x0000, 0x00c0, 0x1ec9, 0x2c00, | 528 | 0x0078, 0x1ee9, 0x2c00, 0x780a, 0x2060, 0x6000, 0xa065, 0x0040, |
525 | 0x6802, 0x2560, 0x0f7f, 0x1078, 0x1e5b, 0x0f7e, 0x601b, 0x0005, | 529 | 0x1f2b, 0x6010, 0xa306, 0x00c0, 0x1ee2, 0x600c, 0xa206, 0x00c0, |
526 | 0x6023, 0x0020, 0x0f7f, 0x1078, 0x201d, 0x0f7e, 0x7908, 0x8109, | 530 | 0x1ee2, 0x2c28, 0x784c, 0xac06, 0x00c0, 0x1ef8, 0x0078, 0x1f28, |
527 | 0x790a, 0x6810, 0x8001, 0x6812, 0x00c0, 0x1ee1, 0x7810, 0xc0a5, | 531 | 0x6804, 0xac06, 0x00c0, 0x1f06, 0x6000, 0x2060, 0x6806, 0xa005, |
528 | 0x7812, 0x2001, 0xffff, 0xa005, 0x0f7f, 0x007c, 0x077e, 0x2700, | 532 | 0x00c0, 0x1f06, 0x6803, 0x0000, 0x0078, 0x1f10, 0x6400, 0x7808, |
529 | 0x2039, 0x0000, 0xd0fc, 0x0040, 0x1eee, 0xc7fd, 0x2041, 0x0021, | 533 | 0x2060, 0x6402, 0xa486, 0x0000, 0x00c0, 0x1f10, 0x2c00, 0x6802, |
530 | 0x2049, 0x0004, 0x2051, 0x0008, 0x2091, 0x8000, 0x1078, 0x1dff, | 534 | 0x2560, 0x0f7f, 0x1078, 0x1ea2, 0x0f7e, 0x601b, 0x0005, 0x6023, |
531 | 0x8738, 0xa784, 0x001f, 0x00c0, 0x1ef6, 0xa7bc, 0xff00, 0x873f, | 535 | 0x0020, 0x0f7f, 0x1078, 0x2064, 0x0f7e, 0x7908, 0x8109, 0x790a, |
532 | 0x8738, 0x873f, 0xa784, 0x0f00, 0x00c0, 0x1ef6, 0x2091, 0x8001, | 536 | 0x6810, 0x8001, 0x6812, 0x00c0, 0x1f28, 0x7810, 0xc0a5, 0x7812, |
533 | 0x077f, 0x007c, 0x786c, 0x2009, 0x9674, 0x210c, 0xa10d, 0x0040, | 537 | 0x2001, 0xffff, 0xa005, 0x0f7f, 0x007c, 0x077e, 0x2700, 0x2039, |
534 | 0x1f14, 0xa065, 0x0078, 0x2395, 0x2061, 0x0000, 0x6018, 0xd084, | 538 | 0x0000, 0xd0fc, 0x0040, 0x1f35, 0xc7fd, 0x2041, 0x0021, 0x2049, |
535 | 0x00c0, 0x1f34, 0x7810, 0xd08c, 0x0040, 0x1f25, 0xc08c, 0x7812, | 539 | 0x0004, 0x2051, 0x0008, 0x2091, 0x8000, 0x1078, 0x1e46, 0x8738, |
536 | 0xc7fc, 0x2069, 0x4e40, 0x0078, 0x1f2a, 0xc08d, 0x7812, 0x2069, | 540 | 0xa784, 0x001f, 0x00c0, 0x1f3d, 0xa7bc, 0xff00, 0x873f, 0x8738, |
537 | 0x4e80, 0xc7fd, 0x2091, 0x8000, 0x681c, 0x681f, 0x0000, 0x2091, | 541 | 0x873f, 0xa784, 0x0f00, 0x00c0, 0x1f3d, 0x2091, 0x8001, 0x077f, |
538 | 0x8001, 0xa005, 0x00c0, 0x1f35, 0x007c, 0xa08c, 0xfff0, 0x0040, | 542 | 0x007c, 0x786c, 0x2009, 0x9774, 0x210c, 0xa10d, 0x0040, 0x1f5b, |
539 | 0x1f3b, 0x1078, 0x296b, 0x0079, 0x1f3d, 0x1f4d, 0x1f50, 0x1f56, | 543 | 0xa065, 0x0078, 0x23dc, 0x2061, 0x0000, 0x6018, 0xd084, 0x00c0, |
540 | 0x1f5a, 0x1f4e, 0x1f5e, 0x1f4e, 0x1f4e, 0x1f4e, 0x1f64, 0x1f95, | 544 | 0x1f7b, 0x7810, 0xd08c, 0x0040, 0x1f6c, 0xc08c, 0x7812, 0xc7fc, |
541 | 0x1f99, 0x1f9f, 0x1fb4, 0x1f4e, 0x1f4e, 0x007c, 0x1078, 0x296b, | 545 | 0x2069, 0x4f40, 0x0078, 0x1f71, 0xc08d, 0x7812, 0x2069, 0x4f80, |
542 | 0x1078, 0x1ee6, 0x2001, 0x8001, 0x0078, 0x1fc0, 0x2001, 0x8003, | 546 | 0xc7fd, 0x2091, 0x8000, 0x681c, 0x681f, 0x0000, 0x2091, 0x8001, |
543 | 0x0078, 0x1fc0, 0x2001, 0x8004, 0x0078, 0x1fc0, 0x1078, 0x1ee6, | 547 | 0xa005, 0x00c0, 0x1f7c, 0x007c, 0xa08c, 0xfff0, 0x0040, 0x1f82, |
544 | 0x2001, 0x8006, 0x0078, 0x1fc0, 0x2091, 0x8000, 0x077e, 0xd7fc, | 548 | 0x1078, 0x29b2, 0x0079, 0x1f84, 0x1f94, 0x1f97, 0x1f9d, 0x1fa1, |
545 | 0x00c0, 0x1f70, 0x2069, 0x4e40, 0x2039, 0x0009, 0x0078, 0x1f74, | 549 | 0x1f95, 0x1fa5, 0x1f95, 0x1f95, 0x1f95, 0x1fab, 0x1fdc, 0x1fe0, |
546 | 0x2069, 0x4e80, 0x2039, 0x0009, 0x6800, 0xa086, 0x0000, 0x0040, | 550 | 0x1fe6, 0x1ffb, 0x1f95, 0x1f95, 0x007c, 0x1078, 0x29b2, 0x1078, |
547 | 0x1f7e, 0x007f, 0x6f1e, 0x2091, 0x8001, 0x007c, 0x6874, 0x077f, | 551 | 0x1f2d, 0x2001, 0x8001, 0x0078, 0x2007, 0x2001, 0x8003, 0x0078, |
548 | 0xa0bc, 0xff00, 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, 0x0010, | 552 | 0x2007, 0x2001, 0x8004, 0x0078, 0x2007, 0x1078, 0x1f2d, 0x2001, |
549 | 0x1078, 0x1dff, 0x8738, 0xa784, 0x001f, 0x00c0, 0x1f88, 0x2091, | 553 | 0x8006, 0x0078, 0x2007, 0x2091, 0x8000, 0x077e, 0xd7fc, 0x00c0, |
550 | 0x8001, 0x2001, 0x800a, 0x0078, 0x1fc0, 0x2001, 0x800c, 0x0078, | 554 | 0x1fb7, 0x2069, 0x4f40, 0x2039, 0x0009, 0x0078, 0x1fbb, 0x2069, |
551 | 0x1fc0, 0x1078, 0x1ee6, 0x2001, 0x800d, 0x0078, 0x1fc0, 0x7814, | 555 | 0x4f80, 0x2039, 0x0009, 0x6800, 0xa086, 0x0000, 0x0040, 0x1fc5, |
552 | 0xd0e4, 0x00c0, 0x1fb2, 0xd0ec, 0x0040, 0x1fac, 0xd7fc, 0x0040, | 556 | 0x007f, 0x6f1e, 0x2091, 0x8001, 0x007c, 0x6874, 0x077f, 0xa0bc, |
553 | 0x1fac, 0x78e4, 0x0078, 0x1fad, 0x78e0, 0x70c6, 0x2001, 0x800e, | 557 | 0xff00, 0x2041, 0x0021, 0x2049, 0x0004, 0x2051, 0x0010, 0x1078, |
554 | 0x0078, 0x1fc0, 0x0078, 0x1f4e, 0xd7fc, 0x0040, 0x1fba, 0x78ec, | 558 | 0x1e46, 0x8738, 0xa784, 0x001f, 0x00c0, 0x1fcf, 0x2091, 0x8001, |
555 | 0x0078, 0x1fbb, 0x78e8, 0x70c6, 0x2001, 0x800f, 0x0078, 0x1fc0, | 559 | 0x2001, 0x800a, 0x0078, 0x2007, 0x2001, 0x800c, 0x0078, 0x2007, |
556 | 0x70c2, 0xd7fc, 0x00c0, 0x1fc8, 0x70db, 0x0000, 0x0078, 0x1fca, | 560 | 0x1078, 0x1f2d, 0x2001, 0x800d, 0x0078, 0x2007, 0x7814, 0xd0e4, |
557 | 0x70db, 0x0001, 0x2061, 0x0000, 0x601b, 0x0001, 0x2091, 0x4080, | 561 | 0x00c0, 0x1ff9, 0xd0ec, 0x0040, 0x1ff3, 0xd7fc, 0x0040, 0x1ff3, |
558 | 0x007c, 0xac80, 0x0001, 0x81ff, 0x0040, 0x1ffc, 0x2099, 0x0030, | 562 | 0x78e4, 0x0078, 0x1ff4, 0x78e0, 0x70c6, 0x2001, 0x800e, 0x0078, |
559 | 0x20a0, 0x700c, 0xa084, 0x03ff, 0x0040, 0x1fde, 0x7018, 0x007e, | 563 | 0x2007, 0x0078, 0x1f95, 0xd7fc, 0x0040, 0x2001, 0x78ec, 0x0078, |
560 | 0x701c, 0x007e, 0x7020, 0x007e, 0x7024, 0x007e, 0x7112, 0x81ac, | 564 | 0x2002, 0x78e8, 0x70c6, 0x2001, 0x800f, 0x0078, 0x2007, 0x70c2, |
561 | 0x721a, 0x731e, 0x7422, 0x7526, 0x7003, 0x0001, 0x7007, 0x0001, | 565 | 0xd7fc, 0x00c0, 0x200f, 0x70db, 0x0000, 0x0078, 0x2011, 0x70db, |
562 | 0x7008, 0x800b, 0x00c8, 0x1ff0, 0x7007, 0x0002, 0xa08c, 0x01e0, | 566 | 0x0001, 0x2061, 0x0000, 0x601b, 0x0001, 0x2091, 0x4080, 0x007c, |
563 | 0x00c0, 0x1ffc, 0x53a5, 0xa006, 0x7003, 0x0000, 0x7007, 0x0004, | 567 | 0xac80, 0x0001, 0x81ff, 0x0040, 0x2043, 0x2099, 0x0030, 0x20a0, |
564 | 0x007f, 0x7026, 0x007f, 0x7022, 0x007f, 0x701e, 0x007f, 0x701a, | 568 | 0x700c, 0xa084, 0x03ff, 0x0040, 0x2025, 0x7018, 0x007e, 0x701c, |
565 | 0x007c, 0x2011, 0x0020, 0x2009, 0x0010, 0x6b0a, 0x6c0e, 0x6803, | 569 | 0x007e, 0x7020, 0x007e, 0x7024, 0x007e, 0x7112, 0x81ac, 0x721a, |
566 | 0xfd00, 0x6807, 0x0018, 0x6a1a, 0x2d00, 0xa0e8, 0x0008, 0xa290, | 570 | 0x731e, 0x7422, 0x7526, 0x7003, 0x0001, 0x7007, 0x0001, 0x7008, |
567 | 0x0004, 0x8109, 0x00c0, 0x200d, 0x007c, 0x6004, 0x6086, 0x2c08, | 571 | 0x800b, 0x00c8, 0x2037, 0x7007, 0x0002, 0xa08c, 0x01e0, 0x00c0, |
568 | 0x2063, 0x0000, 0x7868, 0xa005, 0x796a, 0x0040, 0x202a, 0x2c02, | 572 | 0x2043, 0x53a5, 0xa006, 0x7003, 0x0000, 0x7007, 0x0004, 0x007f, |
569 | 0x0078, 0x202b, 0x796e, 0x007c, 0x0c7e, 0x2061, 0x4e00, 0x6887, | 573 | 0x7026, 0x007f, 0x7022, 0x007f, 0x701e, 0x007f, 0x701a, 0x007c, |
570 | 0x0103, 0x2d08, 0x206b, 0x0000, 0x6068, 0xa005, 0x616a, 0x0040, | 574 | 0x2011, 0x0020, 0x2009, 0x0010, 0x6b0a, 0x6c0e, 0x6803, 0xfd00, |
571 | 0x203c, 0x2d02, 0x0078, 0x203d, 0x616e, 0x0c7f, 0x007c, 0x2091, | 575 | 0x6807, 0x0018, 0x6a1a, 0x2d00, 0xa0e8, 0x0008, 0xa290, 0x0004, |
572 | 0x8000, 0x2c04, 0x786e, 0xa005, 0x00c0, 0x2047, 0x786a, 0x2091, | 576 | 0x8109, 0x00c0, 0x2054, 0x007c, 0x6004, 0x6086, 0x2c08, 0x2063, |
573 | 0x8001, 0x609c, 0xa005, 0x0040, 0x2060, 0x0c7e, 0x2060, 0x2008, | 577 | 0x0000, 0x7868, 0xa005, 0x796a, 0x0040, 0x2071, 0x2c02, 0x0078, |
574 | 0x609c, 0xa005, 0x0040, 0x205c, 0x2062, 0x609f, 0x0000, 0xa065, | 578 | 0x2072, 0x796e, 0x007c, 0x0c7e, 0x2061, 0x4f00, 0x6887, 0x0103, |
575 | 0x609c, 0xa005, 0x00c0, 0x2054, 0x7848, 0x794a, 0x2062, 0x0c7f, | 579 | 0x2d08, 0x206b, 0x0000, 0x6068, 0xa005, 0x616a, 0x0040, 0x2083, |
576 | 0x7848, 0x2062, 0x609f, 0x0000, 0xac85, 0x0000, 0x00c0, 0x206a, | 580 | 0x2d02, 0x0078, 0x2084, 0x616e, 0x0c7f, 0x007c, 0x2091, 0x8000, |
577 | 0x1078, 0x296b, 0x784a, 0x007c, 0x20a9, 0x0010, 0xa006, 0x8004, | 581 | 0x2c04, 0x786e, 0xa005, 0x00c0, 0x208e, 0x786a, 0x2091, 0x8001, |
578 | 0x8086, 0x818e, 0x00c8, 0x2075, 0xa200, 0x00f0, 0x2070, 0x8086, | 582 | 0x609c, 0xa005, 0x0040, 0x20a7, 0x0c7e, 0x2060, 0x2008, 0x609c, |
579 | 0x818e, 0x007c, 0x157e, 0x20a9, 0x0010, 0xa005, 0x0040, 0x209b, | 583 | 0xa005, 0x0040, 0x20a3, 0x2062, 0x609f, 0x0000, 0xa065, 0x609c, |
580 | 0xa11a, 0x00c8, 0x209b, 0x8213, 0x818d, 0x0048, 0x208e, 0xa11a, | 584 | 0xa005, 0x00c0, 0x209b, 0x7848, 0x794a, 0x2062, 0x0c7f, 0x7848, |
581 | 0x00c8, 0x208f, 0x00f0, 0x2083, 0x0078, 0x2093, 0xa11a, 0x2308, | 585 | 0x2062, 0x609f, 0x0000, 0xac85, 0x0000, 0x00c0, 0x20b1, 0x1078, |
582 | 0x8210, 0x00f0, 0x2083, 0x007e, 0x3200, 0xa084, 0xf7ff, 0x2080, | 586 | 0x29b2, 0x784a, 0x007c, 0x20a9, 0x0010, 0xa006, 0x8004, 0x8086, |
583 | 0x007f, 0x157f, 0x007c, 0x007e, 0x3200, 0xa085, 0x0800, 0x0078, | 587 | 0x818e, 0x00c8, 0x20bc, 0xa200, 0x00f0, 0x20b7, 0x8086, 0x818e, |
584 | 0x2097, 0x7d74, 0x70d0, 0xa506, 0x0040, 0x2187, 0x7810, 0x2050, | 588 | 0x007c, 0x157e, 0x20a9, 0x0010, 0xa005, 0x0040, 0x20e2, 0xa11a, |
585 | 0x7800, 0xd08c, 0x0040, 0x20c3, 0xdaec, 0x0040, 0x20c3, 0x0e7e, | 589 | 0x00c8, 0x20e2, 0x8213, 0x818d, 0x0048, 0x20d5, 0xa11a, 0x00c8, |
586 | 0x2091, 0x8000, 0x2071, 0x0020, 0x7004, 0xa005, 0x00c0, 0x20c0, | 590 | 0x20d6, 0x00f0, 0x20ca, 0x0078, 0x20da, 0xa11a, 0x2308, 0x8210, |
587 | 0x7008, 0x0e7f, 0xa086, 0x0008, 0x0040, 0x20c3, 0x0078, 0x2187, | 591 | 0x00f0, 0x20ca, 0x007e, 0x3200, 0xa084, 0xf7ff, 0x2080, 0x007f, |
588 | 0x0e7f, 0x0078, 0x2187, 0x1078, 0x1dbd, 0x0040, 0x2187, 0xa046, | 592 | 0x157f, 0x007c, 0x007e, 0x3200, 0xa085, 0x0800, 0x0078, 0x20de, |
589 | 0x7970, 0x2500, 0x8000, 0xa112, 0x2009, 0x0040, 0x00c8, 0x20d2, | 593 | 0x7d74, 0x70d0, 0xa506, 0x0040, 0x21ce, 0x7810, 0x2050, 0x7800, |
590 | 0x0078, 0x20d9, 0x72d0, 0xa206, 0x0040, 0x20d9, 0x8840, 0x2009, | 594 | 0xd08c, 0x0040, 0x210a, 0xdaec, 0x0040, 0x210a, 0x0e7e, 0x2091, |
591 | 0x0080, 0x0c7e, 0x7112, 0x7007, 0x0001, 0x2099, 0x0030, 0x20a9, | 595 | 0x8000, 0x2071, 0x0020, 0x7004, 0xa005, 0x00c0, 0x2107, 0x7008, |
592 | 0x0020, 0xac80, 0x0001, 0x20a0, 0x2061, 0x0000, 0x88ff, 0x0040, | 596 | 0x0e7f, 0xa086, 0x0008, 0x0040, 0x210a, 0x0078, 0x21ce, 0x0e7f, |
593 | 0x20eb, 0x1078, 0x1dbd, 0x7008, 0xd0fc, 0x0040, 0x20eb, 0x7007, | 597 | 0x0078, 0x21ce, 0x1078, 0x1e04, 0x0040, 0x21ce, 0xa046, 0x7970, |
594 | 0x0002, 0x2091, 0x8001, 0xa08c, 0x01e0, 0x00c0, 0x2122, 0x53a5, | 598 | 0x2500, 0x8000, 0xa112, 0x2009, 0x0040, 0x00c8, 0x2119, 0x0078, |
595 | 0x8cff, 0x00c0, 0x2100, 0x88ff, 0x0040, 0x2171, 0x0078, 0x210a, | 599 | 0x2120, 0x72d0, 0xa206, 0x0040, 0x2120, 0x8840, 0x2009, 0x0080, |
596 | 0x2c00, 0x788e, 0x20a9, 0x0020, 0xac80, 0x0001, 0x20a0, 0x53a5, | 600 | 0x0c7e, 0x7112, 0x7007, 0x0001, 0x2099, 0x0030, 0x20a9, 0x0020, |
597 | 0x0078, 0x2171, 0xa046, 0x7218, 0x731c, 0xdac4, 0x0040, 0x2112, | 601 | 0xac80, 0x0001, 0x20a0, 0x2061, 0x0000, 0x88ff, 0x0040, 0x2132, |
598 | 0x7420, 0x7524, 0xa292, 0x0040, 0xa39b, 0x0000, 0xa4a3, 0x0000, | 602 | 0x1078, 0x1e04, 0x7008, 0xd0fc, 0x0040, 0x2132, 0x7007, 0x0002, |
599 | 0xa5ab, 0x0000, 0x721a, 0x731e, 0xdac4, 0x0040, 0x2122, 0x7422, | 603 | 0x2091, 0x8001, 0xa08c, 0x01e0, 0x00c0, 0x2169, 0x53a5, 0x8cff, |
600 | 0x7526, 0xa006, 0x7007, 0x0004, 0x0040, 0x2171, 0x8cff, 0x0040, | 604 | 0x00c0, 0x2147, 0x88ff, 0x0040, 0x21b8, 0x0078, 0x2151, 0x2c00, |
601 | 0x212b, 0x1078, 0x1dc6, 0x0c7f, 0x1078, 0x1dc6, 0xa046, 0x7888, | 605 | 0x788e, 0x20a9, 0x0020, 0xac80, 0x0001, 0x20a0, 0x53a5, 0x0078, |
602 | 0x8000, 0x788a, 0xa086, 0x0002, 0x0040, 0x2151, 0x7a7c, 0x7b78, | 606 | 0x21b8, 0xa046, 0x7218, 0x731c, 0xdac4, 0x0040, 0x2159, 0x7420, |
603 | 0xdac4, 0x0040, 0x213d, 0x7c84, 0x7d80, 0x7974, 0x8107, 0x8004, | 607 | 0x7524, 0xa292, 0x0040, 0xa39b, 0x0000, 0xa4a3, 0x0000, 0xa5ab, |
604 | 0x8004, 0xa210, 0xa399, 0x0000, 0xa4a1, 0x0000, 0xa5a9, 0x0000, | 608 | 0x0000, 0x721a, 0x731e, 0xdac4, 0x0040, 0x2169, 0x7422, 0x7526, |
605 | 0x721a, 0x731e, 0xdac4, 0x0040, 0x2187, 0x7422, 0x7526, 0x0078, | 609 | 0xa006, 0x7007, 0x0004, 0x0040, 0x21b8, 0x8cff, 0x0040, 0x2172, |
606 | 0x2187, 0x6014, 0xd0fc, 0x00c0, 0x2159, 0x2069, 0x4e40, 0x0078, | 610 | 0x1078, 0x1e0d, 0x0c7f, 0x1078, 0x1e0d, 0xa046, 0x7888, 0x8000, |
607 | 0x215b, 0x2069, 0x4e80, 0x2091, 0x8000, 0x681f, 0x0002, 0x88ff, | 611 | 0x788a, 0xa086, 0x0002, 0x0040, 0x2198, 0x7a7c, 0x7b78, 0xdac4, |
608 | 0x0040, 0x2167, 0xa046, 0x788c, 0x2060, 0x0078, 0x2151, 0x788b, | 612 | 0x0040, 0x2184, 0x7c84, 0x7d80, 0x7974, 0x8107, 0x8004, 0x8004, |
609 | 0x0000, 0x78ac, 0xa085, 0x0003, 0x78ae, 0x2091, 0x8001, 0x0078, | 613 | 0xa210, 0xa399, 0x0000, 0xa4a1, 0x0000, 0xa5a9, 0x0000, 0x721a, |
610 | 0x2187, 0x0c7f, 0x788b, 0x0000, 0x1078, 0x2346, 0x6004, 0xa084, | 614 | 0x731e, 0xdac4, 0x0040, 0x21ce, 0x7422, 0x7526, 0x0078, 0x21ce, |
611 | 0x000f, 0x1078, 0x2188, 0x88ff, 0x0040, 0x2185, 0x788c, 0x2060, | 615 | 0x6014, 0xd0fc, 0x00c0, 0x21a0, 0x2069, 0x4f40, 0x0078, 0x21a2, |
612 | 0x6004, 0xa084, 0x000f, 0x1078, 0x2188, 0x0078, 0x20a1, 0x007c, | 616 | 0x2069, 0x4f80, 0x2091, 0x8000, 0x681f, 0x0002, 0x88ff, 0x0040, |
613 | 0x0079, 0x218a, 0x219a, 0x21b8, 0x21d6, 0x219a, 0x21e7, 0x21ab, | 617 | 0x21ae, 0xa046, 0x788c, 0x2060, 0x0078, 0x2198, 0x788b, 0x0000, |
614 | 0x219a, 0x219a, 0x219a, 0x21b6, 0x21d4, 0x219a, 0x219a, 0x219a, | 618 | 0x78ac, 0xa085, 0x0003, 0x78ae, 0x2091, 0x8001, 0x0078, 0x21ce, |
615 | 0x219a, 0x219a, 0x2039, 0x0400, 0x78bc, 0xa705, 0x78be, 0x6008, | 619 | 0x0c7f, 0x788b, 0x0000, 0x1078, 0x238d, 0x6004, 0xa084, 0x000f, |
616 | 0xa705, 0x600a, 0x1078, 0x222a, 0x609c, 0x78ba, 0x609f, 0x0000, | 620 | 0x1078, 0x21cf, 0x88ff, 0x0040, 0x21cc, 0x788c, 0x2060, 0x6004, |
617 | 0x1078, 0x2330, 0x007c, 0x78bc, 0xd0c4, 0x0040, 0x21b1, 0x0078, | 621 | 0xa084, 0x000f, 0x1078, 0x21cf, 0x0078, 0x20e8, 0x007c, 0x0079, |
618 | 0x219a, 0x601c, 0xc0bd, 0x601e, 0x0078, 0x21be, 0x1078, 0x2378, | 622 | 0x21d1, 0x21e1, 0x21ff, 0x221d, 0x21e1, 0x222e, 0x21f2, 0x21e1, |
619 | 0x78bc, 0xd0c4, 0x0040, 0x21be, 0x0078, 0x219a, 0x78bf, 0x0000, | 623 | 0x21e1, 0x21e1, 0x21fd, 0x221b, 0x21e1, 0x21e1, 0x21e1, 0x21e1, |
620 | 0x6004, 0x8007, 0xa084, 0x00ff, 0x78b2, 0x8001, 0x0040, 0x21d1, | 624 | 0x21e1, 0x2039, 0x0400, 0x78bc, 0xa705, 0x78be, 0x6008, 0xa705, |
621 | 0x1078, 0x222a, 0x0040, 0x21d1, 0x78bc, 0xc0c5, 0x78be, 0x0078, | 625 | 0x600a, 0x1078, 0x2271, 0x609c, 0x78ba, 0x609f, 0x0000, 0x1078, |
622 | 0x21d3, 0x0078, 0x2249, 0x007c, 0x1078, 0x2374, 0x78bc, 0xa08c, | 626 | 0x2377, 0x007c, 0x78bc, 0xd0c4, 0x0040, 0x21f8, 0x0078, 0x21e1, |
623 | 0x0e00, 0x00c0, 0x21de, 0xd0c4, 0x00c0, 0x21e0, 0x0078, 0x219a, | 627 | 0x601c, 0xc0bd, 0x601e, 0x0078, 0x2205, 0x1078, 0x23bf, 0x78bc, |
624 | 0x1078, 0x222a, 0x00c0, 0x21e6, 0x0078, 0x2249, 0x007c, 0x78bc, | 628 | 0xd0c4, 0x0040, 0x2205, 0x0078, 0x21e1, 0x78bf, 0x0000, 0x6004, |
625 | 0xd0c4, 0x0040, 0x21ed, 0x0078, 0x219a, 0x78bf, 0x0000, 0x6714, | 629 | 0x8007, 0xa084, 0x00ff, 0x78b2, 0x8001, 0x0040, 0x2218, 0x1078, |
626 | 0x2011, 0x0001, 0x22a8, 0x6018, 0xa084, 0x00ff, 0xa005, 0x0040, | 630 | 0x2271, 0x0040, 0x2218, 0x78bc, 0xc0c5, 0x78be, 0x0078, 0x221a, |
627 | 0x220d, 0xa7bc, 0xff00, 0x20a9, 0x0020, 0xa08e, 0x0001, 0x0040, | 631 | 0x0078, 0x2290, 0x007c, 0x1078, 0x23bb, 0x78bc, 0xa08c, 0x0e00, |
628 | 0x220d, 0xa7bc, 0x8000, 0x2011, 0x0002, 0x20a9, 0x0100, 0xa08e, | 632 | 0x00c0, 0x2225, 0xd0c4, 0x00c0, 0x2227, 0x0078, 0x21e1, 0x1078, |
629 | 0x0002, 0x0040, 0x220d, 0x0078, 0x2227, 0x1078, 0x1de4, 0x2d00, | 633 | 0x2271, 0x00c0, 0x222d, 0x0078, 0x2290, 0x007c, 0x78bc, 0xd0c4, |
630 | 0x2091, 0x8000, 0x682b, 0x0000, 0x682f, 0x0000, 0x6808, 0xa084, | 634 | 0x0040, 0x2234, 0x0078, 0x21e1, 0x78bf, 0x0000, 0x6714, 0x2011, |
631 | 0xffde, 0x680a, 0xade8, 0x0010, 0x2091, 0x8001, 0x00f0, 0x2210, | 635 | 0x0001, 0x22a8, 0x6018, 0xa084, 0x00ff, 0xa005, 0x0040, 0x2254, |
632 | 0x8211, 0x0040, 0x2227, 0x20a9, 0x0100, 0x0078, 0x2210, 0x1078, | 636 | 0xa7bc, 0xff00, 0x20a9, 0x0020, 0xa08e, 0x0001, 0x0040, 0x2254, |
633 | 0x1dc6, 0x007c, 0x609f, 0x0000, 0x78b4, 0xa06d, 0x2c00, 0x78b6, | 637 | 0xa7bc, 0x8000, 0x2011, 0x0002, 0x20a9, 0x0100, 0xa08e, 0x0002, |
634 | 0x00c0, 0x2235, 0x78ba, 0x0078, 0x223d, 0x689e, 0x2d00, 0x6002, | 638 | 0x0040, 0x2254, 0x0078, 0x226e, 0x1078, 0x1e2b, 0x2d00, 0x2091, |
635 | 0x78b8, 0xad06, 0x00c0, 0x223d, 0x6002, 0x78b0, 0x8001, 0x78b2, | 639 | 0x8000, 0x682b, 0x0000, 0x682f, 0x0000, 0x6808, 0xa084, 0xffde, |
636 | 0x00c0, 0x2248, 0x78bc, 0xc0c4, 0x78be, 0x78b8, 0x2060, 0xa006, | 640 | 0x680a, 0xade8, 0x0010, 0x2091, 0x8001, 0x00f0, 0x2257, 0x8211, |
637 | 0x007c, 0x0e7e, 0xa02e, 0x2530, 0x7dba, 0x7db6, 0x65ae, 0x65b2, | 641 | 0x0040, 0x226e, 0x20a9, 0x0100, 0x0078, 0x2257, 0x1078, 0x1e0d, |
638 | 0x601c, 0x60a2, 0x2048, 0xa984, 0xe1ff, 0x601e, 0xa984, 0x0060, | 642 | 0x007c, 0x609f, 0x0000, 0x78b4, 0xa06d, 0x2c00, 0x78b6, 0x00c0, |
639 | 0x0040, 0x225c, 0x1078, 0x4632, 0x6596, 0x65a6, 0x669a, 0x66aa, | 643 | 0x227c, 0x78ba, 0x0078, 0x2284, 0x689e, 0x2d00, 0x6002, 0x78b8, |
640 | 0x6714, 0x2071, 0x4e80, 0xd7fc, 0x00c0, 0x2268, 0x2071, 0x4e40, | 644 | 0xad06, 0x00c0, 0x2284, 0x6002, 0x78b0, 0x8001, 0x78b2, 0x00c0, |
641 | 0xa784, 0x0f00, 0x800b, 0xa784, 0x001f, 0x0040, 0x2273, 0x8003, | 645 | 0x228f, 0x78bc, 0xc0c4, 0x78be, 0x78b8, 0x2060, 0xa006, 0x007c, |
642 | 0x8003, 0x8003, 0x8003, 0xa105, 0x71c4, 0xa168, 0x2700, 0x8007, | 646 | 0x0e7e, 0xa02e, 0x2530, 0x7dba, 0x7db6, 0x65ae, 0x65b2, 0x601c, |
643 | 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0x71c8, 0xa100, 0x60c2, | 647 | 0x60a2, 0x2048, 0xa984, 0xe1ff, 0x601e, 0xa984, 0x0060, 0x0040, |
644 | 0x2091, 0x8000, 0x7814, 0xd0c4, 0x0040, 0x2298, 0xd0ec, 0x0040, | 648 | 0x22a3, 0x1078, 0x46b6, 0x6596, 0x65a6, 0x669a, 0x66aa, 0x6714, |
645 | 0x2294, 0xd7fc, 0x00c0, 0x2291, 0xd0f4, 0x00c0, 0x229f, 0x0078, | 649 | 0x2071, 0x4f80, 0xd7fc, 0x00c0, 0x22af, 0x2071, 0x4f40, 0xa784, |
646 | 0x2298, 0xd0fc, 0x00c0, 0x229f, 0x7810, 0xd0f4, 0x00c0, 0x229f, | 650 | 0x0f00, 0x800b, 0xa784, 0x001f, 0x0040, 0x22ba, 0x8003, 0x8003, |
647 | 0x6e08, 0xd684, 0x0040, 0x22c9, 0xd9fc, 0x00c0, 0x22c9, 0x2091, | 651 | 0x8003, 0x8003, 0xa105, 0x71c4, 0xa168, 0x2700, 0x8007, 0xa084, |
648 | 0x8001, 0x1078, 0x1e5b, 0x2091, 0x8000, 0x1078, 0x201d, 0x2091, | 652 | 0x000f, 0x8003, 0x8003, 0x8003, 0x71c8, 0xa100, 0x60c2, 0x2091, |
649 | 0x8001, 0x7814, 0xd0e4, 0x00c0, 0x232e, 0x7814, 0xd0c4, 0x0040, | 653 | 0x8000, 0x7814, 0xd0c4, 0x0040, 0x22df, 0xd0ec, 0x0040, 0x22db, |
650 | 0x232e, 0xd0ec, 0x0040, 0x22c1, 0xd7fc, 0x00c0, 0x22bc, 0xd0f4, | 654 | 0xd7fc, 0x00c0, 0x22d8, 0xd0f4, 0x00c0, 0x22e6, 0x0078, 0x22df, |
651 | 0x00c0, 0x22c5, 0x0078, 0x232e, 0xd0fc, 0x00c0, 0x22c5, 0x0078, | 655 | 0xd0fc, 0x00c0, 0x22e6, 0x7810, 0xd0f4, 0x00c0, 0x22e6, 0x6e08, |
652 | 0x232e, 0x7810, 0xd0f4, 0x0040, 0x232e, 0x601b, 0x0021, 0x0078, | 656 | 0xd684, 0x0040, 0x2310, 0xd9fc, 0x00c0, 0x2310, 0x2091, 0x8001, |
653 | 0x232e, 0x6024, 0xa096, 0x0001, 0x00c0, 0x22d0, 0x8000, 0x6026, | 657 | 0x1078, 0x1ea2, 0x2091, 0x8000, 0x1078, 0x2064, 0x2091, 0x8001, |
654 | 0x6a10, 0x6814, 0xa202, 0x0048, 0x22e3, 0x0040, 0x22e3, 0x2091, | 658 | 0x7814, 0xd0e4, 0x00c0, 0x2375, 0x7814, 0xd0c4, 0x0040, 0x2375, |
655 | 0x8001, 0x2039, 0x0200, 0x609c, 0x78ba, 0x609f, 0x0000, 0x1078, | 659 | 0xd0ec, 0x0040, 0x2308, 0xd7fc, 0x00c0, 0x2303, 0xd0f4, 0x00c0, |
656 | 0x2330, 0x0078, 0x232e, 0x2c08, 0xd9fc, 0x0040, 0x230b, 0x6800, | 660 | 0x230c, 0x0078, 0x2375, 0xd0fc, 0x00c0, 0x230c, 0x0078, 0x2375, |
657 | 0xa065, 0x0040, 0x230b, 0x6a04, 0x7000, 0xa084, 0x0002, 0x0040, | 661 | 0x7810, 0xd0f4, 0x0040, 0x2375, 0x601b, 0x0021, 0x0078, 0x2375, |
658 | 0x2301, 0x704c, 0xa206, 0x00c0, 0x2301, 0x6b04, 0x2160, 0x2304, | 662 | 0x6024, 0xa096, 0x0001, 0x00c0, 0x2317, 0x8000, 0x6026, 0x6a10, |
659 | 0x6002, 0xa005, 0x00c0, 0x22fd, 0x6902, 0x2260, 0x6102, 0x0078, | 663 | 0x6814, 0xa202, 0x0048, 0x232a, 0x0040, 0x232a, 0x2091, 0x8001, |
660 | 0x2317, 0x2d00, 0x2060, 0x1078, 0x2acc, 0x6e08, 0x2160, 0x6202, | 664 | 0x2039, 0x0200, 0x609c, 0x78ba, 0x609f, 0x0000, 0x1078, 0x2377, |
661 | 0x6906, 0x0078, 0x2317, 0x6800, 0x6902, 0xa065, 0x0040, 0x2313, | 665 | 0x0078, 0x2375, 0x2c08, 0xd9fc, 0x0040, 0x2352, 0x6800, 0xa065, |
662 | 0x6102, 0x0078, 0x2314, 0x6906, 0x2160, 0x6003, 0x0000, 0x2160, | 666 | 0x0040, 0x2352, 0x6a04, 0x7000, 0xa084, 0x0002, 0x0040, 0x2348, |
663 | 0xd9fc, 0x0040, 0x231e, 0xa6b4, 0xfffc, 0x6e0a, 0x6810, 0x7d08, | 667 | 0x704c, 0xa206, 0x00c0, 0x2348, 0x6b04, 0x2160, 0x2304, 0x6002, |
664 | 0x8528, 0x7d0a, 0x8000, 0x6812, 0x2091, 0x8001, 0xd6b4, 0x0040, | 668 | 0xa005, 0x00c0, 0x2344, 0x6902, 0x2260, 0x6102, 0x0078, 0x235e, |
665 | 0x232e, 0xa6b6, 0x0040, 0x6e0a, 0x1078, 0x1e6c, 0x0e7f, 0x007c, | 669 | 0x2d00, 0x2060, 0x1078, 0x2b13, 0x6e08, 0x2160, 0x6202, 0x6906, |
666 | 0x6008, 0xa705, 0x600a, 0x2091, 0x8000, 0x1078, 0x201d, 0x2091, | 670 | 0x0078, 0x235e, 0x6800, 0x6902, 0xa065, 0x0040, 0x235a, 0x6102, |
667 | 0x8001, 0x78b8, 0xa065, 0x0040, 0x2343, 0x609c, 0x78ba, 0x609f, | 671 | 0x0078, 0x235b, 0x6906, 0x2160, 0x6003, 0x0000, 0x2160, 0xd9fc, |
668 | 0x0000, 0x0078, 0x2330, 0x78b6, 0x78ba, 0x007c, 0x7970, 0x7874, | 672 | 0x0040, 0x2365, 0xa6b4, 0xfffc, 0x6e0a, 0x6810, 0x7d08, 0x8528, |
669 | 0x2818, 0xd384, 0x0040, 0x2350, 0x8000, 0xa112, 0x0048, 0x2355, | 673 | 0x7d0a, 0x8000, 0x6812, 0x2091, 0x8001, 0xd6b4, 0x0040, 0x2375, |
670 | 0x8000, 0xa112, 0x00c8, 0x2365, 0xc384, 0x7a7c, 0x721a, 0x7a78, | 674 | 0xa6b6, 0x0040, 0x6e0a, 0x1078, 0x1eb3, 0x0e7f, 0x007c, 0x6008, |
671 | 0x721e, 0xdac4, 0x0040, 0x2360, 0x7a84, 0x7222, 0x7a80, 0x7226, | 675 | 0xa705, 0x600a, 0x2091, 0x8000, 0x1078, 0x2064, 0x2091, 0x8001, |
672 | 0xa006, 0xd384, 0x0040, 0x2365, 0x8000, 0x7876, 0x70d2, 0x781c, | 676 | 0x78b8, 0xa065, 0x0040, 0x238a, 0x609c, 0x78ba, 0x609f, 0x0000, |
673 | 0xa005, 0x0040, 0x2373, 0x8001, 0x781e, 0x00c0, 0x2373, 0x0068, | 677 | 0x0078, 0x2377, 0x78b6, 0x78ba, 0x007c, 0x7970, 0x7874, 0x2818, |
674 | 0x2373, 0x2091, 0x4080, 0x007c, 0x2039, 0x238c, 0x0078, 0x237a, | 678 | 0xd384, 0x0040, 0x2397, 0x8000, 0xa112, 0x0048, 0x239c, 0x8000, |
675 | 0x2039, 0x2392, 0x2704, 0xa005, 0x0040, 0x238b, 0xac00, 0x2068, | 679 | 0xa112, 0x00c8, 0x23ac, 0xc384, 0x7a7c, 0x721a, 0x7a78, 0x721e, |
676 | 0x6908, 0x6810, 0x6912, 0x680a, 0x690c, 0x6814, 0x6916, 0x680e, | 680 | 0xdac4, 0x0040, 0x23a7, 0x7a84, 0x7222, 0x7a80, 0x7226, 0xa006, |
677 | 0x8738, 0x0078, 0x237a, 0x007c, 0x0003, 0x0009, 0x000f, 0x0015, | 681 | 0xd384, 0x0040, 0x23ac, 0x8000, 0x7876, 0x70d2, 0x781c, 0xa005, |
678 | 0x001b, 0x0000, 0x0015, 0x001b, 0x0000, 0x2041, 0x0000, 0x780c, | 682 | 0x0040, 0x23ba, 0x8001, 0x781e, 0x00c0, 0x23ba, 0x0068, 0x23ba, |
679 | 0x0079, 0x239a, 0x256c, 0x253f, 0x239e, 0x2417, 0x2039, 0x9674, | 683 | 0x2091, 0x4080, 0x007c, 0x2039, 0x23d3, 0x0078, 0x23c1, 0x2039, |
680 | 0x2734, 0x7d10, 0x0078, 0x23be, 0x6084, 0xa086, 0x0103, 0x00c0, | 684 | 0x23d9, 0x2704, 0xa005, 0x0040, 0x23d2, 0xac00, 0x2068, 0x6908, |
681 | 0x2400, 0x6114, 0x6018, 0xa105, 0x0040, 0x23b3, 0x86ff, 0x00c0, | 685 | 0x6810, 0x6912, 0x680a, 0x690c, 0x6814, 0x6916, 0x680e, 0x8738, |
682 | 0x23cf, 0x0078, 0x2400, 0x8603, 0xa080, 0x9655, 0x620c, 0x2202, | 686 | 0x0078, 0x23c1, 0x007c, 0x0003, 0x0009, 0x000f, 0x0015, 0x001b, |
683 | 0x8000, 0x6210, 0x2202, 0x1078, 0x203f, 0x8630, 0xa68e, 0x000f, | 687 | 0x0000, 0x0015, 0x001b, 0x0000, 0x2041, 0x0000, 0x780c, 0x0079, |
684 | 0x0040, 0x248b, 0x786c, 0xa065, 0x00c0, 0x23a4, 0x7808, 0xa602, | 688 | 0x23e1, 0x25b3, 0x2586, 0x23e5, 0x245e, 0x2039, 0x9774, 0x2734, |
685 | 0x00c8, 0x23cf, 0xd5ac, 0x00c0, 0x23cf, 0x263a, 0x007c, 0xa682, | 689 | 0x7d10, 0x0078, 0x2405, 0x6084, 0xa086, 0x0103, 0x00c0, 0x2447, |
686 | 0x0003, 0x00c8, 0x248b, 0x2091, 0x8000, 0x2069, 0x0000, 0x6818, | 690 | 0x6114, 0x6018, 0xa105, 0x0040, 0x23fa, 0x86ff, 0x00c0, 0x2416, |
687 | 0xd084, 0x00c0, 0x23fb, 0x2011, 0x9655, 0x2204, 0x70c6, 0x8210, | 691 | 0x0078, 0x2447, 0x8603, 0xa080, 0x9755, 0x620c, 0x2202, 0x8000, |
688 | 0x2204, 0x70ca, 0xd684, 0x00c0, 0x23eb, 0x8210, 0x2204, 0x70da, | 692 | 0x6210, 0x2202, 0x1078, 0x2086, 0x8630, 0xa68e, 0x000f, 0x0040, |
689 | 0x8210, 0x2204, 0x70de, 0xa685, 0x8020, 0x70c2, 0x681b, 0x0001, | 693 | 0x24d2, 0x786c, 0xa065, 0x00c0, 0x23eb, 0x7808, 0xa602, 0x00c8, |
694 | 0x2416, 0xd5ac, 0x00c0, 0x2416, 0x263a, 0x007c, 0xa682, 0x0003, | ||
695 | 0x00c8, 0x24d2, 0x2091, 0x8000, 0x2069, 0x0000, 0x6818, 0xd084, | ||
696 | 0x00c0, 0x2442, 0x2011, 0x9755, 0x2204, 0x70c6, 0x8210, 0x2204, | ||
697 | 0x70ca, 0xd684, 0x00c0, 0x2432, 0x8210, 0x2204, 0x70da, 0x8210, | ||
698 | 0x2204, 0x70de, 0xa685, 0x8020, 0x70c2, 0x681b, 0x0001, 0x2091, | ||
699 | 0x4080, 0x7810, 0xa084, 0xffcf, 0x7812, 0x2091, 0x8001, 0x203b, | ||
700 | 0x0000, 0x007c, 0x7810, 0xc0ad, 0x7812, 0x0078, 0x24d2, 0x263a, | ||
701 | 0x1078, 0x25bd, 0x00c0, 0x25e0, 0x786c, 0xa065, 0x00c0, 0x23eb, | ||
702 | 0x2091, 0x8000, 0x7810, 0xa084, 0xffcf, 0x86ff, 0x0040, 0x2459, | ||
703 | 0xc0ad, 0x7812, 0x2091, 0x8001, 0x0078, 0x25e0, 0x2039, 0x9774, | ||
704 | 0x2734, 0x7d10, 0x0078, 0x247a, 0x6084, 0xa086, 0x0103, 0x00c0, | ||
705 | 0x24bb, 0x6114, 0x6018, 0xa105, 0x0040, 0x2473, 0x86ff, 0x00c0, | ||
706 | 0x248b, 0x0078, 0x24bb, 0xa680, 0x9755, 0x620c, 0x2202, 0x1078, | ||
707 | 0x2086, 0x8630, 0xa68e, 0x001e, 0x0040, 0x24d2, 0x786c, 0xa065, | ||
708 | 0x00c0, 0x2464, 0x7808, 0xa602, 0x00c8, 0x248b, 0xd5ac, 0x00c0, | ||
709 | 0x248b, 0x263a, 0x007c, 0xa682, 0x0006, 0x00c8, 0x24d2, 0x2091, | ||
710 | 0x8000, 0x2069, 0x0000, 0x6818, 0xd084, 0x00c0, 0x24b6, 0x2011, | ||
711 | 0x9755, 0x2009, 0x974e, 0x26a8, 0x211c, 0x2204, 0x201a, 0x8108, | ||
712 | 0x8210, 0x00f0, 0x249c, 0xa685, 0x8030, 0x70c2, 0x681b, 0x0001, | ||
690 | 0x2091, 0x4080, 0x7810, 0xa084, 0xffcf, 0x7812, 0x2091, 0x8001, | 713 | 0x2091, 0x4080, 0x7810, 0xa084, 0xffcf, 0x7812, 0x2091, 0x8001, |
691 | 0x203b, 0x0000, 0x007c, 0x7810, 0xc0ad, 0x7812, 0x0078, 0x248b, | 714 | 0xa006, 0x2009, 0x9775, 0x200a, 0x203a, 0x007c, 0x7810, 0xc0ad, |
692 | 0x263a, 0x1078, 0x2576, 0x00c0, 0x2599, 0x786c, 0xa065, 0x00c0, | 715 | 0x7812, 0x0078, 0x24d2, 0x263a, 0x1078, 0x25bd, 0x00c0, 0x25e0, |
693 | 0x23a4, 0x2091, 0x8000, 0x7810, 0xa084, 0xffcf, 0x86ff, 0x0040, | 716 | 0x786c, 0xa065, 0x00c0, 0x2464, 0x2091, 0x8000, 0x7810, 0xa084, |
694 | 0x2412, 0xc0ad, 0x7812, 0x2091, 0x8001, 0x0078, 0x2599, 0x2039, | 717 | 0xffcf, 0x86ff, 0x0040, 0x24cd, 0xc0ad, 0x7812, 0x2091, 0x8001, |
695 | 0x9674, 0x2734, 0x7d10, 0x0078, 0x2433, 0x6084, 0xa086, 0x0103, | 718 | 0x0078, 0x25e0, 0x2091, 0x8000, 0x7007, 0x0004, 0x7994, 0x70d4, |
696 | 0x00c0, 0x2474, 0x6114, 0x6018, 0xa105, 0x0040, 0x242c, 0x86ff, | 719 | 0xa102, 0x0048, 0x24e3, 0x0040, 0x24ed, 0x7b90, 0xa302, 0x00c0, |
697 | 0x00c0, 0x2444, 0x0078, 0x2474, 0xa680, 0x9655, 0x620c, 0x2202, | 720 | 0x24ed, 0x0078, 0x24e6, 0x8002, 0x00c0, 0x24ed, 0x263a, 0x7810, |
698 | 0x1078, 0x203f, 0x8630, 0xa68e, 0x001e, 0x0040, 0x248b, 0x786c, | 721 | 0xc0ad, 0x7812, 0x2091, 0x8001, 0x007c, 0xa184, 0xff00, 0x0040, |
699 | 0xa065, 0x00c0, 0x241d, 0x7808, 0xa602, 0x00c8, 0x2444, 0xd5ac, | 722 | 0x24fa, 0x810f, 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, 0xa100, |
700 | 0x00c0, 0x2444, 0x263a, 0x007c, 0xa682, 0x0006, 0x00c8, 0x248b, | 723 | 0x0078, 0x24fd, 0x8107, 0x8004, 0x8004, 0x7a9c, 0xa210, 0x721a, |
701 | 0x2091, 0x8000, 0x2069, 0x0000, 0x6818, 0xd084, 0x00c0, 0x246f, | 724 | 0x7a98, 0xa006, 0xa211, 0x721e, 0xd4c4, 0x0040, 0x250d, 0x7aa4, |
702 | 0x2011, 0x9655, 0x2009, 0x964e, 0x26a8, 0x211c, 0x2204, 0x201a, | 725 | 0xa211, 0x7222, 0x7aa0, 0xa211, 0x7226, 0x20a1, 0x0030, 0x7003, |
703 | 0x8108, 0x8210, 0x00f0, 0x2455, 0xa685, 0x8030, 0x70c2, 0x681b, | 726 | 0x0000, 0x2009, 0x9754, 0x260a, 0x8109, 0x2198, 0x2104, 0xd084, |
704 | 0x0001, 0x2091, 0x4080, 0x7810, 0xa084, 0xffcf, 0x7812, 0x2091, | 727 | 0x0040, 0x251b, 0x8633, 0xa6b0, 0x0002, 0x26a8, 0x53a6, 0x8603, |
705 | 0x8001, 0xa006, 0x2009, 0x9675, 0x200a, 0x203a, 0x007c, 0x7810, | 728 | 0x7012, 0x7007, 0x0001, 0x7990, 0x7894, 0x8000, 0xa10a, 0x00c8, |
706 | 0xc0ad, 0x7812, 0x0078, 0x248b, 0x263a, 0x1078, 0x2576, 0x00c0, | 729 | 0x252a, 0xa006, 0x2028, 0x7974, 0xa184, 0xff00, 0x0040, 0x2539, |
707 | 0x2599, 0x786c, 0xa065, 0x00c0, 0x241d, 0x2091, 0x8000, 0x7810, | 730 | 0x810f, 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, 0xa100, 0x0078, |
708 | 0xa084, 0xffcf, 0x86ff, 0x0040, 0x2486, 0xc0ad, 0x7812, 0x2091, | 731 | 0x253c, 0x8107, 0x8004, 0x8004, 0x797c, 0xa108, 0x7a78, 0xa006, |
709 | 0x8001, 0x0078, 0x2599, 0x2091, 0x8000, 0x7007, 0x0004, 0x7994, | 732 | 0xa211, 0xd4c4, 0x0040, 0x2548, 0x7b84, 0xa319, 0x7c80, 0xa421, |
710 | 0x70d4, 0xa102, 0x0048, 0x249c, 0x0040, 0x24a6, 0x7b90, 0xa302, | 733 | 0x7008, 0xd0fc, 0x0040, 0x2548, 0xa084, 0x01e0, 0x0040, 0x256d, |
711 | 0x00c0, 0x24a6, 0x0078, 0x249f, 0x8002, 0x00c0, 0x24a6, 0x263a, | 734 | 0x7d10, 0x2031, 0x9754, 0x2634, 0x78a8, 0x8000, 0x78aa, 0xd08c, |
712 | 0x7810, 0xc0ad, 0x7812, 0x2091, 0x8001, 0x007c, 0xa184, 0xff00, | 735 | 0x00c0, 0x2562, 0x7007, 0x0006, 0x7004, 0xd094, 0x00c0, 0x255c, |
713 | 0x0040, 0x24b3, 0x810f, 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, | 736 | 0x0078, 0x24d4, 0x2069, 0x4f47, 0x206b, 0x0003, 0x78ac, 0xa085, |
714 | 0xa100, 0x0078, 0x24b6, 0x8107, 0x8004, 0x8004, 0x7a9c, 0xa210, | 737 | 0x0300, 0x78ae, 0xa006, 0x0078, 0x2576, 0x2030, 0x75d6, 0x2091, |
715 | 0x721a, 0x7a98, 0xa006, 0xa211, 0x721e, 0xd4c4, 0x0040, 0x24c6, | 738 | 0x4080, 0x7d96, 0x7d10, 0xa5ac, 0xffcf, 0x7d12, 0x2091, 0x8001, |
716 | 0x7aa4, 0xa211, 0x7222, 0x7aa0, 0xa211, 0x7226, 0x20a1, 0x0030, | 739 | 0x78aa, 0x7007, 0x0006, 0x263a, 0x7003, 0x0001, 0x711a, 0x721e, |
717 | 0x7003, 0x0000, 0x2009, 0x9654, 0x260a, 0x8109, 0x2198, 0x2104, | 740 | 0xd5c4, 0x0040, 0x2585, 0x7322, 0x7426, 0x007c, 0x6084, 0xa086, |
718 | 0xd084, 0x0040, 0x24d4, 0x8633, 0xa6b0, 0x0002, 0x26a8, 0x53a6, | 741 | 0x0103, 0x00c0, 0x25a9, 0x6114, 0x6018, 0xa105, 0x00c0, 0x25a9, |
719 | 0x8603, 0x7012, 0x7007, 0x0001, 0x7990, 0x7894, 0x8000, 0xa10a, | 742 | 0x2069, 0x0000, 0x6818, 0xd084, 0x00c0, 0x25a9, 0x600c, 0x70c6, |
720 | 0x00c8, 0x24e3, 0xa006, 0x2028, 0x7974, 0xa184, 0xff00, 0x0040, | 743 | 0x6010, 0x70ca, 0x70c3, 0x8020, 0x681b, 0x0001, 0x2091, 0x4080, |
721 | 0x24f2, 0x810f, 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, 0xa100, | 744 | 0x1078, 0x2086, 0x0068, 0x25a8, 0x786c, 0xa065, 0x00c0, 0x2586, |
722 | 0x0078, 0x24f5, 0x8107, 0x8004, 0x8004, 0x797c, 0xa108, 0x7a78, | 745 | 0x007c, 0x1078, 0x25bd, 0x00c0, 0x25e0, 0x786c, 0xa065, 0x00c0, |
723 | 0xa006, 0xa211, 0xd4c4, 0x0040, 0x2501, 0x7b84, 0xa319, 0x7c80, | 746 | 0x2586, 0x0078, 0x25e0, 0x1078, 0x25bd, 0x00c0, 0x25e0, 0x786c, |
724 | 0xa421, 0x7008, 0xd0fc, 0x0040, 0x2501, 0xa084, 0x01e0, 0x0040, | 747 | 0xa065, 0x00c0, 0x25b3, 0x0078, 0x25e0, 0x6084, 0xa086, 0x0103, |
725 | 0x2526, 0x7d10, 0x2031, 0x9654, 0x2634, 0x78a8, 0x8000, 0x78aa, | 748 | 0x00c0, 0x25d1, 0x6018, 0xc0fc, 0x601a, 0xa086, 0x0004, 0x00c0, |
726 | 0xd08c, 0x00c0, 0x251b, 0x7007, 0x0006, 0x7004, 0xd094, 0x00c0, | 749 | 0x25d1, 0x7804, 0xd0a4, 0x0040, 0x25d1, 0x1078, 0x2086, 0xa006, |
727 | 0x2515, 0x0078, 0x248d, 0x2069, 0x4e47, 0x206b, 0x0003, 0x78ac, | 750 | 0x007c, 0x1078, 0x25e6, 0x00c0, 0x25d8, 0xa085, 0x0001, 0x007c, |
728 | 0xa085, 0x0300, 0x78ae, 0xa006, 0x0078, 0x252f, 0x2030, 0x75d6, | 751 | 0x1078, 0x25f5, 0x00c0, 0x25de, 0x2041, 0x0001, 0x7d10, 0x007c, |
729 | 0x2091, 0x4080, 0x7d96, 0x7d10, 0xa5ac, 0xffcf, 0x7d12, 0x2091, | 752 | 0x88ff, 0x0040, 0x25e5, 0x2091, 0x4080, 0x007c, 0x7b90, 0x7994, |
730 | 0x8001, 0x78aa, 0x7007, 0x0006, 0x263a, 0x7003, 0x0001, 0x711a, | 753 | 0x70d4, 0xa102, 0x00c0, 0x25ef, 0xa385, 0x0000, 0x007c, 0x0048, |
731 | 0x721e, 0xd5c4, 0x0040, 0x253e, 0x7322, 0x7426, 0x007c, 0x6084, | 754 | 0x25f3, 0xa302, 0x007c, 0x8002, 0x007c, 0x7810, 0xd0ec, 0x0040, |
732 | 0xa086, 0x0103, 0x00c0, 0x2562, 0x6114, 0x6018, 0xa105, 0x00c0, | 755 | 0x260d, 0x0e7e, 0x2091, 0x8000, 0x2071, 0x0020, 0x7004, 0xa005, |
733 | 0x2562, 0x2069, 0x0000, 0x6818, 0xd084, 0x00c0, 0x2562, 0x600c, | 756 | 0x00c0, 0x260a, 0x7008, 0x0e7f, 0xa086, 0x0008, 0x0040, 0x260d, |
734 | 0x70c6, 0x6010, 0x70ca, 0x70c3, 0x8020, 0x681b, 0x0001, 0x2091, | 757 | 0x0078, 0x265e, 0x0e7f, 0x0078, 0x265e, 0xa184, 0xff00, 0x0040, |
735 | 0x4080, 0x1078, 0x203f, 0x0068, 0x2561, 0x786c, 0xa065, 0x00c0, | 758 | 0x261a, 0x810f, 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, 0xa100, |
736 | 0x253f, 0x007c, 0x1078, 0x2576, 0x00c0, 0x2599, 0x786c, 0xa065, | 759 | 0x0078, 0x261d, 0x8107, 0x8004, 0x8004, 0x7a9c, 0x7b98, 0x7ca4, |
737 | 0x00c0, 0x253f, 0x0078, 0x2599, 0x1078, 0x2576, 0x00c0, 0x2599, | 760 | 0x7da0, 0xa210, 0xa006, 0xa319, 0xa421, 0xa529, 0x2009, 0x0018, |
738 | 0x786c, 0xa065, 0x00c0, 0x256c, 0x0078, 0x2599, 0x6084, 0xa086, | 761 | 0x6028, 0xa005, 0x0040, 0x262e, 0x2009, 0x0040, 0x1078, 0x1dbb, |
739 | 0x0103, 0x00c0, 0x258a, 0x6018, 0xc0fc, 0x601a, 0xa086, 0x0004, | 762 | 0x0040, 0x2650, 0x78a8, 0x8000, 0x78aa, 0xd08c, 0x00c0, 0x265e, |
740 | 0x00c0, 0x258a, 0x7804, 0xd0a4, 0x0040, 0x258a, 0x1078, 0x203f, | 763 | 0x6014, 0xd0fc, 0x00c0, 0x2640, 0x2069, 0x4f40, 0x0078, 0x2642, |
741 | 0xa006, 0x007c, 0x1078, 0x259f, 0x00c0, 0x2591, 0xa085, 0x0001, | 764 | 0x2069, 0x4f80, 0x2091, 0x8000, 0x681f, 0x0003, 0x78ab, 0x0000, |
742 | 0x007c, 0x1078, 0x25ae, 0x00c0, 0x2597, 0x2041, 0x0001, 0x7d10, | 765 | 0x78ac, 0xa085, 0x0300, 0x78ae, 0x2091, 0x8001, 0x0078, 0x265e, |
743 | 0x007c, 0x88ff, 0x0040, 0x259e, 0x2091, 0x4080, 0x007c, 0x7b90, | 766 | 0x78ab, 0x0000, 0x1078, 0x2086, 0x7990, 0x7894, 0x8000, 0xa10a, |
744 | 0x7994, 0x70d4, 0xa102, 0x00c0, 0x25a8, 0xa385, 0x0000, 0x007c, | 767 | 0x00c8, 0x265b, 0xa006, 0x7896, 0x70d6, 0xa006, 0x2071, 0x0010, |
745 | 0x0048, 0x25ac, 0xa302, 0x007c, 0x8002, 0x007c, 0x7810, 0xd0ec, | 768 | 0x2091, 0x8001, 0x007c, 0xd7fc, 0x00c0, 0x266a, 0x2009, 0x4f59, |
746 | 0x0040, 0x25c6, 0x0e7e, 0x2091, 0x8000, 0x2071, 0x0020, 0x7004, | 769 | 0x0078, 0x266c, 0x2009, 0x4f99, 0x2091, 0x8000, 0x200a, 0x0f7e, |
747 | 0xa005, 0x00c0, 0x25c3, 0x7008, 0x0e7f, 0xa086, 0x0008, 0x0040, | 770 | 0xd7fc, 0x00c0, 0x2683, 0x2009, 0x4f40, 0x2001, 0x4f04, 0x2004, |
748 | 0x25c6, 0x0078, 0x2617, 0x0e7f, 0x0078, 0x2617, 0xa184, 0xff00, | 771 | 0xd0ec, 0x0040, 0x267f, 0x2079, 0x0100, 0x0078, 0x2687, 0x2079, |
749 | 0x0040, 0x25d3, 0x810f, 0x810c, 0x810c, 0x8004, 0x8004, 0x8007, | 772 | 0x0200, 0x0078, 0x2687, 0x2009, 0x4f80, 0x2079, 0x0100, 0x2104, |
750 | 0xa100, 0x0078, 0x25d6, 0x8107, 0x8004, 0x8004, 0x7a9c, 0x7b98, | 773 | 0xa086, 0x0000, 0x00c0, 0x26a0, 0xd7fc, 0x00c0, 0x2693, 0x2009, |
751 | 0x7ca4, 0x7da0, 0xa210, 0xa006, 0xa319, 0xa421, 0xa529, 0x2009, | 774 | 0x4f45, 0x0078, 0x2695, 0x2009, 0x4f85, 0x2104, 0xa005, 0x00c0, |
752 | 0x0018, 0x6028, 0xa005, 0x0040, 0x25e7, 0x2009, 0x0040, 0x1078, | 775 | 0x26a0, 0x7830, 0xa084, 0x00c0, 0x00c0, 0x26a0, 0x781b, 0x0045, |
753 | 0x1d74, 0x0040, 0x2609, 0x78a8, 0x8000, 0x78aa, 0xd08c, 0x00c0, | 776 | 0x0f7f, 0x007c, 0x2009, 0x0002, 0x2069, 0x4f00, 0x6810, 0xd0ec, |
754 | 0x2617, 0x6014, 0xd0fc, 0x00c0, 0x25f9, 0x2069, 0x4e40, 0x0078, | 777 | 0x00c0, 0x270f, 0x2071, 0x4f80, 0x2079, 0x0100, 0x2021, 0x51bf, |
755 | 0x25fb, 0x2069, 0x4e80, 0x2091, 0x8000, 0x681f, 0x0003, 0x78ab, | 778 | 0x784b, 0x000f, 0x2019, 0x44a7, 0xd184, 0x0040, 0x26c3, 0x6810, |
756 | 0x0000, 0x78ac, 0xa085, 0x0300, 0x78ae, 0x2091, 0x8001, 0x0078, | 779 | 0xd0ec, 0x0040, 0x26bf, 0x20a1, 0x012b, 0x0078, 0x26c5, 0x20a1, |
757 | 0x2617, 0x78ab, 0x0000, 0x1078, 0x203f, 0x7990, 0x7894, 0x8000, | 780 | 0x022b, 0x0078, 0x26c5, 0x20a1, 0x012b, 0x2304, 0xa005, 0x0040, |
758 | 0xa10a, 0x00c8, 0x2614, 0xa006, 0x7896, 0x70d6, 0xa006, 0x2071, | 781 | 0x26d2, 0x789a, 0x8318, 0x23ac, 0x8318, 0x2398, 0x53a6, 0x3318, |
759 | 0x0010, 0x2091, 0x8001, 0x007c, 0xd7fc, 0x00c0, 0x2623, 0x2009, | 782 | 0x0078, 0x26c5, 0x789b, 0x0020, 0x20a9, 0x0010, 0x6814, 0xd0e4, |
760 | 0x4e59, 0x0078, 0x2625, 0x2009, 0x4e99, 0x2091, 0x8000, 0x200a, | 783 | 0x0040, 0x26e2, 0x78af, 0x0000, 0x78af, 0x9020, 0x00f0, 0x26da, |
761 | 0x0f7e, 0xd7fc, 0x00c0, 0x263c, 0x2009, 0x4e40, 0x2001, 0x4e04, | 784 | 0x0078, 0x26e8, 0x78af, 0x0000, 0x78af, 0x8020, 0x00f0, 0x26e2, |
762 | 0x2004, 0xd0ec, 0x0040, 0x2638, 0x2079, 0x0100, 0x0078, 0x2640, | 785 | 0x7003, 0x0000, 0x017e, 0xd18c, 0x2009, 0x0000, 0x0040, 0x26f1, |
763 | 0x2079, 0x0200, 0x0078, 0x2640, 0x2009, 0x4e80, 0x2079, 0x0100, | 786 | 0xc1bd, 0x1078, 0x28e2, 0x017f, 0x7020, 0xa084, 0x000f, 0x007e, |
764 | 0x2104, 0xa086, 0x0000, 0x00c0, 0x2659, 0xd7fc, 0x00c0, 0x264c, | 787 | 0x6814, 0xd0e4, 0x007f, 0x00c0, 0x2701, 0xa085, 0x6340, 0x0078, |
765 | 0x2009, 0x4e45, 0x0078, 0x264e, 0x2009, 0x4e85, 0x2104, 0xa005, | 788 | 0x2703, 0xa085, 0x62c0, 0x7806, 0x780f, 0x9200, 0x7843, 0x00d8, |
766 | 0x00c0, 0x2659, 0x7830, 0xa084, 0x00c0, 0x00c0, 0x2659, 0x781b, | 789 | 0x7853, 0x0080, 0x780b, 0x0008, 0x7456, 0x7053, 0x0000, 0x8109, |
767 | 0x0045, 0x0f7f, 0x007c, 0x2009, 0x0002, 0x2069, 0x4e00, 0x6810, | 790 | 0x0040, 0x2722, 0x2071, 0x4f40, 0x6810, 0xd0ec, 0x0040, 0x271c, |
768 | 0xd0ec, 0x00c0, 0x26c8, 0x2071, 0x4e80, 0x2079, 0x0100, 0x2021, | 791 | 0x2079, 0x0100, 0x0078, 0x271e, 0x2079, 0x0200, 0x2021, 0x4fbf, |
769 | 0x50bf, 0x784b, 0x000f, 0x2019, 0x4457, 0xd184, 0x0040, 0x267c, | 792 | 0x0078, 0x26b0, 0x007c, 0x017e, 0xd1bc, 0x00c0, 0x2737, 0x007e, |
770 | 0x6810, 0xd0ec, 0x0040, 0x2678, 0x20a1, 0x012b, 0x0078, 0x267e, | 793 | 0x2001, 0x4f04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x2733, 0x2011, |
771 | 0x20a1, 0x022b, 0x0078, 0x267e, 0x20a1, 0x012b, 0x2304, 0xa005, | 794 | 0x0101, 0x0078, 0x2739, 0x2011, 0x0201, 0x0078, 0x2739, 0x2011, |
772 | 0x0040, 0x268b, 0x789a, 0x8318, 0x23ac, 0x8318, 0x2398, 0x53a6, | 795 | 0x0101, 0xa18c, 0x000f, 0x2204, 0xa084, 0xfff0, 0xa105, 0x2012, |
773 | 0x3318, 0x0078, 0x267e, 0x789b, 0x0020, 0x20a9, 0x0010, 0x6814, | 796 | 0x017f, 0x1078, 0x28e2, 0x007c, 0xd3fc, 0x00c0, 0x2757, 0x007e, |
774 | 0xd0e4, 0x0040, 0x269b, 0x78af, 0x0000, 0x78af, 0x9020, 0x00f0, | 797 | 0x2001, 0x4f04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x2753, 0x2011, |
775 | 0x2693, 0x0078, 0x26a1, 0x78af, 0x0000, 0x78af, 0x8020, 0x00f0, | 798 | 0x0101, 0x0078, 0x2759, 0x2011, 0x0201, 0x0078, 0x2759, 0x2011, |
776 | 0x269b, 0x7003, 0x0000, 0x017e, 0xd18c, 0x2009, 0x0000, 0x0040, | 799 | 0x0101, 0x20a9, 0x0009, 0x810b, 0x00f0, 0x275b, 0xa18c, 0x0e00, |
777 | 0x26aa, 0xc1bd, 0x1078, 0x289b, 0x017f, 0x7020, 0xa084, 0x000f, | 800 | 0x2204, 0xa084, 0xf1ff, 0xa105, 0x2012, 0x007c, 0x2019, 0x0002, |
778 | 0x007e, 0x6814, 0xd0e4, 0x007f, 0x00c0, 0x26ba, 0xa085, 0x6340, | 801 | 0x2001, 0x4f04, 0x2004, 0xd0ec, 0x0040, 0x2773, 0x8319, 0x2009, |
779 | 0x0078, 0x26bc, 0xa085, 0x62c0, 0x7806, 0x780f, 0x9200, 0x7843, | 802 | 0x0101, 0x0078, 0x2775, 0x2009, 0x0101, 0x20a9, 0x0005, 0x8213, |
780 | 0x00d8, 0x7853, 0x0080, 0x780b, 0x0008, 0x7456, 0x7053, 0x0000, | 803 | 0x00f0, 0x2777, 0xa294, 0x00e0, 0x2104, 0xa084, 0xff1f, 0xa205, |
781 | 0x8109, 0x0040, 0x26db, 0x2071, 0x4e40, 0x6810, 0xd0ec, 0x0040, | 804 | 0x200a, 0x8319, 0x0040, 0x2788, 0x2009, 0x0201, 0x0078, 0x2775, |
782 | 0x26d5, 0x2079, 0x0100, 0x0078, 0x26d7, 0x2079, 0x0200, 0x2021, | 805 | 0x007c, 0xd3fc, 0x00c0, 0x279c, 0x007e, 0x2001, 0x4f04, 0x2004, |
783 | 0x4ebf, 0x0078, 0x2669, 0x007c, 0x017e, 0xd1bc, 0x00c0, 0x26f0, | 806 | 0xd0ec, 0x007f, 0x0040, 0x2798, 0x2011, 0x0101, 0x0078, 0x279e, |
784 | 0x007e, 0x2001, 0x4e04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x26ec, | 807 | 0x2011, 0x0201, 0x0078, 0x279e, 0x2011, 0x0101, 0x20a9, 0x000c, |
785 | 0x2011, 0x0101, 0x0078, 0x26f2, 0x2011, 0x0201, 0x0078, 0x26f2, | 808 | 0x810b, 0x00f0, 0x27a0, 0xa18c, 0xf000, 0x2204, 0xa084, 0x0fff, |
786 | 0x2011, 0x0101, 0xa18c, 0x000f, 0x2204, 0xa084, 0xfff0, 0xa105, | 809 | 0xa105, 0x2012, 0x007c, 0xd3fc, 0x00c0, 0x27be, 0x007e, 0x2001, |
787 | 0x2012, 0x017f, 0x1078, 0x289b, 0x007c, 0xd3fc, 0x00c0, 0x2710, | 810 | 0x4f04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x27ba, 0x2011, 0x0102, |
788 | 0x007e, 0x2001, 0x4e04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x270c, | 811 | 0x0078, 0x27c0, 0x2011, 0x0202, 0x0078, 0x27c0, 0x2011, 0x0102, |
789 | 0x2011, 0x0101, 0x0078, 0x2712, 0x2011, 0x0201, 0x0078, 0x2712, | 812 | 0x2204, 0xa084, 0xffcf, 0xa105, 0x2012, 0x007c, 0x0c7e, 0xd1bc, |
790 | 0x2011, 0x0101, 0x20a9, 0x0009, 0x810b, 0x00f0, 0x2714, 0xa18c, | 813 | 0x00c0, 0x27da, 0x007e, 0x2001, 0x4f04, 0x2004, 0xd0ec, 0x007f, |
791 | 0x0e00, 0x2204, 0xa084, 0xf1ff, 0xa105, 0x2012, 0x007c, 0x2019, | 814 | 0x0040, 0x27d6, 0x2061, 0x0100, 0x0078, 0x27dc, 0x2061, 0x0200, |
792 | 0x0002, 0x2001, 0x4e04, 0x2004, 0xd0ec, 0x0040, 0x272c, 0x8319, | 815 | 0x0078, 0x27dc, 0x2061, 0x0100, 0xc1bc, 0x8103, 0x8003, 0xa080, |
793 | 0x2009, 0x0101, 0x0078, 0x272e, 0x2009, 0x0101, 0x20a9, 0x0005, | 816 | 0x0020, 0x609a, 0x62ac, 0x63ac, 0x0c7f, 0x007c, 0x0c7e, 0xd1bc, |
794 | 0x8213, 0x00f0, 0x2730, 0xa294, 0x00e0, 0x2104, 0xa084, 0xff1f, | 817 | 0x00c0, 0x27fa, 0x007e, 0x2001, 0x4f04, 0x2004, 0xd0ec, 0x007f, |
795 | 0xa205, 0x200a, 0x8319, 0x0040, 0x2741, 0x2009, 0x0201, 0x0078, | 818 | 0x0040, 0x27f6, 0x2061, 0x0100, 0x0078, 0x27fc, 0x2061, 0x0200, |
796 | 0x272e, 0x007c, 0xd3fc, 0x00c0, 0x2755, 0x007e, 0x2001, 0x4e04, | 819 | 0x0078, 0x27fc, 0x2061, 0x0100, 0xc1bc, 0x8103, 0x8003, 0xa080, |
797 | 0x2004, 0xd0ec, 0x007f, 0x0040, 0x2751, 0x2011, 0x0101, 0x0078, | 820 | 0x0022, 0x609a, 0x60a4, 0xa084, 0xffdf, 0x60ae, 0x0c7f, 0x007c, |
798 | 0x2757, 0x2011, 0x0201, 0x0078, 0x2757, 0x2011, 0x0101, 0x20a9, | 821 | 0x0c7e, 0xd1bc, 0x00c0, 0x281c, 0x007e, 0x2001, 0x4f04, 0x2004, |
799 | 0x000c, 0x810b, 0x00f0, 0x2759, 0xa18c, 0xf000, 0x2204, 0xa084, | 822 | 0xd0ec, 0x007f, 0x0040, 0x2818, 0x2061, 0x0100, 0x0078, 0x281e, |
800 | 0x0fff, 0xa105, 0x2012, 0x007c, 0xd3fc, 0x00c0, 0x2777, 0x007e, | 823 | 0x2061, 0x0200, 0x0078, 0x281e, 0x2061, 0x0100, 0xc1bc, 0x8103, |
801 | 0x2001, 0x4e04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x2773, 0x2011, | 824 | 0x8003, 0xa080, 0x0022, 0x609a, 0x60a4, 0xa085, 0x0020, 0x60ae, |
802 | 0x0102, 0x0078, 0x2779, 0x2011, 0x0202, 0x0078, 0x2779, 0x2011, | 825 | 0x0c7f, 0x007c, 0x0c7e, 0xd1bc, 0x00c0, 0x283e, 0x007e, 0x2001, |
803 | 0x0102, 0x2204, 0xa084, 0xffcf, 0xa105, 0x2012, 0x007c, 0x0c7e, | 826 | 0x4f04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x283a, 0x2061, 0x0100, |
804 | 0xd1bc, 0x00c0, 0x2793, 0x007e, 0x2001, 0x4e04, 0x2004, 0xd0ec, | 827 | 0x0078, 0x2840, 0x2061, 0x0200, 0x0078, 0x2840, 0x2061, 0x0100, |
805 | 0x007f, 0x0040, 0x278f, 0x2061, 0x0100, 0x0078, 0x2795, 0x2061, | 828 | 0xc1bc, 0x8103, 0x8003, 0xa080, 0x0020, 0x609a, 0x60a4, 0xa28c, |
806 | 0x0200, 0x0078, 0x2795, 0x2061, 0x0100, 0xc1bc, 0x8103, 0x8003, | 829 | 0x0020, 0x0040, 0x284e, 0xc2ac, 0xa39d, 0x4000, 0xc3fc, 0xd3b4, |
807 | 0xa080, 0x0020, 0x609a, 0x62ac, 0x63ac, 0x0c7f, 0x007c, 0x0c7e, | 830 | 0x00c0, 0x2853, 0xc3fd, 0x62ae, 0x2010, 0x60a4, 0x63ae, 0x2018, |
808 | 0xd1bc, 0x00c0, 0x27b3, 0x007e, 0x2001, 0x4e04, 0x2004, 0xd0ec, | 831 | 0x0c7f, 0x007c, 0x2091, 0x8000, 0x0c7e, 0x0e7e, 0x6818, 0xa005, |
809 | 0x007f, 0x0040, 0x27af, 0x2061, 0x0100, 0x0078, 0x27b5, 0x2061, | 832 | 0x0040, 0x28c0, 0xd1fc, 0x0040, 0x2869, 0x2061, 0x96d0, 0x0078, |
810 | 0x0200, 0x0078, 0x27b5, 0x2061, 0x0100, 0xc1bc, 0x8103, 0x8003, | 833 | 0x286b, 0x2061, 0x95c0, 0x1078, 0x28c8, 0x0040, 0x28a2, 0x20a9, |
811 | 0xa080, 0x0022, 0x609a, 0x60a4, 0xa084, 0xffdf, 0x60ae, 0x0c7f, | 834 | 0x0101, 0xd1fc, 0x0040, 0x2878, 0x2061, 0x95d0, 0x0078, 0x287a, |
812 | 0x007c, 0x0c7e, 0xd1bc, 0x00c0, 0x27d5, 0x007e, 0x2001, 0x4e04, | 835 | 0x2061, 0x94c0, 0x0c7e, 0x1078, 0x28c8, 0x0040, 0x2885, 0x0c7f, |
813 | 0x2004, 0xd0ec, 0x007f, 0x0040, 0x27d1, 0x2061, 0x0100, 0x0078, | 836 | 0x8c60, 0x00f0, 0x287a, 0x0078, 0x28c0, 0x007f, 0xd1fc, 0x0040, |
814 | 0x27d7, 0x2061, 0x0200, 0x0078, 0x27d7, 0x2061, 0x0100, 0xc1bc, | 837 | 0x288f, 0xa082, 0x95d0, 0x2071, 0x4f80, 0x0078, 0x2893, 0xa082, |
815 | 0x8103, 0x8003, 0xa080, 0x0022, 0x609a, 0x60a4, 0xa085, 0x0020, | 838 | 0x94c0, 0x2071, 0x4f40, 0x707a, 0x7176, 0x2138, 0x2001, 0x0004, |
816 | 0x60ae, 0x0c7f, 0x007c, 0x0c7e, 0xd1bc, 0x00c0, 0x27f7, 0x007e, | 839 | 0x7066, 0x7083, 0x000f, 0x71d4, 0xc1dc, 0x71d6, 0x1078, 0x2663, |
817 | 0x2001, 0x4e04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x27f3, 0x2061, | 840 | 0x0078, 0x28bc, 0xd1fc, 0x00c0, 0x28a9, 0x2071, 0x4f40, 0x0078, |
818 | 0x0100, 0x0078, 0x27f9, 0x2061, 0x0200, 0x0078, 0x27f9, 0x2061, | 841 | 0x28ab, 0x2071, 0x4f80, 0x6020, 0xc0dd, 0x6022, 0x7176, 0x2138, |
819 | 0x0100, 0xc1bc, 0x8103, 0x8003, 0xa080, 0x0020, 0x609a, 0x60a4, | 842 | 0x2c00, 0x707e, 0x2001, 0x0006, 0x7066, 0x7083, 0x000f, 0x71d4, |
820 | 0xa28c, 0x0020, 0x0040, 0x2807, 0xc2ac, 0xa39d, 0x4000, 0xc3fc, | 843 | 0xc1dc, 0x71d6, 0x1078, 0x2663, 0x2001, 0x0000, 0x0078, 0x28c2, |
821 | 0xd3b4, 0x00c0, 0x280c, 0xc3fd, 0x62ae, 0x2010, 0x60a4, 0x63ae, | 844 | 0x2001, 0x0001, 0x2091, 0x8001, 0xa005, 0x0e7f, 0x0c7f, 0x007c, |
822 | 0x2018, 0x0c7f, 0x007c, 0x2091, 0x8000, 0x0c7e, 0x0e7e, 0x6818, | 845 | 0x2c04, 0xa005, 0x0040, 0x28df, 0x2060, 0x6010, 0xa306, 0x00c0, |
823 | 0xa005, 0x0040, 0x2879, 0xd1fc, 0x0040, 0x2822, 0x2061, 0x95d0, | 846 | 0x28dc, 0x600c, 0xa206, 0x00c0, 0x28dc, 0x6014, 0xa106, 0x00c0, |
824 | 0x0078, 0x2824, 0x2061, 0x94c0, 0x1078, 0x2881, 0x0040, 0x285b, | 847 | 0x28dc, 0xa006, 0x0078, 0x28e1, 0x6000, 0x0078, 0x28c9, 0xa085, |
825 | 0x20a9, 0x0101, 0xd1fc, 0x0040, 0x2831, 0x2061, 0x94d0, 0x0078, | 848 | 0x0001, 0x007c, 0x0f7e, 0x0e7e, 0x017e, 0xd1bc, 0x00c0, 0x28fa, |
826 | 0x2833, 0x2061, 0x93c0, 0x0c7e, 0x1078, 0x2881, 0x0040, 0x283e, | 849 | 0x2079, 0x4f40, 0x007e, 0x2001, 0x4f04, 0x2004, 0xd0ec, 0x007f, |
827 | 0x0c7f, 0x8c60, 0x00f0, 0x2833, 0x0078, 0x2879, 0x007f, 0xd1fc, | 850 | 0x0040, 0x28f6, 0x2071, 0x0100, 0x0078, 0x28fe, 0x2071, 0x0200, |
828 | 0x0040, 0x2848, 0xa082, 0x94d0, 0x2071, 0x4e80, 0x0078, 0x284c, | 851 | 0x0078, 0x28fe, 0x2079, 0x4f80, 0x2071, 0x0100, 0x7920, 0xa18c, |
829 | 0xa082, 0x93c0, 0x2071, 0x4e40, 0x707a, 0x7176, 0x2138, 0x2001, | 852 | 0x000f, 0x70ec, 0xd0c4, 0x00c0, 0x2908, 0x017f, 0x0078, 0x2923, |
830 | 0x0004, 0x7066, 0x7083, 0x000f, 0x71d4, 0xc1dc, 0x71d6, 0x1078, | 853 | 0x810b, 0x810b, 0x810b, 0x810b, 0x007f, 0xd0bc, 0x00c0, 0x2920, |
831 | 0x261c, 0x0078, 0x2875, 0xd1fc, 0x00c0, 0x2862, 0x2071, 0x4e40, | 854 | 0x007e, 0x2001, 0x4f04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x291c, |
832 | 0x0078, 0x2864, 0x2071, 0x4e80, 0x6020, 0xc0dd, 0x6022, 0x7176, | 855 | 0xa18d, 0x0f00, 0x0078, 0x2922, 0xa18d, 0x0f00, 0x0078, 0x2922, |
833 | 0x2138, 0x2c00, 0x707e, 0x2001, 0x0006, 0x7066, 0x7083, 0x000f, | 856 | 0xa18d, 0x0800, 0x2104, 0x0e7f, 0x0f7f, 0x007c, 0x0e7e, 0x2001, |
834 | 0x71d4, 0xc1dc, 0x71d6, 0x1078, 0x261c, 0x2001, 0x0000, 0x0078, | 857 | 0x4f01, 0x2004, 0xd0ac, 0x00c0, 0x29a3, 0x68e4, 0xd0ac, 0x0040, |
835 | 0x287b, 0x2001, 0x0001, 0x2091, 0x8001, 0xa005, 0x0e7f, 0x0c7f, | 858 | 0x29a3, 0xa084, 0x0006, 0x00c0, 0x29a3, 0x6014, 0xd0fc, 0x00c0, |
836 | 0x007c, 0x2c04, 0xa005, 0x0040, 0x2898, 0x2060, 0x6010, 0xa306, | 859 | 0x293d, 0x2071, 0x53c0, 0x0078, 0x293f, 0x2071, 0x5440, 0x8007, |
837 | 0x00c0, 0x2895, 0x600c, 0xa206, 0x00c0, 0x2895, 0x6014, 0xa106, | 860 | 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xae70, 0x7004, 0xa084, |
838 | 0x00c0, 0x2895, 0xa006, 0x0078, 0x289a, 0x6000, 0x0078, 0x2882, | 861 | 0x000a, 0x00c0, 0x29a3, 0x7108, 0xa194, 0xff00, 0x0040, 0x29a3, |
839 | 0xa085, 0x0001, 0x007c, 0x0f7e, 0x0e7e, 0x017e, 0xd1bc, 0x00c0, | 862 | 0xa18c, 0x00ff, 0x2001, 0x000a, 0xa106, 0x0040, 0x2972, 0x2001, |
840 | 0x28b3, 0x2079, 0x4e40, 0x007e, 0x2001, 0x4e04, 0x2004, 0xd0ec, | 863 | 0x000c, 0xa106, 0x0040, 0x2976, 0x2001, 0x0012, 0xa106, 0x0040, |
841 | 0x007f, 0x0040, 0x28af, 0x2071, 0x0100, 0x0078, 0x28b7, 0x2071, | 864 | 0x297a, 0x2001, 0x0014, 0xa106, 0x0040, 0x297e, 0x2001, 0x0019, |
842 | 0x0200, 0x0078, 0x28b7, 0x2079, 0x4e80, 0x2071, 0x0100, 0x7920, | 865 | 0xa106, 0x0040, 0x2982, 0x2001, 0x0032, 0xa106, 0x0040, 0x2986, |
843 | 0xa18c, 0x000f, 0x70ec, 0xd0c4, 0x00c0, 0x28c1, 0x017f, 0x0078, | 866 | 0x0078, 0x298a, 0x2009, 0x000c, 0x0078, 0x298c, 0x2009, 0x0012, |
844 | 0x28dc, 0x810b, 0x810b, 0x810b, 0x810b, 0x007f, 0xd0bc, 0x00c0, | 867 | 0x0078, 0x298c, 0x2009, 0x0014, 0x0078, 0x298c, 0x2009, 0x0019, |
845 | 0x28d9, 0x007e, 0x2001, 0x4e04, 0x2004, 0xd0ec, 0x007f, 0x0040, | 868 | 0x0078, 0x298c, 0x2009, 0x0020, 0x0078, 0x298c, 0x2009, 0x003f, |
846 | 0x28d5, 0xa18d, 0x0f00, 0x0078, 0x28db, 0xa18d, 0x0f00, 0x0078, | 869 | 0x0078, 0x298c, 0x2011, 0x0000, 0x2100, 0xa205, 0x700a, 0x2071, |
847 | 0x28db, 0xa18d, 0x0800, 0x2104, 0x0e7f, 0x0f7f, 0x007c, 0x0e7e, | 870 | 0x4f00, 0x7004, 0xd0bc, 0x0040, 0x29a3, 0x6014, 0xd0fc, 0x00c0, |
848 | 0x2001, 0x4e01, 0x2004, 0xd0ac, 0x00c0, 0x295c, 0x68e4, 0xd0ac, | 871 | 0x299e, 0x70ea, 0x2071, 0x4f40, 0x0078, 0x29a1, 0x70ee, 0x2071, |
849 | 0x0040, 0x295c, 0xa084, 0x0006, 0x00c0, 0x295c, 0x6014, 0xd0fc, | 872 | 0x4f80, 0x701f, 0x000d, 0x0e7f, 0x007c, 0x2001, 0x4f05, 0x2004, |
850 | 0x00c0, 0x28f6, 0x2071, 0x52c0, 0x0078, 0x28f8, 0x2071, 0x5340, | 873 | 0xd0e4, 0x00c0, 0x29b1, 0x7804, 0xa084, 0xff1f, 0xa085, 0x6340, |
851 | 0x8007, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, 0xae70, 0x7004, | 874 | 0x7806, 0x007c, 0x0068, 0x29b2, 0x2091, 0x8000, 0x2071, 0x0000, |
852 | 0xa084, 0x000a, 0x00c0, 0x295c, 0x7108, 0xa194, 0xff00, 0x0040, | 875 | 0x007e, 0x7018, 0xd084, 0x00c0, 0x29b9, 0x007f, 0x2071, 0x0010, |
853 | 0x295c, 0xa18c, 0x00ff, 0x2001, 0x000a, 0xa106, 0x0040, 0x292b, | 876 | 0x70ca, 0x007f, 0x70c6, 0x70c3, 0x8002, 0x70db, 0x080f, 0x70df, |
854 | 0x2001, 0x000c, 0xa106, 0x0040, 0x292f, 0x2001, 0x0012, 0xa106, | 877 | 0x000b, 0x2071, 0x0000, 0x701b, 0x0001, 0x2091, 0x4080, 0x0078, |
855 | 0x0040, 0x2933, 0x2001, 0x0014, 0xa106, 0x0040, 0x2937, 0x2001, | 878 | 0x29cf, 0x7f3c, 0x7e58, 0x7c30, 0x7d38, 0x78a0, 0x708e, 0x7592, |
856 | 0x0019, 0xa106, 0x0040, 0x293b, 0x2001, 0x0032, 0xa106, 0x0040, | 879 | 0x7496, 0x769a, 0x779e, 0xa594, 0x003f, 0xd4f4, 0x0040, 0x29e6, |
857 | 0x293f, 0x0078, 0x2943, 0x2009, 0x000c, 0x0078, 0x2945, 0x2009, | 880 | 0xa784, 0x007d, 0x00c0, 0x441d, 0x1078, 0x29b2, 0xa49c, 0x000f, |
858 | 0x0012, 0x0078, 0x2945, 0x2009, 0x0014, 0x0078, 0x2945, 0x2009, | 881 | 0xa382, 0x0004, 0x0050, 0x29f1, 0xa3a6, 0x0007, 0x00c0, 0x29b2, |
859 | 0x0019, 0x0078, 0x2945, 0x2009, 0x0020, 0x0078, 0x2945, 0x2009, | 882 | 0x2418, 0x8507, 0xa084, 0x000f, 0x0079, 0x29f6, 0x3071, 0x3162, |
860 | 0x003f, 0x0078, 0x2945, 0x2011, 0x0000, 0x2100, 0xa205, 0x700a, | 883 | 0x318d, 0x33ff, 0x37e8, 0x3862, 0x3917, 0x39a8, 0x3a96, 0x3b85, |
861 | 0x2071, 0x4e00, 0x7004, 0xd0bc, 0x0040, 0x295c, 0x6014, 0xd0fc, | 884 | 0x2a09, 0x2a06, 0x2e42, 0x2f65, 0x37b9, 0x2a06, 0x1078, 0x29b2, |
862 | 0x00c0, 0x2957, 0x70ea, 0x2071, 0x4e40, 0x0078, 0x295a, 0x70ee, | 885 | 0x007c, 0xa006, 0x0078, 0x2a13, 0x7808, 0xc08d, 0x780a, 0xa006, |
863 | 0x2071, 0x4e80, 0x701f, 0x000d, 0x0e7f, 0x007c, 0x2001, 0x4e05, | 886 | 0x7002, 0x704e, 0x7046, 0x70d2, 0x7060, 0xa005, 0x00c0, 0x2b79, |
864 | 0x2004, 0xd0e4, 0x00c0, 0x296a, 0x7804, 0xa084, 0xff1f, 0xa085, | 887 | 0x7064, 0xa084, 0x0007, 0x0079, 0x2a1d, 0x2a25, 0x2a98, 0x2aa1, |
865 | 0x6340, 0x7806, 0x007c, 0x0068, 0x296b, 0x2091, 0x8000, 0x2071, | 888 | 0x2aac, 0x2ab7, 0x2b5f, 0x2ac2, 0x2a98, 0x7830, 0xd0bc, 0x00c0, |
866 | 0x0000, 0x007e, 0x7018, 0xd084, 0x00c0, 0x2972, 0x007f, 0x2071, | 889 | 0x2a08, 0x71d4, 0xd1bc, 0x00c0, 0x2a08, 0xd1b4, 0x00c0, 0x2a75, |
867 | 0x0010, 0x70ca, 0x007f, 0x70c6, 0x70c3, 0x8002, 0x70db, 0x080f, | 890 | 0x70a4, 0xa086, 0x0001, 0x0040, 0x2a08, 0x70b4, 0xa06d, 0x6800, |
868 | 0x70df, 0x0000, 0x2071, 0x0000, 0x701b, 0x0001, 0x2091, 0x4080, | 891 | 0xa065, 0xa055, 0x789b, 0x0010, 0x6b0c, 0x7baa, 0x6808, 0xa045, |
869 | 0x0078, 0x2988, 0x7f3c, 0x7e58, 0x7c30, 0x7d38, 0x78a0, 0x708e, | 892 | 0x6d10, 0x6804, 0xa06d, 0xa05d, 0xa886, 0x0001, 0x0040, 0x2a4b, |
870 | 0x7592, 0x7496, 0x769a, 0x779e, 0xa594, 0x003f, 0xd4f4, 0x0040, | 893 | 0x69bc, 0x7daa, 0x79aa, 0x68c0, 0xa04d, 0x6e1c, 0x2001, 0x0010, |
871 | 0x299f, 0xa784, 0x007d, 0x00c0, 0x43cd, 0x1078, 0x296b, 0xa49c, | 894 | 0x0078, 0x2cd3, 0x7060, 0xa005, 0x00c0, 0x2a08, 0x0c7e, 0x0d7e, |
872 | 0x000f, 0xa382, 0x0004, 0x0050, 0x29aa, 0xa3a6, 0x0007, 0x00c0, | 895 | 0x70b4, 0xa06d, 0x6800, 0xa065, 0xa055, 0x789b, 0x0010, 0x6b0c, |
873 | 0x296b, 0x2418, 0x8507, 0xa084, 0x000f, 0x0079, 0x29af, 0x3028, | 896 | 0x7baa, 0x6808, 0xa045, 0x6d10, 0x6804, 0xa06d, 0xa05d, 0xa886, |
874 | 0x3119, 0x3144, 0x33b6, 0x379f, 0x3819, 0x38ce, 0x395f, 0x3a4d, | 897 | 0x0001, 0x0040, 0x2a6e, 0x69bc, 0x7daa, 0x79aa, 0x68c0, 0xa04d, |
875 | 0x3b3c, 0x29c2, 0x29bf, 0x2df9, 0x2f1c, 0x3770, 0x29bf, 0x1078, | 898 | 0x6e1c, 0x2001, 0x0020, 0x0078, 0x2cd3, 0x1078, 0x43b0, 0x00c0, |
876 | 0x296b, 0x007c, 0xa006, 0x0078, 0x29cc, 0x7808, 0xc08d, 0x780a, | 899 | 0x2a08, 0x781b, 0x005b, 0x70bc, 0xa06d, 0x68b4, 0x785a, 0x6894, |
877 | 0xa006, 0x7002, 0x704e, 0x7046, 0x70d2, 0x7060, 0xa005, 0x00c0, | ||
878 | 0x2b32, 0x7064, 0xa084, 0x0007, 0x0079, 0x29d6, 0x29de, 0x2a51, | ||
879 | 0x2a5a, 0x2a65, 0x2a70, 0x2b18, 0x2a7b, 0x2a51, 0x7830, 0xd0bc, | ||
880 | 0x00c0, 0x29c1, 0x71d4, 0xd1bc, 0x00c0, 0x29c1, 0xd1b4, 0x00c0, | ||
881 | 0x2a2e, 0x70a4, 0xa086, 0x0001, 0x0040, 0x29c1, 0x70b4, 0xa06d, | ||
882 | 0x6800, 0xa065, 0xa055, 0x789b, 0x0010, 0x6b0c, 0x7baa, 0x6808, | ||
883 | 0xa045, 0x6d10, 0x6804, 0xa06d, 0xa05d, 0xa886, 0x0001, 0x0040, | ||
884 | 0x2a04, 0x69bc, 0x7daa, 0x79aa, 0x68c0, 0xa04d, 0x6e1c, 0x2001, | ||
885 | 0x0010, 0x0078, 0x2c8c, 0x7060, 0xa005, 0x00c0, 0x29c1, 0x0c7e, | ||
886 | 0x0d7e, 0x70b4, 0xa06d, 0x6800, 0xa065, 0xa055, 0x789b, 0x0010, | ||
887 | 0x6b0c, 0x7baa, 0x6808, 0xa045, 0x6d10, 0x6804, 0xa06d, 0xa05d, | ||
888 | 0xa886, 0x0001, 0x0040, 0x2a27, 0x69bc, 0x7daa, 0x79aa, 0x68c0, | ||
889 | 0xa04d, 0x6e1c, 0x2001, 0x0020, 0x0078, 0x2c8c, 0x1078, 0x4360, | ||
890 | 0x00c0, 0x29c1, 0x781b, 0x005b, 0x70bc, 0xa06d, 0x68b4, 0x785a, | ||
891 | 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, 0x7808, 0xc08d, | ||
892 | 0x780a, 0x68bc, 0x7042, 0xc1b4, 0x71d6, 0x70b8, 0xa065, 0x68c0, | ||
893 | 0x705a, 0x7003, 0x0002, 0x2d00, 0x704e, 0xad80, 0x0009, 0x7046, | ||
894 | 0x007c, 0x1078, 0x4360, 0x00c0, 0x2a59, 0x781b, 0x0047, 0x7003, | ||
895 | 0x0004, 0x007c, 0x1078, 0x4360, 0x00c0, 0x2a64, 0x2011, 0x000c, | ||
896 | 0x1078, 0x2a8b, 0x7003, 0x0004, 0x007c, 0x1078, 0x4360, 0x00c0, | ||
897 | 0x2a6f, 0x2011, 0x0006, 0x1078, 0x2a8b, 0x7003, 0x0004, 0x007c, | ||
898 | 0x1078, 0x4360, 0x00c0, 0x2a7a, 0x2011, 0x000d, 0x1078, 0x2a8b, | ||
899 | 0x7003, 0x0004, 0x007c, 0x1078, 0x4360, 0x00c0, 0x2a8a, 0x2011, | ||
900 | 0x0006, 0x1078, 0x2a8b, 0x707c, 0x707f, 0x0000, 0x2068, 0x704e, | ||
901 | 0x7003, 0x0001, 0x007c, 0x7174, 0xc1fc, 0x8107, 0x7882, 0x789b, | ||
902 | 0x0010, 0xa286, 0x000c, 0x00c0, 0x2a9a, 0x7aaa, 0x2001, 0x0001, | ||
903 | 0x0078, 0x2aaf, 0xa18c, 0x001f, 0xa18d, 0x00c0, 0x79aa, 0xa286, | ||
904 | 0x000d, 0x0040, 0x2aa8, 0x7aaa, 0x2001, 0x0002, 0x0078, 0x2aaf, | ||
905 | 0x78ab, 0x0020, 0x7178, 0x79aa, 0x7aaa, 0x2001, 0x0004, 0x789b, | ||
906 | 0x0060, 0x78aa, 0x785b, 0x0004, 0x781b, 0x0116, 0x1078, 0x4383, | ||
907 | 0x7083, 0x000f, 0x70d4, 0xd0b4, 0x0040, 0x2acb, 0xc0b4, 0x70d6, | ||
908 | 0x0c7e, 0x70b8, 0xa065, 0x6008, 0xa084, 0xfbef, 0x600a, 0x6018, | ||
909 | 0x8001, 0x601a, 0x0c7f, 0x007c, 0x7014, 0xa005, 0x00c0, 0x2ada, | ||
910 | 0x70d4, 0xd0b4, 0x0040, 0x2adb, 0x70b8, 0xac06, 0x00c0, 0x2adb, | ||
911 | 0x1078, 0x2aba, 0x007c, 0x017e, 0x71a4, 0xa186, 0x0001, 0x0040, | ||
912 | 0x2b0d, 0x0d7e, 0x027e, 0x2100, 0x2011, 0x0001, 0xa212, 0x70b4, | ||
913 | 0x2068, 0x6800, 0xac06, 0x0040, 0x2af4, 0x8211, 0x0040, 0x2b0b, | ||
914 | 0x1078, 0x2b0f, 0x0078, 0x2ae9, 0x0c7e, 0x2100, 0x2011, 0x0001, | ||
915 | 0xa212, 0x70b4, 0x2068, 0x6800, 0x2060, 0x6008, 0xa084, 0xfbef, | ||
916 | 0x600a, 0x8211, 0x0040, 0x2b08, 0x1078, 0x2b0f, 0x0078, 0x2afb, | ||
917 | 0x70a7, 0x0001, 0x0c7f, 0x027f, 0x0d7f, 0x017f, 0x007c, 0xade8, | ||
918 | 0x0005, 0x70ac, 0xad06, 0x00c0, 0x2b17, 0x70a8, 0x2068, 0x007c, | ||
919 | 0x1078, 0x4360, 0x00c0, 0x29c1, 0x707c, 0x2068, 0x7774, 0x1078, | ||
920 | 0x41fe, 0x2c50, 0x1078, 0x4442, 0x789b, 0x0010, 0x6814, 0xa084, | ||
921 | 0x001f, 0xc0bd, 0x78aa, 0x6e1c, 0x2041, 0x0001, 0x2001, 0x0004, | ||
922 | 0x0078, 0x2c92, 0x1078, 0x4360, 0x00c0, 0x29c1, 0x789b, 0x0010, | ||
923 | 0x7060, 0x2068, 0x6f14, 0x70d4, 0xd0b4, 0x0040, 0x2b4c, 0xc0b4, | ||
924 | 0x70d6, 0x0c7e, 0x70b8, 0xa065, 0x6008, 0xa084, 0xfbef, 0x600a, | ||
925 | 0x6018, 0x8001, 0x601a, 0x0c7f, 0x1078, 0x41fe, 0x2c50, 0x1078, | ||
926 | 0x4442, 0x6824, 0xa005, 0x0040, 0x2b5d, 0xa082, 0x0006, 0x0048, | ||
927 | 0x2b5b, 0x0078, 0x2b5d, 0x6827, 0x0005, 0x6814, 0xa084, 0x001f, | ||
928 | 0xc0bd, 0x78aa, 0x2031, 0x0020, 0x2041, 0x0001, 0x2001, 0x0003, | ||
929 | 0x0078, 0x2c92, 0xc28d, 0x72d6, 0x72c0, 0xa200, 0xa015, 0x7154, | ||
930 | 0x8108, 0xa12a, 0x0048, 0x2b75, 0x71c0, 0x2164, 0x6504, 0x85ff, | ||
931 | 0x00c0, 0x2b8c, 0x7156, 0x8421, 0x00c0, 0x2b70, 0x70d4, 0xd08c, | ||
932 | 0x0040, 0x2b88, 0x70d0, 0xa005, 0x00c0, 0x2b88, 0x70d3, 0x000a, | ||
933 | 0x007c, 0x2200, 0x0078, 0x2b7a, 0x70d4, 0xc08c, 0x70d6, 0x70d3, | ||
934 | 0x0000, 0x6034, 0xa005, 0x00c0, 0x2b89, 0x6708, 0xa784, 0x073f, | ||
935 | 0x0040, 0x2bbb, 0xd7d4, 0x00c0, 0x2b89, 0xa784, 0x0021, 0x00c0, | ||
936 | 0x2b89, 0xa784, 0x0002, 0x0040, 0x2bac, 0xa784, 0x0004, 0x0040, | ||
937 | 0x2b89, 0xa7bc, 0xfffb, 0x670a, 0xa784, 0x0218, 0x00c0, 0x2b89, | ||
938 | 0xa784, 0x0100, 0x0040, 0x2bbb, 0x6018, 0xa005, 0x00c0, 0x2b89, | ||
939 | 0xa7bc, 0xfeff, 0x670a, 0x2568, 0x6823, 0x0000, 0x6e1c, 0xa684, | ||
940 | 0x000e, 0x6318, 0x0040, 0x2bcc, 0x601c, 0xa302, 0x0048, 0x2bcf, | ||
941 | 0x0040, 0x2bcf, 0x0078, 0x2b89, 0x83ff, 0x00c0, 0x2b89, 0x2d58, | ||
942 | 0x2c50, 0x7156, 0xd7bc, 0x00c0, 0x2bd8, 0x7028, 0x6022, 0x603a, | ||
943 | 0xc7bc, 0x670a, 0x68c0, 0xa065, 0xa04d, 0x6100, 0x2a60, 0x2041, | ||
944 | 0x0001, 0x6b14, 0xa39c, 0x001f, 0xa39d, 0x00c0, 0xd1fc, 0x0040, | ||
945 | 0x2bec, 0xd684, 0x0040, 0x2bee, 0xa39c, 0xffbf, 0xd6a4, 0x0040, | ||
946 | 0x2bf3, 0xa39d, 0x0020, 0xa684, 0x000e, 0x00c0, 0x2c3e, 0xc7a5, | ||
947 | 0x670a, 0x2c00, 0x68c6, 0x77a4, 0xa786, 0x0001, 0x00c0, 0x2c12, | ||
948 | 0x70d4, 0xd0b4, 0x00c0, 0x2c12, 0x7000, 0xa082, 0x0002, 0x00c8, | ||
949 | 0x2c12, 0x7830, 0xd0bc, 0x00c0, 0x2c12, 0x789b, 0x0010, 0x7baa, | ||
950 | 0x0078, 0x2c8a, 0x8739, 0x77a6, 0x2750, 0x77b0, 0xa7b0, 0x0005, | ||
951 | 0x70ac, 0xa606, 0x00c0, 0x2c1d, 0x76a8, 0x76b2, 0x2c3a, 0x8738, | ||
952 | 0x2d3a, 0x8738, 0x283a, 0x8738, 0x233a, 0x8738, 0x253a, 0x7830, | ||
953 | 0xd0bc, 0x0040, 0x2c35, 0x2091, 0x8000, 0x2091, 0x303d, 0x70d4, | ||
954 | 0xa084, 0x303d, 0x2091, 0x8000, 0x2090, 0xaad5, 0x0000, 0x0040, | ||
955 | 0x2c3d, 0x8421, 0x2200, 0x00c0, 0x2b6f, 0x007c, 0xd1dc, 0x0040, | ||
956 | 0x3e00, 0x2029, 0x0020, 0xd69c, 0x00c0, 0x2c4b, 0x8528, 0xd68c, | ||
957 | 0x00c0, 0x2c4b, 0x8528, 0x8840, 0x6f14, 0x610c, 0x8108, 0xa18c, | ||
958 | 0x00ff, 0x70cc, 0xa160, 0x2c64, 0x8cff, 0x0040, 0x2c6a, 0x6014, | ||
959 | 0xa706, 0x00c0, 0x2c53, 0x60b8, 0x8001, 0x60ba, 0x00c0, 0x2c4e, | ||
960 | 0x2a60, 0x6008, 0xa085, 0x0100, 0x600a, 0x2200, 0x8421, 0x00c0, | ||
961 | 0x2b6f, 0x007c, 0x2a60, 0x610e, 0x69be, 0x2c00, 0x68c6, 0x8840, | ||
962 | 0x6008, 0xc0d5, 0x600a, 0x77a4, 0xa786, 0x0001, 0x00c0, 0x2c12, | ||
963 | 0x70d4, 0xd0b4, 0x00c0, 0x2c12, 0x7000, 0xa082, 0x0002, 0x00c8, | ||
964 | 0x2c12, 0x7830, 0xd0bc, 0x00c0, 0x2c12, 0x789b, 0x0010, 0x7baa, | ||
965 | 0x7daa, 0x79aa, 0x2001, 0x0002, 0x007e, 0x6018, 0x8000, 0x601a, | ||
966 | 0x0078, 0x2c93, 0x007e, 0x2960, 0x6104, 0x2a60, 0xa184, 0x0018, | ||
967 | 0x0040, 0x2caf, 0xa184, 0x0010, 0x0040, 0x2ca2, 0x1078, 0x4011, | ||
968 | 0x00c0, 0x2cd4, 0xa184, 0x0008, 0x0040, 0x2caf, 0x69a0, 0xa184, | ||
969 | 0x0600, 0x00c0, 0x2caf, 0x1078, 0x3ef5, 0x0078, 0x2cd4, 0x69a0, | ||
970 | 0xa184, 0x1e00, 0x0040, 0x2cdf, 0xa184, 0x0800, 0x0040, 0x2cc8, | ||
971 | 0x0c7e, 0x2960, 0x6000, 0xa085, 0x2000, 0x6002, 0x6104, 0xa18d, | ||
972 | 0x0010, 0x6106, 0x0c7f, 0x1078, 0x4011, 0x00c0, 0x2cd4, 0x69a0, | ||
973 | 0xa184, 0x0200, 0x0040, 0x2cd0, 0x1078, 0x3f54, 0x0078, 0x2cd4, | ||
974 | 0xa184, 0x0400, 0x00c0, 0x2cab, 0x69a0, 0xa184, 0x1000, 0x0040, | ||
975 | 0x2cdf, 0x6914, 0xa18c, 0xff00, 0x810f, 0x1078, 0x279f, 0x027f, | ||
976 | 0xa68c, 0x00e0, 0xa684, 0x0060, 0x0040, 0x2cec, 0xa086, 0x0060, | ||
977 | 0x00c0, 0x2cec, 0xa18d, 0x4000, 0xa18d, 0x0104, 0x69b6, 0x789b, | ||
978 | 0x0060, 0x2800, 0x78aa, 0x6818, 0xc0fd, 0x681a, 0xd6bc, 0x0040, | ||
979 | 0x2d07, 0xc0fc, 0x7087, 0x0000, 0xa08a, 0x000d, 0x0050, 0x2d05, | ||
980 | 0xa08a, 0x000c, 0x7186, 0x2001, 0x000c, 0x800c, 0x718a, 0x78aa, | ||
981 | 0x3518, 0x3340, 0x3428, 0x8000, 0x80ac, 0xaf80, 0x002b, 0x20a0, | ||
982 | 0x789b, 0x0000, 0xad80, 0x000b, 0x2098, 0x53a6, 0x23a8, 0x2898, | ||
983 | 0x25a0, 0xa286, 0x0020, 0x00c0, 0x2d3f, 0x70d4, 0xc0b5, 0x70d6, | ||
984 | 0x2c00, 0x70ba, 0x2d00, 0x70be, 0x6814, 0xc0fc, 0x8007, 0x7882, | ||
985 | 0xa286, 0x0002, 0x0040, 0x2d75, 0x70a4, 0x8000, 0x70a6, 0x74b4, | ||
986 | 0xa498, 0x0005, 0x70ac, 0xa306, 0x00c0, 0x2d37, 0x73a8, 0x73b6, | ||
987 | 0xa286, 0x0010, 0x0040, 0x29c1, 0x0d7f, 0x0c7f, 0x007c, 0x7000, | ||
988 | 0xa005, 0x00c0, 0x2d1d, 0xa286, 0x0002, 0x00c0, 0x2d8f, 0x1078, | ||
989 | 0x4360, 0x00c0, 0x2d1d, 0x6814, 0xc0fc, 0x8007, 0x7882, 0x2091, | ||
990 | 0x8000, 0x781b, 0x005b, 0x68b4, 0x785a, 0x6894, 0x78d6, 0x78de, | ||
991 | 0x6898, 0x78d2, 0x78da, 0x2091, 0x8001, 0x7808, 0xc08d, 0x780a, | ||
992 | 0x127e, 0x0d7e, 0x0c7e, 0x70d4, 0xa084, 0x2700, 0x2090, 0x0c7f, | ||
993 | 0x0d7f, 0x127f, 0x2900, 0x705a, 0x68bc, 0x7042, 0x7003, 0x0002, | ||
994 | 0x2d00, 0x704e, 0xad80, 0x0009, 0x7046, 0x7830, 0xd0bc, 0x0040, | ||
995 | 0x2d81, 0x2091, 0x303d, 0x70d4, 0xa084, 0x303d, 0x2091, 0x8000, | ||
996 | 0x2090, 0x70a4, 0xa005, 0x00c0, 0x2d86, 0x007c, 0x8421, 0x0040, | ||
997 | 0x2d85, 0x7250, 0x70c0, 0xa200, 0xa015, 0x0078, 0x2b6f, 0xa286, | ||
998 | 0x0010, 0x00c0, 0x2dc0, 0x1078, 0x4360, 0x00c0, 0x2d1d, 0x6814, | ||
999 | 0xc0fc, 0x8007, 0x7882, 0x781b, 0x005b, 0x68b4, 0x785a, 0x6894, | ||
1000 | 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, 0x7808, 0xc08d, 0x780a, | 900 | 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, 0x7808, 0xc08d, 0x780a, |
1001 | 0x70a4, 0x8000, 0x70a6, 0x74b4, 0xa490, 0x0005, 0x70ac, 0xa206, | 901 | 0x68bc, 0x7042, 0xc1b4, 0x71d6, 0x70b8, 0xa065, 0x68c0, 0x705a, |
1002 | 0x00c0, 0x2db3, 0x72a8, 0x72b6, 0x2900, 0x705a, 0x68bc, 0x7042, | ||
1003 | 0x7003, 0x0002, 0x2d00, 0x704e, 0xad80, 0x0009, 0x7046, 0x007c, | 902 | 0x7003, 0x0002, 0x2d00, 0x704e, 0xad80, 0x0009, 0x7046, 0x007c, |
1004 | 0x6bb4, 0xa39d, 0x2000, 0x7b5a, 0x6814, 0xc0fc, 0x8007, 0x7882, | 903 | 0x1078, 0x43b0, 0x00c0, 0x2aa0, 0x781b, 0x0047, 0x7003, 0x0004, |
1005 | 0x6b94, 0x7bd6, 0x7bde, 0x6e98, 0x7ed2, 0x7eda, 0x781b, 0x005b, | 904 | 0x007c, 0x1078, 0x43b0, 0x00c0, 0x2aab, 0x2011, 0x000c, 0x1078, |
1006 | 0x2900, 0x705a, 0x7202, 0x7808, 0xc08d, 0x780a, 0x2300, 0xa605, | 905 | 0x2ad2, 0x7003, 0x0004, 0x007c, 0x1078, 0x43b0, 0x00c0, 0x2ab6, |
1007 | 0x0040, 0x2deb, 0x70d4, 0xa084, 0x2700, 0xa086, 0x2300, 0x00c0, | 906 | 0x2011, 0x0006, 0x1078, 0x2ad2, 0x7003, 0x0004, 0x007c, 0x1078, |
1008 | 0x2de5, 0x2009, 0x0000, 0x0078, 0x2de7, 0x2009, 0x0001, 0xa284, | 907 | 0x43b0, 0x00c0, 0x2ac1, 0x2011, 0x000d, 0x1078, 0x2ad2, 0x7003, |
1009 | 0x000f, 0x1079, 0x2def, 0xad80, 0x0009, 0x7046, 0x007c, 0x2df7, | 908 | 0x0004, 0x007c, 0x1078, 0x43b0, 0x00c0, 0x2ad1, 0x2011, 0x0006, |
1010 | 0x48bd, 0x48bd, 0x48aa, 0x48bd, 0x2df7, 0x2df7, 0x2df7, 0x1078, | 909 | 0x1078, 0x2ad2, 0x707c, 0x707f, 0x0000, 0x2068, 0x704e, 0x7003, |
1011 | 0x296b, 0x7808, 0xa084, 0xfffd, 0x780a, 0x1078, 0x295e, 0x0f7e, | 910 | 0x0001, 0x007c, 0x7174, 0xc1fc, 0x8107, 0x7882, 0x789b, 0x0010, |
1012 | 0x2079, 0x4e00, 0x78ac, 0x0f7f, 0xd084, 0x0040, 0x2e21, 0x7064, | 911 | 0xa286, 0x000c, 0x00c0, 0x2ae1, 0x7aaa, 0x2001, 0x0001, 0x0078, |
1013 | 0xa086, 0x0001, 0x00c0, 0x2e0f, 0x7066, 0x0078, 0x2ef8, 0x7064, | 912 | 0x2af6, 0xa18c, 0x001f, 0xa18d, 0x00c0, 0x79aa, 0xa286, 0x000d, |
1014 | 0xa086, 0x0005, 0x00c0, 0x2e1f, 0x707c, 0x2068, 0x681b, 0x0004, | 913 | 0x0040, 0x2aef, 0x7aaa, 0x2001, 0x0002, 0x0078, 0x2af6, 0x78ab, |
1015 | 0x6817, 0x0000, 0x6820, 0xa084, 0x00ff, 0xc09d, 0x6822, 0x7067, | 914 | 0x0020, 0x7178, 0x79aa, 0x7aaa, 0x2001, 0x0004, 0x789b, 0x0060, |
1016 | 0x0000, 0x70a7, 0x0000, 0x70a8, 0x70b2, 0x70b6, 0x1078, 0x2aba, | 915 | 0x78aa, 0x785b, 0x0004, 0x781b, 0x0116, 0x1078, 0x43d3, 0x7083, |
1017 | 0x157e, 0x2011, 0x0004, 0x7164, 0xa186, 0x0001, 0x0040, 0x2e41, | 916 | 0x000f, 0x70d4, 0xd0b4, 0x0040, 0x2b12, 0xc0b4, 0x70d6, 0x0c7e, |
1018 | 0xa186, 0x0007, 0x00c0, 0x2e38, 0x701f, 0x0005, 0x0078, 0x2e41, | 917 | 0x70b8, 0xa065, 0x6008, 0xa084, 0xfbef, 0x600a, 0x6018, 0x8001, |
1019 | 0x701f, 0x0001, 0x7067, 0x0000, 0x70d4, 0xc0dd, 0x70d6, 0x0078, | 918 | 0x601a, 0x0c7f, 0x007c, 0x7014, 0xa005, 0x00c0, 0x2b21, 0x70d4, |
1020 | 0x2e43, 0x7067, 0x0000, 0x2001, 0x4e0a, 0x2004, 0xa084, 0x00ff, | 919 | 0xd0b4, 0x0040, 0x2b22, 0x70b8, 0xac06, 0x00c0, 0x2b22, 0x1078, |
1021 | 0xa086, 0x0018, 0x0040, 0x2e53, 0x7018, 0x7016, 0xa005, 0x00c0, | 920 | 0x2b01, 0x007c, 0x017e, 0x71a4, 0xa186, 0x0001, 0x0040, 0x2b54, |
1022 | 0x2e53, 0x70a7, 0x0001, 0x067e, 0x1078, 0x4586, 0x20a9, 0x0010, | 921 | 0x0d7e, 0x027e, 0x2100, 0x2011, 0x0001, 0xa212, 0x70b4, 0x2068, |
1023 | 0x2039, 0x0000, 0x1078, 0x40f8, 0xa7b8, 0x0100, 0x00f0, 0x2e5a, | 922 | 0x6800, 0xac06, 0x0040, 0x2b3b, 0x8211, 0x0040, 0x2b52, 0x1078, |
1024 | 0x067f, 0x7000, 0x0079, 0x2e64, 0x2e9e, 0x2e79, 0x2e79, 0x2e6e, | 923 | 0x2b56, 0x0078, 0x2b30, 0x0c7e, 0x2100, 0x2011, 0x0001, 0xa212, |
1025 | 0x2e9e, 0x2e9e, 0x2e9e, 0x2e6c, 0x1078, 0x296b, 0x7060, 0xa005, | 924 | 0x70b4, 0x2068, 0x6800, 0x2060, 0x6008, 0xa084, 0xfbef, 0x600a, |
1026 | 0x0040, 0x2e9e, 0xad06, 0x00c0, 0x2e79, 0x6800, 0x7062, 0x0078, | 925 | 0x8211, 0x0040, 0x2b4f, 0x1078, 0x2b56, 0x0078, 0x2b42, 0x70a7, |
1027 | 0x2e8b, 0x6820, 0xd084, 0x00c0, 0x2e87, 0x6f14, 0x1078, 0x41fe, | 926 | 0x0001, 0x0c7f, 0x027f, 0x0d7f, 0x017f, 0x007c, 0xade8, 0x0005, |
1028 | 0x6008, 0xc0d4, 0x600a, 0x1078, 0x3dd0, 0x0078, 0x2e8b, 0x705c, | 927 | 0x70ac, 0xad06, 0x00c0, 0x2b5e, 0x70a8, 0x2068, 0x007c, 0x1078, |
1029 | 0x2060, 0x6800, 0x6002, 0xa684, 0x5f00, 0x681e, 0x6818, 0xd0fc, | 928 | 0x43b0, 0x00c0, 0x2a08, 0x707c, 0x2068, 0x7774, 0x1078, 0x424e, |
1030 | 0x0040, 0x2e93, 0x6a1a, 0x6817, 0x0000, 0x682b, 0x0000, 0x6820, | 929 | 0x2c50, 0x1078, 0x4492, 0x789b, 0x0010, 0x6814, 0xa084, 0x001f, |
1031 | 0xa084, 0x00ff, 0xc09d, 0x6822, 0x1078, 0x202c, 0xb284, 0x0400, | 930 | 0xc0bd, 0x78aa, 0x6e1c, 0x2041, 0x0001, 0x2001, 0x0004, 0x0078, |
1032 | 0x0040, 0x2ea6, 0x2021, 0x95d0, 0x0078, 0x2ea8, 0x2021, 0x94c0, | 931 | 0x2cd9, 0x1078, 0x43b0, 0x00c0, 0x2a08, 0x789b, 0x0010, 0x7060, |
1033 | 0x1078, 0x2efd, 0xb284, 0x0400, 0x0040, 0x2eb2, 0x2021, 0x4e98, | 932 | 0x2068, 0x6f14, 0x70d4, 0xd0b4, 0x0040, 0x2b93, 0xc0b4, 0x70d6, |
1034 | 0x0078, 0x2eb4, 0x2021, 0x4e58, 0x1078, 0x2efd, 0x20a9, 0x0101, | 933 | 0x0c7e, 0x70b8, 0xa065, 0x6008, 0xa084, 0xfbef, 0x600a, 0x6018, |
1035 | 0xb284, 0x0400, 0x0040, 0x2ec0, 0x2021, 0x94d0, 0x0078, 0x2ec2, | 934 | 0x8001, 0x601a, 0x0c7f, 0x1078, 0x424e, 0x2c50, 0x1078, 0x4492, |
1036 | 0x2021, 0x93c0, 0x1078, 0x2efd, 0x8420, 0x00f0, 0x2ec2, 0xb284, | 935 | 0x6824, 0xa005, 0x0040, 0x2ba4, 0xa082, 0x0006, 0x0048, 0x2ba2, |
1037 | 0x0300, 0x0040, 0x2ecf, 0x2061, 0x53c0, 0x0078, 0x2ed1, 0x2061, | 936 | 0x0078, 0x2ba4, 0x6827, 0x0005, 0x6814, 0xa084, 0x001f, 0xc0bd, |
1038 | 0x73c0, 0x2021, 0x0002, 0x20a9, 0x0100, 0x6110, 0x81ff, 0x0040, | 937 | 0x78aa, 0x2031, 0x0020, 0x2041, 0x0001, 0x2001, 0x0003, 0x0078, |
1039 | 0x2eee, 0x6018, 0x017e, 0x007e, 0x2011, 0x4e02, 0x220c, 0xa102, | 938 | 0x2cd9, 0xc28d, 0x72d6, 0x72c0, 0xa200, 0xa015, 0x7154, 0x8108, |
1040 | 0x2012, 0x007f, 0x017f, 0xa102, 0x0050, 0x2eee, 0x6012, 0x00c0, | 939 | 0xa12a, 0x0048, 0x2bbc, 0x71c0, 0x2164, 0x6504, 0x85ff, 0x00c0, |
1041 | 0x2eee, 0x2011, 0x4e04, 0x2204, 0xc0a5, 0x2012, 0x601b, 0x0000, | 940 | 0x2bd3, 0x7156, 0x8421, 0x00c0, 0x2bb7, 0x70d4, 0xd08c, 0x0040, |
1042 | 0xace0, 0x0010, 0x00f0, 0x2ed5, 0x8421, 0x00c0, 0x2ed3, 0x157f, | 941 | 0x2bcf, 0x70d0, 0xa005, 0x00c0, 0x2bcf, 0x70d3, 0x000a, 0x007c, |
1043 | 0x7003, 0x0000, 0x704f, 0x0000, 0x007c, 0x047e, 0x2404, 0xa005, | 942 | 0x2200, 0x0078, 0x2bc1, 0x70d4, 0xc08c, 0x70d6, 0x70d3, 0x0000, |
1044 | 0x0040, 0x2f18, 0x2068, 0x6800, 0x007e, 0x6a1a, 0x6817, 0x0000, | 943 | 0x6034, 0xa005, 0x00c0, 0x2bd0, 0x6708, 0xa784, 0x073f, 0x0040, |
944 | 0x2c02, 0xd7d4, 0x00c0, 0x2bd0, 0xa784, 0x0021, 0x00c0, 0x2bd0, | ||
945 | 0xa784, 0x0002, 0x0040, 0x2bf3, 0xa784, 0x0004, 0x0040, 0x2bd0, | ||
946 | 0xa7bc, 0xfffb, 0x670a, 0xa784, 0x0218, 0x00c0, 0x2bd0, 0xa784, | ||
947 | 0x0100, 0x0040, 0x2c02, 0x6018, 0xa005, 0x00c0, 0x2bd0, 0xa7bc, | ||
948 | 0xfeff, 0x670a, 0x2568, 0x6823, 0x0000, 0x6e1c, 0xa684, 0x000e, | ||
949 | 0x6318, 0x0040, 0x2c13, 0x601c, 0xa302, 0x0048, 0x2c16, 0x0040, | ||
950 | 0x2c16, 0x0078, 0x2bd0, 0x83ff, 0x00c0, 0x2bd0, 0x2d58, 0x2c50, | ||
951 | 0x7156, 0xd7bc, 0x00c0, 0x2c1f, 0x7028, 0x6022, 0x603a, 0xc7bc, | ||
952 | 0x670a, 0x68c0, 0xa065, 0xa04d, 0x6100, 0x2a60, 0x2041, 0x0001, | ||
953 | 0x6b14, 0xa39c, 0x001f, 0xa39d, 0x00c0, 0xd1fc, 0x0040, 0x2c33, | ||
954 | 0xd684, 0x0040, 0x2c35, 0xa39c, 0xffbf, 0xd6a4, 0x0040, 0x2c3a, | ||
955 | 0xa39d, 0x0020, 0xa684, 0x000e, 0x00c0, 0x2c85, 0xc7a5, 0x670a, | ||
956 | 0x2c00, 0x68c6, 0x77a4, 0xa786, 0x0001, 0x00c0, 0x2c59, 0x70d4, | ||
957 | 0xd0b4, 0x00c0, 0x2c59, 0x7000, 0xa082, 0x0002, 0x00c8, 0x2c59, | ||
958 | 0x7830, 0xd0bc, 0x00c0, 0x2c59, 0x789b, 0x0010, 0x7baa, 0x0078, | ||
959 | 0x2cd1, 0x8739, 0x77a6, 0x2750, 0x77b0, 0xa7b0, 0x0005, 0x70ac, | ||
960 | 0xa606, 0x00c0, 0x2c64, 0x76a8, 0x76b2, 0x2c3a, 0x8738, 0x2d3a, | ||
961 | 0x8738, 0x283a, 0x8738, 0x233a, 0x8738, 0x253a, 0x7830, 0xd0bc, | ||
962 | 0x0040, 0x2c7c, 0x2091, 0x8000, 0x2091, 0x303d, 0x70d4, 0xa084, | ||
963 | 0x303d, 0x2091, 0x8000, 0x2090, 0xaad5, 0x0000, 0x0040, 0x2c84, | ||
964 | 0x8421, 0x2200, 0x00c0, 0x2bb6, 0x007c, 0xd1dc, 0x0040, 0x3e49, | ||
965 | 0x2029, 0x0020, 0xd69c, 0x00c0, 0x2c92, 0x8528, 0xd68c, 0x00c0, | ||
966 | 0x2c92, 0x8528, 0x8840, 0x6f14, 0x610c, 0x8108, 0xa18c, 0x00ff, | ||
967 | 0x70cc, 0xa160, 0x2c64, 0x8cff, 0x0040, 0x2cb1, 0x6014, 0xa706, | ||
968 | 0x00c0, 0x2c9a, 0x60b8, 0x8001, 0x60ba, 0x00c0, 0x2c95, 0x2a60, | ||
969 | 0x6008, 0xa085, 0x0100, 0x600a, 0x2200, 0x8421, 0x00c0, 0x2bb6, | ||
970 | 0x007c, 0x2a60, 0x610e, 0x69be, 0x2c00, 0x68c6, 0x8840, 0x6008, | ||
971 | 0xc0d5, 0x600a, 0x77a4, 0xa786, 0x0001, 0x00c0, 0x2c59, 0x70d4, | ||
972 | 0xd0b4, 0x00c0, 0x2c59, 0x7000, 0xa082, 0x0002, 0x00c8, 0x2c59, | ||
973 | 0x7830, 0xd0bc, 0x00c0, 0x2c59, 0x789b, 0x0010, 0x7baa, 0x7daa, | ||
974 | 0x79aa, 0x2001, 0x0002, 0x007e, 0x6018, 0x8000, 0x601a, 0x0078, | ||
975 | 0x2cda, 0x007e, 0x2960, 0x6104, 0x2a60, 0xa184, 0x0018, 0x0040, | ||
976 | 0x2cf6, 0xa184, 0x0010, 0x0040, 0x2ce9, 0x1078, 0x405e, 0x00c0, | ||
977 | 0x2d1b, 0xa184, 0x0008, 0x0040, 0x2cf6, 0x69a0, 0xa184, 0x0600, | ||
978 | 0x00c0, 0x2cf6, 0x1078, 0x3f3e, 0x0078, 0x2d1b, 0x69a0, 0xa184, | ||
979 | 0x1e00, 0x0040, 0x2d26, 0xa184, 0x0800, 0x0040, 0x2d0f, 0x0c7e, | ||
980 | 0x2960, 0x6000, 0xa085, 0x2000, 0x6002, 0x6104, 0xa18d, 0x0010, | ||
981 | 0x6106, 0x0c7f, 0x1078, 0x405e, 0x00c0, 0x2d1b, 0x69a0, 0xa184, | ||
982 | 0x0200, 0x0040, 0x2d17, 0x1078, 0x3fa1, 0x0078, 0x2d1b, 0xa184, | ||
983 | 0x0400, 0x00c0, 0x2cf2, 0x69a0, 0xa184, 0x1000, 0x0040, 0x2d26, | ||
984 | 0x6914, 0xa18c, 0xff00, 0x810f, 0x1078, 0x27e6, 0x027f, 0xa68c, | ||
985 | 0x00e0, 0xa684, 0x0060, 0x0040, 0x2d33, 0xa086, 0x0060, 0x00c0, | ||
986 | 0x2d33, 0xa18d, 0x4000, 0xa18d, 0x0104, 0x69b6, 0x789b, 0x0060, | ||
987 | 0x2800, 0x78aa, 0x6818, 0xc0fd, 0x681a, 0xd6bc, 0x0040, 0x2d4e, | ||
988 | 0xc0fc, 0x7087, 0x0000, 0xa08a, 0x000d, 0x0050, 0x2d4c, 0xa08a, | ||
989 | 0x000c, 0x7186, 0x2001, 0x000c, 0x800c, 0x718a, 0x78aa, 0x3518, | ||
990 | 0x3340, 0x3428, 0x8000, 0x80ac, 0xaf80, 0x002b, 0x20a0, 0x789b, | ||
991 | 0x0000, 0xad80, 0x000b, 0x2098, 0x53a6, 0x23a8, 0x2898, 0x25a0, | ||
992 | 0xa286, 0x0020, 0x00c0, 0x2d86, 0x70d4, 0xc0b5, 0x70d6, 0x2c00, | ||
993 | 0x70ba, 0x2d00, 0x70be, 0x6814, 0xc0fc, 0x8007, 0x7882, 0xa286, | ||
994 | 0x0002, 0x0040, 0x2dbc, 0x70a4, 0x8000, 0x70a6, 0x74b4, 0xa498, | ||
995 | 0x0005, 0x70ac, 0xa306, 0x00c0, 0x2d7e, 0x73a8, 0x73b6, 0xa286, | ||
996 | 0x0010, 0x0040, 0x2a08, 0x0d7f, 0x0c7f, 0x007c, 0x7000, 0xa005, | ||
997 | 0x00c0, 0x2d64, 0xa286, 0x0002, 0x00c0, 0x2dd6, 0x1078, 0x43b0, | ||
998 | 0x00c0, 0x2d64, 0x6814, 0xc0fc, 0x8007, 0x7882, 0x2091, 0x8000, | ||
999 | 0x781b, 0x005b, 0x68b4, 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, | ||
1000 | 0x78d2, 0x78da, 0x2091, 0x8001, 0x7808, 0xc08d, 0x780a, 0x127e, | ||
1001 | 0x0d7e, 0x0c7e, 0x70d4, 0xa084, 0x2700, 0x2090, 0x0c7f, 0x0d7f, | ||
1002 | 0x127f, 0x2900, 0x705a, 0x68bc, 0x7042, 0x7003, 0x0002, 0x2d00, | ||
1003 | 0x704e, 0xad80, 0x0009, 0x7046, 0x7830, 0xd0bc, 0x0040, 0x2dc8, | ||
1004 | 0x2091, 0x303d, 0x70d4, 0xa084, 0x303d, 0x2091, 0x8000, 0x2090, | ||
1005 | 0x70a4, 0xa005, 0x00c0, 0x2dcd, 0x007c, 0x8421, 0x0040, 0x2dcc, | ||
1006 | 0x7250, 0x70c0, 0xa200, 0xa015, 0x0078, 0x2bb6, 0xa286, 0x0010, | ||
1007 | 0x00c0, 0x2e07, 0x1078, 0x43b0, 0x00c0, 0x2d64, 0x6814, 0xc0fc, | ||
1008 | 0x8007, 0x7882, 0x781b, 0x005b, 0x68b4, 0x785a, 0x6894, 0x78d6, | ||
1009 | 0x78de, 0x6898, 0x78d2, 0x78da, 0x7808, 0xc08d, 0x780a, 0x70a4, | ||
1010 | 0x8000, 0x70a6, 0x74b4, 0xa490, 0x0005, 0x70ac, 0xa206, 0x00c0, | ||
1011 | 0x2dfa, 0x72a8, 0x72b6, 0x2900, 0x705a, 0x68bc, 0x7042, 0x7003, | ||
1012 | 0x0002, 0x2d00, 0x704e, 0xad80, 0x0009, 0x7046, 0x007c, 0x6bb4, | ||
1013 | 0xa39d, 0x2000, 0x7b5a, 0x6814, 0xc0fc, 0x8007, 0x7882, 0x6b94, | ||
1014 | 0x7bd6, 0x7bde, 0x6e98, 0x7ed2, 0x7eda, 0x781b, 0x005b, 0x2900, | ||
1015 | 0x705a, 0x7202, 0x7808, 0xc08d, 0x780a, 0x2300, 0xa605, 0x0040, | ||
1016 | 0x2e32, 0x70d4, 0xa084, 0x2700, 0xa086, 0x2300, 0x00c0, 0x2e2c, | ||
1017 | 0x2009, 0x0000, 0x0078, 0x2e2e, 0x2009, 0x0001, 0xa284, 0x000f, | ||
1018 | 0x1079, 0x2e38, 0xad80, 0x0009, 0x7046, 0x2d00, 0x704e, 0x007c, | ||
1019 | 0x2e40, 0x493f, 0x493f, 0x492c, 0x493f, 0x2e40, 0x2e40, 0x2e40, | ||
1020 | 0x1078, 0x29b2, 0x7808, 0xa084, 0xfffd, 0x780a, 0x1078, 0x29a5, | ||
1021 | 0x0f7e, 0x2079, 0x4f00, 0x78ac, 0x0f7f, 0xd084, 0x0040, 0x2e6a, | ||
1022 | 0x7064, 0xa086, 0x0001, 0x00c0, 0x2e58, 0x7066, 0x0078, 0x2f41, | ||
1023 | 0x7064, 0xa086, 0x0005, 0x00c0, 0x2e68, 0x707c, 0x2068, 0x681b, | ||
1024 | 0x0004, 0x6817, 0x0000, 0x6820, 0xa084, 0x00ff, 0xc09d, 0x6822, | ||
1025 | 0x7067, 0x0000, 0x70a7, 0x0000, 0x70a8, 0x70b2, 0x70b6, 0x1078, | ||
1026 | 0x2b01, 0x157e, 0x2011, 0x0004, 0x7164, 0xa186, 0x0001, 0x0040, | ||
1027 | 0x2e8a, 0xa186, 0x0007, 0x00c0, 0x2e81, 0x701f, 0x0005, 0x0078, | ||
1028 | 0x2e8a, 0x701f, 0x0001, 0x7067, 0x0000, 0x70d4, 0xc0dd, 0x70d6, | ||
1029 | 0x0078, 0x2e8c, 0x7067, 0x0000, 0x2001, 0x4f0a, 0x2004, 0xa084, | ||
1030 | 0x00ff, 0xa086, 0x0018, 0x0040, 0x2e9c, 0x7018, 0x7016, 0xa005, | ||
1031 | 0x00c0, 0x2e9c, 0x70a7, 0x0001, 0x067e, 0x1078, 0x45d6, 0x20a9, | ||
1032 | 0x0010, 0x2039, 0x0000, 0x1078, 0x4148, 0xa7b8, 0x0100, 0x00f0, | ||
1033 | 0x2ea3, 0x067f, 0x7000, 0x0079, 0x2ead, 0x2ee7, 0x2ec2, 0x2ec2, | ||
1034 | 0x2eb7, 0x2ee7, 0x2ee7, 0x2ee7, 0x2eb5, 0x1078, 0x29b2, 0x7060, | ||
1035 | 0xa005, 0x0040, 0x2ee7, 0xad06, 0x00c0, 0x2ec2, 0x6800, 0x7062, | ||
1036 | 0x0078, 0x2ed4, 0x6820, 0xd084, 0x00c0, 0x2ed0, 0x6f14, 0x1078, | ||
1037 | 0x424e, 0x6008, 0xc0d4, 0x600a, 0x1078, 0x3e19, 0x0078, 0x2ed4, | ||
1038 | 0x705c, 0x2060, 0x6800, 0x6002, 0xa684, 0x5f00, 0x681e, 0x6818, | ||
1039 | 0xd0fc, 0x0040, 0x2edc, 0x6a1a, 0x6817, 0x0000, 0x682b, 0x0000, | ||
1040 | 0x6820, 0xa084, 0x00ff, 0xc09d, 0x6822, 0x1078, 0x2073, 0xb284, | ||
1041 | 0x0400, 0x0040, 0x2eef, 0x2021, 0x96d0, 0x0078, 0x2ef1, 0x2021, | ||
1042 | 0x95c0, 0x1078, 0x2f46, 0xb284, 0x0400, 0x0040, 0x2efb, 0x2021, | ||
1043 | 0x4f98, 0x0078, 0x2efd, 0x2021, 0x4f58, 0x1078, 0x2f46, 0x20a9, | ||
1044 | 0x0101, 0xb284, 0x0400, 0x0040, 0x2f09, 0x2021, 0x95d0, 0x0078, | ||
1045 | 0x2f0b, 0x2021, 0x94c0, 0x1078, 0x2f46, 0x8420, 0x00f0, 0x2f0b, | ||
1046 | 0xb284, 0x0300, 0x0040, 0x2f18, 0x2061, 0x54c0, 0x0078, 0x2f1a, | ||
1047 | 0x2061, 0x74c0, 0x2021, 0x0002, 0x20a9, 0x0100, 0x6110, 0x81ff, | ||
1048 | 0x0040, 0x2f37, 0x6018, 0x017e, 0x007e, 0x2011, 0x4f02, 0x220c, | ||
1049 | 0xa102, 0x2012, 0x007f, 0x017f, 0xa102, 0x0050, 0x2f37, 0x6012, | ||
1050 | 0x00c0, 0x2f37, 0x2011, 0x4f04, 0x2204, 0xc0a5, 0x2012, 0x601b, | ||
1051 | 0x0000, 0xace0, 0x0010, 0x00f0, 0x2f1e, 0x8421, 0x00c0, 0x2f1c, | ||
1052 | 0x157f, 0x7003, 0x0000, 0x704f, 0x0000, 0x007c, 0x047e, 0x2404, | ||
1053 | 0xa005, 0x0040, 0x2f61, 0x2068, 0x6800, 0x007e, 0x6a1a, 0x6817, | ||
1054 | 0x0000, 0x682b, 0x0000, 0x68b4, 0xa084, 0x5f00, 0x681e, 0x6820, | ||
1055 | 0xa084, 0x00ff, 0xc09d, 0x6822, 0x1078, 0x2073, 0x007f, 0x0078, | ||
1056 | 0x2f48, 0x047f, 0x2023, 0x0000, 0x007c, 0xa282, 0x0003, 0x0050, | ||
1057 | 0x2f6b, 0x1078, 0x29b2, 0x2300, 0x0079, 0x2f6e, 0x2f71, 0x2ffc, | ||
1058 | 0x3019, 0xa282, 0x0002, 0x0040, 0x2f77, 0x1078, 0x29b2, 0x7064, | ||
1059 | 0x7067, 0x0000, 0x7083, 0x0000, 0x0079, 0x2f7e, 0x2f86, 0x2f86, | ||
1060 | 0x2f88, 0x2fc8, 0x3e55, 0x2f86, 0x2fc8, 0x2f86, 0x1078, 0x29b2, | ||
1061 | 0x7774, 0x1078, 0x4148, 0x7774, 0xa7bc, 0x8f00, 0x1078, 0x424e, | ||
1062 | 0x6018, 0xa005, 0x0040, 0x2fbf, 0xd7fc, 0x00c0, 0x2f9b, 0x2021, | ||
1063 | 0x95c0, 0x0078, 0x2f9d, 0x2021, 0x96d0, 0x2009, 0x0005, 0x2011, | ||
1064 | 0x0010, 0x1078, 0x3034, 0x0040, 0x2fbf, 0x157e, 0x20a9, 0x0101, | ||
1065 | 0xd7fc, 0x00c0, 0x2faf, 0x2021, 0x94c0, 0x0078, 0x2fb1, 0x2021, | ||
1066 | 0x95d0, 0x047e, 0x2009, 0x0005, 0x2011, 0x0010, 0x1078, 0x3034, | ||
1067 | 0x047f, 0x0040, 0x2fbe, 0x8420, 0x00f0, 0x2fb1, 0x157f, 0x8738, | ||
1068 | 0xa784, 0x001f, 0x00c0, 0x2f8e, 0x0078, 0x2a0c, 0x0078, 0x2a0c, | ||
1069 | 0x7774, 0x1078, 0x424e, 0x6018, 0xa005, 0x0040, 0x2ffa, 0xd7fc, | ||
1070 | 0x00c0, 0x2fd6, 0x2021, 0x95c0, 0x0078, 0x2fd8, 0x2021, 0x96d0, | ||
1071 | 0x2009, 0x0005, 0x2011, 0x0020, 0x1078, 0x3034, 0x0040, 0x2ffa, | ||
1072 | 0x157e, 0x20a9, 0x0101, 0xd7fc, 0x00c0, 0x2fea, 0x2021, 0x94c0, | ||
1073 | 0x0078, 0x2fec, 0x2021, 0x95d0, 0x047e, 0x2009, 0x0005, 0x2011, | ||
1074 | 0x0020, 0x1078, 0x3034, 0x047f, 0x0040, 0x2ff9, 0x8420, 0x00f0, | ||
1075 | 0x2fec, 0x157f, 0x0078, 0x2a0c, 0x2200, 0x0079, 0x2fff, 0x3002, | ||
1076 | 0x3004, 0x3004, 0x1078, 0x29b2, 0x2009, 0x0012, 0x7064, 0xa086, | ||
1077 | 0x0002, 0x0040, 0x300d, 0x2009, 0x000e, 0x6818, 0xd0fc, 0x0040, | ||
1078 | 0x3012, 0x691a, 0x7067, 0x0000, 0x70d4, 0xc0dd, 0x70d6, 0x0078, | ||
1079 | 0x435d, 0x2200, 0x0079, 0x301c, 0x3021, 0x3004, 0x301f, 0x1078, | ||
1080 | 0x29b2, 0x1078, 0x45d6, 0x7000, 0xa086, 0x0002, 0x00c0, 0x3dc7, | ||
1081 | 0x1078, 0x3e36, 0x6008, 0xa084, 0xfbef, 0x600a, 0x1078, 0x3db8, | ||
1082 | 0x0040, 0x3dc7, 0x0078, 0x2a0c, 0x2404, 0xa005, 0x0040, 0x306d, | ||
1083 | 0x2068, 0x2d04, 0x007e, 0x6814, 0xa706, 0x0040, 0x3043, 0x2d20, | ||
1084 | 0x007f, 0x0078, 0x3035, 0x007f, 0x2022, 0x691a, 0x6817, 0x0000, | ||
1045 | 0x682b, 0x0000, 0x68b4, 0xa084, 0x5f00, 0x681e, 0x6820, 0xa084, | 1085 | 0x682b, 0x0000, 0x68b4, 0xa084, 0x5f00, 0x681e, 0x6820, 0xa084, |
1046 | 0x00ff, 0xc09d, 0x6822, 0x1078, 0x202c, 0x007f, 0x0078, 0x2eff, | 1086 | 0x00ff, 0xa205, 0x6822, 0x1078, 0x2073, 0x2021, 0x4f02, 0x241c, |
1047 | 0x047f, 0x2023, 0x0000, 0x007c, 0xa282, 0x0003, 0x0050, 0x2f22, | 1087 | 0x8319, 0x2322, 0x6010, 0x8001, 0x6012, 0x00c0, 0x3064, 0x2021, |
1048 | 0x1078, 0x296b, 0x2300, 0x0079, 0x2f25, 0x2f28, 0x2fb3, 0x2fd0, | 1088 | 0x4f04, 0x2404, 0xc0a5, 0x2022, 0x6008, 0xa084, 0xf9ef, 0x600a, |
1049 | 0xa282, 0x0002, 0x0040, 0x2f2e, 0x1078, 0x296b, 0x7064, 0x7067, | 1089 | 0x1078, 0x2b22, 0x1078, 0x3e36, 0x007c, 0xa085, 0x0001, 0x0078, |
1050 | 0x0000, 0x7083, 0x0000, 0x0079, 0x2f35, 0x2f3d, 0x2f3d, 0x2f3f, | 1090 | 0x306c, 0x2300, 0x0079, 0x3074, 0x3079, 0x3077, 0x30f9, 0x1078, |
1051 | 0x2f7f, 0x3e0c, 0x2f3d, 0x2f7f, 0x2f3d, 0x1078, 0x296b, 0x7774, | 1091 | 0x29b2, 0x78e4, 0xa005, 0x00d0, 0x30af, 0x3208, 0x007e, 0x2001, |
1052 | 0x1078, 0x40f8, 0x7774, 0xa7bc, 0x8f00, 0x1078, 0x41fe, 0x6018, | 1092 | 0x4f04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x308a, 0xa18c, 0x0300, |
1053 | 0xa005, 0x0040, 0x2f76, 0xd7fc, 0x00c0, 0x2f52, 0x2021, 0x94c0, | 1093 | 0x0078, 0x308c, 0xa18c, 0x0400, 0x0040, 0x3092, 0x0018, 0x2a08, |
1054 | 0x0078, 0x2f54, 0x2021, 0x95d0, 0x2009, 0x0005, 0x2011, 0x0010, | 1094 | 0x0078, 0x3094, 0x0028, 0x2a08, 0x2008, 0xa084, 0x0030, 0x00c0, |
1055 | 0x1078, 0x2feb, 0x0040, 0x2f76, 0x157e, 0x20a9, 0x0101, 0xd7fc, | 1095 | 0x309b, 0x0078, 0x37b9, 0x78ec, 0xa084, 0x0003, 0x0040, 0x3099, |
1056 | 0x00c0, 0x2f66, 0x2021, 0x93c0, 0x0078, 0x2f68, 0x2021, 0x94d0, | 1096 | 0x2100, 0xa084, 0x0007, 0x0079, 0x30a5, 0x30d9, 0x30e3, 0x30ce, |
1057 | 0x047e, 0x2009, 0x0005, 0x2011, 0x0010, 0x1078, 0x2feb, 0x047f, | 1097 | 0x30ad, 0x43a5, 0x43a5, 0x30ad, 0x30ee, 0x1078, 0x29b2, 0x7000, |
1058 | 0x0040, 0x2f75, 0x8420, 0x00f0, 0x2f68, 0x157f, 0x8738, 0xa784, | 1098 | 0xa086, 0x0004, 0x00c0, 0x30c9, 0x7064, 0xa086, 0x0002, 0x00c0, |
1059 | 0x001f, 0x00c0, 0x2f45, 0x0078, 0x29c5, 0x0078, 0x29c5, 0x7774, | 1099 | 0x30bf, 0x2011, 0x0002, 0x2019, 0x0000, 0x0078, 0x2f65, 0x7064, |
1060 | 0x1078, 0x41fe, 0x6018, 0xa005, 0x0040, 0x2fb1, 0xd7fc, 0x00c0, | 1100 | 0xa086, 0x0006, 0x0040, 0x30b9, 0x7064, 0xa086, 0x0004, 0x0040, |
1061 | 0x2f8d, 0x2021, 0x94c0, 0x0078, 0x2f8f, 0x2021, 0x95d0, 0x2009, | 1101 | 0x30b9, 0x79e4, 0x2001, 0x0003, 0x0078, 0x3443, 0x6818, 0xd0fc, |
1062 | 0x0005, 0x2011, 0x0020, 0x1078, 0x2feb, 0x0040, 0x2fb1, 0x157e, | 1102 | 0x0040, 0x30d4, 0x681b, 0x001d, 0x1078, 0x4118, 0x781b, 0x0064, |
1063 | 0x20a9, 0x0101, 0xd7fc, 0x00c0, 0x2fa1, 0x2021, 0x93c0, 0x0078, | 1103 | 0x007c, 0x6818, 0xd0fc, 0x0040, 0x30df, 0x681b, 0x001d, 0x1078, |
1064 | 0x2fa3, 0x2021, 0x94d0, 0x047e, 0x2009, 0x0005, 0x2011, 0x0020, | 1104 | 0x4118, 0x0078, 0x4381, 0x6818, 0xd0fc, 0x0040, 0x30e9, 0x681b, |
1065 | 0x1078, 0x2feb, 0x047f, 0x0040, 0x2fb0, 0x8420, 0x00f0, 0x2fa3, | 1105 | 0x001d, 0x1078, 0x4118, 0x781b, 0x00f8, 0x007c, 0x6818, 0xd0fc, |
1066 | 0x157f, 0x0078, 0x29c5, 0x2200, 0x0079, 0x2fb6, 0x2fb9, 0x2fbb, | 1106 | 0x0040, 0x30f4, 0x681b, 0x001d, 0x1078, 0x4118, 0x781b, 0x00c8, |
1067 | 0x2fbb, 0x1078, 0x296b, 0x2009, 0x0012, 0x7064, 0xa086, 0x0002, | 1107 | 0x007c, 0xa584, 0x000f, 0x00c0, 0x3118, 0x1078, 0x29a5, 0x7000, |
1068 | 0x0040, 0x2fc4, 0x2009, 0x000e, 0x6818, 0xd0fc, 0x0040, 0x2fc9, | 1108 | 0x0079, 0x3102, 0x2a0c, 0x310a, 0x310c, 0x3dc7, 0x3dc7, 0x3dc7, |
1069 | 0x691a, 0x7067, 0x0000, 0x70d4, 0xc0dd, 0x70d6, 0x0078, 0x430d, | 1109 | 0x310a, 0x310a, 0x1078, 0x29b2, 0x1078, 0x3e36, 0x6008, 0xa084, |
1070 | 0x2200, 0x0079, 0x2fd3, 0x2fd8, 0x2fbb, 0x2fd6, 0x1078, 0x296b, | 1110 | 0xfbef, 0x600a, 0x1078, 0x3db8, 0x0040, 0x3dc7, 0x0078, 0x2a0c, |
1071 | 0x1078, 0x4586, 0x7000, 0xa086, 0x0002, 0x00c0, 0x3d7e, 0x1078, | 1111 | 0x78e4, 0xa005, 0x00d0, 0x30af, 0x3208, 0x007e, 0x2001, 0x4f04, |
1072 | 0x3ded, 0x6008, 0xa084, 0xfbef, 0x600a, 0x1078, 0x3d6f, 0x0040, | 1112 | 0x2004, 0xd0ec, 0x007f, 0x0040, 0x3129, 0xa18c, 0x0300, 0x0078, |
1073 | 0x3d7e, 0x0078, 0x29c5, 0x2404, 0xa005, 0x0040, 0x3024, 0x2068, | 1113 | 0x312b, 0xa18c, 0x0400, 0x0040, 0x3131, 0x0018, 0x30af, 0x0078, |
1074 | 0x2d04, 0x007e, 0x6814, 0xa706, 0x0040, 0x2ffa, 0x2d20, 0x007f, | 1114 | 0x3133, 0x0028, 0x30af, 0x2008, 0xa084, 0x0030, 0x00c0, 0x313b, |
1075 | 0x0078, 0x2fec, 0x007f, 0x2022, 0x691a, 0x6817, 0x0000, 0x682b, | 1115 | 0x781b, 0x005b, 0x007c, 0x78ec, 0xa084, 0x0003, 0x0040, 0x3138, |
1076 | 0x0000, 0x68b4, 0xa084, 0x5f00, 0x681e, 0x6820, 0xa084, 0x00ff, | 1116 | 0x2100, 0xa184, 0x0007, 0x0079, 0x3145, 0x3154, 0x3158, 0x314f, |
1077 | 0xa205, 0x6822, 0x1078, 0x202c, 0x2021, 0x4e02, 0x241c, 0x8319, | 1117 | 0x314d, 0x43a5, 0x43a5, 0x314d, 0x439f, 0x1078, 0x29b2, 0x1078, |
1078 | 0x2322, 0x6010, 0x8001, 0x6012, 0x00c0, 0x301b, 0x2021, 0x4e04, | 1118 | 0x4120, 0x781b, 0x0064, 0x007c, 0x1078, 0x4120, 0x0078, 0x4381, |
1079 | 0x2404, 0xc0a5, 0x2022, 0x6008, 0xa084, 0xf9ef, 0x600a, 0x1078, | 1119 | 0x1078, 0x4120, 0x781b, 0x00f8, 0x007c, 0x1078, 0x4120, 0x781b, |
1080 | 0x2adb, 0x1078, 0x3ded, 0x007c, 0xa085, 0x0001, 0x0078, 0x3023, | 1120 | 0x00c8, 0x007c, 0x2300, 0x0079, 0x3165, 0x316a, 0x3168, 0x316c, |
1081 | 0x2300, 0x0079, 0x302b, 0x3030, 0x302e, 0x30b0, 0x1078, 0x296b, | 1121 | 0x1078, 0x29b2, 0x0078, 0x39a8, 0x681b, 0x0016, 0x78a3, 0x0000, |
1082 | 0x78e4, 0xa005, 0x00d0, 0x3066, 0x3208, 0x007e, 0x2001, 0x4e04, | 1122 | 0x79e4, 0xa184, 0x0030, 0x0040, 0x39a8, 0x78ec, 0xa084, 0x0003, |
1083 | 0x2004, 0xd0ec, 0x007f, 0x0040, 0x3041, 0xa18c, 0x0300, 0x0078, | 1123 | 0x0040, 0x39a8, 0xa184, 0x0100, 0x0040, 0x3170, 0xa184, 0x0007, |
1084 | 0x3043, 0xa18c, 0x0400, 0x0040, 0x3049, 0x0018, 0x29c1, 0x0078, | 1124 | 0x0079, 0x3182, 0x318a, 0x3158, 0x30ce, 0x435d, 0x43a5, 0x43a5, |
1085 | 0x304b, 0x0028, 0x29c1, 0x2008, 0xa084, 0x0030, 0x00c0, 0x3052, | 1125 | 0x435d, 0x439f, 0x1078, 0x4369, 0x007c, 0xa282, 0x0005, 0x0050, |
1086 | 0x0078, 0x3770, 0x78ec, 0xa084, 0x0003, 0x0040, 0x3050, 0x2100, | 1126 | 0x3193, 0x1078, 0x29b2, 0x2300, 0x0079, 0x3196, 0x3199, 0x33c9, |
1087 | 0xa084, 0x0007, 0x0079, 0x305c, 0x3090, 0x309a, 0x3085, 0x3064, | 1127 | 0x33d4, 0x2200, 0x0079, 0x319c, 0x31b6, 0x31a3, 0x31b6, 0x31a1, |
1088 | 0x4355, 0x4355, 0x3064, 0x30a5, 0x1078, 0x296b, 0x7000, 0xa086, | 1128 | 0x33ac, 0x1078, 0x29b2, 0x789b, 0x0018, 0x78a8, 0xa084, 0x00ff, |
1089 | 0x0004, 0x00c0, 0x3080, 0x7064, 0xa086, 0x0002, 0x00c0, 0x3076, | 1129 | 0xa082, 0x0020, 0x0048, 0x4107, 0xa08a, 0x0004, 0x00c8, 0x4107, |
1090 | 0x2011, 0x0002, 0x2019, 0x0000, 0x0078, 0x2f1c, 0x7064, 0xa086, | 1130 | 0x0079, 0x31b2, 0x4107, 0x4107, 0x4107, 0x40b1, 0x789b, 0x0018, |
1091 | 0x0006, 0x0040, 0x3070, 0x7064, 0xa086, 0x0004, 0x0040, 0x3070, | 1131 | 0x79a8, 0xa184, 0x0080, 0x0040, 0x31c7, 0x0078, 0x4107, 0x7000, |
1092 | 0x79e4, 0x2001, 0x0003, 0x0078, 0x33fa, 0x6818, 0xd0fc, 0x0040, | 1132 | 0xa005, 0x00c0, 0x31bd, 0x2011, 0x0004, 0x0078, 0x3b93, 0xa184, |
1093 | 0x308b, 0x681b, 0x001d, 0x1078, 0x40c8, 0x781b, 0x0064, 0x007c, | 1133 | 0x00ff, 0xa08a, 0x0010, 0x00c8, 0x4107, 0x0079, 0x31cf, 0x31e1, |
1094 | 0x6818, 0xd0fc, 0x0040, 0x3096, 0x681b, 0x001d, 0x1078, 0x40c8, | 1134 | 0x31df, 0x31f6, 0x31fa, 0x32cd, 0x4107, 0x4107, 0x32cf, 0x4107, |
1095 | 0x0078, 0x4331, 0x6818, 0xd0fc, 0x0040, 0x30a0, 0x681b, 0x001d, | 1135 | 0x4107, 0x33a8, 0x33a8, 0x4107, 0x4107, 0x4107, 0x33aa, 0x1078, |
1096 | 0x1078, 0x40c8, 0x781b, 0x00f8, 0x007c, 0x6818, 0xd0fc, 0x0040, | 1136 | 0x29b2, 0xd6e4, 0x0040, 0x31ec, 0x2001, 0x0300, 0x8000, 0x8000, |
1097 | 0x30ab, 0x681b, 0x001d, 0x1078, 0x40c8, 0x781b, 0x00c8, 0x007c, | 1137 | 0x783a, 0x781b, 0x00c3, 0x007c, 0x6818, 0xd0fc, 0x0040, 0x31f4, |
1098 | 0xa584, 0x000f, 0x00c0, 0x30cf, 0x1078, 0x295e, 0x7000, 0x0079, | 1138 | 0x681b, 0x001d, 0x0078, 0x31e4, 0x0078, 0x435d, 0x681b, 0x001d, |
1099 | 0x30b9, 0x29c5, 0x30c1, 0x30c3, 0x3d7e, 0x3d7e, 0x3d7e, 0x30c1, | 1139 | 0x0078, 0x4111, 0x6920, 0x6922, 0xa684, 0x1800, 0x00c0, 0x325f, |
1100 | 0x30c1, 0x1078, 0x296b, 0x1078, 0x3ded, 0x6008, 0xa084, 0xfbef, | 1140 | 0x6820, 0xd084, 0x00c0, 0x3265, 0x6818, 0xa086, 0x0008, 0x00c0, |
1101 | 0x600a, 0x1078, 0x3d6f, 0x0040, 0x3d7e, 0x0078, 0x29c5, 0x78e4, | 1141 | 0x320b, 0x681b, 0x0000, 0xd6d4, 0x0040, 0x32ca, 0xd6bc, 0x0040, |
1102 | 0xa005, 0x00d0, 0x3066, 0x3208, 0x007e, 0x2001, 0x4e04, 0x2004, | 1142 | 0x324b, 0x7087, 0x0000, 0x6818, 0xa084, 0x003f, 0xa08a, 0x000d, |
1103 | 0xd0ec, 0x007f, 0x0040, 0x30e0, 0xa18c, 0x0300, 0x0078, 0x30e2, | 1143 | 0x0050, 0x324b, 0xa08a, 0x000c, 0x7186, 0x2001, 0x000c, 0x800c, |
1104 | 0xa18c, 0x0400, 0x0040, 0x30e8, 0x0018, 0x3066, 0x0078, 0x30ea, | 1144 | 0x718a, 0x789b, 0x0061, 0x78aa, 0x157e, 0x137e, 0x147e, 0x017e, |
1105 | 0x0028, 0x3066, 0x2008, 0xa084, 0x0030, 0x00c0, 0x30f2, 0x781b, | 1145 | 0x3208, 0xa18c, 0x0300, 0x0040, 0x323d, 0x007e, 0x2001, 0x4f04, |
1106 | 0x005b, 0x007c, 0x78ec, 0xa084, 0x0003, 0x0040, 0x30ef, 0x2100, | 1146 | 0x2004, 0xd0ec, 0x007f, 0x0040, 0x3239, 0x20a1, 0x012b, 0x0078, |
1107 | 0xa184, 0x0007, 0x0079, 0x30fc, 0x310b, 0x310f, 0x3106, 0x3104, | 1147 | 0x323f, 0x20a1, 0x022b, 0x0078, 0x323f, 0x20a1, 0x012b, 0x017f, |
1108 | 0x4355, 0x4355, 0x3104, 0x434f, 0x1078, 0x296b, 0x1078, 0x40d0, | 1148 | 0x789b, 0x0000, 0x8000, 0x80ac, 0xad80, 0x000b, 0x2098, 0x53a6, |
1109 | 0x781b, 0x0064, 0x007c, 0x1078, 0x40d0, 0x0078, 0x4331, 0x1078, | 1149 | 0x147f, 0x137f, 0x157f, 0x6038, 0xa005, 0x00c0, 0x325a, 0x681c, |
1110 | 0x40d0, 0x781b, 0x00f8, 0x007c, 0x1078, 0x40d0, 0x781b, 0x00c8, | 1150 | 0xa084, 0x000e, 0x0040, 0x4111, 0x1078, 0x4127, 0x782b, 0x3008, |
1111 | 0x007c, 0x2300, 0x0079, 0x311c, 0x3121, 0x311f, 0x3123, 0x1078, | 1151 | 0x0078, 0x325c, 0x8001, 0x603a, 0x781b, 0x0067, 0x007c, 0xd6e4, |
1112 | 0x296b, 0x0078, 0x395f, 0x681b, 0x0016, 0x78a3, 0x0000, 0x79e4, | 1152 | 0x0040, 0x3265, 0x781b, 0x0079, 0x007c, 0xa684, 0x0060, 0x0040, |
1113 | 0xa184, 0x0030, 0x0040, 0x395f, 0x78ec, 0xa084, 0x0003, 0x0040, | 1153 | 0x32c7, 0xd6dc, 0x0040, 0x32c7, 0xd6fc, 0x00c0, 0x3271, 0x0078, |
1114 | 0x395f, 0xa184, 0x0100, 0x0040, 0x3127, 0xa184, 0x0007, 0x0079, | 1154 | 0x3288, 0xc6fc, 0x7e5a, 0x6eb6, 0x7adc, 0x79d8, 0x78d0, 0x801b, |
1115 | 0x3139, 0x3141, 0x310f, 0x3085, 0x430d, 0x4355, 0x4355, 0x430d, | 1155 | 0x00c8, 0x327b, 0x8000, 0xa084, 0x003f, 0xa108, 0xa291, 0x0000, |
1116 | 0x434f, 0x1078, 0x4319, 0x007c, 0xa282, 0x0005, 0x0050, 0x314a, | ||
1117 | 0x1078, 0x296b, 0x2300, 0x0079, 0x314d, 0x3150, 0x3380, 0x338b, | ||
1118 | 0x2200, 0x0079, 0x3153, 0x316d, 0x315a, 0x316d, 0x3158, 0x3363, | ||
1119 | 0x1078, 0x296b, 0x789b, 0x0018, 0x78a8, 0xa084, 0x00ff, 0xa082, | ||
1120 | 0x0020, 0x0048, 0x40b7, 0xa08a, 0x0004, 0x00c8, 0x40b7, 0x0079, | ||
1121 | 0x3169, 0x40b7, 0x40b7, 0x40b7, 0x4061, 0x789b, 0x0018, 0x79a8, | ||
1122 | 0xa184, 0x0080, 0x0040, 0x317e, 0x0078, 0x40b7, 0x7000, 0xa005, | ||
1123 | 0x00c0, 0x3174, 0x2011, 0x0004, 0x0078, 0x3b4a, 0xa184, 0x00ff, | ||
1124 | 0xa08a, 0x0010, 0x00c8, 0x40b7, 0x0079, 0x3186, 0x3198, 0x3196, | ||
1125 | 0x31ad, 0x31b1, 0x3284, 0x40b7, 0x40b7, 0x3286, 0x40b7, 0x40b7, | ||
1126 | 0x335f, 0x335f, 0x40b7, 0x40b7, 0x40b7, 0x3361, 0x1078, 0x296b, | ||
1127 | 0xd6e4, 0x0040, 0x31a3, 0x2001, 0x0300, 0x8000, 0x8000, 0x783a, | ||
1128 | 0x781b, 0x00c3, 0x007c, 0x6818, 0xd0fc, 0x0040, 0x31ab, 0x681b, | ||
1129 | 0x001d, 0x0078, 0x319b, 0x0078, 0x430d, 0x681b, 0x001d, 0x0078, | ||
1130 | 0x40c1, 0x6920, 0x6922, 0xa684, 0x1800, 0x00c0, 0x3216, 0x6820, | ||
1131 | 0xd084, 0x00c0, 0x321c, 0x6818, 0xa086, 0x0008, 0x00c0, 0x31c2, | ||
1132 | 0x681b, 0x0000, 0xd6d4, 0x0040, 0x3281, 0xd6bc, 0x0040, 0x3202, | ||
1133 | 0x7087, 0x0000, 0x6818, 0xa084, 0x003f, 0xa08a, 0x000d, 0x0050, | ||
1134 | 0x3202, 0xa08a, 0x000c, 0x7186, 0x2001, 0x000c, 0x800c, 0x718a, | ||
1135 | 0x789b, 0x0061, 0x78aa, 0x157e, 0x137e, 0x147e, 0x017e, 0x3208, | ||
1136 | 0xa18c, 0x0300, 0x0040, 0x31f4, 0x007e, 0x2001, 0x4e04, 0x2004, | ||
1137 | 0xd0ec, 0x007f, 0x0040, 0x31f0, 0x20a1, 0x012b, 0x0078, 0x31f6, | ||
1138 | 0x20a1, 0x022b, 0x0078, 0x31f6, 0x20a1, 0x012b, 0x017f, 0x789b, | ||
1139 | 0x0000, 0x8000, 0x80ac, 0xad80, 0x000b, 0x2098, 0x53a6, 0x147f, | ||
1140 | 0x137f, 0x157f, 0x6038, 0xa005, 0x00c0, 0x3211, 0x681c, 0xa084, | ||
1141 | 0x000e, 0x0040, 0x40c1, 0x1078, 0x40d7, 0x782b, 0x3008, 0x0078, | ||
1142 | 0x3213, 0x8001, 0x603a, 0x781b, 0x0067, 0x007c, 0xd6e4, 0x0040, | ||
1143 | 0x321c, 0x781b, 0x0079, 0x007c, 0xa684, 0x0060, 0x0040, 0x327e, | ||
1144 | 0xd6dc, 0x0040, 0x327e, 0xd6fc, 0x00c0, 0x3228, 0x0078, 0x323f, | ||
1145 | 0xc6fc, 0x7e5a, 0x6eb6, 0x7adc, 0x79d8, 0x78d0, 0x801b, 0x00c8, | ||
1146 | 0x3232, 0x8000, 0xa084, 0x003f, 0xa108, 0xa291, 0x0000, 0x6b98, | ||
1147 | 0x2100, 0xa302, 0x68b2, 0x6b94, 0x2200, 0xa303, 0x68ae, 0xd6f4, | ||
1148 | 0x0040, 0x3245, 0xc6f4, 0x7e5a, 0x6eb6, 0x7000, 0xa086, 0x0003, | ||
1149 | 0x00c0, 0x3253, 0x007e, 0x1078, 0x4586, 0x1078, 0x48bd, 0x007f, | ||
1150 | 0x781b, 0x0076, 0x007c, 0xa006, 0x1078, 0x49c3, 0x6ab0, 0x69ac, | ||
1151 | 0x6c98, 0x6b94, 0x2200, 0xa105, 0x0040, 0x3262, 0x2200, 0xa422, | ||
1152 | 0x2100, 0xa31b, 0x6caa, 0x7cd2, 0x7cda, 0x6ba6, 0x7bd6, 0x7bde, | ||
1153 | 0x2300, 0xa405, 0x00c0, 0x3272, 0xc6f5, 0x7e5a, 0x6eb6, 0x781b, | ||
1154 | 0x0076, 0x007c, 0x781b, 0x0076, 0x2200, 0xa115, 0x00c0, 0x327b, | ||
1155 | 0x1078, 0x48bd, 0x007c, 0x1078, 0x48f5, 0x007c, 0x781b, 0x0079, | ||
1156 | 0x007c, 0x781b, 0x0067, 0x007c, 0x1078, 0x296b, 0x0078, 0x32d2, | ||
1157 | 0x6920, 0xd1c4, 0x0040, 0x329b, 0xc1c4, 0x6922, 0x0c7e, 0x7058, | ||
1158 | 0x2060, 0x6000, 0xc0e4, 0x6002, 0x6004, 0xa084, 0xfff5, 0x6006, | ||
1159 | 0x0c7f, 0x0078, 0x32c6, 0xd1cc, 0x0040, 0x32c6, 0xc1cc, 0x6922, | ||
1160 | 0x0c7e, 0x7058, 0x2060, 0x6000, 0xc0ec, 0x6002, 0x6004, 0xc0a4, | ||
1161 | 0x6006, 0x2008, 0x2c48, 0x0c7f, 0xd19c, 0x0040, 0x32c6, 0x1078, | ||
1162 | 0x41fa, 0x1078, 0x3ef5, 0x88ff, 0x0040, 0x32c6, 0x789b, 0x0060, | ||
1163 | 0x2800, 0x78aa, 0x7e58, 0xc695, 0x7e5a, 0xd6d4, 0x00c0, 0x32c3, | ||
1164 | 0x781b, 0x0064, 0x007c, 0x781b, 0x0078, 0x007c, 0x7e58, 0xd6d4, | ||
1165 | 0x00c0, 0x32cd, 0x781b, 0x0067, 0x007c, 0x781b, 0x0079, 0x007c, | ||
1166 | 0x0078, 0x40bc, 0x2019, 0x0000, 0x7990, 0xa18c, 0x0007, 0x00c0, | ||
1167 | 0x32e0, 0x6820, 0xa084, 0x0100, 0x0040, 0x32d0, 0x2009, 0x0008, | ||
1168 | 0x789b, 0x0010, 0x78a8, 0xa094, 0x00ff, 0xa286, 0x0001, 0x00c0, | ||
1169 | 0x32fc, 0x2300, 0x7ca8, 0xa400, 0x2018, 0xa102, 0x0040, 0x32f4, | ||
1170 | 0x0048, 0x32f4, 0x0078, 0x32f6, 0x0078, 0x3288, 0x24a8, 0x7aa8, | ||
1171 | 0x00f0, 0x32f6, 0x0078, 0x32e2, 0xa284, 0x00f0, 0xa086, 0x0020, | ||
1172 | 0x00c0, 0x3350, 0x8318, 0x8318, 0x2300, 0xa102, 0x0040, 0x330c, | ||
1173 | 0x0048, 0x330c, 0x0078, 0x334d, 0xa286, 0x0023, 0x0040, 0x32d0, | ||
1174 | 0x681c, 0xa084, 0xfff1, 0x681e, 0x7e58, 0xa684, 0xfff1, 0xc0a5, | ||
1175 | 0x2030, 0x7e5a, 0x6008, 0xc0a5, 0x600a, 0x0c7e, 0x7058, 0x2060, | ||
1176 | 0x6004, 0x2008, 0x2c48, 0x0c7f, 0xd1a4, 0x0040, 0x332d, 0x1078, | ||
1177 | 0x41fa, 0x1078, 0x4011, 0x0078, 0x333b, 0x0c7e, 0x7058, 0x2060, | ||
1178 | 0x6004, 0x2008, 0x2c48, 0x0c7f, 0xd19c, 0x0040, 0x32c6, 0x1078, | ||
1179 | 0x41fa, 0x1078, 0x3ef5, 0x88ff, 0x0040, 0x32c6, 0x789b, 0x0060, | ||
1180 | 0x2800, 0x78aa, 0xc695, 0x7e5a, 0xd6d4, 0x00c0, 0x334a, 0x781b, | ||
1181 | 0x0064, 0x007c, 0x781b, 0x0078, 0x007c, 0x7aa8, 0x0078, 0x32e2, | ||
1182 | 0x8318, 0x2300, 0xa102, 0x0040, 0x3359, 0x0048, 0x3359, 0x0078, | ||
1183 | 0x32e2, 0xa284, 0x0080, 0x00c0, 0x40c1, 0x0078, 0x40bc, 0x0078, | ||
1184 | 0x40c1, 0x0078, 0x40b7, 0x7058, 0xa04d, 0x789b, 0x0018, 0x78a8, | ||
1185 | 0xa084, 0x00ff, 0xa08e, 0x0001, 0x0040, 0x3370, 0x1078, 0x296b, | ||
1186 | 0x7aa8, 0xa294, 0x00ff, 0x78a8, 0xa084, 0x00ff, 0xa08a, 0x0004, | ||
1187 | 0x00c8, 0x40b7, 0x0079, 0x337c, 0x40b7, 0x3e46, 0x40b7, 0x3fb9, | ||
1188 | 0xa282, 0x0000, 0x00c0, 0x3386, 0x1078, 0x296b, 0x1078, 0x40c8, | ||
1189 | 0x781b, 0x0078, 0x007c, 0xa282, 0x0003, 0x00c0, 0x3391, 0x1078, | ||
1190 | 0x296b, 0xd4fc, 0x00c0, 0x33b1, 0x7064, 0xa005, 0x0040, 0x339a, | ||
1191 | 0x1078, 0x296b, 0x6f14, 0x7776, 0xa7bc, 0x8f00, 0x1078, 0x41fe, | ||
1192 | 0x6008, 0xa085, 0x0021, 0x600a, 0x8738, 0xa784, 0x001f, 0x00c0, | ||
1193 | 0x339e, 0x1078, 0x40cc, 0x7067, 0x0002, 0x701f, 0x0009, 0x0078, | ||
1194 | 0x33b3, 0x1078, 0x40db, 0x781b, 0x0078, 0x007c, 0xa282, 0x0004, | ||
1195 | 0x0050, 0x33bc, 0x1078, 0x296b, 0x2300, 0x0079, 0x33bf, 0x33c2, | ||
1196 | 0x3582, 0x35c5, 0xa286, 0x0003, 0x0040, 0x33fa, 0x7200, 0x7cd8, | ||
1197 | 0x7ddc, 0x7fd0, 0x71d4, 0xd1bc, 0x00c0, 0x33f2, 0xd1b4, 0x0040, | ||
1198 | 0x33f2, 0x7868, 0xa084, 0x00ff, 0x00c0, 0x33f2, 0xa282, 0x0002, | ||
1199 | 0x00c8, 0x33f2, 0x0d7e, 0x783b, 0x8300, 0x781b, 0x004c, 0x70bc, | ||
1200 | 0xa06d, 0x68b4, 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, | ||
1201 | 0x78da, 0xc1b4, 0x71d6, 0x7003, 0x0030, 0x0d7f, 0x2001, 0x0000, | ||
1202 | 0x0078, 0x33fe, 0x783b, 0x1300, 0x781b, 0x004a, 0x2001, 0x0000, | ||
1203 | 0x0078, 0x33fe, 0x7200, 0x7cd8, 0x7ddc, 0x7fd0, 0x704a, 0x68a0, | ||
1204 | 0xd0ec, 0x0040, 0x3406, 0x6008, 0xc08d, 0x600a, 0xa284, 0x000f, | ||
1205 | 0x0079, 0x340a, 0x3562, 0x3417, 0x3414, 0x36c8, 0x3754, 0x29c5, | ||
1206 | 0x3412, 0x3412, 0x1078, 0x296b, 0x6008, 0xc0d4, 0x600a, 0xd6e4, | ||
1207 | 0x0040, 0x341f, 0x7048, 0xa086, 0x0014, 0x00c0, 0x343f, 0x1078, | ||
1208 | 0x4586, 0x2009, 0x0000, 0x6818, 0xd0fc, 0x0040, 0x3428, 0x7048, | ||
1209 | 0xa086, 0x0014, 0x0040, 0x3439, 0x6818, 0xa086, 0x0008, 0x00c0, | ||
1210 | 0x351a, 0x7858, 0xd09c, 0x0040, 0x351a, 0x6820, 0xd0ac, 0x0040, | ||
1211 | 0x351a, 0x681b, 0x0014, 0x2009, 0x0002, 0x0078, 0x347e, 0x7868, | ||
1212 | 0xa08c, 0x00ff, 0x0040, 0x347e, 0xa186, 0x0008, 0x00c0, 0x3455, | ||
1213 | 0x6008, 0xc0a4, 0x600a, 0x1078, 0x3d6f, 0x0040, 0x347e, 0x1078, | ||
1214 | 0x3ded, 0x1078, 0x4586, 0x0078, 0x3466, 0xa186, 0x0028, 0x00c0, | ||
1215 | 0x347e, 0x6018, 0xa005, 0x0040, 0x3448, 0x8001, 0x0040, 0x3448, | ||
1216 | 0x8001, 0x0040, 0x3448, 0x601e, 0x0078, 0x3448, 0x6820, 0xd084, | ||
1217 | 0x0040, 0x29c5, 0xc084, 0x6822, 0x1078, 0x2acc, 0x705c, 0x0c7e, | ||
1218 | 0x2060, 0x6800, 0x6002, 0x0c7f, 0x6004, 0x6802, 0xa005, 0x2d00, | ||
1219 | 0x00c0, 0x347b, 0x6002, 0x6006, 0x0078, 0x29c5, 0x017e, 0x81ff, | ||
1220 | 0x00c0, 0x34c8, 0x7000, 0xa086, 0x0030, 0x0040, 0x34c8, 0x71d4, | ||
1221 | 0xd1bc, 0x00c0, 0x34c8, 0xd1b4, 0x00c0, 0x34af, 0x7060, 0xa005, | ||
1222 | 0x00c0, 0x34c8, 0x70a4, 0xa086, 0x0001, 0x0040, 0x34c8, 0x7003, | ||
1223 | 0x0000, 0x047e, 0x057e, 0x077e, 0x067e, 0x0c7e, 0x0d7e, 0x1078, | ||
1224 | 0x29ee, 0x0d7f, 0x0c7f, 0x067f, 0x077f, 0x057f, 0x047f, 0x71d4, | ||
1225 | 0xd1b4, 0x00c0, 0x34c8, 0x7003, 0x0040, 0x0078, 0x34c8, 0x1078, | ||
1226 | 0x4360, 0x00c0, 0x34c8, 0x781b, 0x005b, 0x0d7e, 0x70bc, 0xa06d, | ||
1227 | 0x68b4, 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, | ||
1228 | 0xc1b4, 0x71d6, 0x7003, 0x0030, 0x7808, 0xc08d, 0x780a, 0x0d7f, | ||
1229 | 0x1078, 0x35ff, 0x017f, 0x81ff, 0x0040, 0x351a, 0xa684, 0xdf00, | ||
1230 | 0x681e, 0x682b, 0x0000, 0x6f14, 0xa186, 0x0002, 0x00c0, 0x351b, | ||
1231 | 0x6818, 0xa086, 0x0014, 0x00c0, 0x34e4, 0x2008, 0xd6e4, 0x0040, | ||
1232 | 0x34e4, 0x7868, 0xa08c, 0x00ff, 0x1078, 0x2aba, 0x1078, 0x2adb, | ||
1233 | 0x6820, 0xd0dc, 0x00c0, 0x351b, 0x8717, 0xa294, 0x000f, 0x8213, | ||
1234 | 0x8213, 0x8213, 0xb284, 0x0300, 0x0040, 0x34fa, 0xa290, 0x52c0, | ||
1235 | 0x0078, 0x34fc, 0xa290, 0x5340, 0xa290, 0x0000, 0x221c, 0xd3c4, | ||
1236 | 0x00c0, 0x3504, 0x0078, 0x350a, 0x8210, 0x2204, 0xa085, 0x0018, | ||
1237 | 0x2012, 0x8211, 0xd3d4, 0x0040, 0x3515, 0x68a0, 0xd0c4, 0x00c0, | ||
1238 | 0x3515, 0x1078, 0x3679, 0x0078, 0x29c5, 0x6008, 0xc08d, 0x600a, | ||
1239 | 0x0078, 0x351b, 0x692a, 0x6916, 0x6818, 0xd0fc, 0x0040, 0x3522, | ||
1240 | 0x7048, 0x681a, 0xa68c, 0xdf00, 0x691e, 0x6410, 0x84ff, 0x0040, | ||
1241 | 0x3537, 0x2009, 0x4e02, 0x2104, 0x8001, 0x200a, 0x8421, 0x6412, | ||
1242 | 0x00c0, 0x3537, 0x2021, 0x4e04, 0x2404, 0xc0a5, 0x2022, 0x6018, | ||
1243 | 0xa005, 0x0040, 0x353f, 0x8001, 0x601a, 0x00c0, 0x3542, 0x6008, | ||
1244 | 0xc0a4, 0x600a, 0x6820, 0xd084, 0x00c0, 0x354e, 0x6800, 0xa005, | ||
1245 | 0x00c0, 0x354b, 0x6002, 0x6006, 0x0078, 0x3552, 0x705c, 0x2060, | ||
1246 | 0x6800, 0x6002, 0x2061, 0x4e00, 0x6887, 0x0103, 0x2d08, 0x206b, | ||
1247 | 0x0000, 0x6068, 0xa005, 0x616a, 0x0040, 0x3561, 0x2d02, 0x0078, | ||
1248 | 0x3562, 0x616e, 0x7200, 0xa286, 0x0030, 0x0040, 0x3572, 0xa286, | ||
1249 | 0x0040, 0x00c0, 0x29c5, 0x7003, 0x0002, 0x704c, 0x2068, 0x68c4, | ||
1250 | 0x2060, 0x007c, 0x7003, 0x0002, 0x70bc, 0xa06d, 0x68bc, 0x7042, | ||
1251 | 0x70b8, 0xa065, 0x68c0, 0x705a, 0x2d00, 0x704e, 0xad80, 0x0009, | ||
1252 | 0x7046, 0x007c, 0xa282, 0x0004, 0x0048, 0x3588, 0x1078, 0x296b, | ||
1253 | 0x2200, 0x0079, 0x358b, 0x358f, 0x35a0, 0x35ad, 0x35a0, 0xa586, | ||
1254 | 0x1300, 0x0040, 0x35a0, 0xa586, 0x8300, 0x00c0, 0x3586, 0x7003, | ||
1255 | 0x0000, 0x6018, 0x8001, 0x601a, 0x6008, 0xa084, 0xfbef, 0x600a, | ||
1256 | 0x7000, 0xa086, 0x0005, 0x0040, 0x35aa, 0x1078, 0x40c8, 0x781b, | ||
1257 | 0x0078, 0x007c, 0x781b, 0x0079, 0x007c, 0x7890, 0x8007, 0x8001, | ||
1258 | 0xa084, 0x0007, 0xa080, 0x0018, 0x789a, 0x79a8, 0xa18c, 0x00ff, | ||
1259 | 0xa186, 0x0003, 0x0040, 0x35c2, 0xa186, 0x0000, 0x0040, 0x35c2, | ||
1260 | 0x0078, 0x40b7, 0x781b, 0x0079, 0x007c, 0x6820, 0xc095, 0x6822, | ||
1261 | 0x82ff, 0x00c0, 0x35cf, 0x1078, 0x40c8, 0x0078, 0x35d6, 0x8211, | ||
1262 | 0x0040, 0x35d4, 0x1078, 0x296b, 0x1078, 0x40db, 0x781b, 0x0078, | ||
1263 | 0x007c, 0x1078, 0x4383, 0x7830, 0xa084, 0x00c0, 0x00c0, 0x35fc, | ||
1264 | 0x017e, 0x3208, 0x007e, 0x2001, 0x4e04, 0x2004, 0xd0ec, 0x007f, | ||
1265 | 0x0040, 0x35ee, 0xa18c, 0x0300, 0x0078, 0x35f0, 0xa18c, 0x0400, | ||
1266 | 0x017f, 0x0040, 0x35f7, 0x0018, 0x35fc, 0x0078, 0x35f9, 0x0028, | ||
1267 | 0x35fc, 0x791a, 0xa006, 0x007c, 0xa085, 0x0001, 0x007c, 0xa684, | ||
1268 | 0x0060, 0x00c0, 0x3609, 0x682f, 0x0000, 0x6833, 0x0000, 0x0078, | ||
1269 | 0x3678, 0xd6dc, 0x00c0, 0x3621, 0x68b4, 0xd0dc, 0x00c0, 0x3621, | ||
1270 | 0x6998, 0x6a94, 0x692e, 0x6a32, 0x7048, 0xa005, 0x00c0, 0x361e, | ||
1271 | 0x2200, 0xa105, 0x0040, 0x4586, 0x704b, 0x0015, 0x0078, 0x4586, | ||
1272 | 0x007c, 0xd6ac, 0x0040, 0x3647, 0xd6f4, 0x0040, 0x362d, 0x682f, | ||
1273 | 0x0000, 0x6833, 0x0000, 0x0078, 0x4586, 0x68b4, 0xa084, 0x4000, | ||
1274 | 0xa635, 0xd6f4, 0x00c0, 0x3627, 0x7048, 0xa005, 0x00c0, 0x363a, | ||
1275 | 0x704b, 0x0015, 0xd6dc, 0x00c0, 0x3643, 0x68b4, 0xd0dc, 0x0040, | ||
1276 | 0x3643, 0x6ca8, 0x6da4, 0x6c2e, 0x6d32, 0x0078, 0x4586, 0xd6f4, | ||
1277 | 0x0040, 0x3650, 0x682f, 0x0000, 0x6833, 0x0000, 0x0078, 0x4586, | ||
1278 | 0x68b4, 0xa084, 0x4800, 0xa635, 0xd6f4, 0x00c0, 0x364a, 0x7048, | ||
1279 | 0xa005, 0x00c0, 0x365d, 0x704b, 0x0015, 0x2408, 0x2510, 0x2700, | ||
1280 | 0x80fb, 0x00c8, 0x3664, 0x8000, 0xa084, 0x003f, 0xa108, 0xa291, | ||
1281 | 0x0000, 0x692e, 0x6a32, 0x2100, 0xa205, 0x00c0, 0x3671, 0x0078, | ||
1282 | 0x4586, 0x7000, 0xa086, 0x0006, 0x0040, 0x3678, 0x0078, 0x4586, | ||
1283 | 0x007c, 0x6946, 0x6008, 0xc0cd, 0xd3cc, 0x0040, 0x3680, 0xc08d, | ||
1284 | 0x600a, 0x6818, 0x683a, 0x681b, 0x0006, 0x688f, 0x0000, 0x6893, | ||
1285 | 0x0000, 0x6a30, 0x692c, 0x6a3e, 0x6942, 0x682f, 0x0003, 0x6833, | ||
1286 | 0x0000, 0x6837, 0x0020, 0x6897, 0x0000, 0x689b, 0x0020, 0x7000, | ||
1287 | 0x0079, 0x369a, 0x29c5, 0x36ac, 0x36a4, 0x36a2, 0x36a2, 0x36a2, | ||
1288 | 0x36a2, 0x36a2, 0x1078, 0x296b, 0x6820, 0xd084, 0x00c0, 0x36ac, | ||
1289 | 0x1078, 0x3dd0, 0x0078, 0x36b2, 0x705c, 0x2c50, 0x2060, 0x6800, | ||
1290 | 0x6002, 0x2a60, 0x3208, 0xa18c, 0x0300, 0x0040, 0x36bb, 0x2021, | ||
1291 | 0x4e58, 0x0078, 0x36bd, 0x2021, 0x4e98, 0x2404, 0xa005, 0x0040, | ||
1292 | 0x36c4, 0x2020, 0x0078, 0x36bd, 0x2d22, 0x206b, 0x0000, 0x007c, | ||
1293 | 0x1078, 0x3dd7, 0x1078, 0x3ded, 0x6008, 0xc0cc, 0x600a, 0x682b, | ||
1294 | 0x0000, 0x789b, 0x000e, 0x6f14, 0x6938, 0x691a, 0x6944, 0x6916, | ||
1295 | 0x3208, 0xa18c, 0x0300, 0x0040, 0x36e1, 0x2009, 0x0000, 0x0078, | ||
1296 | 0x36e3, 0x2009, 0x0001, 0x1078, 0x49f8, 0xd6dc, 0x0040, 0x36eb, | ||
1297 | 0x691c, 0xc1ed, 0x691e, 0x6818, 0xd0fc, 0x0040, 0x36fa, 0x7868, | ||
1298 | 0xa08c, 0x00ff, 0x0040, 0x36f8, 0x681b, 0x001e, 0x0078, 0x36fa, | ||
1299 | 0x681b, 0x0000, 0xb284, 0x0300, 0x00c0, 0x3702, 0x2021, 0x4e98, | ||
1300 | 0x0078, 0x3704, 0x2021, 0x4e58, 0x6800, 0x2022, 0x6a3c, 0x6940, | ||
1301 | 0x6a32, 0x692e, 0x68c0, 0x2060, 0x6000, 0xd0a4, 0x0040, 0x3744, | ||
1302 | 0x2041, 0x0021, 0x2049, 0x0005, 0x2051, 0x0020, 0x0d7e, 0x0f7e, | ||
1303 | 0x157e, 0x147e, 0x2079, 0x4e00, 0x1078, 0x1dff, 0x147f, 0x157f, | ||
1304 | 0x0f7f, 0x70cc, 0x2010, 0x2009, 0x0101, 0x027e, 0x2204, 0xa06d, | ||
1305 | 0x0040, 0x3734, 0x6814, 0xa706, 0x0040, 0x3731, 0x6800, 0x0078, | ||
1306 | 0x3727, 0x6820, 0xc0d5, 0x6822, 0x027f, 0x8210, 0x8109, 0x00c0, | ||
1307 | 0x3725, 0x0d7f, 0x7067, 0x0003, 0x707f, 0x0000, 0x7776, 0x7083, | ||
1308 | 0x000f, 0x71d4, 0xc1dc, 0x71d6, 0x6818, 0xa086, 0x0002, 0x00c0, | ||
1309 | 0x3750, 0x6817, 0x0000, 0x682b, 0x0000, 0x681c, 0xc0ec, 0x681e, | ||
1310 | 0x1078, 0x202c, 0x0078, 0x29c5, 0x7cd8, 0x7ddc, 0x7fd0, 0x1078, | ||
1311 | 0x35ff, 0x682b, 0x0000, 0x789b, 0x000e, 0x6f14, 0x1078, 0x4387, | ||
1312 | 0xa08c, 0x00ff, 0x6916, 0x6818, 0xd0fc, 0x0040, 0x3769, 0x7048, | ||
1313 | 0x681a, 0xa68c, 0xdf00, 0x691e, 0x7067, 0x0000, 0x0078, 0x29c5, | ||
1314 | 0x7000, 0xa005, 0x00c0, 0x3776, 0x0078, 0x29c5, 0xa006, 0x1078, | ||
1315 | 0x4586, 0x6920, 0xd1ac, 0x00c0, 0x377f, 0x681b, 0x0014, 0xa68c, | ||
1316 | 0xdf00, 0x691e, 0x682b, 0x0000, 0x6820, 0xa084, 0x00ff, 0x6822, | ||
1317 | 0x7000, 0x0079, 0x378b, 0x29c5, 0x3795, 0x3795, 0x3798, 0x3798, | ||
1318 | 0x3798, 0x3793, 0x3793, 0x1078, 0x296b, 0x6818, 0x0078, 0x33fa, | ||
1319 | 0x6008, 0xc0a4, 0x600a, 0x6817, 0x0000, 0x0078, 0x3d95, 0x2300, | ||
1320 | 0x0079, 0x37a2, 0x37a5, 0x37a7, 0x3817, 0x1078, 0x296b, 0xd6fc, | ||
1321 | 0x00c0, 0x37fe, 0x7000, 0xa00d, 0x0079, 0x37ae, 0x29c5, 0x37b8, | ||
1322 | 0x37b8, 0x37e8, 0x37b8, 0x37fb, 0x37b6, 0x37b6, 0x1078, 0x296b, | ||
1323 | 0xa684, 0x0060, 0x0040, 0x37e8, 0xa086, 0x0060, 0x00c0, 0x37e5, | ||
1324 | 0xc6ac, 0xc6f4, 0xc6ed, 0x7e5a, 0x6eb6, 0x681c, 0xc0ac, 0x681e, | ||
1325 | 0xa186, 0x0002, 0x0040, 0x37d7, 0x1078, 0x4586, 0x69ac, 0x68b0, | ||
1326 | 0xa115, 0x0040, 0x37d7, 0x1078, 0x48f5, 0x0078, 0x37d9, 0x1078, | ||
1327 | 0x48bd, 0x781b, 0x0079, 0x71d4, 0xd1b4, 0x00c0, 0x29c1, 0x70a4, | ||
1328 | 0xa086, 0x0001, 0x00c0, 0x2a0b, 0x007c, 0xd6ec, 0x0040, 0x37c2, | ||
1329 | 0x6818, 0xd0fc, 0x0040, 0x37fb, 0xd6f4, 0x00c0, 0x37f5, 0x681b, | ||
1330 | 0x0015, 0x781b, 0x0079, 0x0078, 0x29c1, 0x681b, 0x0007, 0x682f, | ||
1331 | 0x0000, 0x6833, 0x0000, 0x1078, 0x4319, 0x007c, 0xc6fc, 0x7e5a, | ||
1332 | 0x7adc, 0x79d8, 0x78d0, 0x801b, 0x00c8, 0x3807, 0x8000, 0xa084, | ||
1333 | 0x003f, 0xa108, 0xa291, 0x0000, 0x6b98, 0x2100, 0xa302, 0x68b2, | ||
1334 | 0x6b94, 0x2200, 0xa303, 0x68ae, 0x781b, 0x0079, 0x007c, 0x1078, | ||
1335 | 0x296b, 0x2300, 0x0079, 0x381c, 0x3821, 0x3846, 0x38a6, 0x1078, | ||
1336 | 0x296b, 0x7000, 0x0079, 0x3824, 0x382c, 0x382e, 0x3837, 0x382c, | ||
1337 | 0x382c, 0x382c, 0x382c, 0x382c, 0x1078, 0x296b, 0x69ac, 0x68b0, | ||
1338 | 0xa115, 0x0040, 0x3837, 0x1078, 0x48f5, 0x0078, 0x3839, 0x1078, | ||
1339 | 0x48bd, 0x681c, 0xc0b4, 0x681e, 0x70d4, 0xd0b4, 0x00c0, 0x29c1, | ||
1340 | 0x70a4, 0xa086, 0x0001, 0x00c0, 0x2a0b, 0x007c, 0xd6fc, 0x00c0, | ||
1341 | 0x3896, 0x7000, 0xa00d, 0x0079, 0x384d, 0x29c5, 0x385d, 0x3857, | ||
1342 | 0x388d, 0x385d, 0x3893, 0x3855, 0x3855, 0x1078, 0x296b, 0x6894, | ||
1343 | 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, 0xa684, 0x0060, 0x0040, | ||
1344 | 0x388d, 0xa086, 0x0060, 0x00c0, 0x388a, 0xa6b4, 0xbfbf, 0xc6ed, | ||
1345 | 0x7e5a, 0x6eb6, 0xa186, 0x0002, 0x0040, 0x3879, 0x1078, 0x4586, | ||
1346 | 0x69ac, 0x68b0, 0xa115, 0x0040, 0x3879, 0x1078, 0x48f5, 0x0078, | ||
1347 | 0x387b, 0x1078, 0x48bd, 0x781b, 0x0079, 0x681c, 0xc0b4, 0x681e, | ||
1348 | 0x71d4, 0xd1b4, 0x00c0, 0x29c1, 0x70a4, 0xa086, 0x0001, 0x00c0, | ||
1349 | 0x2a0b, 0x007c, 0xd6ec, 0x0040, 0x3867, 0x6818, 0xd0fc, 0x0040, | ||
1350 | 0x3893, 0x681b, 0x0007, 0x781b, 0x00f9, 0x007c, 0xc6fc, 0x7e5a, | ||
1351 | 0x7adc, 0x79d8, 0x6b98, 0x2100, 0xa302, 0x68b2, 0x6b94, 0x2200, | ||
1352 | 0xa303, 0x68ae, 0x79d2, 0x781b, 0x0079, 0x007c, 0xd6dc, 0x0040, | ||
1353 | 0x38af, 0x782b, 0x3009, 0x781b, 0x0079, 0x0078, 0x29c1, 0x7884, | ||
1354 | 0xc0ac, 0x7886, 0x78e4, 0xa084, 0x0008, 0x00c0, 0x38c2, 0xa484, | ||
1355 | 0x0200, 0x0040, 0x38bc, 0xc6f5, 0xc6dd, 0x7e5a, 0x781b, 0x0079, | ||
1356 | 0x0078, 0x29c1, 0x6820, 0xc095, 0x6822, 0x1078, 0x4292, 0xc6dd, | ||
1357 | 0x1078, 0x40c8, 0x781b, 0x0078, 0x0078, 0x29c1, 0x2300, 0x0079, | ||
1358 | 0x38d1, 0x38d4, 0x38d6, 0x38d8, 0x1078, 0x296b, 0x0078, 0x40c1, | ||
1359 | 0xd6d4, 0x00c0, 0x3913, 0x79e4, 0xd1ac, 0x0040, 0x38e6, 0x78ec, | ||
1360 | 0xa084, 0x0003, 0x0040, 0x38e6, 0x782b, 0x3009, 0x789b, 0x0060, | ||
1361 | 0x78ab, 0x0000, 0xa684, 0xfffb, 0x785a, 0x79e4, 0xd1ac, 0x0040, | ||
1362 | 0x38f6, 0x78ec, 0xa084, 0x0003, 0x00c0, 0x390f, 0x2001, 0x4e04, | ||
1363 | 0x2004, 0xd0e4, 0x00c0, 0x390b, 0x6820, 0xd0c4, 0x0040, 0x390b, | ||
1364 | 0x0c7e, 0x7058, 0x2060, 0x6004, 0xc09d, 0x6006, 0x6008, 0xa084, | ||
1365 | 0x00ff, 0x600a, 0x0c7f, 0x2001, 0x0014, 0x0078, 0x33fa, 0xa184, | ||
1366 | 0x0007, 0x0079, 0x3949, 0x7a90, 0xa294, 0x0007, 0x789b, 0x0060, | ||
1367 | 0x79a8, 0x81ff, 0x0040, 0x3947, 0x789b, 0x0010, 0x7ba8, 0xa384, | ||
1368 | 0x0001, 0x00c0, 0x393a, 0x7ba8, 0x7ba8, 0xa386, 0x0001, 0x00c0, | ||
1369 | 0x392d, 0x2009, 0xfff7, 0x0078, 0x3933, 0xa386, 0x0003, 0x00c0, | ||
1370 | 0x393a, 0x2009, 0xffef, 0x0c7e, 0x7058, 0x2060, 0x6004, 0xa104, | ||
1371 | 0x6006, 0x0c7f, 0x789b, 0x0060, 0x78ab, 0x0000, 0xa684, 0xfffb, | ||
1372 | 0x785a, 0x782b, 0x3009, 0x6920, 0xa18c, 0xfcff, 0x6922, 0x0078, | ||
1373 | 0x430d, 0x3090, 0x309a, 0x3953, 0x3959, 0x3951, 0x3951, 0x430d, | ||
1374 | 0x430d, 0x1078, 0x296b, 0x6920, 0xa18c, 0xfcff, 0x6922, 0x0078, | ||
1375 | 0x4313, 0x6920, 0xa18c, 0xfcff, 0x6922, 0x0078, 0x430d, 0x79e4, | ||
1376 | 0xa184, 0x0030, 0x0040, 0x3969, 0x78ec, 0xa084, 0x0003, 0x00c0, | ||
1377 | 0x399d, 0x7000, 0xa086, 0x0004, 0x00c0, 0x3983, 0x7064, 0xa086, | ||
1378 | 0x0002, 0x00c0, 0x3979, 0x2011, 0x0002, 0x2019, 0x0000, 0x0078, | ||
1379 | 0x2f1c, 0x7064, 0xa086, 0x0006, 0x0040, 0x3973, 0x7064, 0xa086, | ||
1380 | 0x0004, 0x0040, 0x3973, 0x7000, 0xa086, 0x0000, 0x0040, 0x29c1, | ||
1381 | 0x6920, 0xa184, 0x0420, 0x0040, 0x3992, 0xc1d4, 0x6922, 0x6818, | ||
1382 | 0x0078, 0x33fa, 0x6818, 0xa08e, 0x0002, 0x0040, 0x399b, 0xc0fd, | ||
1383 | 0x681a, 0x2001, 0x0014, 0x0078, 0x33fa, 0xa184, 0x0007, 0x0079, | ||
1384 | 0x39a1, 0x430d, 0x430d, 0x39a9, 0x430d, 0x4355, 0x4355, 0x430d, | ||
1385 | 0x430d, 0xd6bc, 0x0040, 0x39eb, 0x7184, 0x81ff, 0x0040, 0x39eb, | ||
1386 | 0xa182, 0x000d, 0x00d0, 0x39b8, 0x7087, 0x0000, 0x0078, 0x39bd, | ||
1387 | 0xa182, 0x000c, 0x7086, 0x2009, 0x000c, 0x789b, 0x0061, 0x79aa, | ||
1388 | 0x157e, 0x137e, 0x147e, 0x7088, 0x8114, 0xa210, 0x728a, 0xa080, | ||
1389 | 0x000b, 0xad00, 0x2098, 0xb284, 0x0300, 0x0040, 0x39df, 0x007e, | ||
1390 | 0x2001, 0x4e04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x39db, 0x20a1, | ||
1391 | 0x012b, 0x0078, 0x39e1, 0x20a1, 0x022b, 0x0078, 0x39e1, 0x20a1, | ||
1392 | 0x012b, 0x789b, 0x0000, 0x8108, 0x81ac, 0x53a6, 0x147f, 0x137f, | ||
1393 | 0x157f, 0x0078, 0x4313, 0xd6d4, 0x00c0, 0x3a3f, 0x6820, 0xd084, | ||
1394 | 0x0040, 0x4313, 0xa68c, 0x0060, 0xa684, 0x0060, 0x0040, 0x39fd, | ||
1395 | 0xa086, 0x0060, 0x00c0, 0x39fd, 0xc1f5, 0xc194, 0x795a, 0x69b6, | ||
1396 | 0x789b, 0x0060, 0x78ab, 0x0000, 0x789b, 0x0061, 0x6818, 0xc0fd, | ||
1397 | 0x681a, 0x78aa, 0x8008, 0x810c, 0x0040, 0x3e06, 0xa18c, 0x00f8, | ||
1398 | 0x00c0, 0x3e06, 0x157e, 0x137e, 0x147e, 0x017e, 0x3208, 0xa18c, | ||
1399 | 0x0300, 0x0040, 0x3a2b, 0x007e, 0x2001, 0x4e04, 0x2004, 0xd0ec, | ||
1400 | 0x007f, 0x0040, 0x3a27, 0x20a1, 0x012b, 0x0078, 0x3a2d, 0x20a1, | ||
1401 | 0x022b, 0x0078, 0x3a2d, 0x20a1, 0x012b, 0x017f, 0x789b, 0x0000, | ||
1402 | 0x8000, 0x80ac, 0xad80, 0x000b, 0x2098, 0x53a6, 0x147f, 0x137f, | ||
1403 | 0x157f, 0x6814, 0xc0fc, 0x8007, 0x7882, 0x0078, 0x4313, 0x6818, | ||
1404 | 0xd0fc, 0x0040, 0x3a45, 0x681b, 0x0008, 0x6820, 0xc0ad, 0x6822, | ||
1405 | 0x1078, 0x40d0, 0x781b, 0x00ea, 0x007c, 0x2300, 0x0079, 0x3a50, | ||
1406 | 0x3a55, 0x3b2d, 0x3a53, 0x1078, 0x296b, 0x7cd8, 0x7ddc, 0x7fd0, | ||
1407 | 0x82ff, 0x00c0, 0x3a7e, 0x7200, 0xa286, 0x0003, 0x0040, 0x33c7, | ||
1408 | 0x71d4, 0xd1bc, 0x00c0, 0x3a81, 0xd1b4, 0x0040, 0x3a81, 0x0d7e, | ||
1409 | 0x783b, 0x8800, 0x781b, 0x004c, 0x70bc, 0xa06d, 0x68b4, 0xc0a5, | ||
1410 | 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, 0xc1b4, | ||
1411 | 0x71d6, 0x7003, 0x0030, 0x0d7f, 0x0078, 0x3a85, 0x7200, 0x0078, | ||
1412 | 0x3a85, 0x783b, 0x1800, 0x781b, 0x004a, 0xa284, 0x000f, 0x0079, | ||
1413 | 0x3a89, 0x3b18, 0x3ac7, 0x3a93, 0x33f6, 0x3a91, 0x3b18, 0x3a91, | ||
1414 | 0x3a91, 0x1078, 0x296b, 0x681c, 0xd0ec, 0x0040, 0x3a9a, 0x6008, | ||
1415 | 0xc08d, 0x600a, 0x6920, 0xc185, 0x6922, 0x6800, 0x6006, 0xa005, | ||
1416 | 0x00c0, 0x3aa3, 0x6002, 0x6008, 0xc0d4, 0x600a, 0x681c, 0xa084, | ||
1417 | 0x000e, 0x00c0, 0x3ab7, 0xb284, 0x0300, 0x0040, 0x3ab3, 0x2009, | ||
1418 | 0x94c0, 0x0078, 0x3abc, 0x2009, 0x95d0, 0x0078, 0x3abc, 0x7030, | ||
1419 | 0x68ba, 0x7140, 0x70cc, 0xa108, 0x2104, 0x6802, 0x2d0a, 0x715e, | ||
1420 | 0xd6dc, 0x00c0, 0x3ac7, 0xc6fc, 0x6eb6, 0x0078, 0x3b18, 0x6eb6, | ||
1421 | 0xa684, 0x0060, 0x00c0, 0x3ad1, 0xa684, 0x7fff, 0x68b6, 0x0078, | ||
1422 | 0x3b18, 0xd6dc, 0x00c0, 0x3adf, 0xa684, 0x7fff, 0x68b6, 0x6894, | ||
1423 | 0x68a6, 0x6898, 0x68aa, 0x1078, 0x4586, 0x0078, 0x3b18, 0xd6ac, | ||
1424 | 0x0040, 0x3aeb, 0xa006, 0x1078, 0x4586, 0x2408, 0x2510, 0x69aa, | ||
1425 | 0x6aa6, 0x0078, 0x3afb, 0x2408, 0x2510, 0x2700, 0x801b, 0x00c8, | ||
1426 | 0x3af2, 0x8000, 0xa084, 0x003f, 0xa108, 0xa291, 0x0000, 0x69aa, | ||
1427 | 0x6aa6, 0x1078, 0x4586, 0xd6fc, 0x0040, 0x3b18, 0xa684, 0x7fff, | ||
1428 | 0x68b6, 0x2510, 0x2408, 0xd6ac, 0x00c0, 0x3b10, 0x2700, 0x801b, | ||
1429 | 0x00c8, 0x3b0b, 0x8000, 0xa084, 0x003f, 0xa108, 0xa291, 0x0000, | ||
1430 | 0x6b98, 0x2100, 0xa302, 0x68b2, 0x6b94, 0x2200, 0xa303, 0x68ae, | 1156 | 0x6b98, 0x2100, 0xa302, 0x68b2, 0x6b94, 0x2200, 0xa303, 0x68ae, |
1431 | 0x7000, 0xa086, 0x0030, 0x00c0, 0x29c5, 0x7003, 0x0002, 0x70bc, | 1157 | 0xd6f4, 0x0040, 0x328e, 0xc6f4, 0x7e5a, 0x6eb6, 0x7000, 0xa086, |
1432 | 0xa06d, 0x68bc, 0x7042, 0x70b8, 0xa065, 0x68c0, 0x705a, 0x2d00, | 1158 | 0x0003, 0x00c0, 0x329c, 0x007e, 0x1078, 0x45d6, 0x1078, 0x493f, |
1433 | 0x704e, 0xad80, 0x0009, 0x7046, 0x007c, 0xa586, 0x8800, 0x00c0, | 1159 | 0x007f, 0x781b, 0x0076, 0x007c, 0xa006, 0x1078, 0x4a44, 0x6ab0, |
1434 | 0x3b3a, 0x7003, 0x0000, 0x6018, 0x8001, 0x601a, 0x6008, 0xa084, | 1160 | 0x69ac, 0x6c98, 0x6b94, 0x2200, 0xa105, 0x0040, 0x32ab, 0x2200, |
1435 | 0xfbef, 0x600a, 0x0078, 0x40c1, 0x7047, 0x0000, 0xa282, 0x0006, | 1161 | 0xa422, 0x2100, 0xa31b, 0x6caa, 0x7cd2, 0x7cda, 0x6ba6, 0x7bd6, |
1436 | 0x0050, 0x3b44, 0x1078, 0x296b, 0x2300, 0x0079, 0x3b47, 0x3b4a, | 1162 | 0x7bde, 0x2300, 0xa405, 0x00c0, 0x32bb, 0xc6f5, 0x7e5a, 0x6eb6, |
1437 | 0x3b5c, 0x3b68, 0x2200, 0x0079, 0x3b4d, 0x3b53, 0x40c1, 0x3b55, | 1163 | 0x781b, 0x0076, 0x007c, 0x781b, 0x0076, 0x2200, 0xa115, 0x00c0, |
1438 | 0x3b53, 0x3ba2, 0x3bf7, 0x1078, 0x296b, 0x7a80, 0xa294, 0x0f00, | 1164 | 0x32c4, 0x1078, 0x493f, 0x007c, 0x1078, 0x4977, 0x007c, 0x781b, |
1439 | 0x1078, 0x3c81, 0x0078, 0x40b7, 0x1078, 0x3b79, 0x0079, 0x3b60, | 1165 | 0x0079, 0x007c, 0x781b, 0x0067, 0x007c, 0x1078, 0x29b2, 0x0078, |
1440 | 0x40c1, 0x3b66, 0x3b66, 0x3ba2, 0x3b66, 0x40c1, 0x1078, 0x296b, | 1166 | 0x331b, 0x6920, 0xd1c4, 0x0040, 0x32e4, 0xc1c4, 0x6922, 0x0c7e, |
1441 | 0x1078, 0x3b79, 0x0079, 0x3b6c, 0x3b74, 0x3b72, 0x3b72, 0x3b74, | 1167 | 0x7058, 0x2060, 0x6000, 0xc0e4, 0x6002, 0x6004, 0xa084, 0xfff5, |
1442 | 0x3b72, 0x3b74, 0x1078, 0x296b, 0x1078, 0x40db, 0x781b, 0x0078, | 1168 | 0x6006, 0x0c7f, 0x0078, 0x330f, 0xd1cc, 0x0040, 0x330f, 0xc1cc, |
1443 | 0x007c, 0x7000, 0xa086, 0x0002, 0x00c0, 0x3b8a, 0x1078, 0x3ded, | 1169 | 0x6922, 0x0c7e, 0x7058, 0x2060, 0x6000, 0xc0ec, 0x6002, 0x6004, |
1444 | 0x0078, 0x3b84, 0x1078, 0x4586, 0x6008, 0xa084, 0xfbef, 0x600a, | 1170 | 0xc0a4, 0x6006, 0x2008, 0x2c48, 0x0c7f, 0xd19c, 0x0040, 0x330f, |
1445 | 0x0078, 0x3b8f, 0x7000, 0xa086, 0x0003, 0x0040, 0x3b82, 0x7003, | 1171 | 0x1078, 0x424a, 0x1078, 0x3f3e, 0x88ff, 0x0040, 0x330f, 0x789b, |
1446 | 0x0005, 0xb284, 0x0300, 0x0040, 0x3b99, 0x2001, 0x95e0, 0x0078, | 1172 | 0x0060, 0x2800, 0x78aa, 0x7e58, 0xc695, 0x7e5a, 0xd6d4, 0x00c0, |
1447 | 0x3b9b, 0x2001, 0x9612, 0x2068, 0x704e, 0xad80, 0x0009, 0x7046, | 1173 | 0x330c, 0x781b, 0x0064, 0x007c, 0x781b, 0x0078, 0x007c, 0x7e58, |
1448 | 0x2200, 0x007c, 0x7000, 0xa086, 0x0002, 0x00c0, 0x3bb4, 0x70d4, | 1174 | 0xd6d4, 0x00c0, 0x3316, 0x781b, 0x0067, 0x007c, 0x781b, 0x0079, |
1449 | 0xc0b5, 0x70d6, 0x2c00, 0x70ba, 0x2d00, 0x70be, 0x0078, 0x3bb9, | 1175 | 0x007c, 0x0078, 0x410c, 0x2019, 0x0000, 0x7990, 0xa18c, 0x0007, |
1450 | 0x1078, 0x4586, 0x0078, 0x3bb9, 0x7000, 0xa086, 0x0003, 0x0040, | 1176 | 0x00c0, 0x3329, 0x6820, 0xa084, 0x0100, 0x0040, 0x3319, 0x2009, |
1451 | 0x3bb0, 0x7003, 0x0001, 0x7a80, 0xa294, 0x0f00, 0x789b, 0x0018, | 1177 | 0x0008, 0x789b, 0x0010, 0x78a8, 0xa094, 0x00ff, 0xa286, 0x0001, |
1452 | 0x7ca8, 0xa484, 0x001f, 0xa215, 0x2069, 0x94c0, 0xb284, 0x0300, | 1178 | 0x00c0, 0x3345, 0x2300, 0x7ca8, 0xa400, 0x2018, 0xa102, 0x0040, |
1453 | 0x00c0, 0x3bcd, 0xc2fd, 0x2069, 0x95d0, 0x2d04, 0x2d08, 0x715e, | 1179 | 0x333d, 0x0048, 0x333d, 0x0078, 0x333f, 0x0078, 0x32d1, 0x24a8, |
1454 | 0xa06d, 0x0040, 0x3bda, 0x6814, 0xa206, 0x0040, 0x3bdc, 0x6800, | 1180 | 0x7aa8, 0x00f0, 0x333f, 0x0078, 0x332b, 0xa284, 0x00f0, 0xa086, |
1455 | 0x0078, 0x3bce, 0x1078, 0x3c81, 0x6eb4, 0x7e5a, 0x6920, 0xa184, | 1181 | 0x0020, 0x00c0, 0x3399, 0x8318, 0x8318, 0x2300, 0xa102, 0x0040, |
1456 | 0x0c00, 0x0040, 0x3cab, 0x7064, 0xa086, 0x0006, 0x00c0, 0x3bee, | 1182 | 0x3355, 0x0048, 0x3355, 0x0078, 0x3396, 0xa286, 0x0023, 0x0040, |
1457 | 0x7074, 0xa206, 0x00c0, 0x3bee, 0x7066, 0x707e, 0x681b, 0x0005, | 1183 | 0x3319, 0x681c, 0xa084, 0xfff1, 0x681e, 0x7e58, 0xa684, 0xfff1, |
1458 | 0xc1ad, 0xc1d4, 0x6922, 0x1078, 0x40d0, 0x0078, 0x3cab, 0x7200, | 1184 | 0xc0a5, 0x2030, 0x7e5a, 0x6008, 0xc0a5, 0x600a, 0x0c7e, 0x7058, |
1459 | 0xa286, 0x0002, 0x00c0, 0x3c09, 0x70d4, 0xc0b5, 0x70d6, 0x2c00, | 1185 | 0x2060, 0x6004, 0x2008, 0x2c48, 0x0c7f, 0xd1a4, 0x0040, 0x3376, |
1460 | 0x70ba, 0x2d00, 0x70be, 0x0078, 0x3c0d, 0x1078, 0x4586, 0x0078, | 1186 | 0x1078, 0x424a, 0x1078, 0x405e, 0x0078, 0x3384, 0x0c7e, 0x7058, |
1461 | 0x3c0d, 0xa286, 0x0003, 0x0040, 0x3c05, 0x7003, 0x0001, 0x7a80, | 1187 | 0x2060, 0x6004, 0x2008, 0x2c48, 0x0c7f, 0xd19c, 0x0040, 0x330f, |
1462 | 0xa294, 0x0f00, 0x789b, 0x0018, 0x7ca8, 0xa484, 0x001f, 0xa215, | 1188 | 0x1078, 0x424a, 0x1078, 0x3f3e, 0x88ff, 0x0040, 0x330f, 0x789b, |
1463 | 0xb284, 0x0300, 0x00c0, 0x3c1d, 0xc2fd, 0x79a8, 0x79a8, 0xa18c, | 1189 | 0x0060, 0x2800, 0x78aa, 0xc695, 0x7e5a, 0xd6d4, 0x00c0, 0x3393, |
1464 | 0x00ff, 0x2118, 0x70cc, 0xa168, 0x2d04, 0x2d08, 0x715e, 0xa06d, | 1190 | 0x781b, 0x0064, 0x007c, 0x781b, 0x0078, 0x007c, 0x7aa8, 0x0078, |
1465 | 0x0040, 0x3c31, 0x6814, 0xa206, 0x0040, 0x3c5a, 0x6800, 0x0078, | 1191 | 0x332b, 0x8318, 0x2300, 0xa102, 0x0040, 0x33a2, 0x0048, 0x33a2, |
1466 | 0x3c25, 0x7003, 0x0005, 0xb284, 0x0300, 0x0040, 0x3c3b, 0x2001, | 1192 | 0x0078, 0x332b, 0xa284, 0x0080, 0x00c0, 0x4111, 0x0078, 0x410c, |
1467 | 0x95e0, 0x0078, 0x3c3d, 0x2001, 0x9612, 0x2068, 0x704e, 0x157e, | 1193 | 0x0078, 0x4111, 0x0078, 0x4107, 0x7058, 0xa04d, 0x789b, 0x0018, |
1468 | 0x20a9, 0x0032, 0x2003, 0x0000, 0x8000, 0x00f0, 0x3c42, 0x157f, | 1194 | 0x78a8, 0xa084, 0x00ff, 0xa08e, 0x0001, 0x0040, 0x33b9, 0x1078, |
1469 | 0xb284, 0x0300, 0x0040, 0x3c4f, 0xc2fc, 0x0078, 0x3c50, 0xc2fd, | 1195 | 0x29b2, 0x7aa8, 0xa294, 0x00ff, 0x78a8, 0xa084, 0x00ff, 0xa08a, |
1470 | 0x6a16, 0xad80, 0x0009, 0x7046, 0x68b7, 0x0700, 0x6823, 0x0800, | 1196 | 0x0004, 0x00c8, 0x4107, 0x0079, 0x33c5, 0x4107, 0x3e8f, 0x4107, |
1471 | 0x6827, 0x0003, 0x6eb4, 0x6920, 0xa184, 0x0c00, 0x0040, 0x3cab, | 1197 | 0x4006, 0xa282, 0x0000, 0x00c0, 0x33cf, 0x1078, 0x29b2, 0x1078, |
1472 | 0xd0dc, 0x0040, 0x3c76, 0x7064, 0xa086, 0x0004, 0x00c0, 0x3c72, | 1198 | 0x4118, 0x781b, 0x0078, 0x007c, 0xa282, 0x0003, 0x00c0, 0x33da, |
1473 | 0x7074, 0xa206, 0x00c0, 0x3c72, 0x7078, 0xa306, 0x00c0, 0x3c72, | 1199 | 0x1078, 0x29b2, 0xd4fc, 0x00c0, 0x33fa, 0x7064, 0xa005, 0x0040, |
1474 | 0x7066, 0x707e, 0x1078, 0x40d7, 0x0078, 0x3cab, 0x681b, 0x0005, | 1200 | 0x33e3, 0x1078, 0x29b2, 0x6f14, 0x7776, 0xa7bc, 0x8f00, 0x1078, |
1475 | 0xc1ad, 0xc1d4, 0x6922, 0x1078, 0x40d0, 0x707f, 0x0000, 0x0078, | 1201 | 0x424e, 0x6008, 0xa085, 0x0021, 0x600a, 0x8738, 0xa784, 0x001f, |
1476 | 0x3cab, 0x7003, 0x0005, 0xb284, 0x0300, 0x0040, 0x3c8b, 0x2001, | 1202 | 0x00c0, 0x33e7, 0x1078, 0x411c, 0x7067, 0x0002, 0x701f, 0x0009, |
1477 | 0x95e0, 0x0078, 0x3c8d, 0x2001, 0x9612, 0x2068, 0x704e, 0x157e, | 1203 | 0x0078, 0x33fc, 0x1078, 0x412b, 0x781b, 0x0078, 0x007c, 0xa282, |
1478 | 0x20a9, 0x0032, 0x2003, 0x0000, 0x8000, 0x00f0, 0x3c92, 0x157f, | 1204 | 0x0004, 0x0050, 0x3405, 0x1078, 0x29b2, 0x2300, 0x0079, 0x3408, |
1479 | 0xb284, 0x0300, 0x0040, 0x3c9f, 0xc2fc, 0x0078, 0x3ca0, 0xc2fd, | 1205 | 0x340b, 0x35cb, 0x360e, 0xa286, 0x0003, 0x0040, 0x3443, 0x7200, |
1480 | 0x6a16, 0xad80, 0x0009, 0x7046, 0x68b7, 0x0700, 0x6823, 0x0800, | 1206 | 0x7cd8, 0x7ddc, 0x7fd0, 0x71d4, 0xd1bc, 0x00c0, 0x343b, 0xd1b4, |
1481 | 0x6827, 0x0003, 0x007c, 0xc6ec, 0xa6ac, 0x0060, 0x0040, 0x3cfd, | 1207 | 0x0040, 0x343b, 0x7868, 0xa084, 0x00ff, 0x00c0, 0x343b, 0xa282, |
1482 | 0x6b98, 0x6c94, 0x69ac, 0x68b0, 0xa105, 0x00c0, 0x3cd8, 0x7bd2, | 1208 | 0x0002, 0x00c8, 0x343b, 0x0d7e, 0x783b, 0x8300, 0x781b, 0x004c, |
1483 | 0x7bda, 0x7cd6, 0x7cde, 0xa586, 0x0060, 0x0040, 0x3d02, 0xd6f4, | 1209 | 0x70bc, 0xa06d, 0x68b4, 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, |
1484 | 0x00c0, 0x3cc3, 0xc6ed, 0xa6b4, 0xb7ff, 0x7e5a, 0x2009, 0x0079, | 1210 | 0x78d2, 0x78da, 0xc1b4, 0x71d6, 0x7003, 0x0030, 0x0d7f, 0x2001, |
1485 | 0xd69c, 0x0040, 0x3cd0, 0x2009, 0x0078, 0x2019, 0x0000, 0x2320, | 1211 | 0x0000, 0x0078, 0x3447, 0x783b, 0x1300, 0x781b, 0x004a, 0x2001, |
1486 | 0x791a, 0xd6ec, 0x0040, 0x3d0d, 0x1078, 0x48bd, 0x0078, 0x3d0d, | 1212 | 0x0000, 0x0078, 0x3447, 0x7200, 0x7cd8, 0x7ddc, 0x7fd0, 0x704a, |
1487 | 0x68b0, 0xa31a, 0x2100, 0xa423, 0x2400, 0xa305, 0x0040, 0x3d04, | 1213 | 0x68a0, 0xd0ec, 0x0040, 0x344f, 0x6008, 0xc08d, 0x600a, 0xa284, |
1488 | 0x7bd2, 0x7bda, 0x7cd6, 0x7cde, 0x68b0, 0xd6f4, 0x00c0, 0x3ce9, | 1214 | 0x000f, 0x0079, 0x3453, 0x35ab, 0x3460, 0x345d, 0x3711, 0x379d, |
1489 | 0xc6ed, 0xc6f4, 0x7e5a, 0x2011, 0x0079, 0xd69c, 0x0040, 0x3cf5, | 1215 | 0x2a0c, 0x345b, 0x345b, 0x1078, 0x29b2, 0x6008, 0xc0d4, 0x600a, |
1490 | 0x2011, 0x0078, 0x2019, 0x0000, 0x2320, 0x7a1a, 0xd6ec, 0x0040, | 1216 | 0xd6e4, 0x0040, 0x3468, 0x7048, 0xa086, 0x0014, 0x00c0, 0x3488, |
1491 | 0x3d0d, 0x1078, 0x48f5, 0x0078, 0x3d0d, 0x2019, 0x0000, 0x2320, | 1217 | 0x1078, 0x45d6, 0x2009, 0x0000, 0x6818, 0xd0fc, 0x0040, 0x3471, |
1492 | 0x0078, 0x3d04, 0xa6b4, 0xb7ff, 0x7e5a, 0x2009, 0x0079, 0xd69c, | 1218 | 0x7048, 0xa086, 0x0014, 0x0040, 0x3482, 0x6818, 0xa086, 0x0008, |
1493 | 0x0040, 0x3d0c, 0x2009, 0x0078, 0x791a, 0x68c0, 0x705a, 0x2d00, | 1219 | 0x00c0, 0x3563, 0x7858, 0xd09c, 0x0040, 0x3563, 0x6820, 0xd0ac, |
1494 | 0x704e, 0x68c4, 0x2060, 0x71d4, 0x2001, 0x4e01, 0x2004, 0xd0c4, | 1220 | 0x0040, 0x3563, 0x681b, 0x0014, 0x2009, 0x0002, 0x0078, 0x34c7, |
1495 | 0x00c0, 0x3d62, 0x70d8, 0xa02d, 0x0040, 0x3d3b, 0xd1bc, 0x0040, | 1221 | 0x7868, 0xa08c, 0x00ff, 0x0040, 0x34c7, 0xa186, 0x0008, 0x00c0, |
1496 | 0x3d55, 0x7a80, 0xa294, 0x0f00, 0x70dc, 0xa206, 0x0040, 0x3d2c, | 1222 | 0x349e, 0x6008, 0xc0a4, 0x600a, 0x1078, 0x3db8, 0x0040, 0x34c7, |
1497 | 0x78e0, 0xa504, 0x00c0, 0x3d62, 0x70da, 0xc1bc, 0x71d6, 0x0078, | 1223 | 0x1078, 0x3e36, 0x1078, 0x45d6, 0x0078, 0x34af, 0xa186, 0x0028, |
1498 | 0x3d62, 0x2031, 0x0001, 0x852c, 0x0048, 0x3d3a, 0x8633, 0x8210, | 1224 | 0x00c0, 0x34c7, 0x6018, 0xa005, 0x0040, 0x3491, 0x8001, 0x0040, |
1499 | 0x0078, 0x3d33, 0x007c, 0x7de0, 0xa594, 0xff00, 0x0040, 0x3d48, | 1225 | 0x3491, 0x8001, 0x0040, 0x3491, 0x601e, 0x0078, 0x3491, 0x6820, |
1500 | 0x2011, 0x0008, 0x852f, 0x1078, 0x3d31, 0x8637, 0x0078, 0x3d4a, | 1226 | 0xd084, 0x0040, 0x2a0c, 0xc084, 0x6822, 0x1078, 0x2b13, 0x705c, |
1501 | 0x1078, 0x3d31, 0x8217, 0x7880, 0xa084, 0x0f00, 0xa206, 0x0040, | 1227 | 0x0c7e, 0x2060, 0x6800, 0x6002, 0x0c7f, 0x6004, 0x6802, 0xa005, |
1502 | 0x3d62, 0x72de, 0x76da, 0x0078, 0x3d62, 0x7a80, 0xa294, 0x0f00, | 1228 | 0x2d00, 0x00c0, 0x34c4, 0x6002, 0x6006, 0x0078, 0x2a0c, 0x017e, |
1503 | 0x70dc, 0xa236, 0x0040, 0x3d52, 0x78e0, 0xa534, 0x0040, 0x3d52, | 1229 | 0x81ff, 0x00c0, 0x3511, 0x7000, 0xa086, 0x0030, 0x0040, 0x3511, |
1504 | 0xc1bd, 0x71d6, 0xd1b4, 0x00c0, 0x29c1, 0x2300, 0xa405, 0x0040, | 1230 | 0x71d4, 0xd1bc, 0x00c0, 0x3511, 0xd1b4, 0x00c0, 0x34f8, 0x7060, |
1505 | 0x29c1, 0x70a4, 0xa086, 0x0001, 0x00c0, 0x2a0b, 0x007c, 0x6020, | 1231 | 0xa005, 0x00c0, 0x3511, 0x70a4, 0xa086, 0x0001, 0x0040, 0x3511, |
1506 | 0xa005, 0x0040, 0x3d7d, 0x8001, 0x6022, 0x6008, 0xa085, 0x0008, | 1232 | 0x7003, 0x0000, 0x047e, 0x057e, 0x077e, 0x067e, 0x0c7e, 0x0d7e, |
1507 | 0x600a, 0x700f, 0x0100, 0x702c, 0x6026, 0x007c, 0xa006, 0x1078, | 1233 | 0x1078, 0x2a35, 0x0d7f, 0x0c7f, 0x067f, 0x077f, 0x057f, 0x047f, |
1508 | 0x4586, 0x7000, 0xa086, 0x0002, 0x0040, 0x3d8b, 0x7064, 0xa086, | 1234 | 0x71d4, 0xd1b4, 0x00c0, 0x3511, 0x7003, 0x0040, 0x0078, 0x3511, |
1509 | 0x0005, 0x00c0, 0x3d95, 0x682b, 0x0000, 0x6817, 0x0000, 0x681b, | 1235 | 0x1078, 0x43b0, 0x00c0, 0x3511, 0x781b, 0x005b, 0x0d7e, 0x70bc, |
1510 | 0x0001, 0x6823, 0x0040, 0x681f, 0x0100, 0x7000, 0xa084, 0x000f, | 1236 | 0xa06d, 0x68b4, 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, |
1511 | 0x0079, 0x3d9a, 0x29c5, 0x3daa, 0x3da4, 0x3dcc, 0x3db4, 0x29c5, | 1237 | 0x78da, 0xc1b4, 0x71d6, 0x7003, 0x0030, 0x7808, 0xc08d, 0x780a, |
1512 | 0x3da2, 0x3da2, 0x1078, 0x296b, 0x1078, 0x3dd7, 0x1078, 0x3dd0, | 1238 | 0x0d7f, 0x1078, 0x3648, 0x017f, 0x81ff, 0x0040, 0x3563, 0xa684, |
1513 | 0x0078, 0x3db0, 0x1078, 0x3dd7, 0x705c, 0x2060, 0x6800, 0x6002, | 1239 | 0xdf00, 0x681e, 0x682b, 0x0000, 0x6f14, 0xa186, 0x0002, 0x00c0, |
1514 | 0x1078, 0x202c, 0x0078, 0x29c5, 0x7064, 0x7067, 0x0000, 0x7083, | 1240 | 0x3564, 0x6818, 0xa086, 0x0014, 0x00c0, 0x352d, 0x2008, 0xd6e4, |
1515 | 0x0000, 0x0079, 0x3dbb, 0x3dc8, 0x3dc8, 0x3dc3, 0x3dc3, 0x3dc3, | 1241 | 0x0040, 0x352d, 0x7868, 0xa08c, 0x00ff, 0x1078, 0x2b01, 0x1078, |
1516 | 0x3dc8, 0x3dc3, 0x3dc8, 0x77d4, 0xc7dd, 0x77d6, 0x0079, 0x2f35, | 1242 | 0x2b22, 0x6820, 0xd0dc, 0x00c0, 0x3564, 0x8717, 0xa294, 0x000f, |
1517 | 0x7067, 0x0000, 0x0078, 0x29c5, 0x681b, 0x0000, 0x0078, 0x36c8, | 1243 | 0x8213, 0x8213, 0x8213, 0xb284, 0x0300, 0x0040, 0x3543, 0xa290, |
1518 | 0x6800, 0xa005, 0x00c0, 0x3dd5, 0x6002, 0x6006, 0x007c, 0x6410, | 1244 | 0x53c0, 0x0078, 0x3545, 0xa290, 0x5440, 0xa290, 0x0000, 0x221c, |
1519 | 0x84ff, 0x0040, 0x3de9, 0x2009, 0x4e02, 0x2104, 0x8001, 0x200a, | 1245 | 0xd3c4, 0x00c0, 0x354d, 0x0078, 0x3553, 0x8210, 0x2204, 0xa085, |
1520 | 0x8421, 0x6412, 0x00c0, 0x3de9, 0x2021, 0x4e04, 0x2404, 0xc0a5, | 1246 | 0x0018, 0x2012, 0x8211, 0xd3d4, 0x0040, 0x355e, 0x68a0, 0xd0c4, |
1521 | 0x2022, 0x6008, 0xc0a4, 0x600a, 0x007c, 0x6018, 0xa005, 0x0040, | 1247 | 0x00c0, 0x355e, 0x1078, 0x36c2, 0x0078, 0x2a0c, 0x6008, 0xc08d, |
1522 | 0x3df3, 0x8001, 0x601a, 0x007c, 0x1078, 0x4383, 0x681b, 0x0018, | 1248 | 0x600a, 0x0078, 0x3564, 0x692a, 0x6916, 0x6818, 0xd0fc, 0x0040, |
1523 | 0x0078, 0x3e34, 0x1078, 0x4383, 0x681b, 0x0019, 0x0078, 0x3e34, | 1249 | 0x356b, 0x7048, 0x681a, 0xa68c, 0xdf00, 0x691e, 0x6410, 0x84ff, |
1524 | 0x1078, 0x4383, 0x681b, 0x001a, 0x0078, 0x3e34, 0x1078, 0x4383, | 1250 | 0x0040, 0x3580, 0x2009, 0x4f02, 0x2104, 0x8001, 0x200a, 0x8421, |
1525 | 0x681b, 0x0003, 0x0078, 0x3e34, 0x7774, 0x1078, 0x41fe, 0x7178, | 1251 | 0x6412, 0x00c0, 0x3580, 0x2021, 0x4f04, 0x2404, 0xc0a5, 0x2022, |
1526 | 0xa18c, 0x00ff, 0x3210, 0xa294, 0x0300, 0x0040, 0x3e1b, 0xa1e8, | 1252 | 0x6018, 0xa005, 0x0040, 0x3588, 0x8001, 0x601a, 0x00c0, 0x358b, |
1527 | 0x93c0, 0x0078, 0x3e1d, 0xa1e8, 0x94d0, 0x2d04, 0x2d08, 0x2068, | 1253 | 0x6008, 0xc0a4, 0x600a, 0x6820, 0xd084, 0x00c0, 0x3597, 0x6800, |
1528 | 0xa005, 0x00c0, 0x3e26, 0x707e, 0x0078, 0x29c5, 0x6814, 0x7274, | 1254 | 0xa005, 0x00c0, 0x3594, 0x6002, 0x6006, 0x0078, 0x359b, 0x705c, |
1529 | 0xa206, 0x0040, 0x3e2e, 0x6800, 0x0078, 0x3e1e, 0x6800, 0x200a, | 1255 | 0x2060, 0x6800, 0x6002, 0x2061, 0x4f00, 0x6887, 0x0103, 0x2d08, |
1530 | 0x681b, 0x0005, 0x707f, 0x0000, 0x1078, 0x3dd7, 0x6820, 0xd084, | 1256 | 0x206b, 0x0000, 0x6068, 0xa005, 0x616a, 0x0040, 0x35aa, 0x2d02, |
1531 | 0x00c0, 0x3e3c, 0x1078, 0x3dd0, 0x1078, 0x3ded, 0x681f, 0x0000, | 1257 | 0x0078, 0x35ab, 0x616e, 0x7200, 0xa286, 0x0030, 0x0040, 0x35bb, |
1532 | 0x6823, 0x0020, 0x1078, 0x202c, 0x0078, 0x29c5, 0xa282, 0x0003, | 1258 | 0xa286, 0x0040, 0x00c0, 0x2a0c, 0x7003, 0x0002, 0x704c, 0x2068, |
1533 | 0x00c0, 0x40b7, 0x7da8, 0xa5ac, 0x00ff, 0x7e5a, 0x7ea8, 0xa6b4, | 1259 | 0x68c4, 0x2060, 0x007c, 0x7003, 0x0002, 0x70bc, 0xa06d, 0x68bc, |
1534 | 0x00ff, 0x6920, 0xc1bd, 0x6922, 0xd1c4, 0x0040, 0x3ea1, 0xc1c4, | 1260 | 0x7042, 0x70b8, 0xa065, 0x68c0, 0x705a, 0x2d00, 0x704e, 0xad80, |
1535 | 0x6922, 0xa6b4, 0x00ff, 0x0040, 0x3e8e, 0xa682, 0x000c, 0x0048, | 1261 | 0x0009, 0x7046, 0x007c, 0xa282, 0x0004, 0x0048, 0x35d1, 0x1078, |
1536 | 0x3e65, 0x0040, 0x3e65, 0x2031, 0x000c, 0x2500, 0xa086, 0x000a, | 1262 | 0x29b2, 0x2200, 0x0079, 0x35d4, 0x35d8, 0x35e9, 0x35f6, 0x35e9, |
1537 | 0x0040, 0x3e6c, 0x852b, 0x852b, 0x1078, 0x4190, 0x0040, 0x3e74, | 1263 | 0xa586, 0x1300, 0x0040, 0x35e9, 0xa586, 0x8300, 0x00c0, 0x35cf, |
1538 | 0x1078, 0x3f6f, 0x0078, 0x3e97, 0x1078, 0x414b, 0x0c7e, 0x2960, | 1264 | 0x7003, 0x0000, 0x6018, 0x8001, 0x601a, 0x6008, 0xa084, 0xfbef, |
1539 | 0x6004, 0xa084, 0xfff5, 0x6006, 0x1078, 0x3fa5, 0x0c7f, 0x6920, | 1265 | 0x600a, 0x7000, 0xa086, 0x0005, 0x0040, 0x35f3, 0x1078, 0x4118, |
1540 | 0xc1c5, 0x6922, 0x7e58, 0xc695, 0x7e5a, 0xd6d4, 0x00c0, 0x3e8b, | 1266 | 0x781b, 0x0078, 0x007c, 0x781b, 0x0079, 0x007c, 0x7890, 0x8007, |
1541 | 0x781b, 0x0064, 0x007c, 0x781b, 0x0078, 0x007c, 0x0c7e, 0x2960, | 1267 | 0x8001, 0xa084, 0x0007, 0xa080, 0x0018, 0x789a, 0x79a8, 0xa18c, |
1542 | 0x6004, 0xa084, 0xfff5, 0x6006, 0x1078, 0x3fa5, 0x0c7f, 0x7e58, | 1268 | 0x00ff, 0xa186, 0x0003, 0x0040, 0x360b, 0xa186, 0x0000, 0x0040, |
1543 | 0xd6d4, 0x00c0, 0x3e9e, 0x781b, 0x0067, 0x007c, 0x781b, 0x0079, | 1269 | 0x360b, 0x0078, 0x4107, 0x781b, 0x0079, 0x007c, 0x6820, 0xc095, |
1544 | 0x007c, 0x0c7e, 0x7058, 0x2060, 0x6100, 0xd1e4, 0x0040, 0x3eea, | 1270 | 0x6822, 0x82ff, 0x00c0, 0x3618, 0x1078, 0x4118, 0x0078, 0x361f, |
1545 | 0x6208, 0x8217, 0xa294, 0x00ff, 0xa282, 0x000c, 0x0048, 0x3eb4, | 1271 | 0x8211, 0x0040, 0x361d, 0x1078, 0x29b2, 0x1078, 0x412b, 0x781b, |
1546 | 0x0040, 0x3eb4, 0x2011, 0x000c, 0x2600, 0xa202, 0x00c8, 0x3eb9, | 1272 | 0x0078, 0x007c, 0x1078, 0x43d3, 0x7830, 0xa084, 0x00c0, 0x00c0, |
1547 | 0x2230, 0x6208, 0xa294, 0x00ff, 0x2001, 0x4e05, 0x2004, 0xd0e4, | 1273 | 0x3645, 0x017e, 0x3208, 0x007e, 0x2001, 0x4f04, 0x2004, 0xd0ec, |
1548 | 0x00c0, 0x3ece, 0x78ec, 0xd0e4, 0x0040, 0x3ece, 0xa282, 0x000a, | 1274 | 0x007f, 0x0040, 0x3637, 0xa18c, 0x0300, 0x0078, 0x3639, 0xa18c, |
1549 | 0x00c8, 0x3ed4, 0x2011, 0x000a, 0x0078, 0x3ed4, 0xa282, 0x000c, | 1275 | 0x0400, 0x017f, 0x0040, 0x3640, 0x0018, 0x3645, 0x0078, 0x3642, |
1550 | 0x00c8, 0x3ed4, 0x2011, 0x000c, 0x2200, 0xa502, 0x00c8, 0x3ed9, | 1276 | 0x0028, 0x3645, 0x791a, 0xa006, 0x007c, 0xa085, 0x0001, 0x007c, |
1551 | 0x2228, 0x1078, 0x414f, 0x2500, 0xa086, 0x000a, 0x0040, 0x3ee2, | 1277 | 0xa684, 0x0060, 0x00c0, 0x3652, 0x682f, 0x0000, 0x6833, 0x0000, |
1552 | 0x852b, 0x852b, 0x1078, 0x4190, 0x0040, 0x3eea, 0x1078, 0x3f6f, | 1278 | 0x0078, 0x36c1, 0xd6dc, 0x00c0, 0x366a, 0x68b4, 0xd0dc, 0x00c0, |
1553 | 0x0078, 0x3eee, 0x1078, 0x414b, 0x1078, 0x3fa5, 0x7858, 0xc095, | 1279 | 0x366a, 0x6998, 0x6a94, 0x692e, 0x6a32, 0x7048, 0xa005, 0x00c0, |
1554 | 0x785a, 0x0c7f, 0x781b, 0x0078, 0x007c, 0x0c7e, 0x2960, 0x6000, | 1280 | 0x3667, 0x2200, 0xa105, 0x0040, 0x45d6, 0x704b, 0x0015, 0x0078, |
1555 | 0xd0e4, 0x00c0, 0x3f0b, 0xa084, 0x0040, 0x00c0, 0x3f05, 0x6104, | 1281 | 0x45d6, 0x007c, 0xd6ac, 0x0040, 0x3690, 0xd6f4, 0x0040, 0x3676, |
1556 | 0xa18c, 0xfff5, 0x6106, 0x0c7f, 0x007c, 0x2011, 0x0032, 0x2019, | 1282 | 0x682f, 0x0000, 0x6833, 0x0000, 0x0078, 0x45d6, 0x68b4, 0xa084, |
1557 | 0x0000, 0x0078, 0x3f36, 0x68a0, 0xd0cc, 0x00c0, 0x3f05, 0x6208, | 1283 | 0x4000, 0xa635, 0xd6f4, 0x00c0, 0x3670, 0x7048, 0xa005, 0x00c0, |
1558 | 0xa294, 0x00ff, 0x2001, 0x4e05, 0x2004, 0xd0e4, 0x00c0, 0x3f24, | 1284 | 0x3683, 0x704b, 0x0015, 0xd6dc, 0x00c0, 0x368c, 0x68b4, 0xd0dc, |
1559 | 0x78ec, 0xd0e4, 0x0040, 0x3f24, 0xa282, 0x000b, 0x00c8, 0x3f24, | 1285 | 0x0040, 0x368c, 0x6ca8, 0x6da4, 0x6c2e, 0x6d32, 0x0078, 0x45d6, |
1560 | 0x2011, 0x000a, 0x0078, 0x3f2a, 0xa282, 0x000c, 0x00c8, 0x3f2a, | 1286 | 0xd6f4, 0x0040, 0x3699, 0x682f, 0x0000, 0x6833, 0x0000, 0x0078, |
1561 | 0x2011, 0x000c, 0x6308, 0x831f, 0xa39c, 0x00ff, 0xa382, 0x000c, | 1287 | 0x45d6, 0x68b4, 0xa084, 0x4800, 0xa635, 0xd6f4, 0x00c0, 0x3693, |
1562 | 0x0048, 0x3f36, 0x0040, 0x3f36, 0x2019, 0x000c, 0x78ab, 0x0001, | 1288 | 0x7048, 0xa005, 0x00c0, 0x36a6, 0x704b, 0x0015, 0x2408, 0x2510, |
1563 | 0x78ab, 0x0003, 0x78ab, 0x0001, 0x7aaa, 0x7baa, 0xa8c0, 0x0005, | 1289 | 0x2700, 0x80fb, 0x00c8, 0x36ad, 0x8000, 0xa084, 0x003f, 0xa108, |
1564 | 0x6820, 0xc0c5, 0x6822, 0x70d4, 0xd0b4, 0x0040, 0x3f52, 0xc0b4, | 1290 | 0xa291, 0x0000, 0x692e, 0x6a32, 0x2100, 0xa205, 0x00c0, 0x36ba, |
1565 | 0x70d6, 0x70b8, 0xa065, 0x6008, 0xa084, 0xfbef, 0x600a, 0x6018, | 1291 | 0x0078, 0x45d6, 0x7000, 0xa086, 0x0006, 0x0040, 0x36c1, 0x0078, |
1566 | 0x8001, 0x601a, 0x0c7f, 0x007c, 0x0c7e, 0x2960, 0x6104, 0xa18c, | 1292 | 0x45d6, 0x007c, 0x6946, 0x6008, 0xc0cd, 0xd3cc, 0x0040, 0x36c9, |
1567 | 0xfff5, 0x6106, 0x2011, 0x0032, 0x2019, 0x0000, 0x0078, 0x3f60, | 1293 | 0xc08d, 0x600a, 0x6818, 0x683a, 0x681b, 0x0006, 0x688f, 0x0000, |
1568 | 0x78ab, 0x0001, 0x78ab, 0x0003, 0x78ab, 0x0001, 0x7aaa, 0x7baa, | 1294 | 0x6893, 0x0000, 0x6a30, 0x692c, 0x6a3e, 0x6942, 0x682f, 0x0003, |
1569 | 0xa8c0, 0x0005, 0x6820, 0xc0c5, 0x6822, 0x0c7f, 0x007c, 0x0c7e, | 1295 | 0x6833, 0x0000, 0x6837, 0x0020, 0x6897, 0x0000, 0x689b, 0x0020, |
1570 | 0x7158, 0x2160, 0x2018, 0xa08c, 0x0020, 0x0040, 0x3f78, 0xc0ac, | 1296 | 0x7000, 0x0079, 0x36e3, 0x2a0c, 0x36f5, 0x36ed, 0x36eb, 0x36eb, |
1571 | 0x2008, 0xa084, 0xfff0, 0xa635, 0x7e86, 0x6018, 0x789a, 0x7eae, | 1297 | 0x36eb, 0x36eb, 0x36eb, 0x1078, 0x29b2, 0x6820, 0xd084, 0x00c0, |
1572 | 0x6612, 0x78a4, 0xa084, 0xfff0, 0xa18c, 0x000f, 0xa105, 0xc0f4, | 1298 | 0x36f5, 0x1078, 0x3e19, 0x0078, 0x36fb, 0x705c, 0x2c50, 0x2060, |
1573 | 0xa39c, 0x0020, 0x0040, 0x3f8e, 0xa085, 0x4000, 0xc0fc, 0xd0b4, | 1299 | 0x6800, 0x6002, 0x2a60, 0x3208, 0xa18c, 0x0300, 0x0040, 0x3704, |
1574 | 0x00c0, 0x3f93, 0xc0fd, 0x78a6, 0x6016, 0x788a, 0xa6b4, 0x000f, | 1300 | 0x2021, 0x4f58, 0x0078, 0x3706, 0x2021, 0x4f98, 0x2404, 0xa005, |
1575 | 0x8637, 0x8204, 0x8004, 0xa084, 0x00ff, 0xa605, 0x600e, 0x6004, | 1301 | 0x0040, 0x370d, 0x2020, 0x0078, 0x3706, 0x2d22, 0x206b, 0x0000, |
1576 | 0xa084, 0xfff5, 0x6006, 0x0c7f, 0x007c, 0x0c7e, 0x7058, 0x2060, | 1302 | 0x007c, 0x1078, 0x3e20, 0x1078, 0x3e36, 0x6008, 0xc0cc, 0x600a, |
1577 | 0x6018, 0x789a, 0x78a4, 0xa084, 0xfff0, 0x78a6, 0x6012, 0x7884, | 1303 | 0x682b, 0x0000, 0x789b, 0x000e, 0x6f14, 0x6938, 0x691a, 0x6944, |
1578 | 0xa084, 0xfff0, 0x7886, 0x600c, 0xa084, 0x00ff, 0x600e, 0x0c7f, | 1304 | 0x6916, 0x3208, 0xa18c, 0x0300, 0x0040, 0x372a, 0x2009, 0x0000, |
1579 | 0x007c, 0xa282, 0x0002, 0x00c0, 0x40b7, 0x7aa8, 0x6920, 0xc1bd, | 1305 | 0x0078, 0x372c, 0x2009, 0x0001, 0x1078, 0x4a81, 0xd6dc, 0x0040, |
1580 | 0x6922, 0xd1cc, 0x0040, 0x3ff4, 0xc1cc, 0x6922, 0xa294, 0x00ff, | 1306 | 0x3734, 0x691c, 0xc1ed, 0x691e, 0x6818, 0xd0fc, 0x0040, 0x3743, |
1581 | 0xa282, 0x0002, 0x00c8, 0x40b7, 0x1078, 0x4044, 0x1078, 0x3fa5, | 1307 | 0x7868, 0xa08c, 0x00ff, 0x0040, 0x3741, 0x681b, 0x001e, 0x0078, |
1582 | 0xa980, 0x0001, 0x200c, 0x1078, 0x41fa, 0x1078, 0x3ef5, 0x88ff, | 1308 | 0x3743, 0x681b, 0x0000, 0xb284, 0x0300, 0x00c0, 0x374b, 0x2021, |
1583 | 0x0040, 0x3fea, 0x789b, 0x0060, 0x2800, 0x78aa, 0x7e58, 0xc695, | 1309 | 0x4f98, 0x0078, 0x374d, 0x2021, 0x4f58, 0x6800, 0x2022, 0x6a3c, |
1584 | 0x7e5a, 0xd6d4, 0x00c0, 0x3fe7, 0x781b, 0x0064, 0x007c, 0x781b, | 1310 | 0x6940, 0x6a32, 0x692e, 0x68c0, 0x2060, 0x6000, 0xd0a4, 0x0040, |
1585 | 0x0078, 0x007c, 0x7e58, 0xd6d4, 0x00c0, 0x3ff1, 0x781b, 0x0067, | 1311 | 0x378d, 0x2041, 0x0021, 0x2049, 0x0005, 0x2051, 0x0020, 0x0d7e, |
1586 | 0x007c, 0x781b, 0x0079, 0x007c, 0xa282, 0x0002, 0x00c8, 0x3ffc, | 1312 | 0x0f7e, 0x157e, 0x147e, 0x2079, 0x4f00, 0x1078, 0x1e46, 0x147f, |
1587 | 0xa284, 0x0001, 0x0040, 0x4005, 0x7158, 0xa188, 0x0000, 0x210c, | 1313 | 0x157f, 0x0f7f, 0x70cc, 0x2010, 0x2009, 0x0101, 0x027e, 0x2204, |
1588 | 0xd1ec, 0x00c0, 0x4005, 0x2011, 0x0000, 0x1078, 0x412c, 0x1078, | 1314 | 0xa06d, 0x0040, 0x377d, 0x6814, 0xa706, 0x0040, 0x377a, 0x6800, |
1589 | 0x4044, 0x1078, 0x3fa5, 0x7858, 0xc095, 0x785a, 0x781b, 0x0078, | 1315 | 0x0078, 0x3770, 0x6820, 0xc0d5, 0x6822, 0x027f, 0x8210, 0x8109, |
1590 | 0x007c, 0x0c7e, 0x027e, 0x2960, 0x6000, 0x2011, 0x0001, 0xd0ec, | 1316 | 0x00c0, 0x376e, 0x0d7f, 0x7067, 0x0003, 0x707f, 0x0000, 0x7776, |
1591 | 0x00c0, 0x4025, 0xa084, 0x0080, 0x00c0, 0x4023, 0xc1a4, 0x6106, | 1317 | 0x7083, 0x000f, 0x71d4, 0xc1dc, 0x71d6, 0x6818, 0xa086, 0x0002, |
1592 | 0xa006, 0x0078, 0x4041, 0x2011, 0x0000, 0x78ab, 0x0001, 0x78ab, | 1318 | 0x00c0, 0x3799, 0x6817, 0x0000, 0x682b, 0x0000, 0x681c, 0xc0ec, |
1319 | 0x681e, 0x1078, 0x2073, 0x0078, 0x2a0c, 0x7cd8, 0x7ddc, 0x7fd0, | ||
1320 | 0x1078, 0x3648, 0x682b, 0x0000, 0x789b, 0x000e, 0x6f14, 0x1078, | ||
1321 | 0x43d7, 0xa08c, 0x00ff, 0x6916, 0x6818, 0xd0fc, 0x0040, 0x37b2, | ||
1322 | 0x7048, 0x681a, 0xa68c, 0xdf00, 0x691e, 0x7067, 0x0000, 0x0078, | ||
1323 | 0x2a0c, 0x7000, 0xa005, 0x00c0, 0x37bf, 0x0078, 0x2a0c, 0xa006, | ||
1324 | 0x1078, 0x45d6, 0x6920, 0xd1ac, 0x00c0, 0x37c8, 0x681b, 0x0014, | ||
1325 | 0xa68c, 0xdf00, 0x691e, 0x682b, 0x0000, 0x6820, 0xa084, 0x00ff, | ||
1326 | 0x6822, 0x7000, 0x0079, 0x37d4, 0x2a0c, 0x37de, 0x37de, 0x37e1, | ||
1327 | 0x37e1, 0x37e1, 0x37dc, 0x37dc, 0x1078, 0x29b2, 0x6818, 0x0078, | ||
1328 | 0x3443, 0x6008, 0xc0a4, 0x600a, 0x6817, 0x0000, 0x0078, 0x3dde, | ||
1329 | 0x2300, 0x0079, 0x37eb, 0x37ee, 0x37f0, 0x3860, 0x1078, 0x29b2, | ||
1330 | 0xd6fc, 0x00c0, 0x3847, 0x7000, 0xa00d, 0x0079, 0x37f7, 0x2a0c, | ||
1331 | 0x3801, 0x3801, 0x3831, 0x3801, 0x3844, 0x37ff, 0x37ff, 0x1078, | ||
1332 | 0x29b2, 0xa684, 0x0060, 0x0040, 0x3831, 0xa086, 0x0060, 0x00c0, | ||
1333 | 0x382e, 0xc6ac, 0xc6f4, 0xc6ed, 0x7e5a, 0x6eb6, 0x681c, 0xc0ac, | ||
1334 | 0x681e, 0xa186, 0x0002, 0x0040, 0x3820, 0x1078, 0x45d6, 0x69ac, | ||
1335 | 0x68b0, 0xa115, 0x0040, 0x3820, 0x1078, 0x4977, 0x0078, 0x3822, | ||
1336 | 0x1078, 0x493f, 0x781b, 0x0079, 0x71d4, 0xd1b4, 0x00c0, 0x2a08, | ||
1337 | 0x70a4, 0xa086, 0x0001, 0x00c0, 0x2a52, 0x007c, 0xd6ec, 0x0040, | ||
1338 | 0x380b, 0x6818, 0xd0fc, 0x0040, 0x3844, 0xd6f4, 0x00c0, 0x383e, | ||
1339 | 0x681b, 0x0015, 0x781b, 0x0079, 0x0078, 0x2a08, 0x681b, 0x0007, | ||
1340 | 0x682f, 0x0000, 0x6833, 0x0000, 0x1078, 0x4369, 0x007c, 0xc6fc, | ||
1341 | 0x7e5a, 0x7adc, 0x79d8, 0x78d0, 0x801b, 0x00c8, 0x3850, 0x8000, | ||
1342 | 0xa084, 0x003f, 0xa108, 0xa291, 0x0000, 0x6b98, 0x2100, 0xa302, | ||
1343 | 0x68b2, 0x6b94, 0x2200, 0xa303, 0x68ae, 0x781b, 0x0079, 0x007c, | ||
1344 | 0x1078, 0x29b2, 0x2300, 0x0079, 0x3865, 0x386a, 0x388f, 0x38ef, | ||
1345 | 0x1078, 0x29b2, 0x7000, 0x0079, 0x386d, 0x3875, 0x3877, 0x3880, | ||
1346 | 0x3875, 0x3875, 0x3875, 0x3875, 0x3875, 0x1078, 0x29b2, 0x69ac, | ||
1347 | 0x68b0, 0xa115, 0x0040, 0x3880, 0x1078, 0x4977, 0x0078, 0x3882, | ||
1348 | 0x1078, 0x493f, 0x681c, 0xc0b4, 0x681e, 0x70d4, 0xd0b4, 0x00c0, | ||
1349 | 0x2a08, 0x70a4, 0xa086, 0x0001, 0x00c0, 0x2a52, 0x007c, 0xd6fc, | ||
1350 | 0x00c0, 0x38df, 0x7000, 0xa00d, 0x0079, 0x3896, 0x2a0c, 0x38a6, | ||
1351 | 0x38a0, 0x38d6, 0x38a6, 0x38dc, 0x389e, 0x389e, 0x1078, 0x29b2, | ||
1352 | 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, 0xa684, 0x0060, | ||
1353 | 0x0040, 0x38d6, 0xa086, 0x0060, 0x00c0, 0x38d3, 0xa6b4, 0xbfbf, | ||
1354 | 0xc6ed, 0x7e5a, 0x6eb6, 0xa186, 0x0002, 0x0040, 0x38c2, 0x1078, | ||
1355 | 0x45d6, 0x69ac, 0x68b0, 0xa115, 0x0040, 0x38c2, 0x1078, 0x4977, | ||
1356 | 0x0078, 0x38c4, 0x1078, 0x493f, 0x781b, 0x0079, 0x681c, 0xc0b4, | ||
1357 | 0x681e, 0x71d4, 0xd1b4, 0x00c0, 0x2a08, 0x70a4, 0xa086, 0x0001, | ||
1358 | 0x00c0, 0x2a52, 0x007c, 0xd6ec, 0x0040, 0x38b0, 0x6818, 0xd0fc, | ||
1359 | 0x0040, 0x38dc, 0x681b, 0x0007, 0x781b, 0x00f9, 0x007c, 0xc6fc, | ||
1360 | 0x7e5a, 0x7adc, 0x79d8, 0x6b98, 0x2100, 0xa302, 0x68b2, 0x6b94, | ||
1361 | 0x2200, 0xa303, 0x68ae, 0x79d2, 0x781b, 0x0079, 0x007c, 0xd6dc, | ||
1362 | 0x0040, 0x38f8, 0x782b, 0x3009, 0x781b, 0x0079, 0x0078, 0x2a08, | ||
1363 | 0x7884, 0xc0ac, 0x7886, 0x78e4, 0xa084, 0x0008, 0x00c0, 0x390b, | ||
1364 | 0xa484, 0x0200, 0x0040, 0x3905, 0xc6f5, 0xc6dd, 0x7e5a, 0x781b, | ||
1365 | 0x0079, 0x0078, 0x2a08, 0x6820, 0xc095, 0x6822, 0x1078, 0x42e2, | ||
1366 | 0xc6dd, 0x1078, 0x4118, 0x781b, 0x0078, 0x0078, 0x2a08, 0x2300, | ||
1367 | 0x0079, 0x391a, 0x391d, 0x391f, 0x3921, 0x1078, 0x29b2, 0x0078, | ||
1368 | 0x4111, 0xd6d4, 0x00c0, 0x395c, 0x79e4, 0xd1ac, 0x0040, 0x392f, | ||
1369 | 0x78ec, 0xa084, 0x0003, 0x0040, 0x392f, 0x782b, 0x3009, 0x789b, | ||
1370 | 0x0060, 0x78ab, 0x0000, 0xa684, 0xfffb, 0x785a, 0x79e4, 0xd1ac, | ||
1371 | 0x0040, 0x393f, 0x78ec, 0xa084, 0x0003, 0x00c0, 0x3958, 0x2001, | ||
1372 | 0x4f04, 0x2004, 0xd0e4, 0x00c0, 0x3954, 0x6820, 0xd0c4, 0x0040, | ||
1373 | 0x3954, 0x0c7e, 0x7058, 0x2060, 0x6004, 0xc09d, 0x6006, 0x6008, | ||
1374 | 0xa084, 0x00ff, 0x600a, 0x0c7f, 0x2001, 0x0014, 0x0078, 0x3443, | ||
1375 | 0xa184, 0x0007, 0x0079, 0x3992, 0x7a90, 0xa294, 0x0007, 0x789b, | ||
1376 | 0x0060, 0x79a8, 0x81ff, 0x0040, 0x3990, 0x789b, 0x0010, 0x7ba8, | ||
1377 | 0xa384, 0x0001, 0x00c0, 0x3983, 0x7ba8, 0x7ba8, 0xa386, 0x0001, | ||
1378 | 0x00c0, 0x3976, 0x2009, 0xfff7, 0x0078, 0x397c, 0xa386, 0x0003, | ||
1379 | 0x00c0, 0x3983, 0x2009, 0xffef, 0x0c7e, 0x7058, 0x2060, 0x6004, | ||
1380 | 0xa104, 0x6006, 0x0c7f, 0x789b, 0x0060, 0x78ab, 0x0000, 0xa684, | ||
1381 | 0xfffb, 0x785a, 0x782b, 0x3009, 0x6920, 0xa18c, 0xfcff, 0x6922, | ||
1382 | 0x0078, 0x435d, 0x30d9, 0x30e3, 0x399c, 0x39a2, 0x399a, 0x399a, | ||
1383 | 0x435d, 0x435d, 0x1078, 0x29b2, 0x6920, 0xa18c, 0xfcff, 0x6922, | ||
1384 | 0x0078, 0x4363, 0x6920, 0xa18c, 0xfcff, 0x6922, 0x0078, 0x435d, | ||
1385 | 0x79e4, 0xa184, 0x0030, 0x0040, 0x39b2, 0x78ec, 0xa084, 0x0003, | ||
1386 | 0x00c0, 0x39e6, 0x7000, 0xa086, 0x0004, 0x00c0, 0x39cc, 0x7064, | ||
1387 | 0xa086, 0x0002, 0x00c0, 0x39c2, 0x2011, 0x0002, 0x2019, 0x0000, | ||
1388 | 0x0078, 0x2f65, 0x7064, 0xa086, 0x0006, 0x0040, 0x39bc, 0x7064, | ||
1389 | 0xa086, 0x0004, 0x0040, 0x39bc, 0x7000, 0xa086, 0x0000, 0x0040, | ||
1390 | 0x2a08, 0x6920, 0xa184, 0x0420, 0x0040, 0x39db, 0xc1d4, 0x6922, | ||
1391 | 0x6818, 0x0078, 0x3443, 0x6818, 0xa08e, 0x0002, 0x0040, 0x39e4, | ||
1392 | 0xc0fd, 0x681a, 0x2001, 0x0014, 0x0078, 0x3443, 0xa184, 0x0007, | ||
1393 | 0x0079, 0x39ea, 0x435d, 0x435d, 0x39f2, 0x435d, 0x43a5, 0x43a5, | ||
1394 | 0x435d, 0x435d, 0xd6bc, 0x0040, 0x3a34, 0x7184, 0x81ff, 0x0040, | ||
1395 | 0x3a34, 0xa182, 0x000d, 0x00d0, 0x3a01, 0x7087, 0x0000, 0x0078, | ||
1396 | 0x3a06, 0xa182, 0x000c, 0x7086, 0x2009, 0x000c, 0x789b, 0x0061, | ||
1397 | 0x79aa, 0x157e, 0x137e, 0x147e, 0x7088, 0x8114, 0xa210, 0x728a, | ||
1398 | 0xa080, 0x000b, 0xad00, 0x2098, 0xb284, 0x0300, 0x0040, 0x3a28, | ||
1399 | 0x007e, 0x2001, 0x4f04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x3a24, | ||
1400 | 0x20a1, 0x012b, 0x0078, 0x3a2a, 0x20a1, 0x022b, 0x0078, 0x3a2a, | ||
1401 | 0x20a1, 0x012b, 0x789b, 0x0000, 0x8108, 0x81ac, 0x53a6, 0x147f, | ||
1402 | 0x137f, 0x157f, 0x0078, 0x4363, 0xd6d4, 0x00c0, 0x3a88, 0x6820, | ||
1403 | 0xd084, 0x0040, 0x4363, 0xa68c, 0x0060, 0xa684, 0x0060, 0x0040, | ||
1404 | 0x3a46, 0xa086, 0x0060, 0x00c0, 0x3a46, 0xc1f5, 0xc194, 0x795a, | ||
1405 | 0x69b6, 0x789b, 0x0060, 0x78ab, 0x0000, 0x789b, 0x0061, 0x6818, | ||
1406 | 0xc0fd, 0x681a, 0x78aa, 0x8008, 0x810c, 0x0040, 0x3e4f, 0xa18c, | ||
1407 | 0x00f8, 0x00c0, 0x3e4f, 0x157e, 0x137e, 0x147e, 0x017e, 0x3208, | ||
1408 | 0xa18c, 0x0300, 0x0040, 0x3a74, 0x007e, 0x2001, 0x4f04, 0x2004, | ||
1409 | 0xd0ec, 0x007f, 0x0040, 0x3a70, 0x20a1, 0x012b, 0x0078, 0x3a76, | ||
1410 | 0x20a1, 0x022b, 0x0078, 0x3a76, 0x20a1, 0x012b, 0x017f, 0x789b, | ||
1411 | 0x0000, 0x8000, 0x80ac, 0xad80, 0x000b, 0x2098, 0x53a6, 0x147f, | ||
1412 | 0x137f, 0x157f, 0x6814, 0xc0fc, 0x8007, 0x7882, 0x0078, 0x4363, | ||
1413 | 0x6818, 0xd0fc, 0x0040, 0x3a8e, 0x681b, 0x0008, 0x6820, 0xc0ad, | ||
1414 | 0x6822, 0x1078, 0x4120, 0x781b, 0x00ea, 0x007c, 0x2300, 0x0079, | ||
1415 | 0x3a99, 0x3a9e, 0x3b76, 0x3a9c, 0x1078, 0x29b2, 0x7cd8, 0x7ddc, | ||
1416 | 0x7fd0, 0x82ff, 0x00c0, 0x3ac7, 0x7200, 0xa286, 0x0003, 0x0040, | ||
1417 | 0x3410, 0x71d4, 0xd1bc, 0x00c0, 0x3aca, 0xd1b4, 0x0040, 0x3aca, | ||
1418 | 0x0d7e, 0x783b, 0x8800, 0x781b, 0x004c, 0x70bc, 0xa06d, 0x68b4, | ||
1419 | 0xc0a5, 0x785a, 0x6894, 0x78d6, 0x78de, 0x6898, 0x78d2, 0x78da, | ||
1420 | 0xc1b4, 0x71d6, 0x7003, 0x0030, 0x0d7f, 0x0078, 0x3ace, 0x7200, | ||
1421 | 0x0078, 0x3ace, 0x783b, 0x1800, 0x781b, 0x004a, 0xa284, 0x000f, | ||
1422 | 0x0079, 0x3ad2, 0x3b61, 0x3b10, 0x3adc, 0x343f, 0x3ada, 0x3b61, | ||
1423 | 0x3ada, 0x3ada, 0x1078, 0x29b2, 0x681c, 0xd0ec, 0x0040, 0x3ae3, | ||
1424 | 0x6008, 0xc08d, 0x600a, 0x6920, 0xc185, 0x6922, 0x6800, 0x6006, | ||
1425 | 0xa005, 0x00c0, 0x3aec, 0x6002, 0x6008, 0xc0d4, 0x600a, 0x681c, | ||
1426 | 0xa084, 0x000e, 0x00c0, 0x3b00, 0xb284, 0x0300, 0x0040, 0x3afc, | ||
1427 | 0x2009, 0x95c0, 0x0078, 0x3b05, 0x2009, 0x96d0, 0x0078, 0x3b05, | ||
1428 | 0x7030, 0x68ba, 0x7140, 0x70cc, 0xa108, 0x2104, 0x6802, 0x2d0a, | ||
1429 | 0x715e, 0xd6dc, 0x00c0, 0x3b10, 0xc6fc, 0x6eb6, 0x0078, 0x3b61, | ||
1430 | 0x6eb6, 0xa684, 0x0060, 0x00c0, 0x3b1a, 0xa684, 0x7fff, 0x68b6, | ||
1431 | 0x0078, 0x3b61, 0xd6dc, 0x00c0, 0x3b28, 0xa684, 0x7fff, 0x68b6, | ||
1432 | 0x6894, 0x68a6, 0x6898, 0x68aa, 0x1078, 0x45d6, 0x0078, 0x3b61, | ||
1433 | 0xd6ac, 0x0040, 0x3b34, 0xa006, 0x1078, 0x45d6, 0x2408, 0x2510, | ||
1434 | 0x69aa, 0x6aa6, 0x0078, 0x3b44, 0x2408, 0x2510, 0x2700, 0x801b, | ||
1435 | 0x00c8, 0x3b3b, 0x8000, 0xa084, 0x003f, 0xa108, 0xa291, 0x0000, | ||
1436 | 0x69aa, 0x6aa6, 0x1078, 0x45d6, 0xd6fc, 0x0040, 0x3b61, 0xa684, | ||
1437 | 0x7fff, 0x68b6, 0x2510, 0x2408, 0xd6ac, 0x00c0, 0x3b59, 0x2700, | ||
1438 | 0x801b, 0x00c8, 0x3b54, 0x8000, 0xa084, 0x003f, 0xa108, 0xa291, | ||
1439 | 0x0000, 0x6b98, 0x2100, 0xa302, 0x68b2, 0x6b94, 0x2200, 0xa303, | ||
1440 | 0x68ae, 0x7000, 0xa086, 0x0030, 0x00c0, 0x2a0c, 0x7003, 0x0002, | ||
1441 | 0x70bc, 0xa06d, 0x68bc, 0x7042, 0x70b8, 0xa065, 0x68c0, 0x705a, | ||
1442 | 0x2d00, 0x704e, 0xad80, 0x0009, 0x7046, 0x007c, 0xa586, 0x8800, | ||
1443 | 0x00c0, 0x3b83, 0x7003, 0x0000, 0x6018, 0x8001, 0x601a, 0x6008, | ||
1444 | 0xa084, 0xfbef, 0x600a, 0x0078, 0x4111, 0x7047, 0x0000, 0xa282, | ||
1445 | 0x0006, 0x0050, 0x3b8d, 0x1078, 0x29b2, 0x2300, 0x0079, 0x3b90, | ||
1446 | 0x3b93, 0x3ba5, 0x3bb1, 0x2200, 0x0079, 0x3b96, 0x3b9c, 0x4111, | ||
1447 | 0x3b9e, 0x3b9c, 0x3beb, 0x3c40, 0x1078, 0x29b2, 0x7a80, 0xa294, | ||
1448 | 0x0f00, 0x1078, 0x3cca, 0x0078, 0x4107, 0x1078, 0x3bc2, 0x0079, | ||
1449 | 0x3ba9, 0x4111, 0x3baf, 0x3baf, 0x3beb, 0x3baf, 0x4111, 0x1078, | ||
1450 | 0x29b2, 0x1078, 0x3bc2, 0x0079, 0x3bb5, 0x3bbd, 0x3bbb, 0x3bbb, | ||
1451 | 0x3bbd, 0x3bbb, 0x3bbd, 0x1078, 0x29b2, 0x1078, 0x412b, 0x781b, | ||
1452 | 0x0078, 0x007c, 0x7000, 0xa086, 0x0002, 0x00c0, 0x3bd3, 0x1078, | ||
1453 | 0x3e36, 0x0078, 0x3bcd, 0x1078, 0x45d6, 0x6008, 0xa084, 0xfbef, | ||
1454 | 0x600a, 0x0078, 0x3bd8, 0x7000, 0xa086, 0x0003, 0x0040, 0x3bcb, | ||
1455 | 0x7003, 0x0005, 0xb284, 0x0300, 0x0040, 0x3be2, 0x2001, 0x96e0, | ||
1456 | 0x0078, 0x3be4, 0x2001, 0x9712, 0x2068, 0x704e, 0xad80, 0x0009, | ||
1457 | 0x7046, 0x2200, 0x007c, 0x7000, 0xa086, 0x0002, 0x00c0, 0x3bfd, | ||
1458 | 0x70d4, 0xc0b5, 0x70d6, 0x2c00, 0x70ba, 0x2d00, 0x70be, 0x0078, | ||
1459 | 0x3c02, 0x1078, 0x45d6, 0x0078, 0x3c02, 0x7000, 0xa086, 0x0003, | ||
1460 | 0x0040, 0x3bf9, 0x7003, 0x0001, 0x7a80, 0xa294, 0x0f00, 0x789b, | ||
1461 | 0x0018, 0x7ca8, 0xa484, 0x001f, 0xa215, 0x2069, 0x95c0, 0xb284, | ||
1462 | 0x0300, 0x00c0, 0x3c16, 0xc2fd, 0x2069, 0x96d0, 0x2d04, 0x2d08, | ||
1463 | 0x715e, 0xa06d, 0x0040, 0x3c23, 0x6814, 0xa206, 0x0040, 0x3c25, | ||
1464 | 0x6800, 0x0078, 0x3c17, 0x1078, 0x3cca, 0x6eb4, 0x7e5a, 0x6920, | ||
1465 | 0xa184, 0x0c00, 0x0040, 0x3cf4, 0x7064, 0xa086, 0x0006, 0x00c0, | ||
1466 | 0x3c37, 0x7074, 0xa206, 0x00c0, 0x3c37, 0x7066, 0x707e, 0x681b, | ||
1467 | 0x0005, 0xc1ad, 0xc1d4, 0x6922, 0x1078, 0x4120, 0x0078, 0x3cf4, | ||
1468 | 0x7200, 0xa286, 0x0002, 0x00c0, 0x3c52, 0x70d4, 0xc0b5, 0x70d6, | ||
1469 | 0x2c00, 0x70ba, 0x2d00, 0x70be, 0x0078, 0x3c56, 0x1078, 0x45d6, | ||
1470 | 0x0078, 0x3c56, 0xa286, 0x0003, 0x0040, 0x3c4e, 0x7003, 0x0001, | ||
1471 | 0x7a80, 0xa294, 0x0f00, 0x789b, 0x0018, 0x7ca8, 0xa484, 0x001f, | ||
1472 | 0xa215, 0xb284, 0x0300, 0x00c0, 0x3c66, 0xc2fd, 0x79a8, 0x79a8, | ||
1473 | 0xa18c, 0x00ff, 0x2118, 0x70cc, 0xa168, 0x2d04, 0x2d08, 0x715e, | ||
1474 | 0xa06d, 0x0040, 0x3c7a, 0x6814, 0xa206, 0x0040, 0x3ca3, 0x6800, | ||
1475 | 0x0078, 0x3c6e, 0x7003, 0x0005, 0xb284, 0x0300, 0x0040, 0x3c84, | ||
1476 | 0x2001, 0x96e0, 0x0078, 0x3c86, 0x2001, 0x9712, 0x2068, 0x704e, | ||
1477 | 0x157e, 0x20a9, 0x0032, 0x2003, 0x0000, 0x8000, 0x00f0, 0x3c8b, | ||
1478 | 0x157f, 0xb284, 0x0300, 0x0040, 0x3c98, 0xc2fc, 0x0078, 0x3c99, | ||
1479 | 0xc2fd, 0x6a16, 0xad80, 0x0009, 0x7046, 0x68b7, 0x0700, 0x6823, | ||
1480 | 0x0800, 0x6827, 0x0003, 0x6eb4, 0x6920, 0xa184, 0x0c00, 0x0040, | ||
1481 | 0x3cf4, 0xd0dc, 0x0040, 0x3cbf, 0x7064, 0xa086, 0x0004, 0x00c0, | ||
1482 | 0x3cbb, 0x7074, 0xa206, 0x00c0, 0x3cbb, 0x7078, 0xa306, 0x00c0, | ||
1483 | 0x3cbb, 0x7066, 0x707e, 0x1078, 0x4127, 0x0078, 0x3cf4, 0x681b, | ||
1484 | 0x0005, 0xc1ad, 0xc1d4, 0x6922, 0x1078, 0x4120, 0x707f, 0x0000, | ||
1485 | 0x0078, 0x3cf4, 0x7003, 0x0005, 0xb284, 0x0300, 0x0040, 0x3cd4, | ||
1486 | 0x2001, 0x96e0, 0x0078, 0x3cd6, 0x2001, 0x9712, 0x2068, 0x704e, | ||
1487 | 0x157e, 0x20a9, 0x0032, 0x2003, 0x0000, 0x8000, 0x00f0, 0x3cdb, | ||
1488 | 0x157f, 0xb284, 0x0300, 0x0040, 0x3ce8, 0xc2fc, 0x0078, 0x3ce9, | ||
1489 | 0xc2fd, 0x6a16, 0xad80, 0x0009, 0x7046, 0x68b7, 0x0700, 0x6823, | ||
1490 | 0x0800, 0x6827, 0x0003, 0x007c, 0xc6ec, 0xa6ac, 0x0060, 0x0040, | ||
1491 | 0x3d46, 0x6b98, 0x6c94, 0x69ac, 0x68b0, 0xa105, 0x00c0, 0x3d21, | ||
1492 | 0x7bd2, 0x7bda, 0x7cd6, 0x7cde, 0xa586, 0x0060, 0x0040, 0x3d4b, | ||
1493 | 0xd6f4, 0x00c0, 0x3d0c, 0xc6ed, 0xa6b4, 0xb7ff, 0x7e5a, 0x2009, | ||
1494 | 0x0079, 0xd69c, 0x0040, 0x3d19, 0x2009, 0x0078, 0x2019, 0x0000, | ||
1495 | 0x2320, 0x791a, 0xd6ec, 0x0040, 0x3d56, 0x1078, 0x493f, 0x0078, | ||
1496 | 0x3d56, 0x68b0, 0xa31a, 0x2100, 0xa423, 0x2400, 0xa305, 0x0040, | ||
1497 | 0x3d4d, 0x7bd2, 0x7bda, 0x7cd6, 0x7cde, 0x68b0, 0xd6f4, 0x00c0, | ||
1498 | 0x3d32, 0xc6ed, 0xc6f4, 0x7e5a, 0x2011, 0x0079, 0xd69c, 0x0040, | ||
1499 | 0x3d3e, 0x2011, 0x0078, 0x2019, 0x0000, 0x2320, 0x7a1a, 0xd6ec, | ||
1500 | 0x0040, 0x3d56, 0x1078, 0x4977, 0x0078, 0x3d56, 0x2019, 0x0000, | ||
1501 | 0x2320, 0x0078, 0x3d4d, 0xa6b4, 0xb7ff, 0x7e5a, 0x2009, 0x0079, | ||
1502 | 0xd69c, 0x0040, 0x3d55, 0x2009, 0x0078, 0x791a, 0x68c0, 0x705a, | ||
1503 | 0x2d00, 0x704e, 0x68c4, 0x2060, 0x71d4, 0x2001, 0x4f01, 0x2004, | ||
1504 | 0xd0c4, 0x00c0, 0x3dab, 0x70d8, 0xa02d, 0x0040, 0x3d84, 0xd1bc, | ||
1505 | 0x0040, 0x3d9e, 0x7a80, 0xa294, 0x0f00, 0x70dc, 0xa206, 0x0040, | ||
1506 | 0x3d75, 0x78e0, 0xa504, 0x00c0, 0x3dab, 0x70da, 0xc1bc, 0x71d6, | ||
1507 | 0x0078, 0x3dab, 0x2031, 0x0001, 0x852c, 0x0048, 0x3d83, 0x8633, | ||
1508 | 0x8210, 0x0078, 0x3d7c, 0x007c, 0x7de0, 0xa594, 0xff00, 0x0040, | ||
1509 | 0x3d91, 0x2011, 0x0008, 0x852f, 0x1078, 0x3d7a, 0x8637, 0x0078, | ||
1510 | 0x3d93, 0x1078, 0x3d7a, 0x8217, 0x7880, 0xa084, 0x0f00, 0xa206, | ||
1511 | 0x0040, 0x3dab, 0x72de, 0x76da, 0x0078, 0x3dab, 0x7a80, 0xa294, | ||
1512 | 0x0f00, 0x70dc, 0xa236, 0x0040, 0x3d9b, 0x78e0, 0xa534, 0x0040, | ||
1513 | 0x3d9b, 0xc1bd, 0x71d6, 0xd1b4, 0x00c0, 0x2a08, 0x2300, 0xa405, | ||
1514 | 0x0040, 0x2a08, 0x70a4, 0xa086, 0x0001, 0x00c0, 0x2a52, 0x007c, | ||
1515 | 0x6020, 0xa005, 0x0040, 0x3dc6, 0x8001, 0x6022, 0x6008, 0xa085, | ||
1516 | 0x0008, 0x600a, 0x700f, 0x0100, 0x702c, 0x6026, 0x007c, 0xa006, | ||
1517 | 0x1078, 0x45d6, 0x7000, 0xa086, 0x0002, 0x0040, 0x3dd4, 0x7064, | ||
1518 | 0xa086, 0x0005, 0x00c0, 0x3dde, 0x682b, 0x0000, 0x6817, 0x0000, | ||
1519 | 0x681b, 0x0001, 0x6823, 0x0040, 0x681f, 0x0100, 0x7000, 0xa084, | ||
1520 | 0x000f, 0x0079, 0x3de3, 0x2a0c, 0x3df3, 0x3ded, 0x3e15, 0x3dfd, | ||
1521 | 0x2a0c, 0x3deb, 0x3deb, 0x1078, 0x29b2, 0x1078, 0x3e20, 0x1078, | ||
1522 | 0x3e19, 0x0078, 0x3df9, 0x1078, 0x3e20, 0x705c, 0x2060, 0x6800, | ||
1523 | 0x6002, 0x1078, 0x2073, 0x0078, 0x2a0c, 0x7064, 0x7067, 0x0000, | ||
1524 | 0x7083, 0x0000, 0x0079, 0x3e04, 0x3e11, 0x3e11, 0x3e0c, 0x3e0c, | ||
1525 | 0x3e0c, 0x3e11, 0x3e0c, 0x3e11, 0x77d4, 0xc7dd, 0x77d6, 0x0079, | ||
1526 | 0x2f7e, 0x7067, 0x0000, 0x0078, 0x2a0c, 0x681b, 0x0000, 0x0078, | ||
1527 | 0x3711, 0x6800, 0xa005, 0x00c0, 0x3e1e, 0x6002, 0x6006, 0x007c, | ||
1528 | 0x6410, 0x84ff, 0x0040, 0x3e32, 0x2009, 0x4f02, 0x2104, 0x8001, | ||
1529 | 0x200a, 0x8421, 0x6412, 0x00c0, 0x3e32, 0x2021, 0x4f04, 0x2404, | ||
1530 | 0xc0a5, 0x2022, 0x6008, 0xc0a4, 0x600a, 0x007c, 0x6018, 0xa005, | ||
1531 | 0x0040, 0x3e3c, 0x8001, 0x601a, 0x007c, 0x1078, 0x43d3, 0x681b, | ||
1532 | 0x0018, 0x0078, 0x3e7d, 0x1078, 0x43d3, 0x681b, 0x0019, 0x0078, | ||
1533 | 0x3e7d, 0x1078, 0x43d3, 0x681b, 0x001a, 0x0078, 0x3e7d, 0x1078, | ||
1534 | 0x43d3, 0x681b, 0x0003, 0x0078, 0x3e7d, 0x7774, 0x1078, 0x424e, | ||
1535 | 0x7178, 0xa18c, 0x00ff, 0x3210, 0xa294, 0x0300, 0x0040, 0x3e64, | ||
1536 | 0xa1e8, 0x94c0, 0x0078, 0x3e66, 0xa1e8, 0x95d0, 0x2d04, 0x2d08, | ||
1537 | 0x2068, 0xa005, 0x00c0, 0x3e6f, 0x707e, 0x0078, 0x2a0c, 0x6814, | ||
1538 | 0x7274, 0xa206, 0x0040, 0x3e77, 0x6800, 0x0078, 0x3e67, 0x6800, | ||
1539 | 0x200a, 0x681b, 0x0005, 0x707f, 0x0000, 0x1078, 0x3e20, 0x6820, | ||
1540 | 0xd084, 0x00c0, 0x3e85, 0x1078, 0x3e19, 0x1078, 0x3e36, 0x681f, | ||
1541 | 0x0000, 0x6823, 0x0020, 0x1078, 0x2073, 0x0078, 0x2a0c, 0xa282, | ||
1542 | 0x0003, 0x00c0, 0x4107, 0x7da8, 0xa5ac, 0x00ff, 0x7e5a, 0x7ea8, | ||
1543 | 0xa6b4, 0x00ff, 0x6920, 0xc1bd, 0x6922, 0xd1c4, 0x0040, 0x3eea, | ||
1544 | 0xc1c4, 0x6922, 0xa6b4, 0x00ff, 0x0040, 0x3ed7, 0xa682, 0x000c, | ||
1545 | 0x0048, 0x3eae, 0x0040, 0x3eae, 0x2031, 0x000c, 0x2500, 0xa086, | ||
1546 | 0x000a, 0x0040, 0x3eb5, 0x852b, 0x852b, 0x1078, 0x41e0, 0x0040, | ||
1547 | 0x3ebd, 0x1078, 0x3fbc, 0x0078, 0x3ee0, 0x1078, 0x419b, 0x0c7e, | ||
1548 | 0x2960, 0x6004, 0xa084, 0xfff5, 0x6006, 0x1078, 0x3ff2, 0x0c7f, | ||
1549 | 0x6920, 0xc1c5, 0x6922, 0x7e58, 0xc695, 0x7e5a, 0xd6d4, 0x00c0, | ||
1550 | 0x3ed4, 0x781b, 0x0064, 0x007c, 0x781b, 0x0078, 0x007c, 0x0c7e, | ||
1551 | 0x2960, 0x6004, 0xa084, 0xfff5, 0x6006, 0x1078, 0x3ff2, 0x0c7f, | ||
1552 | 0x7e58, 0xd6d4, 0x00c0, 0x3ee7, 0x781b, 0x0067, 0x007c, 0x781b, | ||
1553 | 0x0079, 0x007c, 0x0c7e, 0x7058, 0x2060, 0x6100, 0xd1e4, 0x0040, | ||
1554 | 0x3f33, 0x6208, 0x8217, 0xa294, 0x00ff, 0xa282, 0x000c, 0x0048, | ||
1555 | 0x3efd, 0x0040, 0x3efd, 0x2011, 0x000c, 0x2600, 0xa202, 0x00c8, | ||
1556 | 0x3f02, 0x2230, 0x6208, 0xa294, 0x00ff, 0x2001, 0x4f05, 0x2004, | ||
1557 | 0xd0e4, 0x00c0, 0x3f17, 0x78ec, 0xd0e4, 0x0040, 0x3f17, 0xa282, | ||
1558 | 0x000a, 0x00c8, 0x3f1d, 0x2011, 0x000a, 0x0078, 0x3f1d, 0xa282, | ||
1559 | 0x000c, 0x00c8, 0x3f1d, 0x2011, 0x000c, 0x2200, 0xa502, 0x00c8, | ||
1560 | 0x3f22, 0x2228, 0x1078, 0x419f, 0x2500, 0xa086, 0x000a, 0x0040, | ||
1561 | 0x3f2b, 0x852b, 0x852b, 0x1078, 0x41e0, 0x0040, 0x3f33, 0x1078, | ||
1562 | 0x3fbc, 0x0078, 0x3f37, 0x1078, 0x419b, 0x1078, 0x3ff2, 0x7858, | ||
1563 | 0xc095, 0x785a, 0x0c7f, 0x781b, 0x0078, 0x007c, 0x0c7e, 0x2960, | ||
1564 | 0x6000, 0xd0e4, 0x00c0, 0x3f58, 0xd0b4, 0x00c0, 0x3f52, 0x6010, | ||
1565 | 0xa084, 0x000f, 0x00c0, 0x3f52, 0x6104, 0xa18c, 0xfff5, 0x6106, | ||
1566 | 0x0c7f, 0x007c, 0x2011, 0x0032, 0x2019, 0x0000, 0x0078, 0x3f83, | ||
1567 | 0x68a0, 0xd0cc, 0x00c0, 0x3f52, 0x6208, 0xa294, 0x00ff, 0x2001, | ||
1568 | 0x4f05, 0x2004, 0xd0e4, 0x00c0, 0x3f71, 0x78ec, 0xd0e4, 0x0040, | ||
1569 | 0x3f71, 0xa282, 0x000b, 0x00c8, 0x3f71, 0x2011, 0x000a, 0x0078, | ||
1570 | 0x3f77, 0xa282, 0x000c, 0x00c8, 0x3f77, 0x2011, 0x000c, 0x6308, | ||
1571 | 0x831f, 0xa39c, 0x00ff, 0xa382, 0x000c, 0x0048, 0x3f83, 0x0040, | ||
1572 | 0x3f83, 0x2019, 0x000c, 0x78ab, 0x0001, 0x78ab, 0x0003, 0x78ab, | ||
1573 | 0x0001, 0x7aaa, 0x7baa, 0xa8c0, 0x0005, 0x6820, 0xc0c5, 0x6822, | ||
1574 | 0x70d4, 0xd0b4, 0x0040, 0x3f9f, 0xc0b4, 0x70d6, 0x70b8, 0xa065, | ||
1575 | 0x6008, 0xa084, 0xfbef, 0x600a, 0x6018, 0x8001, 0x601a, 0x0c7f, | ||
1576 | 0x007c, 0x0c7e, 0x2960, 0x6104, 0xa18c, 0xfff5, 0x6106, 0x2011, | ||
1577 | 0x0032, 0x2019, 0x0000, 0x0078, 0x3fad, 0x78ab, 0x0001, 0x78ab, | ||
1578 | 0x0003, 0x78ab, 0x0001, 0x7aaa, 0x7baa, 0xa8c0, 0x0005, 0x6820, | ||
1579 | 0xc0c5, 0x6822, 0x0c7f, 0x007c, 0x0c7e, 0x7158, 0x2160, 0x2018, | ||
1580 | 0xa08c, 0x0020, 0x0040, 0x3fc5, 0xc0ac, 0x2008, 0xa084, 0xfff0, | ||
1581 | 0xa635, 0x7e86, 0x6018, 0x789a, 0x7eae, 0x6612, 0x78a4, 0xa084, | ||
1582 | 0xfff0, 0xa18c, 0x000f, 0xa105, 0xc0f4, 0xa39c, 0x0020, 0x0040, | ||
1583 | 0x3fdb, 0xa085, 0x4000, 0xc0fc, 0xd0b4, 0x00c0, 0x3fe0, 0xc0fd, | ||
1584 | 0x78a6, 0x6016, 0x788a, 0xa6b4, 0x000f, 0x8637, 0x8204, 0x8004, | ||
1585 | 0xa084, 0x00ff, 0xa605, 0x600e, 0x6004, 0xa084, 0xfff5, 0x6006, | ||
1586 | 0x0c7f, 0x007c, 0x0c7e, 0x7058, 0x2060, 0x6018, 0x789a, 0x78a4, | ||
1587 | 0xa084, 0xfff0, 0x78a6, 0x6012, 0x7884, 0xa084, 0xfff0, 0x7886, | ||
1588 | 0x600c, 0xa084, 0x00ff, 0x600e, 0x0c7f, 0x007c, 0xa282, 0x0002, | ||
1589 | 0x00c0, 0x4107, 0x7aa8, 0x6920, 0xc1bd, 0x6922, 0xd1cc, 0x0040, | ||
1590 | 0x4041, 0xc1cc, 0x6922, 0xa294, 0x00ff, 0xa282, 0x0002, 0x00c8, | ||
1591 | 0x4107, 0x1078, 0x4094, 0x1078, 0x3ff2, 0xa980, 0x0001, 0x200c, | ||
1592 | 0x1078, 0x424a, 0x1078, 0x3f3e, 0x88ff, 0x0040, 0x4037, 0x789b, | ||
1593 | 0x0060, 0x2800, 0x78aa, 0x7e58, 0xc695, 0x7e5a, 0xd6d4, 0x00c0, | ||
1594 | 0x4034, 0x781b, 0x0064, 0x007c, 0x781b, 0x0078, 0x007c, 0x7e58, | ||
1595 | 0xd6d4, 0x00c0, 0x403e, 0x781b, 0x0067, 0x007c, 0x781b, 0x0079, | ||
1596 | 0x007c, 0xa282, 0x0002, 0x00c8, 0x4049, 0xa284, 0x0001, 0x0040, | ||
1597 | 0x4052, 0x7158, 0xa188, 0x0000, 0x210c, 0xd1ec, 0x00c0, 0x4052, | ||
1598 | 0x2011, 0x0000, 0x1078, 0x417c, 0x1078, 0x4094, 0x1078, 0x3ff2, | ||
1599 | 0x7858, 0xc095, 0x785a, 0x781b, 0x0078, 0x007c, 0x0c7e, 0x027e, | ||
1600 | 0x2960, 0x6000, 0x2011, 0x0001, 0xd0ec, 0x00c0, 0x4075, 0xd0bc, | ||
1601 | 0x00c0, 0x4073, 0x6014, 0xd0b4, 0x00c0, 0x4073, 0xc1a4, 0x6106, | ||
1602 | 0xa006, 0x0078, 0x4091, 0x2011, 0x0000, 0x78ab, 0x0001, 0x78ab, | ||
1593 | 0x0002, 0x78ab, 0x0003, 0x7aaa, 0xa8c0, 0x0004, 0x70d4, 0xd0b4, | 1603 | 0x0002, 0x78ab, 0x0003, 0x7aaa, 0xa8c0, 0x0004, 0x70d4, 0xd0b4, |
1594 | 0x0040, 0x403d, 0xc0b4, 0x70d6, 0x70b8, 0xa065, 0x6008, 0xa084, | 1604 | 0x0040, 0x408d, 0xc0b4, 0x70d6, 0x70b8, 0xa065, 0x6008, 0xa084, |
1595 | 0xfbef, 0x600a, 0x6018, 0x8001, 0x601a, 0x6820, 0xa085, 0x0200, | 1605 | 0xfbef, 0x600a, 0x6018, 0x8001, 0x601a, 0x6820, 0xa085, 0x0200, |
1596 | 0x6822, 0x027f, 0x0c7f, 0x007c, 0x0c7e, 0x7058, 0x2060, 0x82ff, | 1606 | 0x6822, 0x027f, 0x0c7f, 0x007c, 0x0c7e, 0x7058, 0x2060, 0x82ff, |
1597 | 0x0040, 0x404c, 0x2011, 0x0040, 0x6018, 0xa080, 0x0002, 0x789a, | 1607 | 0x0040, 0x409c, 0x2011, 0x0040, 0x6018, 0xa080, 0x0002, 0x789a, |
1598 | 0x78a4, 0xa084, 0xffbf, 0xa205, 0xc0fc, 0xd0b4, 0x00c0, 0x4059, | 1608 | 0x78a4, 0xa084, 0xffbf, 0xa205, 0xc0fc, 0xd0b4, 0x00c0, 0x40a9, |
1599 | 0xc0fd, 0x78a6, 0x6016, 0x788a, 0x6004, 0xc0a4, 0x6006, 0x0c7f, | 1609 | 0xc0fd, 0x78a6, 0x6016, 0x788a, 0x6004, 0xc0a4, 0x6006, 0x0c7f, |
1600 | 0x007c, 0x007e, 0x7000, 0xa086, 0x0003, 0x0040, 0x406a, 0x007f, | 1610 | 0x007c, 0x007e, 0x7000, 0xa086, 0x0003, 0x0040, 0x40ba, 0x007f, |
1601 | 0x0078, 0x406d, 0x007f, 0x0078, 0x40b4, 0xd6ac, 0x0040, 0x40b4, | 1611 | 0x0078, 0x40bd, 0x007f, 0x0078, 0x4104, 0xd6ac, 0x0040, 0x4104, |
1602 | 0x7888, 0xa084, 0x0040, 0x0040, 0x40b4, 0x7bb8, 0xa384, 0x003f, | 1612 | 0x7888, 0xa084, 0x0040, 0x0040, 0x4104, 0x7bb8, 0xa384, 0x003f, |
1603 | 0x831b, 0x00c8, 0x407c, 0x8000, 0xa005, 0x0040, 0x4091, 0x831b, | 1613 | 0x831b, 0x00c8, 0x40cc, 0x8000, 0xa005, 0x0040, 0x40e1, 0x831b, |
1604 | 0x00c8, 0x4085, 0x8001, 0x0040, 0x40b1, 0xd6f4, 0x0040, 0x4091, | 1614 | 0x00c8, 0x40d5, 0x8001, 0x0040, 0x4101, 0xd6f4, 0x0040, 0x40e1, |
1605 | 0x78b8, 0x801b, 0x00c8, 0x408d, 0x8000, 0xa084, 0x003f, 0x00c0, | 1615 | 0x78b8, 0x801b, 0x00c8, 0x40dd, 0x8000, 0xa084, 0x003f, 0x00c0, |
1606 | 0x40b1, 0xc6f4, 0x7e5a, 0x79d8, 0x7adc, 0x2001, 0x0001, 0xa108, | 1616 | 0x4101, 0xc6f4, 0x7e5a, 0x79d8, 0x7adc, 0x2001, 0x0001, 0xa108, |
1607 | 0x00c8, 0x409c, 0xa291, 0x0000, 0x79d2, 0x79da, 0x7ad6, 0x7ade, | 1617 | 0x00c8, 0x40ec, 0xa291, 0x0000, 0x79d2, 0x79da, 0x7ad6, 0x7ade, |
1608 | 0x1078, 0x49c3, 0x781b, 0x0076, 0xb284, 0x0300, 0x0040, 0x40ac, | 1618 | 0x1078, 0x4a44, 0x781b, 0x0076, 0xb284, 0x0300, 0x0040, 0x40fc, |
1609 | 0x2001, 0x0000, 0x0078, 0x40ae, 0x2001, 0x0001, 0x1078, 0x484b, | 1619 | 0x2001, 0x0000, 0x0078, 0x40fe, 0x2001, 0x0001, 0x1078, 0x48ce, |
1610 | 0x007c, 0x781b, 0x0076, 0x007c, 0x781b, 0x0079, 0x007c, 0x1078, | 1620 | 0x007c, 0x781b, 0x0076, 0x007c, 0x781b, 0x0079, 0x007c, 0x1078, |
1611 | 0x40df, 0x781b, 0x0078, 0x007c, 0x1078, 0x40c8, 0x781b, 0x0078, | 1621 | 0x412f, 0x781b, 0x0078, 0x007c, 0x1078, 0x4118, 0x781b, 0x0078, |
1612 | 0x007c, 0x6827, 0x0002, 0x1078, 0x40d0, 0x781b, 0x0078, 0x007c, | 1622 | 0x007c, 0x6827, 0x0002, 0x1078, 0x4120, 0x781b, 0x0078, 0x007c, |
1613 | 0x2001, 0x0005, 0x0078, 0x40e1, 0x2001, 0x000c, 0x0078, 0x40e1, | 1623 | 0x2001, 0x0005, 0x0078, 0x4131, 0x2001, 0x000c, 0x0078, 0x4131, |
1614 | 0x6820, 0xc0d5, 0x6822, 0x2001, 0x0006, 0x0078, 0x40e1, 0x2001, | 1624 | 0x6820, 0xc0d5, 0x6822, 0x2001, 0x0006, 0x0078, 0x4131, 0x2001, |
1615 | 0x000d, 0x0078, 0x40e1, 0x2001, 0x0009, 0x0078, 0x40e1, 0x2001, | 1625 | 0x000d, 0x0078, 0x4131, 0x2001, 0x0009, 0x0078, 0x4131, 0x2001, |
1616 | 0x0007, 0x789b, 0x007e, 0x78aa, 0xc69d, 0x7e5a, 0x70d4, 0xd0b4, | 1626 | 0x0007, 0x789b, 0x007e, 0x78aa, 0xc69d, 0x7e5a, 0x70d4, 0xd0b4, |
1617 | 0x0040, 0x40f7, 0xc0b4, 0x70d6, 0x0c7e, 0x70b8, 0xa065, 0x6008, | 1627 | 0x0040, 0x4147, 0xc0b4, 0x70d6, 0x0c7e, 0x70b8, 0xa065, 0x6008, |
1618 | 0xa084, 0xfbef, 0x600a, 0x6018, 0x8001, 0x601a, 0x0c7f, 0x007c, | 1628 | 0xa084, 0xfbef, 0x600a, 0x6018, 0x8001, 0x601a, 0x0c7f, 0x007c, |
1619 | 0x077e, 0x873f, 0xa7bc, 0x000f, 0x873b, 0x873b, 0x8703, 0x017e, | 1629 | 0x077e, 0x873f, 0xa7bc, 0x000f, 0x873b, 0x873b, 0x8703, 0x017e, |
1620 | 0xb28c, 0x0300, 0x0040, 0x4108, 0xa0e0, 0x52c0, 0x0078, 0x410a, | 1630 | 0xb28c, 0x0300, 0x0040, 0x4158, 0xa0e0, 0x53c0, 0x0078, 0x415a, |
1621 | 0xa0e0, 0x5340, 0x017f, 0xa7b8, 0x0020, 0x7f9a, 0x79a4, 0xa184, | 1631 | 0xa0e0, 0x5440, 0x017f, 0xa7b8, 0x0020, 0x7f9a, 0x79a4, 0xa184, |
1622 | 0x000f, 0x0040, 0x411a, 0xa184, 0xfff0, 0x78a6, 0x6012, 0x6004, | 1632 | 0x000f, 0x0040, 0x416a, 0xa184, 0xfff0, 0x78a6, 0x6012, 0x6004, |
1623 | 0xc09d, 0x6006, 0x8738, 0x8738, 0x7f9a, 0x79a4, 0xa184, 0x0040, | 1633 | 0xc09d, 0x6006, 0x8738, 0x8738, 0x7f9a, 0x79a4, 0xa184, 0x0040, |
1624 | 0x0040, 0x412a, 0xa184, 0xffbf, 0xc0fd, 0x78a6, 0x6016, 0x6004, | 1634 | 0x0040, 0x417a, 0xa184, 0xffbf, 0xc0fd, 0x78a6, 0x6016, 0x6004, |
1625 | 0xc0a5, 0x6006, 0x077f, 0x007c, 0x789b, 0x0010, 0x78ab, 0x0001, | 1635 | 0xc0a5, 0x6006, 0x077f, 0x007c, 0x789b, 0x0010, 0x78ab, 0x0001, |
1626 | 0x78ab, 0x0002, 0x78ab, 0x0003, 0x7aaa, 0x789b, 0x0060, 0x78ab, | 1636 | 0x78ab, 0x0002, 0x78ab, 0x0003, 0x7aaa, 0x789b, 0x0060, 0x78ab, |
1627 | 0x0004, 0x70d4, 0xd0b4, 0x0040, 0x414a, 0xc0b4, 0x70d6, 0x0c7e, | 1637 | 0x0004, 0x70d4, 0xd0b4, 0x0040, 0x419a, 0xc0b4, 0x70d6, 0x0c7e, |
1628 | 0x70b8, 0xa065, 0x6008, 0xa084, 0xfbef, 0x600a, 0x6018, 0x8001, | 1638 | 0x70b8, 0xa065, 0x6008, 0xa084, 0xfbef, 0x600a, 0x6018, 0x8001, |
1629 | 0x601a, 0x0c7f, 0x007c, 0x2031, 0x0000, 0x2029, 0x0032, 0x789b, | 1639 | 0x601a, 0x0c7f, 0x007c, 0x2031, 0x0000, 0x2029, 0x0032, 0x789b, |
1630 | 0x0010, 0x78ab, 0x0001, 0x78ab, 0x0003, 0x78ab, 0x0001, 0x7daa, | 1640 | 0x0010, 0x78ab, 0x0001, 0x78ab, 0x0003, 0x78ab, 0x0001, 0x7daa, |
1631 | 0x7eaa, 0x789b, 0x0060, 0x78ab, 0x0005, 0x70d4, 0xd0b4, 0x0040, | 1641 | 0x7eaa, 0x789b, 0x0060, 0x78ab, 0x0005, 0x70d4, 0xd0b4, 0x0040, |
1632 | 0x416e, 0xc0b4, 0x70d6, 0x0c7e, 0x70b8, 0xa065, 0x6008, 0xa084, | 1642 | 0x41be, 0xc0b4, 0x70d6, 0x0c7e, 0x70b8, 0xa065, 0x6008, 0xa084, |
1633 | 0xfbef, 0x600a, 0x6018, 0x8001, 0x601a, 0x0c7f, 0x007c, 0x157e, | 1643 | 0xfbef, 0x600a, 0x6018, 0x8001, 0x601a, 0x0c7f, 0x007c, 0x157e, |
1634 | 0x8007, 0xa084, 0x00ff, 0x8003, 0x8003, 0xa080, 0x0020, 0x789a, | 1644 | 0x8007, 0xa084, 0x00ff, 0x8003, 0x8003, 0xa080, 0x0020, 0x789a, |
1635 | 0x79a4, 0xa18c, 0xfff0, 0x2021, 0x41e3, 0x2019, 0x0011, 0x20a9, | 1645 | 0x79a4, 0xa18c, 0xfff0, 0x2021, 0x4233, 0x2019, 0x0011, 0x20a9, |
1636 | 0x000e, 0x2011, 0x0032, 0x2404, 0xa084, 0xfff0, 0xa106, 0x0040, | 1646 | 0x000e, 0x2011, 0x0032, 0x2404, 0xa084, 0xfff0, 0xa106, 0x0040, |
1637 | 0x418e, 0x8420, 0x2300, 0xa210, 0x00f0, 0x4183, 0x157f, 0x007c, | 1647 | 0x41de, 0x8420, 0x2300, 0xa210, 0x00f0, 0x41d3, 0x157f, 0x007c, |
1638 | 0x157e, 0x2001, 0x4e05, 0x2004, 0xd0e4, 0x00c0, 0x41c1, 0x2021, | 1648 | 0x157e, 0x2001, 0x4f05, 0x2004, 0xd0e4, 0x00c0, 0x4211, 0x2021, |
1639 | 0x41f1, 0x20a9, 0x0009, 0x2011, 0x0028, 0xa582, 0x0019, 0x0040, | 1649 | 0x4241, 0x20a9, 0x0009, 0x2011, 0x0028, 0xa582, 0x0019, 0x0040, |
1640 | 0x41d7, 0x0048, 0x41d7, 0x8420, 0x95a9, 0x2011, 0x0032, 0xa582, | 1650 | 0x4227, 0x0048, 0x4227, 0x8420, 0x95a9, 0x2011, 0x0032, 0xa582, |
1641 | 0x0032, 0x0040, 0x41d7, 0x0048, 0x41d7, 0x8420, 0x95a9, 0x2019, | 1651 | 0x0032, 0x0040, 0x4227, 0x0048, 0x4227, 0x8420, 0x95a9, 0x2019, |
1642 | 0x000a, 0x2011, 0x0064, 0x2200, 0xa502, 0x0040, 0x41d7, 0x0048, | 1652 | 0x000a, 0x2011, 0x0064, 0x2200, 0xa502, 0x0040, 0x4227, 0x0048, |
1643 | 0x41d7, 0x8420, 0x2300, 0xa210, 0x00f0, 0x41b3, 0x157f, 0x0078, | 1653 | 0x4227, 0x8420, 0x2300, 0xa210, 0x00f0, 0x4203, 0x157f, 0x0078, |
1644 | 0x41d5, 0x2021, 0x41e3, 0x2019, 0x0011, 0x20a9, 0x000e, 0x2011, | 1654 | 0x4225, 0x2021, 0x4233, 0x2019, 0x0011, 0x20a9, 0x000e, 0x2011, |
1645 | 0x0032, 0x2200, 0xa502, 0x0040, 0x41d7, 0x0048, 0x41d7, 0x8420, | 1655 | 0x0032, 0x2200, 0xa502, 0x0040, 0x4227, 0x0048, 0x4227, 0x8420, |
1646 | 0x2300, 0xa210, 0x00f0, 0x41c9, 0x157f, 0xa006, 0x007c, 0x157f, | 1656 | 0x2300, 0xa210, 0x00f0, 0x4219, 0x157f, 0xa006, 0x007c, 0x157f, |
1647 | 0xa582, 0x0064, 0x00c8, 0x41e0, 0x7808, 0xa085, 0x0070, 0x780a, | 1657 | 0xa582, 0x0064, 0x00c8, 0x4230, 0x7808, 0xa085, 0x0070, 0x780a, |
1648 | 0x2404, 0xa005, 0x007c, 0x1209, 0x3002, 0x3202, 0x4203, 0x4403, | 1658 | 0x2404, 0xa005, 0x007c, 0x1209, 0x3002, 0x3202, 0x4203, 0x4403, |
1649 | 0x5404, 0x5604, 0x6605, 0x6805, 0x7806, 0x7a06, 0x0c07, 0x0c07, | 1659 | 0x5404, 0x5604, 0x6605, 0x6805, 0x7806, 0x7a06, 0x0c07, 0x0c07, |
1650 | 0x0e07, 0x10e1, 0x330a, 0x5805, 0x5a05, 0x6a06, 0x6c06, 0x7c07, | 1660 | 0x0e07, 0x10e1, 0x330a, 0x5805, 0x5a05, 0x6a06, 0x6c06, 0x7c07, |
1651 | 0x7e07, 0x0e00, 0x789b, 0x0010, 0xa046, 0x007c, 0xa784, 0x0f00, | 1661 | 0x7e07, 0x0e00, 0x789b, 0x0010, 0xa046, 0x007c, 0xa784, 0x0f00, |
1652 | 0x800b, 0xa784, 0x001f, 0x8003, 0x8003, 0x8003, 0x8003, 0xa105, | 1662 | 0x800b, 0xa784, 0x001f, 0x8003, 0x8003, 0x8003, 0x8003, 0xa105, |
1653 | 0xd7fc, 0x0040, 0x420f, 0xa0e0, 0x73c0, 0x0078, 0x4211, 0xa0e0, | 1663 | 0xd7fc, 0x0040, 0x425f, 0xa0e0, 0x74c0, 0x0078, 0x4261, 0xa0e0, |
1654 | 0x53c0, 0x007c, 0x0e7e, 0x0f7e, 0xd084, 0x0040, 0x421f, 0x2079, | 1664 | 0x54c0, 0x007c, 0x0e7e, 0x0f7e, 0xd084, 0x0040, 0x426f, 0x2079, |
1655 | 0x0100, 0x2009, 0x4e80, 0x2071, 0x4e80, 0x0078, 0x422f, 0x2009, | 1665 | 0x0100, 0x2009, 0x4f80, 0x2071, 0x4f80, 0x0078, 0x427f, 0x2009, |
1656 | 0x4e40, 0x2071, 0x4e40, 0x2001, 0x4e04, 0x2004, 0xd0ec, 0x0040, | 1666 | 0x4f40, 0x2071, 0x4f40, 0x2001, 0x4f04, 0x2004, 0xd0ec, 0x0040, |
1657 | 0x422d, 0x2079, 0x0100, 0x0078, 0x422f, 0x2079, 0x0200, 0x2091, | 1667 | 0x427d, 0x2079, 0x0100, 0x0078, 0x427f, 0x2079, 0x0200, 0x2091, |
1658 | 0x8000, 0x2104, 0xa084, 0x000f, 0x0079, 0x4236, 0x4240, 0x4240, | 1668 | 0x8000, 0x2104, 0xa084, 0x000f, 0x0079, 0x4286, 0x4290, 0x4290, |
1659 | 0x4240, 0x4240, 0x4240, 0x4240, 0x423e, 0x423e, 0x1078, 0x296b, | 1669 | 0x4290, 0x4290, 0x4290, 0x4290, 0x428e, 0x428e, 0x1078, 0x29b2, |
1660 | 0x69b4, 0xc1f5, 0xa18c, 0xff9f, 0x69b6, 0xa005, 0x0040, 0x428f, | 1670 | 0x69b4, 0xc1f5, 0xa18c, 0xff9f, 0x69b6, 0xa005, 0x0040, 0x42df, |
1661 | 0x7858, 0xa084, 0xff9f, 0xa085, 0x6000, 0x785a, 0x7828, 0xa086, | 1671 | 0x7858, 0xa084, 0xff9f, 0xa085, 0x6000, 0x785a, 0x7828, 0xa086, |
1662 | 0x1814, 0x00c0, 0x428f, 0x784b, 0x0004, 0x7848, 0xa084, 0x0004, | 1672 | 0x1814, 0x00c0, 0x42df, 0x784b, 0x0004, 0x7848, 0xa084, 0x0004, |
1663 | 0x00c0, 0x4255, 0x784b, 0x0008, 0x7848, 0xa084, 0x0008, 0x00c0, | 1673 | 0x00c0, 0x42a5, 0x784b, 0x0008, 0x7848, 0xa084, 0x0008, 0x00c0, |
1664 | 0x425c, 0x7830, 0xd0bc, 0x00c0, 0x428f, 0x007e, 0x2001, 0x4e04, | 1674 | 0x42ac, 0x7830, 0xd0bc, 0x00c0, 0x42df, 0x007e, 0x2001, 0x4f04, |
1665 | 0x2004, 0xd0ec, 0x007f, 0x0040, 0x4271, 0xb284, 0x0300, 0x0078, | 1675 | 0x2004, 0xd0ec, 0x007f, 0x0040, 0x42c1, 0xb284, 0x0300, 0x0078, |
1666 | 0x4273, 0xb284, 0x0400, 0x0040, 0x4279, 0x0018, 0x428f, 0x0078, | 1676 | 0x42c3, 0xb284, 0x0400, 0x0040, 0x42c9, 0x0018, 0x42df, 0x0078, |
1667 | 0x427b, 0x0028, 0x428f, 0x79e4, 0xa184, 0x0030, 0x0040, 0x428f, | 1677 | 0x42cb, 0x0028, 0x42df, 0x79e4, 0xa184, 0x0030, 0x0040, 0x42df, |
1668 | 0x78ec, 0xa084, 0x0003, 0x0040, 0x428f, 0x681c, 0xd0ac, 0x00c0, | 1678 | 0x78ec, 0xa084, 0x0003, 0x0040, 0x42df, 0x681c, 0xd0ac, 0x00c0, |
1669 | 0x428d, 0x1078, 0x4319, 0x0078, 0x428f, 0x781b, 0x00f9, 0x0f7f, | 1679 | 0x42dd, 0x1078, 0x4369, 0x0078, 0x42df, 0x781b, 0x00f9, 0x0f7f, |
1670 | 0x0e7f, 0x007c, 0x0c7e, 0x2001, 0x4e01, 0x2004, 0xd0ac, 0x00c0, | 1680 | 0x0e7f, 0x007c, 0x0c7e, 0x2001, 0x4f01, 0x2004, 0xd0ac, 0x00c0, |
1671 | 0x430b, 0x6814, 0x8007, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, | 1681 | 0x435b, 0x6814, 0x8007, 0xa084, 0x000f, 0x8003, 0x8003, 0x8003, |
1672 | 0xb28c, 0x0300, 0x0040, 0x42a8, 0xa0e0, 0x52c0, 0x0078, 0x42aa, | 1682 | 0xb28c, 0x0300, 0x0040, 0x42f8, 0xa0e0, 0x53c0, 0x0078, 0x42fa, |
1673 | 0xa0e0, 0x5340, 0x6004, 0xa084, 0x000a, 0x00c0, 0x430b, 0x6108, | 1683 | 0xa0e0, 0x5440, 0x6004, 0xa084, 0x000a, 0x00c0, 0x435b, 0x6108, |
1674 | 0xa194, 0xff00, 0x0040, 0x430b, 0xa18c, 0x00ff, 0x2001, 0x000a, | 1684 | 0xa194, 0xff00, 0x0040, 0x435b, 0xa18c, 0x00ff, 0x2001, 0x000a, |
1675 | 0xa106, 0x0040, 0x42d6, 0x2001, 0x000c, 0xa106, 0x0040, 0x42da, | 1685 | 0xa106, 0x0040, 0x4326, 0x2001, 0x000c, 0xa106, 0x0040, 0x432a, |
1676 | 0x2001, 0x0012, 0xa106, 0x0040, 0x42de, 0x2001, 0x0014, 0xa106, | 1686 | 0x2001, 0x0012, 0xa106, 0x0040, 0x432e, 0x2001, 0x0014, 0xa106, |
1677 | 0x0040, 0x42e2, 0x2001, 0x0019, 0xa106, 0x0040, 0x42e6, 0x2001, | 1687 | 0x0040, 0x4332, 0x2001, 0x0019, 0xa106, 0x0040, 0x4336, 0x2001, |
1678 | 0x0032, 0xa106, 0x0040, 0x42ea, 0x0078, 0x42ee, 0x2009, 0x000c, | 1688 | 0x0032, 0xa106, 0x0040, 0x433a, 0x0078, 0x433e, 0x2009, 0x000c, |
1679 | 0x0078, 0x42f0, 0x2009, 0x0012, 0x0078, 0x42f0, 0x2009, 0x0014, | 1689 | 0x0078, 0x4340, 0x2009, 0x0012, 0x0078, 0x4340, 0x2009, 0x0014, |
1680 | 0x0078, 0x42f0, 0x2009, 0x0019, 0x0078, 0x42f0, 0x2009, 0x0020, | 1690 | 0x0078, 0x4340, 0x2009, 0x0019, 0x0078, 0x4340, 0x2009, 0x0020, |
1681 | 0x0078, 0x42f0, 0x2009, 0x003f, 0x0078, 0x42f0, 0x2011, 0x0000, | 1691 | 0x0078, 0x4340, 0x2009, 0x003f, 0x0078, 0x4340, 0x2011, 0x0000, |
1682 | 0x2100, 0xa205, 0x600a, 0x6004, 0xa085, 0x0002, 0x6006, 0x2061, | 1692 | 0x2100, 0xa205, 0x600a, 0x6004, 0xa085, 0x0002, 0x6006, 0x2061, |
1683 | 0x4e00, 0x6004, 0xd0bc, 0x0040, 0x430b, 0x6814, 0xd0fc, 0x00c0, | 1693 | 0x4f00, 0x6004, 0xd0bc, 0x0040, 0x435b, 0x6814, 0xd0fc, 0x00c0, |
1684 | 0x4306, 0x60ea, 0x2061, 0x4e40, 0x0078, 0x4309, 0x60ee, 0x2061, | 1694 | 0x4356, 0x60ea, 0x2061, 0x4f40, 0x0078, 0x4359, 0x60ee, 0x2061, |
1685 | 0x4e80, 0x601f, 0x800f, 0x0c7f, 0x007c, 0x781b, 0x0079, 0x007c, | 1695 | 0x4f80, 0x601f, 0x800f, 0x0c7f, 0x007c, 0x781b, 0x0079, 0x007c, |
1686 | 0x781b, 0x0078, 0x007c, 0x781b, 0x0067, 0x007c, 0x781b, 0x0064, | 1696 | 0x781b, 0x0078, 0x007c, 0x781b, 0x0067, 0x007c, 0x781b, 0x0064, |
1687 | 0x007c, 0x2009, 0x4e19, 0x210c, 0xa186, 0x0000, 0x0040, 0x432b, | 1697 | 0x007c, 0x2009, 0x4f19, 0x210c, 0xa186, 0x0000, 0x0040, 0x437b, |
1688 | 0xa186, 0x0001, 0x0040, 0x432e, 0x701f, 0x000b, 0x7067, 0x0001, | 1698 | 0xa186, 0x0001, 0x0040, 0x437e, 0x701f, 0x000b, 0x7067, 0x0001, |
1689 | 0x781b, 0x0047, 0x007c, 0x781b, 0x00f0, 0x007c, 0x701f, 0x000a, | 1699 | 0x781b, 0x0047, 0x007c, 0x781b, 0x00f0, 0x007c, 0x701f, 0x000a, |
1690 | 0x007c, 0x2009, 0x4e19, 0x210c, 0xa186, 0x0000, 0x0040, 0x4346, | 1700 | 0x007c, 0x2009, 0x4f19, 0x210c, 0xa186, 0x0000, 0x0040, 0x4396, |
1691 | 0xa186, 0x0001, 0x0040, 0x4343, 0x701f, 0x000b, 0x7067, 0x0001, | 1701 | 0xa186, 0x0001, 0x0040, 0x4393, 0x701f, 0x000b, 0x7067, 0x0001, |
1692 | 0x781b, 0x0047, 0x007c, 0x701f, 0x000a, 0x007c, 0x781b, 0x00ef, | 1702 | 0x781b, 0x0047, 0x007c, 0x701f, 0x000a, 0x007c, 0x781b, 0x00ef, |
1693 | 0x007c, 0x781b, 0x00f9, 0x007c, 0x781b, 0x00f8, 0x007c, 0x781b, | 1703 | 0x007c, 0x781b, 0x00f9, 0x007c, 0x781b, 0x00f8, 0x007c, 0x781b, |
1694 | 0x00c9, 0x007c, 0x781b, 0x00c8, 0x007c, 0x6818, 0xd0fc, 0x0040, | 1704 | 0x00c9, 0x007c, 0x781b, 0x00c8, 0x007c, 0x6818, 0xd0fc, 0x0040, |
1695 | 0x435b, 0x681b, 0x001d, 0x7067, 0x0001, 0x781b, 0x0047, 0x007c, | 1705 | 0x43ab, 0x681b, 0x001d, 0x7067, 0x0001, 0x781b, 0x0047, 0x007c, |
1696 | 0x7830, 0xa084, 0x00c0, 0x00c0, 0x4382, 0x7808, 0xc08c, 0x780a, | 1706 | 0x7830, 0xa084, 0x00c0, 0x00c0, 0x43d2, 0x7808, 0xc08c, 0x780a, |
1697 | 0x0005, 0x0005, 0x0005, 0x0005, 0x78ec, 0xa084, 0x0021, 0x00c0, | 1707 | 0x0005, 0x0005, 0x0005, 0x0005, 0x78ec, 0xa084, 0x0021, 0x00c0, |
1698 | 0x437f, 0x2001, 0x4e05, 0x2004, 0xd0e4, 0x00c0, 0x437d, 0x7804, | 1708 | 0x43cf, 0x2001, 0x4f05, 0x2004, 0xd0e4, 0x00c0, 0x43cd, 0x7804, |
1699 | 0xa084, 0xff1f, 0xa085, 0x00e0, 0x7806, 0xa006, 0x007c, 0x7808, | 1709 | 0xa084, 0xff1f, 0xa085, 0x00e0, 0x7806, 0xa006, 0x007c, 0x7808, |
1700 | 0xc08d, 0x780a, 0x007c, 0x7808, 0xc08d, 0x780a, 0x007c, 0x7830, | 1710 | 0xc08d, 0x780a, 0x007c, 0x7808, 0xc08d, 0x780a, 0x007c, 0x7830, |
1701 | 0xa084, 0x0040, 0x00c0, 0x4387, 0x2001, 0x4e04, 0x2004, 0xd0ec, | 1711 | 0xa084, 0x0040, 0x00c0, 0x43d7, 0x2001, 0x4f04, 0x2004, 0xd0ec, |
1702 | 0x0040, 0x4396, 0xb284, 0x0300, 0x0078, 0x4398, 0xb284, 0x0400, | 1712 | 0x0040, 0x43e6, 0xb284, 0x0300, 0x0078, 0x43e8, 0xb284, 0x0400, |
1703 | 0x0040, 0x439e, 0x0098, 0x43a2, 0x0078, 0x43a0, 0x00a8, 0x43a2, | 1713 | 0x0040, 0x43ee, 0x0098, 0x43f2, 0x0078, 0x43f0, 0x00a8, 0x43f2, |
1704 | 0x78ac, 0x007c, 0x7808, 0xa084, 0xfffd, 0x780a, 0x0005, 0x0005, | 1714 | 0x78ac, 0x007c, 0x7808, 0xa084, 0xfffd, 0x780a, 0x0005, 0x0005, |
1705 | 0x0005, 0x0005, 0x78ec, 0xa084, 0x0021, 0x0040, 0x43c5, 0x007e, | 1715 | 0x0005, 0x0005, 0x78ec, 0xa084, 0x0021, 0x0040, 0x4415, 0x007e, |
1706 | 0x2001, 0x4e04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x43bb, 0xb284, | 1716 | 0x2001, 0x4f04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x440b, 0xb284, |
1707 | 0x0300, 0x0078, 0x43bd, 0xb284, 0x0400, 0x0040, 0x43c3, 0x0098, | 1717 | 0x0300, 0x0078, 0x440d, 0xb284, 0x0400, 0x0040, 0x4413, 0x0098, |
1708 | 0x43bf, 0x0078, 0x43c5, 0x00a8, 0x43c3, 0x78ac, 0x007e, 0x7808, | 1718 | 0x440f, 0x0078, 0x4415, 0x00a8, 0x4413, 0x78ac, 0x007e, 0x7808, |
1709 | 0xa085, 0x0002, 0x780a, 0x007f, 0x007c, 0xa784, 0x0001, 0x00c0, | 1719 | 0xa085, 0x0002, 0x780a, 0x007f, 0x007c, 0xa784, 0x0001, 0x00c0, |
1710 | 0x3770, 0xa784, 0x0070, 0x0040, 0x43dd, 0x0c7e, 0x2d60, 0x2f68, | 1720 | 0x37b9, 0xa784, 0x0070, 0x0040, 0x442d, 0x0c7e, 0x2d60, 0x2f68, |
1711 | 0x1078, 0x28df, 0x2d78, 0x2c68, 0x0c7f, 0xa784, 0x0008, 0x0040, | 1721 | 0x1078, 0x2926, 0x2d78, 0x2c68, 0x0c7f, 0xa784, 0x0008, 0x0040, |
1712 | 0x43ea, 0x784b, 0x0008, 0x78ec, 0xa084, 0x0003, 0x0040, 0x3770, | 1722 | 0x443a, 0x784b, 0x0008, 0x78ec, 0xa084, 0x0003, 0x0040, 0x37b9, |
1713 | 0x0078, 0x430d, 0xa784, 0x0004, 0x0040, 0x4419, 0x78b8, 0xa084, | 1723 | 0x0078, 0x435d, 0xa784, 0x0004, 0x0040, 0x4469, 0x78b8, 0xa084, |
1714 | 0x4001, 0x0040, 0x4419, 0x784b, 0x0008, 0x78ec, 0xa084, 0x0003, | 1724 | 0x4001, 0x0040, 0x4469, 0x784b, 0x0008, 0x78ec, 0xa084, 0x0003, |
1715 | 0x0040, 0x3770, 0x78e4, 0xa084, 0x0007, 0xa086, 0x0001, 0x00c0, | 1725 | 0x0040, 0x37b9, 0x78e4, 0xa084, 0x0007, 0xa086, 0x0001, 0x00c0, |
1716 | 0x4419, 0x78c0, 0xa685, 0x4800, 0x2030, 0x7e5a, 0x781b, 0x00f9, | 1726 | 0x4469, 0x78c0, 0xa685, 0x4800, 0x2030, 0x7e5a, 0x781b, 0x00f9, |
1717 | 0x007c, 0x784b, 0x0008, 0x6818, 0xd0fc, 0x0040, 0x4416, 0x681b, | 1727 | 0x007c, 0x784b, 0x0008, 0x6818, 0xd0fc, 0x0040, 0x4466, 0x681b, |
1718 | 0x0015, 0xd6f4, 0x0040, 0x4416, 0x681b, 0x0007, 0x1078, 0x4319, | 1728 | 0x0015, 0xd6f4, 0x0040, 0x4466, 0x681b, 0x0007, 0x1078, 0x4369, |
1719 | 0x007c, 0x681b, 0x0003, 0x7858, 0xa084, 0x3f00, 0x681e, 0x682f, | 1729 | 0x007c, 0x681b, 0x0003, 0x7858, 0xa084, 0x3f00, 0x681e, 0x682f, |
1720 | 0x0000, 0x6833, 0x0000, 0x784b, 0x0008, 0x78ec, 0xa084, 0x0003, | 1730 | 0x0000, 0x6833, 0x0000, 0x784b, 0x0008, 0x78ec, 0xa084, 0x0003, |
1721 | 0x0040, 0x3066, 0x007e, 0x2001, 0x4e04, 0x2004, 0xd0ec, 0x007f, | 1731 | 0x0040, 0x30af, 0x007e, 0x2001, 0x4f04, 0x2004, 0xd0ec, 0x007f, |
1722 | 0x0040, 0x4436, 0xb284, 0x0300, 0x0078, 0x4438, 0xb284, 0x0400, | 1732 | 0x0040, 0x4486, 0xb284, 0x0300, 0x0078, 0x4488, 0xb284, 0x0400, |
1723 | 0x0040, 0x443e, 0x0018, 0x29c1, 0x0078, 0x4440, 0x0028, 0x29c1, | 1733 | 0x0040, 0x448e, 0x0018, 0x2a08, 0x0078, 0x4490, 0x0028, 0x2a08, |
1724 | 0x0078, 0x40bc, 0x6b14, 0x8307, 0xa084, 0x000f, 0x8003, 0x8003, | 1734 | 0x0078, 0x410c, 0x6b14, 0x8307, 0xa084, 0x000f, 0x8003, 0x8003, |
1725 | 0x8003, 0xd3fc, 0x0040, 0x4450, 0xa080, 0x5340, 0x0078, 0x4452, | 1735 | 0x8003, 0xd3fc, 0x0040, 0x44a0, 0xa080, 0x5440, 0x0078, 0x44a2, |
1726 | 0xa080, 0x52c0, 0x2060, 0x2048, 0x705a, 0x2a60, 0x007c, 0x0020, | 1736 | 0xa080, 0x53c0, 0x2060, 0x2048, 0x705a, 0x2a60, 0x007c, 0x0020, |
1727 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | 1737 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, |
1728 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | 1738 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, |
1729 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, | 1739 | 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, 0x0020, 0x0000, |
@@ -1763,255 +1773,276 @@ static unsigned short risc_code01[] = { | |||
1763 | 0x0016, 0x7944, 0x8421, 0xa020, 0xa532, 0x84a1, 0x0016, 0x7944, | 1773 | 0x0016, 0x7944, 0x8421, 0xa020, 0xa532, 0x84a1, 0x0016, 0x7944, |
1764 | 0x8421, 0xa0df, 0x9532, 0x84a1, 0x0016, 0x0000, 0x127e, 0x70d4, | 1774 | 0x8421, 0xa0df, 0x9532, 0x84a1, 0x0016, 0x0000, 0x127e, 0x70d4, |
1765 | 0xa084, 0x4600, 0x8004, 0x2090, 0x7204, 0x7008, 0xc09c, 0xa205, | 1775 | 0xa084, 0x4600, 0x8004, 0x2090, 0x7204, 0x7008, 0xc09c, 0xa205, |
1766 | 0x00c0, 0x45a2, 0x720c, 0x82ff, 0x0040, 0x459d, 0x8aff, 0x00c0, | 1776 | 0x00c0, 0x4602, 0x720c, 0x82ff, 0x0040, 0x45ed, 0x8aff, 0x00c0, |
1767 | 0x45a2, 0x7200, 0xd284, 0x00c0, 0x45a2, 0x7003, 0x0008, 0x127f, | 1777 | 0x4602, 0x7200, 0xd284, 0x00c0, 0x4602, 0x7804, 0xd0cc, 0x0040, |
1778 | 0x45f3, 0x1078, 0x4acc, 0x7023, 0x0000, 0x7027, 0x0000, 0x7000, | ||
1779 | 0xd084, 0x0040, 0x45fd, 0x7007, 0x0004, 0x7003, 0x0008, 0x127f, | ||
1768 | 0x2000, 0x007c, 0x7000, 0xa084, 0x0003, 0x7002, 0xc69c, 0xd084, | 1780 | 0x2000, 0x007c, 0x7000, 0xa084, 0x0003, 0x7002, 0xc69c, 0xd084, |
1769 | 0x0040, 0x45e5, 0x7108, 0x0005, 0x7008, 0xa106, 0x00c0, 0x45aa, | 1781 | 0x0040, 0x465b, 0x7108, 0x0005, 0x7008, 0xa106, 0x00c0, 0x460a, |
1770 | 0xa184, 0x0003, 0x0040, 0x4616, 0xa184, 0x01e0, 0x00c0, 0x4616, | 1782 | 0xa184, 0x0003, 0x0040, 0x468c, 0xa184, 0x01e0, 0x00c0, 0x468c, |
1771 | 0xd1f4, 0x00c0, 0x45aa, 0xa184, 0x3000, 0xa086, 0x1000, 0x0040, | 1783 | 0xd1f4, 0x00c0, 0x460a, 0xa184, 0x3000, 0xa086, 0x1000, 0x0040, |
1772 | 0x45aa, 0x2011, 0x0180, 0x710c, 0x8211, 0x0040, 0x45cf, 0x7008, | 1784 | 0x460a, 0x2001, 0x4f05, 0x2004, 0xd0e4, 0x0040, 0x4637, 0x2011, |
1773 | 0xd0f4, 0x00c0, 0x45aa, 0x700c, 0xa106, 0x0040, 0x45c4, 0x7007, | 1785 | 0x0180, 0x710c, 0x8211, 0x0040, 0x4645, 0x7008, 0xd0f4, 0x00c0, |
1774 | 0x0012, 0x7108, 0x0005, 0x7008, 0xa106, 0x00c0, 0x45d1, 0xa184, | 1786 | 0x460a, 0x700c, 0xa106, 0x0040, 0x462a, 0x0078, 0x4627, 0x2011, |
1775 | 0x0003, 0x0040, 0x4616, 0xd194, 0x0040, 0x45d1, 0xd1f4, 0x0040, | 1787 | 0x0180, 0x710c, 0x8211, 0x0040, 0x4645, 0x7008, 0xd0f4, 0x00c0, |
1776 | 0x4616, 0x7007, 0x0002, 0x0078, 0x45aa, 0x7108, 0xd1fc, 0x0040, | 1788 | 0x460a, 0x700c, 0xa106, 0x0040, 0x463a, 0x7007, 0x0012, 0x7108, |
1777 | 0x45f0, 0x1078, 0x4769, 0x8aff, 0x0040, 0x458c, 0x0078, 0x45e5, | 1789 | 0x0005, 0x7008, 0xa106, 0x00c0, 0x4647, 0xa184, 0x0003, 0x0040, |
1778 | 0x700c, 0xa08c, 0x03ff, 0x0040, 0x461b, 0x7004, 0xd084, 0x0040, | 1790 | 0x468c, 0xd194, 0x0040, 0x4647, 0xd1f4, 0x0040, 0x468c, 0x7007, |
1779 | 0x460d, 0x7014, 0xa005, 0x00c0, 0x4609, 0x7010, 0x7310, 0xa306, | 1791 | 0x0002, 0x0078, 0x460a, 0x7108, 0xd1fc, 0x0040, 0x4666, 0x1078, |
1780 | 0x00c0, 0x45fd, 0x2300, 0xa005, 0x0040, 0x460d, 0xa102, 0x00c8, | 1792 | 0x47ed, 0x8aff, 0x0040, 0x45dc, 0x0078, 0x465b, 0x700c, 0xa08c, |
1781 | 0x45e5, 0x7007, 0x0010, 0x0078, 0x4616, 0x8aff, 0x0040, 0x461b, | 1793 | 0x03ff, 0x0040, 0x4691, 0x7004, 0xd084, 0x0040, 0x4683, 0x7014, |
1782 | 0x1078, 0x4970, 0x00c0, 0x4610, 0x0040, 0x45e5, 0x1078, 0x46b4, | 1794 | 0xa005, 0x00c0, 0x467f, 0x7010, 0x7310, 0xa306, 0x00c0, 0x4673, |
1783 | 0x127f, 0x2000, 0x007c, 0x7204, 0x7108, 0xc19c, 0x8103, 0x00c8, | 1795 | 0x2300, 0xa005, 0x0040, 0x4683, 0xa102, 0x00c8, 0x465b, 0x7007, |
1784 | 0x462a, 0x7007, 0x0002, 0x0078, 0x461b, 0x7003, 0x0008, 0x127f, | 1796 | 0x0010, 0x0078, 0x468c, 0x8aff, 0x0040, 0x4691, 0x1078, 0x49f2, |
1785 | 0x2000, 0x007c, 0xa205, 0x00c0, 0x4616, 0x7003, 0x0008, 0x127f, | 1797 | 0x00c0, 0x4686, 0x0040, 0x465b, 0x1078, 0x4738, 0x127f, 0x2000, |
1786 | 0x2000, 0x007c, 0x6428, 0x84ff, 0x0040, 0x465e, 0x2c70, 0x7004, | 1798 | 0x007c, 0x7204, 0x7108, 0xc19c, 0x8103, 0x00c8, 0x46a0, 0x7007, |
1787 | 0xa0bc, 0x000f, 0xa7b8, 0x466e, 0x273c, 0x87fb, 0x00c0, 0x464c, | 1799 | 0x0002, 0x0078, 0x4691, 0x7003, 0x0008, 0x127f, 0x2000, 0x007c, |
1788 | 0x0048, 0x4644, 0x1078, 0x296b, 0x609c, 0xa075, 0x0040, 0x465e, | 1800 | 0xa205, 0x00c0, 0x468c, 0x7023, 0x0000, 0x7027, 0x0000, 0x7003, |
1789 | 0x0078, 0x4637, 0x2039, 0x4663, 0x2704, 0xae68, 0x6808, 0xa630, | 1801 | 0x0008, 0x007e, 0x2001, 0x4f01, 0x2004, 0xd0cc, 0x0040, 0x46b2, |
1790 | 0x680c, 0xa529, 0x8421, 0x0040, 0x465e, 0x8738, 0x2704, 0xa005, | 1802 | 0x1078, 0x4acc, 0x007f, 0x127f, 0x2000, 0x007c, 0x6428, 0x84ff, |
1791 | 0x00c0, 0x464d, 0x709c, 0xa075, 0x00c0, 0x4637, 0x007c, 0x0000, | 1803 | 0x0040, 0x46e2, 0x2c70, 0x7004, 0xa0bc, 0x000f, 0xa7b8, 0x46f2, |
1792 | 0x0005, 0x0009, 0x000d, 0x0011, 0x0015, 0x0019, 0x001d, 0x0000, | 1804 | 0x273c, 0x87fb, 0x00c0, 0x46d0, 0x0048, 0x46c8, 0x1078, 0x29b2, |
1793 | 0x0003, 0x0009, 0x000f, 0x0015, 0x001b, 0x0000, 0x0000, 0x4663, | 1805 | 0x609c, 0xa075, 0x0040, 0x46e2, 0x0078, 0x46bb, 0x2039, 0x46e7, |
1794 | 0x4660, 0x0000, 0x0000, 0x8000, 0x0000, 0x4663, 0x0000, 0x466b, | 1806 | 0x2704, 0xae68, 0x6808, 0xa630, 0x680c, 0xa529, 0x8421, 0x0040, |
1795 | 0x4668, 0x0000, 0x0000, 0x0000, 0x0000, 0x466b, 0x0000, 0x4666, | 1807 | 0x46e2, 0x8738, 0x2704, 0xa005, 0x00c0, 0x46d1, 0x709c, 0xa075, |
1796 | 0x4666, 0x0000, 0x0000, 0x8000, 0x0000, 0x4666, 0x0000, 0x466c, | 1808 | 0x00c0, 0x46bb, 0x007c, 0x0000, 0x0005, 0x0009, 0x000d, 0x0011, |
1797 | 0x466c, 0x0000, 0x0000, 0x0000, 0x0000, 0x466c, 0x2079, 0x4e00, | 1809 | 0x0015, 0x0019, 0x001d, 0x0000, 0x0003, 0x0009, 0x000f, 0x0015, |
1798 | 0x2071, 0x0010, 0x7007, 0x000a, 0x7007, 0x0002, 0x7003, 0x0001, | 1810 | 0x001b, 0x0000, 0x0000, 0x46e7, 0x46e4, 0x0000, 0x0000, 0x8000, |
1799 | 0x7810, 0xd0ec, 0x0040, 0x46a2, 0x2009, 0x0001, 0x2071, 0x0020, | 1811 | 0x0000, 0x46e7, 0x0000, 0x46ef, 0x46ec, 0x0000, 0x0000, 0x0000, |
1800 | 0x0078, 0x46a6, 0x2009, 0x0002, 0x2071, 0x0050, 0x7007, 0x000a, | 1812 | 0x0000, 0x46ef, 0x0000, 0x46ea, 0x46ea, 0x0000, 0x0000, 0x8000, |
1801 | 0x7007, 0x0002, 0x7003, 0x0000, 0x8109, 0x0040, 0x46b3, 0x2071, | 1813 | 0x0000, 0x46ea, 0x0000, 0x46f0, 0x46f0, 0x0000, 0x0000, 0x0000, |
1802 | 0x0020, 0x0078, 0x46a6, 0x007c, 0x7004, 0x8004, 0x00c8, 0x473d, | 1814 | 0x0000, 0x46f0, 0x2079, 0x4f00, 0x2071, 0x0010, 0x7007, 0x000a, |
1803 | 0x7108, 0x7008, 0xa106, 0x00c0, 0x46b8, 0xa184, 0x01e0, 0x0040, | 1815 | 0x7007, 0x0002, 0x7003, 0x0001, 0x7810, 0xd0ec, 0x0040, 0x4726, |
1804 | 0x46c5, 0x1078, 0x47ac, 0x0078, 0x4765, 0x7007, 0x0012, 0x2019, | 1816 | 0x2009, 0x0001, 0x2071, 0x0020, 0x0078, 0x472a, 0x2009, 0x0002, |
1805 | 0x0000, 0x7108, 0x7008, 0xa106, 0x00c0, 0x46c9, 0xa184, 0x01e0, | 1817 | 0x2071, 0x0050, 0x7007, 0x000a, 0x7007, 0x0002, 0x7003, 0x0000, |
1806 | 0x0040, 0x46d6, 0x1078, 0x47ac, 0x0078, 0x4765, 0x7810, 0xd0ec, | 1818 | 0x8109, 0x0040, 0x4737, 0x2071, 0x0020, 0x0078, 0x472a, 0x007c, |
1807 | 0x0040, 0x46f0, 0x2001, 0x04fd, 0x2004, 0xa086, 0x0003, 0x00c0, | 1819 | 0x7004, 0x8004, 0x00c8, 0x47c1, 0x7108, 0x7008, 0xa106, 0x00c0, |
1808 | 0x46f4, 0xa184, 0x4000, 0x0040, 0x46f8, 0xa382, 0x0003, 0x00c8, | 1820 | 0x473c, 0xa184, 0x01e0, 0x0040, 0x4749, 0x1078, 0x4830, 0x0078, |
1809 | 0x46f8, 0xa184, 0x0004, 0x0040, 0x46c9, 0x8318, 0x0078, 0x46c9, | 1821 | 0x47e9, 0x7007, 0x0012, 0x2019, 0x0000, 0x7108, 0x7008, 0xa106, |
1810 | 0x7814, 0xd0ec, 0x00c0, 0x46f8, 0xa184, 0x4000, 0x00c0, 0x46c9, | 1822 | 0x00c0, 0x474d, 0xa184, 0x01e0, 0x0040, 0x475a, 0x1078, 0x4830, |
1811 | 0xa19c, 0x300c, 0xa386, 0x2004, 0x0040, 0x4715, 0xa386, 0x0008, | 1823 | 0x0078, 0x47e9, 0x7810, 0xd0ec, 0x0040, 0x4774, 0x2001, 0x04fd, |
1812 | 0x0040, 0x4720, 0x7004, 0xd084, 0x00c0, 0x4711, 0x7108, 0x7008, | 1824 | 0x2004, 0xa086, 0x0003, 0x00c0, 0x4778, 0xa184, 0x4000, 0x0040, |
1813 | 0xa106, 0x00c0, 0x4706, 0xa184, 0x0003, 0x0040, 0x4711, 0x0078, | 1825 | 0x477c, 0xa382, 0x0003, 0x00c8, 0x477c, 0xa184, 0x0004, 0x0040, |
1814 | 0x47ac, 0xa386, 0x200c, 0x00c0, 0x46c9, 0x7200, 0x8204, 0x0048, | 1826 | 0x474d, 0x8318, 0x0078, 0x474d, 0x7814, 0xd0ec, 0x00c0, 0x477c, |
1815 | 0x4720, 0x730c, 0xa384, 0x03ff, 0x0040, 0x4720, 0x1078, 0x296b, | 1827 | 0xa184, 0x4000, 0x00c0, 0x474d, 0xa19c, 0x300c, 0xa386, 0x2004, |
1816 | 0x7108, 0x7008, 0xa106, 0x00c0, 0x4720, 0xa184, 0x01e0, 0x0040, | 1828 | 0x0040, 0x4799, 0xa386, 0x0008, 0x0040, 0x47a4, 0x7004, 0xd084, |
1817 | 0x472d, 0x1078, 0x47ac, 0x0078, 0x4765, 0x7007, 0x0012, 0x7000, | 1829 | 0x00c0, 0x4795, 0x7108, 0x7008, 0xa106, 0x00c0, 0x478a, 0xa184, |
1818 | 0xd084, 0x00c0, 0x473d, 0x7310, 0x7014, 0xa305, 0x0040, 0x473d, | 1830 | 0x0003, 0x0040, 0x4795, 0x0078, 0x4830, 0xa386, 0x200c, 0x00c0, |
1819 | 0x710c, 0xa184, 0x03ff, 0x00c0, 0x46b4, 0x7108, 0x7008, 0xa106, | 1831 | 0x474d, 0x7200, 0x8204, 0x0048, 0x47a4, 0x730c, 0xa384, 0x03ff, |
1820 | 0x00c0, 0x473d, 0xa184, 0x01e0, 0x0040, 0x474a, 0x1078, 0x47ac, | 1832 | 0x0040, 0x47a4, 0x1078, 0x29b2, 0x7108, 0x7008, 0xa106, 0x00c0, |
1821 | 0x0078, 0x4765, 0x7007, 0x0012, 0x7007, 0x0008, 0x7004, 0xd09c, | 1833 | 0x47a4, 0xa184, 0x01e0, 0x0040, 0x47b1, 0x1078, 0x4830, 0x0078, |
1822 | 0x00c0, 0x474e, 0x7108, 0x7008, 0xa106, 0x00c0, 0x4752, 0xa184, | 1834 | 0x47e9, 0x7007, 0x0012, 0x7000, 0xd084, 0x00c0, 0x47c1, 0x7310, |
1823 | 0x01e0, 0x0040, 0x475f, 0x1078, 0x47ac, 0x0078, 0x4765, 0x7007, | 1835 | 0x7014, 0xa305, 0x0040, 0x47c1, 0x710c, 0xa184, 0x03ff, 0x00c0, |
1824 | 0x0012, 0x7108, 0x8103, 0x0048, 0x4752, 0x7003, 0x0008, 0x007c, | 1836 | 0x4738, 0x7108, 0x7008, 0xa106, 0x00c0, 0x47c1, 0xa184, 0x01e0, |
1825 | 0x7108, 0xa184, 0x01e0, 0x00c0, 0x47ac, 0x7108, 0xa184, 0x01e0, | 1837 | 0x0040, 0x47ce, 0x1078, 0x4830, 0x0078, 0x47e9, 0x7007, 0x0012, |
1826 | 0x00c0, 0x47ac, 0xa184, 0x0007, 0x0079, 0x4776, 0x4780, 0x4790, | 1838 | 0x7007, 0x0008, 0x7004, 0xd09c, 0x00c0, 0x47d2, 0x7108, 0x7008, |
1827 | 0x477e, 0x4790, 0x477e, 0x47ee, 0x477e, 0x47ec, 0x1078, 0x296b, | 1839 | 0xa106, 0x00c0, 0x47d6, 0xa184, 0x01e0, 0x0040, 0x47e3, 0x1078, |
1828 | 0x7004, 0xa084, 0x0010, 0xc08d, 0x7006, 0x8aff, 0x00c0, 0x478b, | 1840 | 0x4830, 0x0078, 0x47e9, 0x7007, 0x0012, 0x7108, 0x8103, 0x0048, |
1829 | 0x2049, 0x0000, 0x007c, 0x1078, 0x4970, 0x00c0, 0x478b, 0x007c, | 1841 | 0x47d6, 0x7003, 0x0008, 0x007c, 0x7108, 0xa184, 0x01e0, 0x00c0, |
1830 | 0x7004, 0xa084, 0x0010, 0xc08d, 0x7006, 0x7004, 0xd084, 0x00c0, | 1842 | 0x4830, 0x7108, 0xa184, 0x01e0, 0x00c0, 0x4830, 0xa184, 0x0007, |
1831 | 0x47a4, 0x7108, 0x7008, 0xa106, 0x00c0, 0x4799, 0xa184, 0x0003, | 1843 | 0x0079, 0x47fa, 0x4804, 0x4814, 0x4802, 0x4814, 0x4802, 0x4872, |
1832 | 0x0040, 0x47a4, 0x0078, 0x47ac, 0x8aff, 0x0040, 0x47ab, 0x1078, | 1844 | 0x4802, 0x4870, 0x1078, 0x29b2, 0x7004, 0xa084, 0x0010, 0xc08d, |
1833 | 0x4970, 0x00c0, 0x47a7, 0x007c, 0x7007, 0x0012, 0x7108, 0x00e0, | 1845 | 0x7006, 0x8aff, 0x00c0, 0x480f, 0x2049, 0x0000, 0x007c, 0x1078, |
1834 | 0x47af, 0x2091, 0x6000, 0x00e0, 0x47b3, 0x2091, 0x6000, 0x7007, | 1846 | 0x49f2, 0x00c0, 0x480f, 0x007c, 0x7004, 0xa084, 0x0010, 0xc08d, |
1835 | 0x0012, 0x7007, 0x0008, 0x7004, 0xd09c, 0x00c0, 0x47bb, 0x7007, | 1847 | 0x7006, 0x7004, 0xd084, 0x00c0, 0x4828, 0x7108, 0x7008, 0xa106, |
1836 | 0x0012, 0x7108, 0xd1fc, 0x00c0, 0x47bf, 0x7003, 0x0000, 0x7000, | 1848 | 0x00c0, 0x481d, 0xa184, 0x0003, 0x0040, 0x4828, 0x0078, 0x4830, |
1837 | 0xa005, 0x00c0, 0x47d3, 0x7004, 0xa005, 0x00c0, 0x47d3, 0x700c, | 1849 | 0x8aff, 0x0040, 0x482f, 0x1078, 0x49f2, 0x00c0, 0x482b, 0x007c, |
1838 | 0xa005, 0x0040, 0x47d5, 0x0078, 0x47b7, 0x2049, 0x0000, 0xb284, | 1850 | 0x7007, 0x0012, 0x7108, 0x00e0, 0x4833, 0x2091, 0x6000, 0x00e0, |
1839 | 0x0100, 0x0040, 0x47df, 0x2001, 0x0000, 0x0078, 0x47e1, 0x2001, | 1851 | 0x4837, 0x2091, 0x6000, 0x7007, 0x0012, 0x7007, 0x0008, 0x7004, |
1840 | 0x0001, 0x1078, 0x4212, 0x681b, 0x0002, 0x2051, 0x0000, 0x007c, | 1852 | 0xd09c, 0x00c0, 0x483f, 0x7007, 0x0012, 0x7108, 0xd1fc, 0x00c0, |
1841 | 0x1078, 0x296b, 0x1078, 0x296b, 0x1078, 0x4836, 0x7210, 0x7114, | 1853 | 0x4843, 0x7003, 0x0000, 0x7000, 0xa005, 0x00c0, 0x4857, 0x7004, |
1842 | 0x700c, 0xa09c, 0x03ff, 0x2800, 0xa300, 0xa211, 0xa189, 0x0000, | 1854 | 0xa005, 0x00c0, 0x4857, 0x700c, 0xa005, 0x0040, 0x4859, 0x0078, |
1843 | 0x1078, 0x4836, 0x2704, 0x2c58, 0xac60, 0x6308, 0x2200, 0xa322, | 1855 | 0x483b, 0x2049, 0x0000, 0xb284, 0x0100, 0x0040, 0x4863, 0x2001, |
1844 | 0x630c, 0x2100, 0xa31b, 0x2400, 0xa305, 0x0040, 0x4811, 0x00c8, | 1856 | 0x0000, 0x0078, 0x4865, 0x2001, 0x0001, 0x1078, 0x4262, 0x681b, |
1845 | 0x4811, 0x8412, 0x8210, 0x830a, 0xa189, 0x0000, 0x2b60, 0x0078, | 1857 | 0x0002, 0x2051, 0x0000, 0x007c, 0x1078, 0x29b2, 0x1078, 0x29b2, |
1846 | 0x47f8, 0x2b60, 0x8a07, 0x007e, 0x6004, 0xa084, 0x0008, 0x0040, | 1858 | 0x1078, 0x48b9, 0x7210, 0x7114, 0x700c, 0xa09c, 0x03ff, 0x2800, |
1847 | 0x481d, 0xa7ba, 0x4668, 0x0078, 0x481f, 0xa7ba, 0x4660, 0x007f, | 1859 | 0xa300, 0xa211, 0xa189, 0x0000, 0x1078, 0x48b9, 0x2704, 0x2c58, |
1848 | 0xa73d, 0x2c00, 0x6886, 0x6f8a, 0x6c92, 0x6b8e, 0x7108, 0x7008, | 1860 | 0xac60, 0x6308, 0x2200, 0xa322, 0x630c, 0x2100, 0xa31b, 0x2400, |
1849 | 0xa106, 0x00c0, 0x4826, 0xa184, 0x01e0, 0x0040, 0x4831, 0x1078, | 1861 | 0xa305, 0x0040, 0x4895, 0x00c8, 0x4895, 0x8412, 0x8210, 0x830a, |
1850 | 0x47ac, 0x7007, 0x0012, 0x1078, 0x46b4, 0x007c, 0x8a50, 0x8739, | 1862 | 0xa189, 0x0000, 0x2b60, 0x0078, 0x487c, 0x2b60, 0x8a07, 0x007e, |
1851 | 0x2704, 0xa004, 0x00c0, 0x484a, 0x6000, 0xa064, 0x00c0, 0x4841, | 1863 | 0x6004, 0xd09c, 0x0040, 0x48a0, 0xa7ba, 0x46ec, 0x0078, 0x48a2, |
1852 | 0x2d60, 0x6004, 0xa084, 0x000f, 0xa080, 0x467e, 0x203c, 0x87fb, | 1864 | 0xa7ba, 0x46e4, 0x007f, 0xa73d, 0x2c00, 0x6886, 0x6f8a, 0x6c92, |
1853 | 0x1040, 0x296b, 0x007c, 0x127e, 0x0d7e, 0x70d4, 0xa084, 0x4600, | 1865 | 0x6b8e, 0x7108, 0x7008, 0xa106, 0x00c0, 0x48a9, 0xa184, 0x01e0, |
1854 | 0x8004, 0x2090, 0x0d7f, 0x6884, 0x2060, 0x6888, 0x6b8c, 0x6c90, | 1866 | 0x0040, 0x48b4, 0x1078, 0x4830, 0x7007, 0x0012, 0x1078, 0x4738, |
1855 | 0x8057, 0xaad4, 0x00ff, 0xa084, 0x00ff, 0x007e, 0x6804, 0xa084, | 1867 | 0x007c, 0x8a50, 0x8739, 0x2704, 0xa004, 0x00c0, 0x48cd, 0x6000, |
1856 | 0x0008, 0x007f, 0x0040, 0x4868, 0xa0b8, 0x4668, 0x0078, 0x486a, | 1868 | 0xa064, 0x00c0, 0x48c4, 0x2d60, 0x6004, 0xa084, 0x000f, 0xa080, |
1857 | 0xa0b8, 0x4660, 0xb284, 0x0100, 0x0040, 0x4871, 0x7e20, 0x0078, | 1869 | 0x4702, 0x203c, 0x87fb, 0x1040, 0x29b2, 0x007c, 0x127e, 0x0d7e, |
1858 | 0x4872, 0x7e24, 0xa6b5, 0x000c, 0x681c, 0xd0b4, 0x0040, 0x4879, | 1870 | 0x70d4, 0xa084, 0x4600, 0x8004, 0x2090, 0x0d7f, 0x6884, 0x2060, |
1859 | 0xc685, 0x2400, 0xa305, 0x0040, 0x48a3, 0x2c58, 0x2704, 0x6104, | 1871 | 0x6888, 0x6b8c, 0x6c90, 0x8057, 0xaad4, 0x00ff, 0xa084, 0x00ff, |
1860 | 0xac60, 0x6000, 0xa400, 0x701a, 0x6004, 0xa301, 0x701e, 0xa184, | 1872 | 0x007e, 0x6804, 0xa084, 0x0008, 0x007f, 0x0040, 0x48eb, 0xa0b8, |
1861 | 0x0008, 0x0040, 0x4893, 0x6010, 0xa081, 0x0000, 0x7022, 0x6014, | 1873 | 0x46ec, 0x0078, 0x48ed, 0xa0b8, 0x46e4, 0xb284, 0x0100, 0x0040, |
1862 | 0xa081, 0x0000, 0x7026, 0x6208, 0x2400, 0xa202, 0x7012, 0x620c, | 1874 | 0x48f4, 0x7e20, 0x0078, 0x48f5, 0x7e24, 0xa6b5, 0x000c, 0x681c, |
1863 | 0x2300, 0xa203, 0x7016, 0x7602, 0x7007, 0x0001, 0x2b60, 0x1078, | 1875 | 0xd0b4, 0x0040, 0x48fc, 0xc685, 0x2400, 0xa305, 0x0040, 0x4925, |
1864 | 0x499b, 0x0078, 0x48a5, 0x1078, 0x4970, 0x00c0, 0x48a3, 0x127f, | 1876 | 0x2c58, 0x2704, 0x6104, 0xac60, 0x6000, 0xa400, 0x701a, 0x6004, |
1865 | 0x2000, 0x007c, 0x127e, 0x0d7e, 0x70d4, 0xa084, 0x4600, 0x8004, | 1877 | 0xa301, 0x701e, 0xd19c, 0x0040, 0x4915, 0x6010, 0xa081, 0x0000, |
1866 | 0x2090, 0x0d7f, 0x7007, 0x0004, 0x7004, 0xd094, 0x00c0, 0x48b4, | 1878 | 0x7022, 0x6014, 0xa081, 0x0000, 0x7026, 0x6208, 0x2400, 0xa202, |
1867 | 0x7003, 0x0008, 0x127f, 0x2000, 0x007c, 0x127e, 0x0d7e, 0x70d4, | 1879 | 0x7012, 0x620c, 0x2300, 0xa203, 0x7016, 0x7602, 0x7007, 0x0001, |
1868 | 0xa084, 0x4600, 0x8004, 0x007e, 0x2090, 0x007f, 0x0d7f, 0x7e20, | 1880 | 0x2b60, 0x1078, 0x4a1c, 0x0078, 0x4927, 0x1078, 0x49f2, 0x00c0, |
1869 | 0xb284, 0x0100, 0x00c0, 0x48cd, 0x7e24, 0xa6b5, 0x000c, 0x681c, | 1881 | 0x4925, 0x127f, 0x2000, 0x007c, 0x127e, 0x0d7e, 0x70d4, 0xa084, |
1870 | 0xd0ac, 0x00c0, 0x48d8, 0xc685, 0x7003, 0x0000, 0x7007, 0x0004, | 1882 | 0x4600, 0x8004, 0x2090, 0x0d7f, 0x7007, 0x0004, 0x7004, 0xd094, |
1871 | 0x6828, 0x2050, 0x2d60, 0x6004, 0xa0bc, 0x000f, 0xa7b8, 0x466e, | 1883 | 0x00c0, 0x4936, 0x7003, 0x0008, 0x127f, 0x2000, 0x007c, 0x127e, |
1872 | 0x273c, 0x87fb, 0x00c0, 0x48ee, 0x0048, 0x48e8, 0x1078, 0x296b, | ||
1873 | 0x689c, 0xa065, 0x0040, 0x48f2, 0x0078, 0x48db, 0x1078, 0x4970, | ||
1874 | 0x00c0, 0x48ee, 0x127f, 0x2000, 0x007c, 0x127e, 0x007e, 0x017e, | ||
1875 | 0x0d7e, 0x70d4, 0xa084, 0x4600, 0x8004, 0x007e, 0x2090, 0x007f, | 1884 | 0x0d7e, 0x70d4, 0xa084, 0x4600, 0x8004, 0x007e, 0x2090, 0x007f, |
1876 | 0x7e20, 0xb284, 0x0100, 0x00c0, 0x4906, 0x7e24, 0x0d7f, 0x037f, | 1885 | 0x0d7f, 0x7e20, 0xb284, 0x0100, 0x00c0, 0x494f, 0x7e24, 0xa6b5, |
1877 | 0x047f, 0xa6b5, 0x000c, 0x681c, 0xd0b4, 0x0040, 0x4914, 0xc685, | 1886 | 0x000c, 0x681c, 0xd0ac, 0x00c0, 0x495a, 0xc685, 0x7003, 0x0000, |
1878 | 0x7003, 0x0000, 0x7007, 0x0004, 0x2049, 0x48f5, 0x6828, 0xa055, | 1887 | 0x7007, 0x0004, 0x6828, 0x2050, 0x2d60, 0x6004, 0xa0bc, 0x000f, |
1879 | 0x0d7e, 0x0040, 0x496c, 0x2d70, 0x2e60, 0x7004, 0xa0bc, 0x000f, | 1888 | 0xa7b8, 0x46f2, 0x273c, 0x87fb, 0x00c0, 0x4970, 0x0048, 0x496a, |
1880 | 0xa7b8, 0x466e, 0x273c, 0x87fb, 0x00c0, 0x4931, 0x0048, 0x492a, | 1889 | 0x1078, 0x29b2, 0x689c, 0xa065, 0x0040, 0x4974, 0x0078, 0x495d, |
1881 | 0x1078, 0x296b, 0x709c, 0xa075, 0x2060, 0x0040, 0x496c, 0x0078, | 1890 | 0x1078, 0x49f2, 0x00c0, 0x4970, 0x127f, 0x2000, 0x007c, 0x127e, |
1882 | 0x491d, 0x2704, 0xae68, 0x6808, 0xa422, 0x680c, 0xa31b, 0x0048, | 1891 | 0x007e, 0x017e, 0x0d7e, 0x70d4, 0xa084, 0x4600, 0x8004, 0x007e, |
1883 | 0x494a, 0x8a51, 0x00c0, 0x493e, 0x1078, 0x296b, 0x8738, 0x2704, | 1892 | 0x2090, 0x007f, 0x7e20, 0xb284, 0x0100, 0x00c0, 0x4988, 0x7e24, |
1884 | 0xa005, 0x00c0, 0x4932, 0x709c, 0xa075, 0x2060, 0x0040, 0x496c, | 1893 | 0x0d7f, 0x037f, 0x047f, 0xa6b5, 0x000c, 0x681c, 0xd0b4, 0x0040, |
1885 | 0x0078, 0x491d, 0x8422, 0x8420, 0x831a, 0xa399, 0x0000, 0x6908, | 1894 | 0x4996, 0xc685, 0x7003, 0x0000, 0x7007, 0x0004, 0x2049, 0x4977, |
1886 | 0x2400, 0xa122, 0x690c, 0x2300, 0xa11b, 0x00c8, 0x4959, 0x1078, | 1895 | 0x6828, 0xa055, 0x0d7e, 0x0040, 0x49ee, 0x2d70, 0x2e60, 0x7004, |
1887 | 0x296b, 0xb284, 0x0100, 0x0040, 0x4967, 0x2001, 0x4e04, 0x2004, | 1896 | 0xa0bc, 0x000f, 0xa7b8, 0x46f2, 0x273c, 0x87fb, 0x00c0, 0x49b3, |
1888 | 0xd0ec, 0x00c0, 0x4967, 0x2071, 0x0050, 0x0078, 0x4969, 0x2071, | 1897 | 0x0048, 0x49ac, 0x1078, 0x29b2, 0x709c, 0xa075, 0x2060, 0x0040, |
1889 | 0x0020, 0x0d7f, 0x0078, 0x4879, 0x0d7f, 0x127f, 0x2000, 0x007c, | 1898 | 0x49ee, 0x0078, 0x499f, 0x2704, 0xae68, 0x6808, 0xa422, 0x680c, |
1890 | 0x7008, 0x007e, 0xa084, 0x01e0, 0x007f, 0x0040, 0x4979, 0xa006, | 1899 | 0xa31b, 0x0048, 0x49cc, 0x8a51, 0x00c0, 0x49c0, 0x1078, 0x29b2, |
1891 | 0x007c, 0xa084, 0x0003, 0xa086, 0x0003, 0x00c0, 0x4980, 0x007c, | 1900 | 0x8738, 0x2704, 0xa005, 0x00c0, 0x49b4, 0x709c, 0xa075, 0x2060, |
1892 | 0x2704, 0xac78, 0x7800, 0x701a, 0x7804, 0x701e, 0x7808, 0x7012, | 1901 | 0x0040, 0x49ee, 0x0078, 0x499f, 0x8422, 0x8420, 0x831a, 0xa399, |
1893 | 0x780c, 0x7016, 0x6004, 0xa084, 0x0008, 0x0040, 0x4993, 0x7810, | 1902 | 0x0000, 0x6908, 0x2400, 0xa122, 0x690c, 0x2300, 0xa11b, 0x00c8, |
1894 | 0x7022, 0x7814, 0x7026, 0x7602, 0x7004, 0xa084, 0x0010, 0xc085, | 1903 | 0x49db, 0x1078, 0x29b2, 0xb284, 0x0100, 0x0040, 0x49e9, 0x2001, |
1895 | 0x7006, 0x2079, 0x4e00, 0x8a51, 0x0040, 0x49bf, 0x8738, 0x2704, | 1904 | 0x4f04, 0x2004, 0xd0ec, 0x00c0, 0x49e9, 0x2071, 0x0050, 0x0078, |
1896 | 0xa005, 0x00c0, 0x49b1, 0x609c, 0xa005, 0x0040, 0x49c0, 0x2060, | 1905 | 0x49eb, 0x2071, 0x0020, 0x0d7f, 0x0078, 0x48fc, 0x0d7f, 0x127f, |
1897 | 0x6004, 0xa084, 0x000f, 0xa080, 0x466e, 0x203c, 0x87fb, 0x1040, | 1906 | 0x2000, 0x007c, 0x7008, 0x007e, 0xa084, 0x01e0, 0x007f, 0x0040, |
1898 | 0x296b, 0x7008, 0x007e, 0xa084, 0x01e0, 0x007f, 0x0040, 0x49bb, | 1907 | 0x49fb, 0xa006, 0x007c, 0xa084, 0x0003, 0xa086, 0x0003, 0x00c0, |
1899 | 0xa006, 0x0078, 0x49c0, 0xa084, 0x0003, 0xa086, 0x0003, 0x007c, | 1908 | 0x4a02, 0x007c, 0x2704, 0xac78, 0x7800, 0x701a, 0x7804, 0x701e, |
1900 | 0x2051, 0x0000, 0x007c, 0x127e, 0x007e, 0x0d7e, 0x70d4, 0xa084, | 1909 | 0x7808, 0x7012, 0x780c, 0x7016, 0x6004, 0xd09c, 0x0040, 0x4a14, |
1901 | 0x4600, 0x8004, 0x2090, 0x0d7f, 0x087f, 0x7108, 0xa184, 0x0003, | 1910 | 0x7810, 0x7022, 0x7814, 0x7026, 0x7602, 0x7004, 0xa084, 0x0010, |
1902 | 0x00c0, 0x49d8, 0x6828, 0xa005, 0x0040, 0x49e8, 0x0078, 0x45a2, | 1911 | 0xc085, 0x7006, 0x2079, 0x4f00, 0x8738, 0x8a51, 0x0040, 0x4a40, |
1903 | 0x7108, 0xd1fc, 0x0040, 0x49e0, 0x1078, 0x4769, 0x0078, 0x49cd, | 1912 | 0x2704, 0xa005, 0x00c0, 0x4a32, 0x609c, 0xa005, 0x0040, 0x4a41, |
1904 | 0x7007, 0x0010, 0x7108, 0xd1fc, 0x0040, 0x49e2, 0x1078, 0x4769, | 1913 | 0x2060, 0x6004, 0xa084, 0x000f, 0xa080, 0x46f2, 0x203c, 0x87fb, |
1905 | 0x7008, 0xa086, 0x0008, 0x00c0, 0x49cd, 0x7000, 0xa005, 0x00c0, | 1914 | 0x1040, 0x29b2, 0x7008, 0x007e, 0xa084, 0x01e0, 0x007f, 0x0040, |
1906 | 0x49cd, 0x7003, 0x0000, 0x2049, 0x0000, 0x127f, 0x2000, 0x007c, | 1915 | 0x4a3c, 0xa006, 0x0078, 0x4a41, 0xa084, 0x0003, 0xa086, 0x0003, |
1907 | 0x127e, 0x147e, 0x137e, 0x157e, 0x0c7e, 0x0d7e, 0x70d4, 0xa084, | 1916 | 0x007c, 0x2051, 0x0000, 0x007c, 0x127e, 0x007e, 0x0d7e, 0x70d4, |
1908 | 0x4600, 0x8004, 0x2090, 0x0d7f, 0x2049, 0x49f8, 0xad80, 0x0011, | 1917 | 0xa084, 0x4600, 0x8004, 0x2090, 0x0d7f, 0x087f, 0x7108, 0xa184, |
1909 | 0x20a0, 0xb284, 0x0100, 0x0040, 0x4a1b, 0x2001, 0x4e04, 0x2004, | 1918 | 0x0003, 0x00c0, 0x4a59, 0x6828, 0xa005, 0x0040, 0x4a69, 0x0078, |
1910 | 0xd0ec, 0x0040, 0x4a17, 0x2099, 0x0031, 0x0078, 0x4a1d, 0x2099, | 1919 | 0x4602, 0x7108, 0xd1fc, 0x0040, 0x4a61, 0x1078, 0x47ed, 0x0078, |
1911 | 0x0032, 0x0078, 0x4a1d, 0x2099, 0x0031, 0x700c, 0xa084, 0x03ff, | 1920 | 0x4a4e, 0x7007, 0x0010, 0x7108, 0xd1fc, 0x0040, 0x4a63, 0x1078, |
1912 | 0x682a, 0x7007, 0x0008, 0x7007, 0x0002, 0x7003, 0x0001, 0x0040, | 1921 | 0x47ed, 0x7008, 0xa086, 0x0008, 0x00c0, 0x4a4e, 0x7000, 0xa005, |
1913 | 0x4a2c, 0x8000, 0x80ac, 0x53a5, 0x700c, 0xa084, 0x03ff, 0x0040, | 1922 | 0x00c0, 0x4a4e, 0x7003, 0x0000, 0x2049, 0x0000, 0x007e, 0x7804, |
1914 | 0x4a38, 0x7007, 0x0004, 0x7004, 0xa084, 0x0004, 0x00c0, 0x4a33, | 1923 | 0xd0cc, 0x0040, 0x4a7d, 0x1078, 0x4acc, 0x007f, 0x127f, 0x2000, |
1915 | 0x0c7f, 0x2049, 0x0000, 0x7003, 0x0000, 0x157f, 0x137f, 0x147f, | 1924 | 0x007c, 0x127e, 0x147e, 0x137e, 0x157e, 0x0c7e, 0x0d7e, 0x70d4, |
1916 | 0x127f, 0x2000, 0x007c, 0x2091, 0x8000, 0x2091, 0x6000, 0x78ac, | 1925 | 0xa084, 0x4600, 0x8004, 0x2090, 0x0d7f, 0x2049, 0x4a81, 0xad80, |
1917 | 0xa005, 0x00c0, 0x4a5a, 0x7974, 0x70d0, 0xa106, 0x00c0, 0x4a5a, | 1926 | 0x0011, 0x20a0, 0xb284, 0x0100, 0x0040, 0x4aa4, 0x2001, 0x4f04, |
1918 | 0x781c, 0xa005, 0x0040, 0x4a5a, 0x781f, 0x0000, 0x0068, 0x4a5a, | 1927 | 0x2004, 0xd0ec, 0x0040, 0x4aa0, 0x2099, 0x0031, 0x0078, 0x4aa6, |
1919 | 0x2091, 0x4080, 0x7830, 0x8001, 0x7832, 0x00c0, 0x4ae2, 0x7834, | 1928 | 0x2099, 0x0032, 0x0078, 0x4aa6, 0x2099, 0x0031, 0x700c, 0xa084, |
1920 | 0x7832, 0x7810, 0xd0ec, 0x00c0, 0x4adb, 0x2061, 0x73c0, 0x2069, | 1929 | 0x03ff, 0x682a, 0x7007, 0x0008, 0x7007, 0x0002, 0x7003, 0x0001, |
1921 | 0x4e80, 0xc7fd, 0x68d0, 0xa005, 0x0040, 0x4a74, 0x8001, 0x68d2, | 1930 | 0x0040, 0x4ab5, 0x8000, 0x80ac, 0x53a5, 0x700c, 0xa084, 0x03ff, |
1922 | 0x00c0, 0x4a74, 0x1078, 0x4cb0, 0x6800, 0xa084, 0x000f, 0x0040, | 1931 | 0x0040, 0x4ac1, 0x7007, 0x0004, 0x7004, 0xa084, 0x0004, 0x00c0, |
1923 | 0x4a89, 0xa086, 0x0001, 0x0040, 0x4a89, 0x6844, 0xa00d, 0x0040, | 1932 | 0x4abc, 0x0c7f, 0x2049, 0x0000, 0x7003, 0x0000, 0x157f, 0x137f, |
1924 | 0x4a89, 0x2104, 0xa005, 0x0040, 0x4a89, 0x8001, 0x200a, 0x0040, | 1933 | 0x147f, 0x127f, 0x2000, 0x007c, 0x6814, 0xd0fc, 0x0040, 0x4b11, |
1925 | 0x4c23, 0x6814, 0xa005, 0x0040, 0x4aae, 0x8001, 0x6816, 0x00c0, | 1934 | 0x7000, 0xd084, 0x0040, 0x4b11, 0x7e24, 0xa6b5, 0x0004, 0x7007, |
1926 | 0x4aae, 0x68a7, 0x0001, 0x0f7e, 0xd7fc, 0x00c0, 0x4aa3, 0x7810, | 1935 | 0x0004, 0x7004, 0xa084, 0x0004, 0x00c0, 0x4ad9, 0x7118, 0x017e, |
1927 | 0xd0ec, 0x0040, 0x4a9f, 0x2079, 0x0100, 0x0078, 0x4aa5, 0x2079, | 1936 | 0x711c, 0x017e, 0x7120, 0x017e, 0x7124, 0x017e, 0xa00e, 0x711a, |
1928 | 0x0200, 0x0078, 0x4aa5, 0x2079, 0x0100, 0x1078, 0x4383, 0x0f7f, | 1937 | 0x701f, 0x3fff, 0x7122, 0x7126, 0x7013, 0x0004, 0x7116, 0x7602, |
1929 | 0x6864, 0xa005, 0x0040, 0x4aae, 0x1078, 0x2628, 0x6880, 0xa005, | 1938 | 0x7007, 0x0001, 0x2001, 0xffff, 0x2009, 0x0031, 0x200a, 0x200a, |
1930 | 0x0040, 0x4abb, 0x8001, 0x6882, 0x00c0, 0x4abb, 0x6867, 0x0000, | 1939 | 0x7108, 0x7008, 0xa106, 0x00c0, 0x4af8, 0xd1fc, 0x0040, 0x4af8, |
1931 | 0x68d4, 0xc0dd, 0x68d6, 0x68d4, 0xd0fc, 0x0040, 0x4ad8, 0xc0fc, | 1940 | 0x027f, 0x7226, 0x027f, 0x7222, 0x027f, 0x721e, 0x027f, 0x721a, |
1932 | 0x68d6, 0x20a9, 0x0200, 0x6034, 0xa005, 0x0040, 0x4ad4, 0x8001, | 1941 | 0x7007, 0x0002, 0x7008, 0xa086, 0x0008, 0x0040, 0x4b11, 0x0078, |
1933 | 0x6036, 0x68d4, 0xc0fd, 0x68d6, 0x00c0, 0x4ad4, 0x6010, 0xa005, | 1942 | 0x4830, 0x7007, 0x0004, 0x7003, 0x0000, 0x007c, 0x2091, 0x8000, |
1934 | 0x0040, 0x4ad4, 0x1078, 0x2628, 0xace0, 0x0010, 0x00f0, 0x4ac3, | 1943 | 0x2091, 0x6000, 0x78ac, 0xa005, 0x00c0, 0x4b2d, 0x7974, 0x70d0, |
1935 | 0xd7fc, 0x0040, 0x4ae2, 0x2061, 0x53c0, 0x2069, 0x4e40, 0xc7fc, | 1944 | 0xa106, 0x00c0, 0x4b2d, 0x781c, 0xa005, 0x0040, 0x4b2d, 0x781f, |
1936 | 0x0078, 0x4a6a, 0x1078, 0x4b1e, 0x7838, 0x8001, 0x783a, 0x00c0, | 1945 | 0x0000, 0x0068, 0x4b2d, 0x2091, 0x4080, 0x7830, 0x8001, 0x7832, |
1937 | 0x4b04, 0x783c, 0x783a, 0x2061, 0x53c0, 0x2069, 0x4e40, 0xc7fc, | 1946 | 0x00c0, 0x4bb5, 0x7834, 0x7832, 0x7810, 0xd0ec, 0x00c0, 0x4bae, |
1938 | 0x680c, 0xa005, 0x0040, 0x4af6, 0x1078, 0x4b88, 0xd7fc, 0x00c0, | 1947 | 0x2061, 0x74c0, 0x2069, 0x4f80, 0xc7fd, 0x68d0, 0xa005, 0x0040, |
1939 | 0x4b04, 0x7810, 0xd0ec, 0x00c0, 0x4b04, 0x2061, 0x73c0, 0x2069, | 1948 | 0x4b47, 0x8001, 0x68d2, 0x00c0, 0x4b47, 0x1078, 0x4d83, 0x6800, |
1940 | 0x4e80, 0xc7fd, 0x0078, 0x4af0, 0x7814, 0xd0e4, 0x00c0, 0x4b08, | 1949 | 0xa084, 0x000f, 0x0040, 0x4b5c, 0xa086, 0x0001, 0x0040, 0x4b5c, |
1941 | 0x7810, 0xd0cc, 0x0040, 0x4b1b, 0xd0ac, 0x00c0, 0x4b14, 0xd0a4, | 1950 | 0x6844, 0xa00d, 0x0040, 0x4b5c, 0x2104, 0xa005, 0x0040, 0x4b5c, |
1942 | 0x0040, 0x4b1b, 0xc0ad, 0x7812, 0x2091, 0x8001, 0x0068, 0x4b1a, | 1951 | 0x8001, 0x200a, 0x0040, 0x4cf6, 0x6814, 0xa005, 0x0040, 0x4b81, |
1943 | 0x1078, 0x2395, 0x007c, 0x2091, 0x8001, 0x007c, 0x7840, 0x8001, | 1952 | 0x8001, 0x6816, 0x00c0, 0x4b81, 0x68a7, 0x0001, 0x0f7e, 0xd7fc, |
1944 | 0x7842, 0x00c0, 0x4b87, 0x7844, 0x7842, 0x2069, 0x4e40, 0xc7fc, | 1953 | 0x00c0, 0x4b76, 0x7810, 0xd0ec, 0x0040, 0x4b72, 0x2079, 0x0100, |
1945 | 0x7810, 0x2079, 0x0200, 0xd0ec, 0x0040, 0x4b30, 0x2079, 0x0100, | 1954 | 0x0078, 0x4b78, 0x2079, 0x0200, 0x0078, 0x4b78, 0x2079, 0x0100, |
1946 | 0x68d8, 0xa005, 0x0040, 0x4b3c, 0x7de0, 0xa504, 0x00c0, 0x4b3c, | 1955 | 0x1078, 0x43d3, 0x0f7f, 0x6864, 0xa005, 0x0040, 0x4b81, 0x1078, |
1947 | 0x68da, 0x68d4, 0xc0bc, 0x68d6, 0x2079, 0x4e00, 0x6810, 0xa005, | 1956 | 0x266f, 0x6880, 0xa005, 0x0040, 0x4b8e, 0x8001, 0x6882, 0x00c0, |
1948 | 0x00c0, 0x4b44, 0x2001, 0x0101, 0x8001, 0x6812, 0xd7fc, 0x0040, | 1957 | 0x4b8e, 0x6867, 0x0000, 0x68d4, 0xc0dd, 0x68d6, 0x68d4, 0xd0fc, |
1949 | 0x4b4d, 0xa080, 0x94d0, 0x0078, 0x4b4f, 0xa080, 0x93c0, 0x2040, | 1958 | 0x0040, 0x4bab, 0xc0fc, 0x68d6, 0x20a9, 0x0200, 0x6034, 0xa005, |
1950 | 0x2004, 0xa065, 0x0040, 0x4b79, 0x6024, 0xa005, 0x0040, 0x4b75, | 1959 | 0x0040, 0x4ba7, 0x8001, 0x6036, 0x68d4, 0xc0fd, 0x68d6, 0x00c0, |
1951 | 0x8001, 0x6026, 0x00c0, 0x4b75, 0x6800, 0xa005, 0x0040, 0x4b68, | 1960 | 0x4ba7, 0x6010, 0xa005, 0x0040, 0x4ba7, 0x1078, 0x266f, 0xace0, |
1952 | 0x684c, 0xac06, 0x00c0, 0x4b68, 0x1078, 0x4c23, 0x0078, 0x4b79, | 1961 | 0x0010, 0x00f0, 0x4b96, 0xd7fc, 0x0040, 0x4bb5, 0x2061, 0x54c0, |
1953 | 0x6864, 0xa005, 0x0040, 0x4b70, 0x6027, 0x0001, 0x0078, 0x4b75, | 1962 | 0x2069, 0x4f40, 0xc7fc, 0x0078, 0x4b3d, 0x1078, 0x4bf1, 0x7838, |
1954 | 0x1078, 0x4bd6, 0x2804, 0x0078, 0x4b51, 0x6000, 0x2c40, 0x0078, | 1963 | 0x8001, 0x783a, 0x00c0, 0x4bd7, 0x783c, 0x783a, 0x2061, 0x54c0, |
1955 | 0x4b51, 0xd7fc, 0x00c0, 0x4b87, 0x7810, 0xd0ec, 0x00c0, 0x4b87, | 1964 | 0x2069, 0x4f40, 0xc7fc, 0x680c, 0xa005, 0x0040, 0x4bc9, 0x1078, |
1956 | 0x2069, 0x4e80, 0xc7fd, 0x2079, 0x0100, 0x0078, 0x4b30, 0x007c, | 1965 | 0x4c5b, 0xd7fc, 0x00c0, 0x4bd7, 0x7810, 0xd0ec, 0x00c0, 0x4bd7, |
1957 | 0x2009, 0x0000, 0x20a9, 0x0200, 0x6008, 0xd09c, 0x0040, 0x4bc2, | 1966 | 0x2061, 0x74c0, 0x2069, 0x4f80, 0xc7fd, 0x0078, 0x4bc3, 0x7814, |
1958 | 0x6024, 0xa005, 0x0040, 0x4b98, 0x8001, 0x6026, 0x0078, 0x4bc0, | 1967 | 0xd0e4, 0x00c0, 0x4bdb, 0x7810, 0xd0cc, 0x0040, 0x4bee, 0xd0ac, |
1959 | 0x6008, 0xc09c, 0xd084, 0x00c0, 0x4ba0, 0xd0ac, 0x0040, 0x4bba, | 1968 | 0x00c0, 0x4be7, 0xd0a4, 0x0040, 0x4bee, 0xc0ad, 0x7812, 0x2091, |
1960 | 0x600a, 0x6004, 0xa005, 0x0040, 0x4bc2, 0x0d7e, 0x0c7e, 0x017e, | 1969 | 0x8001, 0x0068, 0x4bed, 0x1078, 0x23dc, 0x007c, 0x2091, 0x8001, |
1961 | 0x2068, 0x6010, 0x8001, 0x6012, 0x1078, 0x3dd0, 0x2d00, 0x2c68, | 1970 | 0x007c, 0x7840, 0x8001, 0x7842, 0x00c0, 0x4c5a, 0x7844, 0x7842, |
1962 | 0x2060, 0x1078, 0x1e5b, 0x1078, 0x201d, 0x017f, 0x0c7f, 0x0d7f, | 1971 | 0x2069, 0x4f40, 0xc7fc, 0x7810, 0x2079, 0x0200, 0xd0ec, 0x0040, |
1963 | 0x0078, 0x4bc2, 0xc0bd, 0x600a, 0xa18d, 0x0001, 0x0078, 0x4bc2, | 1972 | 0x4c03, 0x2079, 0x0100, 0x68d8, 0xa005, 0x0040, 0x4c0f, 0x7de0, |
1964 | 0xa18d, 0x0100, 0xace0, 0x0010, 0x00f0, 0x4b8c, 0xa184, 0x0001, | 1973 | 0xa504, 0x00c0, 0x4c0f, 0x68da, 0x68d4, 0xc0bc, 0x68d6, 0x2079, |
1965 | 0x0040, 0x4bd1, 0xa18c, 0xfffe, 0x690e, 0x1078, 0x2628, 0x0078, | 1974 | 0x4f00, 0x6810, 0xa005, 0x00c0, 0x4c17, 0x2001, 0x0101, 0x8001, |
1966 | 0x4bd2, 0x690e, 0x007c, 0x00c0, 0x4bd2, 0x786c, 0x2c00, 0x687e, | 1975 | 0x6812, 0xd7fc, 0x0040, 0x4c20, 0xa080, 0x95d0, 0x0078, 0x4c22, |
1967 | 0x6714, 0x6f76, 0x6017, 0x0000, 0x602b, 0x0000, 0x601b, 0x0006, | 1976 | 0xa080, 0x94c0, 0x2040, 0x2004, 0xa065, 0x0040, 0x4c4c, 0x6024, |
1968 | 0x60b4, 0xa084, 0x3f00, 0x601e, 0x6020, 0xa084, 0x00ff, 0xa085, | 1977 | 0xa005, 0x0040, 0x4c48, 0x8001, 0x6026, 0x00c0, 0x4c48, 0x6800, |
1969 | 0x0060, 0x6022, 0x6000, 0x2042, 0x1078, 0x1de4, 0x6818, 0xa005, | 1978 | 0xa005, 0x0040, 0x4c3b, 0x684c, 0xac06, 0x00c0, 0x4c3b, 0x1078, |
1970 | 0x0040, 0x4bf4, 0x8001, 0x681a, 0x6808, 0xc0a4, 0x680a, 0x6810, | 1979 | 0x4cf6, 0x0078, 0x4c4c, 0x6864, 0xa005, 0x0040, 0x4c43, 0x6027, |
1971 | 0x7908, 0x8109, 0x790a, 0x8001, 0x00d0, 0x4c00, 0x1078, 0x296b, | 1980 | 0x0001, 0x0078, 0x4c48, 0x1078, 0x4ca9, 0x2804, 0x0078, 0x4c24, |
1972 | 0x6812, 0x00c0, 0x4c06, 0x7910, 0xc1a5, 0x7912, 0x602f, 0x0000, | 1981 | 0x6000, 0x2c40, 0x0078, 0x4c24, 0xd7fc, 0x00c0, 0x4c5a, 0x7810, |
1973 | 0x6033, 0x0000, 0x2c68, 0x1078, 0x202c, 0xd7fc, 0x00c0, 0x4c14, | 1982 | 0xd0ec, 0x00c0, 0x4c5a, 0x2069, 0x4f80, 0xc7fd, 0x2079, 0x0100, |
1974 | 0x2069, 0x4e40, 0x0078, 0x4c16, 0x2069, 0x4e80, 0x6910, 0xa184, | 1983 | 0x0078, 0x4c03, 0x007c, 0x2009, 0x0000, 0x20a9, 0x0200, 0x6008, |
1975 | 0x0100, 0x2001, 0x0006, 0x00c0, 0x4c20, 0x697a, 0x2001, 0x0004, | 1984 | 0xd09c, 0x0040, 0x4c95, 0x6024, 0xa005, 0x0040, 0x4c6b, 0x8001, |
1976 | 0x1078, 0x261c, 0x007c, 0x0d7e, 0x694c, 0x2160, 0xd7fc, 0x00c0, | 1985 | 0x6026, 0x0078, 0x4c93, 0x6008, 0xc09c, 0xd084, 0x00c0, 0x4c73, |
1977 | 0x4c35, 0x7810, 0xd0ec, 0x0040, 0x4c31, 0x2069, 0x0100, 0x0078, | 1986 | 0xd0ac, 0x0040, 0x4c8d, 0x600a, 0x6004, 0xa005, 0x0040, 0x4c95, |
1978 | 0x4c37, 0x2069, 0x0200, 0x0078, 0x4c37, 0x2069, 0x0100, 0x1078, | 1987 | 0x0d7e, 0x0c7e, 0x017e, 0x2068, 0x6010, 0x8001, 0x6012, 0x1078, |
1979 | 0x28df, 0x601b, 0x0006, 0x6858, 0xa084, 0x3f00, 0x601e, 0x6020, | 1988 | 0x3e19, 0x2d00, 0x2c68, 0x2060, 0x1078, 0x1ea2, 0x1078, 0x2064, |
1980 | 0xa084, 0x00ff, 0xa085, 0x0048, 0x6022, 0x602f, 0x0000, 0x6033, | 1989 | 0x017f, 0x0c7f, 0x0d7f, 0x0078, 0x4c95, 0xc0bd, 0x600a, 0xa18d, |
1981 | 0x0000, 0x6808, 0xa084, 0xfffd, 0x680a, 0x6830, 0xd0b4, 0x0040, | 1990 | 0x0001, 0x0078, 0x4c95, 0xa18d, 0x0100, 0xace0, 0x0010, 0x00f0, |
1982 | 0x4c69, 0x684b, 0x0004, 0x20a9, 0x0014, 0x6848, 0xd094, 0x0040, | 1991 | 0x4c5f, 0xa184, 0x0001, 0x0040, 0x4ca4, 0xa18c, 0xfffe, 0x690e, |
1983 | 0x4c5b, 0x00f0, 0x4c55, 0x684b, 0x0009, 0x20a9, 0x0014, 0x6848, | 1992 | 0x1078, 0x266f, 0x0078, 0x4ca5, 0x690e, 0x007c, 0x00c0, 0x4ca5, |
1984 | 0xd084, 0x0040, 0x4c65, 0x00f0, 0x4c5f, 0x20a9, 0x00fa, 0x00f0, | 1993 | 0x786c, 0x2c00, 0x687e, 0x6714, 0x6f76, 0x6017, 0x0000, 0x602b, |
1985 | 0x4c67, 0x681b, 0x0047, 0x0d7f, 0x6867, 0x0007, 0x007c, 0x2079, | 1994 | 0x0000, 0x601b, 0x0006, 0x60b4, 0xa084, 0x3f00, 0x601e, 0x6020, |
1986 | 0x4e00, 0x1078, 0x4ca3, 0x1078, 0x4c89, 0x1078, 0x4c96, 0x2009, | 1995 | 0xa084, 0x00ff, 0xa085, 0x0060, 0x6022, 0x6000, 0x2042, 0x1078, |
1987 | 0x0002, 0x2069, 0x4e80, 0x680f, 0x0000, 0x6813, 0x0000, 0x6817, | 1996 | 0x1e2b, 0x6818, 0xa005, 0x0040, 0x4cc7, 0x8001, 0x681a, 0x6808, |
1988 | 0x0000, 0x8109, 0x0040, 0x4c88, 0x2069, 0x4e40, 0x0078, 0x4c7b, | 1997 | 0xc0a4, 0x680a, 0x6810, 0x7908, 0x8109, 0x790a, 0x8001, 0x00d0, |
1989 | 0x007c, 0x7810, 0xd0ec, 0x0040, 0x4c91, 0x2019, 0x00cc, 0x0078, | 1998 | 0x4cd3, 0x1078, 0x29b2, 0x6812, 0x00c0, 0x4cd9, 0x7910, 0xc1a5, |
1990 | 0x4c93, 0x2019, 0x007b, 0x7b3a, 0x7b3e, 0x007c, 0x7814, 0xd0e4, | 1999 | 0x7912, 0x602f, 0x0000, 0x6033, 0x0000, 0x2c68, 0x1078, 0x2073, |
1991 | 0x00c0, 0x4c9e, 0x2019, 0x0040, 0x0078, 0x4ca0, 0x2019, 0x0026, | 2000 | 0xd7fc, 0x00c0, 0x4ce7, 0x2069, 0x4f40, 0x0078, 0x4ce9, 0x2069, |
1992 | 0x7b42, 0x7b46, 0x007c, 0x7814, 0xd0e4, 0x00c0, 0x4cab, 0x2019, | 2001 | 0x4f80, 0x6910, 0xa184, 0x0100, 0x2001, 0x0006, 0x00c0, 0x4cf3, |
1993 | 0x3f94, 0x0078, 0x4cad, 0x2019, 0x2624, 0x7b32, 0x7b36, 0x007c, | 2002 | 0x697a, 0x2001, 0x0004, 0x1078, 0x2663, 0x007c, 0x0d7e, 0x694c, |
1994 | 0x6a50, 0xa285, 0x0000, 0x0040, 0x4cdc, 0x6954, 0x6bc0, 0xa300, | 2003 | 0x2160, 0xd7fc, 0x00c0, 0x4d08, 0x7810, 0xd0ec, 0x0040, 0x4d04, |
1995 | 0x0c7e, 0x2164, 0x6304, 0x83ff, 0x00c0, 0x4cc8, 0x8211, 0x0040, | 2004 | 0x2069, 0x0100, 0x0078, 0x4d0a, 0x2069, 0x0200, 0x0078, 0x4d0a, |
1996 | 0x4ccc, 0x8108, 0xa11a, 0x0048, 0x4cb9, 0x69c0, 0x0078, 0x4cb9, | 2005 | 0x2069, 0x0100, 0x1078, 0x2926, 0x601b, 0x0006, 0x6858, 0xa084, |
1997 | 0x68d3, 0x000a, 0x0c7f, 0x007c, 0x6950, 0x6ac0, 0x2264, 0x602b, | 2006 | 0x3f00, 0x601e, 0x6020, 0xa084, 0x00ff, 0xa085, 0x0048, 0x6022, |
1998 | 0x0000, 0x602f, 0x0000, 0x6008, 0xc0b5, 0x600a, 0x8210, 0x8109, | 2007 | 0x602f, 0x0000, 0x6033, 0x0000, 0x6808, 0xa084, 0xfffd, 0x680a, |
1999 | 0x00c0, 0x4cce, 0x6952, 0x0c7f, 0x007c, 0x00e0, 0x4cdd, 0x2091, | 2008 | 0x6830, 0xd0b4, 0x0040, 0x4d3c, 0x684b, 0x0004, 0x20a9, 0x0014, |
2000 | 0x6000, 0x00e0, 0x4ce1, 0x2091, 0x6000, 0x70ec, 0xd0dc, 0x00c0, | 2009 | 0x6848, 0xd094, 0x0040, 0x4d2e, 0x00f0, 0x4d28, 0x684b, 0x0009, |
2001 | 0x4cee, 0xd0d4, 0x0040, 0x4d17, 0x0078, 0x4d1a, 0x2008, 0x7810, | 2010 | 0x20a9, 0x0014, 0x6848, 0xd084, 0x0040, 0x4d38, 0x00f0, 0x4d32, |
2002 | 0xd0ec, 0x0040, 0x4d01, 0xd1c4, 0x00c0, 0x4d39, 0x7814, 0xc0c5, | 2011 | 0x20a9, 0x00fa, 0x00f0, 0x4d3a, 0x681b, 0x0047, 0x0d7f, 0x6867, |
2003 | 0x7816, 0x7810, 0xc0f5, 0x7812, 0xd0ec, 0x0040, 0x4d35, 0x0078, | 2012 | 0x0007, 0x007c, 0x2079, 0x4f00, 0x1078, 0x4d76, 0x1078, 0x4d5c, |
2004 | 0x4d31, 0xae8e, 0x0100, 0x0040, 0x4d0e, 0x7814, 0xc0f5, 0xc0c5, | 2013 | 0x1078, 0x4d69, 0x2009, 0x0002, 0x2069, 0x4f80, 0x680f, 0x0000, |
2005 | 0x7816, 0xd0d4, 0x00c0, 0x4d35, 0x0078, 0x4d31, 0x7814, 0xc0fd, | 2014 | 0x6813, 0x0000, 0x6817, 0x0000, 0x8109, 0x0040, 0x4d5b, 0x2069, |
2006 | 0xc0c5, 0x7816, 0xd0d4, 0x00c0, 0x4d35, 0x0078, 0x4d31, 0xd0e4, | 2015 | 0x4f40, 0x0078, 0x4d4e, 0x007c, 0x7810, 0xd0ec, 0x0040, 0x4d64, |
2007 | 0x0040, 0x4d37, 0x00e0, 0x4d1a, 0x2091, 0x6000, 0x2009, 0x000c, | 2016 | 0x2019, 0x00cc, 0x0078, 0x4d66, 0x2019, 0x007b, 0x7b3a, 0x7b3e, |
2008 | 0x00e0, 0x4d20, 0x2091, 0x6000, 0x8109, 0x00c0, 0x4d20, 0x70e4, | 2017 | 0x007c, 0x7814, 0xd0e4, 0x00c0, 0x4d71, 0x2019, 0x0040, 0x0078, |
2009 | 0xa084, 0x01ff, 0xa086, 0x01ff, 0x00c0, 0x4d31, 0x70ec, 0x0078, | 2018 | 0x4d73, 0x2019, 0x0026, 0x7b42, 0x7b46, 0x007c, 0x7814, 0xd0e4, |
2010 | 0x4cee, 0x7804, 0xd08c, 0x0040, 0x4d37, 0x681f, 0x000c, 0x70a0, | 2019 | 0x00c0, 0x4d7e, 0x2019, 0x3f94, 0x0078, 0x4d80, 0x2019, 0x2624, |
2011 | 0x70a2, 0x007c, 0x205b | 2020 | 0x7b32, 0x7b36, 0x007c, 0x6a50, 0xa285, 0x0000, 0x0040, 0x4daf, |
2021 | 0x6954, 0x6bc0, 0xa300, 0x0c7e, 0x2164, 0x6304, 0x83ff, 0x00c0, | ||
2022 | 0x4d9b, 0x8211, 0x0040, 0x4d9f, 0x8108, 0xa11a, 0x0048, 0x4d8c, | ||
2023 | 0x69c0, 0x0078, 0x4d8c, 0x68d3, 0x000a, 0x0c7f, 0x007c, 0x6950, | ||
2024 | 0x6ac0, 0x2264, 0x602b, 0x0000, 0x602f, 0x0000, 0x6008, 0xc0b5, | ||
2025 | 0x600a, 0x8210, 0x8109, 0x00c0, 0x4da1, 0x6952, 0x0c7f, 0x007c, | ||
2026 | 0x00e0, 0x4db0, 0x2091, 0x6000, 0x00e0, 0x4db4, 0x2091, 0x6000, | ||
2027 | 0x70ec, 0xd0dc, 0x00c0, 0x4dc1, 0xd0d4, 0x0040, 0x4dea, 0x0078, | ||
2028 | 0x4ded, 0x2008, 0x7810, 0xd0ec, 0x0040, 0x4dd4, 0xd1c4, 0x00c0, | ||
2029 | 0x4e0e, 0x7814, 0xc0c5, 0x7816, 0x7810, 0xc0f5, 0x7812, 0xd0ec, | ||
2030 | 0x0040, 0x4e0a, 0x0078, 0x4e06, 0xae8e, 0x0100, 0x0040, 0x4de1, | ||
2031 | 0x7814, 0xc0f5, 0xc0c5, 0x7816, 0xd0d4, 0x00c0, 0x4e0a, 0x0078, | ||
2032 | 0x4e06, 0x7814, 0xc0fd, 0xc0c5, 0x7816, 0xd0d4, 0x00c0, 0x4e0a, | ||
2033 | 0x0078, 0x4e06, 0xd0e4, 0x0040, 0x4e0c, 0x00e0, 0x4ded, 0x2091, | ||
2034 | 0x6000, 0x2009, 0x000c, 0x00e0, 0x4df3, 0x2091, 0x6000, 0x8109, | ||
2035 | 0x00c0, 0x4df3, 0x70e4, 0xa084, 0x01ff, 0xa086, 0x01ff, 0x00c0, | ||
2036 | 0x4e04, 0x70ec, 0x0078, 0x4dc1, 0x1078, 0x4e0f, 0x7804, 0xd08c, | ||
2037 | 0x0040, 0x4e0c, 0x681f, 0x000c, 0x70a0, 0x70a2, 0x007c, 0x7910, | ||
2038 | 0xd1ec, 0x0040, 0x4e19, 0x7814, 0xc0c4, 0xc1f4, 0x7912, 0x0078, | ||
2039 | 0x4e2b, 0xae8e, 0x0100, 0x0040, 0x4e25, 0x7814, 0xc0f4, 0xd0fc, | ||
2040 | 0x00c0, 0x4e2b, 0xc0c4, 0x0078, 0x4e2b, 0x7814, 0xc0fc, 0xd0f4, | ||
2041 | 0x00c0, 0x4e2b, 0xc0c4, 0x7816, 0x007c, 0x14e3 | ||
2012 | }; | 2042 | }; |
2013 | #ifdef UNIQUE_FW_NAME | 2043 | #ifdef UNIQUE_FW_NAME |
2014 | static unsigned short fw1280ei_length01 = 0x3d3b; | 2044 | static unsigned short fw1280ei_length01 = 0x3e2e; |
2015 | #else | 2045 | #else |
2016 | static unsigned short risc_code_length01 = 0x3d3b; | 2046 | static unsigned short risc_code_length01 = 0x3e2e; |
2017 | #endif | 2047 | #endif |
2048 | |||
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c index 4ad280814990..1a4ce1c39478 100644 --- a/drivers/scsi/qla1280.c +++ b/drivers/scsi/qla1280.c | |||
@@ -1098,7 +1098,13 @@ qla1280_error_action(struct scsi_cmnd *cmd, enum action action) | |||
1098 | static int | 1098 | static int |
1099 | qla1280_eh_abort(struct scsi_cmnd * cmd) | 1099 | qla1280_eh_abort(struct scsi_cmnd * cmd) |
1100 | { | 1100 | { |
1101 | return qla1280_error_action(cmd, ABORT_COMMAND); | 1101 | int rc; |
1102 | |||
1103 | spin_lock_irq(cmd->device->host->host_lock); | ||
1104 | rc = qla1280_error_action(cmd, ABORT_COMMAND); | ||
1105 | spin_unlock_irq(cmd->device->host->host_lock); | ||
1106 | |||
1107 | return rc; | ||
1102 | } | 1108 | } |
1103 | 1109 | ||
1104 | /************************************************************************** | 1110 | /************************************************************************** |
@@ -1108,7 +1114,13 @@ qla1280_eh_abort(struct scsi_cmnd * cmd) | |||
1108 | static int | 1114 | static int |
1109 | qla1280_eh_device_reset(struct scsi_cmnd *cmd) | 1115 | qla1280_eh_device_reset(struct scsi_cmnd *cmd) |
1110 | { | 1116 | { |
1111 | return qla1280_error_action(cmd, DEVICE_RESET); | 1117 | int rc; |
1118 | |||
1119 | spin_lock_irq(cmd->device->host->host_lock); | ||
1120 | rc = qla1280_error_action(cmd, DEVICE_RESET); | ||
1121 | spin_unlock_irq(cmd->device->host->host_lock); | ||
1122 | |||
1123 | return rc; | ||
1112 | } | 1124 | } |
1113 | 1125 | ||
1114 | /************************************************************************** | 1126 | /************************************************************************** |
@@ -1118,7 +1130,13 @@ qla1280_eh_device_reset(struct scsi_cmnd *cmd) | |||
1118 | static int | 1130 | static int |
1119 | qla1280_eh_bus_reset(struct scsi_cmnd *cmd) | 1131 | qla1280_eh_bus_reset(struct scsi_cmnd *cmd) |
1120 | { | 1132 | { |
1121 | return qla1280_error_action(cmd, BUS_RESET); | 1133 | int rc; |
1134 | |||
1135 | spin_lock_irq(cmd->device->host->host_lock); | ||
1136 | rc = qla1280_error_action(cmd, BUS_RESET); | ||
1137 | spin_unlock_irq(cmd->device->host->host_lock); | ||
1138 | |||
1139 | return rc; | ||
1122 | } | 1140 | } |
1123 | 1141 | ||
1124 | /************************************************************************** | 1142 | /************************************************************************** |
@@ -1128,7 +1146,13 @@ qla1280_eh_bus_reset(struct scsi_cmnd *cmd) | |||
1128 | static int | 1146 | static int |
1129 | qla1280_eh_adapter_reset(struct scsi_cmnd *cmd) | 1147 | qla1280_eh_adapter_reset(struct scsi_cmnd *cmd) |
1130 | { | 1148 | { |
1131 | return qla1280_error_action(cmd, ADAPTER_RESET); | 1149 | int rc; |
1150 | |||
1151 | spin_lock_irq(cmd->device->host->host_lock); | ||
1152 | rc = qla1280_error_action(cmd, ADAPTER_RESET); | ||
1153 | spin_unlock_irq(cmd->device->host->host_lock); | ||
1154 | |||
1155 | return rc; | ||
1132 | } | 1156 | } |
1133 | 1157 | ||
1134 | static int | 1158 | static int |
@@ -4038,11 +4062,10 @@ qla1280_status_entry(struct scsi_qla_host *ha, struct response *pkt, | |||
4038 | scsi_status, handle); | 4062 | scsi_status, handle); |
4039 | } | 4063 | } |
4040 | 4064 | ||
4041 | /* Target busy */ | 4065 | /* Target busy or queue full */ |
4042 | if (scsi_status & SS_BUSY_CONDITION && | 4066 | if ((scsi_status & 0xFF) == SAM_STAT_TASK_SET_FULL || |
4043 | scsi_status != SS_RESERVE_CONFLICT) { | 4067 | (scsi_status & 0xFF) == SAM_STAT_BUSY) { |
4044 | CMD_RESULT(cmd) = | 4068 | CMD_RESULT(cmd) = scsi_status & 0xff; |
4045 | DID_BUS_BUSY << 16 | (scsi_status & 0xff); | ||
4046 | } else { | 4069 | } else { |
4047 | 4070 | ||
4048 | /* Save ISP completion status */ | 4071 | /* Save ISP completion status */ |
diff --git a/drivers/scsi/qla2xxx/qla_dbg.c b/drivers/scsi/qla2xxx/qla_dbg.c index c4cd4ac414c4..329d1a1fa547 100644 --- a/drivers/scsi/qla2xxx/qla_dbg.c +++ b/drivers/scsi/qla2xxx/qla_dbg.c | |||
@@ -1063,8 +1063,7 @@ qla2x00_print_scsi_cmd(struct scsi_cmnd * cmd) | |||
1063 | return; | 1063 | return; |
1064 | 1064 | ||
1065 | printk(" sp flags=0x%x\n", sp->flags); | 1065 | printk(" sp flags=0x%x\n", sp->flags); |
1066 | printk(" r_start=0x%lx, u_start=0x%lx, f_start=0x%lx, state=%d\n", | 1066 | printk(" state=%d\n", sp->state); |
1067 | sp->r_start, sp->u_start, sp->f_start, sp->state); | ||
1068 | } | 1067 | } |
1069 | 1068 | ||
1070 | #if defined(QL_DEBUG_ROUTINES) | 1069 | #if defined(QL_DEBUG_ROUTINES) |
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 7d47b8d92047..83a32e403e29 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -252,31 +252,12 @@ typedef struct srb { | |||
252 | /* Request state */ | 252 | /* Request state */ |
253 | uint16_t state; | 253 | uint16_t state; |
254 | 254 | ||
255 | /* Timing counts. */ | ||
256 | unsigned long e_start; /* Start of extend timeout */ | ||
257 | unsigned long r_start; /* Start of request */ | ||
258 | unsigned long u_start; /* When sent to RISC */ | ||
259 | unsigned long f_start; /* When placed in FO queue*/ | ||
260 | |||
261 | /* Single transfer DMA context */ | 255 | /* Single transfer DMA context */ |
262 | dma_addr_t dma_handle; | 256 | dma_addr_t dma_handle; |
263 | 257 | ||
264 | uint32_t request_sense_length; | 258 | uint32_t request_sense_length; |
265 | uint8_t *request_sense_ptr; | 259 | uint8_t *request_sense_ptr; |
266 | 260 | ||
267 | int ext_history; | ||
268 | |||
269 | /* Suspend delay */ | ||
270 | int delay; | ||
271 | |||
272 | /* Raw completion info for use by failover ? */ | ||
273 | uint8_t fo_retry_cnt; /* Retry count this request */ | ||
274 | uint8_t err_id; /* error id */ | ||
275 | #define SRB_ERR_PORT 1 /* Request failed -- "port down" */ | ||
276 | #define SRB_ERR_LOOP 2 /* Request failed -- "loop down" */ | ||
277 | #define SRB_ERR_DEVICE 3 /* Request failed -- "device error" */ | ||
278 | #define SRB_ERR_OTHER 4 | ||
279 | |||
280 | /* SRB magic number */ | 261 | /* SRB magic number */ |
281 | uint16_t magic; | 262 | uint16_t magic; |
282 | #define SRB_MAGIC 0x10CB | 263 | #define SRB_MAGIC 0x10CB |
@@ -2082,23 +2063,8 @@ typedef struct scsi_qla_host { | |||
2082 | uint32_t current_outstanding_cmd; | 2063 | uint32_t current_outstanding_cmd; |
2083 | srb_t *status_srb; /* Status continuation entry. */ | 2064 | srb_t *status_srb; /* Status continuation entry. */ |
2084 | 2065 | ||
2085 | unsigned long last_irq_cpu; /* cpu where we got our last irq */ | ||
2086 | |||
2087 | uint16_t revision; | 2066 | uint16_t revision; |
2088 | uint8_t ports; | 2067 | uint8_t ports; |
2089 | u_long actthreads; | ||
2090 | u_long ipreq_cnt; | ||
2091 | u_long qthreads; | ||
2092 | |||
2093 | uint32_t total_isr_cnt; /* Interrupt count */ | ||
2094 | uint32_t total_isp_aborts; /* controller err cnt */ | ||
2095 | uint32_t total_lip_cnt; /* LIP cnt */ | ||
2096 | uint32_t total_dev_errs; /* device error cnt */ | ||
2097 | uint32_t total_ios; /* IO cnt */ | ||
2098 | uint64_t total_bytes; /* xfr byte cnt */ | ||
2099 | uint32_t total_mbx_timeout; /* mailbox timeout cnt */ | ||
2100 | uint32_t total_loop_resync; /* loop resyn cnt */ | ||
2101 | uint32_t dropped_frame_error_cnt; | ||
2102 | 2068 | ||
2103 | /* ISP configuration data. */ | 2069 | /* ISP configuration data. */ |
2104 | uint16_t loop_id; /* Host adapter loop id */ | 2070 | uint16_t loop_id; /* Host adapter loop id */ |
@@ -2124,8 +2090,6 @@ typedef struct scsi_qla_host { | |||
2124 | #define P2P_LOOP 3 | 2090 | #define P2P_LOOP 3 |
2125 | 2091 | ||
2126 | uint8_t marker_needed; | 2092 | uint8_t marker_needed; |
2127 | uint8_t sns_retry_cnt; | ||
2128 | uint8_t mem_err; | ||
2129 | 2093 | ||
2130 | uint8_t interrupts_on; | 2094 | uint8_t interrupts_on; |
2131 | 2095 | ||
@@ -2138,16 +2102,11 @@ typedef struct scsi_qla_host { | |||
2138 | uint16_t nvram_base; | 2102 | uint16_t nvram_base; |
2139 | 2103 | ||
2140 | uint16_t loop_reset_delay; | 2104 | uint16_t loop_reset_delay; |
2141 | uint16_t minimum_timeout; | ||
2142 | uint8_t retry_count; | 2105 | uint8_t retry_count; |
2143 | uint8_t login_timeout; | 2106 | uint8_t login_timeout; |
2144 | uint16_t r_a_tov; | 2107 | uint16_t r_a_tov; |
2145 | int port_down_retry_count; | 2108 | int port_down_retry_count; |
2146 | uint8_t loop_down_timeout; | ||
2147 | uint8_t mbx_count; | 2109 | uint8_t mbx_count; |
2148 | uint16_t max_probe_luns; | ||
2149 | uint16_t max_luns; | ||
2150 | uint16_t max_targets; | ||
2151 | uint16_t last_loop_id; | 2110 | uint16_t last_loop_id; |
2152 | 2111 | ||
2153 | uint32_t login_retry_count; | 2112 | uint32_t login_retry_count; |
@@ -2181,7 +2140,6 @@ typedef struct scsi_qla_host { | |||
2181 | uint8_t dpc_active; /* DPC routine is active */ | 2140 | uint8_t dpc_active; /* DPC routine is active */ |
2182 | 2141 | ||
2183 | /* Timeout timers. */ | 2142 | /* Timeout timers. */ |
2184 | uint8_t queue_restart_timer; | ||
2185 | uint8_t loop_down_abort_time; /* port down timer */ | 2143 | uint8_t loop_down_abort_time; /* port down timer */ |
2186 | atomic_t loop_down_timer; /* loop down timer */ | 2144 | atomic_t loop_down_timer; /* loop down timer */ |
2187 | uint8_t link_down_timeout; /* link down timeout */ | 2145 | uint8_t link_down_timeout; /* link down timeout */ |
@@ -2230,18 +2188,6 @@ typedef struct scsi_qla_host { | |||
2230 | 2188 | ||
2231 | mbx_cmd_t mc; | 2189 | mbx_cmd_t mc; |
2232 | 2190 | ||
2233 | uint8_t *cmdline; | ||
2234 | |||
2235 | uint32_t failover_type; | ||
2236 | uint32_t failback_delay; | ||
2237 | unsigned long cfg_flags; | ||
2238 | #define CFG_ACTIVE 0 /* CFG during a failover, event update, or ioctl */ | ||
2239 | #define CFG_FAILOVER 1 /* CFG during path change */ | ||
2240 | |||
2241 | uint32_t binding_type; | ||
2242 | #define BIND_BY_PORT_NAME 0 | ||
2243 | #define BIND_BY_PORT_ID 1 | ||
2244 | |||
2245 | /* Basic firmware related information. */ | 2191 | /* Basic firmware related information. */ |
2246 | struct qla_board_info *brd_info; | 2192 | struct qla_board_info *brd_info; |
2247 | uint16_t fw_major_version; | 2193 | uint16_t fw_major_version; |
@@ -2274,12 +2220,6 @@ typedef struct scsi_qla_host { | |||
2274 | uint8_t nvram_version; | 2220 | uint8_t nvram_version; |
2275 | uint32_t isp_abort_cnt; | 2221 | uint32_t isp_abort_cnt; |
2276 | 2222 | ||
2277 | /* Adapter I/O statistics for failover */ | ||
2278 | uint64_t IosRequested; | ||
2279 | uint64_t BytesRequested; | ||
2280 | uint64_t IosExecuted; | ||
2281 | uint64_t BytesExecuted; | ||
2282 | |||
2283 | /* Needed for BEACON */ | 2223 | /* Needed for BEACON */ |
2284 | uint16_t beacon_blink_led; | 2224 | uint16_t beacon_blink_led; |
2285 | uint16_t beacon_green_on; | 2225 | uint16_t beacon_green_on; |
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 2efec6c24d60..164866b199e6 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -53,27 +53,13 @@ extern void qla2x00_reg_remote_port(scsi_qla_host_t *, fc_port_t *); | |||
53 | */ | 53 | */ |
54 | extern char qla2x00_version_str[]; | 54 | extern char qla2x00_version_str[]; |
55 | 55 | ||
56 | extern int num_hosts; | ||
57 | extern int apiHBAInstance; | ||
58 | |||
59 | extern struct _qla2x00stats qla2x00_stats; | ||
60 | extern int ql2xretrycount; | ||
61 | extern int ql2xlogintimeout; | 56 | extern int ql2xlogintimeout; |
62 | extern int qlport_down_retry; | 57 | extern int qlport_down_retry; |
63 | extern int ql2xmaxqdepth; | ||
64 | extern int displayConfig; | ||
65 | extern int ql2xplogiabsentdevice; | 58 | extern int ql2xplogiabsentdevice; |
66 | extern int ql2xenablezio; | 59 | extern int ql2xenablezio; |
67 | extern int ql2xintrdelaytimer; | 60 | extern int ql2xintrdelaytimer; |
68 | extern int ql2xloginretrycount; | 61 | extern int ql2xloginretrycount; |
69 | 62 | ||
70 | extern int ConfigRequired; | ||
71 | |||
72 | extern int Bind; | ||
73 | extern int ql2xsuspendcount; | ||
74 | #if defined(MODULE) | ||
75 | extern char *ql2xopts; | ||
76 | #endif | ||
77 | extern void qla2x00_sp_compl(scsi_qla_host_t *, srb_t *); | 63 | extern void qla2x00_sp_compl(scsi_qla_host_t *, srb_t *); |
78 | 64 | ||
79 | extern char *qla2x00_get_fw_version_str(struct scsi_qla_host *, char *); | 65 | extern char *qla2x00_get_fw_version_str(struct scsi_qla_host *, char *); |
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 0387005fcb6d..7629558eba25 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -85,9 +85,7 @@ qla2x00_initialize_adapter(scsi_qla_host_t *ha) | |||
85 | atomic_set(&ha->loop_down_timer, LOOP_DOWN_TIME); | 85 | atomic_set(&ha->loop_down_timer, LOOP_DOWN_TIME); |
86 | atomic_set(&ha->loop_state, LOOP_DOWN); | 86 | atomic_set(&ha->loop_state, LOOP_DOWN); |
87 | ha->device_flags = 0; | 87 | ha->device_flags = 0; |
88 | ha->sns_retry_cnt = 0; | ||
89 | ha->dpc_flags = 0; | 88 | ha->dpc_flags = 0; |
90 | ha->failback_delay = 0; | ||
91 | ha->flags.management_server_logged_in = 0; | 89 | ha->flags.management_server_logged_in = 0; |
92 | ha->marker_needed = 0; | 90 | ha->marker_needed = 0; |
93 | ha->mbx_flags = 0; | 91 | ha->mbx_flags = 0; |
@@ -171,8 +169,6 @@ check_fw_ready_again: | |||
171 | 169 | ||
172 | if (wait_time == 0) | 170 | if (wait_time == 0) |
173 | rval = QLA_FUNCTION_FAILED; | 171 | rval = QLA_FUNCTION_FAILED; |
174 | if (ha->mem_err) | ||
175 | restart_risc = 1; | ||
176 | } else if (ha->device_flags & DFLG_NO_CABLE) | 172 | } else if (ha->device_flags & DFLG_NO_CABLE) |
177 | /* If no cable, then all is good. */ | 173 | /* If no cable, then all is good. */ |
178 | rval = QLA_SUCCESS; | 174 | rval = QLA_SUCCESS; |
@@ -1410,13 +1406,8 @@ qla2x00_nvram_config(scsi_qla_host_t *ha) | |||
1410 | /* Set minimum RATOV to 200 tenths of a second. */ | 1406 | /* Set minimum RATOV to 200 tenths of a second. */ |
1411 | ha->r_a_tov = 200; | 1407 | ha->r_a_tov = 200; |
1412 | 1408 | ||
1413 | ha->minimum_timeout = | ||
1414 | (ha->login_timeout * ha->retry_count) + nv->port_down_retry_count; | ||
1415 | ha->loop_reset_delay = nv->reset_delay; | 1409 | ha->loop_reset_delay = nv->reset_delay; |
1416 | 1410 | ||
1417 | /* Will get the value from NVRAM. */ | ||
1418 | ha->loop_down_timeout = LOOP_DOWN_TIMEOUT; | ||
1419 | |||
1420 | /* Link Down Timeout = 0: | 1411 | /* Link Down Timeout = 0: |
1421 | * | 1412 | * |
1422 | * When Port Down timer expires we will start returning | 1413 | * When Port Down timer expires we will start returning |
@@ -1429,18 +1420,13 @@ qla2x00_nvram_config(scsi_qla_host_t *ha) | |||
1429 | */ | 1420 | */ |
1430 | if (nv->link_down_timeout == 0) { | 1421 | if (nv->link_down_timeout == 0) { |
1431 | ha->loop_down_abort_time = | 1422 | ha->loop_down_abort_time = |
1432 | (LOOP_DOWN_TIME - ha->loop_down_timeout); | 1423 | (LOOP_DOWN_TIME - LOOP_DOWN_TIMEOUT); |
1433 | } else { | 1424 | } else { |
1434 | ha->link_down_timeout = nv->link_down_timeout; | 1425 | ha->link_down_timeout = nv->link_down_timeout; |
1435 | ha->loop_down_abort_time = | 1426 | ha->loop_down_abort_time = |
1436 | (LOOP_DOWN_TIME - ha->link_down_timeout); | 1427 | (LOOP_DOWN_TIME - ha->link_down_timeout); |
1437 | } | 1428 | } |
1438 | 1429 | ||
1439 | ha->max_luns = MAX_LUNS; | ||
1440 | ha->max_probe_luns = le16_to_cpu(nv->max_luns_per_target); | ||
1441 | if (ha->max_probe_luns == 0) | ||
1442 | ha->max_probe_luns = MIN_LUNS; | ||
1443 | |||
1444 | /* | 1430 | /* |
1445 | * Need enough time to try and get the port back. | 1431 | * Need enough time to try and get the port back. |
1446 | */ | 1432 | */ |
@@ -1457,16 +1443,6 @@ qla2x00_nvram_config(scsi_qla_host_t *ha) | |||
1457 | if (ql2xloginretrycount) | 1443 | if (ql2xloginretrycount) |
1458 | ha->login_retry_count = ql2xloginretrycount; | 1444 | ha->login_retry_count = ql2xloginretrycount; |
1459 | 1445 | ||
1460 | ha->binding_type = Bind; | ||
1461 | if (ha->binding_type != BIND_BY_PORT_NAME && | ||
1462 | ha->binding_type != BIND_BY_PORT_ID) { | ||
1463 | qla_printk(KERN_WARNING, ha, | ||
1464 | "Invalid binding type specified (%d), " | ||
1465 | "defaulting to BIND_BY_PORT_NAME!!!\n", ha->binding_type); | ||
1466 | |||
1467 | ha->binding_type = BIND_BY_PORT_NAME; | ||
1468 | } | ||
1469 | |||
1470 | icb->lun_enables = __constant_cpu_to_le16(0); | 1446 | icb->lun_enables = __constant_cpu_to_le16(0); |
1471 | icb->command_resource_count = 0; | 1447 | icb->command_resource_count = 0; |
1472 | icb->immediate_notify_resource_count = 0; | 1448 | icb->immediate_notify_resource_count = 0; |
@@ -1578,7 +1554,6 @@ qla2x00_configure_loop(scsi_qla_host_t *ha) | |||
1578 | */ | 1554 | */ |
1579 | clear_bit(LOCAL_LOOP_UPDATE, &ha->dpc_flags); | 1555 | clear_bit(LOCAL_LOOP_UPDATE, &ha->dpc_flags); |
1580 | clear_bit(RSCN_UPDATE, &ha->dpc_flags); | 1556 | clear_bit(RSCN_UPDATE, &ha->dpc_flags); |
1581 | ha->mem_err = 0 ; | ||
1582 | 1557 | ||
1583 | /* Determine what we need to do */ | 1558 | /* Determine what we need to do */ |
1584 | if (ha->current_topology == ISP_CFG_FL && | 1559 | if (ha->current_topology == ISP_CFG_FL && |
@@ -2707,7 +2682,6 @@ qla2x00_loop_resync(scsi_qla_host_t *ha) | |||
2707 | rval = QLA_SUCCESS; | 2682 | rval = QLA_SUCCESS; |
2708 | 2683 | ||
2709 | atomic_set(&ha->loop_state, LOOP_UPDATE); | 2684 | atomic_set(&ha->loop_state, LOOP_UPDATE); |
2710 | qla2x00_stats.loop_resync++; | ||
2711 | clear_bit(ISP_ABORT_RETRY, &ha->dpc_flags); | 2685 | clear_bit(ISP_ABORT_RETRY, &ha->dpc_flags); |
2712 | if (ha->flags.online) { | 2686 | if (ha->flags.online) { |
2713 | if (!(rval = qla2x00_fw_ready(ha))) { | 2687 | if (!(rval = qla2x00_fw_ready(ha))) { |
@@ -2786,9 +2760,6 @@ qla2x00_abort_isp(scsi_qla_host_t *ha) | |||
2786 | if (ha->flags.online) { | 2760 | if (ha->flags.online) { |
2787 | ha->flags.online = 0; | 2761 | ha->flags.online = 0; |
2788 | clear_bit(ISP_ABORT_NEEDED, &ha->dpc_flags); | 2762 | clear_bit(ISP_ABORT_NEEDED, &ha->dpc_flags); |
2789 | qla2x00_stats.ispAbort++; | ||
2790 | ha->total_isp_aborts++; /* used by ioctl */ | ||
2791 | ha->sns_retry_cnt = 0; | ||
2792 | 2763 | ||
2793 | qla_printk(KERN_INFO, ha, | 2764 | qla_printk(KERN_INFO, ha, |
2794 | "Performing ISP error recovery - ha= %p.\n", ha); | 2765 | "Performing ISP error recovery - ha= %p.\n", ha); |
@@ -2810,8 +2781,6 @@ qla2x00_abort_isp(scsi_qla_host_t *ha) | |||
2810 | sp = ha->outstanding_cmds[cnt]; | 2781 | sp = ha->outstanding_cmds[cnt]; |
2811 | if (sp) { | 2782 | if (sp) { |
2812 | ha->outstanding_cmds[cnt] = NULL; | 2783 | ha->outstanding_cmds[cnt] = NULL; |
2813 | if (ha->actthreads) | ||
2814 | ha->actthreads--; | ||
2815 | sp->flags = 0; | 2784 | sp->flags = 0; |
2816 | sp->cmd->result = DID_RESET << 16; | 2785 | sp->cmd->result = DID_RESET << 16; |
2817 | sp->cmd->host_scribble = (unsigned char *)NULL; | 2786 | sp->cmd->host_scribble = (unsigned char *)NULL; |
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index af964bb3d870..ecaf9f83b2d4 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c | |||
@@ -433,11 +433,8 @@ qla2x00_start_scsi(srb_t *sp) | |||
433 | } else | 433 | } else |
434 | ha->request_ring_ptr++; | 434 | ha->request_ring_ptr++; |
435 | 435 | ||
436 | ha->actthreads++; | ||
437 | ha->total_ios++; | ||
438 | sp->flags |= SRB_DMA_VALID; | 436 | sp->flags |= SRB_DMA_VALID; |
439 | sp->state = SRB_ACTIVE_STATE; | 437 | sp->state = SRB_ACTIVE_STATE; |
440 | sp->u_start = jiffies; | ||
441 | 438 | ||
442 | /* Set chip new ring index. */ | 439 | /* Set chip new ring index. */ |
443 | WRT_REG_WORD(ISP_REQ_Q_IN(ha, reg), ha->req_ring_index); | 440 | WRT_REG_WORD(ISP_REQ_Q_IN(ha, reg), ha->req_ring_index); |
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 6792cfae56e2..e7a8b74157a5 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -91,9 +91,6 @@ qla2100_intr_handler(int irq, void *dev_id, struct pt_regs *regs) | |||
91 | } | 91 | } |
92 | spin_unlock_irqrestore(&ha->hardware_lock, flags); | 92 | spin_unlock_irqrestore(&ha->hardware_lock, flags); |
93 | 93 | ||
94 | ha->last_irq_cpu = _smp_processor_id(); | ||
95 | ha->total_isr_cnt++; | ||
96 | |||
97 | if (test_bit(MBX_INTR_WAIT, &ha->mbx_cmd_flags) && | 94 | if (test_bit(MBX_INTR_WAIT, &ha->mbx_cmd_flags) && |
98 | (status & MBX_INTERRUPT) && ha->flags.mbox_int) { | 95 | (status & MBX_INTERRUPT) && ha->flags.mbox_int) { |
99 | spin_lock_irqsave(&ha->mbx_reg_lock, flags); | 96 | spin_lock_irqsave(&ha->mbx_reg_lock, flags); |
@@ -200,9 +197,6 @@ qla2300_intr_handler(int irq, void *dev_id, struct pt_regs *regs) | |||
200 | } | 197 | } |
201 | spin_unlock_irqrestore(&ha->hardware_lock, flags); | 198 | spin_unlock_irqrestore(&ha->hardware_lock, flags); |
202 | 199 | ||
203 | ha->last_irq_cpu = _smp_processor_id(); | ||
204 | ha->total_isr_cnt++; | ||
205 | |||
206 | if (test_bit(MBX_INTR_WAIT, &ha->mbx_cmd_flags) && | 200 | if (test_bit(MBX_INTR_WAIT, &ha->mbx_cmd_flags) && |
207 | (status & MBX_INTERRUPT) && ha->flags.mbox_int) { | 201 | (status & MBX_INTERRUPT) && ha->flags.mbox_int) { |
208 | spin_lock_irqsave(&ha->mbx_reg_lock, flags); | 202 | spin_lock_irqsave(&ha->mbx_reg_lock, flags); |
@@ -417,7 +411,6 @@ qla2x00_async_event(scsi_qla_host_t *ha, uint32_t mbx) | |||
417 | /* Update AEN queue. */ | 411 | /* Update AEN queue. */ |
418 | qla2x00_enqueue_aen(ha, MBA_LIP_OCCURRED, NULL); | 412 | qla2x00_enqueue_aen(ha, MBA_LIP_OCCURRED, NULL); |
419 | 413 | ||
420 | ha->total_lip_cnt++; | ||
421 | break; | 414 | break; |
422 | 415 | ||
423 | case MBA_LOOP_UP: /* Loop Up Event */ | 416 | case MBA_LOOP_UP: /* Loop Up Event */ |
@@ -485,7 +478,6 @@ qla2x00_async_event(scsi_qla_host_t *ha, uint32_t mbx) | |||
485 | /* Update AEN queue. */ | 478 | /* Update AEN queue. */ |
486 | qla2x00_enqueue_aen(ha, MBA_LIP_RESET, NULL); | 479 | qla2x00_enqueue_aen(ha, MBA_LIP_RESET, NULL); |
487 | 480 | ||
488 | ha->total_lip_cnt++; | ||
489 | break; | 481 | break; |
490 | 482 | ||
491 | case MBA_POINT_TO_POINT: /* Point-to-Point */ | 483 | case MBA_POINT_TO_POINT: /* Point-to-Point */ |
@@ -695,14 +687,11 @@ qla2x00_process_completed_request(struct scsi_qla_host *ha, uint32_t index) | |||
695 | /* Free outstanding command slot. */ | 687 | /* Free outstanding command slot. */ |
696 | ha->outstanding_cmds[index] = NULL; | 688 | ha->outstanding_cmds[index] = NULL; |
697 | 689 | ||
698 | if (ha->actthreads) | ||
699 | ha->actthreads--; | ||
700 | CMD_COMPL_STATUS(sp->cmd) = 0L; | 690 | CMD_COMPL_STATUS(sp->cmd) = 0L; |
701 | CMD_SCSI_STATUS(sp->cmd) = 0L; | 691 | CMD_SCSI_STATUS(sp->cmd) = 0L; |
702 | 692 | ||
703 | /* Save ISP completion status */ | 693 | /* Save ISP completion status */ |
704 | sp->cmd->result = DID_OK << 16; | 694 | sp->cmd->result = DID_OK << 16; |
705 | sp->fo_retry_cnt = 0; | ||
706 | qla2x00_sp_compl(ha, sp); | 695 | qla2x00_sp_compl(ha, sp); |
707 | } else { | 696 | } else { |
708 | DEBUG2(printk("scsi(%ld): Invalid ISP SCSI completion handle\n", | 697 | DEBUG2(printk("scsi(%ld): Invalid ISP SCSI completion handle\n", |
@@ -865,9 +854,6 @@ qla2x00_status_entry(scsi_qla_host_t *ha, sts_entry_t *pkt) | |||
865 | return; | 854 | return; |
866 | } | 855 | } |
867 | 856 | ||
868 | if (ha->actthreads) | ||
869 | ha->actthreads--; | ||
870 | |||
871 | comp_status = le16_to_cpu(pkt->comp_status); | 857 | comp_status = le16_to_cpu(pkt->comp_status); |
872 | /* Mask of reserved bits 12-15, before we examine the scsi status */ | 858 | /* Mask of reserved bits 12-15, before we examine the scsi status */ |
873 | scsi_status = le16_to_cpu(pkt->scsi_status) & SS_MASK; | 859 | scsi_status = le16_to_cpu(pkt->scsi_status) & SS_MASK; |
@@ -1026,7 +1012,6 @@ qla2x00_status_entry(scsi_qla_host_t *ha, sts_entry_t *pkt) | |||
1026 | cp->request_bufflen)); | 1012 | cp->request_bufflen)); |
1027 | 1013 | ||
1028 | cp->result = DID_BUS_BUSY << 16; | 1014 | cp->result = DID_BUS_BUSY << 16; |
1029 | ha->dropped_frame_error_cnt++; | ||
1030 | break; | 1015 | break; |
1031 | } | 1016 | } |
1032 | 1017 | ||
@@ -1233,8 +1218,7 @@ qla2x00_error_entry(scsi_qla_host_t *ha, sts_entry_t *pkt) | |||
1233 | if (sp) { | 1218 | if (sp) { |
1234 | /* Free outstanding command slot. */ | 1219 | /* Free outstanding command slot. */ |
1235 | ha->outstanding_cmds[pkt->handle] = NULL; | 1220 | ha->outstanding_cmds[pkt->handle] = NULL; |
1236 | if (ha->actthreads) | 1221 | |
1237 | ha->actthreads--; | ||
1238 | /* Bad payload or header */ | 1222 | /* Bad payload or header */ |
1239 | if (pkt->entry_status & | 1223 | if (pkt->entry_status & |
1240 | (RF_INV_E_ORDER | RF_INV_E_COUNT | | 1224 | (RF_INV_E_ORDER | RF_INV_E_COUNT | |
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index 15f6acaca305..eeaec7c50e6a 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c | |||
@@ -219,10 +219,8 @@ qla2x00_mailbox_command(scsi_qla_host_t *ha, mbx_cmd_t *mcp) | |||
219 | ha->flags.mbox_int = 0; | 219 | ha->flags.mbox_int = 0; |
220 | clear_bit(MBX_INTERRUPT, &ha->mbx_cmd_flags); | 220 | clear_bit(MBX_INTERRUPT, &ha->mbx_cmd_flags); |
221 | 221 | ||
222 | if (ha->mailbox_out[0] != MBS_COMMAND_COMPLETE) { | 222 | if (ha->mailbox_out[0] != MBS_COMMAND_COMPLETE) |
223 | qla2x00_stats.mboxerr++; | ||
224 | rval = QLA_FUNCTION_FAILED; | 223 | rval = QLA_FUNCTION_FAILED; |
225 | } | ||
226 | 224 | ||
227 | /* Load return mailbox registers. */ | 225 | /* Load return mailbox registers. */ |
228 | iptr2 = mcp->mb; | 226 | iptr2 = mcp->mb; |
@@ -249,8 +247,6 @@ qla2x00_mailbox_command(scsi_qla_host_t *ha, mbx_cmd_t *mcp) | |||
249 | qla2x00_dump_regs(ha); | 247 | qla2x00_dump_regs(ha); |
250 | #endif | 248 | #endif |
251 | 249 | ||
252 | qla2x00_stats.mboxtout++; | ||
253 | ha->total_mbx_timeout++; | ||
254 | rval = QLA_FUNCTION_TIMEOUT; | 250 | rval = QLA_FUNCTION_TIMEOUT; |
255 | } | 251 | } |
256 | 252 | ||
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 3c97aa45772d..0b12498b7672 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -36,27 +36,12 @@ char qla2x00_version_str[40]; | |||
36 | /* | 36 | /* |
37 | * SRB allocation cache | 37 | * SRB allocation cache |
38 | */ | 38 | */ |
39 | char srb_cachep_name[16]; | 39 | static kmem_cache_t *srb_cachep; |
40 | kmem_cache_t *srb_cachep; | ||
41 | |||
42 | /* | ||
43 | * Stats for all adpaters. | ||
44 | */ | ||
45 | struct _qla2x00stats qla2x00_stats; | ||
46 | 40 | ||
47 | /* | 41 | /* |
48 | * Ioctl related information. | 42 | * Ioctl related information. |
49 | */ | 43 | */ |
50 | int num_hosts; | 44 | static int num_hosts; |
51 | int apiHBAInstance; | ||
52 | |||
53 | /* | ||
54 | * Module parameter information and variables | ||
55 | */ | ||
56 | int ql2xmaxqdepth; | ||
57 | module_param(ql2xmaxqdepth, int, S_IRUGO|S_IWUSR); | ||
58 | MODULE_PARM_DESC(ql2xmaxqdepth, | ||
59 | "Maximum queue depth to report for target devices."); | ||
60 | 45 | ||
61 | int ql2xlogintimeout = 20; | 46 | int ql2xlogintimeout = 20; |
62 | module_param(ql2xlogintimeout, int, S_IRUGO|S_IRUSR); | 47 | module_param(ql2xlogintimeout, int, S_IRUGO|S_IRUSR); |
@@ -69,12 +54,6 @@ MODULE_PARM_DESC(qlport_down_retry, | |||
69 | "Maximum number of command retries to a port that returns" | 54 | "Maximum number of command retries to a port that returns" |
70 | "a PORT-DOWN status."); | 55 | "a PORT-DOWN status."); |
71 | 56 | ||
72 | int ql2xretrycount = 20; | ||
73 | module_param(ql2xretrycount, int, S_IRUGO|S_IWUSR); | ||
74 | MODULE_PARM_DESC(ql2xretrycount, | ||
75 | "Maximum number of mid-layer retries allowed for a command. " | ||
76 | "Default value is 20, "); | ||
77 | |||
78 | int ql2xplogiabsentdevice; | 57 | int ql2xplogiabsentdevice; |
79 | module_param(ql2xplogiabsentdevice, int, S_IRUGO|S_IWUSR); | 58 | module_param(ql2xplogiabsentdevice, int, S_IRUGO|S_IWUSR); |
80 | MODULE_PARM_DESC(ql2xplogiabsentdevice, | 59 | MODULE_PARM_DESC(ql2xplogiabsentdevice, |
@@ -95,25 +74,6 @@ MODULE_PARM_DESC(ql2xintrdelaytimer, | |||
95 | "ZIO: Waiting time for Firmware before it generates an " | 74 | "ZIO: Waiting time for Firmware before it generates an " |
96 | "interrupt to the host to notify completion of request."); | 75 | "interrupt to the host to notify completion of request."); |
97 | 76 | ||
98 | int ConfigRequired; | ||
99 | module_param(ConfigRequired, int, S_IRUGO|S_IRUSR); | ||
100 | MODULE_PARM_DESC(ConfigRequired, | ||
101 | "If 1, then only configured devices passed in through the" | ||
102 | "ql2xopts parameter will be presented to the OS"); | ||
103 | |||
104 | int Bind = BIND_BY_PORT_NAME; | ||
105 | module_param(Bind, int, S_IRUGO|S_IRUSR); | ||
106 | MODULE_PARM_DESC(Bind, | ||
107 | "Target persistent binding method: " | ||
108 | "0 by Portname (default); 1 by PortID; 2 by Nodename. "); | ||
109 | |||
110 | int ql2xsuspendcount = SUSPEND_COUNT; | ||
111 | module_param(ql2xsuspendcount, int, S_IRUGO|S_IWUSR); | ||
112 | MODULE_PARM_DESC(ql2xsuspendcount, | ||
113 | "Number of 6-second suspend iterations to perform while a " | ||
114 | "target returns a <NOT READY> status. Default is 10 " | ||
115 | "iterations."); | ||
116 | |||
117 | int ql2xloginretrycount = 0; | 77 | int ql2xloginretrycount = 0; |
118 | module_param(ql2xloginretrycount, int, S_IRUGO|S_IRUSR); | 78 | module_param(ql2xloginretrycount, int, S_IRUGO|S_IRUSR); |
119 | MODULE_PARM_DESC(ql2xloginretrycount, | 79 | MODULE_PARM_DESC(ql2xloginretrycount, |
@@ -330,7 +290,6 @@ qla2x00_queuecommand(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)) | |||
330 | sp->fcport = fcport; | 290 | sp->fcport = fcport; |
331 | sp->cmd = cmd; | 291 | sp->cmd = cmd; |
332 | sp->flags = 0; | 292 | sp->flags = 0; |
333 | sp->err_id = 0; | ||
334 | 293 | ||
335 | CMD_SP(cmd) = (void *)sp; | 294 | CMD_SP(cmd) = (void *)sp; |
336 | cmd->scsi_done = done; | 295 | cmd->scsi_done = done; |
@@ -474,7 +433,6 @@ qla2x00_wait_for_loop_ready(scsi_qla_host_t *ha) | |||
474 | 433 | ||
475 | while ((!atomic_read(&ha->loop_down_timer) && | 434 | while ((!atomic_read(&ha->loop_down_timer) && |
476 | atomic_read(&ha->loop_state) == LOOP_DOWN) || | 435 | atomic_read(&ha->loop_state) == LOOP_DOWN) || |
477 | test_bit(CFG_ACTIVE, &ha->cfg_flags) || | ||
478 | atomic_read(&ha->loop_state) != LOOP_READY) { | 436 | atomic_read(&ha->loop_state) != LOOP_READY) { |
479 | msleep(1000); | 437 | msleep(1000); |
480 | if (time_after_eq(jiffies, loop_timeout)) { | 438 | if (time_after_eq(jiffies, loop_timeout)) { |
@@ -519,7 +477,6 @@ qla2xxx_eh_abort(struct scsi_cmnd *cmd) | |||
519 | serial = cmd->serial_number; | 477 | serial = cmd->serial_number; |
520 | 478 | ||
521 | /* Check active list for command command. */ | 479 | /* Check active list for command command. */ |
522 | spin_unlock_irq(ha->host->host_lock); | ||
523 | spin_lock_irqsave(&ha->hardware_lock, flags); | 480 | spin_lock_irqsave(&ha->hardware_lock, flags); |
524 | for (i = 1; i < MAX_OUTSTANDING_COMMANDS; i++) { | 481 | for (i = 1; i < MAX_OUTSTANDING_COMMANDS; i++) { |
525 | sp = ha->outstanding_cmds[i]; | 482 | sp = ha->outstanding_cmds[i]; |
@@ -558,7 +515,6 @@ qla2xxx_eh_abort(struct scsi_cmnd *cmd) | |||
558 | "%x.\n", ha->host_no, id, lun, serial, ret); | 515 | "%x.\n", ha->host_no, id, lun, serial, ret); |
559 | } | 516 | } |
560 | } | 517 | } |
561 | spin_lock_irq(ha->host->host_lock); | ||
562 | 518 | ||
563 | qla_printk(KERN_INFO, ha, | 519 | qla_printk(KERN_INFO, ha, |
564 | "scsi(%ld:%d:%d): Abort command issued -- %lx %x.\n", ha->host_no, | 520 | "scsi(%ld:%d:%d): Abort command issued -- %lx %x.\n", ha->host_no, |
@@ -658,12 +614,8 @@ qla2xxx_eh_device_reset(struct scsi_cmnd *cmd) | |||
658 | qla_printk(KERN_INFO, ha, | 614 | qla_printk(KERN_INFO, ha, |
659 | "scsi(%ld:%d:%d): DEVICE RESET ISSUED.\n", ha->host_no, id, lun); | 615 | "scsi(%ld:%d:%d): DEVICE RESET ISSUED.\n", ha->host_no, id, lun); |
660 | 616 | ||
661 | spin_unlock_irq(ha->host->host_lock); | 617 | if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) |
662 | |||
663 | if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) { | ||
664 | spin_lock_irq(ha->host->host_lock); | ||
665 | goto eh_dev_reset_done; | 618 | goto eh_dev_reset_done; |
666 | } | ||
667 | 619 | ||
668 | if (qla2x00_wait_for_loop_ready(ha) == QLA_SUCCESS) { | 620 | if (qla2x00_wait_for_loop_ready(ha) == QLA_SUCCESS) { |
669 | if (qla2x00_device_reset(ha, fcport) == 0) | 621 | if (qla2x00_device_reset(ha, fcport) == 0) |
@@ -714,8 +666,6 @@ qla2xxx_eh_device_reset(struct scsi_cmnd *cmd) | |||
714 | "scsi(%ld:%d:%d): DEVICE RESET SUCCEEDED.\n", ha->host_no, id, lun); | 666 | "scsi(%ld:%d:%d): DEVICE RESET SUCCEEDED.\n", ha->host_no, id, lun); |
715 | 667 | ||
716 | eh_dev_reset_done: | 668 | eh_dev_reset_done: |
717 | spin_lock_irq(ha->host->host_lock); | ||
718 | |||
719 | return ret; | 669 | return ret; |
720 | } | 670 | } |
721 | 671 | ||
@@ -805,8 +755,6 @@ qla2xxx_eh_bus_reset(struct scsi_cmnd *cmd) | |||
805 | qla_printk(KERN_INFO, ha, | 755 | qla_printk(KERN_INFO, ha, |
806 | "scsi(%ld:%d:%d): LOOP RESET ISSUED.\n", ha->host_no, id, lun); | 756 | "scsi(%ld:%d:%d): LOOP RESET ISSUED.\n", ha->host_no, id, lun); |
807 | 757 | ||
808 | spin_unlock_irq(ha->host->host_lock); | ||
809 | |||
810 | if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) { | 758 | if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) { |
811 | DEBUG2(printk("%s failed:board disabled\n",__func__)); | 759 | DEBUG2(printk("%s failed:board disabled\n",__func__)); |
812 | goto eh_bus_reset_done; | 760 | goto eh_bus_reset_done; |
@@ -828,8 +776,6 @@ eh_bus_reset_done: | |||
828 | qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__, | 776 | qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__, |
829 | (ret == FAILED) ? "failed" : "succeded"); | 777 | (ret == FAILED) ? "failed" : "succeded"); |
830 | 778 | ||
831 | spin_lock_irq(ha->host->host_lock); | ||
832 | |||
833 | return ret; | 779 | return ret; |
834 | } | 780 | } |
835 | 781 | ||
@@ -871,8 +817,6 @@ qla2xxx_eh_host_reset(struct scsi_cmnd *cmd) | |||
871 | qla_printk(KERN_INFO, ha, | 817 | qla_printk(KERN_INFO, ha, |
872 | "scsi(%ld:%d:%d): ADAPTER RESET ISSUED.\n", ha->host_no, id, lun); | 818 | "scsi(%ld:%d:%d): ADAPTER RESET ISSUED.\n", ha->host_no, id, lun); |
873 | 819 | ||
874 | spin_unlock_irq(ha->host->host_lock); | ||
875 | |||
876 | if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) | 820 | if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) |
877 | goto eh_host_reset_lock; | 821 | goto eh_host_reset_lock; |
878 | 822 | ||
@@ -901,8 +845,6 @@ qla2xxx_eh_host_reset(struct scsi_cmnd *cmd) | |||
901 | ret = SUCCESS; | 845 | ret = SUCCESS; |
902 | 846 | ||
903 | eh_host_reset_lock: | 847 | eh_host_reset_lock: |
904 | spin_lock_irq(ha->host->host_lock); | ||
905 | |||
906 | qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__, | 848 | qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__, |
907 | (ret == FAILED) ? "failed" : "succeded"); | 849 | (ret == FAILED) ? "failed" : "succeded"); |
908 | 850 | ||
@@ -1150,7 +1092,7 @@ iospace_error_exit: | |||
1150 | */ | 1092 | */ |
1151 | int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) | 1093 | int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) |
1152 | { | 1094 | { |
1153 | int ret; | 1095 | int ret = -ENODEV; |
1154 | device_reg_t __iomem *reg; | 1096 | device_reg_t __iomem *reg; |
1155 | struct Scsi_Host *host; | 1097 | struct Scsi_Host *host; |
1156 | scsi_qla_host_t *ha; | 1098 | scsi_qla_host_t *ha; |
@@ -1161,7 +1103,7 @@ int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) | |||
1161 | fc_port_t *fcport; | 1103 | fc_port_t *fcport; |
1162 | 1104 | ||
1163 | if (pci_enable_device(pdev)) | 1105 | if (pci_enable_device(pdev)) |
1164 | return -1; | 1106 | goto probe_out; |
1165 | 1107 | ||
1166 | host = scsi_host_alloc(&qla2x00_driver_template, | 1108 | host = scsi_host_alloc(&qla2x00_driver_template, |
1167 | sizeof(scsi_qla_host_t)); | 1109 | sizeof(scsi_qla_host_t)); |
@@ -1183,9 +1125,8 @@ int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) | |||
1183 | 1125 | ||
1184 | /* Configure PCI I/O space */ | 1126 | /* Configure PCI I/O space */ |
1185 | ret = qla2x00_iospace_config(ha); | 1127 | ret = qla2x00_iospace_config(ha); |
1186 | if (ret != 0) { | 1128 | if (ret) |
1187 | goto probe_alloc_failed; | 1129 | goto probe_failed; |
1188 | } | ||
1189 | 1130 | ||
1190 | /* Sanitize the information from PCI BIOS. */ | 1131 | /* Sanitize the information from PCI BIOS. */ |
1191 | host->irq = pdev->irq; | 1132 | host->irq = pdev->irq; |
@@ -1196,34 +1137,24 @@ int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) | |||
1196 | 1137 | ||
1197 | spin_lock_init(&ha->hardware_lock); | 1138 | spin_lock_init(&ha->hardware_lock); |
1198 | 1139 | ||
1199 | /* 4.23 Initialize /proc/scsi/qla2x00 counters */ | ||
1200 | ha->actthreads = 0; | ||
1201 | ha->qthreads = 0; | ||
1202 | ha->total_isr_cnt = 0; | ||
1203 | ha->total_isp_aborts = 0; | ||
1204 | ha->total_lip_cnt = 0; | ||
1205 | ha->total_dev_errs = 0; | ||
1206 | ha->total_ios = 0; | ||
1207 | ha->total_bytes = 0; | ||
1208 | |||
1209 | ha->prev_topology = 0; | 1140 | ha->prev_topology = 0; |
1210 | ha->ports = MAX_BUSES; | 1141 | ha->ports = MAX_BUSES; |
1211 | 1142 | ||
1212 | if (IS_QLA2100(ha)) { | 1143 | if (IS_QLA2100(ha)) { |
1213 | ha->max_targets = MAX_TARGETS_2100; | 1144 | host->max_id = MAX_TARGETS_2100; |
1214 | ha->mbx_count = MAILBOX_REGISTER_COUNT_2100; | 1145 | ha->mbx_count = MAILBOX_REGISTER_COUNT_2100; |
1215 | ha->request_q_length = REQUEST_ENTRY_CNT_2100; | 1146 | ha->request_q_length = REQUEST_ENTRY_CNT_2100; |
1216 | ha->response_q_length = RESPONSE_ENTRY_CNT_2100; | 1147 | ha->response_q_length = RESPONSE_ENTRY_CNT_2100; |
1217 | ha->last_loop_id = SNS_LAST_LOOP_ID_2100; | 1148 | ha->last_loop_id = SNS_LAST_LOOP_ID_2100; |
1218 | host->sg_tablesize = 32; | 1149 | host->sg_tablesize = 32; |
1219 | } else if (IS_QLA2200(ha)) { | 1150 | } else if (IS_QLA2200(ha)) { |
1220 | ha->max_targets = MAX_TARGETS_2200; | 1151 | host->max_id = MAX_TARGETS_2200; |
1221 | ha->mbx_count = MAILBOX_REGISTER_COUNT; | 1152 | ha->mbx_count = MAILBOX_REGISTER_COUNT; |
1222 | ha->request_q_length = REQUEST_ENTRY_CNT_2200; | 1153 | ha->request_q_length = REQUEST_ENTRY_CNT_2200; |
1223 | ha->response_q_length = RESPONSE_ENTRY_CNT_2100; | 1154 | ha->response_q_length = RESPONSE_ENTRY_CNT_2100; |
1224 | ha->last_loop_id = SNS_LAST_LOOP_ID_2100; | 1155 | ha->last_loop_id = SNS_LAST_LOOP_ID_2100; |
1225 | } else /*if (IS_QLA2300(ha))*/ { | 1156 | } else /*if (IS_QLA2300(ha))*/ { |
1226 | ha->max_targets = MAX_TARGETS_2200; | 1157 | host->max_id = MAX_TARGETS_2200; |
1227 | ha->mbx_count = MAILBOX_REGISTER_COUNT; | 1158 | ha->mbx_count = MAILBOX_REGISTER_COUNT; |
1228 | ha->request_q_length = REQUEST_ENTRY_CNT_2200; | 1159 | ha->request_q_length = REQUEST_ENTRY_CNT_2200; |
1229 | ha->response_q_length = RESPONSE_ENTRY_CNT_2300; | 1160 | ha->response_q_length = RESPONSE_ENTRY_CNT_2300; |
@@ -1258,23 +1189,10 @@ int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) | |||
1258 | qla_printk(KERN_WARNING, ha, | 1189 | qla_printk(KERN_WARNING, ha, |
1259 | "[ERROR] Failed to allocate memory for adapter\n"); | 1190 | "[ERROR] Failed to allocate memory for adapter\n"); |
1260 | 1191 | ||
1261 | goto probe_alloc_failed; | 1192 | ret = -ENOMEM; |
1193 | goto probe_failed; | ||
1262 | } | 1194 | } |
1263 | 1195 | ||
1264 | pci_set_drvdata(pdev, ha); | ||
1265 | host->this_id = 255; | ||
1266 | host->cmd_per_lun = 3; | ||
1267 | host->unique_id = ha->instance; | ||
1268 | host->max_cmd_len = MAX_CMDSZ; | ||
1269 | host->max_channel = ha->ports - 1; | ||
1270 | host->max_id = ha->max_targets; | ||
1271 | host->max_lun = ha->max_luns; | ||
1272 | host->transportt = qla2xxx_transport_template; | ||
1273 | if (scsi_add_host(host, &pdev->dev)) | ||
1274 | goto probe_alloc_failed; | ||
1275 | |||
1276 | qla2x00_alloc_sysfs_attr(ha); | ||
1277 | |||
1278 | if (qla2x00_initialize_adapter(ha) && | 1196 | if (qla2x00_initialize_adapter(ha) && |
1279 | !(ha->device_flags & DFLG_NO_CABLE)) { | 1197 | !(ha->device_flags & DFLG_NO_CABLE)) { |
1280 | 1198 | ||
@@ -1285,11 +1203,10 @@ int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) | |||
1285 | "Adapter flags %x.\n", | 1203 | "Adapter flags %x.\n", |
1286 | ha->host_no, ha->device_flags)); | 1204 | ha->host_no, ha->device_flags)); |
1287 | 1205 | ||
1206 | ret = -ENODEV; | ||
1288 | goto probe_failed; | 1207 | goto probe_failed; |
1289 | } | 1208 | } |
1290 | 1209 | ||
1291 | qla2x00_init_host_attr(ha); | ||
1292 | |||
1293 | /* | 1210 | /* |
1294 | * Startup the kernel thread for this host adapter | 1211 | * Startup the kernel thread for this host adapter |
1295 | */ | 1212 | */ |
@@ -1299,17 +1216,26 @@ int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) | |||
1299 | qla_printk(KERN_WARNING, ha, | 1216 | qla_printk(KERN_WARNING, ha, |
1300 | "Unable to start DPC thread!\n"); | 1217 | "Unable to start DPC thread!\n"); |
1301 | 1218 | ||
1219 | ret = -ENODEV; | ||
1302 | goto probe_failed; | 1220 | goto probe_failed; |
1303 | } | 1221 | } |
1304 | wait_for_completion(&ha->dpc_inited); | 1222 | wait_for_completion(&ha->dpc_inited); |
1305 | 1223 | ||
1224 | host->this_id = 255; | ||
1225 | host->cmd_per_lun = 3; | ||
1226 | host->unique_id = ha->instance; | ||
1227 | host->max_cmd_len = MAX_CMDSZ; | ||
1228 | host->max_channel = ha->ports - 1; | ||
1229 | host->max_lun = MAX_LUNS; | ||
1230 | host->transportt = qla2xxx_transport_template; | ||
1231 | |||
1306 | if (IS_QLA2100(ha) || IS_QLA2200(ha)) | 1232 | if (IS_QLA2100(ha) || IS_QLA2200(ha)) |
1307 | ret = request_irq(host->irq, qla2100_intr_handler, | 1233 | ret = request_irq(host->irq, qla2100_intr_handler, |
1308 | SA_INTERRUPT|SA_SHIRQ, ha->brd_info->drv_name, ha); | 1234 | SA_INTERRUPT|SA_SHIRQ, ha->brd_info->drv_name, ha); |
1309 | else | 1235 | else |
1310 | ret = request_irq(host->irq, qla2300_intr_handler, | 1236 | ret = request_irq(host->irq, qla2300_intr_handler, |
1311 | SA_INTERRUPT|SA_SHIRQ, ha->brd_info->drv_name, ha); | 1237 | SA_INTERRUPT|SA_SHIRQ, ha->brd_info->drv_name, ha); |
1312 | if (ret != 0) { | 1238 | if (ret) { |
1313 | qla_printk(KERN_WARNING, ha, | 1239 | qla_printk(KERN_WARNING, ha, |
1314 | "Failed to reserve interrupt %d already in use.\n", | 1240 | "Failed to reserve interrupt %d already in use.\n", |
1315 | host->irq); | 1241 | host->irq); |
@@ -1363,9 +1289,18 @@ int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) | |||
1363 | msleep(10); | 1289 | msleep(10); |
1364 | } | 1290 | } |
1365 | 1291 | ||
1292 | pci_set_drvdata(pdev, ha); | ||
1366 | ha->flags.init_done = 1; | 1293 | ha->flags.init_done = 1; |
1367 | num_hosts++; | 1294 | num_hosts++; |
1368 | 1295 | ||
1296 | ret = scsi_add_host(host, &pdev->dev); | ||
1297 | if (ret) | ||
1298 | goto probe_failed; | ||
1299 | |||
1300 | qla2x00_alloc_sysfs_attr(ha); | ||
1301 | |||
1302 | qla2x00_init_host_attr(ha); | ||
1303 | |||
1369 | qla_printk(KERN_INFO, ha, "\n" | 1304 | qla_printk(KERN_INFO, ha, "\n" |
1370 | " QLogic Fibre Channel HBA Driver: %s\n" | 1305 | " QLogic Fibre Channel HBA Driver: %s\n" |
1371 | " QLogic %s - %s\n" | 1306 | " QLogic %s - %s\n" |
@@ -1384,9 +1319,6 @@ int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) | |||
1384 | probe_failed: | 1319 | probe_failed: |
1385 | fc_remove_host(ha->host); | 1320 | fc_remove_host(ha->host); |
1386 | 1321 | ||
1387 | scsi_remove_host(host); | ||
1388 | |||
1389 | probe_alloc_failed: | ||
1390 | qla2x00_free_device(ha); | 1322 | qla2x00_free_device(ha); |
1391 | 1323 | ||
1392 | scsi_host_put(host); | 1324 | scsi_host_put(host); |
@@ -1394,7 +1326,8 @@ probe_alloc_failed: | |||
1394 | probe_disable_device: | 1326 | probe_disable_device: |
1395 | pci_disable_device(pdev); | 1327 | pci_disable_device(pdev); |
1396 | 1328 | ||
1397 | return -1; | 1329 | probe_out: |
1330 | return ret; | ||
1398 | } | 1331 | } |
1399 | EXPORT_SYMBOL_GPL(qla2x00_probe_one); | 1332 | EXPORT_SYMBOL_GPL(qla2x00_probe_one); |
1400 | 1333 | ||
@@ -2338,8 +2271,7 @@ static int __init | |||
2338 | qla2x00_module_init(void) | 2271 | qla2x00_module_init(void) |
2339 | { | 2272 | { |
2340 | /* Allocate cache for SRBs. */ | 2273 | /* Allocate cache for SRBs. */ |
2341 | sprintf(srb_cachep_name, "qla2xxx_srbs"); | 2274 | srb_cachep = kmem_cache_create("qla2xxx_srbs", sizeof(srb_t), 0, |
2342 | srb_cachep = kmem_cache_create(srb_cachep_name, sizeof(srb_t), 0, | ||
2343 | SLAB_HWCACHE_ALIGN, NULL, NULL); | 2275 | SLAB_HWCACHE_ALIGN, NULL, NULL); |
2344 | if (srb_cachep == NULL) { | 2276 | if (srb_cachep == NULL) { |
2345 | printk(KERN_ERR | 2277 | printk(KERN_ERR |
@@ -2367,16 +2299,7 @@ qla2x00_module_init(void) | |||
2367 | static void __exit | 2299 | static void __exit |
2368 | qla2x00_module_exit(void) | 2300 | qla2x00_module_exit(void) |
2369 | { | 2301 | { |
2370 | /* Free SRBs cache. */ | 2302 | kmem_cache_destroy(srb_cachep); |
2371 | if (srb_cachep != NULL) { | ||
2372 | if (kmem_cache_destroy(srb_cachep) != 0) { | ||
2373 | printk(KERN_ERR | ||
2374 | "qla2xxx: Unable to free SRB cache...Memory pools " | ||
2375 | "still active?\n"); | ||
2376 | } | ||
2377 | srb_cachep = NULL; | ||
2378 | } | ||
2379 | |||
2380 | fc_release_transport(qla2xxx_transport_template); | 2303 | fc_release_transport(qla2xxx_transport_template); |
2381 | } | 2304 | } |
2382 | 2305 | ||
diff --git a/drivers/scsi/qlogicfas.c b/drivers/scsi/qlogicfas.c index a1adb38f69bb..55e698b651d6 100644 --- a/drivers/scsi/qlogicfas.c +++ b/drivers/scsi/qlogicfas.c | |||
@@ -191,8 +191,6 @@ static Scsi_Host_Template qlogicfas_driver_template = { | |||
191 | .queuecommand = qlogicfas408_queuecommand, | 191 | .queuecommand = qlogicfas408_queuecommand, |
192 | .eh_abort_handler = qlogicfas408_abort, | 192 | .eh_abort_handler = qlogicfas408_abort, |
193 | .eh_bus_reset_handler = qlogicfas408_bus_reset, | 193 | .eh_bus_reset_handler = qlogicfas408_bus_reset, |
194 | .eh_device_reset_handler= qlogicfas408_device_reset, | ||
195 | .eh_host_reset_handler = qlogicfas408_host_reset, | ||
196 | .bios_param = qlogicfas408_biosparam, | 194 | .bios_param = qlogicfas408_biosparam, |
197 | .can_queue = 1, | 195 | .can_queue = 1, |
198 | .this_id = -1, | 196 | .this_id = -1, |
diff --git a/drivers/scsi/qlogicfas408.c b/drivers/scsi/qlogicfas408.c index 5b6ce0a88f08..cb75e0b7baea 100644 --- a/drivers/scsi/qlogicfas408.c +++ b/drivers/scsi/qlogicfas408.c | |||
@@ -511,27 +511,15 @@ int qlogicfas408_abort(Scsi_Cmnd * cmd) | |||
511 | int qlogicfas408_bus_reset(Scsi_Cmnd * cmd) | 511 | int qlogicfas408_bus_reset(Scsi_Cmnd * cmd) |
512 | { | 512 | { |
513 | struct qlogicfas408_priv *priv = get_priv_by_cmd(cmd); | 513 | struct qlogicfas408_priv *priv = get_priv_by_cmd(cmd); |
514 | priv->qabort = 2; | 514 | unsigned long flags; |
515 | ql_zap(priv); | ||
516 | return SUCCESS; | ||
517 | } | ||
518 | |||
519 | /* | ||
520 | * Reset SCSI host controller | ||
521 | */ | ||
522 | 515 | ||
523 | int qlogicfas408_host_reset(Scsi_Cmnd * cmd) | 516 | priv->qabort = 2; |
524 | { | ||
525 | return FAILED; | ||
526 | } | ||
527 | 517 | ||
528 | /* | 518 | spin_lock_irqsave(cmd->device->host->host_lock, flags); |
529 | * Reset SCSI device | 519 | ql_zap(priv); |
530 | */ | 520 | spin_unlock_irqrestore(cmd->device->host->host_lock, flags); |
531 | 521 | ||
532 | int qlogicfas408_device_reset(Scsi_Cmnd * cmd) | 522 | return SUCCESS; |
533 | { | ||
534 | return FAILED; | ||
535 | } | 523 | } |
536 | 524 | ||
537 | /* | 525 | /* |
@@ -626,8 +614,6 @@ EXPORT_SYMBOL(qlogicfas408_info); | |||
626 | EXPORT_SYMBOL(qlogicfas408_queuecommand); | 614 | EXPORT_SYMBOL(qlogicfas408_queuecommand); |
627 | EXPORT_SYMBOL(qlogicfas408_abort); | 615 | EXPORT_SYMBOL(qlogicfas408_abort); |
628 | EXPORT_SYMBOL(qlogicfas408_bus_reset); | 616 | EXPORT_SYMBOL(qlogicfas408_bus_reset); |
629 | EXPORT_SYMBOL(qlogicfas408_device_reset); | ||
630 | EXPORT_SYMBOL(qlogicfas408_host_reset); | ||
631 | EXPORT_SYMBOL(qlogicfas408_biosparam); | 617 | EXPORT_SYMBOL(qlogicfas408_biosparam); |
632 | EXPORT_SYMBOL(qlogicfas408_ihandl); | 618 | EXPORT_SYMBOL(qlogicfas408_ihandl); |
633 | EXPORT_SYMBOL(qlogicfas408_get_chip_type); | 619 | EXPORT_SYMBOL(qlogicfas408_get_chip_type); |
diff --git a/drivers/scsi/qlogicfas408.h b/drivers/scsi/qlogicfas408.h index f01cbd66c224..4b3df2003660 100644 --- a/drivers/scsi/qlogicfas408.h +++ b/drivers/scsi/qlogicfas408.h | |||
@@ -109,8 +109,6 @@ int qlogicfas408_biosparam(struct scsi_device * disk, | |||
109 | sector_t capacity, int ip[]); | 109 | sector_t capacity, int ip[]); |
110 | int qlogicfas408_abort(Scsi_Cmnd * cmd); | 110 | int qlogicfas408_abort(Scsi_Cmnd * cmd); |
111 | int qlogicfas408_bus_reset(Scsi_Cmnd * cmd); | 111 | int qlogicfas408_bus_reset(Scsi_Cmnd * cmd); |
112 | int qlogicfas408_host_reset(Scsi_Cmnd * cmd); | ||
113 | int qlogicfas408_device_reset(Scsi_Cmnd * cmd); | ||
114 | const char *qlogicfas408_info(struct Scsi_Host *host); | 112 | const char *qlogicfas408_info(struct Scsi_Host *host); |
115 | int qlogicfas408_get_chip_type(int qbase, int int_type); | 113 | int qlogicfas408_get_chip_type(int qbase, int int_type); |
116 | void qlogicfas408_setup(int qbase, int id, int int_type); | 114 | void qlogicfas408_setup(int qbase, int id, int int_type); |
diff --git a/drivers/scsi/sata_sil.c b/drivers/scsi/sata_sil.c index 238580d244e6..49ed557a4b66 100644 --- a/drivers/scsi/sata_sil.c +++ b/drivers/scsi/sata_sil.c | |||
@@ -432,7 +432,13 @@ static int sil_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) | |||
432 | writeb(cls, mmio_base + SIL_FIFO_R0); | 432 | writeb(cls, mmio_base + SIL_FIFO_R0); |
433 | writeb(cls, mmio_base + SIL_FIFO_W0); | 433 | writeb(cls, mmio_base + SIL_FIFO_W0); |
434 | writeb(cls, mmio_base + SIL_FIFO_R1); | 434 | writeb(cls, mmio_base + SIL_FIFO_R1); |
435 | writeb(cls, mmio_base + SIL_FIFO_W2); | 435 | writeb(cls, mmio_base + SIL_FIFO_W1); |
436 | if (ent->driver_data == sil_3114) { | ||
437 | writeb(cls, mmio_base + SIL_FIFO_R2); | ||
438 | writeb(cls, mmio_base + SIL_FIFO_W2); | ||
439 | writeb(cls, mmio_base + SIL_FIFO_R3); | ||
440 | writeb(cls, mmio_base + SIL_FIFO_W3); | ||
441 | } | ||
436 | } else | 442 | } else |
437 | printk(KERN_WARNING DRV_NAME "(%s): cache line size not set. Driver may not function\n", | 443 | printk(KERN_WARNING DRV_NAME "(%s): cache line size not set. Driver may not function\n", |
438 | pci_name(pdev)); | 444 | pci_name(pdev)); |
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 184bcaeaf812..5578ae9a9e45 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c | |||
@@ -638,10 +638,12 @@ int scsi_dispatch_cmd(struct scsi_cmnd *cmd) | |||
638 | } | 638 | } |
639 | spin_unlock_irqrestore(host->host_lock, flags); | 639 | spin_unlock_irqrestore(host->host_lock, flags); |
640 | if (rtn) { | 640 | if (rtn) { |
641 | atomic_inc(&cmd->device->iodone_cnt); | 641 | if (scsi_delete_timer(cmd)) { |
642 | scsi_queue_insert(cmd, | 642 | atomic_inc(&cmd->device->iodone_cnt); |
643 | (rtn == SCSI_MLQUEUE_DEVICE_BUSY) ? | 643 | scsi_queue_insert(cmd, |
644 | rtn : SCSI_MLQUEUE_HOST_BUSY); | 644 | (rtn == SCSI_MLQUEUE_DEVICE_BUSY) ? |
645 | rtn : SCSI_MLQUEUE_HOST_BUSY); | ||
646 | } | ||
645 | SCSI_LOG_MLQUEUE(3, | 647 | SCSI_LOG_MLQUEUE(3, |
646 | printk("queuecommand : request rejected\n")); | 648 | printk("queuecommand : request rejected\n")); |
647 | } | 649 | } |
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 2bf1ee2b47b6..ceb4e0c99b37 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c | |||
@@ -434,8 +434,7 @@ static void scsi_eh_times_out(struct scsi_cmnd *scmd) | |||
434 | SCSI_LOG_ERROR_RECOVERY(3, printk("%s: scmd:%p\n", __FUNCTION__, | 434 | SCSI_LOG_ERROR_RECOVERY(3, printk("%s: scmd:%p\n", __FUNCTION__, |
435 | scmd)); | 435 | scmd)); |
436 | 436 | ||
437 | if (scmd->device->host->eh_action) | 437 | up(scmd->device->host->eh_action); |
438 | up(scmd->device->host->eh_action); | ||
439 | } | 438 | } |
440 | 439 | ||
441 | /** | 440 | /** |
@@ -457,8 +456,7 @@ static void scsi_eh_done(struct scsi_cmnd *scmd) | |||
457 | SCSI_LOG_ERROR_RECOVERY(3, printk("%s scmd: %p result: %x\n", | 456 | SCSI_LOG_ERROR_RECOVERY(3, printk("%s scmd: %p result: %x\n", |
458 | __FUNCTION__, scmd, scmd->result)); | 457 | __FUNCTION__, scmd, scmd->result)); |
459 | 458 | ||
460 | if (scmd->device->host->eh_action) | 459 | up(scmd->device->host->eh_action); |
461 | up(scmd->device->host->eh_action); | ||
462 | } | 460 | } |
463 | } | 461 | } |
464 | 462 | ||
@@ -528,10 +526,8 @@ static int scsi_send_eh_cmnd(struct scsi_cmnd *scmd, int timeout) | |||
528 | * abort a timed out command or not. not sure how | 526 | * abort a timed out command or not. not sure how |
529 | * we should treat them differently anyways. | 527 | * we should treat them differently anyways. |
530 | */ | 528 | */ |
531 | spin_lock_irqsave(shost->host_lock, flags); | ||
532 | if (shost->hostt->eh_abort_handler) | 529 | if (shost->hostt->eh_abort_handler) |
533 | shost->hostt->eh_abort_handler(scmd); | 530 | shost->hostt->eh_abort_handler(scmd); |
534 | spin_unlock_irqrestore(shost->host_lock, flags); | ||
535 | 531 | ||
536 | scmd->request->rq_status = RQ_SCSI_DONE; | 532 | scmd->request->rq_status = RQ_SCSI_DONE; |
537 | scmd->owner = SCSI_OWNER_ERROR_HANDLER; | 533 | scmd->owner = SCSI_OWNER_ERROR_HANDLER; |
@@ -737,11 +733,8 @@ static int scsi_eh_get_sense(struct list_head *work_q, | |||
737 | **/ | 733 | **/ |
738 | static int scsi_try_to_abort_cmd(struct scsi_cmnd *scmd) | 734 | static int scsi_try_to_abort_cmd(struct scsi_cmnd *scmd) |
739 | { | 735 | { |
740 | unsigned long flags; | ||
741 | int rtn = FAILED; | ||
742 | |||
743 | if (!scmd->device->host->hostt->eh_abort_handler) | 736 | if (!scmd->device->host->hostt->eh_abort_handler) |
744 | return rtn; | 737 | return FAILED; |
745 | 738 | ||
746 | /* | 739 | /* |
747 | * scsi_done was called just after the command timed out and before | 740 | * scsi_done was called just after the command timed out and before |
@@ -752,11 +745,7 @@ static int scsi_try_to_abort_cmd(struct scsi_cmnd *scmd) | |||
752 | 745 | ||
753 | scmd->owner = SCSI_OWNER_LOWLEVEL; | 746 | scmd->owner = SCSI_OWNER_LOWLEVEL; |
754 | 747 | ||
755 | spin_lock_irqsave(scmd->device->host->host_lock, flags); | 748 | return scmd->device->host->hostt->eh_abort_handler(scmd); |
756 | rtn = scmd->device->host->hostt->eh_abort_handler(scmd); | ||
757 | spin_unlock_irqrestore(scmd->device->host->host_lock, flags); | ||
758 | |||
759 | return rtn; | ||
760 | } | 749 | } |
761 | 750 | ||
762 | /** | 751 | /** |
@@ -770,6 +759,7 @@ static int scsi_eh_tur(struct scsi_cmnd *scmd) | |||
770 | { | 759 | { |
771 | static unsigned char tur_command[6] = {TEST_UNIT_READY, 0, 0, 0, 0, 0}; | 760 | static unsigned char tur_command[6] = {TEST_UNIT_READY, 0, 0, 0, 0, 0}; |
772 | int retry_cnt = 1, rtn; | 761 | int retry_cnt = 1, rtn; |
762 | int saved_result; | ||
773 | 763 | ||
774 | retry_tur: | 764 | retry_tur: |
775 | memcpy(scmd->cmnd, tur_command, sizeof(tur_command)); | 765 | memcpy(scmd->cmnd, tur_command, sizeof(tur_command)); |
@@ -780,6 +770,7 @@ retry_tur: | |||
780 | */ | 770 | */ |
781 | memset(scmd->sense_buffer, 0, sizeof(scmd->sense_buffer)); | 771 | memset(scmd->sense_buffer, 0, sizeof(scmd->sense_buffer)); |
782 | 772 | ||
773 | saved_result = scmd->result; | ||
783 | scmd->request_buffer = NULL; | 774 | scmd->request_buffer = NULL; |
784 | scmd->request_bufflen = 0; | 775 | scmd->request_bufflen = 0; |
785 | scmd->use_sg = 0; | 776 | scmd->use_sg = 0; |
@@ -794,6 +785,7 @@ retry_tur: | |||
794 | * the original request, so let's restore the original data. (db) | 785 | * the original request, so let's restore the original data. (db) |
795 | */ | 786 | */ |
796 | scsi_setup_cmd_retry(scmd); | 787 | scsi_setup_cmd_retry(scmd); |
788 | scmd->result = saved_result; | ||
797 | 789 | ||
798 | /* | 790 | /* |
799 | * hey, we are done. let's look to see what happened. | 791 | * hey, we are done. let's look to see what happened. |
@@ -865,17 +857,14 @@ static int scsi_eh_abort_cmds(struct list_head *work_q, | |||
865 | **/ | 857 | **/ |
866 | static int scsi_try_bus_device_reset(struct scsi_cmnd *scmd) | 858 | static int scsi_try_bus_device_reset(struct scsi_cmnd *scmd) |
867 | { | 859 | { |
868 | unsigned long flags; | 860 | int rtn; |
869 | int rtn = FAILED; | ||
870 | 861 | ||
871 | if (!scmd->device->host->hostt->eh_device_reset_handler) | 862 | if (!scmd->device->host->hostt->eh_device_reset_handler) |
872 | return rtn; | 863 | return FAILED; |
873 | 864 | ||
874 | scmd->owner = SCSI_OWNER_LOWLEVEL; | 865 | scmd->owner = SCSI_OWNER_LOWLEVEL; |
875 | 866 | ||
876 | spin_lock_irqsave(scmd->device->host->host_lock, flags); | ||
877 | rtn = scmd->device->host->hostt->eh_device_reset_handler(scmd); | 867 | rtn = scmd->device->host->hostt->eh_device_reset_handler(scmd); |
878 | spin_unlock_irqrestore(scmd->device->host->host_lock, flags); | ||
879 | 868 | ||
880 | if (rtn == SUCCESS) { | 869 | if (rtn == SUCCESS) { |
881 | scmd->device->was_reset = 1; | 870 | scmd->device->was_reset = 1; |
@@ -896,6 +885,7 @@ static int scsi_eh_try_stu(struct scsi_cmnd *scmd) | |||
896 | { | 885 | { |
897 | static unsigned char stu_command[6] = {START_STOP, 0, 0, 0, 1, 0}; | 886 | static unsigned char stu_command[6] = {START_STOP, 0, 0, 0, 1, 0}; |
898 | int rtn; | 887 | int rtn; |
888 | int saved_result; | ||
899 | 889 | ||
900 | if (!scmd->device->allow_restart) | 890 | if (!scmd->device->allow_restart) |
901 | return 1; | 891 | return 1; |
@@ -908,6 +898,7 @@ static int scsi_eh_try_stu(struct scsi_cmnd *scmd) | |||
908 | */ | 898 | */ |
909 | memset(scmd->sense_buffer, 0, sizeof(scmd->sense_buffer)); | 899 | memset(scmd->sense_buffer, 0, sizeof(scmd->sense_buffer)); |
910 | 900 | ||
901 | saved_result = scmd->result; | ||
911 | scmd->request_buffer = NULL; | 902 | scmd->request_buffer = NULL; |
912 | scmd->request_bufflen = 0; | 903 | scmd->request_bufflen = 0; |
913 | scmd->use_sg = 0; | 904 | scmd->use_sg = 0; |
@@ -922,6 +913,7 @@ static int scsi_eh_try_stu(struct scsi_cmnd *scmd) | |||
922 | * the original request, so let's restore the original data. (db) | 913 | * the original request, so let's restore the original data. (db) |
923 | */ | 914 | */ |
924 | scsi_setup_cmd_retry(scmd); | 915 | scsi_setup_cmd_retry(scmd); |
916 | scmd->result = saved_result; | ||
925 | 917 | ||
926 | /* | 918 | /* |
927 | * hey, we are done. let's look to see what happened. | 919 | * hey, we are done. let's look to see what happened. |
@@ -1061,9 +1053,7 @@ static int scsi_try_bus_reset(struct scsi_cmnd *scmd) | |||
1061 | if (!scmd->device->host->hostt->eh_bus_reset_handler) | 1053 | if (!scmd->device->host->hostt->eh_bus_reset_handler) |
1062 | return FAILED; | 1054 | return FAILED; |
1063 | 1055 | ||
1064 | spin_lock_irqsave(scmd->device->host->host_lock, flags); | ||
1065 | rtn = scmd->device->host->hostt->eh_bus_reset_handler(scmd); | 1056 | rtn = scmd->device->host->hostt->eh_bus_reset_handler(scmd); |
1066 | spin_unlock_irqrestore(scmd->device->host->host_lock, flags); | ||
1067 | 1057 | ||
1068 | if (rtn == SUCCESS) { | 1058 | if (rtn == SUCCESS) { |
1069 | if (!scmd->device->host->hostt->skip_settle_delay) | 1059 | if (!scmd->device->host->hostt->skip_settle_delay) |
@@ -1092,9 +1082,7 @@ static int scsi_try_host_reset(struct scsi_cmnd *scmd) | |||
1092 | if (!scmd->device->host->hostt->eh_host_reset_handler) | 1082 | if (!scmd->device->host->hostt->eh_host_reset_handler) |
1093 | return FAILED; | 1083 | return FAILED; |
1094 | 1084 | ||
1095 | spin_lock_irqsave(scmd->device->host->host_lock, flags); | ||
1096 | rtn = scmd->device->host->hostt->eh_host_reset_handler(scmd); | 1085 | rtn = scmd->device->host->hostt->eh_host_reset_handler(scmd); |
1097 | spin_unlock_irqrestore(scmd->device->host->host_lock, flags); | ||
1098 | 1086 | ||
1099 | if (rtn == SUCCESS) { | 1087 | if (rtn == SUCCESS) { |
1100 | if (!scmd->device->host->hostt->skip_settle_delay) | 1088 | if (!scmd->device->host->hostt->skip_settle_delay) |
@@ -1561,6 +1549,11 @@ static void scsi_eh_flush_done_q(struct list_head *done_q) | |||
1561 | scmd)); | 1549 | scmd)); |
1562 | scsi_queue_insert(scmd, SCSI_MLQUEUE_EH_RETRY); | 1550 | scsi_queue_insert(scmd, SCSI_MLQUEUE_EH_RETRY); |
1563 | } else { | 1551 | } else { |
1552 | /* | ||
1553 | * If just we got sense for the device (called | ||
1554 | * scsi_eh_get_sense), scmd->result is already | ||
1555 | * set, do not set DRIVER_TIMEOUT. | ||
1556 | */ | ||
1564 | if (!scmd->result) | 1557 | if (!scmd->result) |
1565 | scmd->result |= (DRIVER_TIMEOUT << 24); | 1558 | scmd->result |= (DRIVER_TIMEOUT << 24); |
1566 | SCSI_LOG_ERROR_RECOVERY(3, printk("%s: flush finish" | 1559 | SCSI_LOG_ERROR_RECOVERY(3, printk("%s: flush finish" |
@@ -1870,7 +1863,6 @@ scsi_reset_provider(struct scsi_device *dev, int flag) | |||
1870 | rtn = FAILED; | 1863 | rtn = FAILED; |
1871 | } | 1864 | } |
1872 | 1865 | ||
1873 | scsi_delete_timer(scmd); | ||
1874 | scsi_next_command(scmd); | 1866 | scsi_next_command(scmd); |
1875 | return rtn; | 1867 | return rtn; |
1876 | } | 1868 | } |
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index d18da21c9c57..9f996499fa9d 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -92,10 +92,12 @@ int scsi_insert_special_req(struct scsi_request *sreq, int at_head) | |||
92 | */ | 92 | */ |
93 | sreq->sr_request->flags &= ~REQ_DONTPREP; | 93 | sreq->sr_request->flags &= ~REQ_DONTPREP; |
94 | blk_insert_request(sreq->sr_device->request_queue, sreq->sr_request, | 94 | blk_insert_request(sreq->sr_device->request_queue, sreq->sr_request, |
95 | at_head, sreq, 0); | 95 | at_head, sreq); |
96 | return 0; | 96 | return 0; |
97 | } | 97 | } |
98 | 98 | ||
99 | static void scsi_run_queue(struct request_queue *q); | ||
100 | |||
99 | /* | 101 | /* |
100 | * Function: scsi_queue_insert() | 102 | * Function: scsi_queue_insert() |
101 | * | 103 | * |
@@ -119,18 +121,14 @@ int scsi_queue_insert(struct scsi_cmnd *cmd, int reason) | |||
119 | { | 121 | { |
120 | struct Scsi_Host *host = cmd->device->host; | 122 | struct Scsi_Host *host = cmd->device->host; |
121 | struct scsi_device *device = cmd->device; | 123 | struct scsi_device *device = cmd->device; |
124 | struct request_queue *q = device->request_queue; | ||
125 | unsigned long flags; | ||
122 | 126 | ||
123 | SCSI_LOG_MLQUEUE(1, | 127 | SCSI_LOG_MLQUEUE(1, |
124 | printk("Inserting command %p into mlqueue\n", cmd)); | 128 | printk("Inserting command %p into mlqueue\n", cmd)); |
125 | 129 | ||
126 | /* | 130 | /* |
127 | * We are inserting the command into the ml queue. First, we | 131 | * Set the appropriate busy bit for the device/host. |
128 | * cancel the timer, so it doesn't time out. | ||
129 | */ | ||
130 | scsi_delete_timer(cmd); | ||
131 | |||
132 | /* | ||
133 | * Next, set the appropriate busy bit for the device/host. | ||
134 | * | 132 | * |
135 | * If the host/device isn't busy, assume that something actually | 133 | * If the host/device isn't busy, assume that something actually |
136 | * completed, and that we should be able to queue a command now. | 134 | * completed, and that we should be able to queue a command now. |
@@ -160,17 +158,22 @@ int scsi_queue_insert(struct scsi_cmnd *cmd, int reason) | |||
160 | scsi_device_unbusy(device); | 158 | scsi_device_unbusy(device); |
161 | 159 | ||
162 | /* | 160 | /* |
163 | * Insert this command at the head of the queue for it's device. | 161 | * Requeue this command. It will go before all other commands |
164 | * It will go before all other commands that are already in the queue. | 162 | * that are already in the queue. |
165 | * | 163 | * |
166 | * NOTE: there is magic here about the way the queue is plugged if | 164 | * NOTE: there is magic here about the way the queue is plugged if |
167 | * we have no outstanding commands. | 165 | * we have no outstanding commands. |
168 | * | 166 | * |
169 | * Although this *doesn't* plug the queue, it does call the request | 167 | * Although we *don't* plug the queue, we call the request |
170 | * function. The SCSI request function detects the blocked condition | 168 | * function. The SCSI request function detects the blocked condition |
171 | * and plugs the queue appropriately. | 169 | * and plugs the queue appropriately. |
172 | */ | 170 | */ |
173 | blk_insert_request(device->request_queue, cmd->request, 1, cmd, 1); | 171 | spin_lock_irqsave(q->queue_lock, flags); |
172 | blk_requeue_request(q, cmd->request); | ||
173 | spin_unlock_irqrestore(q->queue_lock, flags); | ||
174 | |||
175 | scsi_run_queue(q); | ||
176 | |||
174 | return 0; | 177 | return 0; |
175 | } | 178 | } |
176 | 179 | ||
@@ -485,8 +488,13 @@ static void scsi_run_queue(struct request_queue *q) | |||
485 | */ | 488 | */ |
486 | static void scsi_requeue_command(struct request_queue *q, struct scsi_cmnd *cmd) | 489 | static void scsi_requeue_command(struct request_queue *q, struct scsi_cmnd *cmd) |
487 | { | 490 | { |
491 | unsigned long flags; | ||
492 | |||
488 | cmd->request->flags &= ~REQ_DONTPREP; | 493 | cmd->request->flags &= ~REQ_DONTPREP; |
489 | blk_insert_request(q, cmd->request, 1, cmd, 1); | 494 | |
495 | spin_lock_irqsave(q->queue_lock, flags); | ||
496 | blk_requeue_request(q, cmd->request); | ||
497 | spin_unlock_irqrestore(q->queue_lock, flags); | ||
490 | 498 | ||
491 | scsi_run_queue(q); | 499 | scsi_run_queue(q); |
492 | } | 500 | } |
@@ -941,10 +949,8 @@ static int scsi_init_io(struct scsi_cmnd *cmd) | |||
941 | * if sg table allocation fails, requeue request later. | 949 | * if sg table allocation fails, requeue request later. |
942 | */ | 950 | */ |
943 | sgpnt = scsi_alloc_sgtable(cmd, GFP_ATOMIC); | 951 | sgpnt = scsi_alloc_sgtable(cmd, GFP_ATOMIC); |
944 | if (unlikely(!sgpnt)) { | 952 | if (unlikely(!sgpnt)) |
945 | req->flags |= REQ_SPECIAL; | ||
946 | return BLKPREP_DEFER; | 953 | return BLKPREP_DEFER; |
947 | } | ||
948 | 954 | ||
949 | cmd->request_buffer = (char *) sgpnt; | 955 | cmd->request_buffer = (char *) sgpnt; |
950 | cmd->request_bufflen = req->nr_sectors << 9; | 956 | cmd->request_bufflen = req->nr_sectors << 9; |
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index 8d0d302844a1..9fa209097e3b 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c | |||
@@ -293,6 +293,10 @@ static void scsi_target_dev_release(struct device *dev) | |||
293 | { | 293 | { |
294 | struct device *parent = dev->parent; | 294 | struct device *parent = dev->parent; |
295 | struct scsi_target *starget = to_scsi_target(dev); | 295 | struct scsi_target *starget = to_scsi_target(dev); |
296 | struct Scsi_Host *shost = dev_to_shost(parent); | ||
297 | |||
298 | if (shost->hostt->target_destroy) | ||
299 | shost->hostt->target_destroy(starget); | ||
296 | kfree(starget); | 300 | kfree(starget); |
297 | put_device(parent); | 301 | put_device(parent); |
298 | } | 302 | } |
@@ -360,9 +364,23 @@ static struct scsi_target *scsi_alloc_target(struct device *parent, | |||
360 | list_add_tail(&starget->siblings, &shost->__targets); | 364 | list_add_tail(&starget->siblings, &shost->__targets); |
361 | spin_unlock_irqrestore(shost->host_lock, flags); | 365 | spin_unlock_irqrestore(shost->host_lock, flags); |
362 | /* allocate and add */ | 366 | /* allocate and add */ |
363 | transport_setup_device(&starget->dev); | 367 | transport_setup_device(dev); |
364 | device_add(&starget->dev); | 368 | device_add(dev); |
365 | transport_add_device(&starget->dev); | 369 | transport_add_device(dev); |
370 | if (shost->hostt->target_alloc) { | ||
371 | int error = shost->hostt->target_alloc(starget); | ||
372 | |||
373 | if(error) { | ||
374 | dev_printk(KERN_ERR, dev, "target allocation failed, error %d\n", error); | ||
375 | /* don't want scsi_target_reap to do the final | ||
376 | * put because it will be under the host lock */ | ||
377 | get_device(dev); | ||
378 | scsi_target_reap(starget); | ||
379 | put_device(dev); | ||
380 | return NULL; | ||
381 | } | ||
382 | } | ||
383 | |||
366 | return starget; | 384 | return starget; |
367 | 385 | ||
368 | found: | 386 | found: |
@@ -625,6 +643,7 @@ static int scsi_add_lun(struct scsi_device *sdev, char *inq_result, int *bflags) | |||
625 | case TYPE_MEDIUM_CHANGER: | 643 | case TYPE_MEDIUM_CHANGER: |
626 | case TYPE_ENCLOSURE: | 644 | case TYPE_ENCLOSURE: |
627 | case TYPE_COMM: | 645 | case TYPE_COMM: |
646 | case TYPE_RBC: | ||
628 | sdev->writeable = 1; | 647 | sdev->writeable = 1; |
629 | break; | 648 | break; |
630 | case TYPE_WORM: | 649 | case TYPE_WORM: |
diff --git a/drivers/scsi/scsi_transport_spi.c b/drivers/scsi/scsi_transport_spi.c index 67c6cc40ce16..c87ae469d707 100644 --- a/drivers/scsi/scsi_transport_spi.c +++ b/drivers/scsi/scsi_transport_spi.c | |||
@@ -669,6 +669,7 @@ spi_dv_retrain(struct scsi_request *sreq, u8 *buffer, u8 *ptr, | |||
669 | { | 669 | { |
670 | struct spi_internal *i = to_spi_internal(sreq->sr_host->transportt); | 670 | struct spi_internal *i = to_spi_internal(sreq->sr_host->transportt); |
671 | struct scsi_device *sdev = sreq->sr_device; | 671 | struct scsi_device *sdev = sreq->sr_device; |
672 | struct scsi_target *starget = sdev->sdev_target; | ||
672 | int period = 0, prevperiod = 0; | 673 | int period = 0, prevperiod = 0; |
673 | enum spi_compare_returns retval; | 674 | enum spi_compare_returns retval; |
674 | 675 | ||
@@ -682,24 +683,40 @@ spi_dv_retrain(struct scsi_request *sreq, u8 *buffer, u8 *ptr, | |||
682 | break; | 683 | break; |
683 | 684 | ||
684 | /* OK, retrain, fallback */ | 685 | /* OK, retrain, fallback */ |
686 | if (i->f->get_iu) | ||
687 | i->f->get_iu(starget); | ||
688 | if (i->f->get_qas) | ||
689 | i->f->get_qas(starget); | ||
685 | if (i->f->get_period) | 690 | if (i->f->get_period) |
686 | i->f->get_period(sdev->sdev_target); | 691 | i->f->get_period(sdev->sdev_target); |
687 | newperiod = spi_period(sdev->sdev_target); | 692 | |
688 | period = newperiod > period ? newperiod : period; | 693 | /* Here's the fallback sequence; first try turning off |
689 | if (period < 0x0d) | 694 | * IU, then QAS (if we can control them), then finally |
690 | period++; | 695 | * fall down the periods */ |
691 | else | 696 | if (i->f->set_iu && spi_iu(starget)) { |
692 | period += period >> 1; | 697 | SPI_PRINTK(starget, KERN_ERR, "Domain Validation Disabing Information Units\n"); |
693 | 698 | DV_SET(iu, 0); | |
694 | if (unlikely(period > 0xff || period == prevperiod)) { | 699 | } else if (i->f->set_qas && spi_qas(starget)) { |
695 | /* Total failure; set to async and return */ | 700 | SPI_PRINTK(starget, KERN_ERR, "Domain Validation Disabing Quick Arbitration and Selection\n"); |
696 | SPI_PRINTK(sdev->sdev_target, KERN_ERR, "Domain Validation Failure, dropping back to Asynchronous\n"); | 701 | DV_SET(qas, 0); |
697 | DV_SET(offset, 0); | 702 | } else { |
698 | return SPI_COMPARE_FAILURE; | 703 | newperiod = spi_period(starget); |
704 | period = newperiod > period ? newperiod : period; | ||
705 | if (period < 0x0d) | ||
706 | period++; | ||
707 | else | ||
708 | period += period >> 1; | ||
709 | |||
710 | if (unlikely(period > 0xff || period == prevperiod)) { | ||
711 | /* Total failure; set to async and return */ | ||
712 | SPI_PRINTK(starget, KERN_ERR, "Domain Validation Failure, dropping back to Asynchronous\n"); | ||
713 | DV_SET(offset, 0); | ||
714 | return SPI_COMPARE_FAILURE; | ||
715 | } | ||
716 | SPI_PRINTK(starget, KERN_ERR, "Domain Validation detected failure, dropping back\n"); | ||
717 | DV_SET(period, period); | ||
718 | prevperiod = period; | ||
699 | } | 719 | } |
700 | SPI_PRINTK(sdev->sdev_target, KERN_ERR, "Domain Validation detected failure, dropping back\n"); | ||
701 | DV_SET(period, period); | ||
702 | prevperiod = period; | ||
703 | } | 720 | } |
704 | return retval; | 721 | return retval; |
705 | } | 722 | } |
@@ -768,23 +785,21 @@ spi_dv_device_internal(struct scsi_request *sreq, u8 *buffer) | |||
768 | 785 | ||
769 | if (spi_dv_device_compare_inquiry(sreq, buffer, buffer, DV_LOOPS) | 786 | if (spi_dv_device_compare_inquiry(sreq, buffer, buffer, DV_LOOPS) |
770 | != SPI_COMPARE_SUCCESS) { | 787 | != SPI_COMPARE_SUCCESS) { |
771 | SPI_PRINTK(sdev->sdev_target, KERN_ERR, "Domain Validation Initial Inquiry Failed\n"); | 788 | SPI_PRINTK(starget, KERN_ERR, "Domain Validation Initial Inquiry Failed\n"); |
772 | /* FIXME: should probably offline the device here? */ | 789 | /* FIXME: should probably offline the device here? */ |
773 | return; | 790 | return; |
774 | } | 791 | } |
775 | 792 | ||
776 | /* test width */ | 793 | /* test width */ |
777 | if (i->f->set_width && spi_max_width(starget) && sdev->wdtr) { | 794 | if (i->f->set_width && spi_max_width(starget) && sdev->wdtr) { |
778 | i->f->set_width(sdev->sdev_target, 1); | 795 | i->f->set_width(starget, 1); |
779 | |||
780 | printk("WIDTH IS %d\n", spi_max_width(starget)); | ||
781 | 796 | ||
782 | if (spi_dv_device_compare_inquiry(sreq, buffer, | 797 | if (spi_dv_device_compare_inquiry(sreq, buffer, |
783 | buffer + len, | 798 | buffer + len, |
784 | DV_LOOPS) | 799 | DV_LOOPS) |
785 | != SPI_COMPARE_SUCCESS) { | 800 | != SPI_COMPARE_SUCCESS) { |
786 | SPI_PRINTK(sdev->sdev_target, KERN_ERR, "Wide Transfers Fail\n"); | 801 | SPI_PRINTK(starget, KERN_ERR, "Wide Transfers Fail\n"); |
787 | i->f->set_width(sdev->sdev_target, 0); | 802 | i->f->set_width(starget, 0); |
788 | } | 803 | } |
789 | } | 804 | } |
790 | 805 | ||
@@ -792,7 +807,7 @@ spi_dv_device_internal(struct scsi_request *sreq, u8 *buffer) | |||
792 | return; | 807 | return; |
793 | 808 | ||
794 | /* device can't handle synchronous */ | 809 | /* device can't handle synchronous */ |
795 | if(!sdev->ppr && !sdev->sdtr) | 810 | if (!sdev->ppr && !sdev->sdtr) |
796 | return; | 811 | return; |
797 | 812 | ||
798 | /* see if the device has an echo buffer. If it does we can | 813 | /* see if the device has an echo buffer. If it does we can |
@@ -807,16 +822,30 @@ spi_dv_device_internal(struct scsi_request *sreq, u8 *buffer) | |||
807 | /* now set up to the maximum */ | 822 | /* now set up to the maximum */ |
808 | DV_SET(offset, spi_max_offset(starget)); | 823 | DV_SET(offset, spi_max_offset(starget)); |
809 | DV_SET(period, spi_min_period(starget)); | 824 | DV_SET(period, spi_min_period(starget)); |
825 | /* try QAS requests; this should be harmless to set if the | ||
826 | * target supports it */ | ||
827 | DV_SET(qas, 1); | ||
828 | /* Also try IU transfers */ | ||
829 | DV_SET(iu, 1); | ||
830 | if (spi_min_period(starget) < 9) { | ||
831 | /* This u320 (or u640). Ignore the coupled parameters | ||
832 | * like DT and IU, but set the optional ones */ | ||
833 | DV_SET(rd_strm, 1); | ||
834 | DV_SET(wr_flow, 1); | ||
835 | DV_SET(rti, 1); | ||
836 | if (spi_min_period(starget) == 8) | ||
837 | DV_SET(pcomp_en, 1); | ||
838 | } | ||
810 | 839 | ||
811 | if (len == 0) { | 840 | if (len == 0) { |
812 | SPI_PRINTK(sdev->sdev_target, KERN_INFO, "Domain Validation skipping write tests\n"); | 841 | SPI_PRINTK(starget, KERN_INFO, "Domain Validation skipping write tests\n"); |
813 | spi_dv_retrain(sreq, buffer, buffer + len, | 842 | spi_dv_retrain(sreq, buffer, buffer + len, |
814 | spi_dv_device_compare_inquiry); | 843 | spi_dv_device_compare_inquiry); |
815 | return; | 844 | return; |
816 | } | 845 | } |
817 | 846 | ||
818 | if (len > SPI_MAX_ECHO_BUFFER_SIZE) { | 847 | if (len > SPI_MAX_ECHO_BUFFER_SIZE) { |
819 | SPI_PRINTK(sdev->sdev_target, KERN_WARNING, "Echo buffer size %d is too big, trimming to %d\n", len, SPI_MAX_ECHO_BUFFER_SIZE); | 848 | SPI_PRINTK(starget, KERN_WARNING, "Echo buffer size %d is too big, trimming to %d\n", len, SPI_MAX_ECHO_BUFFER_SIZE); |
820 | len = SPI_MAX_ECHO_BUFFER_SIZE; | 849 | len = SPI_MAX_ECHO_BUFFER_SIZE; |
821 | } | 850 | } |
822 | 851 | ||
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 19afb25e44d3..bb8235598787 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c | |||
@@ -1368,17 +1368,26 @@ sd_read_write_protect_flag(struct scsi_disk *sdkp, char *diskname, | |||
1368 | */ | 1368 | */ |
1369 | static void | 1369 | static void |
1370 | sd_read_cache_type(struct scsi_disk *sdkp, char *diskname, | 1370 | sd_read_cache_type(struct scsi_disk *sdkp, char *diskname, |
1371 | struct scsi_request *SRpnt, unsigned char *buffer) { | 1371 | struct scsi_request *SRpnt, unsigned char *buffer) |
1372 | { | ||
1372 | int len = 0, res; | 1373 | int len = 0, res; |
1373 | 1374 | ||
1374 | const int dbd = 0; /* DBD */ | 1375 | int dbd; |
1375 | const int modepage = 0x08; /* current values, cache page */ | 1376 | int modepage; |
1376 | struct scsi_mode_data data; | 1377 | struct scsi_mode_data data; |
1377 | struct scsi_sense_hdr sshdr; | 1378 | struct scsi_sense_hdr sshdr; |
1378 | 1379 | ||
1379 | if (sdkp->device->skip_ms_page_8) | 1380 | if (sdkp->device->skip_ms_page_8) |
1380 | goto defaults; | 1381 | goto defaults; |
1381 | 1382 | ||
1383 | if (sdkp->device->type == TYPE_RBC) { | ||
1384 | modepage = 6; | ||
1385 | dbd = 8; | ||
1386 | } else { | ||
1387 | modepage = 8; | ||
1388 | dbd = 0; | ||
1389 | } | ||
1390 | |||
1382 | /* cautiously ask */ | 1391 | /* cautiously ask */ |
1383 | res = sd_do_mode_sense(SRpnt, dbd, modepage, buffer, 4, &data); | 1392 | res = sd_do_mode_sense(SRpnt, dbd, modepage, buffer, 4, &data); |
1384 | 1393 | ||
@@ -1409,11 +1418,20 @@ sd_read_cache_type(struct scsi_disk *sdkp, char *diskname, | |||
1409 | "write back, no read (daft)" | 1418 | "write back, no read (daft)" |
1410 | }; | 1419 | }; |
1411 | int ct = 0; | 1420 | int ct = 0; |
1412 | int offset = data.header_length + | 1421 | int offset = data.header_length + data.block_descriptor_length; |
1413 | data.block_descriptor_length + 2; | ||
1414 | 1422 | ||
1415 | sdkp->WCE = ((buffer[offset] & 0x04) != 0); | 1423 | if ((buffer[offset] & 0x3f) != modepage) { |
1416 | sdkp->RCD = ((buffer[offset] & 0x01) != 0); | 1424 | printk(KERN_ERR "%s: got wrong page\n", diskname); |
1425 | goto defaults; | ||
1426 | } | ||
1427 | |||
1428 | if (modepage == 8) { | ||
1429 | sdkp->WCE = ((buffer[offset + 2] & 0x04) != 0); | ||
1430 | sdkp->RCD = ((buffer[offset + 2] & 0x01) != 0); | ||
1431 | } else { | ||
1432 | sdkp->WCE = ((buffer[offset + 2] & 0x01) == 0); | ||
1433 | sdkp->RCD = 0; | ||
1434 | } | ||
1417 | 1435 | ||
1418 | ct = sdkp->RCD + 2*sdkp->WCE; | 1436 | ct = sdkp->RCD + 2*sdkp->WCE; |
1419 | 1437 | ||
@@ -1533,7 +1551,7 @@ static int sd_probe(struct device *dev) | |||
1533 | int error; | 1551 | int error; |
1534 | 1552 | ||
1535 | error = -ENODEV; | 1553 | error = -ENODEV; |
1536 | if ((sdp->type != TYPE_DISK) && (sdp->type != TYPE_MOD)) | 1554 | if (sdp->type != TYPE_DISK && sdp->type != TYPE_MOD && sdp->type != TYPE_RBC) |
1537 | goto out; | 1555 | goto out; |
1538 | 1556 | ||
1539 | SCSI_LOG_HLQUEUE(3, printk("sd_attach: scsi device: <%d,%d,%d,%d>\n", | 1557 | SCSI_LOG_HLQUEUE(3, printk("sd_attach: scsi device: <%d,%d,%d,%d>\n", |
@@ -1570,7 +1588,7 @@ static int sd_probe(struct device *dev) | |||
1570 | sdkp->openers = 0; | 1588 | sdkp->openers = 0; |
1571 | 1589 | ||
1572 | if (!sdp->timeout) { | 1590 | if (!sdp->timeout) { |
1573 | if (sdp->type == TYPE_DISK) | 1591 | if (sdp->type != TYPE_MOD) |
1574 | sdp->timeout = SD_TIMEOUT; | 1592 | sdp->timeout = SD_TIMEOUT; |
1575 | else | 1593 | else |
1576 | sdp->timeout = SD_MOD_TIMEOUT; | 1594 | sdp->timeout = SD_MOD_TIMEOUT; |
diff --git a/drivers/scsi/seagate.c b/drivers/scsi/seagate.c index 4c95abb54057..a0cace9aeb79 100644 --- a/drivers/scsi/seagate.c +++ b/drivers/scsi/seagate.c | |||
@@ -97,6 +97,7 @@ | |||
97 | #include <linux/delay.h> | 97 | #include <linux/delay.h> |
98 | #include <linux/blkdev.h> | 98 | #include <linux/blkdev.h> |
99 | #include <linux/stat.h> | 99 | #include <linux/stat.h> |
100 | #include <linux/delay.h> | ||
100 | 101 | ||
101 | #include <asm/io.h> | 102 | #include <asm/io.h> |
102 | #include <asm/system.h> | 103 | #include <asm/system.h> |
@@ -1631,7 +1632,7 @@ static int seagate_st0x_bus_reset(Scsi_Cmnd * SCpnt) | |||
1631 | /* assert RESET signal on SCSI bus. */ | 1632 | /* assert RESET signal on SCSI bus. */ |
1632 | WRITE_CONTROL (BASE_CMD | CMD_RST); | 1633 | WRITE_CONTROL (BASE_CMD | CMD_RST); |
1633 | 1634 | ||
1634 | udelay (20 * 1000); | 1635 | mdelay (20); |
1635 | 1636 | ||
1636 | WRITE_CONTROL (BASE_CMD); | 1637 | WRITE_CONTROL (BASE_CMD); |
1637 | st0x_aborted = DID_RESET; | 1638 | st0x_aborted = DID_RESET; |
@@ -1640,16 +1641,6 @@ static int seagate_st0x_bus_reset(Scsi_Cmnd * SCpnt) | |||
1640 | return SUCCESS; | 1641 | return SUCCESS; |
1641 | } | 1642 | } |
1642 | 1643 | ||
1643 | static int seagate_st0x_host_reset(Scsi_Cmnd *SCpnt) | ||
1644 | { | ||
1645 | return FAILED; | ||
1646 | } | ||
1647 | |||
1648 | static int seagate_st0x_device_reset(Scsi_Cmnd *SCpnt) | ||
1649 | { | ||
1650 | return FAILED; | ||
1651 | } | ||
1652 | |||
1653 | static int seagate_st0x_release(struct Scsi_Host *shost) | 1644 | static int seagate_st0x_release(struct Scsi_Host *shost) |
1654 | { | 1645 | { |
1655 | if (shost->irq) | 1646 | if (shost->irq) |
@@ -1665,8 +1656,6 @@ static Scsi_Host_Template driver_template = { | |||
1665 | .queuecommand = seagate_st0x_queue_command, | 1656 | .queuecommand = seagate_st0x_queue_command, |
1666 | .eh_abort_handler = seagate_st0x_abort, | 1657 | .eh_abort_handler = seagate_st0x_abort, |
1667 | .eh_bus_reset_handler = seagate_st0x_bus_reset, | 1658 | .eh_bus_reset_handler = seagate_st0x_bus_reset, |
1668 | .eh_host_reset_handler = seagate_st0x_host_reset, | ||
1669 | .eh_device_reset_handler = seagate_st0x_device_reset, | ||
1670 | .can_queue = 1, | 1659 | .can_queue = 1, |
1671 | .this_id = 7, | 1660 | .this_id = 7, |
1672 | .sg_tablesize = SG_ALL, | 1661 | .sg_tablesize = SG_ALL, |
diff --git a/drivers/scsi/seagate.h b/drivers/scsi/seagate.h index e49e8ecfb54d..8889ff1a6b20 100644 --- a/drivers/scsi/seagate.h +++ b/drivers/scsi/seagate.h | |||
@@ -15,7 +15,5 @@ static int seagate_st0x_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); | |||
15 | static int seagate_st0x_abort(Scsi_Cmnd *); | 15 | static int seagate_st0x_abort(Scsi_Cmnd *); |
16 | static const char *seagate_st0x_info(struct Scsi_Host *); | 16 | static const char *seagate_st0x_info(struct Scsi_Host *); |
17 | static int seagate_st0x_bus_reset(Scsi_Cmnd *); | 17 | static int seagate_st0x_bus_reset(Scsi_Cmnd *); |
18 | static int seagate_st0x_device_reset(Scsi_Cmnd *); | ||
19 | static int seagate_st0x_host_reset(Scsi_Cmnd *); | ||
20 | 18 | ||
21 | #endif /* _SEAGATE_H */ | 19 | #endif /* _SEAGATE_H */ |
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 7936aafc3d05..3d1d7bff38ed 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -2472,6 +2472,8 @@ sg_remove_request(Sg_fd * sfp, Sg_request * srp) | |||
2472 | if ((!sfp) || (!srp) || (!sfp->headrp)) | 2472 | if ((!sfp) || (!srp) || (!sfp->headrp)) |
2473 | return res; | 2473 | return res; |
2474 | write_lock_irqsave(&sfp->rq_list_lock, iflags); | 2474 | write_lock_irqsave(&sfp->rq_list_lock, iflags); |
2475 | if (srp->my_cmdp) | ||
2476 | srp->my_cmdp->upper_private_data = NULL; | ||
2475 | prev_rp = sfp->headrp; | 2477 | prev_rp = sfp->headrp; |
2476 | if (srp == prev_rp) { | 2478 | if (srp == prev_rp) { |
2477 | sfp->headrp = prev_rp->nextrp; | 2479 | sfp->headrp = prev_rp->nextrp; |
diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c index 270f2aa88faa..a5ba2c692752 100644 --- a/drivers/scsi/sgiwd93.c +++ b/drivers/scsi/sgiwd93.c | |||
@@ -310,7 +310,14 @@ int sgiwd93_release(struct Scsi_Host *instance) | |||
310 | static int sgiwd93_bus_reset(Scsi_Cmnd *cmd) | 310 | static int sgiwd93_bus_reset(Scsi_Cmnd *cmd) |
311 | { | 311 | { |
312 | /* FIXME perform bus-specific reset */ | 312 | /* FIXME perform bus-specific reset */ |
313 | |||
314 | /* FIXME 2: kill this function, and let midlayer fallback | ||
315 | to the same result, calling wd33c93_host_reset() */ | ||
316 | |||
317 | spin_lock_irq(cmd->device->host->host_lock); | ||
313 | wd33c93_host_reset(cmd); | 318 | wd33c93_host_reset(cmd); |
319 | spin_unlock_irq(cmd->device->host->host_lock); | ||
320 | |||
314 | return SUCCESS; | 321 | return SUCCESS; |
315 | } | 322 | } |
316 | 323 | ||
diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index 265d1eed64fa..03b902c20e09 100644 --- a/drivers/scsi/st.c +++ b/drivers/scsi/st.c | |||
@@ -17,7 +17,7 @@ | |||
17 | Last modified: 18-JAN-1998 Richard Gooch <rgooch@atnf.csiro.au> Devfs support | 17 | Last modified: 18-JAN-1998 Richard Gooch <rgooch@atnf.csiro.au> Devfs support |
18 | */ | 18 | */ |
19 | 19 | ||
20 | static char *verstr = "20050312"; | 20 | static char *verstr = "20050501"; |
21 | 21 | ||
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | 23 | ||
@@ -29,6 +29,7 @@ static char *verstr = "20050312"; | |||
29 | #include <linux/string.h> | 29 | #include <linux/string.h> |
30 | #include <linux/errno.h> | 30 | #include <linux/errno.h> |
31 | #include <linux/mtio.h> | 31 | #include <linux/mtio.h> |
32 | #include <linux/cdrom.h> | ||
32 | #include <linux/ioctl.h> | 33 | #include <linux/ioctl.h> |
33 | #include <linux/fcntl.h> | 34 | #include <linux/fcntl.h> |
34 | #include <linux/spinlock.h> | 35 | #include <linux/spinlock.h> |
@@ -50,6 +51,7 @@ static char *verstr = "20050312"; | |||
50 | #include <scsi/scsi_host.h> | 51 | #include <scsi/scsi_host.h> |
51 | #include <scsi/scsi_ioctl.h> | 52 | #include <scsi/scsi_ioctl.h> |
52 | #include <scsi/scsi_request.h> | 53 | #include <scsi/scsi_request.h> |
54 | #include <scsi/sg.h> | ||
53 | 55 | ||
54 | 56 | ||
55 | /* The driver prints some debugging information on the console if DEBUG | 57 | /* The driver prints some debugging information on the console if DEBUG |
@@ -3463,7 +3465,10 @@ static int st_ioctl(struct inode *inode, struct file *file, | |||
3463 | case SCSI_IOCTL_GET_BUS_NUMBER: | 3465 | case SCSI_IOCTL_GET_BUS_NUMBER: |
3464 | break; | 3466 | break; |
3465 | default: | 3467 | default: |
3466 | if (!capable(CAP_SYS_ADMIN)) | 3468 | if ((cmd_in == SG_IO || |
3469 | cmd_in == SCSI_IOCTL_SEND_COMMAND || | ||
3470 | cmd_in == CDROM_SEND_PACKET) && | ||
3471 | !capable(CAP_SYS_RAWIO)) | ||
3467 | i = -EPERM; | 3472 | i = -EPERM; |
3468 | else | 3473 | else |
3469 | i = scsi_cmd_ioctl(file, STp->disk, cmd_in, p); | 3474 | i = scsi_cmd_ioctl(file, STp->disk, cmd_in, p); |
@@ -3471,10 +3476,12 @@ static int st_ioctl(struct inode *inode, struct file *file, | |||
3471 | return i; | 3476 | return i; |
3472 | break; | 3477 | break; |
3473 | } | 3478 | } |
3474 | if (!capable(CAP_SYS_ADMIN) && | 3479 | retval = scsi_ioctl(STp->device, cmd_in, p); |
3475 | (cmd_in == SCSI_IOCTL_START_UNIT || cmd_in == SCSI_IOCTL_STOP_UNIT)) | 3480 | if (!retval && cmd_in == SCSI_IOCTL_STOP_UNIT) { /* unload */ |
3476 | return -EPERM; | 3481 | STp->rew_at_close = 0; |
3477 | return scsi_ioctl(STp->device, cmd_in, p); | 3482 | STp->ready = ST_NO_TAPE; |
3483 | } | ||
3484 | return retval; | ||
3478 | 3485 | ||
3479 | out: | 3486 | out: |
3480 | up(&STp->lock); | 3487 | up(&STp->lock); |
diff --git a/drivers/scsi/sun3x_esp.c b/drivers/scsi/sun3x_esp.c index 5d1dc0e8ba21..09d7639079b4 100644 --- a/drivers/scsi/sun3x_esp.c +++ b/drivers/scsi/sun3x_esp.c | |||
@@ -23,8 +23,6 @@ | |||
23 | #include <asm/dvma.h> | 23 | #include <asm/dvma.h> |
24 | #include <asm/irq.h> | 24 | #include <asm/irq.h> |
25 | 25 | ||
26 | extern struct NCR_ESP *espchain; | ||
27 | |||
28 | static void dma_barrier(struct NCR_ESP *esp); | 26 | static void dma_barrier(struct NCR_ESP *esp); |
29 | static int dma_bytes_sent(struct NCR_ESP *esp, int fifo_count); | 27 | static int dma_bytes_sent(struct NCR_ESP *esp, int fifo_count); |
30 | static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp); | 28 | static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp); |
diff --git a/drivers/scsi/sym53c416.c b/drivers/scsi/sym53c416.c index ebfddd40ce67..ef19adc67eff 100644 --- a/drivers/scsi/sym53c416.c +++ b/drivers/scsi/sym53c416.c | |||
@@ -785,26 +785,14 @@ int sym53c416_queuecommand(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) | |||
785 | return 0; | 785 | return 0; |
786 | } | 786 | } |
787 | 787 | ||
788 | static int sym53c416_abort(Scsi_Cmnd *SCpnt) | ||
789 | { | ||
790 | return FAILED; | ||
791 | } | ||
792 | |||
793 | static int sym53c416_bus_reset(Scsi_Cmnd *SCpnt) | ||
794 | { | ||
795 | return FAILED; | ||
796 | } | ||
797 | |||
798 | static int sym53c416_device_reset(Scsi_Cmnd *SCpnt) | ||
799 | { | ||
800 | return FAILED; | ||
801 | } | ||
802 | |||
803 | static int sym53c416_host_reset(Scsi_Cmnd *SCpnt) | 788 | static int sym53c416_host_reset(Scsi_Cmnd *SCpnt) |
804 | { | 789 | { |
805 | int base; | 790 | int base; |
806 | int scsi_id = -1; | 791 | int scsi_id = -1; |
807 | int i; | 792 | int i; |
793 | unsigned long flags; | ||
794 | |||
795 | spin_lock_irqsave(&sym53c416_lock, flags); | ||
808 | 796 | ||
809 | /* printk("sym53c416_reset\n"); */ | 797 | /* printk("sym53c416_reset\n"); */ |
810 | base = SCpnt->device->host->io_port; | 798 | base = SCpnt->device->host->io_port; |
@@ -816,6 +804,8 @@ static int sym53c416_host_reset(Scsi_Cmnd *SCpnt) | |||
816 | outb(NOOP | PIO_MODE, base + COMMAND_REG); | 804 | outb(NOOP | PIO_MODE, base + COMMAND_REG); |
817 | outb(RESET_SCSI_BUS, base + COMMAND_REG); | 805 | outb(RESET_SCSI_BUS, base + COMMAND_REG); |
818 | sym53c416_init(base, scsi_id); | 806 | sym53c416_init(base, scsi_id); |
807 | |||
808 | spin_unlock_irqrestore(&sym53c416_lock, flags); | ||
819 | return SUCCESS; | 809 | return SUCCESS; |
820 | } | 810 | } |
821 | 811 | ||
@@ -865,10 +855,7 @@ static Scsi_Host_Template driver_template = { | |||
865 | .detect = sym53c416_detect, | 855 | .detect = sym53c416_detect, |
866 | .info = sym53c416_info, | 856 | .info = sym53c416_info, |
867 | .queuecommand = sym53c416_queuecommand, | 857 | .queuecommand = sym53c416_queuecommand, |
868 | .eh_abort_handler = sym53c416_abort, | ||
869 | .eh_host_reset_handler =sym53c416_host_reset, | 858 | .eh_host_reset_handler =sym53c416_host_reset, |
870 | .eh_bus_reset_handler = sym53c416_bus_reset, | ||
871 | .eh_device_reset_handler =sym53c416_device_reset, | ||
872 | .release = sym53c416_release, | 859 | .release = sym53c416_release, |
873 | .bios_param = sym53c416_bios_param, | 860 | .bios_param = sym53c416_bios_param, |
874 | .can_queue = 1, | 861 | .can_queue = 1, |
diff --git a/drivers/scsi/sym53c416.h b/drivers/scsi/sym53c416.h index 3c0e3f8301f1..fd6b120d38c4 100644 --- a/drivers/scsi/sym53c416.h +++ b/drivers/scsi/sym53c416.h | |||
@@ -26,10 +26,7 @@ static int sym53c416_detect(Scsi_Host_Template *); | |||
26 | static const char *sym53c416_info(struct Scsi_Host *); | 26 | static const char *sym53c416_info(struct Scsi_Host *); |
27 | static int sym53c416_release(struct Scsi_Host *); | 27 | static int sym53c416_release(struct Scsi_Host *); |
28 | static int sym53c416_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); | 28 | static int sym53c416_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); |
29 | static int sym53c416_abort(Scsi_Cmnd *); | ||
30 | static int sym53c416_host_reset(Scsi_Cmnd *); | 29 | static int sym53c416_host_reset(Scsi_Cmnd *); |
31 | static int sym53c416_bus_reset(Scsi_Cmnd *); | ||
32 | static int sym53c416_device_reset(Scsi_Cmnd *); | ||
33 | static int sym53c416_bios_param(struct scsi_device *, struct block_device *, | 30 | static int sym53c416_bios_param(struct scsi_device *, struct block_device *, |
34 | sector_t, int *); | 31 | sector_t, int *); |
35 | static void sym53c416_setup(char *str, int *ints); | 32 | static void sym53c416_setup(char *str, int *ints); |
diff --git a/drivers/scsi/sym53c8xx_2/sym_defs.h b/drivers/scsi/sym53c8xx_2/sym_defs.h index 15bb89195c09..2d9437d7242b 100644 --- a/drivers/scsi/sym53c8xx_2/sym_defs.h +++ b/drivers/scsi/sym53c8xx_2/sym_defs.h | |||
@@ -40,7 +40,7 @@ | |||
40 | #ifndef SYM_DEFS_H | 40 | #ifndef SYM_DEFS_H |
41 | #define SYM_DEFS_H | 41 | #define SYM_DEFS_H |
42 | 42 | ||
43 | #define SYM_VERSION "2.2.0" | 43 | #define SYM_VERSION "2.2.1" |
44 | #define SYM_DRIVER_NAME "sym-" SYM_VERSION | 44 | #define SYM_DRIVER_NAME "sym-" SYM_VERSION |
45 | 45 | ||
46 | /* | 46 | /* |
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c index 5b07c6ec3ecc..d76766c3ce16 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.c +++ b/drivers/scsi/sym53c8xx_2/sym_glue.c | |||
@@ -155,10 +155,11 @@ pci_get_base_address(struct pci_dev *pdev, int index, unsigned long *basep) | |||
155 | base = tmp; | 155 | base = tmp; |
156 | if ((tmp & 0x7) == PCI_BASE_ADDRESS_MEM_TYPE_64) { | 156 | if ((tmp & 0x7) == PCI_BASE_ADDRESS_MEM_TYPE_64) { |
157 | pci_read_config_dword(pdev, PCI_BAR_OFFSET(index++), &tmp); | 157 | pci_read_config_dword(pdev, PCI_BAR_OFFSET(index++), &tmp); |
158 | if (tmp > 0) | 158 | if (tmp > 0) { |
159 | dev_err(&pdev->dev, | 159 | dev_err(&pdev->dev, |
160 | "BAR %d is 64-bit, disabling\n", index - 1); | 160 | "BAR %d is 64-bit, disabling\n", index - 1); |
161 | base = 0; | 161 | base = 0; |
162 | } | ||
162 | } | 163 | } |
163 | 164 | ||
164 | if ((base & PCI_BASE_ADDRESS_SPACE) == PCI_BASE_ADDRESS_SPACE_IO) { | 165 | if ((base & PCI_BASE_ADDRESS_SPACE) == PCI_BASE_ADDRESS_SPACE_IO) { |
@@ -389,13 +390,20 @@ static int sym_scatter_no_sglist(struct sym_hcb *np, struct sym_ccb *cp, struct | |||
389 | { | 390 | { |
390 | struct sym_tblmove *data = &cp->phys.data[SYM_CONF_MAX_SG-1]; | 391 | struct sym_tblmove *data = &cp->phys.data[SYM_CONF_MAX_SG-1]; |
391 | int segment; | 392 | int segment; |
393 | unsigned int len = cmd->request_bufflen; | ||
392 | 394 | ||
393 | cp->data_len = cmd->request_bufflen; | 395 | if (len) { |
394 | |||
395 | if (cmd->request_bufflen) { | ||
396 | dma_addr_t baddr = map_scsi_single_data(np, cmd); | 396 | dma_addr_t baddr = map_scsi_single_data(np, cmd); |
397 | if (baddr) { | 397 | if (baddr) { |
398 | sym_build_sge(np, data, baddr, cmd->request_bufflen); | 398 | if (len & 1) { |
399 | struct sym_tcb *tp = &np->target[cp->target]; | ||
400 | if (tp->head.wval & EWS) { | ||
401 | len++; | ||
402 | cp->odd_byte_adjustment++; | ||
403 | } | ||
404 | } | ||
405 | cp->data_len = len; | ||
406 | sym_build_sge(np, data, baddr, len); | ||
399 | segment = 1; | 407 | segment = 1; |
400 | } else { | 408 | } else { |
401 | segment = -2; | 409 | segment = -2; |
@@ -418,6 +426,7 @@ static int sym_scatter(struct sym_hcb *np, struct sym_ccb *cp, struct scsi_cmnd | |||
418 | segment = sym_scatter_no_sglist(np, cp, cmd); | 426 | segment = sym_scatter_no_sglist(np, cp, cmd); |
419 | else if ((use_sg = map_scsi_sg_data(np, cmd)) > 0) { | 427 | else if ((use_sg = map_scsi_sg_data(np, cmd)) > 0) { |
420 | struct scatterlist *scatter = (struct scatterlist *)cmd->buffer; | 428 | struct scatterlist *scatter = (struct scatterlist *)cmd->buffer; |
429 | struct sym_tcb *tp = &np->target[cp->target]; | ||
421 | struct sym_tblmove *data; | 430 | struct sym_tblmove *data; |
422 | 431 | ||
423 | if (use_sg > SYM_CONF_MAX_SG) { | 432 | if (use_sg > SYM_CONF_MAX_SG) { |
@@ -431,6 +440,11 @@ static int sym_scatter(struct sym_hcb *np, struct sym_ccb *cp, struct scsi_cmnd | |||
431 | dma_addr_t baddr = sg_dma_address(&scatter[segment]); | 440 | dma_addr_t baddr = sg_dma_address(&scatter[segment]); |
432 | unsigned int len = sg_dma_len(&scatter[segment]); | 441 | unsigned int len = sg_dma_len(&scatter[segment]); |
433 | 442 | ||
443 | if ((len & 1) && (tp->head.wval & EWS)) { | ||
444 | len++; | ||
445 | cp->odd_byte_adjustment++; | ||
446 | } | ||
447 | |||
434 | sym_build_sge(np, &data[segment], baddr, len); | 448 | sym_build_sge(np, &data[segment], baddr, len); |
435 | cp->data_len += len; | 449 | cp->data_len += len; |
436 | } | 450 | } |
@@ -456,10 +470,8 @@ static int sym_queue_command(struct sym_hcb *np, struct scsi_cmnd *cmd) | |||
456 | * Minimal checkings, so that we will not | 470 | * Minimal checkings, so that we will not |
457 | * go outside our tables. | 471 | * go outside our tables. |
458 | */ | 472 | */ |
459 | if (sdev->id == np->myaddr || | 473 | if (sdev->id == np->myaddr) { |
460 | sdev->id >= SYM_CONF_MAX_TARGET || | 474 | sym_xpt_done2(np, cmd, DID_NO_CONNECT); |
461 | sdev->lun >= SYM_CONF_MAX_LUN) { | ||
462 | sym_xpt_done2(np, cmd, CAM_DEV_NOT_THERE); | ||
463 | return 0; | 475 | return 0; |
464 | } | 476 | } |
465 | 477 | ||
@@ -469,28 +481,6 @@ static int sym_queue_command(struct sym_hcb *np, struct scsi_cmnd *cmd) | |||
469 | tp = &np->target[sdev->id]; | 481 | tp = &np->target[sdev->id]; |
470 | 482 | ||
471 | /* | 483 | /* |
472 | * Complete the 1st INQUIRY command with error | ||
473 | * condition if the device is flagged NOSCAN | ||
474 | * at BOOT in the NVRAM. This may speed up | ||
475 | * the boot and maintain coherency with BIOS | ||
476 | * device numbering. Clearing the flag allows | ||
477 | * user to rescan skipped devices later. | ||
478 | * We also return error for devices not flagged | ||
479 | * for SCAN LUNS in the NVRAM since some mono-lun | ||
480 | * devices behave badly when asked for some non | ||
481 | * zero LUN. Btw, this is an absolute hack.:-) | ||
482 | */ | ||
483 | if (cmd->cmnd[0] == 0x12 || cmd->cmnd[0] == 0x0) { | ||
484 | if ((tp->usrflags & SYM_SCAN_BOOT_DISABLED) || | ||
485 | ((tp->usrflags & SYM_SCAN_LUNS_DISABLED) && | ||
486 | sdev->lun != 0)) { | ||
487 | tp->usrflags &= ~SYM_SCAN_BOOT_DISABLED; | ||
488 | sym_xpt_done2(np, cmd, CAM_DEV_NOT_THERE); | ||
489 | return 0; | ||
490 | } | ||
491 | } | ||
492 | |||
493 | /* | ||
494 | * Select tagged/untagged. | 484 | * Select tagged/untagged. |
495 | */ | 485 | */ |
496 | lp = sym_lp(tp, sdev->lun); | 486 | lp = sym_lp(tp, sdev->lun); |
@@ -511,23 +501,10 @@ static int sym_queue_command(struct sym_hcb *np, struct scsi_cmnd *cmd) | |||
511 | */ | 501 | */ |
512 | static inline int sym_setup_cdb(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) | 502 | static inline int sym_setup_cdb(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) |
513 | { | 503 | { |
514 | u32 cmd_ba; | ||
515 | int cmd_len; | ||
516 | |||
517 | /* | ||
518 | * CDB is 16 bytes max. | ||
519 | */ | ||
520 | if (cmd->cmd_len > sizeof(cp->cdb_buf)) { | ||
521 | sym_set_cam_status(cp->cmd, CAM_REQ_INVALID); | ||
522 | return -1; | ||
523 | } | ||
524 | |||
525 | memcpy(cp->cdb_buf, cmd->cmnd, cmd->cmd_len); | 504 | memcpy(cp->cdb_buf, cmd->cmnd, cmd->cmd_len); |
526 | cmd_ba = CCB_BA (cp, cdb_buf[0]); | ||
527 | cmd_len = cmd->cmd_len; | ||
528 | 505 | ||
529 | cp->phys.cmd.addr = cpu_to_scr(cmd_ba); | 506 | cp->phys.cmd.addr = CCB_BA(cp, cdb_buf[0]); |
530 | cp->phys.cmd.size = cpu_to_scr(cmd_len); | 507 | cp->phys.cmd.size = cpu_to_scr(cmd->cmd_len); |
531 | 508 | ||
532 | return 0; | 509 | return 0; |
533 | } | 510 | } |
@@ -554,10 +531,7 @@ int sym_setup_data_and_start(struct sym_hcb *np, struct scsi_cmnd *cmd, struct s | |||
554 | if (dir != DMA_NONE) { | 531 | if (dir != DMA_NONE) { |
555 | cp->segments = sym_scatter(np, cp, cmd); | 532 | cp->segments = sym_scatter(np, cp, cmd); |
556 | if (cp->segments < 0) { | 533 | if (cp->segments < 0) { |
557 | if (cp->segments == -2) | 534 | sym_set_cam_status(cmd, DID_ERROR); |
558 | sym_set_cam_status(cmd, CAM_RESRC_UNAVAIL); | ||
559 | else | ||
560 | sym_set_cam_status(cmd, CAM_REQ_TOO_BIG); | ||
561 | goto out_abort; | 535 | goto out_abort; |
562 | } | 536 | } |
563 | } else { | 537 | } else { |
@@ -855,7 +829,7 @@ prepare: | |||
855 | ep->to_do = to_do; | 829 | ep->to_do = to_do; |
856 | /* Complete the command with locks held as required by the driver */ | 830 | /* Complete the command with locks held as required by the driver */ |
857 | if (to_do == SYM_EH_DO_COMPLETE) | 831 | if (to_do == SYM_EH_DO_COMPLETE) |
858 | sym_xpt_done2(np, cmd, CAM_REQ_ABORTED); | 832 | sym_xpt_done2(np, cmd, DID_ABORT); |
859 | 833 | ||
860 | /* Wait for completion with locks released, as required by kernel */ | 834 | /* Wait for completion with locks released, as required by kernel */ |
861 | if (to_do == SYM_EH_DO_WAIT) { | 835 | if (to_do == SYM_EH_DO_WAIT) { |
@@ -882,22 +856,46 @@ prepare: | |||
882 | */ | 856 | */ |
883 | static int sym53c8xx_eh_abort_handler(struct scsi_cmnd *cmd) | 857 | static int sym53c8xx_eh_abort_handler(struct scsi_cmnd *cmd) |
884 | { | 858 | { |
885 | return sym_eh_handler(SYM_EH_ABORT, "ABORT", cmd); | 859 | int rc; |
860 | |||
861 | spin_lock_irq(cmd->device->host->host_lock); | ||
862 | rc = sym_eh_handler(SYM_EH_ABORT, "ABORT", cmd); | ||
863 | spin_unlock_irq(cmd->device->host->host_lock); | ||
864 | |||
865 | return rc; | ||
886 | } | 866 | } |
887 | 867 | ||
888 | static int sym53c8xx_eh_device_reset_handler(struct scsi_cmnd *cmd) | 868 | static int sym53c8xx_eh_device_reset_handler(struct scsi_cmnd *cmd) |
889 | { | 869 | { |
890 | return sym_eh_handler(SYM_EH_DEVICE_RESET, "DEVICE RESET", cmd); | 870 | int rc; |
871 | |||
872 | spin_lock_irq(cmd->device->host->host_lock); | ||
873 | rc = sym_eh_handler(SYM_EH_DEVICE_RESET, "DEVICE RESET", cmd); | ||
874 | spin_unlock_irq(cmd->device->host->host_lock); | ||
875 | |||
876 | return rc; | ||
891 | } | 877 | } |
892 | 878 | ||
893 | static int sym53c8xx_eh_bus_reset_handler(struct scsi_cmnd *cmd) | 879 | static int sym53c8xx_eh_bus_reset_handler(struct scsi_cmnd *cmd) |
894 | { | 880 | { |
895 | return sym_eh_handler(SYM_EH_BUS_RESET, "BUS RESET", cmd); | 881 | int rc; |
882 | |||
883 | spin_lock_irq(cmd->device->host->host_lock); | ||
884 | rc = sym_eh_handler(SYM_EH_BUS_RESET, "BUS RESET", cmd); | ||
885 | spin_unlock_irq(cmd->device->host->host_lock); | ||
886 | |||
887 | return rc; | ||
896 | } | 888 | } |
897 | 889 | ||
898 | static int sym53c8xx_eh_host_reset_handler(struct scsi_cmnd *cmd) | 890 | static int sym53c8xx_eh_host_reset_handler(struct scsi_cmnd *cmd) |
899 | { | 891 | { |
900 | return sym_eh_handler(SYM_EH_HOST_RESET, "HOST RESET", cmd); | 892 | int rc; |
893 | |||
894 | spin_lock_irq(cmd->device->host->host_lock); | ||
895 | rc = sym_eh_handler(SYM_EH_HOST_RESET, "HOST RESET", cmd); | ||
896 | spin_unlock_irq(cmd->device->host->host_lock); | ||
897 | |||
898 | return rc; | ||
901 | } | 899 | } |
902 | 900 | ||
903 | /* | 901 | /* |
@@ -921,7 +919,7 @@ static void sym_tune_dev_queuing(struct sym_tcb *tp, int lun, u_short reqtags) | |||
921 | lp->s.reqtags = reqtags; | 919 | lp->s.reqtags = reqtags; |
922 | 920 | ||
923 | if (reqtags != oldtags) { | 921 | if (reqtags != oldtags) { |
924 | dev_info(&tp->sdev->sdev_target->dev, | 922 | dev_info(&tp->starget->dev, |
925 | "tagged command queuing %s, command queue depth %d.\n", | 923 | "tagged command queuing %s, command queue depth %d.\n", |
926 | lp->s.reqtags ? "enabled" : "disabled", | 924 | lp->s.reqtags ? "enabled" : "disabled", |
927 | lp->started_limit); | 925 | lp->started_limit); |
@@ -981,22 +979,34 @@ static int device_queue_depth(struct sym_hcb *np, int target, int lun) | |||
981 | return DEF_DEPTH; | 979 | return DEF_DEPTH; |
982 | } | 980 | } |
983 | 981 | ||
984 | static int sym53c8xx_slave_alloc(struct scsi_device *device) | 982 | static int sym53c8xx_slave_alloc(struct scsi_device *sdev) |
985 | { | 983 | { |
986 | struct sym_hcb *np = sym_get_hcb(device->host); | 984 | struct sym_hcb *np; |
987 | struct sym_tcb *tp = &np->target[device->id]; | 985 | struct sym_tcb *tp; |
988 | if (!tp->sdev) | ||
989 | tp->sdev = device; | ||
990 | 986 | ||
991 | return 0; | 987 | if (sdev->id >= SYM_CONF_MAX_TARGET || sdev->lun >= SYM_CONF_MAX_LUN) |
992 | } | 988 | return -ENXIO; |
993 | 989 | ||
994 | static void sym53c8xx_slave_destroy(struct scsi_device *device) | 990 | np = sym_get_hcb(sdev->host); |
995 | { | 991 | tp = &np->target[sdev->id]; |
996 | struct sym_hcb *np = sym_get_hcb(device->host); | 992 | |
997 | struct sym_tcb *tp = &np->target[device->id]; | 993 | /* |
998 | if (tp->sdev == device) | 994 | * Fail the device init if the device is flagged NOSCAN at BOOT in |
999 | tp->sdev = NULL; | 995 | * the NVRAM. This may speed up boot and maintain coherency with |
996 | * BIOS device numbering. Clearing the flag allows the user to | ||
997 | * rescan skipped devices later. We also return an error for | ||
998 | * devices not flagged for SCAN LUNS in the NVRAM since some single | ||
999 | * lun devices behave badly when asked for a non zero LUN. | ||
1000 | */ | ||
1001 | |||
1002 | if ((tp->usrflags & SYM_SCAN_BOOT_DISABLED) || | ||
1003 | ((tp->usrflags & SYM_SCAN_LUNS_DISABLED) && sdev->lun != 0)) { | ||
1004 | tp->usrflags &= ~SYM_SCAN_BOOT_DISABLED; | ||
1005 | return -ENXIO; | ||
1006 | } | ||
1007 | |||
1008 | tp->starget = sdev->sdev_target; | ||
1009 | return 0; | ||
1000 | } | 1010 | } |
1001 | 1011 | ||
1002 | /* | 1012 | /* |
@@ -1897,6 +1907,7 @@ static int sym_detach(struct sym_hcb *np, struct pci_dev *pdev) | |||
1897 | */ | 1907 | */ |
1898 | printk("%s: resetting chip\n", sym_name(np)); | 1908 | printk("%s: resetting chip\n", sym_name(np)); |
1899 | OUTB(np, nc_istat, SRST); | 1909 | OUTB(np, nc_istat, SRST); |
1910 | INB(np, nc_mbox1); | ||
1900 | udelay(10); | 1911 | udelay(10); |
1901 | OUTB(np, nc_istat, 0); | 1912 | OUTB(np, nc_istat, 0); |
1902 | 1913 | ||
@@ -1915,7 +1926,6 @@ static struct scsi_host_template sym2_template = { | |||
1915 | .queuecommand = sym53c8xx_queue_command, | 1926 | .queuecommand = sym53c8xx_queue_command, |
1916 | .slave_alloc = sym53c8xx_slave_alloc, | 1927 | .slave_alloc = sym53c8xx_slave_alloc, |
1917 | .slave_configure = sym53c8xx_slave_configure, | 1928 | .slave_configure = sym53c8xx_slave_configure, |
1918 | .slave_destroy = sym53c8xx_slave_destroy, | ||
1919 | .eh_abort_handler = sym53c8xx_eh_abort_handler, | 1929 | .eh_abort_handler = sym53c8xx_eh_abort_handler, |
1920 | .eh_device_reset_handler = sym53c8xx_eh_device_reset_handler, | 1930 | .eh_device_reset_handler = sym53c8xx_eh_device_reset_handler, |
1921 | .eh_bus_reset_handler = sym53c8xx_eh_bus_reset_handler, | 1931 | .eh_bus_reset_handler = sym53c8xx_eh_bus_reset_handler, |
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.h b/drivers/scsi/sym53c8xx_2/sym_glue.h index e943f167fb51..d3d52f14d7c0 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.h +++ b/drivers/scsi/sym53c8xx_2/sym_glue.h | |||
@@ -142,33 +142,6 @@ | |||
142 | #define scr_to_cpu(dw) le32_to_cpu(dw) | 142 | #define scr_to_cpu(dw) le32_to_cpu(dw) |
143 | 143 | ||
144 | /* | 144 | /* |
145 | * Remap some status field values. | ||
146 | */ | ||
147 | #define CAM_REQ_CMP DID_OK | ||
148 | #define CAM_SEL_TIMEOUT DID_NO_CONNECT | ||
149 | #define CAM_CMD_TIMEOUT DID_TIME_OUT | ||
150 | #define CAM_REQ_ABORTED DID_ABORT | ||
151 | #define CAM_UNCOR_PARITY DID_PARITY | ||
152 | #define CAM_SCSI_BUS_RESET DID_RESET | ||
153 | #define CAM_REQUEUE_REQ DID_SOFT_ERROR | ||
154 | #define CAM_UNEXP_BUSFREE DID_ERROR | ||
155 | #define CAM_SCSI_BUSY DID_BUS_BUSY | ||
156 | |||
157 | #define CAM_DEV_NOT_THERE DID_NO_CONNECT | ||
158 | #define CAM_REQ_INVALID DID_ERROR | ||
159 | #define CAM_REQ_TOO_BIG DID_ERROR | ||
160 | |||
161 | #define CAM_RESRC_UNAVAIL DID_ERROR | ||
162 | |||
163 | /* | ||
164 | * Remap data direction values. | ||
165 | */ | ||
166 | #define CAM_DIR_NONE DMA_NONE | ||
167 | #define CAM_DIR_IN DMA_FROM_DEVICE | ||
168 | #define CAM_DIR_OUT DMA_TO_DEVICE | ||
169 | #define CAM_DIR_UNKNOWN DMA_BIDIRECTIONAL | ||
170 | |||
171 | /* | ||
172 | * These ones are used as return code from | 145 | * These ones are used as return code from |
173 | * error recovery handlers under Linux. | 146 | * error recovery handlers under Linux. |
174 | */ | 147 | */ |
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.c b/drivers/scsi/sym53c8xx_2/sym_hipd.c index 50a176b3888d..e753ba27dc59 100644 --- a/drivers/scsi/sym53c8xx_2/sym_hipd.c +++ b/drivers/scsi/sym53c8xx_2/sym_hipd.c | |||
@@ -97,7 +97,7 @@ static void sym_print_msg(struct sym_ccb *cp, char *label, u_char *msg) | |||
97 | static void sym_print_nego_msg(struct sym_hcb *np, int target, char *label, u_char *msg) | 97 | static void sym_print_nego_msg(struct sym_hcb *np, int target, char *label, u_char *msg) |
98 | { | 98 | { |
99 | struct sym_tcb *tp = &np->target[target]; | 99 | struct sym_tcb *tp = &np->target[target]; |
100 | dev_info(&tp->sdev->sdev_target->dev, "%s: ", label); | 100 | dev_info(&tp->starget->dev, "%s: ", label); |
101 | 101 | ||
102 | sym_show_msg(msg); | 102 | sym_show_msg(msg); |
103 | printf(".\n"); | 103 | printf(".\n"); |
@@ -149,8 +149,10 @@ static char *sym_scsi_bus_mode(int mode) | |||
149 | static void sym_chip_reset (struct sym_hcb *np) | 149 | static void sym_chip_reset (struct sym_hcb *np) |
150 | { | 150 | { |
151 | OUTB(np, nc_istat, SRST); | 151 | OUTB(np, nc_istat, SRST); |
152 | INB(np, nc_mbox1); | ||
152 | udelay(10); | 153 | udelay(10); |
153 | OUTB(np, nc_istat, 0); | 154 | OUTB(np, nc_istat, 0); |
155 | INB(np, nc_mbox1); | ||
154 | udelay(2000); /* For BUS MODE to settle */ | 156 | udelay(2000); /* For BUS MODE to settle */ |
155 | } | 157 | } |
156 | 158 | ||
@@ -216,6 +218,7 @@ int sym_reset_scsi_bus(struct sym_hcb *np, int enab_int) | |||
216 | OUTB(np, nc_stest3, TE); | 218 | OUTB(np, nc_stest3, TE); |
217 | OUTB(np, nc_dcntl, (np->rv_dcntl & IRQM)); | 219 | OUTB(np, nc_dcntl, (np->rv_dcntl & IRQM)); |
218 | OUTB(np, nc_scntl1, CRST); | 220 | OUTB(np, nc_scntl1, CRST); |
221 | INB(np, nc_mbox1); | ||
219 | udelay(200); | 222 | udelay(200); |
220 | 223 | ||
221 | if (!SYM_SETUP_SCSI_BUS_CHECK) | 224 | if (!SYM_SETUP_SCSI_BUS_CHECK) |
@@ -280,8 +283,10 @@ static void sym_selectclock(struct sym_hcb *np, u_char scntl3) | |||
280 | if (!i) | 283 | if (!i) |
281 | printf("%s: the chip cannot lock the frequency\n", | 284 | printf("%s: the chip cannot lock the frequency\n", |
282 | sym_name(np)); | 285 | sym_name(np)); |
283 | } else | 286 | } else { |
284 | udelay((50+10)); | 287 | INB(np, nc_mbox1); |
288 | udelay(50+10); | ||
289 | } | ||
285 | OUTB(np, nc_stest3, HSC); /* Halt the scsi clock */ | 290 | OUTB(np, nc_stest3, HSC); /* Halt the scsi clock */ |
286 | OUTB(np, nc_scntl3, scntl3); | 291 | OUTB(np, nc_scntl3, scntl3); |
287 | OUTB(np, nc_stest1, (DBLEN|DBLSEL));/* Select clock multiplier */ | 292 | OUTB(np, nc_stest1, (DBLEN|DBLSEL));/* Select clock multiplier */ |
@@ -1445,7 +1450,7 @@ static void sym_check_goals(struct sym_hcb *np, struct scsi_target *starget, | |||
1445 | static int sym_prepare_nego(struct sym_hcb *np, struct sym_ccb *cp, u_char *msgptr) | 1450 | static int sym_prepare_nego(struct sym_hcb *np, struct sym_ccb *cp, u_char *msgptr) |
1446 | { | 1451 | { |
1447 | struct sym_tcb *tp = &np->target[cp->target]; | 1452 | struct sym_tcb *tp = &np->target[cp->target]; |
1448 | struct scsi_target *starget = tp->sdev->sdev_target; | 1453 | struct scsi_target *starget = tp->starget; |
1449 | struct sym_trans *goal = &tp->tgoal; | 1454 | struct sym_trans *goal = &tp->tgoal; |
1450 | int msglen = 0; | 1455 | int msglen = 0; |
1451 | int nego; | 1456 | int nego; |
@@ -1690,7 +1695,7 @@ static void sym_flush_comp_queue(struct sym_hcb *np, int cam_status) | |||
1690 | if (cam_status) | 1695 | if (cam_status) |
1691 | sym_set_cam_status(cmd, cam_status); | 1696 | sym_set_cam_status(cmd, cam_status); |
1692 | #ifdef SYM_OPT_HANDLE_DEVICE_QUEUEING | 1697 | #ifdef SYM_OPT_HANDLE_DEVICE_QUEUEING |
1693 | if (sym_get_cam_status(cmd) == CAM_REQUEUE_REQ) { | 1698 | if (sym_get_cam_status(cmd) == DID_SOFT_ERROR) { |
1694 | struct sym_tcb *tp = &np->target[cp->target]; | 1699 | struct sym_tcb *tp = &np->target[cp->target]; |
1695 | struct sym_lcb *lp = sym_lp(tp, cp->lun); | 1700 | struct sym_lcb *lp = sym_lp(tp, cp->lun); |
1696 | if (lp) { | 1701 | if (lp) { |
@@ -1791,12 +1796,13 @@ void sym_start_up (struct sym_hcb *np, int reason) | |||
1791 | /* | 1796 | /* |
1792 | * Wakeup all pending jobs. | 1797 | * Wakeup all pending jobs. |
1793 | */ | 1798 | */ |
1794 | sym_flush_busy_queue(np, CAM_SCSI_BUS_RESET); | 1799 | sym_flush_busy_queue(np, DID_RESET); |
1795 | 1800 | ||
1796 | /* | 1801 | /* |
1797 | * Init chip. | 1802 | * Init chip. |
1798 | */ | 1803 | */ |
1799 | OUTB(np, nc_istat, 0x00); /* Remove Reset, abort */ | 1804 | OUTB(np, nc_istat, 0x00); /* Remove Reset, abort */ |
1805 | INB(np, nc_mbox1); | ||
1800 | udelay(2000); /* The 895 needs time for the bus mode to settle */ | 1806 | udelay(2000); /* The 895 needs time for the bus mode to settle */ |
1801 | 1807 | ||
1802 | OUTB(np, nc_scntl0, np->rv_scntl0 | 0xc0); | 1808 | OUTB(np, nc_scntl0, np->rv_scntl0 | 0xc0); |
@@ -1905,6 +1911,7 @@ void sym_start_up (struct sym_hcb *np, int reason) | |||
1905 | if (np->features & (FE_ULTRA2|FE_ULTRA3)) { | 1911 | if (np->features & (FE_ULTRA2|FE_ULTRA3)) { |
1906 | OUTONW(np, nc_sien, SBMC); | 1912 | OUTONW(np, nc_sien, SBMC); |
1907 | if (reason == 0) { | 1913 | if (reason == 0) { |
1914 | INB(np, nc_mbox1); | ||
1908 | mdelay(100); | 1915 | mdelay(100); |
1909 | INW(np, nc_sist); | 1916 | INW(np, nc_sist); |
1910 | } | 1917 | } |
@@ -2074,7 +2081,7 @@ static void sym_settrans(struct sym_hcb *np, int target, u_char opts, u_char ofs | |||
2074 | static void sym_setwide(struct sym_hcb *np, int target, u_char wide) | 2081 | static void sym_setwide(struct sym_hcb *np, int target, u_char wide) |
2075 | { | 2082 | { |
2076 | struct sym_tcb *tp = &np->target[target]; | 2083 | struct sym_tcb *tp = &np->target[target]; |
2077 | struct scsi_target *starget = tp->sdev->sdev_target; | 2084 | struct scsi_target *starget = tp->starget; |
2078 | 2085 | ||
2079 | if (spi_width(starget) == wide) | 2086 | if (spi_width(starget) == wide) |
2080 | return; | 2087 | return; |
@@ -2102,7 +2109,7 @@ sym_setsync(struct sym_hcb *np, int target, | |||
2102 | u_char ofs, u_char per, u_char div, u_char fak) | 2109 | u_char ofs, u_char per, u_char div, u_char fak) |
2103 | { | 2110 | { |
2104 | struct sym_tcb *tp = &np->target[target]; | 2111 | struct sym_tcb *tp = &np->target[target]; |
2105 | struct scsi_target *starget = tp->sdev->sdev_target; | 2112 | struct scsi_target *starget = tp->starget; |
2106 | u_char wide = (tp->head.wval & EWS) ? BUS_16_BIT : BUS_8_BIT; | 2113 | u_char wide = (tp->head.wval & EWS) ? BUS_16_BIT : BUS_8_BIT; |
2107 | 2114 | ||
2108 | sym_settrans(np, target, 0, ofs, per, wide, div, fak); | 2115 | sym_settrans(np, target, 0, ofs, per, wide, div, fak); |
@@ -2129,7 +2136,7 @@ sym_setpprot(struct sym_hcb *np, int target, u_char opts, u_char ofs, | |||
2129 | u_char per, u_char wide, u_char div, u_char fak) | 2136 | u_char per, u_char wide, u_char div, u_char fak) |
2130 | { | 2137 | { |
2131 | struct sym_tcb *tp = &np->target[target]; | 2138 | struct sym_tcb *tp = &np->target[target]; |
2132 | struct scsi_target *starget = tp->sdev->sdev_target; | 2139 | struct scsi_target *starget = tp->starget; |
2133 | 2140 | ||
2134 | sym_settrans(np, target, opts, ofs, per, wide, div, fak); | 2141 | sym_settrans(np, target, opts, ofs, per, wide, div, fak); |
2135 | 2142 | ||
@@ -2944,7 +2951,7 @@ unknown_int: | |||
2944 | * Dequeue from the START queue all CCBs that match | 2951 | * Dequeue from the START queue all CCBs that match |
2945 | * a given target/lun/task condition (-1 means all), | 2952 | * a given target/lun/task condition (-1 means all), |
2946 | * and move them from the BUSY queue to the COMP queue | 2953 | * and move them from the BUSY queue to the COMP queue |
2947 | * with CAM_REQUEUE_REQ status condition. | 2954 | * with DID_SOFT_ERROR status condition. |
2948 | * This function is used during error handling/recovery. | 2955 | * This function is used during error handling/recovery. |
2949 | * It is called with SCRIPTS not running. | 2956 | * It is called with SCRIPTS not running. |
2950 | */ | 2957 | */ |
@@ -2974,7 +2981,7 @@ sym_dequeue_from_squeue(struct sym_hcb *np, int i, int target, int lun, int task | |||
2974 | if ((target == -1 || cp->target == target) && | 2981 | if ((target == -1 || cp->target == target) && |
2975 | (lun == -1 || cp->lun == lun) && | 2982 | (lun == -1 || cp->lun == lun) && |
2976 | (task == -1 || cp->tag == task)) { | 2983 | (task == -1 || cp->tag == task)) { |
2977 | sym_set_cam_status(cp->cmd, CAM_REQUEUE_REQ); | 2984 | sym_set_cam_status(cp->cmd, DID_SOFT_ERROR); |
2978 | sym_remque(&cp->link_ccbq); | 2985 | sym_remque(&cp->link_ccbq); |
2979 | sym_insque_tail(&cp->link_ccbq, &np->comp_ccbq); | 2986 | sym_insque_tail(&cp->link_ccbq, &np->comp_ccbq); |
2980 | } | 2987 | } |
@@ -3093,13 +3100,13 @@ static void sym_sir_bad_scsi_status(struct sym_hcb *np, int num, struct sym_ccb | |||
3093 | /* | 3100 | /* |
3094 | * Message table indirect structure. | 3101 | * Message table indirect structure. |
3095 | */ | 3102 | */ |
3096 | cp->phys.smsg.addr = cpu_to_scr(CCB_BA(cp, scsi_smsg2)); | 3103 | cp->phys.smsg.addr = CCB_BA(cp, scsi_smsg2); |
3097 | cp->phys.smsg.size = cpu_to_scr(msglen); | 3104 | cp->phys.smsg.size = cpu_to_scr(msglen); |
3098 | 3105 | ||
3099 | /* | 3106 | /* |
3100 | * sense command | 3107 | * sense command |
3101 | */ | 3108 | */ |
3102 | cp->phys.cmd.addr = cpu_to_scr(CCB_BA(cp, sensecmd)); | 3109 | cp->phys.cmd.addr = CCB_BA(cp, sensecmd); |
3103 | cp->phys.cmd.size = cpu_to_scr(6); | 3110 | cp->phys.cmd.size = cpu_to_scr(6); |
3104 | 3111 | ||
3105 | /* | 3112 | /* |
@@ -3116,7 +3123,7 @@ static void sym_sir_bad_scsi_status(struct sym_hcb *np, int num, struct sym_ccb | |||
3116 | * sense data | 3123 | * sense data |
3117 | */ | 3124 | */ |
3118 | memset(cp->sns_bbuf, 0, SYM_SNS_BBUF_LEN); | 3125 | memset(cp->sns_bbuf, 0, SYM_SNS_BBUF_LEN); |
3119 | cp->phys.sense.addr = cpu_to_scr(CCB_BA(cp, sns_bbuf)); | 3126 | cp->phys.sense.addr = CCB_BA(cp, sns_bbuf); |
3120 | cp->phys.sense.size = cpu_to_scr(SYM_SNS_BBUF_LEN); | 3127 | cp->phys.sense.size = cpu_to_scr(SYM_SNS_BBUF_LEN); |
3121 | 3128 | ||
3122 | /* | 3129 | /* |
@@ -3198,7 +3205,7 @@ int sym_clear_tasks(struct sym_hcb *np, int cam_status, int target, int lun, int | |||
3198 | sym_insque_tail(&cp->link_ccbq, &np->comp_ccbq); | 3205 | sym_insque_tail(&cp->link_ccbq, &np->comp_ccbq); |
3199 | 3206 | ||
3200 | /* Preserve the software timeout condition */ | 3207 | /* Preserve the software timeout condition */ |
3201 | if (sym_get_cam_status(cmd) != CAM_CMD_TIMEOUT) | 3208 | if (sym_get_cam_status(cmd) != DID_TIME_OUT) |
3202 | sym_set_cam_status(cmd, cam_status); | 3209 | sym_set_cam_status(cmd, cam_status); |
3203 | ++i; | 3210 | ++i; |
3204 | #if 0 | 3211 | #if 0 |
@@ -3366,7 +3373,7 @@ static void sym_sir_task_recovery(struct sym_hcb *np, int num) | |||
3366 | * Make sure at least our IO to abort has been dequeued. | 3373 | * Make sure at least our IO to abort has been dequeued. |
3367 | */ | 3374 | */ |
3368 | #ifndef SYM_OPT_HANDLE_DEVICE_QUEUEING | 3375 | #ifndef SYM_OPT_HANDLE_DEVICE_QUEUEING |
3369 | assert(i && sym_get_cam_status(cp->cmd) == CAM_REQUEUE_REQ); | 3376 | assert(i && sym_get_cam_status(cp->cmd) == DID_SOFT_ERROR); |
3370 | #else | 3377 | #else |
3371 | sym_remque(&cp->link_ccbq); | 3378 | sym_remque(&cp->link_ccbq); |
3372 | sym_insque_tail(&cp->link_ccbq, &np->comp_ccbq); | 3379 | sym_insque_tail(&cp->link_ccbq, &np->comp_ccbq); |
@@ -3375,9 +3382,9 @@ static void sym_sir_task_recovery(struct sym_hcb *np, int num) | |||
3375 | * Keep track in cam status of the reason of the abort. | 3382 | * Keep track in cam status of the reason of the abort. |
3376 | */ | 3383 | */ |
3377 | if (cp->to_abort == 2) | 3384 | if (cp->to_abort == 2) |
3378 | sym_set_cam_status(cp->cmd, CAM_CMD_TIMEOUT); | 3385 | sym_set_cam_status(cp->cmd, DID_TIME_OUT); |
3379 | else | 3386 | else |
3380 | sym_set_cam_status(cp->cmd, CAM_REQ_ABORTED); | 3387 | sym_set_cam_status(cp->cmd, DID_ABORT); |
3381 | 3388 | ||
3382 | /* | 3389 | /* |
3383 | * Complete with error everything that we have dequeued. | 3390 | * Complete with error everything that we have dequeued. |
@@ -3491,7 +3498,7 @@ static void sym_sir_task_recovery(struct sym_hcb *np, int num) | |||
3491 | * conditions not due to timeout. | 3498 | * conditions not due to timeout. |
3492 | */ | 3499 | */ |
3493 | if (cp->to_abort == 2) | 3500 | if (cp->to_abort == 2) |
3494 | sym_set_cam_status(cp->cmd, CAM_CMD_TIMEOUT); | 3501 | sym_set_cam_status(cp->cmd, DID_TIME_OUT); |
3495 | cp->to_abort = 0; /* We donnot expect to fail here */ | 3502 | cp->to_abort = 0; /* We donnot expect to fail here */ |
3496 | break; | 3503 | break; |
3497 | 3504 | ||
@@ -3502,7 +3509,7 @@ static void sym_sir_task_recovery(struct sym_hcb *np, int num) | |||
3502 | case SIR_ABORT_SENT: | 3509 | case SIR_ABORT_SENT: |
3503 | target = INB(np, nc_sdid) & 0xf; | 3510 | target = INB(np, nc_sdid) & 0xf; |
3504 | tp = &np->target[target]; | 3511 | tp = &np->target[target]; |
3505 | starget = tp->sdev->sdev_target; | 3512 | starget = tp->starget; |
3506 | 3513 | ||
3507 | /* | 3514 | /* |
3508 | ** If we didn't abort anything, leave here. | 3515 | ** If we didn't abort anything, leave here. |
@@ -3551,7 +3558,7 @@ static void sym_sir_task_recovery(struct sym_hcb *np, int num) | |||
3551 | */ | 3558 | */ |
3552 | i = (INL(np, nc_scratcha) - np->squeue_ba) / 4; | 3559 | i = (INL(np, nc_scratcha) - np->squeue_ba) / 4; |
3553 | sym_dequeue_from_squeue(np, i, target, lun, -1); | 3560 | sym_dequeue_from_squeue(np, i, target, lun, -1); |
3554 | sym_clear_tasks(np, CAM_REQ_ABORTED, target, lun, task); | 3561 | sym_clear_tasks(np, DID_ABORT, target, lun, task); |
3555 | sym_flush_comp_queue(np, 0); | 3562 | sym_flush_comp_queue(np, 0); |
3556 | 3563 | ||
3557 | /* | 3564 | /* |
@@ -3566,7 +3573,7 @@ static void sym_sir_task_recovery(struct sym_hcb *np, int num) | |||
3566 | * Print to the log the message we intend to send. | 3573 | * Print to the log the message we intend to send. |
3567 | */ | 3574 | */ |
3568 | if (num == SIR_TARGET_SELECTED) { | 3575 | if (num == SIR_TARGET_SELECTED) { |
3569 | dev_info(&tp->sdev->sdev_target->dev, "control msgout:"); | 3576 | dev_info(&tp->starget->dev, "control msgout:"); |
3570 | sym_printl_hex(np->abrt_msg, np->abrt_tbl.size); | 3577 | sym_printl_hex(np->abrt_msg, np->abrt_tbl.size); |
3571 | np->abrt_tbl.size = cpu_to_scr(np->abrt_tbl.size); | 3578 | np->abrt_tbl.size = cpu_to_scr(np->abrt_tbl.size); |
3572 | } | 3579 | } |
@@ -3877,6 +3884,8 @@ int sym_compute_residual(struct sym_hcb *np, struct sym_ccb *cp) | |||
3877 | resid += (tmp & 0xffffff); | 3884 | resid += (tmp & 0xffffff); |
3878 | } | 3885 | } |
3879 | 3886 | ||
3887 | resid -= cp->odd_byte_adjustment; | ||
3888 | |||
3880 | /* | 3889 | /* |
3881 | * Hopefully, the result is not too wrong. | 3890 | * Hopefully, the result is not too wrong. |
3882 | */ | 3891 | */ |
@@ -4758,10 +4767,8 @@ struct sym_ccb *sym_get_ccb (struct sym_hcb *np, struct scsi_cmnd *cmd, u_char t | |||
4758 | } | 4767 | } |
4759 | 4768 | ||
4760 | #endif | 4769 | #endif |
4761 | /* | ||
4762 | * Remember all informations needed to free this CCB. | ||
4763 | */ | ||
4764 | cp->to_abort = 0; | 4770 | cp->to_abort = 0; |
4771 | cp->odd_byte_adjustment = 0; | ||
4765 | cp->tag = tag; | 4772 | cp->tag = tag; |
4766 | cp->order = tag_order; | 4773 | cp->order = tag_order; |
4767 | cp->target = tn; | 4774 | cp->target = tn; |
@@ -5104,7 +5111,7 @@ static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln) | |||
5104 | lp->itlq_tbl = sym_calloc_dma(SYM_CONF_MAX_TASK*4, "ITLQ_TBL"); | 5111 | lp->itlq_tbl = sym_calloc_dma(SYM_CONF_MAX_TASK*4, "ITLQ_TBL"); |
5105 | if (!lp->itlq_tbl) | 5112 | if (!lp->itlq_tbl) |
5106 | goto fail; | 5113 | goto fail; |
5107 | lp->cb_tags = kcalloc(SYM_CONF_MAX_TASK, 1, GFP_KERNEL); | 5114 | lp->cb_tags = kcalloc(SYM_CONF_MAX_TASK, 1, GFP_ATOMIC); |
5108 | if (!lp->cb_tags) { | 5115 | if (!lp->cb_tags) { |
5109 | sym_mfree_dma(lp->itlq_tbl, SYM_CONF_MAX_TASK*4, "ITLQ_TBL"); | 5116 | sym_mfree_dma(lp->itlq_tbl, SYM_CONF_MAX_TASK*4, "ITLQ_TBL"); |
5110 | lp->itlq_tbl = NULL; | 5117 | lp->itlq_tbl = NULL; |
@@ -5243,7 +5250,7 @@ int sym_queue_scsiio(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb * | |||
5243 | /* | 5250 | /* |
5244 | * message | 5251 | * message |
5245 | */ | 5252 | */ |
5246 | cp->phys.smsg.addr = cpu_to_scr(CCB_BA(cp, scsi_smsg)); | 5253 | cp->phys.smsg.addr = CCB_BA(cp, scsi_smsg); |
5247 | cp->phys.smsg.size = cpu_to_scr(msglen); | 5254 | cp->phys.smsg.size = cpu_to_scr(msglen); |
5248 | 5255 | ||
5249 | /* | 5256 | /* |
@@ -5343,7 +5350,7 @@ int sym_abort_scsiio(struct sym_hcb *np, struct scsi_cmnd *cmd, int timed_out) | |||
5343 | } | 5350 | } |
5344 | 5351 | ||
5345 | /* | 5352 | /* |
5346 | * Complete execution of a SCSI command with extented | 5353 | * Complete execution of a SCSI command with extended |
5347 | * error, SCSI status error, or having been auto-sensed. | 5354 | * error, SCSI status error, or having been auto-sensed. |
5348 | * | 5355 | * |
5349 | * The SCRIPTS processor is not running there, so we | 5356 | * The SCRIPTS processor is not running there, so we |
@@ -5441,7 +5448,7 @@ if (resid) | |||
5441 | /* | 5448 | /* |
5442 | * Let's requeue it to device. | 5449 | * Let's requeue it to device. |
5443 | */ | 5450 | */ |
5444 | sym_set_cam_status(cmd, CAM_REQUEUE_REQ); | 5451 | sym_set_cam_status(cmd, DID_SOFT_ERROR); |
5445 | goto finish; | 5452 | goto finish; |
5446 | } | 5453 | } |
5447 | weirdness: | 5454 | weirdness: |
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.h b/drivers/scsi/sym53c8xx_2/sym_hipd.h index a95cbe4b8e39..c55c7a57afa0 100644 --- a/drivers/scsi/sym53c8xx_2/sym_hipd.h +++ b/drivers/scsi/sym53c8xx_2/sym_hipd.h | |||
@@ -444,7 +444,7 @@ struct sym_tcb { | |||
444 | */ | 444 | */ |
445 | u_char usrflags; | 445 | u_char usrflags; |
446 | u_short usrtags; | 446 | u_short usrtags; |
447 | struct scsi_device *sdev; | 447 | struct scsi_target *starget; |
448 | }; | 448 | }; |
449 | 449 | ||
450 | /* | 450 | /* |
@@ -754,10 +754,8 @@ struct sym_ccb { | |||
754 | int segments; /* Number of SG segments */ | 754 | int segments; /* Number of SG segments */ |
755 | 755 | ||
756 | u8 order; /* Tag type (if tagged command) */ | 756 | u8 order; /* Tag type (if tagged command) */ |
757 | unsigned char odd_byte_adjustment; /* odd-sized req on wide bus */ | ||
757 | 758 | ||
758 | /* | ||
759 | * Miscellaneous status'. | ||
760 | */ | ||
761 | u_char nego_status; /* Negotiation status */ | 759 | u_char nego_status; /* Negotiation status */ |
762 | u_char xerr_status; /* Extended error flags */ | 760 | u_char xerr_status; /* Extended error flags */ |
763 | u32 extra_bytes; /* Extraneous bytes transferred */ | 761 | u32 extra_bytes; /* Extraneous bytes transferred */ |
@@ -809,7 +807,7 @@ struct sym_ccb { | |||
809 | #endif | 807 | #endif |
810 | }; | 808 | }; |
811 | 809 | ||
812 | #define CCB_BA(cp,lbl) (cp->ccb_ba + offsetof(struct sym_ccb, lbl)) | 810 | #define CCB_BA(cp,lbl) cpu_to_scr(cp->ccb_ba + offsetof(struct sym_ccb, lbl)) |
813 | 811 | ||
814 | #ifdef SYM_OPT_HANDLE_DIR_UNKNOWN | 812 | #ifdef SYM_OPT_HANDLE_DIR_UNKNOWN |
815 | #define sym_goalp(cp) ((cp->host_flags & HF_DATA_IN) ? cp->goalp : cp->wgoalp) | 813 | #define sym_goalp(cp) ((cp->host_flags & HF_DATA_IN) ? cp->goalp : cp->wgoalp) |
@@ -1138,33 +1136,33 @@ static inline void sym_setup_data_pointers(struct sym_hcb *np, | |||
1138 | * No segments means no data. | 1136 | * No segments means no data. |
1139 | */ | 1137 | */ |
1140 | if (!cp->segments) | 1138 | if (!cp->segments) |
1141 | dir = CAM_DIR_NONE; | 1139 | dir = DMA_NONE; |
1142 | 1140 | ||
1143 | /* | 1141 | /* |
1144 | * Set the data pointer. | 1142 | * Set the data pointer. |
1145 | */ | 1143 | */ |
1146 | switch(dir) { | 1144 | switch(dir) { |
1147 | #ifdef SYM_OPT_HANDLE_DIR_UNKNOWN | 1145 | #ifdef SYM_OPT_HANDLE_DIR_UNKNOWN |
1148 | case CAM_DIR_UNKNOWN: | 1146 | case DMA_BIDIRECTIONAL: |
1149 | #endif | 1147 | #endif |
1150 | case CAM_DIR_OUT: | 1148 | case DMA_TO_DEVICE: |
1151 | goalp = SCRIPTA_BA(np, data_out2) + 8; | 1149 | goalp = SCRIPTA_BA(np, data_out2) + 8; |
1152 | lastp = goalp - 8 - (cp->segments * (2*4)); | 1150 | lastp = goalp - 8 - (cp->segments * (2*4)); |
1153 | #ifdef SYM_OPT_HANDLE_DIR_UNKNOWN | 1151 | #ifdef SYM_OPT_HANDLE_DIR_UNKNOWN |
1154 | cp->wgoalp = cpu_to_scr(goalp); | 1152 | cp->wgoalp = cpu_to_scr(goalp); |
1155 | if (dir != CAM_DIR_UNKNOWN) | 1153 | if (dir != DMA_BIDIRECTIONAL) |
1156 | break; | 1154 | break; |
1157 | cp->phys.head.wlastp = cpu_to_scr(lastp); | 1155 | cp->phys.head.wlastp = cpu_to_scr(lastp); |
1158 | /* fall through */ | 1156 | /* fall through */ |
1159 | #else | 1157 | #else |
1160 | break; | 1158 | break; |
1161 | #endif | 1159 | #endif |
1162 | case CAM_DIR_IN: | 1160 | case DMA_FROM_DEVICE: |
1163 | cp->host_flags |= HF_DATA_IN; | 1161 | cp->host_flags |= HF_DATA_IN; |
1164 | goalp = SCRIPTA_BA(np, data_in2) + 8; | 1162 | goalp = SCRIPTA_BA(np, data_in2) + 8; |
1165 | lastp = goalp - 8 - (cp->segments * (2*4)); | 1163 | lastp = goalp - 8 - (cp->segments * (2*4)); |
1166 | break; | 1164 | break; |
1167 | case CAM_DIR_NONE: | 1165 | case DMA_NONE: |
1168 | default: | 1166 | default: |
1169 | #ifdef SYM_OPT_HANDLE_DIR_UNKNOWN | 1167 | #ifdef SYM_OPT_HANDLE_DIR_UNKNOWN |
1170 | cp->host_flags |= HF_DATA_IN; | 1168 | cp->host_flags |= HF_DATA_IN; |
@@ -1185,7 +1183,7 @@ static inline void sym_setup_data_pointers(struct sym_hcb *np, | |||
1185 | /* | 1183 | /* |
1186 | * If direction is unknown, start at data_io. | 1184 | * If direction is unknown, start at data_io. |
1187 | */ | 1185 | */ |
1188 | if (dir == CAM_DIR_UNKNOWN) | 1186 | if (dir == DMA_BIDIRECTIONAL) |
1189 | cp->phys.head.savep = cpu_to_scr(SCRIPTB_BA(np, data_io)); | 1187 | cp->phys.head.savep = cpu_to_scr(SCRIPTB_BA(np, data_io)); |
1190 | #endif | 1188 | #endif |
1191 | } | 1189 | } |
diff --git a/drivers/scsi/sym53c8xx_2/sym_nvram.c b/drivers/scsi/sym53c8xx_2/sym_nvram.c index 1b721e3ec520..cd9140e158cf 100644 --- a/drivers/scsi/sym53c8xx_2/sym_nvram.c +++ b/drivers/scsi/sym53c8xx_2/sym_nvram.c | |||
@@ -270,6 +270,7 @@ static void S24C16_set_bit(struct sym_device *np, u_char write_bit, u_char *gpre | |||
270 | 270 | ||
271 | } | 271 | } |
272 | OUTB(np, nc_gpreg, *gpreg); | 272 | OUTB(np, nc_gpreg, *gpreg); |
273 | INB(np, nc_mbox1); | ||
273 | udelay(5); | 274 | udelay(5); |
274 | } | 275 | } |
275 | 276 | ||
@@ -547,6 +548,7 @@ static int sym_read_Symbios_nvram(struct sym_device *np, Symbios_nvram *nvram) | |||
547 | static void T93C46_Clk(struct sym_device *np, u_char *gpreg) | 548 | static void T93C46_Clk(struct sym_device *np, u_char *gpreg) |
548 | { | 549 | { |
549 | OUTB(np, nc_gpreg, *gpreg | 0x04); | 550 | OUTB(np, nc_gpreg, *gpreg | 0x04); |
551 | INB(np, nc_mbox1); | ||
550 | udelay(2); | 552 | udelay(2); |
551 | OUTB(np, nc_gpreg, *gpreg); | 553 | OUTB(np, nc_gpreg, *gpreg); |
552 | } | 554 | } |
@@ -574,6 +576,7 @@ static void T93C46_Write_Bit(struct sym_device *np, u_char write_bit, u_char *gp | |||
574 | *gpreg |= 0x10; | 576 | *gpreg |= 0x10; |
575 | 577 | ||
576 | OUTB(np, nc_gpreg, *gpreg); | 578 | OUTB(np, nc_gpreg, *gpreg); |
579 | INB(np, nc_mbox1); | ||
577 | udelay(2); | 580 | udelay(2); |
578 | 581 | ||
579 | T93C46_Clk(np, gpreg); | 582 | T93C46_Clk(np, gpreg); |
@@ -586,6 +589,7 @@ static void T93C46_Stop(struct sym_device *np, u_char *gpreg) | |||
586 | { | 589 | { |
587 | *gpreg &= 0xef; | 590 | *gpreg &= 0xef; |
588 | OUTB(np, nc_gpreg, *gpreg); | 591 | OUTB(np, nc_gpreg, *gpreg); |
592 | INB(np, nc_mbox1); | ||
589 | udelay(2); | 593 | udelay(2); |
590 | 594 | ||
591 | T93C46_Clk(np, gpreg); | 595 | T93C46_Clk(np, gpreg); |
@@ -733,7 +737,8 @@ static int sym_read_parisc_pdc(struct sym_device *np, struct pdc_initiator *pdc) | |||
733 | return SYM_PARISC_PDC; | 737 | return SYM_PARISC_PDC; |
734 | } | 738 | } |
735 | #else | 739 | #else |
736 | static int sym_read_parisc_pdc(struct sym_device *np, struct pdc_initiator *x) | 740 | static inline int sym_read_parisc_pdc(struct sym_device *np, |
741 | struct pdc_initiator *x) | ||
737 | { | 742 | { |
738 | return 0; | 743 | return 0; |
739 | } | 744 | } |
diff --git a/drivers/scsi/t128.c b/drivers/scsi/t128.c index 6dc2897672a1..f4b780e35cb6 100644 --- a/drivers/scsi/t128.c +++ b/drivers/scsi/t128.c | |||
@@ -437,8 +437,6 @@ static Scsi_Host_Template driver_template = { | |||
437 | .queuecommand = t128_queue_command, | 437 | .queuecommand = t128_queue_command, |
438 | .eh_abort_handler = t128_abort, | 438 | .eh_abort_handler = t128_abort, |
439 | .eh_bus_reset_handler = t128_bus_reset, | 439 | .eh_bus_reset_handler = t128_bus_reset, |
440 | .eh_host_reset_handler = t128_host_reset, | ||
441 | .eh_device_reset_handler = t128_device_reset, | ||
442 | .bios_param = t128_biosparam, | 440 | .bios_param = t128_biosparam, |
443 | .can_queue = CAN_QUEUE, | 441 | .can_queue = CAN_QUEUE, |
444 | .this_id = 7, | 442 | .this_id = 7, |
diff --git a/drivers/scsi/t128.h b/drivers/scsi/t128.h index 161ba53d982b..9ad1d68827a7 100644 --- a/drivers/scsi/t128.h +++ b/drivers/scsi/t128.h | |||
@@ -96,9 +96,7 @@ static int t128_biosparam(struct scsi_device *, struct block_device *, | |||
96 | sector_t, int*); | 96 | sector_t, int*); |
97 | static int t128_detect(Scsi_Host_Template *); | 97 | static int t128_detect(Scsi_Host_Template *); |
98 | static int t128_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); | 98 | static int t128_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); |
99 | static int t128_host_reset(Scsi_Cmnd *); | ||
100 | static int t128_bus_reset(Scsi_Cmnd *); | 99 | static int t128_bus_reset(Scsi_Cmnd *); |
101 | static int t128_device_reset(Scsi_Cmnd *); | ||
102 | 100 | ||
103 | #ifndef CMD_PER_LUN | 101 | #ifndef CMD_PER_LUN |
104 | #define CMD_PER_LUN 2 | 102 | #define CMD_PER_LUN 2 |
@@ -140,8 +138,6 @@ static int t128_device_reset(Scsi_Cmnd *); | |||
140 | #define do_NCR5380_intr do_t128_intr | 138 | #define do_NCR5380_intr do_t128_intr |
141 | #define NCR5380_queue_command t128_queue_command | 139 | #define NCR5380_queue_command t128_queue_command |
142 | #define NCR5380_abort t128_abort | 140 | #define NCR5380_abort t128_abort |
143 | #define NCR5380_host_reset t128_host_reset | ||
144 | #define NCR5380_device_reset t128_device_reset | ||
145 | #define NCR5380_bus_reset t128_bus_reset | 141 | #define NCR5380_bus_reset t128_bus_reset |
146 | #define NCR5380_proc_info t128_proc_info | 142 | #define NCR5380_proc_info t128_proc_info |
147 | 143 | ||
diff --git a/drivers/scsi/tmscsim.c b/drivers/scsi/tmscsim.c index ee9df02efd5b..9589c67de535 100644 --- a/drivers/scsi/tmscsim.c +++ b/drivers/scsi/tmscsim.c | |||
@@ -2120,6 +2120,8 @@ static int DC390_bus_reset (struct scsi_cmnd *cmd) | |||
2120 | struct dc390_acb* pACB = (struct dc390_acb*) cmd->device->host->hostdata; | 2120 | struct dc390_acb* pACB = (struct dc390_acb*) cmd->device->host->hostdata; |
2121 | u8 bval; | 2121 | u8 bval; |
2122 | 2122 | ||
2123 | spin_lock_irq(cmd->device->host->host_lock); | ||
2124 | |||
2123 | bval = DC390_read8(CtrlReg1) | DIS_INT_ON_SCSI_RST; | 2125 | bval = DC390_read8(CtrlReg1) | DIS_INT_ON_SCSI_RST; |
2124 | DC390_write8(CtrlReg1, bval); /* disable IRQ on bus reset */ | 2126 | DC390_write8(CtrlReg1, bval); /* disable IRQ on bus reset */ |
2125 | 2127 | ||
@@ -2127,7 +2129,7 @@ static int DC390_bus_reset (struct scsi_cmnd *cmd) | |||
2127 | dc390_ResetSCSIBus(pACB); | 2129 | dc390_ResetSCSIBus(pACB); |
2128 | 2130 | ||
2129 | dc390_ResetDevParam(pACB); | 2131 | dc390_ResetDevParam(pACB); |
2130 | udelay(1000); | 2132 | mdelay(1); |
2131 | pACB->pScsiHost->last_reset = jiffies + 3*HZ/2 | 2133 | pACB->pScsiHost->last_reset = jiffies + 3*HZ/2 |
2132 | + HZ * dc390_eepromBuf[pACB->AdapterIndex][EE_DELAY]; | 2134 | + HZ * dc390_eepromBuf[pACB->AdapterIndex][EE_DELAY]; |
2133 | 2135 | ||
@@ -2142,6 +2144,8 @@ static int DC390_bus_reset (struct scsi_cmnd *cmd) | |||
2142 | bval = DC390_read8(CtrlReg1) & ~DIS_INT_ON_SCSI_RST; | 2144 | bval = DC390_read8(CtrlReg1) & ~DIS_INT_ON_SCSI_RST; |
2143 | DC390_write8(CtrlReg1, bval); /* re-enable interrupt */ | 2145 | DC390_write8(CtrlReg1, bval); /* re-enable interrupt */ |
2144 | 2146 | ||
2147 | spin_unlock_irq(cmd->device->host->host_lock); | ||
2148 | |||
2145 | return SUCCESS; | 2149 | return SUCCESS; |
2146 | } | 2150 | } |
2147 | 2151 | ||
diff --git a/drivers/scsi/u14-34f.c b/drivers/scsi/u14-34f.c index dca215411f68..98369ce09283 100644 --- a/drivers/scsi/u14-34f.c +++ b/drivers/scsi/u14-34f.c | |||
@@ -446,8 +446,6 @@ static struct scsi_host_template driver_template = { | |||
446 | .release = u14_34f_release, | 446 | .release = u14_34f_release, |
447 | .queuecommand = u14_34f_queuecommand, | 447 | .queuecommand = u14_34f_queuecommand, |
448 | .eh_abort_handler = u14_34f_eh_abort, | 448 | .eh_abort_handler = u14_34f_eh_abort, |
449 | .eh_device_reset_handler = NULL, | ||
450 | .eh_bus_reset_handler = NULL, | ||
451 | .eh_host_reset_handler = u14_34f_eh_host_reset, | 449 | .eh_host_reset_handler = u14_34f_eh_host_reset, |
452 | .bios_param = u14_34f_bios_param, | 450 | .bios_param = u14_34f_bios_param, |
453 | .slave_configure = u14_34f_slave_configure, | 451 | .slave_configure = u14_34f_slave_configure, |
@@ -1419,16 +1417,20 @@ static int u14_34f_eh_host_reset(struct scsi_cmnd *SCarg) { | |||
1419 | printk("%s: reset, enter, target %d.%d:%d, pid %ld.\n", | 1417 | printk("%s: reset, enter, target %d.%d:%d, pid %ld.\n", |
1420 | BN(j), SCarg->device->channel, SCarg->device->id, SCarg->device->lun, SCarg->pid); | 1418 | BN(j), SCarg->device->channel, SCarg->device->id, SCarg->device->lun, SCarg->pid); |
1421 | 1419 | ||
1420 | spin_lock_irq(sh[j]->host_lock); | ||
1421 | |||
1422 | if (SCarg->host_scribble == NULL) | 1422 | if (SCarg->host_scribble == NULL) |
1423 | printk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid); | 1423 | printk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid); |
1424 | 1424 | ||
1425 | if (HD(j)->in_reset) { | 1425 | if (HD(j)->in_reset) { |
1426 | printk("%s: reset, exit, already in reset.\n", BN(j)); | 1426 | printk("%s: reset, exit, already in reset.\n", BN(j)); |
1427 | spin_unlock_irq(sh[j]->host_lock); | ||
1427 | return FAILED; | 1428 | return FAILED; |
1428 | } | 1429 | } |
1429 | 1430 | ||
1430 | if (wait_on_busy(sh[j]->io_port, MAXLOOP)) { | 1431 | if (wait_on_busy(sh[j]->io_port, MAXLOOP)) { |
1431 | printk("%s: reset, exit, timeout error.\n", BN(j)); | 1432 | printk("%s: reset, exit, timeout error.\n", BN(j)); |
1433 | spin_unlock_irq(sh[j]->host_lock); | ||
1432 | return FAILED; | 1434 | return FAILED; |
1433 | } | 1435 | } |
1434 | 1436 | ||
@@ -1479,6 +1481,7 @@ static int u14_34f_eh_host_reset(struct scsi_cmnd *SCarg) { | |||
1479 | 1481 | ||
1480 | if (wait_on_busy(sh[j]->io_port, MAXLOOP)) { | 1482 | if (wait_on_busy(sh[j]->io_port, MAXLOOP)) { |
1481 | printk("%s: reset, cannot reset, timeout error.\n", BN(j)); | 1483 | printk("%s: reset, cannot reset, timeout error.\n", BN(j)); |
1484 | spin_unlock_irq(sh[j]->host_lock); | ||
1482 | return FAILED; | 1485 | return FAILED; |
1483 | } | 1486 | } |
1484 | 1487 | ||
@@ -1540,6 +1543,7 @@ static int u14_34f_eh_host_reset(struct scsi_cmnd *SCarg) { | |||
1540 | if (arg_done) printk("%s: reset, exit, pid %ld done.\n", BN(j), SCarg->pid); | 1543 | if (arg_done) printk("%s: reset, exit, pid %ld done.\n", BN(j), SCarg->pid); |
1541 | else printk("%s: reset, exit.\n", BN(j)); | 1544 | else printk("%s: reset, exit.\n", BN(j)); |
1542 | 1545 | ||
1546 | spin_unlock_irq(sh[j]->host_lock); | ||
1543 | return SUCCESS; | 1547 | return SUCCESS; |
1544 | } | 1548 | } |
1545 | 1549 | ||
diff --git a/drivers/scsi/ultrastor.c b/drivers/scsi/ultrastor.c index 97f4d9112b48..486551bd54ba 100644 --- a/drivers/scsi/ultrastor.c +++ b/drivers/scsi/ultrastor.c | |||
@@ -879,7 +879,7 @@ static int ultrastor_abort(Scsi_Cmnd *SCpnt) | |||
879 | ogm_addr = (unsigned int)isa_bus_to_virt(inl(port0 + 23)); | 879 | ogm_addr = (unsigned int)isa_bus_to_virt(inl(port0 + 23)); |
880 | icm_status = inb(port0 + 27); | 880 | icm_status = inb(port0 + 27); |
881 | icm_addr = (unsigned int)isa_bus_to_virt(inl(port0 + 28)); | 881 | icm_addr = (unsigned int)isa_bus_to_virt(inl(port0 + 28)); |
882 | spin_lock_irqsave(host->host_lock, flags); | 882 | spin_unlock_irqrestore(host->host_lock, flags); |
883 | } | 883 | } |
884 | 884 | ||
885 | /* First check to see if an interrupt is pending. I suspect the SiS | 885 | /* First check to see if an interrupt is pending. I suspect the SiS |
@@ -954,9 +954,7 @@ static int ultrastor_abort(Scsi_Cmnd *SCpnt) | |||
954 | SCpnt->result = DID_ABORT << 16; | 954 | SCpnt->result = DID_ABORT << 16; |
955 | 955 | ||
956 | /* Take the host lock to guard against scsi layer re-entry */ | 956 | /* Take the host lock to guard against scsi layer re-entry */ |
957 | spin_lock_irqsave(host->host_lock, flags); | ||
958 | done(SCpnt); | 957 | done(SCpnt); |
959 | spin_unlock_irqrestore(host->host_lock, flags); | ||
960 | 958 | ||
961 | /* Need to set a timeout here in case command never completes. */ | 959 | /* Need to set a timeout here in case command never completes. */ |
962 | return SUCCESS; | 960 | return SUCCESS; |
diff --git a/drivers/scsi/wd7000.c b/drivers/scsi/wd7000.c index bf4a758e2801..fb54a87a80a3 100644 --- a/drivers/scsi/wd7000.c +++ b/drivers/scsi/wd7000.c | |||
@@ -1586,9 +1586,16 @@ static int wd7000_host_reset(struct scsi_cmnd *SCpnt) | |||
1586 | { | 1586 | { |
1587 | Adapter *host = (Adapter *) SCpnt->device->host->hostdata; | 1587 | Adapter *host = (Adapter *) SCpnt->device->host->hostdata; |
1588 | 1588 | ||
1589 | if (wd7000_adapter_reset(host) < 0) | 1589 | spin_unlock_irq(SCpnt->device->host->host_lock); |
1590 | |||
1591 | if (wd7000_adapter_reset(host) < 0) { | ||
1592 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
1590 | return FAILED; | 1593 | return FAILED; |
1594 | } | ||
1595 | |||
1591 | wd7000_enable_intr(host); | 1596 | wd7000_enable_intr(host); |
1597 | |||
1598 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
1592 | return SUCCESS; | 1599 | return SUCCESS; |
1593 | } | 1600 | } |
1594 | 1601 | ||
diff --git a/drivers/serial/sa1100.c b/drivers/serial/sa1100.c index 22565a67a57c..98641c3f5ab9 100644 --- a/drivers/serial/sa1100.c +++ b/drivers/serial/sa1100.c | |||
@@ -197,7 +197,7 @@ static void | |||
197 | sa1100_rx_chars(struct sa1100_port *sport, struct pt_regs *regs) | 197 | sa1100_rx_chars(struct sa1100_port *sport, struct pt_regs *regs) |
198 | { | 198 | { |
199 | struct tty_struct *tty = sport->port.info->tty; | 199 | struct tty_struct *tty = sport->port.info->tty; |
200 | unsigned int status, ch, flg, ignored = 0; | 200 | unsigned int status, ch, flg; |
201 | 201 | ||
202 | status = UTSR1_TO_SM(UART_GET_UTSR1(sport)) | | 202 | status = UTSR1_TO_SM(UART_GET_UTSR1(sport)) | |
203 | UTSR0_TO_SM(UART_GET_UTSR0(sport)); | 203 | UTSR0_TO_SM(UART_GET_UTSR0(sport)); |
diff --git a/drivers/serial/vr41xx_siu.c b/drivers/serial/vr41xx_siu.c index 5d2ceb623e6f..1f985327b0d4 100644 --- a/drivers/serial/vr41xx_siu.c +++ b/drivers/serial/vr41xx_siu.c | |||
@@ -234,7 +234,7 @@ static inline const char *siu_type_name(struct uart_port *port) | |||
234 | return "DSIU"; | 234 | return "DSIU"; |
235 | } | 235 | } |
236 | 236 | ||
237 | return "unknown"; | 237 | return NULL; |
238 | } | 238 | } |
239 | 239 | ||
240 | static unsigned int siu_tx_empty(struct uart_port *port) | 240 | static unsigned int siu_tx_empty(struct uart_port *port) |
@@ -482,9 +482,6 @@ static irqreturn_t siu_interrupt(int irq, void *dev_id, struct pt_regs *regs) | |||
482 | struct uart_port *port; | 482 | struct uart_port *port; |
483 | uint8_t iir, lsr; | 483 | uint8_t iir, lsr; |
484 | 484 | ||
485 | if (dev_id == NULL) | ||
486 | return IRQ_NONE; | ||
487 | |||
488 | port = (struct uart_port *)dev_id; | 485 | port = (struct uart_port *)dev_id; |
489 | 486 | ||
490 | iir = siu_read(port, UART_IIR); | 487 | iir = siu_read(port, UART_IIR); |
@@ -507,6 +504,9 @@ static int siu_startup(struct uart_port *port) | |||
507 | { | 504 | { |
508 | int retval; | 505 | int retval; |
509 | 506 | ||
507 | if (port->membase == NULL) | ||
508 | return -ENODEV; | ||
509 | |||
510 | siu_clear_fifo(port); | 510 | siu_clear_fifo(port); |
511 | 511 | ||
512 | (void)siu_read(port, UART_LSR); | 512 | (void)siu_read(port, UART_LSR); |
@@ -545,9 +545,6 @@ static void siu_shutdown(struct uart_port *port) | |||
545 | unsigned long flags; | 545 | unsigned long flags; |
546 | uint8_t lcr; | 546 | uint8_t lcr; |
547 | 547 | ||
548 | if (port->membase == NULL) | ||
549 | return; | ||
550 | |||
551 | siu_write(port, UART_IER, 0); | 548 | siu_write(port, UART_IER, 0); |
552 | 549 | ||
553 | spin_lock_irqsave(&port->lock, flags); | 550 | spin_lock_irqsave(&port->lock, flags); |
@@ -802,53 +799,6 @@ static int siu_init_ports(void) | |||
802 | 799 | ||
803 | #ifdef CONFIG_SERIAL_VR41XX_CONSOLE | 800 | #ifdef CONFIG_SERIAL_VR41XX_CONSOLE |
804 | 801 | ||
805 | static void early_set_termios(struct uart_port *port, struct termios *new, | ||
806 | struct termios *old) | ||
807 | { | ||
808 | tcflag_t c_cflag; | ||
809 | uint8_t lcr; | ||
810 | unsigned int baud, quot; | ||
811 | |||
812 | c_cflag = new->c_cflag; | ||
813 | switch (c_cflag & CSIZE) { | ||
814 | case CS5: | ||
815 | lcr = UART_LCR_WLEN5; | ||
816 | break; | ||
817 | case CS6: | ||
818 | lcr = UART_LCR_WLEN6; | ||
819 | break; | ||
820 | case CS7: | ||
821 | lcr = UART_LCR_WLEN7; | ||
822 | break; | ||
823 | default: | ||
824 | lcr = UART_LCR_WLEN8; | ||
825 | break; | ||
826 | } | ||
827 | |||
828 | if (c_cflag & CSTOPB) | ||
829 | lcr |= UART_LCR_STOP; | ||
830 | if (c_cflag & PARENB) | ||
831 | lcr |= UART_LCR_PARITY; | ||
832 | if ((c_cflag & PARODD) != PARODD) | ||
833 | lcr |= UART_LCR_EPAR; | ||
834 | if (c_cflag & CMSPAR) | ||
835 | lcr |= UART_LCR_SPAR; | ||
836 | |||
837 | baud = uart_get_baud_rate(port, new, old, 0, port->uartclk/16); | ||
838 | quot = uart_get_divisor(port, baud); | ||
839 | |||
840 | siu_write(port, UART_LCR, lcr | UART_LCR_DLAB); | ||
841 | |||
842 | siu_write(port, UART_DLL, (uint8_t)quot); | ||
843 | siu_write(port, UART_DLM, (uint8_t)(quot >> 8)); | ||
844 | |||
845 | siu_write(port, UART_LCR, lcr); | ||
846 | } | ||
847 | |||
848 | static struct uart_ops early_uart_ops = { | ||
849 | .set_termios = early_set_termios, | ||
850 | }; | ||
851 | |||
852 | #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE) | 802 | #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE) |
853 | 803 | ||
854 | static void wait_for_xmitr(struct uart_port *port) | 804 | static void wait_for_xmitr(struct uart_port *port) |
@@ -915,7 +865,7 @@ static int siu_console_setup(struct console *con, char *options) | |||
915 | if (port->membase == NULL) { | 865 | if (port->membase == NULL) { |
916 | if (port->mapbase == 0) | 866 | if (port->mapbase == 0) |
917 | return -ENODEV; | 867 | return -ENODEV; |
918 | port->membase = (unsigned char __iomem *)KSEG1ADDR(port->mapbase); | 868 | port->membase = ioremap(port->mapbase, siu_port_size(port)); |
919 | } | 869 | } |
920 | 870 | ||
921 | vr41xx_select_siu_interface(SIU_INTERFACE_RS232C); | 871 | vr41xx_select_siu_interface(SIU_INTERFACE_RS232C); |
@@ -949,7 +899,7 @@ static int __devinit siu_console_init(void) | |||
949 | 899 | ||
950 | for (i = 0; i < num; i++) { | 900 | for (i = 0; i < num; i++) { |
951 | port = &siu_uart_ports[i]; | 901 | port = &siu_uart_ports[i]; |
952 | port->ops = &early_uart_ops; | 902 | port->ops = &siu_uart_ops; |
953 | } | 903 | } |
954 | 904 | ||
955 | register_console(&siu_console); | 905 | register_console(&siu_console); |
@@ -994,8 +944,10 @@ static int siu_probe(struct device *dev) | |||
994 | port->dev = dev; | 944 | port->dev = dev; |
995 | 945 | ||
996 | retval = uart_add_one_port(&siu_uart_driver, port); | 946 | retval = uart_add_one_port(&siu_uart_driver, port); |
997 | if (retval) | 947 | if (retval < 0) { |
948 | port->dev = NULL; | ||
998 | break; | 949 | break; |
950 | } | ||
999 | } | 951 | } |
1000 | 952 | ||
1001 | if (i == 0 && retval < 0) { | 953 | if (i == 0 && retval < 0) { |
diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c index 429330bc38de..d7b4f7939ded 100644 --- a/drivers/usb/host/ehci-hub.c +++ b/drivers/usb/host/ehci-hub.c | |||
@@ -439,9 +439,12 @@ static int ehci_hub_control ( | |||
439 | /* force reset to complete */ | 439 | /* force reset to complete */ |
440 | writel (temp & ~PORT_RESET, | 440 | writel (temp & ~PORT_RESET, |
441 | &ehci->regs->port_status [wIndex]); | 441 | &ehci->regs->port_status [wIndex]); |
442 | /* REVISIT: some hardware needs 550+ usec to clear | ||
443 | * this bit; seems too long to spin routinely... | ||
444 | */ | ||
442 | retval = handshake ( | 445 | retval = handshake ( |
443 | &ehci->regs->port_status [wIndex], | 446 | &ehci->regs->port_status [wIndex], |
444 | PORT_RESET, 0, 500); | 447 | PORT_RESET, 0, 750); |
445 | if (retval != 0) { | 448 | if (retval != 0) { |
446 | ehci_err (ehci, "port %d reset error %d\n", | 449 | ehci_err (ehci, "port %d reset error %d\n", |
447 | wIndex + 1, retval); | 450 | wIndex + 1, retval); |
diff --git a/drivers/usb/media/pwc/pwc-if.c b/drivers/usb/media/pwc/pwc-if.c index 5429ff3b9753..b77e65c03659 100644 --- a/drivers/usb/media/pwc/pwc-if.c +++ b/drivers/usb/media/pwc/pwc-if.c | |||
@@ -332,10 +332,6 @@ static int pwc_allocate_buffers(struct pwc_device *pdev) | |||
332 | #endif | 332 | #endif |
333 | ; | 333 | ; |
334 | } | 334 | } |
335 | if (kbuf == NULL) { | ||
336 | Err("Failed to allocate decompress table.\n"); | ||
337 | return -ENOMEM; | ||
338 | } | ||
339 | pdev->decompress_data = kbuf; | 335 | pdev->decompress_data = kbuf; |
340 | 336 | ||
341 | /* Allocate image buffer; double buffer for mmap() */ | 337 | /* Allocate image buffer; double buffer for mmap() */ |
diff --git a/drivers/usb/net/kaweth.c b/drivers/usb/net/kaweth.c index a9a7cf4a38eb..fd6ff4cb2c62 100644 --- a/drivers/usb/net/kaweth.c +++ b/drivers/usb/net/kaweth.c | |||
@@ -520,7 +520,7 @@ static void int_callback(struct urb *u, struct pt_regs *regs) | |||
520 | 520 | ||
521 | /* we check the link state to report changes */ | 521 | /* we check the link state to report changes */ |
522 | if (kaweth->linkstate != (act_state = ( kaweth->intbuffer[STATE_OFFSET] | STATE_MASK) >> STATE_SHIFT)) { | 522 | if (kaweth->linkstate != (act_state = ( kaweth->intbuffer[STATE_OFFSET] | STATE_MASK) >> STATE_SHIFT)) { |
523 | if (!act_state) | 523 | if (act_state) |
524 | netif_carrier_on(kaweth->net); | 524 | netif_carrier_on(kaweth->net); |
525 | else | 525 | else |
526 | netif_carrier_off(kaweth->net); | 526 | netif_carrier_off(kaweth->net); |
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 051c3a77b41b..3bfcc7b9f861 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -264,7 +264,7 @@ | |||
264 | /* | 264 | /* |
265 | * Version Information | 265 | * Version Information |
266 | */ | 266 | */ |
267 | #define DRIVER_VERSION "v1.4.1" | 267 | #define DRIVER_VERSION "v1.4.2" |
268 | #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober <kuba@mareimbrium.org>" | 268 | #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober <kuba@mareimbrium.org>" |
269 | #define DRIVER_DESC "USB FTDI Serial Converters Driver" | 269 | #define DRIVER_DESC "USB FTDI Serial Converters Driver" |
270 | 270 | ||
@@ -687,6 +687,8 @@ struct ftdi_private { | |||
687 | char prev_status, diff_status; /* Used for TIOCMIWAIT */ | 687 | char prev_status, diff_status; /* Used for TIOCMIWAIT */ |
688 | __u8 rx_flags; /* receive state flags (throttling) */ | 688 | __u8 rx_flags; /* receive state flags (throttling) */ |
689 | spinlock_t rx_lock; /* spinlock for receive state */ | 689 | spinlock_t rx_lock; /* spinlock for receive state */ |
690 | struct work_struct rx_work; | ||
691 | int rx_processed; | ||
690 | 692 | ||
691 | __u16 interface; /* FT2232C port interface (0 for FT232/245) */ | 693 | __u16 interface; /* FT2232C port interface (0 for FT232/245) */ |
692 | 694 | ||
@@ -717,7 +719,7 @@ static int ftdi_write_room (struct usb_serial_port *port); | |||
717 | static int ftdi_chars_in_buffer (struct usb_serial_port *port); | 719 | static int ftdi_chars_in_buffer (struct usb_serial_port *port); |
718 | static void ftdi_write_bulk_callback (struct urb *urb, struct pt_regs *regs); | 720 | static void ftdi_write_bulk_callback (struct urb *urb, struct pt_regs *regs); |
719 | static void ftdi_read_bulk_callback (struct urb *urb, struct pt_regs *regs); | 721 | static void ftdi_read_bulk_callback (struct urb *urb, struct pt_regs *regs); |
720 | static void ftdi_process_read (struct usb_serial_port *port); | 722 | static void ftdi_process_read (void *param); |
721 | static void ftdi_set_termios (struct usb_serial_port *port, struct termios * old); | 723 | static void ftdi_set_termios (struct usb_serial_port *port, struct termios * old); |
722 | static int ftdi_tiocmget (struct usb_serial_port *port, struct file *file); | 724 | static int ftdi_tiocmget (struct usb_serial_port *port, struct file *file); |
723 | static int ftdi_tiocmset (struct usb_serial_port *port, struct file * file, unsigned int set, unsigned int clear); | 725 | static int ftdi_tiocmset (struct usb_serial_port *port, struct file * file, unsigned int set, unsigned int clear); |
@@ -1387,6 +1389,8 @@ static int ftdi_common_startup (struct usb_serial *serial) | |||
1387 | port->read_urb->transfer_buffer_length = BUFSZ; | 1389 | port->read_urb->transfer_buffer_length = BUFSZ; |
1388 | } | 1390 | } |
1389 | 1391 | ||
1392 | INIT_WORK(&priv->rx_work, ftdi_process_read, port); | ||
1393 | |||
1390 | /* Free port's existing write urb and transfer buffer. */ | 1394 | /* Free port's existing write urb and transfer buffer. */ |
1391 | if (port->write_urb) { | 1395 | if (port->write_urb) { |
1392 | usb_free_urb (port->write_urb); | 1396 | usb_free_urb (port->write_urb); |
@@ -1617,6 +1621,7 @@ static int ftdi_open (struct usb_serial_port *port, struct file *filp) | |||
1617 | spin_unlock_irqrestore(&priv->rx_lock, flags); | 1621 | spin_unlock_irqrestore(&priv->rx_lock, flags); |
1618 | 1622 | ||
1619 | /* Start reading from the device */ | 1623 | /* Start reading from the device */ |
1624 | priv->rx_processed = 0; | ||
1620 | usb_fill_bulk_urb(port->read_urb, dev, | 1625 | usb_fill_bulk_urb(port->read_urb, dev, |
1621 | usb_rcvbulkpipe(dev, port->bulk_in_endpointAddress), | 1626 | usb_rcvbulkpipe(dev, port->bulk_in_endpointAddress), |
1622 | port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, | 1627 | port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, |
@@ -1667,6 +1672,10 @@ static void ftdi_close (struct usb_serial_port *port, struct file *filp) | |||
1667 | err("Error from RTS LOW urb"); | 1672 | err("Error from RTS LOW urb"); |
1668 | } | 1673 | } |
1669 | } /* Note change no line if hupcl is off */ | 1674 | } /* Note change no line if hupcl is off */ |
1675 | |||
1676 | /* cancel any scheduled reading */ | ||
1677 | cancel_delayed_work(&priv->rx_work); | ||
1678 | flush_scheduled_work(); | ||
1670 | 1679 | ||
1671 | /* shutdown our bulk read */ | 1680 | /* shutdown our bulk read */ |
1672 | if (port->read_urb) | 1681 | if (port->read_urb) |
@@ -1862,23 +1871,14 @@ static void ftdi_read_bulk_callback (struct urb *urb, struct pt_regs *regs) | |||
1862 | return; | 1871 | return; |
1863 | } | 1872 | } |
1864 | 1873 | ||
1865 | /* If throttled, delay receive processing until unthrottled. */ | ||
1866 | spin_lock(&priv->rx_lock); | ||
1867 | if (priv->rx_flags & THROTTLED) { | ||
1868 | dbg("Deferring read urb processing until unthrottled"); | ||
1869 | priv->rx_flags |= ACTUALLY_THROTTLED; | ||
1870 | spin_unlock(&priv->rx_lock); | ||
1871 | return; | ||
1872 | } | ||
1873 | spin_unlock(&priv->rx_lock); | ||
1874 | |||
1875 | ftdi_process_read(port); | 1874 | ftdi_process_read(port); |
1876 | 1875 | ||
1877 | } /* ftdi_read_bulk_callback */ | 1876 | } /* ftdi_read_bulk_callback */ |
1878 | 1877 | ||
1879 | 1878 | ||
1880 | static void ftdi_process_read (struct usb_serial_port *port) | 1879 | static void ftdi_process_read (void *param) |
1881 | { /* ftdi_process_read */ | 1880 | { /* ftdi_process_read */ |
1881 | struct usb_serial_port *port = (struct usb_serial_port*)param; | ||
1882 | struct urb *urb; | 1882 | struct urb *urb; |
1883 | struct tty_struct *tty; | 1883 | struct tty_struct *tty; |
1884 | struct ftdi_private *priv; | 1884 | struct ftdi_private *priv; |
@@ -1889,6 +1889,7 @@ static void ftdi_process_read (struct usb_serial_port *port) | |||
1889 | int result; | 1889 | int result; |
1890 | int need_flip; | 1890 | int need_flip; |
1891 | int packet_offset; | 1891 | int packet_offset; |
1892 | unsigned long flags; | ||
1892 | 1893 | ||
1893 | dbg("%s - port %d", __FUNCTION__, port->number); | 1894 | dbg("%s - port %d", __FUNCTION__, port->number); |
1894 | 1895 | ||
@@ -1915,12 +1916,18 @@ static void ftdi_process_read (struct usb_serial_port *port) | |||
1915 | 1916 | ||
1916 | data = urb->transfer_buffer; | 1917 | data = urb->transfer_buffer; |
1917 | 1918 | ||
1918 | /* The first two bytes of every read packet are status */ | 1919 | if (priv->rx_processed) { |
1919 | if (urb->actual_length > 2) { | 1920 | dbg("%s - already processed: %d bytes, %d remain", __FUNCTION__, |
1920 | usb_serial_debug_data(debug, &port->dev, __FUNCTION__, urb->actual_length, data); | 1921 | priv->rx_processed, |
1922 | urb->actual_length - priv->rx_processed); | ||
1921 | } else { | 1923 | } else { |
1922 | dbg("Status only: %03oo %03oo",data[0],data[1]); | 1924 | /* The first two bytes of every read packet are status */ |
1923 | } | 1925 | if (urb->actual_length > 2) { |
1926 | usb_serial_debug_data(debug, &port->dev, __FUNCTION__, urb->actual_length, data); | ||
1927 | } else { | ||
1928 | dbg("Status only: %03oo %03oo",data[0],data[1]); | ||
1929 | } | ||
1930 | } | ||
1924 | 1931 | ||
1925 | 1932 | ||
1926 | /* TO DO -- check for hung up line and handle appropriately: */ | 1933 | /* TO DO -- check for hung up line and handle appropriately: */ |
@@ -1929,8 +1936,12 @@ static void ftdi_process_read (struct usb_serial_port *port) | |||
1929 | /* if CD is dropped and the line is not CLOCAL then we should hangup */ | 1936 | /* if CD is dropped and the line is not CLOCAL then we should hangup */ |
1930 | 1937 | ||
1931 | need_flip = 0; | 1938 | need_flip = 0; |
1932 | for (packet_offset=0; packet_offset < urb->actual_length; packet_offset += PKTSZ) { | 1939 | for (packet_offset = priv->rx_processed; packet_offset < urb->actual_length; packet_offset += PKTSZ) { |
1940 | int length; | ||
1941 | |||
1933 | /* Compare new line status to the old one, signal if different */ | 1942 | /* Compare new line status to the old one, signal if different */ |
1943 | /* N.B. packet may be processed more than once, but differences | ||
1944 | * are only processed once. */ | ||
1934 | if (priv != NULL) { | 1945 | if (priv != NULL) { |
1935 | char new_status = data[packet_offset+0] & FTDI_STATUS_B0_MASK; | 1946 | char new_status = data[packet_offset+0] & FTDI_STATUS_B0_MASK; |
1936 | if (new_status != priv->prev_status) { | 1947 | if (new_status != priv->prev_status) { |
@@ -1940,6 +1951,35 @@ static void ftdi_process_read (struct usb_serial_port *port) | |||
1940 | } | 1951 | } |
1941 | } | 1952 | } |
1942 | 1953 | ||
1954 | length = min(PKTSZ, urb->actual_length-packet_offset)-2; | ||
1955 | if (length < 0) { | ||
1956 | err("%s - bad packet length: %d", __FUNCTION__, length+2); | ||
1957 | length = 0; | ||
1958 | } | ||
1959 | |||
1960 | /* have to make sure we don't overflow the buffer | ||
1961 | with tty_insert_flip_char's */ | ||
1962 | if (tty->flip.count+length > TTY_FLIPBUF_SIZE) { | ||
1963 | tty_flip_buffer_push(tty); | ||
1964 | need_flip = 0; | ||
1965 | |||
1966 | if (tty->flip.count != 0) { | ||
1967 | /* flip didn't work, this happens when ftdi_process_read() is | ||
1968 | * called from ftdi_unthrottle, because TTY_DONT_FLIP is set */ | ||
1969 | dbg("%s - flip buffer push failed", __FUNCTION__); | ||
1970 | break; | ||
1971 | } | ||
1972 | } | ||
1973 | if (priv->rx_flags & THROTTLED) { | ||
1974 | dbg("%s - throttled", __FUNCTION__); | ||
1975 | break; | ||
1976 | } | ||
1977 | if (tty->ldisc.receive_room(tty)-tty->flip.count < length) { | ||
1978 | /* break out & wait for throttling/unthrottling to happen */ | ||
1979 | dbg("%s - receive room low", __FUNCTION__); | ||
1980 | break; | ||
1981 | } | ||
1982 | |||
1943 | /* Handle errors and break */ | 1983 | /* Handle errors and break */ |
1944 | error_flag = TTY_NORMAL; | 1984 | error_flag = TTY_NORMAL; |
1945 | /* Although the device uses a bitmask and hence can have multiple */ | 1985 | /* Although the device uses a bitmask and hence can have multiple */ |
@@ -1962,13 +2002,8 @@ static void ftdi_process_read (struct usb_serial_port *port) | |||
1962 | error_flag = TTY_FRAME; | 2002 | error_flag = TTY_FRAME; |
1963 | dbg("FRAMING error"); | 2003 | dbg("FRAMING error"); |
1964 | } | 2004 | } |
1965 | if (urb->actual_length > packet_offset + 2) { | 2005 | if (length > 0) { |
1966 | for (i = 2; (i < PKTSZ) && ((i+packet_offset) < urb->actual_length); ++i) { | 2006 | for (i = 2; i < length+2; i++) { |
1967 | /* have to make sure we don't overflow the buffer | ||
1968 | with tty_insert_flip_char's */ | ||
1969 | if(tty->flip.count >= TTY_FLIPBUF_SIZE) { | ||
1970 | tty_flip_buffer_push(tty); | ||
1971 | } | ||
1972 | /* Note that the error flag is duplicated for | 2007 | /* Note that the error flag is duplicated for |
1973 | every character received since we don't know | 2008 | every character received since we don't know |
1974 | which character it applied to */ | 2009 | which character it applied to */ |
@@ -2005,6 +2040,35 @@ static void ftdi_process_read (struct usb_serial_port *port) | |||
2005 | tty_flip_buffer_push(tty); | 2040 | tty_flip_buffer_push(tty); |
2006 | } | 2041 | } |
2007 | 2042 | ||
2043 | if (packet_offset < urb->actual_length) { | ||
2044 | /* not completely processed - record progress */ | ||
2045 | priv->rx_processed = packet_offset; | ||
2046 | dbg("%s - incomplete, %d bytes processed, %d remain", | ||
2047 | __FUNCTION__, packet_offset, | ||
2048 | urb->actual_length - packet_offset); | ||
2049 | /* check if we were throttled while processing */ | ||
2050 | spin_lock_irqsave(&priv->rx_lock, flags); | ||
2051 | if (priv->rx_flags & THROTTLED) { | ||
2052 | priv->rx_flags |= ACTUALLY_THROTTLED; | ||
2053 | spin_unlock_irqrestore(&priv->rx_lock, flags); | ||
2054 | dbg("%s - deferring remainder until unthrottled", | ||
2055 | __FUNCTION__); | ||
2056 | return; | ||
2057 | } | ||
2058 | spin_unlock_irqrestore(&priv->rx_lock, flags); | ||
2059 | /* if the port is closed stop trying to read */ | ||
2060 | if (port->open_count > 0){ | ||
2061 | /* delay processing of remainder */ | ||
2062 | schedule_delayed_work(&priv->rx_work, 1); | ||
2063 | } else { | ||
2064 | dbg("%s - port is closed", __FUNCTION__); | ||
2065 | } | ||
2066 | return; | ||
2067 | } | ||
2068 | |||
2069 | /* urb is completely processed */ | ||
2070 | priv->rx_processed = 0; | ||
2071 | |||
2008 | /* if the port is closed stop trying to read */ | 2072 | /* if the port is closed stop trying to read */ |
2009 | if (port->open_count > 0){ | 2073 | if (port->open_count > 0){ |
2010 | /* Continue trying to always read */ | 2074 | /* Continue trying to always read */ |
@@ -2444,7 +2508,7 @@ static void ftdi_unthrottle (struct usb_serial_port *port) | |||
2444 | spin_unlock_irqrestore(&priv->rx_lock, flags); | 2508 | spin_unlock_irqrestore(&priv->rx_lock, flags); |
2445 | 2509 | ||
2446 | if (actually_throttled) | 2510 | if (actually_throttled) |
2447 | ftdi_process_read(port); | 2511 | schedule_work(&priv->rx_work); |
2448 | } | 2512 | } |
2449 | 2513 | ||
2450 | static int __init ftdi_init (void) | 2514 | static int __init ftdi_init (void) |
diff --git a/drivers/usb/storage/scsiglue.c b/drivers/usb/storage/scsiglue.c index 22e48a2b0bd1..1035b248eff4 100644 --- a/drivers/usb/storage/scsiglue.c +++ b/drivers/usb/storage/scsiglue.c | |||
@@ -233,13 +233,11 @@ static int command_abort(struct scsi_cmnd *srb) | |||
233 | set_bit(US_FLIDX_ABORTING, &us->flags); | 233 | set_bit(US_FLIDX_ABORTING, &us->flags); |
234 | usb_stor_stop_transport(us); | 234 | usb_stor_stop_transport(us); |
235 | } | 235 | } |
236 | scsi_unlock(us_to_host(us)); | ||
237 | 236 | ||
238 | /* Wait for the aborted command to finish */ | 237 | /* Wait for the aborted command to finish */ |
239 | wait_for_completion(&us->notify); | 238 | wait_for_completion(&us->notify); |
240 | 239 | ||
241 | /* Reacquire the lock and allow USB transfers to resume */ | 240 | /* Reacquire the lock and allow USB transfers to resume */ |
242 | scsi_lock(us_to_host(us)); | ||
243 | clear_bit(US_FLIDX_ABORTING, &us->flags); | 241 | clear_bit(US_FLIDX_ABORTING, &us->flags); |
244 | clear_bit(US_FLIDX_TIMED_OUT, &us->flags); | 242 | clear_bit(US_FLIDX_TIMED_OUT, &us->flags); |
245 | return SUCCESS; | 243 | return SUCCESS; |
@@ -255,8 +253,6 @@ static int device_reset(struct scsi_cmnd *srb) | |||
255 | 253 | ||
256 | US_DEBUGP("%s called\n", __FUNCTION__); | 254 | US_DEBUGP("%s called\n", __FUNCTION__); |
257 | 255 | ||
258 | scsi_unlock(us_to_host(us)); | ||
259 | |||
260 | /* lock the device pointers and do the reset */ | 256 | /* lock the device pointers and do the reset */ |
261 | down(&(us->dev_semaphore)); | 257 | down(&(us->dev_semaphore)); |
262 | if (test_bit(US_FLIDX_DISCONNECTING, &us->flags)) { | 258 | if (test_bit(US_FLIDX_DISCONNECTING, &us->flags)) { |
@@ -266,8 +262,6 @@ static int device_reset(struct scsi_cmnd *srb) | |||
266 | result = us->transport_reset(us); | 262 | result = us->transport_reset(us); |
267 | up(&(us->dev_semaphore)); | 263 | up(&(us->dev_semaphore)); |
268 | 264 | ||
269 | /* lock the host for the return */ | ||
270 | scsi_lock(us_to_host(us)); | ||
271 | return result; | 265 | return result; |
272 | } | 266 | } |
273 | 267 | ||
@@ -282,8 +276,6 @@ static int bus_reset(struct scsi_cmnd *srb) | |||
282 | 276 | ||
283 | US_DEBUGP("%s called\n", __FUNCTION__); | 277 | US_DEBUGP("%s called\n", __FUNCTION__); |
284 | 278 | ||
285 | scsi_unlock(us_to_host(us)); | ||
286 | |||
287 | /* The USB subsystem doesn't handle synchronisation between | 279 | /* The USB subsystem doesn't handle synchronisation between |
288 | * a device's several drivers. Therefore we reset only devices | 280 | * a device's several drivers. Therefore we reset only devices |
289 | * with just one interface, which we of course own. */ | 281 | * with just one interface, which we of course own. */ |
@@ -310,7 +302,6 @@ static int bus_reset(struct scsi_cmnd *srb) | |||
310 | up(&(us->dev_semaphore)); | 302 | up(&(us->dev_semaphore)); |
311 | 303 | ||
312 | /* lock the host for the return */ | 304 | /* lock the host for the return */ |
313 | scsi_lock(us_to_host(us)); | ||
314 | return result < 0 ? FAILED : SUCCESS; | 305 | return result < 0 ? FAILED : SUCCESS; |
315 | } | 306 | } |
316 | 307 | ||
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c index ee25b9e8db60..47a6b12bc968 100644 --- a/drivers/video/aty/radeon_base.c +++ b/drivers/video/aty/radeon_base.c | |||
@@ -2374,10 +2374,9 @@ static int radeonfb_pci_register (struct pci_dev *pdev, | |||
2374 | } while ( rinfo->fb_base == 0 && | 2374 | } while ( rinfo->fb_base == 0 && |
2375 | ((rinfo->mapped_vram /=2) >= MIN_MAPPED_VRAM) ); | 2375 | ((rinfo->mapped_vram /=2) >= MIN_MAPPED_VRAM) ); |
2376 | 2376 | ||
2377 | if (rinfo->fb_base) | 2377 | if (rinfo->fb_base == NULL) { |
2378 | memset_io(rinfo->fb_base, 0, rinfo->mapped_vram); | 2378 | printk (KERN_ERR "radeonfb (%s): cannot map FB\n", |
2379 | else { | 2379 | pci_name(rinfo->pdev)); |
2380 | printk (KERN_ERR "radeonfb (%s): cannot map FB\n", pci_name(rinfo->pdev)); | ||
2381 | ret = -EIO; | 2380 | ret = -EIO; |
2382 | goto err_unmap_rom; | 2381 | goto err_unmap_rom; |
2383 | } | 2382 | } |
diff --git a/drivers/video/fbsysfs.c b/drivers/video/fbsysfs.c index c78a2c5961d3..277d733c6d00 100644 --- a/drivers/video/fbsysfs.c +++ b/drivers/video/fbsysfs.c | |||
@@ -241,7 +241,7 @@ static ssize_t show_virtual(struct class_device *class_device, char *buf) | |||
241 | struct fb_info *fb_info = | 241 | struct fb_info *fb_info = |
242 | (struct fb_info *)class_get_devdata(class_device); | 242 | (struct fb_info *)class_get_devdata(class_device); |
243 | return snprintf(buf, PAGE_SIZE, "%d,%d\n", fb_info->var.xres_virtual, | 243 | return snprintf(buf, PAGE_SIZE, "%d,%d\n", fb_info->var.xres_virtual, |
244 | fb_info->var.xres_virtual); | 244 | fb_info->var.yres_virtual); |
245 | } | 245 | } |
246 | 246 | ||
247 | static ssize_t store_cmap(struct class_device *class_device, const char * buf, | 247 | static ssize_t store_cmap(struct class_device *class_device, const char * buf, |
diff --git a/drivers/video/macmodes.c b/drivers/video/macmodes.c index de5a0f383600..2fc71081f7e7 100644 --- a/drivers/video/macmodes.c +++ b/drivers/video/macmodes.c | |||
@@ -387,3 +387,4 @@ int __init mac_find_mode(struct fb_var_screeninfo *var, struct fb_info *info, | |||
387 | } | 387 | } |
388 | EXPORT_SYMBOL(mac_find_mode); | 388 | EXPORT_SYMBOL(mac_find_mode); |
389 | 389 | ||
390 | MODULE_LICENSE("GPL"); | ||
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index c374be51b041..f8f6b6b76179 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
@@ -1125,7 +1125,7 @@ static int dump_write(struct file *file, const void *addr, int nr) | |||
1125 | return file->f_op->write(file, addr, nr, &file->f_pos) == nr; | 1125 | return file->f_op->write(file, addr, nr, &file->f_pos) == nr; |
1126 | } | 1126 | } |
1127 | 1127 | ||
1128 | static int dump_seek(struct file *file, off_t off) | 1128 | static int dump_seek(struct file *file, loff_t off) |
1129 | { | 1129 | { |
1130 | if (file->f_op->llseek) { | 1130 | if (file->f_op->llseek) { |
1131 | if (file->f_op->llseek(file, off, 0) != off) | 1131 | if (file->f_op->llseek(file, off, 0) != off) |
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c index f0cd67d9d31b..c8998dc66882 100644 --- a/fs/binfmt_flat.c +++ b/fs/binfmt_flat.c | |||
@@ -520,7 +520,7 @@ static int load_flat_file(struct linux_binprm * bprm, | |||
520 | DBG_FLT("BINFMT_FLAT: ROM mapping of file (we hope)\n"); | 520 | DBG_FLT("BINFMT_FLAT: ROM mapping of file (we hope)\n"); |
521 | 521 | ||
522 | down_write(¤t->mm->mmap_sem); | 522 | down_write(¤t->mm->mmap_sem); |
523 | textpos = do_mmap(bprm->file, 0, text_len, PROT_READ|PROT_EXEC, 0, 0); | 523 | textpos = do_mmap(bprm->file, 0, text_len, PROT_READ|PROT_EXEC, MAP_SHARED, 0); |
524 | up_write(¤t->mm->mmap_sem); | 524 | up_write(¤t->mm->mmap_sem); |
525 | if (!textpos || textpos >= (unsigned long) -4096) { | 525 | if (!textpos || textpos >= (unsigned long) -4096) { |
526 | if (!textpos) | 526 | if (!textpos) |
@@ -532,7 +532,7 @@ static int load_flat_file(struct linux_binprm * bprm, | |||
532 | down_write(¤t->mm->mmap_sem); | 532 | down_write(¤t->mm->mmap_sem); |
533 | realdatastart = do_mmap(0, 0, data_len + extra + | 533 | realdatastart = do_mmap(0, 0, data_len + extra + |
534 | MAX_SHARED_LIBS * sizeof(unsigned long), | 534 | MAX_SHARED_LIBS * sizeof(unsigned long), |
535 | PROT_READ|PROT_WRITE|PROT_EXEC, 0, 0); | 535 | PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 0); |
536 | up_write(¤t->mm->mmap_sem); | 536 | up_write(¤t->mm->mmap_sem); |
537 | 537 | ||
538 | if (realdatastart == 0 || realdatastart >= (unsigned long)-4096) { | 538 | if (realdatastart == 0 || realdatastart >= (unsigned long)-4096) { |
@@ -574,7 +574,7 @@ static int load_flat_file(struct linux_binprm * bprm, | |||
574 | down_write(¤t->mm->mmap_sem); | 574 | down_write(¤t->mm->mmap_sem); |
575 | textpos = do_mmap(0, 0, text_len + data_len + extra + | 575 | textpos = do_mmap(0, 0, text_len + data_len + extra + |
576 | MAX_SHARED_LIBS * sizeof(unsigned long), | 576 | MAX_SHARED_LIBS * sizeof(unsigned long), |
577 | PROT_READ | PROT_EXEC | PROT_WRITE, 0, 0); | 577 | PROT_READ | PROT_EXEC | PROT_WRITE, MAP_PRIVATE, 0); |
578 | up_write(¤t->mm->mmap_sem); | 578 | up_write(¤t->mm->mmap_sem); |
579 | if (!textpos || textpos >= (unsigned long) -4096) { | 579 | if (!textpos || textpos >= (unsigned long) -4096) { |
580 | if (!textpos) | 580 | if (!textpos) |
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index 95483baab706..dab4774ee7bb 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES | |||
@@ -6,7 +6,8 @@ kills the cifsd thread (NB: killing the cifs kernel threads is not | |||
6 | recommended, unmount and rmmod cifs will kill them when they are | 6 | recommended, unmount and rmmod cifs will kill them when they are |
7 | no longer needed). Fix readdir to ASCII servers (ie older servers | 7 | no longer needed). Fix readdir to ASCII servers (ie older servers |
8 | which do not support Unicode) and also require asterik. | 8 | which do not support Unicode) and also require asterik. |
9 | 9 | Fix out of memory case in which data could be written one page | |
10 | off in the page cache. | ||
10 | 11 | ||
11 | Version 1.33 | 12 | Version 1.33 |
12 | ------------ | 13 | ------------ |
diff --git a/fs/cifs/cifsfs.h b/fs/cifs/cifsfs.h index d00b3bfe1a52..78af5850c558 100644 --- a/fs/cifs/cifsfs.h +++ b/fs/cifs/cifsfs.h | |||
@@ -96,5 +96,5 @@ extern ssize_t cifs_getxattr(struct dentry *, const char *, void *, size_t); | |||
96 | extern ssize_t cifs_listxattr(struct dentry *, char *, size_t); | 96 | extern ssize_t cifs_listxattr(struct dentry *, char *, size_t); |
97 | extern int cifs_ioctl (struct inode * inode, struct file * filep, | 97 | extern int cifs_ioctl (struct inode * inode, struct file * filep, |
98 | unsigned int command, unsigned long arg); | 98 | unsigned int command, unsigned long arg); |
99 | #define CIFS_VERSION "1.34" | 99 | #define CIFS_VERSION "1.35" |
100 | #endif /* _CIFSFS_H */ | 100 | #endif /* _CIFSFS_H */ |
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index dde2d251fc3d..30ab70ce5547 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -1352,6 +1352,8 @@ static void cifs_copy_cache_pages(struct address_space *mapping, | |||
1352 | GFP_KERNEL)) { | 1352 | GFP_KERNEL)) { |
1353 | page_cache_release(page); | 1353 | page_cache_release(page); |
1354 | cFYI(1, ("Add page cache failed")); | 1354 | cFYI(1, ("Add page cache failed")); |
1355 | data += PAGE_CACHE_SIZE; | ||
1356 | bytes_read -= PAGE_CACHE_SIZE; | ||
1355 | continue; | 1357 | continue; |
1356 | } | 1358 | } |
1357 | 1359 | ||
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index b8b78cbb34c9..8d336a900255 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -82,12 +82,12 @@ int cifs_get_inode_info_unix(struct inode **pinode, | |||
82 | /* get new inode */ | 82 | /* get new inode */ |
83 | if (*pinode == NULL) { | 83 | if (*pinode == NULL) { |
84 | *pinode = new_inode(sb); | 84 | *pinode = new_inode(sb); |
85 | if(*pinode == NULL) | 85 | if (*pinode == NULL) |
86 | return -ENOMEM; | 86 | return -ENOMEM; |
87 | /* Is an i_ino of zero legal? */ | 87 | /* Is an i_ino of zero legal? */ |
88 | /* Are there sanity checks we can use to ensure that | 88 | /* Are there sanity checks we can use to ensure that |
89 | the server is really filling in that field? */ | 89 | the server is really filling in that field? */ |
90 | if(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { | 90 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { |
91 | (*pinode)->i_ino = | 91 | (*pinode)->i_ino = |
92 | (unsigned long)findData.UniqueId; | 92 | (unsigned long)findData.UniqueId; |
93 | } /* note ino incremented to unique num in new_inode */ | 93 | } /* note ino incremented to unique num in new_inode */ |
@@ -134,7 +134,7 @@ int cifs_get_inode_info_unix(struct inode **pinode, | |||
134 | inode->i_gid = le64_to_cpu(findData.Gid); | 134 | inode->i_gid = le64_to_cpu(findData.Gid); |
135 | inode->i_nlink = le64_to_cpu(findData.Nlinks); | 135 | inode->i_nlink = le64_to_cpu(findData.Nlinks); |
136 | 136 | ||
137 | if(is_size_safe_to_change(cifsInfo)) { | 137 | if (is_size_safe_to_change(cifsInfo)) { |
138 | /* can not safely change the file size here if the | 138 | /* can not safely change the file size here if the |
139 | client is writing to it due to potential races */ | 139 | client is writing to it due to potential races */ |
140 | 140 | ||
@@ -162,7 +162,7 @@ int cifs_get_inode_info_unix(struct inode **pinode, | |||
162 | if (S_ISREG(inode->i_mode)) { | 162 | if (S_ISREG(inode->i_mode)) { |
163 | cFYI(1, (" File inode ")); | 163 | cFYI(1, (" File inode ")); |
164 | inode->i_op = &cifs_file_inode_ops; | 164 | inode->i_op = &cifs_file_inode_ops; |
165 | if(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) | 165 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) |
166 | inode->i_fop = &cifs_file_direct_ops; | 166 | inode->i_fop = &cifs_file_direct_ops; |
167 | else | 167 | else |
168 | inode->i_fop = &cifs_file_ops; | 168 | inode->i_fop = &cifs_file_ops; |
@@ -198,17 +198,17 @@ int cifs_get_inode_info(struct inode **pinode, | |||
198 | pTcon = cifs_sb->tcon; | 198 | pTcon = cifs_sb->tcon; |
199 | cFYI(1,("Getting info on %s ", search_path)); | 199 | cFYI(1,("Getting info on %s ", search_path)); |
200 | 200 | ||
201 | if((pfindData == NULL) && (*pinode != NULL)) { | 201 | if ((pfindData == NULL) && (*pinode != NULL)) { |
202 | if(CIFS_I(*pinode)->clientCanCacheRead) { | 202 | if (CIFS_I(*pinode)->clientCanCacheRead) { |
203 | cFYI(1,("No need to revalidate cached inode sizes")); | 203 | cFYI(1,("No need to revalidate cached inode sizes")); |
204 | return rc; | 204 | return rc; |
205 | } | 205 | } |
206 | } | 206 | } |
207 | 207 | ||
208 | /* if file info not passed in then get it from server */ | 208 | /* if file info not passed in then get it from server */ |
209 | if(pfindData == NULL) { | 209 | if (pfindData == NULL) { |
210 | buf = kmalloc(sizeof(FILE_ALL_INFO), GFP_KERNEL); | 210 | buf = kmalloc(sizeof(FILE_ALL_INFO), GFP_KERNEL); |
211 | if(buf == NULL) | 211 | if (buf == NULL) |
212 | return -ENOMEM; | 212 | return -ENOMEM; |
213 | pfindData = (FILE_ALL_INFO *)buf; | 213 | pfindData = (FILE_ALL_INFO *)buf; |
214 | /* could do find first instead but this returns more info */ | 214 | /* could do find first instead but this returns more info */ |
@@ -268,7 +268,7 @@ int cifs_get_inode_info(struct inode **pinode, | |||
268 | IndexNumber field is not guaranteed unique? */ | 268 | IndexNumber field is not guaranteed unique? */ |
269 | 269 | ||
270 | #ifdef CONFIG_CIFS_EXPERIMENTAL | 270 | #ifdef CONFIG_CIFS_EXPERIMENTAL |
271 | if(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM){ | 271 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM){ |
272 | int rc1 = 0; | 272 | int rc1 = 0; |
273 | __u64 inode_num; | 273 | __u64 inode_num; |
274 | 274 | ||
@@ -277,7 +277,7 @@ int cifs_get_inode_info(struct inode **pinode, | |||
277 | cifs_sb->local_nls, | 277 | cifs_sb->local_nls, |
278 | cifs_sb->mnt_cifs_flags & | 278 | cifs_sb->mnt_cifs_flags & |
279 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 279 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
280 | if(rc1) { | 280 | if (rc1) { |
281 | cFYI(1,("GetSrvInodeNum rc %d", rc1)); | 281 | cFYI(1,("GetSrvInodeNum rc %d", rc1)); |
282 | /* BB EOPNOSUPP disable SERVER_INUM? */ | 282 | /* BB EOPNOSUPP disable SERVER_INUM? */ |
283 | } else /* do we need cast or hash to ino? */ | 283 | } else /* do we need cast or hash to ino? */ |
@@ -355,7 +355,7 @@ int cifs_get_inode_info(struct inode **pinode, | |||
355 | if (S_ISREG(inode->i_mode)) { | 355 | if (S_ISREG(inode->i_mode)) { |
356 | cFYI(1, (" File inode ")); | 356 | cFYI(1, (" File inode ")); |
357 | inode->i_op = &cifs_file_inode_ops; | 357 | inode->i_op = &cifs_file_inode_ops; |
358 | if(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) | 358 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) |
359 | inode->i_fop = &cifs_file_direct_ops; | 359 | inode->i_fop = &cifs_file_direct_ops; |
360 | else | 360 | else |
361 | inode->i_fop = &cifs_file_ops; | 361 | inode->i_fop = &cifs_file_ops; |
@@ -422,7 +422,7 @@ int cifs_unlink(struct inode *inode, struct dentry *direntry) | |||
422 | cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR); | 422 | cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR); |
423 | 423 | ||
424 | if (!rc) { | 424 | if (!rc) { |
425 | if(direntry->d_inode) | 425 | if (direntry->d_inode) |
426 | direntry->d_inode->i_nlink--; | 426 | direntry->d_inode->i_nlink--; |
427 | } else if (rc == -ENOENT) { | 427 | } else if (rc == -ENOENT) { |
428 | d_drop(direntry); | 428 | d_drop(direntry); |
@@ -441,7 +441,7 @@ int cifs_unlink(struct inode *inode, struct dentry *direntry) | |||
441 | cifs_sb->mnt_cifs_flags & | 441 | cifs_sb->mnt_cifs_flags & |
442 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 442 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
443 | CIFSSMBClose(xid, pTcon, netfid); | 443 | CIFSSMBClose(xid, pTcon, netfid); |
444 | if(direntry->d_inode) | 444 | if (direntry->d_inode) |
445 | direntry->d_inode->i_nlink--; | 445 | direntry->d_inode->i_nlink--; |
446 | } | 446 | } |
447 | } else if (rc == -EACCES) { | 447 | } else if (rc == -EACCES) { |
@@ -496,7 +496,7 @@ int cifs_unlink(struct inode *inode, struct dentry *direntry) | |||
496 | cifs_sb->mnt_cifs_flags & | 496 | cifs_sb->mnt_cifs_flags & |
497 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 497 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
498 | if (!rc) { | 498 | if (!rc) { |
499 | if(direntry->d_inode) | 499 | if (direntry->d_inode) |
500 | direntry->d_inode->i_nlink--; | 500 | direntry->d_inode->i_nlink--; |
501 | } else if (rc == -ETXTBSY) { | 501 | } else if (rc == -ETXTBSY) { |
502 | int oplock = FALSE; | 502 | int oplock = FALSE; |
@@ -517,14 +517,14 @@ int cifs_unlink(struct inode *inode, struct dentry *direntry) | |||
517 | cifs_sb->mnt_cifs_flags & | 517 | cifs_sb->mnt_cifs_flags & |
518 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 518 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
519 | CIFSSMBClose(xid, pTcon, netfid); | 519 | CIFSSMBClose(xid, pTcon, netfid); |
520 | if(direntry->d_inode) | 520 | if (direntry->d_inode) |
521 | direntry->d_inode->i_nlink--; | 521 | direntry->d_inode->i_nlink--; |
522 | } | 522 | } |
523 | /* BB if rc = -ETXTBUSY goto the rename logic BB */ | 523 | /* BB if rc = -ETXTBUSY goto the rename logic BB */ |
524 | } | 524 | } |
525 | } | 525 | } |
526 | } | 526 | } |
527 | if(direntry->d_inode) { | 527 | if (direntry->d_inode) { |
528 | cifsInode = CIFS_I(direntry->d_inode); | 528 | cifsInode = CIFS_I(direntry->d_inode); |
529 | cifsInode->time = 0; /* will force revalidate to get info | 529 | cifsInode->time = 0; /* will force revalidate to get info |
530 | when needed */ | 530 | when needed */ |
@@ -582,7 +582,7 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode) | |||
582 | if (direntry->d_inode) | 582 | if (direntry->d_inode) |
583 | direntry->d_inode->i_nlink = 2; | 583 | direntry->d_inode->i_nlink = 2; |
584 | if (cifs_sb->tcon->ses->capabilities & CAP_UNIX) | 584 | if (cifs_sb->tcon->ses->capabilities & CAP_UNIX) |
585 | if(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) { | 585 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) { |
586 | CIFSSMBUnixSetPerms(xid, pTcon, full_path, | 586 | CIFSSMBUnixSetPerms(xid, pTcon, full_path, |
587 | mode, | 587 | mode, |
588 | (__u64)current->euid, | 588 | (__u64)current->euid, |
diff --git a/fs/mpage.c b/fs/mpage.c index b92c0e64aefa..bb9aebe93862 100644 --- a/fs/mpage.c +++ b/fs/mpage.c | |||
@@ -79,8 +79,11 @@ static int mpage_end_io_write(struct bio *bio, unsigned int bytes_done, int err) | |||
79 | if (--bvec >= bio->bi_io_vec) | 79 | if (--bvec >= bio->bi_io_vec) |
80 | prefetchw(&bvec->bv_page->flags); | 80 | prefetchw(&bvec->bv_page->flags); |
81 | 81 | ||
82 | if (!uptodate) | 82 | if (!uptodate){ |
83 | SetPageError(page); | 83 | SetPageError(page); |
84 | if (page->mapping) | ||
85 | set_bit(AS_EIO, &page->mapping->flags); | ||
86 | } | ||
84 | end_page_writeback(page); | 87 | end_page_writeback(page); |
85 | } while (bvec >= bio->bi_io_vec); | 88 | } while (bvec >= bio->bi_io_vec); |
86 | bio_put(bio); | 89 | bio_put(bio); |
diff --git a/fs/namei.c b/fs/namei.c index dd78f01b6de8..a7f7f44119b3 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -493,12 +493,21 @@ fail: | |||
493 | return PTR_ERR(link); | 493 | return PTR_ERR(link); |
494 | } | 494 | } |
495 | 495 | ||
496 | static inline int __do_follow_link(struct dentry *dentry, struct nameidata *nd) | 496 | struct path { |
497 | struct vfsmount *mnt; | ||
498 | struct dentry *dentry; | ||
499 | }; | ||
500 | |||
501 | static inline int __do_follow_link(struct path *path, struct nameidata *nd) | ||
497 | { | 502 | { |
498 | int error; | 503 | int error; |
504 | struct dentry *dentry = path->dentry; | ||
499 | 505 | ||
500 | touch_atime(nd->mnt, dentry); | 506 | touch_atime(path->mnt, dentry); |
501 | nd_set_link(nd, NULL); | 507 | nd_set_link(nd, NULL); |
508 | |||
509 | if (path->mnt == nd->mnt) | ||
510 | mntget(path->mnt); | ||
502 | error = dentry->d_inode->i_op->follow_link(dentry, nd); | 511 | error = dentry->d_inode->i_op->follow_link(dentry, nd); |
503 | if (!error) { | 512 | if (!error) { |
504 | char *s = nd_get_link(nd); | 513 | char *s = nd_get_link(nd); |
@@ -507,6 +516,8 @@ static inline int __do_follow_link(struct dentry *dentry, struct nameidata *nd) | |||
507 | if (dentry->d_inode->i_op->put_link) | 516 | if (dentry->d_inode->i_op->put_link) |
508 | dentry->d_inode->i_op->put_link(dentry, nd); | 517 | dentry->d_inode->i_op->put_link(dentry, nd); |
509 | } | 518 | } |
519 | dput(dentry); | ||
520 | mntput(path->mnt); | ||
510 | 521 | ||
511 | return error; | 522 | return error; |
512 | } | 523 | } |
@@ -518,7 +529,7 @@ static inline int __do_follow_link(struct dentry *dentry, struct nameidata *nd) | |||
518 | * Without that kind of total limit, nasty chains of consecutive | 529 | * Without that kind of total limit, nasty chains of consecutive |
519 | * symlinks can cause almost arbitrarily long lookups. | 530 | * symlinks can cause almost arbitrarily long lookups. |
520 | */ | 531 | */ |
521 | static inline int do_follow_link(struct dentry *dentry, struct nameidata *nd) | 532 | static inline int do_follow_link(struct path *path, struct nameidata *nd) |
522 | { | 533 | { |
523 | int err = -ELOOP; | 534 | int err = -ELOOP; |
524 | if (current->link_count >= MAX_NESTED_LINKS) | 535 | if (current->link_count >= MAX_NESTED_LINKS) |
@@ -527,17 +538,20 @@ static inline int do_follow_link(struct dentry *dentry, struct nameidata *nd) | |||
527 | goto loop; | 538 | goto loop; |
528 | BUG_ON(nd->depth >= MAX_NESTED_LINKS); | 539 | BUG_ON(nd->depth >= MAX_NESTED_LINKS); |
529 | cond_resched(); | 540 | cond_resched(); |
530 | err = security_inode_follow_link(dentry, nd); | 541 | err = security_inode_follow_link(path->dentry, nd); |
531 | if (err) | 542 | if (err) |
532 | goto loop; | 543 | goto loop; |
533 | current->link_count++; | 544 | current->link_count++; |
534 | current->total_link_count++; | 545 | current->total_link_count++; |
535 | nd->depth++; | 546 | nd->depth++; |
536 | err = __do_follow_link(dentry, nd); | 547 | err = __do_follow_link(path, nd); |
537 | current->link_count--; | 548 | current->link_count--; |
538 | nd->depth--; | 549 | nd->depth--; |
539 | return err; | 550 | return err; |
540 | loop: | 551 | loop: |
552 | dput(path->dentry); | ||
553 | if (path->mnt != nd->mnt) | ||
554 | mntput(path->mnt); | ||
541 | path_release(nd); | 555 | path_release(nd); |
542 | return err; | 556 | return err; |
543 | } | 557 | } |
@@ -565,87 +579,91 @@ int follow_up(struct vfsmount **mnt, struct dentry **dentry) | |||
565 | /* no need for dcache_lock, as serialization is taken care in | 579 | /* no need for dcache_lock, as serialization is taken care in |
566 | * namespace.c | 580 | * namespace.c |
567 | */ | 581 | */ |
568 | static int follow_mount(struct vfsmount **mnt, struct dentry **dentry) | 582 | static int __follow_mount(struct path *path) |
569 | { | 583 | { |
570 | int res = 0; | 584 | int res = 0; |
585 | while (d_mountpoint(path->dentry)) { | ||
586 | struct vfsmount *mounted = lookup_mnt(path->mnt, path->dentry); | ||
587 | if (!mounted) | ||
588 | break; | ||
589 | dput(path->dentry); | ||
590 | if (res) | ||
591 | mntput(path->mnt); | ||
592 | path->mnt = mounted; | ||
593 | path->dentry = dget(mounted->mnt_root); | ||
594 | res = 1; | ||
595 | } | ||
596 | return res; | ||
597 | } | ||
598 | |||
599 | static void follow_mount(struct vfsmount **mnt, struct dentry **dentry) | ||
600 | { | ||
571 | while (d_mountpoint(*dentry)) { | 601 | while (d_mountpoint(*dentry)) { |
572 | struct vfsmount *mounted = lookup_mnt(*mnt, *dentry); | 602 | struct vfsmount *mounted = lookup_mnt(*mnt, *dentry); |
573 | if (!mounted) | 603 | if (!mounted) |
574 | break; | 604 | break; |
605 | dput(*dentry); | ||
575 | mntput(*mnt); | 606 | mntput(*mnt); |
576 | *mnt = mounted; | 607 | *mnt = mounted; |
577 | dput(*dentry); | ||
578 | *dentry = dget(mounted->mnt_root); | 608 | *dentry = dget(mounted->mnt_root); |
579 | res = 1; | ||
580 | } | 609 | } |
581 | return res; | ||
582 | } | 610 | } |
583 | 611 | ||
584 | /* no need for dcache_lock, as serialization is taken care in | 612 | /* no need for dcache_lock, as serialization is taken care in |
585 | * namespace.c | 613 | * namespace.c |
586 | */ | 614 | */ |
587 | static inline int __follow_down(struct vfsmount **mnt, struct dentry **dentry) | 615 | int follow_down(struct vfsmount **mnt, struct dentry **dentry) |
588 | { | 616 | { |
589 | struct vfsmount *mounted; | 617 | struct vfsmount *mounted; |
590 | 618 | ||
591 | mounted = lookup_mnt(*mnt, *dentry); | 619 | mounted = lookup_mnt(*mnt, *dentry); |
592 | if (mounted) { | 620 | if (mounted) { |
621 | dput(*dentry); | ||
593 | mntput(*mnt); | 622 | mntput(*mnt); |
594 | *mnt = mounted; | 623 | *mnt = mounted; |
595 | dput(*dentry); | ||
596 | *dentry = dget(mounted->mnt_root); | 624 | *dentry = dget(mounted->mnt_root); |
597 | return 1; | 625 | return 1; |
598 | } | 626 | } |
599 | return 0; | 627 | return 0; |
600 | } | 628 | } |
601 | 629 | ||
602 | int follow_down(struct vfsmount **mnt, struct dentry **dentry) | 630 | static inline void follow_dotdot(struct nameidata *nd) |
603 | { | ||
604 | return __follow_down(mnt,dentry); | ||
605 | } | ||
606 | |||
607 | static inline void follow_dotdot(struct vfsmount **mnt, struct dentry **dentry) | ||
608 | { | 631 | { |
609 | while(1) { | 632 | while(1) { |
610 | struct vfsmount *parent; | 633 | struct vfsmount *parent; |
611 | struct dentry *old = *dentry; | 634 | struct dentry *old = nd->dentry; |
612 | 635 | ||
613 | read_lock(¤t->fs->lock); | 636 | read_lock(¤t->fs->lock); |
614 | if (*dentry == current->fs->root && | 637 | if (nd->dentry == current->fs->root && |
615 | *mnt == current->fs->rootmnt) { | 638 | nd->mnt == current->fs->rootmnt) { |
616 | read_unlock(¤t->fs->lock); | 639 | read_unlock(¤t->fs->lock); |
617 | break; | 640 | break; |
618 | } | 641 | } |
619 | read_unlock(¤t->fs->lock); | 642 | read_unlock(¤t->fs->lock); |
620 | spin_lock(&dcache_lock); | 643 | spin_lock(&dcache_lock); |
621 | if (*dentry != (*mnt)->mnt_root) { | 644 | if (nd->dentry != nd->mnt->mnt_root) { |
622 | *dentry = dget((*dentry)->d_parent); | 645 | nd->dentry = dget(nd->dentry->d_parent); |
623 | spin_unlock(&dcache_lock); | 646 | spin_unlock(&dcache_lock); |
624 | dput(old); | 647 | dput(old); |
625 | break; | 648 | break; |
626 | } | 649 | } |
627 | spin_unlock(&dcache_lock); | 650 | spin_unlock(&dcache_lock); |
628 | spin_lock(&vfsmount_lock); | 651 | spin_lock(&vfsmount_lock); |
629 | parent = (*mnt)->mnt_parent; | 652 | parent = nd->mnt->mnt_parent; |
630 | if (parent == *mnt) { | 653 | if (parent == nd->mnt) { |
631 | spin_unlock(&vfsmount_lock); | 654 | spin_unlock(&vfsmount_lock); |
632 | break; | 655 | break; |
633 | } | 656 | } |
634 | mntget(parent); | 657 | mntget(parent); |
635 | *dentry = dget((*mnt)->mnt_mountpoint); | 658 | nd->dentry = dget(nd->mnt->mnt_mountpoint); |
636 | spin_unlock(&vfsmount_lock); | 659 | spin_unlock(&vfsmount_lock); |
637 | dput(old); | 660 | dput(old); |
638 | mntput(*mnt); | 661 | mntput(nd->mnt); |
639 | *mnt = parent; | 662 | nd->mnt = parent; |
640 | } | 663 | } |
641 | follow_mount(mnt, dentry); | 664 | follow_mount(&nd->mnt, &nd->dentry); |
642 | } | 665 | } |
643 | 666 | ||
644 | struct path { | ||
645 | struct vfsmount *mnt; | ||
646 | struct dentry *dentry; | ||
647 | }; | ||
648 | |||
649 | /* | 667 | /* |
650 | * It's more convoluted than I'd like it to be, but... it's still fairly | 668 | * It's more convoluted than I'd like it to be, but... it's still fairly |
651 | * small and for now I'd prefer to have fast path as straight as possible. | 669 | * small and for now I'd prefer to have fast path as straight as possible. |
@@ -664,6 +682,7 @@ static int do_lookup(struct nameidata *nd, struct qstr *name, | |||
664 | done: | 682 | done: |
665 | path->mnt = mnt; | 683 | path->mnt = mnt; |
666 | path->dentry = dentry; | 684 | path->dentry = dentry; |
685 | __follow_mount(path); | ||
667 | return 0; | 686 | return 0; |
668 | 687 | ||
669 | need_lookup: | 688 | need_lookup: |
@@ -751,7 +770,7 @@ static fastcall int __link_path_walk(const char * name, struct nameidata *nd) | |||
751 | case 2: | 770 | case 2: |
752 | if (this.name[1] != '.') | 771 | if (this.name[1] != '.') |
753 | break; | 772 | break; |
754 | follow_dotdot(&nd->mnt, &nd->dentry); | 773 | follow_dotdot(nd); |
755 | inode = nd->dentry->d_inode; | 774 | inode = nd->dentry->d_inode; |
756 | /* fallthrough */ | 775 | /* fallthrough */ |
757 | case 1: | 776 | case 1: |
@@ -771,8 +790,6 @@ static fastcall int __link_path_walk(const char * name, struct nameidata *nd) | |||
771 | err = do_lookup(nd, &this, &next); | 790 | err = do_lookup(nd, &this, &next); |
772 | if (err) | 791 | if (err) |
773 | break; | 792 | break; |
774 | /* Check mountpoints.. */ | ||
775 | follow_mount(&next.mnt, &next.dentry); | ||
776 | 793 | ||
777 | err = -ENOENT; | 794 | err = -ENOENT; |
778 | inode = next.dentry->d_inode; | 795 | inode = next.dentry->d_inode; |
@@ -783,10 +800,7 @@ static fastcall int __link_path_walk(const char * name, struct nameidata *nd) | |||
783 | goto out_dput; | 800 | goto out_dput; |
784 | 801 | ||
785 | if (inode->i_op->follow_link) { | 802 | if (inode->i_op->follow_link) { |
786 | mntget(next.mnt); | 803 | err = do_follow_link(&next, nd); |
787 | err = do_follow_link(next.dentry, nd); | ||
788 | dput(next.dentry); | ||
789 | mntput(next.mnt); | ||
790 | if (err) | 804 | if (err) |
791 | goto return_err; | 805 | goto return_err; |
792 | err = -ENOENT; | 806 | err = -ENOENT; |
@@ -798,6 +812,8 @@ static fastcall int __link_path_walk(const char * name, struct nameidata *nd) | |||
798 | break; | 812 | break; |
799 | } else { | 813 | } else { |
800 | dput(nd->dentry); | 814 | dput(nd->dentry); |
815 | if (nd->mnt != next.mnt) | ||
816 | mntput(nd->mnt); | ||
801 | nd->mnt = next.mnt; | 817 | nd->mnt = next.mnt; |
802 | nd->dentry = next.dentry; | 818 | nd->dentry = next.dentry; |
803 | } | 819 | } |
@@ -819,7 +835,7 @@ last_component: | |||
819 | case 2: | 835 | case 2: |
820 | if (this.name[1] != '.') | 836 | if (this.name[1] != '.') |
821 | break; | 837 | break; |
822 | follow_dotdot(&nd->mnt, &nd->dentry); | 838 | follow_dotdot(nd); |
823 | inode = nd->dentry->d_inode; | 839 | inode = nd->dentry->d_inode; |
824 | /* fallthrough */ | 840 | /* fallthrough */ |
825 | case 1: | 841 | case 1: |
@@ -833,19 +849,17 @@ last_component: | |||
833 | err = do_lookup(nd, &this, &next); | 849 | err = do_lookup(nd, &this, &next); |
834 | if (err) | 850 | if (err) |
835 | break; | 851 | break; |
836 | follow_mount(&next.mnt, &next.dentry); | ||
837 | inode = next.dentry->d_inode; | 852 | inode = next.dentry->d_inode; |
838 | if ((lookup_flags & LOOKUP_FOLLOW) | 853 | if ((lookup_flags & LOOKUP_FOLLOW) |
839 | && inode && inode->i_op && inode->i_op->follow_link) { | 854 | && inode && inode->i_op && inode->i_op->follow_link) { |
840 | mntget(next.mnt); | 855 | err = do_follow_link(&next, nd); |
841 | err = do_follow_link(next.dentry, nd); | ||
842 | dput(next.dentry); | ||
843 | mntput(next.mnt); | ||
844 | if (err) | 856 | if (err) |
845 | goto return_err; | 857 | goto return_err; |
846 | inode = nd->dentry->d_inode; | 858 | inode = nd->dentry->d_inode; |
847 | } else { | 859 | } else { |
848 | dput(nd->dentry); | 860 | dput(nd->dentry); |
861 | if (nd->mnt != next.mnt) | ||
862 | mntput(nd->mnt); | ||
849 | nd->mnt = next.mnt; | 863 | nd->mnt = next.mnt; |
850 | nd->dentry = next.dentry; | 864 | nd->dentry = next.dentry; |
851 | } | 865 | } |
@@ -885,6 +899,8 @@ return_base: | |||
885 | return 0; | 899 | return 0; |
886 | out_dput: | 900 | out_dput: |
887 | dput(next.dentry); | 901 | dput(next.dentry); |
902 | if (nd->mnt != next.mnt) | ||
903 | mntput(next.mnt); | ||
888 | break; | 904 | break; |
889 | } | 905 | } |
890 | path_release(nd); | 906 | path_release(nd); |
@@ -1398,7 +1414,7 @@ int may_open(struct nameidata *nd, int acc_mode, int flag) | |||
1398 | int open_namei(const char * pathname, int flag, int mode, struct nameidata *nd) | 1414 | int open_namei(const char * pathname, int flag, int mode, struct nameidata *nd) |
1399 | { | 1415 | { |
1400 | int acc_mode, error = 0; | 1416 | int acc_mode, error = 0; |
1401 | struct dentry *dentry; | 1417 | struct path path; |
1402 | struct dentry *dir; | 1418 | struct dentry *dir; |
1403 | int count = 0; | 1419 | int count = 0; |
1404 | 1420 | ||
@@ -1442,23 +1458,24 @@ int open_namei(const char * pathname, int flag, int mode, struct nameidata *nd) | |||
1442 | dir = nd->dentry; | 1458 | dir = nd->dentry; |
1443 | nd->flags &= ~LOOKUP_PARENT; | 1459 | nd->flags &= ~LOOKUP_PARENT; |
1444 | down(&dir->d_inode->i_sem); | 1460 | down(&dir->d_inode->i_sem); |
1445 | dentry = __lookup_hash(&nd->last, nd->dentry, nd); | 1461 | path.dentry = __lookup_hash(&nd->last, nd->dentry, nd); |
1462 | path.mnt = nd->mnt; | ||
1446 | 1463 | ||
1447 | do_last: | 1464 | do_last: |
1448 | error = PTR_ERR(dentry); | 1465 | error = PTR_ERR(path.dentry); |
1449 | if (IS_ERR(dentry)) { | 1466 | if (IS_ERR(path.dentry)) { |
1450 | up(&dir->d_inode->i_sem); | 1467 | up(&dir->d_inode->i_sem); |
1451 | goto exit; | 1468 | goto exit; |
1452 | } | 1469 | } |
1453 | 1470 | ||
1454 | /* Negative dentry, just create the file */ | 1471 | /* Negative dentry, just create the file */ |
1455 | if (!dentry->d_inode) { | 1472 | if (!path.dentry->d_inode) { |
1456 | if (!IS_POSIXACL(dir->d_inode)) | 1473 | if (!IS_POSIXACL(dir->d_inode)) |
1457 | mode &= ~current->fs->umask; | 1474 | mode &= ~current->fs->umask; |
1458 | error = vfs_create(dir->d_inode, dentry, mode, nd); | 1475 | error = vfs_create(dir->d_inode, path.dentry, mode, nd); |
1459 | up(&dir->d_inode->i_sem); | 1476 | up(&dir->d_inode->i_sem); |
1460 | dput(nd->dentry); | 1477 | dput(nd->dentry); |
1461 | nd->dentry = dentry; | 1478 | nd->dentry = path.dentry; |
1462 | if (error) | 1479 | if (error) |
1463 | goto exit; | 1480 | goto exit; |
1464 | /* Don't check for write permission, don't truncate */ | 1481 | /* Don't check for write permission, don't truncate */ |
@@ -1476,22 +1493,24 @@ do_last: | |||
1476 | if (flag & O_EXCL) | 1493 | if (flag & O_EXCL) |
1477 | goto exit_dput; | 1494 | goto exit_dput; |
1478 | 1495 | ||
1479 | if (d_mountpoint(dentry)) { | 1496 | if (__follow_mount(&path)) { |
1480 | error = -ELOOP; | 1497 | error = -ELOOP; |
1481 | if (flag & O_NOFOLLOW) | 1498 | if (flag & O_NOFOLLOW) |
1482 | goto exit_dput; | 1499 | goto exit_dput; |
1483 | while (__follow_down(&nd->mnt,&dentry) && d_mountpoint(dentry)); | ||
1484 | } | 1500 | } |
1485 | error = -ENOENT; | 1501 | error = -ENOENT; |
1486 | if (!dentry->d_inode) | 1502 | if (!path.dentry->d_inode) |
1487 | goto exit_dput; | 1503 | goto exit_dput; |
1488 | if (dentry->d_inode->i_op && dentry->d_inode->i_op->follow_link) | 1504 | if (path.dentry->d_inode->i_op && path.dentry->d_inode->i_op->follow_link) |
1489 | goto do_link; | 1505 | goto do_link; |
1490 | 1506 | ||
1491 | dput(nd->dentry); | 1507 | dput(nd->dentry); |
1492 | nd->dentry = dentry; | 1508 | nd->dentry = path.dentry; |
1509 | if (nd->mnt != path.mnt) | ||
1510 | mntput(nd->mnt); | ||
1511 | nd->mnt = path.mnt; | ||
1493 | error = -EISDIR; | 1512 | error = -EISDIR; |
1494 | if (dentry->d_inode && S_ISDIR(dentry->d_inode->i_mode)) | 1513 | if (path.dentry->d_inode && S_ISDIR(path.dentry->d_inode->i_mode)) |
1495 | goto exit; | 1514 | goto exit; |
1496 | ok: | 1515 | ok: |
1497 | error = may_open(nd, acc_mode, flag); | 1516 | error = may_open(nd, acc_mode, flag); |
@@ -1500,7 +1519,9 @@ ok: | |||
1500 | return 0; | 1519 | return 0; |
1501 | 1520 | ||
1502 | exit_dput: | 1521 | exit_dput: |
1503 | dput(dentry); | 1522 | dput(path.dentry); |
1523 | if (nd->mnt != path.mnt) | ||
1524 | mntput(path.mnt); | ||
1504 | exit: | 1525 | exit: |
1505 | path_release(nd); | 1526 | path_release(nd); |
1506 | return error; | 1527 | return error; |
@@ -1520,18 +1541,15 @@ do_link: | |||
1520 | * are done. Procfs-like symlinks just set LAST_BIND. | 1541 | * are done. Procfs-like symlinks just set LAST_BIND. |
1521 | */ | 1542 | */ |
1522 | nd->flags |= LOOKUP_PARENT; | 1543 | nd->flags |= LOOKUP_PARENT; |
1523 | error = security_inode_follow_link(dentry, nd); | 1544 | error = security_inode_follow_link(path.dentry, nd); |
1524 | if (error) | 1545 | if (error) |
1525 | goto exit_dput; | 1546 | goto exit_dput; |
1526 | error = __do_follow_link(dentry, nd); | 1547 | error = __do_follow_link(&path, nd); |
1527 | dput(dentry); | ||
1528 | if (error) | 1548 | if (error) |
1529 | return error; | 1549 | return error; |
1530 | nd->flags &= ~LOOKUP_PARENT; | 1550 | nd->flags &= ~LOOKUP_PARENT; |
1531 | if (nd->last_type == LAST_BIND) { | 1551 | if (nd->last_type == LAST_BIND) |
1532 | dentry = nd->dentry; | ||
1533 | goto ok; | 1552 | goto ok; |
1534 | } | ||
1535 | error = -EISDIR; | 1553 | error = -EISDIR; |
1536 | if (nd->last_type != LAST_NORM) | 1554 | if (nd->last_type != LAST_NORM) |
1537 | goto exit; | 1555 | goto exit; |
@@ -1546,7 +1564,8 @@ do_link: | |||
1546 | } | 1564 | } |
1547 | dir = nd->dentry; | 1565 | dir = nd->dentry; |
1548 | down(&dir->d_inode->i_sem); | 1566 | down(&dir->d_inode->i_sem); |
1549 | dentry = __lookup_hash(&nd->last, nd->dentry, nd); | 1567 | path.dentry = __lookup_hash(&nd->last, nd->dentry, nd); |
1568 | path.mnt = nd->mnt; | ||
1550 | putname(nd->last.name); | 1569 | putname(nd->last.name); |
1551 | goto do_last; | 1570 | goto do_last; |
1552 | } | 1571 | } |
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 73f96acd5d37..ff6155f5e8d9 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c | |||
@@ -528,19 +528,39 @@ static inline void nfs_renew_times(struct dentry * dentry) | |||
528 | dentry->d_time = jiffies; | 528 | dentry->d_time = jiffies; |
529 | } | 529 | } |
530 | 530 | ||
531 | /* | ||
532 | * Return the intent data that applies to this particular path component | ||
533 | * | ||
534 | * Note that the current set of intents only apply to the very last | ||
535 | * component of the path. | ||
536 | * We check for this using LOOKUP_CONTINUE and LOOKUP_PARENT. | ||
537 | */ | ||
538 | static inline unsigned int nfs_lookup_check_intent(struct nameidata *nd, unsigned int mask) | ||
539 | { | ||
540 | if (nd->flags & (LOOKUP_CONTINUE|LOOKUP_PARENT)) | ||
541 | return 0; | ||
542 | return nd->flags & mask; | ||
543 | } | ||
544 | |||
545 | /* | ||
546 | * Inode and filehandle revalidation for lookups. | ||
547 | * | ||
548 | * We force revalidation in the cases where the VFS sets LOOKUP_REVAL, | ||
549 | * or if the intent information indicates that we're about to open this | ||
550 | * particular file and the "nocto" mount flag is not set. | ||
551 | * | ||
552 | */ | ||
531 | static inline | 553 | static inline |
532 | int nfs_lookup_verify_inode(struct inode *inode, struct nameidata *nd) | 554 | int nfs_lookup_verify_inode(struct inode *inode, struct nameidata *nd) |
533 | { | 555 | { |
534 | struct nfs_server *server = NFS_SERVER(inode); | 556 | struct nfs_server *server = NFS_SERVER(inode); |
535 | 557 | ||
536 | if (nd != NULL) { | 558 | if (nd != NULL) { |
537 | int ndflags = nd->flags; | ||
538 | /* VFS wants an on-the-wire revalidation */ | 559 | /* VFS wants an on-the-wire revalidation */ |
539 | if (ndflags & LOOKUP_REVAL) | 560 | if (nd->flags & LOOKUP_REVAL) |
540 | goto out_force; | 561 | goto out_force; |
541 | /* This is an open(2) */ | 562 | /* This is an open(2) */ |
542 | if ((ndflags & LOOKUP_OPEN) && | 563 | if (nfs_lookup_check_intent(nd, LOOKUP_OPEN) != 0 && |
543 | !(ndflags & LOOKUP_CONTINUE) && | ||
544 | !(server->flags & NFS_MOUNT_NOCTO)) | 564 | !(server->flags & NFS_MOUNT_NOCTO)) |
545 | goto out_force; | 565 | goto out_force; |
546 | } | 566 | } |
@@ -560,12 +580,8 @@ static inline | |||
560 | int nfs_neg_need_reval(struct inode *dir, struct dentry *dentry, | 580 | int nfs_neg_need_reval(struct inode *dir, struct dentry *dentry, |
561 | struct nameidata *nd) | 581 | struct nameidata *nd) |
562 | { | 582 | { |
563 | int ndflags = 0; | ||
564 | |||
565 | if (nd) | ||
566 | ndflags = nd->flags; | ||
567 | /* Don't revalidate a negative dentry if we're creating a new file */ | 583 | /* Don't revalidate a negative dentry if we're creating a new file */ |
568 | if ((ndflags & LOOKUP_CREATE) && !(ndflags & LOOKUP_CONTINUE)) | 584 | if (nd != NULL && nfs_lookup_check_intent(nd, LOOKUP_CREATE) != 0) |
569 | return 0; | 585 | return 0; |
570 | return !nfs_check_verifier(dir, dentry); | 586 | return !nfs_check_verifier(dir, dentry); |
571 | } | 587 | } |
@@ -700,12 +716,16 @@ struct dentry_operations nfs_dentry_operations = { | |||
700 | .d_iput = nfs_dentry_iput, | 716 | .d_iput = nfs_dentry_iput, |
701 | }; | 717 | }; |
702 | 718 | ||
719 | /* | ||
720 | * Use intent information to check whether or not we're going to do | ||
721 | * an O_EXCL create using this path component. | ||
722 | */ | ||
703 | static inline | 723 | static inline |
704 | int nfs_is_exclusive_create(struct inode *dir, struct nameidata *nd) | 724 | int nfs_is_exclusive_create(struct inode *dir, struct nameidata *nd) |
705 | { | 725 | { |
706 | if (NFS_PROTO(dir)->version == 2) | 726 | if (NFS_PROTO(dir)->version == 2) |
707 | return 0; | 727 | return 0; |
708 | if (!nd || (nd->flags & LOOKUP_CONTINUE) || !(nd->flags & LOOKUP_CREATE)) | 728 | if (nd == NULL || nfs_lookup_check_intent(nd, LOOKUP_CREATE) == 0) |
709 | return 0; | 729 | return 0; |
710 | return (nd->intent.open.flags & O_EXCL) != 0; | 730 | return (nd->intent.open.flags & O_EXCL) != 0; |
711 | } | 731 | } |
@@ -772,12 +792,13 @@ struct dentry_operations nfs4_dentry_operations = { | |||
772 | .d_iput = nfs_dentry_iput, | 792 | .d_iput = nfs_dentry_iput, |
773 | }; | 793 | }; |
774 | 794 | ||
795 | /* | ||
796 | * Use intent information to determine whether we need to substitute | ||
797 | * the NFSv4-style stateful OPEN for the LOOKUP call | ||
798 | */ | ||
775 | static int is_atomic_open(struct inode *dir, struct nameidata *nd) | 799 | static int is_atomic_open(struct inode *dir, struct nameidata *nd) |
776 | { | 800 | { |
777 | if (!nd) | 801 | if (nd == NULL || nfs_lookup_check_intent(nd, LOOKUP_OPEN) == 0) |
778 | return 0; | ||
779 | /* Check that we are indeed trying to open this file */ | ||
780 | if ((nd->flags & LOOKUP_CONTINUE) || !(nd->flags & LOOKUP_OPEN)) | ||
781 | return 0; | 802 | return 0; |
782 | /* NFS does not (yet) have a stateful open for directories */ | 803 | /* NFS does not (yet) have a stateful open for directories */ |
783 | if (nd->flags & LOOKUP_DIRECTORY) | 804 | if (nd->flags & LOOKUP_DIRECTORY) |
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index f06eee6dcff5..55c907592490 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c | |||
@@ -37,6 +37,7 @@ | |||
37 | 37 | ||
38 | static int nfs_file_open(struct inode *, struct file *); | 38 | static int nfs_file_open(struct inode *, struct file *); |
39 | static int nfs_file_release(struct inode *, struct file *); | 39 | static int nfs_file_release(struct inode *, struct file *); |
40 | static loff_t nfs_file_llseek(struct file *file, loff_t offset, int origin); | ||
40 | static int nfs_file_mmap(struct file *, struct vm_area_struct *); | 41 | static int nfs_file_mmap(struct file *, struct vm_area_struct *); |
41 | static ssize_t nfs_file_sendfile(struct file *, loff_t *, size_t, read_actor_t, void *); | 42 | static ssize_t nfs_file_sendfile(struct file *, loff_t *, size_t, read_actor_t, void *); |
42 | static ssize_t nfs_file_read(struct kiocb *, char __user *, size_t, loff_t); | 43 | static ssize_t nfs_file_read(struct kiocb *, char __user *, size_t, loff_t); |
@@ -48,7 +49,7 @@ static int nfs_lock(struct file *filp, int cmd, struct file_lock *fl); | |||
48 | static int nfs_flock(struct file *filp, int cmd, struct file_lock *fl); | 49 | static int nfs_flock(struct file *filp, int cmd, struct file_lock *fl); |
49 | 50 | ||
50 | struct file_operations nfs_file_operations = { | 51 | struct file_operations nfs_file_operations = { |
51 | .llseek = remote_llseek, | 52 | .llseek = nfs_file_llseek, |
52 | .read = do_sync_read, | 53 | .read = do_sync_read, |
53 | .write = do_sync_write, | 54 | .write = do_sync_write, |
54 | .aio_read = nfs_file_read, | 55 | .aio_read = nfs_file_read, |
@@ -114,6 +115,45 @@ nfs_file_release(struct inode *inode, struct file *filp) | |||
114 | return NFS_PROTO(inode)->file_release(inode, filp); | 115 | return NFS_PROTO(inode)->file_release(inode, filp); |
115 | } | 116 | } |
116 | 117 | ||
118 | /** | ||
119 | * nfs_revalidate_size - Revalidate the file size | ||
120 | * @inode - pointer to inode struct | ||
121 | * @file - pointer to struct file | ||
122 | * | ||
123 | * Revalidates the file length. This is basically a wrapper around | ||
124 | * nfs_revalidate_inode() that takes into account the fact that we may | ||
125 | * have cached writes (in which case we don't care about the server's | ||
126 | * idea of what the file length is), or O_DIRECT (in which case we | ||
127 | * shouldn't trust the cache). | ||
128 | */ | ||
129 | static int nfs_revalidate_file_size(struct inode *inode, struct file *filp) | ||
130 | { | ||
131 | struct nfs_server *server = NFS_SERVER(inode); | ||
132 | struct nfs_inode *nfsi = NFS_I(inode); | ||
133 | |||
134 | if (server->flags & NFS_MOUNT_NOAC) | ||
135 | goto force_reval; | ||
136 | if (filp->f_flags & O_DIRECT) | ||
137 | goto force_reval; | ||
138 | if (nfsi->npages != 0) | ||
139 | return 0; | ||
140 | return nfs_revalidate_inode(server, inode); | ||
141 | force_reval: | ||
142 | return __nfs_revalidate_inode(server, inode); | ||
143 | } | ||
144 | |||
145 | static loff_t nfs_file_llseek(struct file *filp, loff_t offset, int origin) | ||
146 | { | ||
147 | /* origin == SEEK_END => we must revalidate the cached file length */ | ||
148 | if (origin == 2) { | ||
149 | struct inode *inode = filp->f_mapping->host; | ||
150 | int retval = nfs_revalidate_file_size(inode, filp); | ||
151 | if (retval < 0) | ||
152 | return (loff_t)retval; | ||
153 | } | ||
154 | return remote_llseek(filp, offset, origin); | ||
155 | } | ||
156 | |||
117 | /* | 157 | /* |
118 | * Flush all dirty pages, and check for write errors. | 158 | * Flush all dirty pages, and check for write errors. |
119 | * | 159 | * |
diff --git a/include/asm-alpha/agp.h b/include/asm-alpha/agp.h index c99dbbb5bcb5..ef855a3bc0f5 100644 --- a/include/asm-alpha/agp.h +++ b/include/asm-alpha/agp.h | |||
@@ -10,4 +10,14 @@ | |||
10 | #define flush_agp_mappings() | 10 | #define flush_agp_mappings() |
11 | #define flush_agp_cache() mb() | 11 | #define flush_agp_cache() mb() |
12 | 12 | ||
13 | /* Convert a physical address to an address suitable for the GART. */ | ||
14 | #define phys_to_gart(x) (x) | ||
15 | #define gart_to_phys(x) (x) | ||
16 | |||
17 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | ||
18 | #define alloc_gatt_pages(order) \ | ||
19 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | ||
20 | #define free_gatt_pages(table, order) \ | ||
21 | free_pages((unsigned long)(table), (order)) | ||
22 | |||
13 | #endif | 23 | #endif |
diff --git a/include/asm-arm/arch-integrator/platform.h b/include/asm-arm/arch-integrator/platform.h index bd364f5a99bc..96ad3d2a66d1 100644 --- a/include/asm-arm/arch-integrator/platform.h +++ b/include/asm-arm/arch-integrator/platform.h | |||
@@ -293,7 +293,11 @@ | |||
293 | #define INTEGRATOR_DBG_SWITCH (INTEGRATOR_DBG_BASE + INTEGRATOR_DBG_SWITCH_OFFSET) | 293 | #define INTEGRATOR_DBG_SWITCH (INTEGRATOR_DBG_BASE + INTEGRATOR_DBG_SWITCH_OFFSET) |
294 | 294 | ||
295 | 295 | ||
296 | #if defined(CONFIG_ARCH_INTEGRATOR_AP) | ||
296 | #define INTEGRATOR_GPIO_BASE 0x1B000000 /* GPIO */ | 297 | #define INTEGRATOR_GPIO_BASE 0x1B000000 /* GPIO */ |
298 | #elif defined(CONFIG_ARCH_INTEGRATOR_CP) | ||
299 | #define INTEGRATOR_GPIO_BASE 0xC9000000 /* GPIO */ | ||
300 | #endif | ||
297 | 301 | ||
298 | /* ------------------------------------------------------------------------ | 302 | /* ------------------------------------------------------------------------ |
299 | * KMI keyboard/mouse definitions | 303 | * KMI keyboard/mouse definitions |
diff --git a/include/asm-arm/arch-ixp2000/io.h b/include/asm-arm/arch-ixp2000/io.h index a8e3c2daefd6..083462668e18 100644 --- a/include/asm-arm/arch-ixp2000/io.h +++ b/include/asm-arm/arch-ixp2000/io.h | |||
@@ -75,8 +75,8 @@ static inline void insw(u32 ptr, void *buf, int length) | |||
75 | * Is this cycle meant for the CS8900? | 75 | * Is this cycle meant for the CS8900? |
76 | */ | 76 | */ |
77 | if ((machine_is_ixdp2401() || machine_is_ixdp2801()) && | 77 | if ((machine_is_ixdp2401() || machine_is_ixdp2801()) && |
78 | ((port >= IXDP2X01_CS8900_VIRT_BASE) && | 78 | (((u32)port >= (u32)IXDP2X01_CS8900_VIRT_BASE) && |
79 | (port <= IXDP2X01_CS8900_VIRT_END))) { | 79 | ((u32)port <= (u32)IXDP2X01_CS8900_VIRT_END))) { |
80 | u8 *buf8 = (u8*)buf; | 80 | u8 *buf8 = (u8*)buf; |
81 | register u32 tmp32; | 81 | register u32 tmp32; |
82 | 82 | ||
@@ -100,8 +100,8 @@ static inline void outsw(u32 ptr, void *buf, int length) | |||
100 | * Is this cycle meant for the CS8900? | 100 | * Is this cycle meant for the CS8900? |
101 | */ | 101 | */ |
102 | if ((machine_is_ixdp2401() || machine_is_ixdp2801()) && | 102 | if ((machine_is_ixdp2401() || machine_is_ixdp2801()) && |
103 | ((port >= IXDP2X01_CS8900_VIRT_BASE) && | 103 | (((u32)port >= (u32)IXDP2X01_CS8900_VIRT_BASE) && |
104 | (port <= IXDP2X01_CS8900_VIRT_END))) { | 104 | ((u32)port <= (u32)IXDP2X01_CS8900_VIRT_END))) { |
105 | register u32 tmp32; | 105 | register u32 tmp32; |
106 | u8 *buf8 = (u8*)buf; | 106 | u8 *buf8 = (u8*)buf; |
107 | do { | 107 | do { |
@@ -124,8 +124,8 @@ static inline u16 inw(u32 ptr) | |||
124 | * Is this cycle meant for the CS8900? | 124 | * Is this cycle meant for the CS8900? |
125 | */ | 125 | */ |
126 | if ((machine_is_ixdp2401() || machine_is_ixdp2801()) && | 126 | if ((machine_is_ixdp2401() || machine_is_ixdp2801()) && |
127 | ((port >= IXDP2X01_CS8900_VIRT_BASE) && | 127 | (((u32)port >= (u32)IXDP2X01_CS8900_VIRT_BASE) && |
128 | (port <= IXDP2X01_CS8900_VIRT_END))) { | 128 | ((u32)port <= (u32)IXDP2X01_CS8900_VIRT_END))) { |
129 | return (u16)(*port); | 129 | return (u16)(*port); |
130 | } | 130 | } |
131 | 131 | ||
@@ -137,8 +137,8 @@ static inline void outw(u16 value, u32 ptr) | |||
137 | register volatile u32 *port = (volatile u32 *)ptr; | 137 | register volatile u32 *port = (volatile u32 *)ptr; |
138 | 138 | ||
139 | if ((machine_is_ixdp2401() || machine_is_ixdp2801()) && | 139 | if ((machine_is_ixdp2401() || machine_is_ixdp2801()) && |
140 | ((port >= IXDP2X01_CS8900_VIRT_BASE) && | 140 | (((u32)port >= (u32)IXDP2X01_CS8900_VIRT_BASE) && |
141 | (port <= IXDP2X01_CS8900_VIRT_END))) { | 141 | ((u32)port <= (u32)IXDP2X01_CS8900_VIRT_END))) { |
142 | *port = value; | 142 | *port = value; |
143 | return; | 143 | return; |
144 | } | 144 | } |
diff --git a/include/asm-arm/arch-pxa/pxa-regs.h b/include/asm-arm/arch-pxa/pxa-regs.h index 39741d3c9a34..b5e54a9e9fa7 100644 --- a/include/asm-arm/arch-pxa/pxa-regs.h +++ b/include/asm-arm/arch-pxa/pxa-regs.h | |||
@@ -1296,6 +1296,7 @@ | |||
1296 | #define GPIO111_MMCDAT3 111 /* MMC DAT3 (PXA27x) */ | 1296 | #define GPIO111_MMCDAT3 111 /* MMC DAT3 (PXA27x) */ |
1297 | #define GPIO111_MMCCS1 111 /* MMC Chip Select 1 (PXA27x) */ | 1297 | #define GPIO111_MMCCS1 111 /* MMC Chip Select 1 (PXA27x) */ |
1298 | #define GPIO112_MMCCMD 112 /* MMC CMD (PXA27x) */ | 1298 | #define GPIO112_MMCCMD 112 /* MMC CMD (PXA27x) */ |
1299 | #define GPIO113_I2S_SYSCLK 113 /* I2S System Clock (PXA27x) */ | ||
1299 | #define GPIO113_AC97_RESET_N 113 /* AC97 NRESET on (PXA27x) */ | 1300 | #define GPIO113_AC97_RESET_N 113 /* AC97 NRESET on (PXA27x) */ |
1300 | 1301 | ||
1301 | /* GPIO alternate function mode & direction */ | 1302 | /* GPIO alternate function mode & direction */ |
@@ -1428,6 +1429,7 @@ | |||
1428 | #define GPIO111_MMCDAT3_MD (111 | GPIO_ALT_FN_1_OUT) | 1429 | #define GPIO111_MMCDAT3_MD (111 | GPIO_ALT_FN_1_OUT) |
1429 | #define GPIO110_MMCCS1_MD (111 | GPIO_ALT_FN_1_OUT) | 1430 | #define GPIO110_MMCCS1_MD (111 | GPIO_ALT_FN_1_OUT) |
1430 | #define GPIO112_MMCCMD_MD (112 | GPIO_ALT_FN_1_OUT) | 1431 | #define GPIO112_MMCCMD_MD (112 | GPIO_ALT_FN_1_OUT) |
1432 | #define GPIO113_I2S_SYSCLK_MD (113 | GPIO_ALT_FN_1_OUT) | ||
1431 | #define GPIO113_AC97_RESET_N_MD (113 | GPIO_ALT_FN_2_OUT) | 1433 | #define GPIO113_AC97_RESET_N_MD (113 | GPIO_ALT_FN_2_OUT) |
1432 | #define GPIO117_I2CSCL_MD (117 | GPIO_ALT_FN_1_OUT) | 1434 | #define GPIO117_I2CSCL_MD (117 | GPIO_ALT_FN_1_OUT) |
1433 | #define GPIO118_I2CSDA_MD (118 | GPIO_ALT_FN_1_IN) | 1435 | #define GPIO118_I2CSDA_MD (118 | GPIO_ALT_FN_1_IN) |
diff --git a/include/asm-arm/arch-versatile/platform.h b/include/asm-arm/arch-versatile/platform.h index 2598d1f08548..a71093e44c58 100644 --- a/include/asm-arm/arch-versatile/platform.h +++ b/include/asm-arm/arch-versatile/platform.h | |||
@@ -498,11 +498,17 @@ | |||
498 | /* | 498 | /* |
499 | * IB2 Versatile/AB expansion board definitions | 499 | * IB2 Versatile/AB expansion board definitions |
500 | */ | 500 | */ |
501 | #define VERSATILE_IB2_CAMERA_BANK 0x24000000 | 501 | #define VERSATILE_IB2_CAMERA_BANK VERSATILE_IB2_BASE |
502 | #define VERSATILE_IB2_KBD_DATAREG 0x25000000 | 502 | #define VERSATILE_IB2_KBD_DATAREG (VERSATILE_IB2_BASE + 0x01000000) |
503 | #define VERSATILE_IB2_IER 0x26000000 /* for VICINTSOURCE27 */ | 503 | |
504 | #define VERSATILE_IB2_CTRL 0x27000000 | 504 | /* VICINTSOURCE27 */ |
505 | #define VERSATILE_IB2_STAT 0x27000004 | 505 | #define VERSATILE_IB2_INT_BASE (VERSATILE_IB2_BASE + 0x02000000) |
506 | #define VERSATILE_IB2_IER (VERSATILE_IB2_INT_BASE + 0) | ||
507 | #define VERSATILE_IB2_ISR (VERSATILE_IB2_INT_BASE + 4) | ||
508 | |||
509 | #define VERSATILE_IB2_CTL_BASE (VERSATILE_IB2_BASE + 0x03000000) | ||
510 | #define VERSATILE_IB2_CTRL (VERSATILE_IB2_CTL_BASE + 0) | ||
511 | #define VERSATILE_IB2_STAT (VERSATILE_IB2_CTL_BASE + 4) | ||
506 | #endif | 512 | #endif |
507 | 513 | ||
508 | #endif | 514 | #endif |
diff --git a/include/asm-arm/elf.h b/include/asm-arm/elf.h index cbceacbe5afa..a1696ba238d3 100644 --- a/include/asm-arm/elf.h +++ b/include/asm-arm/elf.h | |||
@@ -38,9 +38,9 @@ typedef struct user_fp elf_fpregset_t; | |||
38 | */ | 38 | */ |
39 | #define ELF_CLASS ELFCLASS32 | 39 | #define ELF_CLASS ELFCLASS32 |
40 | #ifdef __ARMEB__ | 40 | #ifdef __ARMEB__ |
41 | #define ELF_DATA ELFDATA2MSB; | 41 | #define ELF_DATA ELFDATA2MSB |
42 | #else | 42 | #else |
43 | #define ELF_DATA ELFDATA2LSB; | 43 | #define ELF_DATA ELFDATA2LSB |
44 | #endif | 44 | #endif |
45 | #define ELF_ARCH EM_ARM | 45 | #define ELF_ARCH EM_ARM |
46 | 46 | ||
diff --git a/include/asm-arm26/elf.h b/include/asm-arm26/elf.h index 8b149474db24..5a47fdb3015d 100644 --- a/include/asm-arm26/elf.h +++ b/include/asm-arm26/elf.h | |||
@@ -36,7 +36,7 @@ typedef struct { void *null; } elf_fpregset_t; | |||
36 | * These are used to set parameters in the core dumps. | 36 | * These are used to set parameters in the core dumps. |
37 | */ | 37 | */ |
38 | #define ELF_CLASS ELFCLASS32 | 38 | #define ELF_CLASS ELFCLASS32 |
39 | #define ELF_DATA ELFDATA2LSB; | 39 | #define ELF_DATA ELFDATA2LSB |
40 | #define ELF_ARCH EM_ARM | 40 | #define ELF_ARCH EM_ARM |
41 | 41 | ||
42 | #define USE_ELF_CORE_DUMP | 42 | #define USE_ELF_CORE_DUMP |
diff --git a/include/asm-arm26/signal.h b/include/asm-arm26/signal.h index dedb29280303..37ad25355591 100644 --- a/include/asm-arm26/signal.h +++ b/include/asm-arm26/signal.h | |||
@@ -166,9 +166,6 @@ typedef struct sigaltstack { | |||
166 | #include <asm/sigcontext.h> | 166 | #include <asm/sigcontext.h> |
167 | 167 | ||
168 | #define sigmask(sig) (1UL << ((sig) - 1)) | 168 | #define sigmask(sig) (1UL << ((sig) - 1)) |
169 | //FIXME!!! | ||
170 | //#define HAVE_ARCH_GET_SIGNAL_TO_DELIVER | ||
171 | |||
172 | #endif | 169 | #endif |
173 | 170 | ||
174 | 171 | ||
diff --git a/include/asm-h8300/kmap_types.h b/include/asm-h8300/kmap_types.h index 82431edeb2a1..1ec8a3427120 100644 --- a/include/asm-h8300/kmap_types.h +++ b/include/asm-h8300/kmap_types.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef _ASM_KMAP_TYPES_H | 1 | #ifndef _ASM_H8300_KMAP_TYPES_H |
2 | #define _ASM_KMAP_TYPES_H | 2 | #define _ASM_H8300_KMAP_TYPES_H |
3 | 3 | ||
4 | enum km_type { | 4 | enum km_type { |
5 | KM_BOUNCE_READ, | 5 | KM_BOUNCE_READ, |
@@ -13,6 +13,8 @@ enum km_type { | |||
13 | KM_PTE1, | 13 | KM_PTE1, |
14 | KM_IRQ0, | 14 | KM_IRQ0, |
15 | KM_IRQ1, | 15 | KM_IRQ1, |
16 | KM_SOFTIRQ0, | ||
17 | KM_SOFTIRQ1, | ||
16 | KM_TYPE_NR | 18 | KM_TYPE_NR |
17 | }; | 19 | }; |
18 | 20 | ||
diff --git a/include/asm-h8300/mman.h b/include/asm-h8300/mman.h index abe08856c84f..63f727a59850 100644 --- a/include/asm-h8300/mman.h +++ b/include/asm-h8300/mman.h | |||
@@ -4,6 +4,7 @@ | |||
4 | #define PROT_READ 0x1 /* page can be read */ | 4 | #define PROT_READ 0x1 /* page can be read */ |
5 | #define PROT_WRITE 0x2 /* page can be written */ | 5 | #define PROT_WRITE 0x2 /* page can be written */ |
6 | #define PROT_EXEC 0x4 /* page can be executed */ | 6 | #define PROT_EXEC 0x4 /* page can be executed */ |
7 | #define PROT_SEM 0x8 /* page may be used for atomic ops */ | ||
7 | #define PROT_NONE 0x0 /* page can not be accessed */ | 8 | #define PROT_NONE 0x0 /* page can not be accessed */ |
8 | #define PROT_GROWSDOWN 0x01000000 /* mprotect flag: extend change to start of growsdown vma */ | 9 | #define PROT_GROWSDOWN 0x01000000 /* mprotect flag: extend change to start of growsdown vma */ |
9 | #define PROT_GROWSUP 0x02000000 /* mprotect flag: extend change to end of growsup vma */ | 10 | #define PROT_GROWSUP 0x02000000 /* mprotect flag: extend change to end of growsup vma */ |
@@ -19,6 +20,8 @@ | |||
19 | #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */ | 20 | #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */ |
20 | #define MAP_LOCKED 0x2000 /* pages are locked */ | 21 | #define MAP_LOCKED 0x2000 /* pages are locked */ |
21 | #define MAP_NORESERVE 0x4000 /* don't check for reservations */ | 22 | #define MAP_NORESERVE 0x4000 /* don't check for reservations */ |
23 | #define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */ | ||
24 | #define MAP_NONBLOCK 0x10000 /* do not block on IO */ | ||
22 | 25 | ||
23 | #define MS_ASYNC 1 /* sync memory asynchronously */ | 26 | #define MS_ASYNC 1 /* sync memory asynchronously */ |
24 | #define MS_INVALIDATE 2 /* invalidate the caches */ | 27 | #define MS_INVALIDATE 2 /* invalidate the caches */ |
diff --git a/include/asm-i386/agp.h b/include/asm-i386/agp.h index a917ff50354f..b82f5f3ab887 100644 --- a/include/asm-i386/agp.h +++ b/include/asm-i386/agp.h | |||
@@ -21,4 +21,14 @@ int unmap_page_from_agp(struct page *page); | |||
21 | worth it. Would need a page for it. */ | 21 | worth it. Would need a page for it. */ |
22 | #define flush_agp_cache() asm volatile("wbinvd":::"memory") | 22 | #define flush_agp_cache() asm volatile("wbinvd":::"memory") |
23 | 23 | ||
24 | /* Convert a physical address to an address suitable for the GART. */ | ||
25 | #define phys_to_gart(x) (x) | ||
26 | #define gart_to_phys(x) (x) | ||
27 | |||
28 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | ||
29 | #define alloc_gatt_pages(order) \ | ||
30 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | ||
31 | #define free_gatt_pages(table, order) \ | ||
32 | free_pages((unsigned long)(table), (order)) | ||
33 | |||
24 | #endif | 34 | #endif |
diff --git a/include/asm-i386/mach-numaq/mach_ipi.h b/include/asm-i386/mach-numaq/mach_ipi.h index 1b46fd3f2ae3..c6044488e9e6 100644 --- a/include/asm-i386/mach-numaq/mach_ipi.h +++ b/include/asm-i386/mach-numaq/mach_ipi.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef __ASM_MACH_IPI_H | 1 | #ifndef __ASM_MACH_IPI_H |
2 | #define __ASM_MACH_IPI_H | 2 | #define __ASM_MACH_IPI_H |
3 | 3 | ||
4 | inline void send_IPI_mask_sequence(cpumask_t, int vector); | 4 | void send_IPI_mask_sequence(cpumask_t, int vector); |
5 | 5 | ||
6 | static inline void send_IPI_mask(cpumask_t mask, int vector) | 6 | static inline void send_IPI_mask(cpumask_t mask, int vector) |
7 | { | 7 | { |
diff --git a/include/asm-ia64/agp.h b/include/asm-ia64/agp.h index d1316f1e6ee1..4e517f0e6afa 100644 --- a/include/asm-ia64/agp.h +++ b/include/asm-ia64/agp.h | |||
@@ -18,4 +18,14 @@ | |||
18 | #define flush_agp_mappings() /* nothing */ | 18 | #define flush_agp_mappings() /* nothing */ |
19 | #define flush_agp_cache() mb() | 19 | #define flush_agp_cache() mb() |
20 | 20 | ||
21 | /* Convert a physical address to an address suitable for the GART. */ | ||
22 | #define phys_to_gart(x) (x) | ||
23 | #define gart_to_phys(x) (x) | ||
24 | |||
25 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | ||
26 | #define alloc_gatt_pages(order) \ | ||
27 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | ||
28 | #define free_gatt_pages(table, order) \ | ||
29 | free_pages((unsigned long)(table), (order)) | ||
30 | |||
21 | #endif /* _ASM_IA64_AGP_H */ | 31 | #endif /* _ASM_IA64_AGP_H */ |
diff --git a/include/asm-ia64/pgtable.h b/include/asm-ia64/pgtable.h index ea121a002309..fcc9c3344ab4 100644 --- a/include/asm-ia64/pgtable.h +++ b/include/asm-ia64/pgtable.h | |||
@@ -8,7 +8,7 @@ | |||
8 | * This hopefully works with any (fixed) IA-64 page-size, as defined | 8 | * This hopefully works with any (fixed) IA-64 page-size, as defined |
9 | * in <asm/page.h>. | 9 | * in <asm/page.h>. |
10 | * | 10 | * |
11 | * Copyright (C) 1998-2004 Hewlett-Packard Co | 11 | * Copyright (C) 1998-2005 Hewlett-Packard Co |
12 | * David Mosberger-Tang <davidm@hpl.hp.com> | 12 | * David Mosberger-Tang <davidm@hpl.hp.com> |
13 | */ | 13 | */ |
14 | 14 | ||
@@ -551,7 +551,11 @@ do { \ | |||
551 | 551 | ||
552 | /* These tell get_user_pages() that the first gate page is accessible from user-level. */ | 552 | /* These tell get_user_pages() that the first gate page is accessible from user-level. */ |
553 | #define FIXADDR_USER_START GATE_ADDR | 553 | #define FIXADDR_USER_START GATE_ADDR |
554 | #define FIXADDR_USER_END (GATE_ADDR + 2*PERCPU_PAGE_SIZE) | 554 | #ifdef HAVE_BUGGY_SEGREL |
555 | # define FIXADDR_USER_END (GATE_ADDR + 2*PAGE_SIZE) | ||
556 | #else | ||
557 | # define FIXADDR_USER_END (GATE_ADDR + 2*PERCPU_PAGE_SIZE) | ||
558 | #endif | ||
555 | 559 | ||
556 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG | 560 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG |
557 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_DIRTY | 561 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_DIRTY |
diff --git a/include/asm-ia64/processor.h b/include/asm-ia64/processor.h index 9e1ba8b7fb68..91bbd1f22461 100644 --- a/include/asm-ia64/processor.h +++ b/include/asm-ia64/processor.h | |||
@@ -403,7 +403,10 @@ extern void ia64_setreg_unknown_kr (void); | |||
403 | * task_struct at this point. | 403 | * task_struct at this point. |
404 | */ | 404 | */ |
405 | 405 | ||
406 | /* Return TRUE if task T owns the fph partition of the CPU we're running on. */ | 406 | /* |
407 | * Return TRUE if task T owns the fph partition of the CPU we're running on. | ||
408 | * Must be called from code that has preemption disabled. | ||
409 | */ | ||
407 | #define ia64_is_local_fpu_owner(t) \ | 410 | #define ia64_is_local_fpu_owner(t) \ |
408 | ({ \ | 411 | ({ \ |
409 | struct task_struct *__ia64_islfo_task = (t); \ | 412 | struct task_struct *__ia64_islfo_task = (t); \ |
@@ -411,7 +414,10 @@ extern void ia64_setreg_unknown_kr (void); | |||
411 | && __ia64_islfo_task == (struct task_struct *) ia64_get_kr(IA64_KR_FPU_OWNER)); \ | 414 | && __ia64_islfo_task == (struct task_struct *) ia64_get_kr(IA64_KR_FPU_OWNER)); \ |
412 | }) | 415 | }) |
413 | 416 | ||
414 | /* Mark task T as owning the fph partition of the CPU we're running on. */ | 417 | /* |
418 | * Mark task T as owning the fph partition of the CPU we're running on. | ||
419 | * Must be called from code that has preemption disabled. | ||
420 | */ | ||
415 | #define ia64_set_local_fpu_owner(t) do { \ | 421 | #define ia64_set_local_fpu_owner(t) do { \ |
416 | struct task_struct *__ia64_slfo_task = (t); \ | 422 | struct task_struct *__ia64_slfo_task = (t); \ |
417 | __ia64_slfo_task->thread.last_fph_cpu = smp_processor_id(); \ | 423 | __ia64_slfo_task->thread.last_fph_cpu = smp_processor_id(); \ |
diff --git a/include/asm-ppc/agp.h b/include/asm-ppc/agp.h index be27cfa8c5b0..ca9e423307f4 100644 --- a/include/asm-ppc/agp.h +++ b/include/asm-ppc/agp.h | |||
@@ -10,4 +10,14 @@ | |||
10 | #define flush_agp_mappings() | 10 | #define flush_agp_mappings() |
11 | #define flush_agp_cache() mb() | 11 | #define flush_agp_cache() mb() |
12 | 12 | ||
13 | /* Convert a physical address to an address suitable for the GART. */ | ||
14 | #define phys_to_gart(x) (x) | ||
15 | #define gart_to_phys(x) (x) | ||
16 | |||
17 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | ||
18 | #define alloc_gatt_pages(order) \ | ||
19 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | ||
20 | #define free_gatt_pages(table, order) \ | ||
21 | free_pages((unsigned long)(table), (order)) | ||
22 | |||
13 | #endif | 23 | #endif |
diff --git a/include/asm-ppc/sigcontext.h b/include/asm-ppc/sigcontext.h index f82dcccdee1e..b7a417e0a921 100644 --- a/include/asm-ppc/sigcontext.h +++ b/include/asm-ppc/sigcontext.h | |||
@@ -2,7 +2,7 @@ | |||
2 | #define _ASM_PPC_SIGCONTEXT_H | 2 | #define _ASM_PPC_SIGCONTEXT_H |
3 | 3 | ||
4 | #include <asm/ptrace.h> | 4 | #include <asm/ptrace.h> |
5 | 5 | #include <linux/compiler.h> | |
6 | 6 | ||
7 | struct sigcontext { | 7 | struct sigcontext { |
8 | unsigned long _unused[4]; | 8 | unsigned long _unused[4]; |
diff --git a/include/asm-ppc64/agp.h b/include/asm-ppc64/agp.h index be27cfa8c5b0..ca9e423307f4 100644 --- a/include/asm-ppc64/agp.h +++ b/include/asm-ppc64/agp.h | |||
@@ -10,4 +10,14 @@ | |||
10 | #define flush_agp_mappings() | 10 | #define flush_agp_mappings() |
11 | #define flush_agp_cache() mb() | 11 | #define flush_agp_cache() mb() |
12 | 12 | ||
13 | /* Convert a physical address to an address suitable for the GART. */ | ||
14 | #define phys_to_gart(x) (x) | ||
15 | #define gart_to_phys(x) (x) | ||
16 | |||
17 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | ||
18 | #define alloc_gatt_pages(order) \ | ||
19 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | ||
20 | #define free_gatt_pages(table, order) \ | ||
21 | free_pages((unsigned long)(table), (order)) | ||
22 | |||
13 | #endif | 23 | #endif |
diff --git a/include/asm-ppc64/elf.h b/include/asm-ppc64/elf.h index 6c42d61bedd1..085eedb956fe 100644 --- a/include/asm-ppc64/elf.h +++ b/include/asm-ppc64/elf.h | |||
@@ -221,9 +221,7 @@ do { \ | |||
221 | set_thread_flag(TIF_ABI_PENDING); \ | 221 | set_thread_flag(TIF_ABI_PENDING); \ |
222 | else \ | 222 | else \ |
223 | clear_thread_flag(TIF_ABI_PENDING); \ | 223 | clear_thread_flag(TIF_ABI_PENDING); \ |
224 | if (ibcs2) \ | 224 | if (personality(current->personality) != PER_LINUX32) \ |
225 | set_personality(PER_SVR4); \ | ||
226 | else if (current->personality != PER_LINUX32) \ | ||
227 | set_personality(PER_LINUX); \ | 225 | set_personality(PER_LINUX); \ |
228 | } while (0) | 226 | } while (0) |
229 | 227 | ||
diff --git a/include/asm-s390/user.h b/include/asm-s390/user.h index c64f8c181df3..1dc74baf03c4 100644 --- a/include/asm-s390/user.h +++ b/include/asm-s390/user.h | |||
@@ -10,7 +10,7 @@ | |||
10 | #define _S390_USER_H | 10 | #define _S390_USER_H |
11 | 11 | ||
12 | #include <asm/page.h> | 12 | #include <asm/page.h> |
13 | #include <linux/ptrace.h> | 13 | #include <asm/ptrace.h> |
14 | /* Core file format: The core file is written in such a way that gdb | 14 | /* Core file format: The core file is written in such a way that gdb |
15 | can understand it and provide useful information to the user (under | 15 | can understand it and provide useful information to the user (under |
16 | linux we use the 'trad-core' bfd). There are quite a number of | 16 | linux we use the 'trad-core' bfd). There are quite a number of |
diff --git a/include/asm-sparc/uaccess.h b/include/asm-sparc/uaccess.h index f461144067ee..0a780e84a12b 100644 --- a/include/asm-sparc/uaccess.h +++ b/include/asm-sparc/uaccess.h | |||
@@ -41,10 +41,11 @@ | |||
41 | * No one can read/write anything from userland in the kernel space by setting | 41 | * No one can read/write anything from userland in the kernel space by setting |
42 | * large size and address near to PAGE_OFFSET - a fault will break his intentions. | 42 | * large size and address near to PAGE_OFFSET - a fault will break his intentions. |
43 | */ | 43 | */ |
44 | #define __user_ok(addr,size) ((addr) < STACK_TOP) | 44 | #define __user_ok(addr, size) ({ (void)(size); (addr) < STACK_TOP; }) |
45 | #define __kernel_ok (segment_eq(get_fs(), KERNEL_DS)) | 45 | #define __kernel_ok (segment_eq(get_fs(), KERNEL_DS)) |
46 | #define __access_ok(addr,size) (__user_ok((addr) & get_fs().seg,(size))) | 46 | #define __access_ok(addr,size) (__user_ok((addr) & get_fs().seg,(size))) |
47 | #define access_ok(type,addr,size) __access_ok((unsigned long)(addr),(size)) | 47 | #define access_ok(type, addr, size) \ |
48 | ({ (void)(type); __access_ok((unsigned long)(addr), size); }) | ||
48 | 49 | ||
49 | /* this function will go away soon - use access_ok() instead */ | 50 | /* this function will go away soon - use access_ok() instead */ |
50 | static inline int __deprecated verify_area(int type, const void __user * addr, unsigned long size) | 51 | static inline int __deprecated verify_area(int type, const void __user * addr, unsigned long size) |
diff --git a/include/asm-sparc64/agp.h b/include/asm-sparc64/agp.h index ba05bdf9a211..58f8cb6ae767 100644 --- a/include/asm-sparc64/agp.h +++ b/include/asm-sparc64/agp.h | |||
@@ -8,4 +8,14 @@ | |||
8 | #define flush_agp_mappings() | 8 | #define flush_agp_mappings() |
9 | #define flush_agp_cache() mb() | 9 | #define flush_agp_cache() mb() |
10 | 10 | ||
11 | /* Convert a physical address to an address suitable for the GART. */ | ||
12 | #define phys_to_gart(x) (x) | ||
13 | #define gart_to_phys(x) (x) | ||
14 | |||
15 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | ||
16 | #define alloc_gatt_pages(order) \ | ||
17 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | ||
18 | #define free_gatt_pages(table, order) \ | ||
19 | free_pages((unsigned long)(table), (order)) | ||
20 | |||
11 | #endif | 21 | #endif |
diff --git a/include/asm-x86_64/agp.h b/include/asm-x86_64/agp.h index 0bb9019d58aa..06c52ee9c06b 100644 --- a/include/asm-x86_64/agp.h +++ b/include/asm-x86_64/agp.h | |||
@@ -19,4 +19,14 @@ int unmap_page_from_agp(struct page *page); | |||
19 | worth it. Would need a page for it. */ | 19 | worth it. Would need a page for it. */ |
20 | #define flush_agp_cache() asm volatile("wbinvd":::"memory") | 20 | #define flush_agp_cache() asm volatile("wbinvd":::"memory") |
21 | 21 | ||
22 | /* Convert a physical address to an address suitable for the GART. */ | ||
23 | #define phys_to_gart(x) (x) | ||
24 | #define gart_to_phys(x) (x) | ||
25 | |||
26 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | ||
27 | #define alloc_gatt_pages(order) \ | ||
28 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | ||
29 | #define free_gatt_pages(table, order) \ | ||
30 | free_pages((unsigned long)(table), (order)) | ||
31 | |||
22 | #endif | 32 | #endif |
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index d5a55bdb9c3c..b123cc08773d 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -25,6 +25,8 @@ | |||
25 | #ifndef _LINUX_ACPI_H | 25 | #ifndef _LINUX_ACPI_H |
26 | #define _LINUX_ACPI_H | 26 | #define _LINUX_ACPI_H |
27 | 27 | ||
28 | #include <linux/config.h> | ||
29 | |||
28 | #ifdef CONFIG_ACPI | 30 | #ifdef CONFIG_ACPI |
29 | 31 | ||
30 | #ifndef _LINUX | 32 | #ifndef _LINUX |
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index ef1afc178c0a..4a99b76c5a33 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -544,7 +544,7 @@ extern void blk_end_sync_rq(struct request *rq); | |||
544 | extern void blk_attempt_remerge(request_queue_t *, struct request *); | 544 | extern void blk_attempt_remerge(request_queue_t *, struct request *); |
545 | extern void __blk_attempt_remerge(request_queue_t *, struct request *); | 545 | extern void __blk_attempt_remerge(request_queue_t *, struct request *); |
546 | extern struct request *blk_get_request(request_queue_t *, int, int); | 546 | extern struct request *blk_get_request(request_queue_t *, int, int); |
547 | extern void blk_insert_request(request_queue_t *, struct request *, int, void *, int); | 547 | extern void blk_insert_request(request_queue_t *, struct request *, int, void *); |
548 | extern void blk_requeue_request(request_queue_t *, struct request *); | 548 | extern void blk_requeue_request(request_queue_t *, struct request *); |
549 | extern void blk_plug_device(request_queue_t *); | 549 | extern void blk_plug_device(request_queue_t *); |
550 | extern int blk_remove_plug(request_queue_t *); | 550 | extern int blk_remove_plug(request_queue_t *); |
diff --git a/include/linux/chio.h b/include/linux/chio.h new file mode 100644 index 000000000000..63035ae67e63 --- /dev/null +++ b/include/linux/chio.h | |||
@@ -0,0 +1,168 @@ | |||
1 | /* | ||
2 | * ioctl interface for the scsi media changer driver | ||
3 | */ | ||
4 | |||
5 | /* changer element types */ | ||
6 | #define CHET_MT 0 /* media transport element (robot) */ | ||
7 | #define CHET_ST 1 /* storage element (media slots) */ | ||
8 | #define CHET_IE 2 /* import/export element */ | ||
9 | #define CHET_DT 3 /* data transfer element (tape/cdrom/whatever) */ | ||
10 | #define CHET_V1 4 /* vendor specific #1 */ | ||
11 | #define CHET_V2 5 /* vendor specific #2 */ | ||
12 | #define CHET_V3 6 /* vendor specific #3 */ | ||
13 | #define CHET_V4 7 /* vendor specific #4 */ | ||
14 | |||
15 | |||
16 | /* | ||
17 | * CHIOGPARAMS | ||
18 | * query changer properties | ||
19 | * | ||
20 | * CHIOVGPARAMS | ||
21 | * query vendor-specific element types | ||
22 | * | ||
23 | * accessing elements works by specifing type and unit of the element. | ||
24 | * for eample, storage elements are addressed with type = CHET_ST and | ||
25 | * unit = 0 .. cp_nslots-1 | ||
26 | * | ||
27 | */ | ||
28 | struct changer_params { | ||
29 | int cp_curpicker; /* current transport element */ | ||
30 | int cp_npickers; /* number of transport elements (CHET_MT) */ | ||
31 | int cp_nslots; /* number of storage elements (CHET_ST) */ | ||
32 | int cp_nportals; /* number of import/export elements (CHET_IE) */ | ||
33 | int cp_ndrives; /* number of data transfer elements (CHET_DT) */ | ||
34 | }; | ||
35 | struct changer_vendor_params { | ||
36 | int cvp_n1; /* number of vendor specific elems (CHET_V1) */ | ||
37 | char cvp_label1[16]; | ||
38 | int cvp_n2; /* number of vendor specific elems (CHET_V2) */ | ||
39 | char cvp_label2[16]; | ||
40 | int cvp_n3; /* number of vendor specific elems (CHET_V3) */ | ||
41 | char cvp_label3[16]; | ||
42 | int cvp_n4; /* number of vendor specific elems (CHET_V4) */ | ||
43 | char cvp_label4[16]; | ||
44 | int reserved[8]; | ||
45 | }; | ||
46 | |||
47 | |||
48 | /* | ||
49 | * CHIOMOVE | ||
50 | * move a medium from one element to another | ||
51 | */ | ||
52 | struct changer_move { | ||
53 | int cm_fromtype; /* type/unit of source element */ | ||
54 | int cm_fromunit; | ||
55 | int cm_totype; /* type/unit of destination element */ | ||
56 | int cm_tounit; | ||
57 | int cm_flags; | ||
58 | }; | ||
59 | #define CM_INVERT 1 /* flag: rotate media (for double-sided like MOD) */ | ||
60 | |||
61 | |||
62 | /* | ||
63 | * CHIOEXCHANGE | ||
64 | * move one medium from element #1 to element #2, | ||
65 | * and another one from element #2 to element #3. | ||
66 | * element #1 and #3 are allowed to be identical. | ||
67 | */ | ||
68 | struct changer_exchange { | ||
69 | int ce_srctype; /* type/unit of element #1 */ | ||
70 | int ce_srcunit; | ||
71 | int ce_fdsttype; /* type/unit of element #2 */ | ||
72 | int ce_fdstunit; | ||
73 | int ce_sdsttype; /* type/unit of element #3 */ | ||
74 | int ce_sdstunit; | ||
75 | int ce_flags; | ||
76 | }; | ||
77 | #define CE_INVERT1 1 | ||
78 | #define CE_INVERT2 2 | ||
79 | |||
80 | |||
81 | /* | ||
82 | * CHIOPOSITION | ||
83 | * move the transport element (robot arm) to a specific element. | ||
84 | */ | ||
85 | struct changer_position { | ||
86 | int cp_type; | ||
87 | int cp_unit; | ||
88 | int cp_flags; | ||
89 | }; | ||
90 | #define CP_INVERT 1 | ||
91 | |||
92 | |||
93 | /* | ||
94 | * CHIOGSTATUS | ||
95 | * get element status for all elements of a specific type | ||
96 | */ | ||
97 | struct changer_element_status { | ||
98 | int ces_type; | ||
99 | unsigned char *ces_data; | ||
100 | }; | ||
101 | #define CESTATUS_FULL 0x01 /* full */ | ||
102 | #define CESTATUS_IMPEXP 0x02 /* media was imported (inserted by sysop) */ | ||
103 | #define CESTATUS_EXCEPT 0x04 /* error condition */ | ||
104 | #define CESTATUS_ACCESS 0x08 /* access allowed */ | ||
105 | #define CESTATUS_EXENAB 0x10 /* element can export media */ | ||
106 | #define CESTATUS_INENAB 0x20 /* element can import media */ | ||
107 | |||
108 | |||
109 | /* | ||
110 | * CHIOGELEM | ||
111 | * get more detailed status informtion for a single element | ||
112 | */ | ||
113 | struct changer_get_element { | ||
114 | int cge_type; /* type/unit */ | ||
115 | int cge_unit; | ||
116 | int cge_status; /* status */ | ||
117 | int cge_errno; /* errno */ | ||
118 | int cge_srctype; /* source element of the last move/exchange */ | ||
119 | int cge_srcunit; | ||
120 | int cge_id; /* scsi id (for data transfer elements) */ | ||
121 | int cge_lun; /* scsi lun (for data transfer elements) */ | ||
122 | char cge_pvoltag[36]; /* primary volume tag */ | ||
123 | char cge_avoltag[36]; /* alternate volume tag */ | ||
124 | int cge_flags; | ||
125 | }; | ||
126 | /* flags */ | ||
127 | #define CGE_ERRNO 0x01 /* errno available */ | ||
128 | #define CGE_INVERT 0x02 /* media inverted */ | ||
129 | #define CGE_SRC 0x04 /* media src available */ | ||
130 | #define CGE_IDLUN 0x08 /* ID+LUN available */ | ||
131 | #define CGE_PVOLTAG 0x10 /* primary volume tag available */ | ||
132 | #define CGE_AVOLTAG 0x20 /* alternate volume tag available */ | ||
133 | |||
134 | |||
135 | /* | ||
136 | * CHIOSVOLTAG | ||
137 | * set volume tag | ||
138 | */ | ||
139 | struct changer_set_voltag { | ||
140 | int csv_type; /* type/unit */ | ||
141 | int csv_unit; | ||
142 | char csv_voltag[36]; /* volume tag */ | ||
143 | int csv_flags; | ||
144 | }; | ||
145 | #define CSV_PVOLTAG 0x01 /* primary volume tag */ | ||
146 | #define CSV_AVOLTAG 0x02 /* alternate volume tag */ | ||
147 | #define CSV_CLEARTAG 0x04 /* clear volume tag */ | ||
148 | |||
149 | /* ioctls */ | ||
150 | #define CHIOMOVE _IOW('c', 1,struct changer_move) | ||
151 | #define CHIOEXCHANGE _IOW('c', 2,struct changer_exchange) | ||
152 | #define CHIOPOSITION _IOW('c', 3,struct changer_position) | ||
153 | #define CHIOGPICKER _IOR('c', 4,int) /* not impl. */ | ||
154 | #define CHIOSPICKER _IOW('c', 5,int) /* not impl. */ | ||
155 | #define CHIOGPARAMS _IOR('c', 6,struct changer_params) | ||
156 | #define CHIOGSTATUS _IOW('c', 8,struct changer_element_status) | ||
157 | #define CHIOGELEM _IOW('c',16,struct changer_get_element) | ||
158 | #define CHIOINITELEM _IO('c',17) | ||
159 | #define CHIOSVOLTAG _IOW('c',18,struct changer_set_voltag) | ||
160 | #define CHIOGVPARAMS _IOR('c',19,struct changer_vendor_params) | ||
161 | |||
162 | /* ---------------------------------------------------------------------- */ | ||
163 | |||
164 | /* | ||
165 | * Local variables: | ||
166 | * c-basic-offset: 8 | ||
167 | * End: | ||
168 | */ | ||
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index 806c305332c1..2d80cc761a15 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h | |||
@@ -14,7 +14,12 @@ enum dma_data_direction { | |||
14 | }; | 14 | }; |
15 | 15 | ||
16 | #define DMA_64BIT_MASK 0xffffffffffffffffULL | 16 | #define DMA_64BIT_MASK 0xffffffffffffffffULL |
17 | #define DMA_40BIT_MASK 0x000000ffffffffffULL | ||
18 | #define DMA_39BIT_MASK 0x0000007fffffffffULL | ||
17 | #define DMA_32BIT_MASK 0x00000000ffffffffULL | 19 | #define DMA_32BIT_MASK 0x00000000ffffffffULL |
20 | #define DMA_31BIT_MASK 0x000000007fffffffULL | ||
21 | #define DMA_30BIT_MASK 0x000000003fffffffULL | ||
22 | #define DMA_29BIT_MASK 0x000000001fffffffULL | ||
18 | 23 | ||
19 | #include <asm/dma-mapping.h> | 24 | #include <asm/dma-mapping.h> |
20 | 25 | ||
diff --git a/include/linux/if_tr.h b/include/linux/if_tr.h index 6688b414c529..3fba9e2f5427 100644 --- a/include/linux/if_tr.h +++ b/include/linux/if_tr.h | |||
@@ -19,6 +19,8 @@ | |||
19 | #ifndef _LINUX_IF_TR_H | 19 | #ifndef _LINUX_IF_TR_H |
20 | #define _LINUX_IF_TR_H | 20 | #define _LINUX_IF_TR_H |
21 | 21 | ||
22 | #include <asm/byteorder.h> /* For __be16 */ | ||
23 | |||
22 | /* IEEE 802.5 Token-Ring magic constants. The frame sizes omit the preamble | 24 | /* IEEE 802.5 Token-Ring magic constants. The frame sizes omit the preamble |
23 | and FCS/CRC (frame check sequence). */ | 25 | and FCS/CRC (frame check sequence). */ |
24 | #define TR_ALEN 6 /* Octets in one token-ring addr */ | 26 | #define TR_ALEN 6 /* Octets in one token-ring addr */ |
diff --git a/include/linux/major.h b/include/linux/major.h index 4b62c42b842c..e36a46702d94 100644 --- a/include/linux/major.h +++ b/include/linux/major.h | |||
@@ -100,6 +100,7 @@ | |||
100 | #define I2O_MAJOR 80 /* 80->87 */ | 100 | #define I2O_MAJOR 80 /* 80->87 */ |
101 | 101 | ||
102 | #define SHMIQ_MAJOR 85 /* Linux/mips, SGI /dev/shmiq */ | 102 | #define SHMIQ_MAJOR 85 /* Linux/mips, SGI /dev/shmiq */ |
103 | #define SCSI_CHANGER_MAJOR 86 | ||
103 | 104 | ||
104 | #define IDE6_MAJOR 88 | 105 | #define IDE6_MAJOR 88 |
105 | #define IDE7_MAJOR 89 | 106 | #define IDE7_MAJOR 89 |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index b0d6134e1ee6..b8b4ebf9abf1 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
@@ -874,6 +874,7 @@ | |||
874 | #define PCI_DEVICE_ID_APPLE_KL_USB_P 0x0026 | 874 | #define PCI_DEVICE_ID_APPLE_KL_USB_P 0x0026 |
875 | #define PCI_DEVICE_ID_APPLE_UNI_N_AGP_P 0x0027 | 875 | #define PCI_DEVICE_ID_APPLE_UNI_N_AGP_P 0x0027 |
876 | #define PCI_DEVICE_ID_APPLE_UNI_N_AGP15 0x002d | 876 | #define PCI_DEVICE_ID_APPLE_UNI_N_AGP15 0x002d |
877 | #define PCI_DEVICE_ID_APPLE_UNI_N_PCI15 0x002e | ||
877 | #define PCI_DEVICE_ID_APPLE_UNI_N_FW2 0x0030 | 878 | #define PCI_DEVICE_ID_APPLE_UNI_N_FW2 0x0030 |
878 | #define PCI_DEVICE_ID_APPLE_UNI_N_GMAC2 0x0032 | 879 | #define PCI_DEVICE_ID_APPLE_UNI_N_GMAC2 0x0032 |
879 | #define PCI_DEVIEC_ID_APPLE_UNI_N_ATA 0x0033 | 880 | #define PCI_DEVIEC_ID_APPLE_UNI_N_ATA 0x0033 |
@@ -2382,6 +2383,8 @@ | |||
2382 | #define PCI_DEVICE_ID_INTEL_82915G_IG 0x2582 | 2383 | #define PCI_DEVICE_ID_INTEL_82915G_IG 0x2582 |
2383 | #define PCI_DEVICE_ID_INTEL_82915GM_HB 0x2590 | 2384 | #define PCI_DEVICE_ID_INTEL_82915GM_HB 0x2590 |
2384 | #define PCI_DEVICE_ID_INTEL_82915GM_IG 0x2592 | 2385 | #define PCI_DEVICE_ID_INTEL_82915GM_IG 0x2592 |
2386 | #define PCI_DEVICE_ID_INTEL_82945G_HB 0x2770 | ||
2387 | #define PCI_DEVICE_ID_INTEL_82945G_IG 0x2772 | ||
2385 | #define PCI_DEVICE_ID_INTEL_ICH6_0 0x2640 | 2388 | #define PCI_DEVICE_ID_INTEL_ICH6_0 0x2640 |
2386 | #define PCI_DEVICE_ID_INTEL_ICH6_1 0x2641 | 2389 | #define PCI_DEVICE_ID_INTEL_ICH6_1 0x2641 |
2387 | #define PCI_DEVICE_ID_INTEL_ICH6_2 0x2642 | 2390 | #define PCI_DEVICE_ID_INTEL_ICH6_2 0x2642 |
diff --git a/include/linux/signal.h b/include/linux/signal.h index 0a98f5ec5cae..7be18b5e2fb4 100644 --- a/include/linux/signal.h +++ b/include/linux/signal.h | |||
@@ -231,10 +231,8 @@ extern int __group_send_sig_info(int, struct siginfo *, struct task_struct *); | |||
231 | extern long do_sigpending(void __user *, unsigned long); | 231 | extern long do_sigpending(void __user *, unsigned long); |
232 | extern int sigprocmask(int, sigset_t *, sigset_t *); | 232 | extern int sigprocmask(int, sigset_t *, sigset_t *); |
233 | 233 | ||
234 | #ifndef HAVE_ARCH_GET_SIGNAL_TO_DELIVER | ||
235 | struct pt_regs; | 234 | struct pt_regs; |
236 | extern int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, struct pt_regs *regs, void *cookie); | 235 | extern int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, struct pt_regs *regs, void *cookie); |
237 | #endif | ||
238 | 236 | ||
239 | #endif /* __KERNEL__ */ | 237 | #endif /* __KERNEL__ */ |
240 | 238 | ||
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 23032d9d6071..a17745c80a91 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h | |||
@@ -346,6 +346,7 @@ enum | |||
346 | NET_TCP_MODERATE_RCVBUF=106, | 346 | NET_TCP_MODERATE_RCVBUF=106, |
347 | NET_TCP_TSO_WIN_DIVISOR=107, | 347 | NET_TCP_TSO_WIN_DIVISOR=107, |
348 | NET_TCP_BIC_BETA=108, | 348 | NET_TCP_BIC_BETA=108, |
349 | NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR=109, | ||
349 | }; | 350 | }; |
350 | 351 | ||
351 | enum { | 352 | enum { |
diff --git a/include/linux/tc_ematch/tc_em_meta.h b/include/linux/tc_ematch/tc_em_meta.h index aa6b48bb4dcd..a6b2cc530af5 100644 --- a/include/linux/tc_ematch/tc_em_meta.h +++ b/include/linux/tc_ematch/tc_em_meta.h | |||
@@ -56,6 +56,36 @@ enum | |||
56 | TCF_META_ID_TCCLASSID, | 56 | TCF_META_ID_TCCLASSID, |
57 | TCF_META_ID_RTCLASSID, | 57 | TCF_META_ID_RTCLASSID, |
58 | TCF_META_ID_RTIIF, | 58 | TCF_META_ID_RTIIF, |
59 | TCF_META_ID_SK_FAMILY, | ||
60 | TCF_META_ID_SK_STATE, | ||
61 | TCF_META_ID_SK_REUSE, | ||
62 | TCF_META_ID_SK_BOUND_IF, | ||
63 | TCF_META_ID_SK_REFCNT, | ||
64 | TCF_META_ID_SK_SHUTDOWN, | ||
65 | TCF_META_ID_SK_PROTO, | ||
66 | TCF_META_ID_SK_TYPE, | ||
67 | TCF_META_ID_SK_RCVBUF, | ||
68 | TCF_META_ID_SK_RMEM_ALLOC, | ||
69 | TCF_META_ID_SK_WMEM_ALLOC, | ||
70 | TCF_META_ID_SK_OMEM_ALLOC, | ||
71 | TCF_META_ID_SK_WMEM_QUEUED, | ||
72 | TCF_META_ID_SK_RCV_QLEN, | ||
73 | TCF_META_ID_SK_SND_QLEN, | ||
74 | TCF_META_ID_SK_ERR_QLEN, | ||
75 | TCF_META_ID_SK_FORWARD_ALLOCS, | ||
76 | TCF_META_ID_SK_SNDBUF, | ||
77 | TCF_META_ID_SK_ALLOCS, | ||
78 | TCF_META_ID_SK_ROUTE_CAPS, | ||
79 | TCF_META_ID_SK_HASHENT, | ||
80 | TCF_META_ID_SK_LINGERTIME, | ||
81 | TCF_META_ID_SK_ACK_BACKLOG, | ||
82 | TCF_META_ID_SK_MAX_ACK_BACKLOG, | ||
83 | TCF_META_ID_SK_PRIO, | ||
84 | TCF_META_ID_SK_RCVLOWAT, | ||
85 | TCF_META_ID_SK_RCVTIMEO, | ||
86 | TCF_META_ID_SK_SNDTIMEO, | ||
87 | TCF_META_ID_SK_SENDMSG_OFF, | ||
88 | TCF_META_ID_SK_WRITE_PENDING, | ||
59 | __TCF_META_ID_MAX | 89 | __TCF_META_ID_MAX |
60 | }; | 90 | }; |
61 | #define TCF_META_ID_MAX (__TCF_META_ID_MAX - 1) | 91 | #define TCF_META_ID_MAX (__TCF_META_ID_MAX - 1) |
diff --git a/include/net/ip.h b/include/net/ip.h index 3f63992eb712..32360bbe143f 100644 --- a/include/net/ip.h +++ b/include/net/ip.h | |||
@@ -163,6 +163,7 @@ DECLARE_SNMP_STAT(struct linux_mib, net_statistics); | |||
163 | 163 | ||
164 | extern int sysctl_local_port_range[2]; | 164 | extern int sysctl_local_port_range[2]; |
165 | extern int sysctl_ip_default_ttl; | 165 | extern int sysctl_ip_default_ttl; |
166 | extern int sysctl_ip_nonlocal_bind; | ||
166 | 167 | ||
167 | #ifdef CONFIG_INET | 168 | #ifdef CONFIG_INET |
168 | /* The function in 2.2 was invalid, producing wrong result for | 169 | /* The function in 2.2 was invalid, producing wrong result for |
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 659ecf48fb4a..1fb233741513 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h | |||
@@ -41,6 +41,7 @@ extern const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE]; | |||
41 | #define FORMAT_UNIT 0x04 | 41 | #define FORMAT_UNIT 0x04 |
42 | #define READ_BLOCK_LIMITS 0x05 | 42 | #define READ_BLOCK_LIMITS 0x05 |
43 | #define REASSIGN_BLOCKS 0x07 | 43 | #define REASSIGN_BLOCKS 0x07 |
44 | #define INITIALIZE_ELEMENT_STATUS 0x07 | ||
44 | #define READ_6 0x08 | 45 | #define READ_6 0x08 |
45 | #define WRITE_6 0x0a | 46 | #define WRITE_6 0x0a |
46 | #define SEEK_6 0x0b | 47 | #define SEEK_6 0x0b |
@@ -65,6 +66,7 @@ extern const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE]; | |||
65 | #define READ_10 0x28 | 66 | #define READ_10 0x28 |
66 | #define WRITE_10 0x2a | 67 | #define WRITE_10 0x2a |
67 | #define SEEK_10 0x2b | 68 | #define SEEK_10 0x2b |
69 | #define POSITION_TO_ELEMENT 0x2b | ||
68 | #define WRITE_VERIFY 0x2e | 70 | #define WRITE_VERIFY 0x2e |
69 | #define VERIFY 0x2f | 71 | #define VERIFY 0x2f |
70 | #define SEARCH_HIGH 0x30 | 72 | #define SEARCH_HIGH 0x30 |
@@ -97,6 +99,7 @@ extern const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE]; | |||
97 | #define PERSISTENT_RESERVE_OUT 0x5f | 99 | #define PERSISTENT_RESERVE_OUT 0x5f |
98 | #define REPORT_LUNS 0xa0 | 100 | #define REPORT_LUNS 0xa0 |
99 | #define MOVE_MEDIUM 0xa5 | 101 | #define MOVE_MEDIUM 0xa5 |
102 | #define EXCHANGE_MEDIUM 0xa6 | ||
100 | #define READ_12 0xa8 | 103 | #define READ_12 0xa8 |
101 | #define WRITE_12 0xaa | 104 | #define WRITE_12 0xaa |
102 | #define WRITE_VERIFY_12 0xae | 105 | #define WRITE_VERIFY_12 0xae |
@@ -210,6 +213,7 @@ static inline int scsi_status_is_good(int status) | |||
210 | #define TYPE_COMM 0x09 /* Communications device */ | 213 | #define TYPE_COMM 0x09 /* Communications device */ |
211 | #define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */ | 214 | #define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */ |
212 | #define TYPE_RAID 0x0c | 215 | #define TYPE_RAID 0x0c |
216 | #define TYPE_RBC 0x0e | ||
213 | #define TYPE_NO_LUN 0x7f | 217 | #define TYPE_NO_LUN 0x7f |
214 | 218 | ||
215 | /* | 219 | /* |
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index c018020d9160..63c91dd85ca1 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h | |||
@@ -154,7 +154,9 @@ struct scsi_target { | |||
154 | unsigned int id; /* target id ... replace | 154 | unsigned int id; /* target id ... replace |
155 | * scsi_device.id eventually */ | 155 | * scsi_device.id eventually */ |
156 | unsigned long create:1; /* signal that it needs to be added */ | 156 | unsigned long create:1; /* signal that it needs to be added */ |
157 | unsigned long starget_data[0]; | 157 | void *hostdata; /* available to low-level driver */ |
158 | unsigned long starget_data[0]; /* for the transport */ | ||
159 | /* starget_data must be the last element!!!! */ | ||
158 | } __attribute__((aligned(sizeof(unsigned long)))); | 160 | } __attribute__((aligned(sizeof(unsigned long)))); |
159 | 161 | ||
160 | #define to_scsi_target(d) container_of(d, struct scsi_target, dev) | 162 | #define to_scsi_target(d) container_of(d, struct scsi_target, dev) |
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index 1cee1e100943..db9914adeac9 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h | |||
@@ -10,6 +10,7 @@ struct block_device; | |||
10 | struct module; | 10 | struct module; |
11 | struct scsi_cmnd; | 11 | struct scsi_cmnd; |
12 | struct scsi_device; | 12 | struct scsi_device; |
13 | struct scsi_target; | ||
13 | struct Scsi_Host; | 14 | struct Scsi_Host; |
14 | struct scsi_host_cmd_pool; | 15 | struct scsi_host_cmd_pool; |
15 | struct scsi_transport_template; | 16 | struct scsi_transport_template; |
@@ -228,6 +229,30 @@ struct scsi_host_template { | |||
228 | void (* slave_destroy)(struct scsi_device *); | 229 | void (* slave_destroy)(struct scsi_device *); |
229 | 230 | ||
230 | /* | 231 | /* |
232 | * Before the mid layer attempts to scan for a new device attached | ||
233 | * to a target where no target currently exists, it will call this | ||
234 | * entry in your driver. Should your driver need to allocate any | ||
235 | * structs or perform any other init items in order to send commands | ||
236 | * to a currently unused target, then this is where you can perform | ||
237 | * those allocations. | ||
238 | * | ||
239 | * Return values: 0 on success, non-0 on failure | ||
240 | * | ||
241 | * Status: OPTIONAL | ||
242 | */ | ||
243 | int (* target_alloc)(struct scsi_target *); | ||
244 | |||
245 | /* | ||
246 | * Immediately prior to deallocating the target structure, and | ||
247 | * after all activity to attached scsi devices has ceased, the | ||
248 | * midlayer calls this point so that the driver may deallocate | ||
249 | * and terminate any references to the target. | ||
250 | * | ||
251 | * Status: OPTIONAL | ||
252 | */ | ||
253 | void (* target_destroy)(struct scsi_target *); | ||
254 | |||
255 | /* | ||
231 | * fill in this function to allow the queue depth of this host | 256 | * fill in this function to allow the queue depth of this host |
232 | * to be changeable (on a per device basis). returns either | 257 | * to be changeable (on a per device basis). returns either |
233 | * the current queue depth setting (may be different from what | 258 | * the current queue depth setting (may be different from what |
diff --git a/include/scsi/scsi_transport.h b/include/scsi/scsi_transport.h index 2dcee7a84752..a4f1837a33b1 100644 --- a/include/scsi/scsi_transport.h +++ b/include/scsi/scsi_transport.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #define SCSI_TRANSPORT_H | 21 | #define SCSI_TRANSPORT_H |
22 | 22 | ||
23 | #include <linux/transport_class.h> | 23 | #include <linux/transport_class.h> |
24 | #include <scsi/scsi_host.h> | ||
24 | 25 | ||
25 | struct scsi_transport_template { | 26 | struct scsi_transport_template { |
26 | /* the attribute containers */ | 27 | /* the attribute containers */ |
@@ -32,8 +33,11 @@ struct scsi_transport_template { | |||
32 | * space of this size will be left at the end of the | 33 | * space of this size will be left at the end of the |
33 | * scsi_* structure */ | 34 | * scsi_* structure */ |
34 | int device_size; | 35 | int device_size; |
36 | int device_private_offset; | ||
35 | int target_size; | 37 | int target_size; |
38 | int target_private_offset; | ||
36 | int host_size; | 39 | int host_size; |
40 | /* no private offset for the host; there's an alternative mechanism */ | ||
37 | 41 | ||
38 | /* | 42 | /* |
39 | * True if the transport wants to use a host-based work-queue | 43 | * True if the transport wants to use a host-based work-queue |
@@ -45,4 +49,38 @@ struct scsi_transport_template { | |||
45 | dev_to_shost((tc)->dev) | 49 | dev_to_shost((tc)->dev) |
46 | 50 | ||
47 | 51 | ||
52 | /* Private area maintenance. The driver requested allocations come | ||
53 | * directly after the transport class allocations (if any). The idea | ||
54 | * is that you *must* call these only once. The code assumes that the | ||
55 | * initial values are the ones the transport specific code requires */ | ||
56 | static inline void | ||
57 | scsi_transport_reserve_target(struct scsi_transport_template * t, int space) | ||
58 | { | ||
59 | BUG_ON(t->target_private_offset != 0); | ||
60 | t->target_private_offset = ALIGN(t->target_size, sizeof(void *)); | ||
61 | t->target_size = t->target_private_offset + space; | ||
62 | } | ||
63 | static inline void | ||
64 | scsi_transport_reserve_device(struct scsi_transport_template * t, int space) | ||
65 | { | ||
66 | BUG_ON(t->device_private_offset != 0); | ||
67 | t->device_private_offset = ALIGN(t->device_size, sizeof(void *)); | ||
68 | t->device_size = t->device_private_offset + space; | ||
69 | } | ||
70 | static inline void * | ||
71 | scsi_transport_target_data(struct scsi_target *starget) | ||
72 | { | ||
73 | struct Scsi_Host *shost = dev_to_shost(&starget->dev); | ||
74 | return (u8 *)starget->starget_data | ||
75 | + shost->transportt->target_private_offset; | ||
76 | |||
77 | } | ||
78 | static inline void * | ||
79 | scsi_transport_device_data(struct scsi_device *sdev) | ||
80 | { | ||
81 | struct Scsi_Host *shost = sdev->host; | ||
82 | return (u8 *)sdev->sdev_data | ||
83 | + shost->transportt->device_private_offset; | ||
84 | } | ||
85 | |||
48 | #endif /* SCSI_TRANSPORT_H */ | 86 | #endif /* SCSI_TRANSPORT_H */ |
diff --git a/kernel/exit.c b/kernel/exit.c index edaa50b5bbfa..2ef2ad540201 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -811,10 +811,8 @@ fastcall NORET_TYPE void do_exit(long code) | |||
811 | acct_update_integrals(tsk); | 811 | acct_update_integrals(tsk); |
812 | update_mem_hiwater(tsk); | 812 | update_mem_hiwater(tsk); |
813 | group_dead = atomic_dec_and_test(&tsk->signal->live); | 813 | group_dead = atomic_dec_and_test(&tsk->signal->live); |
814 | if (group_dead) { | 814 | if (group_dead) |
815 | del_timer_sync(&tsk->signal->real_timer); | ||
816 | acct_process(code); | 815 | acct_process(code); |
817 | } | ||
818 | exit_mm(tsk); | 816 | exit_mm(tsk); |
819 | 817 | ||
820 | exit_sem(tsk); | 818 | exit_sem(tsk); |
diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c index fd316c272260..cabb63fc9e16 100644 --- a/kernel/posix-timers.c +++ b/kernel/posix-timers.c | |||
@@ -1197,6 +1197,7 @@ void exit_itimers(struct signal_struct *sig) | |||
1197 | tmr = list_entry(sig->posix_timers.next, struct k_itimer, list); | 1197 | tmr = list_entry(sig->posix_timers.next, struct k_itimer, list); |
1198 | itimer_delete(tmr); | 1198 | itimer_delete(tmr); |
1199 | } | 1199 | } |
1200 | del_timer_sync(&sig->real_timer); | ||
1200 | } | 1201 | } |
1201 | 1202 | ||
1202 | /* | 1203 | /* |
diff --git a/kernel/sched.c b/kernel/sched.c index 66b2ed784822..f12a0c8a7d98 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -3755,19 +3755,22 @@ EXPORT_SYMBOL(cond_resched); | |||
3755 | */ | 3755 | */ |
3756 | int cond_resched_lock(spinlock_t * lock) | 3756 | int cond_resched_lock(spinlock_t * lock) |
3757 | { | 3757 | { |
3758 | int ret = 0; | ||
3759 | |||
3758 | if (need_lockbreak(lock)) { | 3760 | if (need_lockbreak(lock)) { |
3759 | spin_unlock(lock); | 3761 | spin_unlock(lock); |
3760 | cpu_relax(); | 3762 | cpu_relax(); |
3763 | ret = 1; | ||
3761 | spin_lock(lock); | 3764 | spin_lock(lock); |
3762 | } | 3765 | } |
3763 | if (need_resched()) { | 3766 | if (need_resched()) { |
3764 | _raw_spin_unlock(lock); | 3767 | _raw_spin_unlock(lock); |
3765 | preempt_enable_no_resched(); | 3768 | preempt_enable_no_resched(); |
3766 | __cond_resched(); | 3769 | __cond_resched(); |
3770 | ret = 1; | ||
3767 | spin_lock(lock); | 3771 | spin_lock(lock); |
3768 | return 1; | ||
3769 | } | 3772 | } |
3770 | return 0; | 3773 | return ret; |
3771 | } | 3774 | } |
3772 | 3775 | ||
3773 | EXPORT_SYMBOL(cond_resched_lock); | 3776 | EXPORT_SYMBOL(cond_resched_lock); |
diff --git a/mm/filemap.c b/mm/filemap.c index 1d33fec7bac6..4a2fee2cb62b 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
@@ -1968,6 +1968,7 @@ generic_file_buffered_write(struct kiocb *iocb, const struct iovec *iov, | |||
1968 | do { | 1968 | do { |
1969 | unsigned long index; | 1969 | unsigned long index; |
1970 | unsigned long offset; | 1970 | unsigned long offset; |
1971 | unsigned long maxlen; | ||
1971 | size_t copied; | 1972 | size_t copied; |
1972 | 1973 | ||
1973 | offset = (pos & (PAGE_CACHE_SIZE -1)); /* Within page */ | 1974 | offset = (pos & (PAGE_CACHE_SIZE -1)); /* Within page */ |
@@ -1982,7 +1983,10 @@ generic_file_buffered_write(struct kiocb *iocb, const struct iovec *iov, | |||
1982 | * same page as we're writing to, without it being marked | 1983 | * same page as we're writing to, without it being marked |
1983 | * up-to-date. | 1984 | * up-to-date. |
1984 | */ | 1985 | */ |
1985 | fault_in_pages_readable(buf, bytes); | 1986 | maxlen = cur_iov->iov_len - iov_base; |
1987 | if (maxlen > bytes) | ||
1988 | maxlen = bytes; | ||
1989 | fault_in_pages_readable(buf, maxlen); | ||
1986 | 1990 | ||
1987 | page = __grab_cache_page(mapping,index,&cached_page,&lru_pvec); | 1991 | page = __grab_cache_page(mapping,index,&cached_page,&lru_pvec); |
1988 | if (!page) { | 1992 | if (!page) { |
@@ -2024,6 +2028,8 @@ generic_file_buffered_write(struct kiocb *iocb, const struct iovec *iov, | |||
2024 | filemap_set_next_iovec(&cur_iov, | 2028 | filemap_set_next_iovec(&cur_iov, |
2025 | &iov_base, status); | 2029 | &iov_base, status); |
2026 | buf = cur_iov->iov_base + iov_base; | 2030 | buf = cur_iov->iov_base + iov_base; |
2031 | } else { | ||
2032 | iov_base += status; | ||
2027 | } | 2033 | } |
2028 | } | 2034 | } |
2029 | } | 2035 | } |
diff --git a/net/core/dev.c b/net/core/dev.c index f15a3ffff635..ab935778ce81 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -1744,6 +1744,7 @@ static int process_backlog(struct net_device *backlog_dev, int *budget) | |||
1744 | struct softnet_data *queue = &__get_cpu_var(softnet_data); | 1744 | struct softnet_data *queue = &__get_cpu_var(softnet_data); |
1745 | unsigned long start_time = jiffies; | 1745 | unsigned long start_time = jiffies; |
1746 | 1746 | ||
1747 | backlog_dev->weight = weight_p; | ||
1747 | for (;;) { | 1748 | for (;;) { |
1748 | struct sk_buff *skb; | 1749 | struct sk_buff *skb; |
1749 | struct net_device *dev; | 1750 | struct net_device *dev; |
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 8ec484894d68..a3eeb88e1c81 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c | |||
@@ -356,7 +356,7 @@ static int ethtool_set_coalesce(struct net_device *dev, void __user *useraddr) | |||
356 | { | 356 | { |
357 | struct ethtool_coalesce coalesce; | 357 | struct ethtool_coalesce coalesce; |
358 | 358 | ||
359 | if (!dev->ethtool_ops->get_coalesce) | 359 | if (!dev->ethtool_ops->set_coalesce) |
360 | return -EOPNOTSUPP; | 360 | return -EOPNOTSUPP; |
361 | 361 | ||
362 | if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) | 362 | if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) |
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 910eb4c05a47..e2137f3e489d 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c | |||
@@ -185,6 +185,22 @@ static ssize_t store_tx_queue_len(struct class_device *dev, const char *buf, siz | |||
185 | static CLASS_DEVICE_ATTR(tx_queue_len, S_IRUGO | S_IWUSR, show_tx_queue_len, | 185 | static CLASS_DEVICE_ATTR(tx_queue_len, S_IRUGO | S_IWUSR, show_tx_queue_len, |
186 | store_tx_queue_len); | 186 | store_tx_queue_len); |
187 | 187 | ||
188 | NETDEVICE_SHOW(weight, fmt_dec); | ||
189 | |||
190 | static int change_weight(struct net_device *net, unsigned long new_weight) | ||
191 | { | ||
192 | net->weight = new_weight; | ||
193 | return 0; | ||
194 | } | ||
195 | |||
196 | static ssize_t store_weight(struct class_device *dev, const char *buf, size_t len) | ||
197 | { | ||
198 | return netdev_store(dev, buf, len, change_weight); | ||
199 | } | ||
200 | |||
201 | static CLASS_DEVICE_ATTR(weight, S_IRUGO | S_IWUSR, show_weight, | ||
202 | store_weight); | ||
203 | |||
188 | 204 | ||
189 | static struct class_device_attribute *net_class_attributes[] = { | 205 | static struct class_device_attribute *net_class_attributes[] = { |
190 | &class_device_attr_ifindex, | 206 | &class_device_attr_ifindex, |
@@ -194,6 +210,7 @@ static struct class_device_attribute *net_class_attributes[] = { | |||
194 | &class_device_attr_features, | 210 | &class_device_attr_features, |
195 | &class_device_attr_mtu, | 211 | &class_device_attr_mtu, |
196 | &class_device_attr_flags, | 212 | &class_device_attr_flags, |
213 | &class_device_attr_weight, | ||
197 | &class_device_attr_type, | 214 | &class_device_attr_type, |
198 | &class_device_attr_address, | 215 | &class_device_attr_address, |
199 | &class_device_attr_broadcast, | 216 | &class_device_attr_broadcast, |
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index b3cb49ce5fad..03942f133944 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c | |||
@@ -1181,6 +1181,7 @@ EXPORT_SYMBOL(inet_stream_connect); | |||
1181 | EXPORT_SYMBOL(inet_stream_ops); | 1181 | EXPORT_SYMBOL(inet_stream_ops); |
1182 | EXPORT_SYMBOL(inet_unregister_protosw); | 1182 | EXPORT_SYMBOL(inet_unregister_protosw); |
1183 | EXPORT_SYMBOL(net_statistics); | 1183 | EXPORT_SYMBOL(net_statistics); |
1184 | EXPORT_SYMBOL(sysctl_ip_nonlocal_bind); | ||
1184 | 1185 | ||
1185 | #ifdef INET_REFCNT_DEBUG | 1186 | #ifdef INET_REFCNT_DEBUG |
1186 | EXPORT_SYMBOL(inet_sock_nr); | 1187 | EXPORT_SYMBOL(inet_sock_nr); |
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index 85bf0d3e294b..cb759484979d 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c | |||
@@ -207,6 +207,7 @@ int sysctl_icmp_ignore_bogus_error_responses; | |||
207 | 207 | ||
208 | int sysctl_icmp_ratelimit = 1 * HZ; | 208 | int sysctl_icmp_ratelimit = 1 * HZ; |
209 | int sysctl_icmp_ratemask = 0x1818; | 209 | int sysctl_icmp_ratemask = 0x1818; |
210 | int sysctl_icmp_errors_use_inbound_ifaddr; | ||
210 | 211 | ||
211 | /* | 212 | /* |
212 | * ICMP control array. This specifies what to do with each ICMP. | 213 | * ICMP control array. This specifies what to do with each ICMP. |
@@ -511,8 +512,12 @@ void icmp_send(struct sk_buff *skb_in, int type, int code, u32 info) | |||
511 | */ | 512 | */ |
512 | 513 | ||
513 | saddr = iph->daddr; | 514 | saddr = iph->daddr; |
514 | if (!(rt->rt_flags & RTCF_LOCAL)) | 515 | if (!(rt->rt_flags & RTCF_LOCAL)) { |
515 | saddr = 0; | 516 | if (sysctl_icmp_errors_use_inbound_ifaddr) |
517 | saddr = inet_select_addr(skb_in->dev, 0, RT_SCOPE_LINK); | ||
518 | else | ||
519 | saddr = 0; | ||
520 | } | ||
516 | 521 | ||
517 | tos = icmp_pointers[type].error ? ((iph->tos & IPTOS_TOS_MASK) | | 522 | tos = icmp_pointers[type].error ? ((iph->tos & IPTOS_TOS_MASK) | |
518 | IPTOS_PREC_INTERNETCONTROL) : | 523 | IPTOS_PREC_INTERNETCONTROL) : |
diff --git a/net/ipv4/multipath_drr.c b/net/ipv4/multipath_drr.c index cf2e6bcf7973..c9cf8726051d 100644 --- a/net/ipv4/multipath_drr.c +++ b/net/ipv4/multipath_drr.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/igmp.h> | 31 | #include <linux/igmp.h> |
32 | #include <linux/proc_fs.h> | 32 | #include <linux/proc_fs.h> |
33 | #include <linux/seq_file.h> | 33 | #include <linux/seq_file.h> |
34 | #include <linux/module.h> | ||
34 | #include <linux/mroute.h> | 35 | #include <linux/mroute.h> |
35 | #include <linux/init.h> | 36 | #include <linux/init.h> |
36 | #include <net/ip.h> | 37 | #include <net/ip.h> |
@@ -247,3 +248,4 @@ static void __exit drr_exit(void) | |||
247 | 248 | ||
248 | module_init(drr_init); | 249 | module_init(drr_init); |
249 | module_exit(drr_exit); | 250 | module_exit(drr_exit); |
251 | MODULE_LICENSE("GPL"); | ||
diff --git a/net/ipv4/multipath_random.c b/net/ipv4/multipath_random.c index 805a16e47de5..5249dbe7c559 100644 --- a/net/ipv4/multipath_random.c +++ b/net/ipv4/multipath_random.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/igmp.h> | 31 | #include <linux/igmp.h> |
32 | #include <linux/proc_fs.h> | 32 | #include <linux/proc_fs.h> |
33 | #include <linux/seq_file.h> | 33 | #include <linux/seq_file.h> |
34 | #include <linux/module.h> | ||
34 | #include <linux/mroute.h> | 35 | #include <linux/mroute.h> |
35 | #include <linux/init.h> | 36 | #include <linux/init.h> |
36 | #include <net/ip.h> | 37 | #include <net/ip.h> |
@@ -126,3 +127,4 @@ static void __exit random_exit(void) | |||
126 | 127 | ||
127 | module_init(random_init); | 128 | module_init(random_init); |
128 | module_exit(random_exit); | 129 | module_exit(random_exit); |
130 | MODULE_LICENSE("GPL"); | ||
diff --git a/net/ipv4/multipath_rr.c b/net/ipv4/multipath_rr.c index 061b6b253982..b6cd2870478f 100644 --- a/net/ipv4/multipath_rr.c +++ b/net/ipv4/multipath_rr.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/igmp.h> | 31 | #include <linux/igmp.h> |
32 | #include <linux/proc_fs.h> | 32 | #include <linux/proc_fs.h> |
33 | #include <linux/seq_file.h> | 33 | #include <linux/seq_file.h> |
34 | #include <linux/module.h> | ||
34 | #include <linux/mroute.h> | 35 | #include <linux/mroute.h> |
35 | #include <linux/init.h> | 36 | #include <linux/init.h> |
36 | #include <net/ip.h> | 37 | #include <net/ip.h> |
@@ -93,3 +94,4 @@ static void __exit rr_exit(void) | |||
93 | 94 | ||
94 | module_init(rr_init); | 95 | module_init(rr_init); |
95 | module_exit(rr_exit); | 96 | module_exit(rr_exit); |
97 | MODULE_LICENSE("GPL"); | ||
diff --git a/net/ipv4/multipath_wrandom.c b/net/ipv4/multipath_wrandom.c index c3d2ca1a6781..bd7d75b6abe0 100644 --- a/net/ipv4/multipath_wrandom.c +++ b/net/ipv4/multipath_wrandom.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/igmp.h> | 31 | #include <linux/igmp.h> |
32 | #include <linux/proc_fs.h> | 32 | #include <linux/proc_fs.h> |
33 | #include <linux/seq_file.h> | 33 | #include <linux/seq_file.h> |
34 | #include <linux/module.h> | ||
34 | #include <linux/mroute.h> | 35 | #include <linux/mroute.h> |
35 | #include <linux/init.h> | 36 | #include <linux/init.h> |
36 | #include <net/ip.h> | 37 | #include <net/ip.h> |
@@ -342,3 +343,4 @@ static void __exit wrandom_exit(void) | |||
342 | 343 | ||
343 | module_init(wrandom_init); | 344 | module_init(wrandom_init); |
344 | module_exit(wrandom_exit); | 345 | module_exit(wrandom_exit); |
346 | MODULE_LICENSE("GPL"); | ||
diff --git a/net/ipv4/netfilter/ip_conntrack_standalone.c b/net/ipv4/netfilter/ip_conntrack_standalone.c index 46ca45f74d85..bc59f7b39805 100644 --- a/net/ipv4/netfilter/ip_conntrack_standalone.c +++ b/net/ipv4/netfilter/ip_conntrack_standalone.c | |||
@@ -256,6 +256,7 @@ static void *exp_seq_next(struct seq_file *s, void *v, loff_t *pos) | |||
256 | { | 256 | { |
257 | struct list_head *e = v; | 257 | struct list_head *e = v; |
258 | 258 | ||
259 | ++*pos; | ||
259 | e = e->next; | 260 | e = e->next; |
260 | 261 | ||
261 | if (e == &ip_conntrack_expect_list) | 262 | if (e == &ip_conntrack_expect_list) |
diff --git a/net/ipv4/netfilter/ipt_recent.c b/net/ipv4/netfilter/ipt_recent.c index 25ab9fabdcba..2d44b07688af 100644 --- a/net/ipv4/netfilter/ipt_recent.c +++ b/net/ipv4/netfilter/ipt_recent.c | |||
@@ -223,7 +223,7 @@ static int ip_recent_ctrl(struct file *file, const char __user *input, unsigned | |||
223 | curr_table->table[count].last_seen = 0; | 223 | curr_table->table[count].last_seen = 0; |
224 | curr_table->table[count].addr = 0; | 224 | curr_table->table[count].addr = 0; |
225 | curr_table->table[count].ttl = 0; | 225 | curr_table->table[count].ttl = 0; |
226 | memset(curr_table->table[count].last_pkts,0,ip_pkt_list_tot*sizeof(u_int32_t)); | 226 | memset(curr_table->table[count].last_pkts,0,ip_pkt_list_tot*sizeof(unsigned long)); |
227 | curr_table->table[count].oldest_pkt = 0; | 227 | curr_table->table[count].oldest_pkt = 0; |
228 | curr_table->table[count].time_pos = 0; | 228 | curr_table->table[count].time_pos = 0; |
229 | curr_table->time_info[count].position = count; | 229 | curr_table->time_info[count].position = count; |
@@ -502,7 +502,7 @@ match(const struct sk_buff *skb, | |||
502 | location = time_info[curr_table->time_pos].position; | 502 | location = time_info[curr_table->time_pos].position; |
503 | hash_table[r_list[location].hash_entry] = -1; | 503 | hash_table[r_list[location].hash_entry] = -1; |
504 | hash_table[hash_result] = location; | 504 | hash_table[hash_result] = location; |
505 | memset(r_list[location].last_pkts,0,ip_pkt_list_tot*sizeof(u_int32_t)); | 505 | memset(r_list[location].last_pkts,0,ip_pkt_list_tot*sizeof(unsigned long)); |
506 | r_list[location].time_pos = curr_table->time_pos; | 506 | r_list[location].time_pos = curr_table->time_pos; |
507 | r_list[location].addr = addr; | 507 | r_list[location].addr = addr; |
508 | r_list[location].ttl = ttl; | 508 | r_list[location].ttl = ttl; |
@@ -631,7 +631,7 @@ match(const struct sk_buff *skb, | |||
631 | r_list[location].last_seen = 0; | 631 | r_list[location].last_seen = 0; |
632 | r_list[location].addr = 0; | 632 | r_list[location].addr = 0; |
633 | r_list[location].ttl = 0; | 633 | r_list[location].ttl = 0; |
634 | memset(r_list[location].last_pkts,0,ip_pkt_list_tot*sizeof(u_int32_t)); | 634 | memset(r_list[location].last_pkts,0,ip_pkt_list_tot*sizeof(unsigned long)); |
635 | r_list[location].oldest_pkt = 0; | 635 | r_list[location].oldest_pkt = 0; |
636 | ans = !info->invert; | 636 | ans = !info->invert; |
637 | } | 637 | } |
@@ -734,10 +734,10 @@ checkentry(const char *tablename, | |||
734 | memset(curr_table->table,0,sizeof(struct recent_ip_list)*ip_list_tot); | 734 | memset(curr_table->table,0,sizeof(struct recent_ip_list)*ip_list_tot); |
735 | #ifdef DEBUG | 735 | #ifdef DEBUG |
736 | if(debug) printk(KERN_INFO RECENT_NAME ": checkentry: Allocating %d for pkt_list.\n", | 736 | if(debug) printk(KERN_INFO RECENT_NAME ": checkentry: Allocating %d for pkt_list.\n", |
737 | sizeof(u_int32_t)*ip_pkt_list_tot*ip_list_tot); | 737 | sizeof(unsigned long)*ip_pkt_list_tot*ip_list_tot); |
738 | #endif | 738 | #endif |
739 | 739 | ||
740 | hold = vmalloc(sizeof(u_int32_t)*ip_pkt_list_tot*ip_list_tot); | 740 | hold = vmalloc(sizeof(unsigned long)*ip_pkt_list_tot*ip_list_tot); |
741 | #ifdef DEBUG | 741 | #ifdef DEBUG |
742 | if(debug) printk(KERN_INFO RECENT_NAME ": checkentry: After pkt_list allocation.\n"); | 742 | if(debug) printk(KERN_INFO RECENT_NAME ": checkentry: After pkt_list allocation.\n"); |
743 | #endif | 743 | #endif |
diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index 3aafb298c1c1..23068bddbf0b 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c | |||
@@ -23,6 +23,7 @@ extern int sysctl_ip_nonlocal_bind; | |||
23 | extern int sysctl_icmp_echo_ignore_all; | 23 | extern int sysctl_icmp_echo_ignore_all; |
24 | extern int sysctl_icmp_echo_ignore_broadcasts; | 24 | extern int sysctl_icmp_echo_ignore_broadcasts; |
25 | extern int sysctl_icmp_ignore_bogus_error_responses; | 25 | extern int sysctl_icmp_ignore_bogus_error_responses; |
26 | extern int sysctl_icmp_errors_use_inbound_ifaddr; | ||
26 | 27 | ||
27 | /* From ip_fragment.c */ | 28 | /* From ip_fragment.c */ |
28 | extern int sysctl_ipfrag_low_thresh; | 29 | extern int sysctl_ipfrag_low_thresh; |
@@ -396,6 +397,14 @@ ctl_table ipv4_table[] = { | |||
396 | .proc_handler = &proc_dointvec | 397 | .proc_handler = &proc_dointvec |
397 | }, | 398 | }, |
398 | { | 399 | { |
400 | .ctl_name = NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR, | ||
401 | .procname = "icmp_errors_use_inbound_ifaddr", | ||
402 | .data = &sysctl_icmp_errors_use_inbound_ifaddr, | ||
403 | .maxlen = sizeof(int), | ||
404 | .mode = 0644, | ||
405 | .proc_handler = &proc_dointvec | ||
406 | }, | ||
407 | { | ||
399 | .ctl_name = NET_IPV4_ROUTE, | 408 | .ctl_name = NET_IPV4_ROUTE, |
400 | .procname = "route", | 409 | .procname = "route", |
401 | .maxlen = 0, | 410 | .maxlen = 0, |
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index a037bafcba3c..0d9a4fd5f1a4 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -2338,7 +2338,7 @@ void __init tcp_init(void) | |||
2338 | (tcp_bhash_size * sizeof(struct tcp_bind_hashbucket)); | 2338 | (tcp_bhash_size * sizeof(struct tcp_bind_hashbucket)); |
2339 | order++) | 2339 | order++) |
2340 | ; | 2340 | ; |
2341 | if (order > 4) { | 2341 | if (order >= 4) { |
2342 | sysctl_local_port_range[0] = 32768; | 2342 | sysctl_local_port_range[0] = 32768; |
2343 | sysctl_local_port_range[1] = 61000; | 2343 | sysctl_local_port_range[1] = 61000; |
2344 | sysctl_tcp_max_tw_buckets = 180000; | 2344 | sysctl_tcp_max_tw_buckets = 180000; |
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 7744a2592693..2720899d516c 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -372,6 +372,7 @@ static struct inet6_dev * ipv6_add_dev(struct net_device *dev) | |||
372 | ndev->regen_timer.data = (unsigned long) ndev; | 372 | ndev->regen_timer.data = (unsigned long) ndev; |
373 | if ((dev->flags&IFF_LOOPBACK) || | 373 | if ((dev->flags&IFF_LOOPBACK) || |
374 | dev->type == ARPHRD_TUNNEL || | 374 | dev->type == ARPHRD_TUNNEL || |
375 | dev->type == ARPHRD_NONE || | ||
375 | dev->type == ARPHRD_SIT) { | 376 | dev->type == ARPHRD_SIT) { |
376 | printk(KERN_INFO | 377 | printk(KERN_INFO |
377 | "Disabled Privacy Extensions on device %p(%s)\n", | 378 | "Disabled Privacy Extensions on device %p(%s)\n", |
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index 8e0f569b883e..ff3ec9822e36 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6/icmp.c | |||
@@ -277,8 +277,8 @@ void icmpv6_send(struct sk_buff *skb, int type, int code, __u32 info, | |||
277 | { | 277 | { |
278 | struct inet6_dev *idev = NULL; | 278 | struct inet6_dev *idev = NULL; |
279 | struct ipv6hdr *hdr = skb->nh.ipv6h; | 279 | struct ipv6hdr *hdr = skb->nh.ipv6h; |
280 | struct sock *sk = icmpv6_socket->sk; | 280 | struct sock *sk; |
281 | struct ipv6_pinfo *np = inet6_sk(sk); | 281 | struct ipv6_pinfo *np; |
282 | struct in6_addr *saddr = NULL; | 282 | struct in6_addr *saddr = NULL; |
283 | struct dst_entry *dst; | 283 | struct dst_entry *dst; |
284 | struct icmp6hdr tmp_hdr; | 284 | struct icmp6hdr tmp_hdr; |
@@ -358,6 +358,9 @@ void icmpv6_send(struct sk_buff *skb, int type, int code, __u32 info, | |||
358 | if (icmpv6_xmit_lock()) | 358 | if (icmpv6_xmit_lock()) |
359 | return; | 359 | return; |
360 | 360 | ||
361 | sk = icmpv6_socket->sk; | ||
362 | np = inet6_sk(sk); | ||
363 | |||
361 | if (!icmpv6_xrlim_allow(sk, type, &fl)) | 364 | if (!icmpv6_xrlim_allow(sk, type, &fl)) |
362 | goto out; | 365 | goto out; |
363 | 366 | ||
@@ -423,9 +426,9 @@ out: | |||
423 | 426 | ||
424 | static void icmpv6_echo_reply(struct sk_buff *skb) | 427 | static void icmpv6_echo_reply(struct sk_buff *skb) |
425 | { | 428 | { |
426 | struct sock *sk = icmpv6_socket->sk; | 429 | struct sock *sk; |
427 | struct inet6_dev *idev; | 430 | struct inet6_dev *idev; |
428 | struct ipv6_pinfo *np = inet6_sk(sk); | 431 | struct ipv6_pinfo *np; |
429 | struct in6_addr *saddr = NULL; | 432 | struct in6_addr *saddr = NULL; |
430 | struct icmp6hdr *icmph = (struct icmp6hdr *) skb->h.raw; | 433 | struct icmp6hdr *icmph = (struct icmp6hdr *) skb->h.raw; |
431 | struct icmp6hdr tmp_hdr; | 434 | struct icmp6hdr tmp_hdr; |
@@ -454,6 +457,9 @@ static void icmpv6_echo_reply(struct sk_buff *skb) | |||
454 | if (icmpv6_xmit_lock()) | 457 | if (icmpv6_xmit_lock()) |
455 | return; | 458 | return; |
456 | 459 | ||
460 | sk = icmpv6_socket->sk; | ||
461 | np = inet6_sk(sk); | ||
462 | |||
457 | if (!fl.oif && ipv6_addr_is_multicast(&fl.fl6_dst)) | 463 | if (!fl.oif && ipv6_addr_is_multicast(&fl.fl6_dst)) |
458 | fl.oif = np->mcast_oif; | 464 | fl.oif = np->mcast_oif; |
459 | 465 | ||
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 3b1c9fa184ae..ba3b0c267f75 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -882,6 +882,7 @@ ip6ip6_tnl_change(struct ip6_tnl *t, struct ip6_tnl_parm *p) | |||
882 | t->parms.hop_limit = p->hop_limit; | 882 | t->parms.hop_limit = p->hop_limit; |
883 | t->parms.encap_limit = p->encap_limit; | 883 | t->parms.encap_limit = p->encap_limit; |
884 | t->parms.flowinfo = p->flowinfo; | 884 | t->parms.flowinfo = p->flowinfo; |
885 | t->parms.link = p->link; | ||
885 | ip6ip6_tnl_link_config(t); | 886 | ip6ip6_tnl_link_config(t); |
886 | return 0; | 887 | return 0; |
887 | } | 888 | } |
diff --git a/net/sched/Kconfig b/net/sched/Kconfig index b0941186f867..b22c9beb604d 100644 --- a/net/sched/Kconfig +++ b/net/sched/Kconfig | |||
@@ -405,7 +405,7 @@ config NET_EMATCH_STACK | |||
405 | ---help--- | 405 | ---help--- |
406 | Size of the local stack variable used while evaluating the tree of | 406 | Size of the local stack variable used while evaluating the tree of |
407 | ematches. Limits the depth of the tree, i.e. the number of | 407 | ematches. Limits the depth of the tree, i.e. the number of |
408 | encapsulated precedences. Every level requires 4 bytes of addtional | 408 | encapsulated precedences. Every level requires 4 bytes of additional |
409 | stack space. | 409 | stack space. |
410 | 410 | ||
411 | config NET_EMATCH_CMP | 411 | config NET_EMATCH_CMP |
diff --git a/net/sched/act_api.c b/net/sched/act_api.c index cafcb084098d..914c85ff8fe6 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c | |||
@@ -881,7 +881,7 @@ static int __init tc_action_init(void) | |||
881 | link_p[RTM_GETACTION-RTM_BASE].dumpit = tc_dump_action; | 881 | link_p[RTM_GETACTION-RTM_BASE].dumpit = tc_dump_action; |
882 | } | 882 | } |
883 | 883 | ||
884 | printk("TC classifier action (bugs to netdev@oss.sgi.com cc " | 884 | printk("TC classifier action (bugs to netdev@vger.kernel.org cc " |
885 | "hadi@cyberus.ca)\n"); | 885 | "hadi@cyberus.ca)\n"); |
886 | return 0; | 886 | return 0; |
887 | } | 887 | } |
diff --git a/net/sched/cls_basic.c b/net/sched/cls_basic.c index 0d2d4415f334..dfb300bb6baa 100644 --- a/net/sched/cls_basic.c +++ b/net/sched/cls_basic.c | |||
@@ -261,6 +261,9 @@ static int basic_dump(struct tcf_proto *tp, unsigned long fh, | |||
261 | rta = (struct rtattr *) b; | 261 | rta = (struct rtattr *) b; |
262 | RTA_PUT(skb, TCA_OPTIONS, 0, NULL); | 262 | RTA_PUT(skb, TCA_OPTIONS, 0, NULL); |
263 | 263 | ||
264 | if (f->res.classid) | ||
265 | RTA_PUT(skb, TCA_BASIC_CLASSID, sizeof(u32), &f->res.classid); | ||
266 | |||
264 | if (tcf_exts_dump(skb, &f->exts, &basic_ext_map) < 0 || | 267 | if (tcf_exts_dump(skb, &f->exts, &basic_ext_map) < 0 || |
265 | tcf_em_tree_dump(skb, &f->ematches, TCA_BASIC_EMATCHES) < 0) | 268 | tcf_em_tree_dump(skb, &f->ematches, TCA_BASIC_EMATCHES) < 0) |
266 | goto rtattr_failure; | 269 | goto rtattr_failure; |
diff --git a/net/sched/em_meta.c b/net/sched/em_meta.c index f1eeaf65cee5..48bb23c2a35a 100644 --- a/net/sched/em_meta.c +++ b/net/sched/em_meta.c | |||
@@ -32,7 +32,7 @@ | |||
32 | * +-----------+ +-----------+ | 32 | * +-----------+ +-----------+ |
33 | * | | | 33 | * | | |
34 | * ---> meta_ops[INT][INDEV](...) | | 34 | * ---> meta_ops[INT][INDEV](...) | |
35 | * | | | 35 | * | | |
36 | * ----------- | | 36 | * ----------- | |
37 | * V V | 37 | * V V |
38 | * +-----------+ +-----------+ | 38 | * +-----------+ +-----------+ |
@@ -70,6 +70,7 @@ | |||
70 | #include <net/dst.h> | 70 | #include <net/dst.h> |
71 | #include <net/route.h> | 71 | #include <net/route.h> |
72 | #include <net/pkt_cls.h> | 72 | #include <net/pkt_cls.h> |
73 | #include <net/sock.h> | ||
73 | 74 | ||
74 | struct meta_obj | 75 | struct meta_obj |
75 | { | 76 | { |
@@ -284,6 +285,214 @@ META_COLLECTOR(int_rtiif) | |||
284 | } | 285 | } |
285 | 286 | ||
286 | /************************************************************************** | 287 | /************************************************************************** |
288 | * Socket Attributes | ||
289 | **************************************************************************/ | ||
290 | |||
291 | #define SKIP_NONLOCAL(skb) \ | ||
292 | if (unlikely(skb->sk == NULL)) { \ | ||
293 | *err = -1; \ | ||
294 | return; \ | ||
295 | } | ||
296 | |||
297 | META_COLLECTOR(int_sk_family) | ||
298 | { | ||
299 | SKIP_NONLOCAL(skb); | ||
300 | dst->value = skb->sk->sk_family; | ||
301 | } | ||
302 | |||
303 | META_COLLECTOR(int_sk_state) | ||
304 | { | ||
305 | SKIP_NONLOCAL(skb); | ||
306 | dst->value = skb->sk->sk_state; | ||
307 | } | ||
308 | |||
309 | META_COLLECTOR(int_sk_reuse) | ||
310 | { | ||
311 | SKIP_NONLOCAL(skb); | ||
312 | dst->value = skb->sk->sk_reuse; | ||
313 | } | ||
314 | |||
315 | META_COLLECTOR(int_sk_bound_if) | ||
316 | { | ||
317 | SKIP_NONLOCAL(skb); | ||
318 | /* No error if bound_dev_if is 0, legal userspace check */ | ||
319 | dst->value = skb->sk->sk_bound_dev_if; | ||
320 | } | ||
321 | |||
322 | META_COLLECTOR(var_sk_bound_if) | ||
323 | { | ||
324 | SKIP_NONLOCAL(skb); | ||
325 | |||
326 | if (skb->sk->sk_bound_dev_if == 0) { | ||
327 | dst->value = (unsigned long) "any"; | ||
328 | dst->len = 3; | ||
329 | } else { | ||
330 | struct net_device *dev; | ||
331 | |||
332 | dev = dev_get_by_index(skb->sk->sk_bound_dev_if); | ||
333 | *err = var_dev(dev, dst); | ||
334 | if (dev) | ||
335 | dev_put(dev); | ||
336 | } | ||
337 | } | ||
338 | |||
339 | META_COLLECTOR(int_sk_refcnt) | ||
340 | { | ||
341 | SKIP_NONLOCAL(skb); | ||
342 | dst->value = atomic_read(&skb->sk->sk_refcnt); | ||
343 | } | ||
344 | |||
345 | META_COLLECTOR(int_sk_rcvbuf) | ||
346 | { | ||
347 | SKIP_NONLOCAL(skb); | ||
348 | dst->value = skb->sk->sk_rcvbuf; | ||
349 | } | ||
350 | |||
351 | META_COLLECTOR(int_sk_shutdown) | ||
352 | { | ||
353 | SKIP_NONLOCAL(skb); | ||
354 | dst->value = skb->sk->sk_shutdown; | ||
355 | } | ||
356 | |||
357 | META_COLLECTOR(int_sk_proto) | ||
358 | { | ||
359 | SKIP_NONLOCAL(skb); | ||
360 | dst->value = skb->sk->sk_protocol; | ||
361 | } | ||
362 | |||
363 | META_COLLECTOR(int_sk_type) | ||
364 | { | ||
365 | SKIP_NONLOCAL(skb); | ||
366 | dst->value = skb->sk->sk_type; | ||
367 | } | ||
368 | |||
369 | META_COLLECTOR(int_sk_rmem_alloc) | ||
370 | { | ||
371 | SKIP_NONLOCAL(skb); | ||
372 | dst->value = atomic_read(&skb->sk->sk_rmem_alloc); | ||
373 | } | ||
374 | |||
375 | META_COLLECTOR(int_sk_wmem_alloc) | ||
376 | { | ||
377 | SKIP_NONLOCAL(skb); | ||
378 | dst->value = atomic_read(&skb->sk->sk_wmem_alloc); | ||
379 | } | ||
380 | |||
381 | META_COLLECTOR(int_sk_omem_alloc) | ||
382 | { | ||
383 | SKIP_NONLOCAL(skb); | ||
384 | dst->value = atomic_read(&skb->sk->sk_omem_alloc); | ||
385 | } | ||
386 | |||
387 | META_COLLECTOR(int_sk_rcv_qlen) | ||
388 | { | ||
389 | SKIP_NONLOCAL(skb); | ||
390 | dst->value = skb->sk->sk_receive_queue.qlen; | ||
391 | } | ||
392 | |||
393 | META_COLLECTOR(int_sk_snd_qlen) | ||
394 | { | ||
395 | SKIP_NONLOCAL(skb); | ||
396 | dst->value = skb->sk->sk_write_queue.qlen; | ||
397 | } | ||
398 | |||
399 | META_COLLECTOR(int_sk_wmem_queued) | ||
400 | { | ||
401 | SKIP_NONLOCAL(skb); | ||
402 | dst->value = skb->sk->sk_wmem_queued; | ||
403 | } | ||
404 | |||
405 | META_COLLECTOR(int_sk_fwd_alloc) | ||
406 | { | ||
407 | SKIP_NONLOCAL(skb); | ||
408 | dst->value = skb->sk->sk_forward_alloc; | ||
409 | } | ||
410 | |||
411 | META_COLLECTOR(int_sk_sndbuf) | ||
412 | { | ||
413 | SKIP_NONLOCAL(skb); | ||
414 | dst->value = skb->sk->sk_sndbuf; | ||
415 | } | ||
416 | |||
417 | META_COLLECTOR(int_sk_alloc) | ||
418 | { | ||
419 | SKIP_NONLOCAL(skb); | ||
420 | dst->value = skb->sk->sk_allocation; | ||
421 | } | ||
422 | |||
423 | META_COLLECTOR(int_sk_route_caps) | ||
424 | { | ||
425 | SKIP_NONLOCAL(skb); | ||
426 | dst->value = skb->sk->sk_route_caps; | ||
427 | } | ||
428 | |||
429 | META_COLLECTOR(int_sk_hashent) | ||
430 | { | ||
431 | SKIP_NONLOCAL(skb); | ||
432 | dst->value = skb->sk->sk_hashent; | ||
433 | } | ||
434 | |||
435 | META_COLLECTOR(int_sk_lingertime) | ||
436 | { | ||
437 | SKIP_NONLOCAL(skb); | ||
438 | dst->value = skb->sk->sk_lingertime / HZ; | ||
439 | } | ||
440 | |||
441 | META_COLLECTOR(int_sk_err_qlen) | ||
442 | { | ||
443 | SKIP_NONLOCAL(skb); | ||
444 | dst->value = skb->sk->sk_error_queue.qlen; | ||
445 | } | ||
446 | |||
447 | META_COLLECTOR(int_sk_ack_bl) | ||
448 | { | ||
449 | SKIP_NONLOCAL(skb); | ||
450 | dst->value = skb->sk->sk_ack_backlog; | ||
451 | } | ||
452 | |||
453 | META_COLLECTOR(int_sk_max_ack_bl) | ||
454 | { | ||
455 | SKIP_NONLOCAL(skb); | ||
456 | dst->value = skb->sk->sk_max_ack_backlog; | ||
457 | } | ||
458 | |||
459 | META_COLLECTOR(int_sk_prio) | ||
460 | { | ||
461 | SKIP_NONLOCAL(skb); | ||
462 | dst->value = skb->sk->sk_priority; | ||
463 | } | ||
464 | |||
465 | META_COLLECTOR(int_sk_rcvlowat) | ||
466 | { | ||
467 | SKIP_NONLOCAL(skb); | ||
468 | dst->value = skb->sk->sk_rcvlowat; | ||
469 | } | ||
470 | |||
471 | META_COLLECTOR(int_sk_rcvtimeo) | ||
472 | { | ||
473 | SKIP_NONLOCAL(skb); | ||
474 | dst->value = skb->sk->sk_rcvtimeo / HZ; | ||
475 | } | ||
476 | |||
477 | META_COLLECTOR(int_sk_sndtimeo) | ||
478 | { | ||
479 | SKIP_NONLOCAL(skb); | ||
480 | dst->value = skb->sk->sk_sndtimeo / HZ; | ||
481 | } | ||
482 | |||
483 | META_COLLECTOR(int_sk_sendmsg_off) | ||
484 | { | ||
485 | SKIP_NONLOCAL(skb); | ||
486 | dst->value = skb->sk->sk_sndmsg_off; | ||
487 | } | ||
488 | |||
489 | META_COLLECTOR(int_sk_write_pend) | ||
490 | { | ||
491 | SKIP_NONLOCAL(skb); | ||
492 | dst->value = skb->sk->sk_write_pending; | ||
493 | } | ||
494 | |||
495 | /************************************************************************** | ||
287 | * Meta value collectors assignment table | 496 | * Meta value collectors assignment table |
288 | **************************************************************************/ | 497 | **************************************************************************/ |
289 | 498 | ||
@@ -293,41 +502,75 @@ struct meta_ops | |||
293 | struct meta_value *, struct meta_obj *, int *); | 502 | struct meta_value *, struct meta_obj *, int *); |
294 | }; | 503 | }; |
295 | 504 | ||
505 | #define META_ID(name) TCF_META_ID_##name | ||
506 | #define META_FUNC(name) { .get = meta_##name } | ||
507 | |||
296 | /* Meta value operations table listing all meta value collectors and | 508 | /* Meta value operations table listing all meta value collectors and |
297 | * assigns them to a type and meta id. */ | 509 | * assigns them to a type and meta id. */ |
298 | static struct meta_ops __meta_ops[TCF_META_TYPE_MAX+1][TCF_META_ID_MAX+1] = { | 510 | static struct meta_ops __meta_ops[TCF_META_TYPE_MAX+1][TCF_META_ID_MAX+1] = { |
299 | [TCF_META_TYPE_VAR] = { | 511 | [TCF_META_TYPE_VAR] = { |
300 | [TCF_META_ID_DEV] = { .get = meta_var_dev }, | 512 | [META_ID(DEV)] = META_FUNC(var_dev), |
301 | [TCF_META_ID_INDEV] = { .get = meta_var_indev }, | 513 | [META_ID(INDEV)] = META_FUNC(var_indev), |
302 | [TCF_META_ID_REALDEV] = { .get = meta_var_realdev } | 514 | [META_ID(REALDEV)] = META_FUNC(var_realdev), |
515 | [META_ID(SK_BOUND_IF)] = META_FUNC(var_sk_bound_if), | ||
303 | }, | 516 | }, |
304 | [TCF_META_TYPE_INT] = { | 517 | [TCF_META_TYPE_INT] = { |
305 | [TCF_META_ID_RANDOM] = { .get = meta_int_random }, | 518 | [META_ID(RANDOM)] = META_FUNC(int_random), |
306 | [TCF_META_ID_LOADAVG_0] = { .get = meta_int_loadavg_0 }, | 519 | [META_ID(LOADAVG_0)] = META_FUNC(int_loadavg_0), |
307 | [TCF_META_ID_LOADAVG_1] = { .get = meta_int_loadavg_1 }, | 520 | [META_ID(LOADAVG_1)] = META_FUNC(int_loadavg_1), |
308 | [TCF_META_ID_LOADAVG_2] = { .get = meta_int_loadavg_2 }, | 521 | [META_ID(LOADAVG_2)] = META_FUNC(int_loadavg_2), |
309 | [TCF_META_ID_DEV] = { .get = meta_int_dev }, | 522 | [META_ID(DEV)] = META_FUNC(int_dev), |
310 | [TCF_META_ID_INDEV] = { .get = meta_int_indev }, | 523 | [META_ID(INDEV)] = META_FUNC(int_indev), |
311 | [TCF_META_ID_REALDEV] = { .get = meta_int_realdev }, | 524 | [META_ID(REALDEV)] = META_FUNC(int_realdev), |
312 | [TCF_META_ID_PRIORITY] = { .get = meta_int_priority }, | 525 | [META_ID(PRIORITY)] = META_FUNC(int_priority), |
313 | [TCF_META_ID_PROTOCOL] = { .get = meta_int_protocol }, | 526 | [META_ID(PROTOCOL)] = META_FUNC(int_protocol), |
314 | [TCF_META_ID_SECURITY] = { .get = meta_int_security }, | 527 | [META_ID(SECURITY)] = META_FUNC(int_security), |
315 | [TCF_META_ID_PKTTYPE] = { .get = meta_int_pkttype }, | 528 | [META_ID(PKTTYPE)] = META_FUNC(int_pkttype), |
316 | [TCF_META_ID_PKTLEN] = { .get = meta_int_pktlen }, | 529 | [META_ID(PKTLEN)] = META_FUNC(int_pktlen), |
317 | [TCF_META_ID_DATALEN] = { .get = meta_int_datalen }, | 530 | [META_ID(DATALEN)] = META_FUNC(int_datalen), |
318 | [TCF_META_ID_MACLEN] = { .get = meta_int_maclen }, | 531 | [META_ID(MACLEN)] = META_FUNC(int_maclen), |
319 | #ifdef CONFIG_NETFILTER | 532 | #ifdef CONFIG_NETFILTER |
320 | [TCF_META_ID_NFMARK] = { .get = meta_int_nfmark }, | 533 | [META_ID(NFMARK)] = META_FUNC(int_nfmark), |
321 | #endif | 534 | #endif |
322 | [TCF_META_ID_TCINDEX] = { .get = meta_int_tcindex }, | 535 | [META_ID(TCINDEX)] = META_FUNC(int_tcindex), |
323 | #ifdef CONFIG_NET_CLS_ACT | 536 | #ifdef CONFIG_NET_CLS_ACT |
324 | [TCF_META_ID_TCVERDICT] = { .get = meta_int_tcverd }, | 537 | [META_ID(TCVERDICT)] = META_FUNC(int_tcverd), |
325 | [TCF_META_ID_TCCLASSID] = { .get = meta_int_tcclassid }, | 538 | [META_ID(TCCLASSID)] = META_FUNC(int_tcclassid), |
326 | #endif | 539 | #endif |
327 | #ifdef CONFIG_NET_CLS_ROUTE | 540 | #ifdef CONFIG_NET_CLS_ROUTE |
328 | [TCF_META_ID_RTCLASSID] = { .get = meta_int_rtclassid }, | 541 | [META_ID(RTCLASSID)] = META_FUNC(int_rtclassid), |
329 | #endif | 542 | #endif |
330 | [TCF_META_ID_RTIIF] = { .get = meta_int_rtiif } | 543 | [META_ID(RTIIF)] = META_FUNC(int_rtiif), |
544 | [META_ID(SK_FAMILY)] = META_FUNC(int_sk_family), | ||
545 | [META_ID(SK_STATE)] = META_FUNC(int_sk_state), | ||
546 | [META_ID(SK_REUSE)] = META_FUNC(int_sk_reuse), | ||
547 | [META_ID(SK_BOUND_IF)] = META_FUNC(int_sk_bound_if), | ||
548 | [META_ID(SK_REFCNT)] = META_FUNC(int_sk_refcnt), | ||
549 | [META_ID(SK_RCVBUF)] = META_FUNC(int_sk_rcvbuf), | ||
550 | [META_ID(SK_SNDBUF)] = META_FUNC(int_sk_sndbuf), | ||
551 | [META_ID(SK_SHUTDOWN)] = META_FUNC(int_sk_shutdown), | ||
552 | [META_ID(SK_PROTO)] = META_FUNC(int_sk_proto), | ||
553 | [META_ID(SK_TYPE)] = META_FUNC(int_sk_type), | ||
554 | [META_ID(SK_RMEM_ALLOC)] = META_FUNC(int_sk_rmem_alloc), | ||
555 | [META_ID(SK_WMEM_ALLOC)] = META_FUNC(int_sk_wmem_alloc), | ||
556 | [META_ID(SK_OMEM_ALLOC)] = META_FUNC(int_sk_omem_alloc), | ||
557 | [META_ID(SK_WMEM_QUEUED)] = META_FUNC(int_sk_wmem_queued), | ||
558 | [META_ID(SK_RCV_QLEN)] = META_FUNC(int_sk_rcv_qlen), | ||
559 | [META_ID(SK_SND_QLEN)] = META_FUNC(int_sk_snd_qlen), | ||
560 | [META_ID(SK_ERR_QLEN)] = META_FUNC(int_sk_err_qlen), | ||
561 | [META_ID(SK_FORWARD_ALLOCS)] = META_FUNC(int_sk_fwd_alloc), | ||
562 | [META_ID(SK_ALLOCS)] = META_FUNC(int_sk_alloc), | ||
563 | [META_ID(SK_ROUTE_CAPS)] = META_FUNC(int_sk_route_caps), | ||
564 | [META_ID(SK_HASHENT)] = META_FUNC(int_sk_hashent), | ||
565 | [META_ID(SK_LINGERTIME)] = META_FUNC(int_sk_lingertime), | ||
566 | [META_ID(SK_ACK_BACKLOG)] = META_FUNC(int_sk_ack_bl), | ||
567 | [META_ID(SK_MAX_ACK_BACKLOG)] = META_FUNC(int_sk_max_ack_bl), | ||
568 | [META_ID(SK_PRIO)] = META_FUNC(int_sk_prio), | ||
569 | [META_ID(SK_RCVLOWAT)] = META_FUNC(int_sk_rcvlowat), | ||
570 | [META_ID(SK_RCVTIMEO)] = META_FUNC(int_sk_rcvtimeo), | ||
571 | [META_ID(SK_SNDTIMEO)] = META_FUNC(int_sk_sndtimeo), | ||
572 | [META_ID(SK_SENDMSG_OFF)] = META_FUNC(int_sk_sendmsg_off), | ||
573 | [META_ID(SK_WRITE_PENDING)] = META_FUNC(int_sk_write_pend), | ||
331 | } | 574 | } |
332 | }; | 575 | }; |
333 | 576 | ||
@@ -396,9 +639,9 @@ static int meta_int_compare(struct meta_obj *a, struct meta_obj *b) | |||
396 | /* Let gcc optimize it, the unlikely is not really based on | 639 | /* Let gcc optimize it, the unlikely is not really based on |
397 | * some numbers but jump free code for mismatches seems | 640 | * some numbers but jump free code for mismatches seems |
398 | * more logical. */ | 641 | * more logical. */ |
399 | if (unlikely(a == b)) | 642 | if (unlikely(a->value == b->value)) |
400 | return 0; | 643 | return 0; |
401 | else if (a < b) | 644 | else if (a->value < b->value) |
402 | return -1; | 645 | return -1; |
403 | else | 646 | else |
404 | return 1; | 647 | return 1; |
diff --git a/net/sctp/input.c b/net/sctp/input.c index b719a77d66b4..fffc880a646d 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c | |||
@@ -178,6 +178,37 @@ int sctp_rcv(struct sk_buff *skb) | |||
178 | 178 | ||
179 | asoc = __sctp_rcv_lookup(skb, &src, &dest, &transport); | 179 | asoc = __sctp_rcv_lookup(skb, &src, &dest, &transport); |
180 | 180 | ||
181 | if (!asoc) | ||
182 | ep = __sctp_rcv_lookup_endpoint(&dest); | ||
183 | |||
184 | /* Retrieve the common input handling substructure. */ | ||
185 | rcvr = asoc ? &asoc->base : &ep->base; | ||
186 | sk = rcvr->sk; | ||
187 | |||
188 | /* | ||
189 | * If a frame arrives on an interface and the receiving socket is | ||
190 | * bound to another interface, via SO_BINDTODEVICE, treat it as OOTB | ||
191 | */ | ||
192 | if (sk->sk_bound_dev_if && (sk->sk_bound_dev_if != af->skb_iif(skb))) | ||
193 | { | ||
194 | sock_put(sk); | ||
195 | if (asoc) { | ||
196 | sctp_association_put(asoc); | ||
197 | asoc = NULL; | ||
198 | } else { | ||
199 | sctp_endpoint_put(ep); | ||
200 | ep = NULL; | ||
201 | } | ||
202 | sk = sctp_get_ctl_sock(); | ||
203 | ep = sctp_sk(sk)->ep; | ||
204 | sctp_endpoint_hold(ep); | ||
205 | sock_hold(sk); | ||
206 | rcvr = &ep->base; | ||
207 | } | ||
208 | |||
209 | if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) | ||
210 | goto discard_release; | ||
211 | |||
181 | /* | 212 | /* |
182 | * RFC 2960, 8.4 - Handle "Out of the blue" Packets. | 213 | * RFC 2960, 8.4 - Handle "Out of the blue" Packets. |
183 | * An SCTP packet is called an "out of the blue" (OOTB) | 214 | * An SCTP packet is called an "out of the blue" (OOTB) |
@@ -187,22 +218,12 @@ int sctp_rcv(struct sk_buff *skb) | |||
187 | * packet belongs. | 218 | * packet belongs. |
188 | */ | 219 | */ |
189 | if (!asoc) { | 220 | if (!asoc) { |
190 | ep = __sctp_rcv_lookup_endpoint(&dest); | ||
191 | if (sctp_rcv_ootb(skb)) { | 221 | if (sctp_rcv_ootb(skb)) { |
192 | SCTP_INC_STATS_BH(SCTP_MIB_OUTOFBLUES); | 222 | SCTP_INC_STATS_BH(SCTP_MIB_OUTOFBLUES); |
193 | goto discard_release; | 223 | goto discard_release; |
194 | } | 224 | } |
195 | } | 225 | } |
196 | 226 | ||
197 | /* Retrieve the common input handling substructure. */ | ||
198 | rcvr = asoc ? &asoc->base : &ep->base; | ||
199 | sk = rcvr->sk; | ||
200 | |||
201 | if ((sk) && (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf)) { | ||
202 | goto discard_release; | ||
203 | } | ||
204 | |||
205 | |||
206 | /* SCTP seems to always need a timestamp right now (FIXME) */ | 227 | /* SCTP seems to always need a timestamp right now (FIXME) */ |
207 | if (skb->stamp.tv_sec == 0) { | 228 | if (skb->stamp.tv_sec == 0) { |
208 | do_gettimeofday(&skb->stamp); | 229 | do_gettimeofday(&skb->stamp); |
@@ -265,13 +286,11 @@ discard_it: | |||
265 | 286 | ||
266 | discard_release: | 287 | discard_release: |
267 | /* Release any structures we may be holding. */ | 288 | /* Release any structures we may be holding. */ |
268 | if (asoc) { | 289 | sock_put(sk); |
269 | sock_put(asoc->base.sk); | 290 | if (asoc) |
270 | sctp_association_put(asoc); | 291 | sctp_association_put(asoc); |
271 | } else { | 292 | else |
272 | sock_put(ep->base.sk); | ||
273 | sctp_endpoint_put(ep); | 293 | sctp_endpoint_put(ep); |
274 | } | ||
275 | 294 | ||
276 | goto discard_it; | 295 | goto discard_it; |
277 | } | 296 | } |
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index c9d9ea064734..c7e42d125b9c 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c | |||
@@ -812,26 +812,23 @@ static int sctp_inet6_bind_verify(struct sctp_sock *opt, union sctp_addr *addr) | |||
812 | if (addr->sa.sa_family != AF_INET6) | 812 | if (addr->sa.sa_family != AF_INET6) |
813 | af = sctp_get_af_specific(addr->sa.sa_family); | 813 | af = sctp_get_af_specific(addr->sa.sa_family); |
814 | else { | 814 | else { |
815 | struct sock *sk; | ||
816 | int type = ipv6_addr_type(&addr->v6.sin6_addr); | 815 | int type = ipv6_addr_type(&addr->v6.sin6_addr); |
817 | sk = sctp_opt2sk(opt); | 816 | struct net_device *dev; |
817 | |||
818 | if (type & IPV6_ADDR_LINKLOCAL) { | 818 | if (type & IPV6_ADDR_LINKLOCAL) { |
819 | /* Note: Behavior similar to af_inet6.c: | 819 | if (!addr->v6.sin6_scope_id) |
820 | * 1) Overrides previous bound_dev_if | 820 | return 0; |
821 | * 2) Destructive even if bind isn't successful. | 821 | dev = dev_get_by_index(addr->v6.sin6_scope_id); |
822 | */ | 822 | if (!dev) |
823 | |||
824 | if (addr->v6.sin6_scope_id) | ||
825 | sk->sk_bound_dev_if = addr->v6.sin6_scope_id; | ||
826 | if (!sk->sk_bound_dev_if) | ||
827 | return 0; | 823 | return 0; |
824 | dev_put(dev); | ||
828 | } | 825 | } |
829 | af = opt->pf->af; | 826 | af = opt->pf->af; |
830 | } | 827 | } |
831 | return af->available(addr, opt); | 828 | return af->available(addr, opt); |
832 | } | 829 | } |
833 | 830 | ||
834 | /* Verify that the provided sockaddr looks bindable. Common verification, | 831 | /* Verify that the provided sockaddr looks sendable. Common verification, |
835 | * has already been taken care of. | 832 | * has already been taken care of. |
836 | */ | 833 | */ |
837 | static int sctp_inet6_send_verify(struct sctp_sock *opt, union sctp_addr *addr) | 834 | static int sctp_inet6_send_verify(struct sctp_sock *opt, union sctp_addr *addr) |
@@ -842,19 +839,16 @@ static int sctp_inet6_send_verify(struct sctp_sock *opt, union sctp_addr *addr) | |||
842 | if (addr->sa.sa_family != AF_INET6) | 839 | if (addr->sa.sa_family != AF_INET6) |
843 | af = sctp_get_af_specific(addr->sa.sa_family); | 840 | af = sctp_get_af_specific(addr->sa.sa_family); |
844 | else { | 841 | else { |
845 | struct sock *sk; | ||
846 | int type = ipv6_addr_type(&addr->v6.sin6_addr); | 842 | int type = ipv6_addr_type(&addr->v6.sin6_addr); |
847 | sk = sctp_opt2sk(opt); | 843 | struct net_device *dev; |
844 | |||
848 | if (type & IPV6_ADDR_LINKLOCAL) { | 845 | if (type & IPV6_ADDR_LINKLOCAL) { |
849 | /* Note: Behavior similar to af_inet6.c: | 846 | if (!addr->v6.sin6_scope_id) |
850 | * 1) Overrides previous bound_dev_if | 847 | return 0; |
851 | * 2) Destructive even if bind isn't successful. | 848 | dev = dev_get_by_index(addr->v6.sin6_scope_id); |
852 | */ | 849 | if (!dev) |
853 | |||
854 | if (addr->v6.sin6_scope_id) | ||
855 | sk->sk_bound_dev_if = addr->v6.sin6_scope_id; | ||
856 | if (!sk->sk_bound_dev_if) | ||
857 | return 0; | 850 | return 0; |
851 | dev_put(dev); | ||
858 | } | 852 | } |
859 | af = opt->pf->af; | 853 | af = opt->pf->af; |
860 | } | 854 | } |
diff --git a/net/sctp/proc.c b/net/sctp/proc.c index e42fd8c2916b..98d49ec9b74b 100644 --- a/net/sctp/proc.c +++ b/net/sctp/proc.c | |||
@@ -132,14 +132,25 @@ void sctp_snmp_proc_exit(void) | |||
132 | static void sctp_seq_dump_local_addrs(struct seq_file *seq, struct sctp_ep_common *epb) | 132 | static void sctp_seq_dump_local_addrs(struct seq_file *seq, struct sctp_ep_common *epb) |
133 | { | 133 | { |
134 | struct list_head *pos; | 134 | struct list_head *pos; |
135 | struct sctp_association *asoc; | ||
135 | struct sctp_sockaddr_entry *laddr; | 136 | struct sctp_sockaddr_entry *laddr; |
136 | union sctp_addr *addr; | 137 | struct sctp_transport *peer; |
138 | union sctp_addr *addr, *primary = NULL; | ||
137 | struct sctp_af *af; | 139 | struct sctp_af *af; |
138 | 140 | ||
141 | if (epb->type == SCTP_EP_TYPE_ASSOCIATION) { | ||
142 | asoc = sctp_assoc(epb); | ||
143 | peer = asoc->peer.primary_path; | ||
144 | primary = &peer->saddr; | ||
145 | } | ||
146 | |||
139 | list_for_each(pos, &epb->bind_addr.address_list) { | 147 | list_for_each(pos, &epb->bind_addr.address_list) { |
140 | laddr = list_entry(pos, struct sctp_sockaddr_entry, list); | 148 | laddr = list_entry(pos, struct sctp_sockaddr_entry, list); |
141 | addr = (union sctp_addr *)&laddr->a; | 149 | addr = (union sctp_addr *)&laddr->a; |
142 | af = sctp_get_af_specific(addr->sa.sa_family); | 150 | af = sctp_get_af_specific(addr->sa.sa_family); |
151 | if (primary && af->cmp_addr(addr, primary)) { | ||
152 | seq_printf(seq, "*"); | ||
153 | } | ||
143 | af->seq_dump_addr(seq, addr); | 154 | af->seq_dump_addr(seq, addr); |
144 | } | 155 | } |
145 | } | 156 | } |
@@ -149,17 +160,54 @@ static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_associa | |||
149 | { | 160 | { |
150 | struct list_head *pos; | 161 | struct list_head *pos; |
151 | struct sctp_transport *transport; | 162 | struct sctp_transport *transport; |
152 | union sctp_addr *addr; | 163 | union sctp_addr *addr, *primary; |
153 | struct sctp_af *af; | 164 | struct sctp_af *af; |
154 | 165 | ||
166 | primary = &(assoc->peer.primary_addr); | ||
155 | list_for_each(pos, &assoc->peer.transport_addr_list) { | 167 | list_for_each(pos, &assoc->peer.transport_addr_list) { |
156 | transport = list_entry(pos, struct sctp_transport, transports); | 168 | transport = list_entry(pos, struct sctp_transport, transports); |
157 | addr = (union sctp_addr *)&transport->ipaddr; | 169 | addr = (union sctp_addr *)&transport->ipaddr; |
158 | af = sctp_get_af_specific(addr->sa.sa_family); | 170 | af = sctp_get_af_specific(addr->sa.sa_family); |
171 | if (af->cmp_addr(addr, primary)) { | ||
172 | seq_printf(seq, "*"); | ||
173 | } | ||
159 | af->seq_dump_addr(seq, addr); | 174 | af->seq_dump_addr(seq, addr); |
160 | } | 175 | } |
161 | } | 176 | } |
162 | 177 | ||
178 | static void * sctp_eps_seq_start(struct seq_file *seq, loff_t *pos) | ||
179 | { | ||
180 | if (*pos > sctp_ep_hashsize) | ||
181 | return NULL; | ||
182 | |||
183 | if (*pos < 0) | ||
184 | *pos = 0; | ||
185 | |||
186 | if (*pos == 0) | ||
187 | seq_printf(seq, " ENDPT SOCK STY SST HBKT LPORT UID INODE LADDRS\n"); | ||
188 | |||
189 | ++*pos; | ||
190 | |||
191 | return (void *)pos; | ||
192 | } | ||
193 | |||
194 | static void sctp_eps_seq_stop(struct seq_file *seq, void *v) | ||
195 | { | ||
196 | return; | ||
197 | } | ||
198 | |||
199 | |||
200 | static void * sctp_eps_seq_next(struct seq_file *seq, void *v, loff_t *pos) | ||
201 | { | ||
202 | if (*pos > sctp_ep_hashsize) | ||
203 | return NULL; | ||
204 | |||
205 | ++*pos; | ||
206 | |||
207 | return pos; | ||
208 | } | ||
209 | |||
210 | |||
163 | /* Display sctp endpoints (/proc/net/sctp/eps). */ | 211 | /* Display sctp endpoints (/proc/net/sctp/eps). */ |
164 | static int sctp_eps_seq_show(struct seq_file *seq, void *v) | 212 | static int sctp_eps_seq_show(struct seq_file *seq, void *v) |
165 | { | 213 | { |
@@ -167,38 +215,50 @@ static int sctp_eps_seq_show(struct seq_file *seq, void *v) | |||
167 | struct sctp_ep_common *epb; | 215 | struct sctp_ep_common *epb; |
168 | struct sctp_endpoint *ep; | 216 | struct sctp_endpoint *ep; |
169 | struct sock *sk; | 217 | struct sock *sk; |
170 | int hash; | 218 | int hash = *(int *)v; |
171 | 219 | ||
172 | seq_printf(seq, " ENDPT SOCK STY SST HBKT LPORT LADDRS\n"); | 220 | if (hash > sctp_ep_hashsize) |
173 | for (hash = 0; hash < sctp_ep_hashsize; hash++) { | 221 | return -ENOMEM; |
174 | head = &sctp_ep_hashtable[hash]; | 222 | |
175 | read_lock(&head->lock); | 223 | head = &sctp_ep_hashtable[hash-1]; |
176 | for (epb = head->chain; epb; epb = epb->next) { | 224 | sctp_local_bh_disable(); |
177 | ep = sctp_ep(epb); | 225 | read_lock(&head->lock); |
178 | sk = epb->sk; | 226 | for (epb = head->chain; epb; epb = epb->next) { |
179 | seq_printf(seq, "%8p %8p %-3d %-3d %-4d %-5d ", ep, sk, | 227 | ep = sctp_ep(epb); |
180 | sctp_sk(sk)->type, sk->sk_state, hash, | 228 | sk = epb->sk; |
181 | epb->bind_addr.port); | 229 | seq_printf(seq, "%8p %8p %-3d %-3d %-4d %-5d %5d %5lu ", ep, sk, |
182 | sctp_seq_dump_local_addrs(seq, epb); | 230 | sctp_sk(sk)->type, sk->sk_state, hash-1, |
183 | seq_printf(seq, "\n"); | 231 | epb->bind_addr.port, |
184 | } | 232 | sock_i_uid(sk), sock_i_ino(sk)); |
185 | read_unlock(&head->lock); | 233 | |
234 | sctp_seq_dump_local_addrs(seq, epb); | ||
235 | seq_printf(seq, "\n"); | ||
186 | } | 236 | } |
237 | read_unlock(&head->lock); | ||
238 | sctp_local_bh_enable(); | ||
187 | 239 | ||
188 | return 0; | 240 | return 0; |
189 | } | 241 | } |
190 | 242 | ||
243 | static struct seq_operations sctp_eps_ops = { | ||
244 | .start = sctp_eps_seq_start, | ||
245 | .next = sctp_eps_seq_next, | ||
246 | .stop = sctp_eps_seq_stop, | ||
247 | .show = sctp_eps_seq_show, | ||
248 | }; | ||
249 | |||
250 | |||
191 | /* Initialize the seq file operations for 'eps' object. */ | 251 | /* Initialize the seq file operations for 'eps' object. */ |
192 | static int sctp_eps_seq_open(struct inode *inode, struct file *file) | 252 | static int sctp_eps_seq_open(struct inode *inode, struct file *file) |
193 | { | 253 | { |
194 | return single_open(file, sctp_eps_seq_show, NULL); | 254 | return seq_open(file, &sctp_eps_ops); |
195 | } | 255 | } |
196 | 256 | ||
197 | static struct file_operations sctp_eps_seq_fops = { | 257 | static struct file_operations sctp_eps_seq_fops = { |
198 | .open = sctp_eps_seq_open, | 258 | .open = sctp_eps_seq_open, |
199 | .read = seq_read, | 259 | .read = seq_read, |
200 | .llseek = seq_lseek, | 260 | .llseek = seq_lseek, |
201 | .release = single_release, | 261 | .release = seq_release, |
202 | }; | 262 | }; |
203 | 263 | ||
204 | /* Set up the proc fs entry for 'eps' object. */ | 264 | /* Set up the proc fs entry for 'eps' object. */ |
@@ -221,6 +281,40 @@ void sctp_eps_proc_exit(void) | |||
221 | remove_proc_entry("eps", proc_net_sctp); | 281 | remove_proc_entry("eps", proc_net_sctp); |
222 | } | 282 | } |
223 | 283 | ||
284 | |||
285 | static void * sctp_assocs_seq_start(struct seq_file *seq, loff_t *pos) | ||
286 | { | ||
287 | if (*pos > sctp_assoc_hashsize) | ||
288 | return NULL; | ||
289 | |||
290 | if (*pos < 0) | ||
291 | *pos = 0; | ||
292 | |||
293 | if (*pos == 0) | ||
294 | seq_printf(seq, " ASSOC SOCK STY SST ST HBKT ASSOC-ID TX_QUEUE RX_QUEUE UID INODE LPORT " | ||
295 | "RPORT LADDRS <-> RADDRS\n"); | ||
296 | |||
297 | ++*pos; | ||
298 | |||
299 | return (void *)pos; | ||
300 | } | ||
301 | |||
302 | static void sctp_assocs_seq_stop(struct seq_file *seq, void *v) | ||
303 | { | ||
304 | return; | ||
305 | } | ||
306 | |||
307 | |||
308 | static void * sctp_assocs_seq_next(struct seq_file *seq, void *v, loff_t *pos) | ||
309 | { | ||
310 | if (*pos > sctp_assoc_hashsize) | ||
311 | return NULL; | ||
312 | |||
313 | ++*pos; | ||
314 | |||
315 | return pos; | ||
316 | } | ||
317 | |||
224 | /* Display sctp associations (/proc/net/sctp/assocs). */ | 318 | /* Display sctp associations (/proc/net/sctp/assocs). */ |
225 | static int sctp_assocs_seq_show(struct seq_file *seq, void *v) | 319 | static int sctp_assocs_seq_show(struct seq_file *seq, void *v) |
226 | { | 320 | { |
@@ -228,43 +322,57 @@ static int sctp_assocs_seq_show(struct seq_file *seq, void *v) | |||
228 | struct sctp_ep_common *epb; | 322 | struct sctp_ep_common *epb; |
229 | struct sctp_association *assoc; | 323 | struct sctp_association *assoc; |
230 | struct sock *sk; | 324 | struct sock *sk; |
231 | int hash; | 325 | int hash = *(int *)v; |
232 | 326 | ||
233 | seq_printf(seq, " ASSOC SOCK STY SST ST HBKT LPORT RPORT " | 327 | if (hash > sctp_assoc_hashsize) |
234 | "LADDRS <-> RADDRS\n"); | 328 | return -ENOMEM; |
235 | for (hash = 0; hash < sctp_assoc_hashsize; hash++) { | 329 | |
236 | head = &sctp_assoc_hashtable[hash]; | 330 | head = &sctp_assoc_hashtable[hash-1]; |
237 | read_lock(&head->lock); | 331 | sctp_local_bh_disable(); |
238 | for (epb = head->chain; epb; epb = epb->next) { | 332 | read_lock(&head->lock); |
239 | assoc = sctp_assoc(epb); | 333 | for (epb = head->chain; epb; epb = epb->next) { |
240 | sk = epb->sk; | 334 | assoc = sctp_assoc(epb); |
241 | seq_printf(seq, | 335 | sk = epb->sk; |
242 | "%8p %8p %-3d %-3d %-2d %-4d %-5d %-5d ", | 336 | seq_printf(seq, |
243 | assoc, sk, sctp_sk(sk)->type, sk->sk_state, | 337 | "%8p %8p %-3d %-3d %-2d %-4d %4d %8d %8d %7d %5lu %-5d %5d ", |
244 | assoc->state, hash, epb->bind_addr.port, | 338 | assoc, sk, sctp_sk(sk)->type, sk->sk_state, |
245 | assoc->peer.port); | 339 | assoc->state, hash-1, assoc->assoc_id, |
246 | sctp_seq_dump_local_addrs(seq, epb); | 340 | (sk->sk_rcvbuf - assoc->rwnd), |
247 | seq_printf(seq, "<-> "); | 341 | assoc->sndbuf_used, |
248 | sctp_seq_dump_remote_addrs(seq, assoc); | 342 | sock_i_uid(sk), sock_i_ino(sk), |
249 | seq_printf(seq, "\n"); | 343 | epb->bind_addr.port, |
250 | } | 344 | assoc->peer.port); |
251 | read_unlock(&head->lock); | 345 | |
346 | seq_printf(seq, " "); | ||
347 | sctp_seq_dump_local_addrs(seq, epb); | ||
348 | seq_printf(seq, "<-> "); | ||
349 | sctp_seq_dump_remote_addrs(seq, assoc); | ||
350 | seq_printf(seq, "\n"); | ||
252 | } | 351 | } |
352 | read_unlock(&head->lock); | ||
353 | sctp_local_bh_enable(); | ||
253 | 354 | ||
254 | return 0; | 355 | return 0; |
255 | } | 356 | } |
256 | 357 | ||
358 | static struct seq_operations sctp_assoc_ops = { | ||
359 | .start = sctp_assocs_seq_start, | ||
360 | .next = sctp_assocs_seq_next, | ||
361 | .stop = sctp_assocs_seq_stop, | ||
362 | .show = sctp_assocs_seq_show, | ||
363 | }; | ||
364 | |||
257 | /* Initialize the seq file operations for 'assocs' object. */ | 365 | /* Initialize the seq file operations for 'assocs' object. */ |
258 | static int sctp_assocs_seq_open(struct inode *inode, struct file *file) | 366 | static int sctp_assocs_seq_open(struct inode *inode, struct file *file) |
259 | { | 367 | { |
260 | return single_open(file, sctp_assocs_seq_show, NULL); | 368 | return seq_open(file, &sctp_assoc_ops); |
261 | } | 369 | } |
262 | 370 | ||
263 | static struct file_operations sctp_assocs_seq_fops = { | 371 | static struct file_operations sctp_assocs_seq_fops = { |
264 | .open = sctp_assocs_seq_open, | 372 | .open = sctp_assocs_seq_open, |
265 | .read = seq_read, | 373 | .read = seq_read, |
266 | .llseek = seq_lseek, | 374 | .llseek = seq_lseek, |
267 | .release = single_release, | 375 | .release = seq_release, |
268 | }; | 376 | }; |
269 | 377 | ||
270 | /* Set up the proc fs entry for 'assocs' object. */ | 378 | /* Set up the proc fs entry for 'assocs' object. */ |
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 2e1f9c3556f5..5135e1a25d25 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -378,10 +378,13 @@ static int sctp_v4_available(union sctp_addr *addr, struct sctp_sock *sp) | |||
378 | { | 378 | { |
379 | int ret = inet_addr_type(addr->v4.sin_addr.s_addr); | 379 | int ret = inet_addr_type(addr->v4.sin_addr.s_addr); |
380 | 380 | ||
381 | /* FIXME: ip_nonlocal_bind sysctl support. */ | ||
382 | 381 | ||
383 | if (addr->v4.sin_addr.s_addr != INADDR_ANY && ret != RTN_LOCAL) | 382 | if (addr->v4.sin_addr.s_addr != INADDR_ANY && |
383 | ret != RTN_LOCAL && | ||
384 | !sp->inet.freebind && | ||
385 | !sysctl_ip_nonlocal_bind) | ||
384 | return 0; | 386 | return 0; |
387 | |||
385 | return 1; | 388 | return 1; |
386 | } | 389 | } |
387 | 390 | ||
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index 0b338eca6dc0..2a3c0e08a090 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c | |||
@@ -4686,6 +4686,7 @@ static void sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, | |||
4686 | struct sctp_endpoint *newep = newsp->ep; | 4686 | struct sctp_endpoint *newep = newsp->ep; |
4687 | struct sk_buff *skb, *tmp; | 4687 | struct sk_buff *skb, *tmp; |
4688 | struct sctp_ulpevent *event; | 4688 | struct sctp_ulpevent *event; |
4689 | int flags = 0; | ||
4689 | 4690 | ||
4690 | /* Migrate socket buffer sizes and all the socket level options to the | 4691 | /* Migrate socket buffer sizes and all the socket level options to the |
4691 | * new socket. | 4692 | * new socket. |
@@ -4707,6 +4708,17 @@ static void sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, | |||
4707 | sctp_sk(newsk)->bind_hash = pp; | 4708 | sctp_sk(newsk)->bind_hash = pp; |
4708 | inet_sk(newsk)->num = inet_sk(oldsk)->num; | 4709 | inet_sk(newsk)->num = inet_sk(oldsk)->num; |
4709 | 4710 | ||
4711 | /* Copy the bind_addr list from the original endpoint to the new | ||
4712 | * endpoint so that we can handle restarts properly | ||
4713 | */ | ||
4714 | if (assoc->peer.ipv4_address) | ||
4715 | flags |= SCTP_ADDR4_PEERSUPP; | ||
4716 | if (assoc->peer.ipv6_address) | ||
4717 | flags |= SCTP_ADDR6_PEERSUPP; | ||
4718 | sctp_bind_addr_copy(&newsp->ep->base.bind_addr, | ||
4719 | &oldsp->ep->base.bind_addr, | ||
4720 | SCTP_SCOPE_GLOBAL, GFP_KERNEL, flags); | ||
4721 | |||
4710 | /* Move any messages in the old socket's receive queue that are for the | 4722 | /* Move any messages in the old socket's receive queue that are for the |
4711 | * peeled off association to the new socket's receive queue. | 4723 | * peeled off association to the new socket's receive queue. |
4712 | */ | 4724 | */ |
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c index 84b0bbddbd22..aae66144d411 100644 --- a/sound/usb/usbaudio.c +++ b/sound/usb/usbaudio.c | |||
@@ -3289,7 +3289,7 @@ static void snd_usb_audio_disconnect(struct usb_device *dev, void *ptr) | |||
3289 | } | 3289 | } |
3290 | usb_chip[chip->index] = NULL; | 3290 | usb_chip[chip->index] = NULL; |
3291 | up(®ister_mutex); | 3291 | up(®ister_mutex); |
3292 | snd_card_free_in_thread(card); | 3292 | snd_card_free(card); |
3293 | } else { | 3293 | } else { |
3294 | up(®ister_mutex); | 3294 | up(®ister_mutex); |
3295 | } | 3295 | } |
diff --git a/sound/usb/usx2y/usbusx2y.c b/sound/usb/usx2y/usbusx2y.c index b06a267e5dac..89ee8b732013 100644 --- a/sound/usb/usx2y/usbusx2y.c +++ b/sound/usb/usx2y/usbusx2y.c | |||
@@ -1,6 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * usbusy2y.c - ALSA USB US-428 Driver | 2 | * usbusy2y.c - ALSA USB US-428 Driver |
3 | * | 3 | * |
4 | 2005-04-14 Karsten Wiese | ||
5 | Version 0.8.7.2: | ||
6 | Call snd_card_free() instead of snd_card_free_in_thread() to prevent oops with dead keyboard symptom. | ||
7 | Tested ok with kernel 2.6.12-rc2. | ||
8 | |||
4 | 2004-12-14 Karsten Wiese | 9 | 2004-12-14 Karsten Wiese |
5 | Version 0.8.7.1: | 10 | Version 0.8.7.1: |
6 | snd_pcm_open for rawusb pcm-devices now returns -EBUSY if called without rawusb's hwdep device being open. | 11 | snd_pcm_open for rawusb pcm-devices now returns -EBUSY if called without rawusb's hwdep device being open. |
@@ -143,7 +148,7 @@ | |||
143 | 148 | ||
144 | 149 | ||
145 | MODULE_AUTHOR("Karsten Wiese <annabellesgarden@yahoo.de>"); | 150 | MODULE_AUTHOR("Karsten Wiese <annabellesgarden@yahoo.de>"); |
146 | MODULE_DESCRIPTION("TASCAM "NAME_ALLCAPS" Version 0.8.7.1"); | 151 | MODULE_DESCRIPTION("TASCAM "NAME_ALLCAPS" Version 0.8.7.2"); |
147 | MODULE_LICENSE("GPL"); | 152 | MODULE_LICENSE("GPL"); |
148 | MODULE_SUPPORTED_DEVICE("{{TASCAM(0x1604), "NAME_ALLCAPS"(0x8001)(0x8005)(0x8007) }}"); | 153 | MODULE_SUPPORTED_DEVICE("{{TASCAM(0x1604), "NAME_ALLCAPS"(0x8001)(0x8005)(0x8007) }}"); |
149 | 154 | ||
@@ -430,8 +435,6 @@ static void usX2Y_usb_disconnect(struct usb_device* device, void* ptr) | |||
430 | if (ptr) { | 435 | if (ptr) { |
431 | usX2Ydev_t* usX2Y = usX2Y((snd_card_t*)ptr); | 436 | usX2Ydev_t* usX2Y = usX2Y((snd_card_t*)ptr); |
432 | struct list_head* p; | 437 | struct list_head* p; |
433 | if (usX2Y->chip_status == USX2Y_STAT_CHIP_HUP) // on 2.6.1 kernel snd_usbmidi_disconnect() | ||
434 | return; // calls us back. better leave :-) . | ||
435 | usX2Y->chip.shutdown = 1; | 438 | usX2Y->chip.shutdown = 1; |
436 | usX2Y->chip_status = USX2Y_STAT_CHIP_HUP; | 439 | usX2Y->chip_status = USX2Y_STAT_CHIP_HUP; |
437 | usX2Y_unlinkSeq(&usX2Y->AS04); | 440 | usX2Y_unlinkSeq(&usX2Y->AS04); |
@@ -443,7 +446,7 @@ static void usX2Y_usb_disconnect(struct usb_device* device, void* ptr) | |||
443 | } | 446 | } |
444 | if (usX2Y->us428ctls_sharedmem) | 447 | if (usX2Y->us428ctls_sharedmem) |
445 | wake_up(&usX2Y->us428ctls_wait_queue_head); | 448 | wake_up(&usX2Y->us428ctls_wait_queue_head); |
446 | snd_card_free_in_thread((snd_card_t*)ptr); | 449 | snd_card_free((snd_card_t*)ptr); |
447 | } | 450 | } |
448 | } | 451 | } |
449 | 452 | ||