mptsas.c (c9de7dc48307395fb71780b567ae8833b080d1c8) mptsas.c (213aaca3e5727f3eb56002b04a1405db34a54ed8)
1/*
2 * linux/drivers/message/fusion/mptsas.c
3 * For use with LSI PCI chip/adapter(s)
4 * running LSI Fusion MPT (Message Passing Technology) firmware.
5 *
6 * Copyright (c) 1999-2008 LSI Corporation
7 * (mailto:DL-MPTFusionLinux@lsi.com)
8 */

--- 5354 unchanged lines hidden (view full) ---

5363 show_mptmod_ver(my_NAME, my_VERSION);
5364
5365 mptsas_transport_template =
5366 sas_attach_transport(&mptsas_transport_functions);
5367 if (!mptsas_transport_template)
5368 return -ENODEV;
5369 mptsas_transport_template->eh_timed_out = mptsas_eh_timed_out;
5370
1/*
2 * linux/drivers/message/fusion/mptsas.c
3 * For use with LSI PCI chip/adapter(s)
4 * running LSI Fusion MPT (Message Passing Technology) firmware.
5 *
6 * Copyright (c) 1999-2008 LSI Corporation
7 * (mailto:DL-MPTFusionLinux@lsi.com)
8 */

--- 5354 unchanged lines hidden (view full) ---

5363 show_mptmod_ver(my_NAME, my_VERSION);
5364
5365 mptsas_transport_template =
5366 sas_attach_transport(&mptsas_transport_functions);
5367 if (!mptsas_transport_template)
5368 return -ENODEV;
5369 mptsas_transport_template->eh_timed_out = mptsas_eh_timed_out;
5370
5371 mptsasDoneCtx = mpt_register(mptscsih_io_done, MPTSAS_DRIVER);
5372 mptsasTaskCtx = mpt_register(mptscsih_taskmgmt_complete, MPTSAS_DRIVER);
5371 mptsasDoneCtx = mpt_register(mptscsih_io_done, MPTSAS_DRIVER,
5372 "mptscsih_io_done");
5373 mptsasTaskCtx = mpt_register(mptscsih_taskmgmt_complete, MPTSAS_DRIVER,
5374 "mptscsih_taskmgmt_complete");
5373 mptsasInternalCtx =
5375 mptsasInternalCtx =
5374 mpt_register(mptscsih_scandv_complete, MPTSAS_DRIVER);
5375 mptsasMgmtCtx = mpt_register(mptsas_mgmt_done, MPTSAS_DRIVER);
5376 mpt_register(mptscsih_scandv_complete, MPTSAS_DRIVER,
5377 "mptscsih_scandv_complete");
5378 mptsasMgmtCtx = mpt_register(mptsas_mgmt_done, MPTSAS_DRIVER,
5379 "mptsas_mgmt_done");
5376 mptsasDeviceResetCtx =
5380 mptsasDeviceResetCtx =
5377 mpt_register(mptsas_taskmgmt_complete, MPTSAS_DRIVER);
5381 mpt_register(mptsas_taskmgmt_complete, MPTSAS_DRIVER,
5382 "mptsas_taskmgmt_complete");
5378
5379 mpt_event_register(mptsasDoneCtx, mptsas_event_process);
5380 mpt_reset_register(mptsasDoneCtx, mptsas_ioc_reset);
5381
5382 error = pci_register_driver(&mptsas_driver);
5383 if (error)
5384 sas_release_transport(mptsas_transport_template);
5385

--- 21 unchanged lines hidden ---
5383
5384 mpt_event_register(mptsasDoneCtx, mptsas_event_process);
5385 mpt_reset_register(mptsasDoneCtx, mptsas_ioc_reset);
5386
5387 error = pci_register_driver(&mptsas_driver);
5388 if (error)
5389 sas_release_transport(mptsas_transport_template);
5390

--- 21 unchanged lines hidden ---