From c1cc7baf957d21ae4e44d36111975f2a606f3167 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Thu, 1 Jul 2010 20:37:20 +0000 Subject: [PATCH] IB/qib: Use request_firmware() to load SD7220 firmware Extract the microcode for the QLogic QLE7220 series IB HCA and use the kernel microcode request facility to load the microcode. This supports Debian Linux's requirements to separate microcode which doesn't have open source code available from the device driver. Signed-off-by: Ben Hutchings Signed-off-by: Roland Dreier --- WHENCE | 40 ++++++++++++++++++++++++++++++++++++++++ qlogic/sd7220.fw | Bin 0 -> 8192 bytes 2 files changed, 40 insertions(+) create mode 100644 qlogic/sd7220.fw diff --git a/WHENCE b/WHENCE index e8e550f..ae5f8a4 100644 --- a/WHENCE +++ b/WHENCE @@ -858,3 +858,43 @@ Licence: Found in hex form in kernel source. -------------------------------------------------------------------------- + +Driver: ib_qib - QLogic Infiniband + +File: qlogic/sd7220.fw + +Licence: + + * Copyright (c) 2007, 2008 QLogic Corporation. All rights reserved. + * + * This software is available to you under a choice of one of two + * licenses. You may choose to be licensed under the terms of the GNU + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + +Found in hex form in kernel source. + +-------------------------------------------------------------------------- diff --git a/qlogic/sd7220.fw b/qlogic/sd7220.fw new file mode 100644 index 0000000000000000000000000000000000000000..b9ca3cfab68fe826bc2ac29e4e598971607d9a1b GIT binary patch literal 8192 zcmeHMeQ+Gbm7kg2)r>y8yJ{qVC|F((l9BC8vi=ZALY7uvb|t|e&{~#kY_CBMBoJpq zW`mJIJM6MtVq|+`q$}zYJ}S!P__CE;R2)Tdw&Hbh6am{OT~$c#DvZpuRRpA+OEQ3E zY4_ginU!=$!lmy1J(a!vy8Cta>yP)|@4XQU)(QoGO)vW|JEOcRL^*oNuRHsI?Bk~Q zg`|!vAM0jDm7)b?*#_eNQDj!q%{e;hn{>2Xkz|hd6?0A>7rBks&D+fm_}>?G3eK9d zH@I%6w~r4L1zeHa`LP?4Vv!;mLrT`r&7vVADV7*RMx@YZ=If?JrSSoOz#%xDgv%=} zq*6F1On!Jl78hCmt+DEkiI1t&mY=1Cm0G1%5jSJ{X3>nNjl?A%F31O#kQIN>g3tB@ z!VbZ4wd2Ys$$_wLXr^~KpOpW6SW34_W-Jm{HFIscRU~EgrW_264{(8Ux;AKpSL5(j z)u3|Fe?SW7v)RrVDiTV-fGJ5CiNsIAR)(cM4yG_;+MF%UBepnGutT@zG+1vW{-kDB zk+SOoMQm=Klx-9oAK_?4eLMa3(U=+6{8|C)^syCi2k#owt*1y?i(kimC{L3zmrq0T zcZptgh8*Nd=_u(q`5z8B~YseHiZaVUG5t2Au8AhoJHh_u=-C z>ufd5INdr13${DaoW#0y*K0{D}SXfvpHL(`G*B(4yRwf zH7bF|DaSIv0oQGM;ZUi!mCsUXZVKOA8mhre)}l#SaU}kj*6IZUehntw9B>1XhU@Wf zEP@kc?>?rujNwAE{8x&%QZglhOStlB{`i2{?hv>b?OQA|JeHaE1q~Ejeg5jgmI*$Z z53&hdSI0yKevf_q_`Uu29sNe+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