Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261271AbVCYAYG (ORCPT ); Thu, 24 Mar 2005 19:24:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261316AbVCYAYG (ORCPT ); Thu, 24 Mar 2005 19:24:06 -0500 Received: from mail0.lsil.com ([147.145.40.20]:9441 "EHLO mail0.lsil.com") by vger.kernel.org with ESMTP id S261271AbVCXX5J (ORCPT ); Thu, 24 Mar 2005 18:57:09 -0500 Message-ID: <91888D455306F94EBD4D168954A9457C01B70566@nacos172.co.lsil.com> From: "Moore, Eric Dean" To: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/7] - MPT FUSION - SPLITTING SCSI HOST DRIVERS Date: Thu, 24 Mar 2005 16:57:08 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C530CD.301F6540" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 17134 Lines: 536 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C530CD.301F6540 Content-Type: text/plain; charset="iso-8859-1" These patches are for the mpt fusion scsi host drivers, which separate the scsi host drivers into separate bus type kernel modules. This was requested by several people on the linux-scsi@ forum, so our driver can properly support the various transport layers; e.g. SPI, FC, and eventually SAS. In these set of patches the Fiber Channel controllers are moved to a new driver called mptfch.ko. The current Parallel SCSI controllers will remain with mptscsih.ko. Eventually we will be adding SAS support in the new modules that will be mptsash.ko. Overview of attached patch (7) mptlinux-3.03.00-7-mptfc-c - FC driver, having only module_init, module_exit, and probe. Please apply this patch against the 3.01.20 version of the mpt driver in http://linux-scsi.bkbits.net:8080/scsi-misc-2.6 Backup of these patches can be found at this ftp: ftp://ftp.lsil.com/HostAdapterDrivers/linux/Fusion-MPT/2.6-kernel/3.03.00/ Signed-off-by: Eric Moore ------_=_NextPart_000_01C530CD.301F6540 Content-Type: application/octet-stream; name="mptlinux-3.03.00-7-mptfc-c" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mptlinux-3.03.00-7-mptfc-c" diff -uarN drivers/message/fusion-3.01.20/mptfc.c = drivers/message/fusion/mptfc.c=0A= --- drivers/message/fusion-3.01.20/mptfc.c 1969-12-31 = 17:00:00.000000000 -0700=0A= +++ drivers/message/fusion/mptfc.c 2005-03-24 08:41:14.000000000 = -0700=0A= @@ -0,0 +1,432 @@=0A= +/*=0A= + * linux/drivers/message/fusion/mptfc.c=0A= + * For use with LSI Logic PCI chip/adapter(s)=0A= + * running LSI Logic Fusion MPT (Message Passing Technology) = firmware.=0A= + *=0A= + * Copyright (c) 1999-2005 LSI Logic Corporation=0A= + * (mailto:mpt_linux_developer@lsil.com)=0A= + *=0A= + */=0A= +/*=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D*/=0A= +/*=0A= + This program is free software; you can redistribute it and/or = modify=0A= + it under the terms of the GNU General Public License as published = by=0A= + the Free Software Foundation; version 2 of the License.=0A= +=0A= + This program is distributed in the hope that it will be useful,=0A= + but WITHOUT ANY WARRANTY; without even the implied warranty of=0A= + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the=0A= + GNU General Public License for more details.=0A= +=0A= + NO WARRANTY=0A= + THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES = OR=0A= + CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, = WITHOUT=0A= + LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, = NON-INFRINGEMENT,=0A= + MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each = Recipient is=0A= + solely responsible for determining the appropriateness of using = and=0A= + distributing the Program and assumes all risks associated with = its=0A= + exercise of rights under this Agreement, including but not limited = to=0A= + the risks and costs of program errors, damage to or loss of = data,=0A= + programs or equipment, and unavailability or interruption of = operations.=0A= +=0A= + DISCLAIMER OF LIABILITY=0A= + NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY = FOR ANY=0A= + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR = CONSEQUENTIAL=0A= + DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER = CAUSED AND=0A= + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, = OR=0A= + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF = THE=0A= + USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS = GRANTED=0A= + HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES=0A= +=0A= + You should have received a copy of the GNU General Public = License=0A= + along with this program; if not, write to the Free Software=0A= + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA = 02111-1307 USA=0A= +*/=0A= +/*=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D*/=0A= +#include "linux_compat.h" /* linux-2.6 tweaks */=0A= +#include =0A= +#include =0A= +#include =0A= +#include =0A= +#include =0A= +#include =0A= +#include /* for mdelay */=0A= +#include /* needed for in_interrupt() proto */=0A= +#include /* notifier code */=0A= +#include =0A= +#include =0A= +=0A= +#include =0A= +#include =0A= +#include =0A= +#include =0A= +#include =0A= +=0A= +#include "mptbase.h"=0A= +#include "mptscsi.h"=0A= +=0A= +/*=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D*/=0A= +#define my_NAME "Fusion MPT FC Host driver"=0A= +#define my_VERSION MPT_LINUX_VERSION_COMMON=0A= +#define MYNAM "mptfch"=0A= +=0A= +MODULE_AUTHOR(MODULEAUTHOR);=0A= +MODULE_DESCRIPTION(my_NAME);=0A= +MODULE_LICENSE("GPL");=0A= +=0A= +/* Command line args */=0A= +static int mpt_pq_filter =3D 0;=0A= +MODULE_PARM(mpt_pq_filter, "i");=0A= +MODULE_PARM_DESC(mpt_pq_filter, " Enable peripheral qualifier filter: = enable=3D1 (default=3D0)");=0A= +=0A= +/* module entry point */=0A= +static int __init mptfch_init (void);=0A= +static void __exit mptfch_exit (void);=0A= +=0A= +static int mptfchDoneCtx =3D -1;=0A= +static int mptfchTaskCtx =3D -1;=0A= +static int mptfchInternalCtx =3D -1; /* Used only for internal = commands */=0A= +=0A= +static struct device_attribute mptfch_queue_depth_attr =3D {=0A= + .attr =3D {=0A= + .name =3D "queue_depth",=0A= + .mode =3D S_IWUSR,=0A= + },=0A= + .store =3D mpt_core_store_queue_depth,=0A= +};=0A= +=0A= +static struct device_attribute *mptfch_dev_attrs[] =3D {=0A= + &mptfch_queue_depth_attr,=0A= + NULL,=0A= +};=0A= +=0A= +static struct scsi_host_template mptfch_driver_template =3D {=0A= + .proc_name =3D "mptfch",=0A= + .proc_info =3D mpt_core_proc_info,=0A= + .name =3D "MPT FC Host",=0A= + .info =3D mpt_core_info,=0A= + .queuecommand =3D mpt_core_qcmd,=0A= + .slave_alloc =3D mpt_core_slave_alloc,=0A= + .slave_configure =3D mpt_core_slave_configure,=0A= + .slave_destroy =3D mpt_core_slave_destroy,=0A= + .eh_abort_handler =3D mpt_core_abort,=0A= + .eh_device_reset_handler =3D mpt_core_dev_reset,=0A= + .eh_bus_reset_handler =3D mpt_core_bus_reset,=0A= + .eh_host_reset_handler =3D mpt_core_host_reset,=0A= + .bios_param =3D mpt_core_bios_param,=0A= + .can_queue =3D MPT_SCSI_CAN_QUEUE,=0A= + .this_id =3D -1,=0A= + .sg_tablesize =3D MPT_SCSI_SG_DEPTH,=0A= + .max_sectors =3D 8192,=0A= + .cmd_per_lun =3D 7,=0A= + .use_clustering =3D ENABLE_CLUSTERING,=0A= + .sdev_attrs =3D mptfch_dev_attrs,=0A= +};=0A= +=0A= +=0A= +/*=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D*/=0A= +/*=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D*/=0A= +/*=0A= + * mptfch_probe - Installs scsi devices per bus.=0A= + * @pdev: Pointer to pci_dev structure=0A= + *=0A= + * Returns 0 for success, non-zero for failure.=0A= + *=0A= + */=0A= +static int=0A= +mptfch_probe(struct pci_dev *pdev, const struct pci_device_id *id)=0A= +{=0A= + struct Scsi_Host *sh;=0A= + MPT_SCSI_HOST *hd;=0A= + MPT_ADAPTER *ioc =3D pci_get_drvdata(pdev);=0A= + unsigned long flags;=0A= + int sz, ii;=0A= + int numSGE =3D 0;=0A= + int scale;=0A= + int ioc_cap;=0A= + u8 *mem;=0A= + int error=3D0;=0A= +=0A= + /* Added sanity check on readiness of the MPT adapter.=0A= + */=0A= + if (ioc->last_state !=3D MPI_IOC_STATE_OPERATIONAL) {=0A= + printk(MYIOC_s_WARN_FMT=0A= + "Skipping because it's not operational!\n",=0A= + ioc->name);=0A= + return -ENODEV;=0A= + }=0A= +=0A= + if (!ioc->active) {=0A= + printk(MYIOC_s_WARN_FMT "Skipping because it's disabled!\n",=0A= + ioc->name);=0A= + return -ENODEV;=0A= + }=0A= +=0A= + /* Sanity check - ensure at least 1 port is INITIATOR capable=0A= + */=0A= + ioc_cap =3D 0;=0A= + for (ii=3D0; ii < ioc->facts.NumberOfPorts; ii++) {=0A= + if (ioc->pfacts[ii].ProtocolFlags &=0A= + MPI_PORTFACTS_PROTOCOL_INITIATOR)=0A= + ioc_cap ++;=0A= + }=0A= +=0A= + if (!ioc_cap) {=0A= + printk(MYIOC_s_WARN_FMT=0A= + "Skipping ioc=3D%p because SCSI Initiator mode is NOT = enabled!\n",=0A= + ioc->name, ioc);=0A= + return -ENODEV;=0A= + }=0A= +=0A= + sh =3D scsi_host_alloc(&mptfch_driver_template, = sizeof(MPT_SCSI_HOST));=0A= +=0A= + if (!sh) {=0A= + printk(MYIOC_s_WARN_FMT=0A= + "Unable to register controller with SCSI subsystem\n",=0A= + ioc->name);=0A= + return -1;=0A= + }=0A= +=0A= + spin_lock_irqsave(&ioc->FreeQlock, flags);=0A= +=0A= + /* Attach the SCSI Host to the IOC structure=0A= + */=0A= + ioc->sh =3D sh;=0A= +=0A= + sh->io_port =3D 0;=0A= + sh->n_io_port =3D 0;=0A= + sh->irq =3D 0;=0A= +=0A= + /* set 16 byte cdb's */=0A= + sh->max_cmd_len =3D 16;=0A= +=0A= + /* Yikes! This is important!=0A= + * Otherwise, by default, linux=0A= + * only scans target IDs 0-7!=0A= + * pfactsN->MaxDevices unreliable=0A= + * (not supported in early=0A= + * versions of the FW).=0A= + * max_id =3D 1 + actual max id,=0A= + * max_lun =3D 1 + actual last lun,=0A= + * see hosts.h :o(=0A= + */=0A= + if (ioc->bus_type =3D=3D SCSI) {=0A= + sh->max_id =3D MPT_MAX_SCSI_DEVICES;=0A= + } else {=0A= + /* For FC, increase the queue depth=0A= + * from MPT_SCSI_CAN_QUEUE (31)=0A= + * to MPT_FC_CAN_QUEUE (63).=0A= + */=0A= + sh->can_queue =3D MPT_FC_CAN_QUEUE;=0A= + sh->max_id =3D=0A= + MPT_MAX_FC_DEVICES<256 ? MPT_MAX_FC_DEVICES : 255;=0A= + }=0A= +=0A= + sh->max_lun =3D MPT_LAST_LUN + 1;=0A= + sh->max_channel =3D 0;=0A= + sh->this_id =3D ioc->pfacts[0].PortSCSIID;=0A= +=0A= + /* Required entry.=0A= + */=0A= + sh->unique_id =3D ioc->id;=0A= +=0A= + /* Verify that we won't exceed the maximum=0A= + * number of chain buffers=0A= + * We can optimize: ZZ =3D req_sz/sizeof(SGE)=0A= + * For 32bit SGE's:=0A= + * numSGE =3D 1 + (ZZ-1)*(maxChain -1) + ZZ=0A= + * + (req_sz - 64)/sizeof(SGE)=0A= + * A slightly different algorithm is required for=0A= + * 64bit SGEs.=0A= + */=0A= + scale =3D ioc->req_sz/(sizeof(dma_addr_t) + sizeof(u32));=0A= + if (sizeof(dma_addr_t) =3D=3D sizeof(u64)) {=0A= + numSGE =3D (scale - 1) *=0A= + (ioc->facts.MaxChainDepth-1) + scale +=0A= + (ioc->req_sz - 60) / (sizeof(dma_addr_t) +=0A= + sizeof(u32));=0A= + } else {=0A= + numSGE =3D 1 + (scale - 1) *=0A= + (ioc->facts.MaxChainDepth-1) + scale +=0A= + (ioc->req_sz - 64) / (sizeof(dma_addr_t) +=0A= + sizeof(u32));=0A= + }=0A= +=0A= + if (numSGE < sh->sg_tablesize) {=0A= + /* Reset this value */=0A= + dprintk((MYIOC_s_INFO_FMT=0A= + "Resetting sg_tablesize to %d from %d\n",=0A= + ioc->name, numSGE, sh->sg_tablesize));=0A= + sh->sg_tablesize =3D numSGE;=0A= + }=0A= +=0A= + /* Set the pci device pointer in Scsi_Host structure.=0A= + */=0A= + scsi_set_device(sh, &ioc->pcidev->dev);=0A= +=0A= + spin_unlock_irqrestore(&ioc->FreeQlock, flags);=0A= +=0A= + hd =3D (MPT_SCSI_HOST *) sh->hostdata;=0A= + hd->ioc =3D ioc;=0A= +=0A= + /* SCSI needs scsi_cmnd lookup table!=0A= + * (with size equal to req_depth*PtrSz!)=0A= + */=0A= + sz =3D ioc->req_depth * sizeof(void *);=0A= + mem =3D kmalloc(sz, GFP_ATOMIC);=0A= + if (mem =3D=3D NULL) {=0A= + error =3D -ENOMEM;=0A= + goto mptfch_probe_failed;=0A= + }=0A= +=0A= + memset(mem, 0, sz);=0A= + hd->ScsiLookup =3D (struct scsi_cmnd **) mem;=0A= +=0A= + dprintk((MYIOC_s_INFO_FMT "ScsiLookup @ %p, sz=3D%d\n",=0A= + ioc->name, hd->ScsiLookup, sz));=0A= +=0A= + /* Allocate memory for the device structures.=0A= + * A non-Null pointer at an offset=0A= + * indicates a device exists.=0A= + * max_id =3D 1 + maximum id (hosts.h)=0A= + */=0A= + sz =3D sh->max_id * sizeof(void *);=0A= + mem =3D kmalloc(sz, GFP_ATOMIC);=0A= + if (mem =3D=3D NULL) {=0A= + error =3D -ENOMEM;=0A= + goto mptfch_probe_failed;=0A= + }=0A= +=0A= + memset(mem, 0, sz);=0A= + hd->Targets =3D (VirtDevice **) mem;=0A= +=0A= + dprintk((KERN_INFO=0A= + " Targets @ %p, sz=3D%d\n", hd->Targets, sz));=0A= +=0A= + /* Clear the TM flags=0A= + */=0A= + hd->tmPending =3D 0;=0A= + hd->tmState =3D TM_STATE_NONE;=0A= + hd->resetPending =3D 0;=0A= + hd->abortSCpnt =3D NULL;=0A= +=0A= + /* Clear the pointer used to store=0A= + * single-threaded commands, i.e., those=0A= + * issued during a bus scan, dv and=0A= + * configuration pages.=0A= + */=0A= + hd->cmdPtr =3D NULL;=0A= +=0A= + /* Initialize this SCSI Hosts' timers=0A= + * To use, set the timer expires field=0A= + * and add_timer=0A= + */=0A= + init_timer(&hd->timer);=0A= + hd->timer.data =3D (unsigned long) hd;=0A= + hd->timer.function =3D mpt_core_timer_expired;=0A= +=0A= + ioc->DoneCtx =3D mptfchDoneCtx;=0A= + ioc->TaskCtx =3D mptfchTaskCtx;=0A= + ioc->InternalCtx =3D mptfchInternalCtx;=0A= +=0A= + ioc->spi_data.mpt_pq_filter =3D mpt_pq_filter;=0A= +=0A= + ddvprintk((MYIOC_s_INFO_FMT=0A= + "mpt_pq_filter %x\n",=0A= + ioc->name, =0A= + mpt_pq_filter));=0A= +=0A= + init_waitqueue_head(&hd->scandv_waitq);=0A= + hd->scandv_wait_done =3D 0;=0A= + hd->last_queue_full =3D 0;=0A= +=0A= + error =3D scsi_add_host (sh, &ioc->pcidev->dev);=0A= + if(error) {=0A= + dprintk((KERN_ERR MYNAM=0A= + "scsi_add_host failed\n"));=0A= + goto mptfch_probe_failed;=0A= + }=0A= +=0A= + scsi_scan_host(sh);=0A= + return 0;=0A= +=0A= +mptfch_probe_failed:=0A= +=0A= + mpt_core_remove(pdev);=0A= + return error;=0A= +}=0A= +=0A= +=0A= +static struct mpt_pci_driver mptfch_driver =3D {=0A= + .probe =3D mptfch_probe,=0A= + .remove =3D mpt_core_remove,=0A= + .shutdown =3D mpt_core_shutdown,=0A= +#ifdef CONFIG_PM=0A= + .suspend =3D mpt_core_suspend,=0A= + .resume =3D mpt_core_resume,=0A= +#endif=0A= +};=0A= +=0A= +/* SCSI host fops start here... */=0A= +/*=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D*/=0A= +/**=0A= + * mptfch_init - Register MPT adapter(s) as SCSI host(s) with=0A= + * linux scsi mid-layer.=0A= + *=0A= + * Returns 0 for success, non-zero for failure.=0A= + */=0A= +static int __init=0A= +mptfch_init(void)=0A= +{=0A= +=0A= + show_mptmod_ver(my_NAME, my_VERSION);=0A= +=0A= + mptfchDoneCtx =3D mpt_register(mpt_core_io_done, MPTFC_DRIVER);=0A= + mptfchTaskCtx =3D mpt_register(mpt_core_taskmgmt_complete, = MPTFC_DRIVER);=0A= + mptfchInternalCtx =3D mpt_register(mpt_core_scandv_complete, = MPTFC_DRIVER);=0A= +=0A= + if (mpt_event_register(mptfchDoneCtx, mpt_core_event_process) =3D=3D = 0) {=0A= + devtprintk((KERN_INFO MYNAM=0A= + ": Registered for IOC event notifications\n"));=0A= + }=0A= +=0A= + if (mpt_reset_register(mptfchDoneCtx, mpt_core_ioc_reset) =3D=3D 0) = {=0A= + dprintk((KERN_INFO MYNAM=0A= + ": Registered for IOC reset notifications\n"));=0A= + }=0A= +=0A= + if(mpt_device_driver_register(&mptfch_driver,=0A= + MPTFC_DRIVER) !=3D 0 ) {=0A= + dprintk((KERN_INFO MYNAM=0A= + ": failed to register dd callbacks\n"));=0A= + }=0A= +=0A= + return 0;=0A= +}=0A= +=0A= +/*=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D*/=0A= +/*=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D*/=0A= +/**=0A= + * mptfch_exit - Unregisters MPT adapter(s)=0A= + *=0A= + */=0A= +static void __exit=0A= +mptfch_exit(void)=0A= +{=0A= + mpt_device_driver_deregister(MPTFC_DRIVER);=0A= +=0A= + mpt_reset_deregister(mptfchDoneCtx);=0A= + dprintk((KERN_INFO MYNAM=0A= + ": Deregistered for IOC reset notifications\n"));=0A= +=0A= + mpt_event_deregister(mptfchDoneCtx);=0A= + dprintk((KERN_INFO MYNAM=0A= + ": Deregistered for IOC event notifications\n"));=0A= +=0A= + mpt_deregister(mptfchInternalCtx);=0A= + mpt_deregister(mptfchTaskCtx);=0A= + mpt_deregister(mptfchDoneCtx);=0A= +}=0A= +=0A= +module_init(mptfch_init);=0A= +module_exit(mptfch_exit);=0A= ------_=_NextPart_000_01C530CD.301F6540-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/