1
Copyright (c) 2009-2010 QLogic Corporation
2
QLogic Linux qlcnic NIC Driver
4
This program includes a device driver for Linux 2.6 that may be
5
distributed with QLogic hardware specific firmware binary file.
6
You may modify and redistribute the device driver code under the
7
GNU General Public License (a copy of which is attached hereto as
8
Exhibit A) published by the Free Software Foundation (version 2).
10
You may redistribute the hardware specific firmware binary file
11
under the following terms:
13
1. Redistribution of source code (only if applicable),
14
must retain the above copyright notice, this list of
15
conditions and the following disclaimer.
17
2. Redistribution in binary form must reproduce the above
18
copyright notice, this list of conditions and the
19
following disclaimer in the documentation and/or other
20
materials provided with the distribution.
22
3. The name of QLogic Corporation may not be used to
23
endorse or promote products derived from this software
24
without specific prior written permission
26
REGARDLESS OF WHAT LICENSING MECHANISM IS USED OR APPLICABLE,
27
THIS PROGRAM IS PROVIDED BY QLOGIC CORPORATION "AS IS'' AND ANY
28
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
30
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR
31
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
32
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
33
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
35
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
36
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
37
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38
POSSIBILITY OF SUCH DAMAGE.
40
USER ACKNOWLEDGES AND AGREES THAT USE OF THIS PROGRAM WILL NOT
41
CREATE OR GIVE GROUNDS FOR A LICENSE BY IMPLICATION, ESTOPPEL, OR
42
OTHERWISE IN ANY INTELLECTUAL PROPERTY RIGHTS (PATENT, COPYRIGHT,
43
TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) EMBODIED IN
44
ANY OTHER QLOGIC HARDWARE OR SOFTWARE EITHER SOLELY OR IN
45
COMBINATION WITH THIS PROGRAM.
50
GNU GENERAL PUBLIC LICENSE
53
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
54
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
55
Everyone is permitted to copy and distribute verbatim copies
56
of this license document, but changing it is not allowed.
60
The licenses for most software are designed to take away your
61
freedom to share and change it. By contrast, the GNU General Public
62
License is intended to guarantee your freedom to share and change free
63
software--to make sure the software is free for all its users. This
64
General Public License applies to most of the Free Software
65
Foundation's software and to any other program whose authors commit to
66
using it. (Some other Free Software Foundation software is covered by
67
the GNU Lesser General Public License instead.) You can apply it to
70
When we speak of free software, we are referring to freedom, not
71
price. Our General Public Licenses are designed to make sure that you
72
have the freedom to distribute copies of free software (and charge for
73
this service if you wish), that you receive source code or can get it
74
if you want it, that you can change the software or use pieces of it
75
in new free programs; and that you know you can do these things.
77
To protect your rights, we need to make restrictions that forbid
78
anyone to deny you these rights or to ask you to surrender the rights.
79
These restrictions translate to certain responsibilities for you if you
80
distribute copies of the software, or if you modify it.
82
For example, if you distribute copies of such a program, whether
83
gratis or for a fee, you must give the recipients all the rights that
84
you have. You must make sure that they, too, receive or can get the
85
source code. And you must show them these terms so they know their
88
We protect your rights with two steps: (1) copyright the software, and
89
(2) offer you this license which gives you legal permission to copy,
90
distribute and/or modify the software.
92
Also, for each author's protection and ours, we want to make certain
93
that everyone understands that there is no warranty for this free
94
software. If the software is modified by someone else and passed on, we
95
want its recipients to know that what they have is not the original, so
96
that any problems introduced by others will not reflect on the original
99
Finally, any free program is threatened constantly by software
100
patents. We wish to avoid the danger that redistributors of a free
101
program will individually obtain patent licenses, in effect making the
102
program proprietary. To prevent this, we have made it clear that any
103
patent must be licensed for everyone's free use or not licensed at all.
105
The precise terms and conditions for copying, distribution and
108
GNU GENERAL PUBLIC LICENSE
109
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
111
0. This License applies to any program or other work which contains
112
a notice placed by the copyright holder saying it may be distributed
113
under the terms of this General Public License. The "Program", below,
114
refers to any such program or work, and a "work based on the Program"
115
means either the Program or any derivative work under copyright law:
116
that is to say, a work containing the Program or a portion of it,
117
either verbatim or with modifications and/or translated into another
118
language. (Hereinafter, translation is included without limitation in
119
the term "modification".) Each licensee is addressed as "you".
121
Activities other than copying, distribution and modification are not
122
covered by this License; they are outside its scope. The act of
123
running the Program is not restricted, and the output from the Program
124
is covered only if its contents constitute a work based on the
125
Program (independent of having been made by running the Program).
126
Whether that is true depends on what the Program does.
128
1. You may copy and distribute verbatim copies of the Program's
129
source code as you receive it, in any medium, provided that you
130
conspicuously and appropriately publish on each copy an appropriate
131
copyright notice and disclaimer of warranty; keep intact all the
132
notices that refer to this License and to the absence of any warranty;
133
and give any other recipients of the Program a copy of this License
134
along with the Program.
136
You may charge a fee for the physical act of transferring a copy, and
137
you may at your option offer warranty protection in exchange for a fee.
139
2. You may modify your copy or copies of the Program or any portion
140
of it, thus forming a work based on the Program, and copy and
141
distribute such modifications or work under the terms of Section 1
142
above, provided that you also meet all of these conditions:
144
a) You must cause the modified files to carry prominent notices
145
stating that you changed the files and the date of any change.
147
b) You must cause any work that you distribute or publish, that in
148
whole or in part contains or is derived from the Program or any
149
part thereof, to be licensed as a whole at no charge to all third
150
parties under the terms of this License.
152
c) If the modified program normally reads commands interactively
153
when run, you must cause it, when started running for such
154
interactive use in the most ordinary way, to print or display an
155
announcement including an appropriate copyright notice and a
156
notice that there is no warranty (or else, saying that you provide
157
a warranty) and that users may redistribute the program under
158
these conditions, and telling the user how to view a copy of this
159
License. (Exception: if the Program itself is interactive but
160
does not normally print such an announcement, your work based on
161
the Program is not required to print an announcement.)
163
These requirements apply to the modified work as a whole. If
164
identifiable sections of that work are not derived from the Program,
165
and can be reasonably considered independent and separate works in
166
themselves, then this License, and its terms, do not apply to those
167
sections when you distribute them as separate works. But when you
168
distribute the same sections as part of a whole which is a work based
169
on the Program, the distribution of the whole must be on the terms of
170
this License, whose permissions for other licensees extend to the
171
entire whole, and thus to each and every part regardless of who wrote it.
173
Thus, it is not the intent of this section to claim rights or contest
174
your rights to work written entirely by you; rather, the intent is to
175
exercise the right to control the distribution of derivative or
176
collective works based on the Program.
178
In addition, mere aggregation of another work not based on the Program
179
with the Program (or with a work based on the Program) on a volume of
180
a storage or distribution medium does not bring the other work under
181
the scope of this License.
183
3. You may copy and distribute the Program (or a work based on it,
184
under Section 2) in object code or executable form under the terms of
185
Sections 1 and 2 above provided that you also do one of the following:
187
a) Accompany it with the complete corresponding machine-readable
188
source code, which must be distributed under the terms of Sections
189
1 and 2 above on a medium customarily used for software interchange; or,
191
b) Accompany it with a written offer, valid for at least three
192
years, to give any third party, for a charge no more than your
193
cost of physically performing source distribution, a complete
194
machine-readable copy of the corresponding source code, to be
195
distributed under the terms of Sections 1 and 2 above on a medium
196
customarily used for software interchange; or,
198
c) Accompany it with the information you received as to the offer
199
to distribute corresponding source code. (This alternative is
200
allowed only for noncommercial distribution and only if you
201
received the program in object code or executable form with such
202
an offer, in accord with Subsection b above.)
204
The source code for a work means the preferred form of the work for
205
making modifications to it. For an executable work, complete source
206
code means all the source code for all modules it contains, plus any
207
associated interface definition files, plus the scripts used to
208
control compilation and installation of the executable. However, as a
209
special exception, the source code distributed need not include
210
anything that is normally distributed (in either source or binary
211
form) with the major components (compiler, kernel, and so on) of the
212
operating system on which the executable runs, unless that component
213
itself accompanies the executable.
215
If distribution of executable or object code is made by offering
216
access to copy from a designated place, then offering equivalent
217
access to copy the source code from the same place counts as
218
distribution of the source code, even though third parties are not
219
compelled to copy the source along with the object code.
221
4. You may not copy, modify, sublicense, or distribute the Program
222
except as expressly provided under this License. Any attempt
223
otherwise to copy, modify, sublicense or distribute the Program is
224
void, and will automatically terminate your rights under this License.
225
However, parties who have received copies, or rights, from you under
226
this License will not have their licenses terminated so long as such
227
parties remain in full compliance.
229
5. You are not required to accept this License, since you have not
230
signed it. However, nothing else grants you permission to modify or
231
distribute the Program or its derivative works. These actions are
232
prohibited by law if you do not accept this License. Therefore, by
233
modifying or distributing the Program (or any work based on the
234
Program), you indicate your acceptance of this License to do so, and
235
all its terms and conditions for copying, distributing or modifying
236
the Program or works based on it.
238
6. Each time you redistribute the Program (or any work based on the
239
Program), the recipient automatically receives a license from the
240
original licensor to copy, distribute or modify the Program subject to
241
these terms and conditions. You may not impose any further
242
restrictions on the recipients' exercise of the rights granted herein.
243
You are not responsible for enforcing compliance by third parties to
246
7. If, as a consequence of a court judgment or allegation of patent
247
infringement or for any other reason (not limited to patent issues),
248
conditions are imposed on you (whether by court order, agreement or
249
otherwise) that contradict the conditions of this License, they do not
250
excuse you from the conditions of this License. If you cannot
251
distribute so as to satisfy simultaneously your obligations under this
252
License and any other pertinent obligations, then as a consequence you
253
may not distribute the Program at all. For example, if a patent
254
license would not permit royalty-free redistribution of the Program by
255
all those who receive copies directly or indirectly through you, then
256
the only way you could satisfy both it and this License would be to
257
refrain entirely from distribution of the Program.
259
If any portion of this section is held invalid or unenforceable under
260
any particular circumstance, the balance of the section is intended to
261
apply and the section as a whole is intended to apply in other
264
It is not the purpose of this section to induce you to infringe any
265
patents or other property right claims or to contest validity of any
266
such claims; this section has the sole purpose of protecting the
267
integrity of the free software distribution system, which is
268
implemented by public license practices. Many people have made
269
generous contributions to the wide range of software distributed
270
through that system in reliance on consistent application of that
271
system; it is up to the author/donor to decide if he or she is willing
272
to distribute software through any other system and a licensee cannot
275
This section is intended to make thoroughly clear what is believed to
276
be a consequence of the rest of this License.
278
8. If the distribution and/or use of the Program is restricted in
279
certain countries either by patents or by copyrighted interfaces, the
280
original copyright holder who places the Program under this License
281
may add an explicit geographical distribution limitation excluding
282
those countries, so that distribution is permitted only in or among
283
countries not thus excluded. In such case, this License incorporates
284
the limitation as if written in the body of this License.
286
9. The Free Software Foundation may publish revised and/or new versions
287
of the General Public License from time to time. Such new versions will
288
be similar in spirit to the present version, but may differ in detail to
289
address new problems or concerns.
291
Each version is given a distinguishing version number. If the Program
292
specifies a version number of this License which applies to it and "any
293
later version", you have the option of following the terms and conditions
294
either of that version or of any later version published by the Free
295
Software Foundation. If the Program does not specify a version number of
296
this License, you may choose any version ever published by the Free Software
299
10. If you wish to incorporate parts of the Program into other free
300
programs whose distribution conditions are different, write to the author
301
to ask for permission. For software which is copyrighted by the Free
302
Software Foundation, write to the Free Software Foundation; we sometimes
303
make exceptions for this. Our decision will be guided by the two goals
304
of preserving the free status of all derivatives of our free software and
305
of promoting the sharing and reuse of software generally.
309
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
310
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
311
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
312
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
313
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
314
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
315
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
316
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
317
REPAIR OR CORRECTION.
319
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
320
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
321
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
322
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
323
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
324
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
325
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
326
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
327
POSSIBILITY OF SUCH DAMAGES.