mptspi.c (800f65bba8d2030b3fef62850e203f9f176625a8) mptspi.c (213aaca3e5727f3eb56002b04a1405db34a54ed8)
1/*
2 * linux/drivers/message/fusion/mptspi.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 *

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

1546 int error;
1547
1548 show_mptmod_ver(my_NAME, my_VERSION);
1549
1550 mptspi_transport_template = spi_attach_transport(&mptspi_transport_functions);
1551 if (!mptspi_transport_template)
1552 return -ENODEV;
1553
1/*
2 * linux/drivers/message/fusion/mptspi.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 *

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

1546 int error;
1547
1548 show_mptmod_ver(my_NAME, my_VERSION);
1549
1550 mptspi_transport_template = spi_attach_transport(&mptspi_transport_functions);
1551 if (!mptspi_transport_template)
1552 return -ENODEV;
1553
1554 mptspiDoneCtx = mpt_register(mptscsih_io_done, MPTSPI_DRIVER);
1555 mptspiTaskCtx = mpt_register(mptscsih_taskmgmt_complete, MPTSPI_DRIVER);
1556 mptspiInternalCtx = mpt_register(mptscsih_scandv_complete, MPTSPI_DRIVER);
1554 mptspiDoneCtx = mpt_register(mptscsih_io_done, MPTSPI_DRIVER,
1555 "mptscsih_io_done");
1556 mptspiTaskCtx = mpt_register(mptscsih_taskmgmt_complete, MPTSPI_DRIVER,
1557 "mptscsih_taskmgmt_complete");
1558 mptspiInternalCtx = mpt_register(mptscsih_scandv_complete,
1559 MPTSPI_DRIVER, "mptscsih_scandv_complete");
1557
1558 mpt_event_register(mptspiDoneCtx, mptspi_event_process);
1559 mpt_reset_register(mptspiDoneCtx, mptspi_ioc_reset);
1560
1561 error = pci_register_driver(&mptspi_driver);
1562 if (error)
1563 spi_release_transport(mptspi_transport_template);
1564

--- 24 unchanged lines hidden ---
1560
1561 mpt_event_register(mptspiDoneCtx, mptspi_event_process);
1562 mpt_reset_register(mptspiDoneCtx, mptspi_ioc_reset);
1563
1564 error = pci_register_driver(&mptspi_driver);
1565 if (error)
1566 spi_release_transport(mptspi_transport_template);
1567

--- 24 unchanged lines hidden ---