init.c 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601
  1. /*
  2. * This file is provided under a dual BSD/GPLv2 license. When using or
  3. * redistributing this file, you may do so under either license.
  4. *
  5. * GPL LICENSE SUMMARY
  6. *
  7. * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of version 2 of the GNU General Public License as
  11. * published by the Free Software Foundation.
  12. *
  13. * This program is distributed in the hope that it will be useful, but
  14. * WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
  21. * The full GNU General Public License is included in this distribution
  22. * in the file called LICENSE.GPL.
  23. *
  24. * BSD LICENSE
  25. *
  26. * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
  27. * All rights reserved.
  28. *
  29. * Redistribution and use in source and binary forms, with or without
  30. * modification, are permitted provided that the following conditions
  31. * are met:
  32. *
  33. * * Redistributions of source code must retain the above copyright
  34. * notice, this list of conditions and the following disclaimer.
  35. * * Redistributions in binary form must reproduce the above copyright
  36. * notice, this list of conditions and the following disclaimer in
  37. * the documentation and/or other materials provided with the
  38. * distribution.
  39. * * Neither the name of Intel Corporation nor the names of its
  40. * contributors may be used to endorse or promote products derived
  41. * from this software without specific prior written permission.
  42. *
  43. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  44. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  45. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  46. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  47. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  48. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  49. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  50. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  51. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  52. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  53. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  54. */
  55. #include <linux/kernel.h>
  56. #include <linux/init.h>
  57. #include <linux/module.h>
  58. #include <linux/firmware.h>
  59. #include <linux/efi.h>
  60. #include <asm/string.h>
  61. #include "isci.h"
  62. #include "task.h"
  63. #include "sci_controller_constants.h"
  64. #include "sci_environment.h"
  65. #include "probe_roms.h"
  66. static struct scsi_transport_template *isci_transport_template;
  67. static DEFINE_PCI_DEVICE_TABLE(isci_id_table) = {
  68. { PCI_VDEVICE(INTEL, 0x1D61),},
  69. { PCI_VDEVICE(INTEL, 0x1D63),},
  70. { PCI_VDEVICE(INTEL, 0x1D65),},
  71. { PCI_VDEVICE(INTEL, 0x1D67),},
  72. { PCI_VDEVICE(INTEL, 0x1D69),},
  73. { PCI_VDEVICE(INTEL, 0x1D6B),},
  74. { PCI_VDEVICE(INTEL, 0x1D60),},
  75. { PCI_VDEVICE(INTEL, 0x1D62),},
  76. { PCI_VDEVICE(INTEL, 0x1D64),},
  77. { PCI_VDEVICE(INTEL, 0x1D66),},
  78. { PCI_VDEVICE(INTEL, 0x1D68),},
  79. { PCI_VDEVICE(INTEL, 0x1D6A),},
  80. {}
  81. };
  82. MODULE_DEVICE_TABLE(pci, isci_id_table);
  83. /* linux isci specific settings */
  84. #if defined(CONFIG_PBG_HBA_A0)
  85. int isci_si_rev = ISCI_SI_REVA0;
  86. #elif defined(CONFIG_PBG_HBA_A2)
  87. int isci_si_rev = ISCI_SI_REVA2;
  88. #else
  89. int isci_si_rev = ISCI_SI_REVB0;
  90. #endif
  91. module_param(isci_si_rev, int, 0);
  92. MODULE_PARM_DESC(isci_si_rev, "override default si rev (0: A0 1: A2 2: B0)");
  93. unsigned char no_outbound_task_to = 20;
  94. module_param(no_outbound_task_to, byte, 0);
  95. MODULE_PARM_DESC(no_outbound_task_to, "No Outbound Task Timeout (1us incr)");
  96. u16 ssp_max_occ_to = 20;
  97. module_param(ssp_max_occ_to, ushort, 0);
  98. MODULE_PARM_DESC(ssp_max_occ_to, "SSP Max occupancy timeout (100us incr)");
  99. u16 stp_max_occ_to = 5;
  100. module_param(stp_max_occ_to, ushort, 0);
  101. MODULE_PARM_DESC(stp_max_occ_to, "STP Max occupancy timeout (100us incr)");
  102. u16 ssp_inactive_to = 5;
  103. module_param(ssp_inactive_to, ushort, 0);
  104. MODULE_PARM_DESC(ssp_inactive_to, "SSP inactivity timeout (100us incr)");
  105. u16 stp_inactive_to = 5;
  106. module_param(stp_inactive_to, ushort, 0);
  107. MODULE_PARM_DESC(stp_inactive_to, "STP inactivity timeout (100us incr)");
  108. unsigned char phy_gen = 3;
  109. module_param(phy_gen, byte, 0);
  110. MODULE_PARM_DESC(phy_gen, "PHY generation (1: 1.5Gbps 2: 3.0Gbps 3: 6.0Gbps)");
  111. unsigned char max_concurr_spinup = 1;
  112. module_param(max_concurr_spinup, byte, 0);
  113. MODULE_PARM_DESC(max_concurr_spinup, "Max concurrent device spinup");
  114. static struct scsi_host_template isci_sht = {
  115. .module = THIS_MODULE,
  116. .name = DRV_NAME,
  117. .proc_name = DRV_NAME,
  118. .queuecommand = sas_queuecommand,
  119. .target_alloc = sas_target_alloc,
  120. .slave_configure = sas_slave_configure,
  121. .slave_destroy = sas_slave_destroy,
  122. .scan_finished = isci_host_scan_finished,
  123. .scan_start = isci_host_scan_start,
  124. .change_queue_depth = sas_change_queue_depth,
  125. .change_queue_type = sas_change_queue_type,
  126. .bios_param = sas_bios_param,
  127. .can_queue = ISCI_CAN_QUEUE_VAL,
  128. .cmd_per_lun = 1,
  129. .this_id = -1,
  130. .sg_tablesize = SG_ALL,
  131. .max_sectors = SCSI_DEFAULT_MAX_SECTORS,
  132. .use_clustering = ENABLE_CLUSTERING,
  133. .eh_device_reset_handler = sas_eh_device_reset_handler,
  134. .eh_bus_reset_handler = isci_bus_reset_handler,
  135. .slave_alloc = sas_slave_alloc,
  136. .target_destroy = sas_target_destroy,
  137. .ioctl = sas_ioctl,
  138. };
  139. static struct sas_domain_function_template isci_transport_ops = {
  140. /* The class calls these to notify the LLDD of an event. */
  141. .lldd_port_formed = isci_port_formed,
  142. .lldd_port_deformed = isci_port_deformed,
  143. /* The class calls these when a device is found or gone. */
  144. .lldd_dev_found = isci_remote_device_found,
  145. .lldd_dev_gone = isci_remote_device_gone,
  146. .lldd_execute_task = isci_task_execute_task,
  147. /* Task Management Functions. Must be called from process context. */
  148. .lldd_abort_task = isci_task_abort_task,
  149. .lldd_abort_task_set = isci_task_abort_task_set,
  150. .lldd_clear_aca = isci_task_clear_aca,
  151. .lldd_clear_task_set = isci_task_clear_task_set,
  152. .lldd_I_T_nexus_reset = isci_task_I_T_nexus_reset,
  153. .lldd_lu_reset = isci_task_lu_reset,
  154. .lldd_query_task = isci_task_query_task,
  155. /* Port and Adapter management */
  156. .lldd_clear_nexus_port = isci_task_clear_nexus_port,
  157. .lldd_clear_nexus_ha = isci_task_clear_nexus_ha,
  158. /* Phy management */
  159. .lldd_control_phy = isci_phy_control,
  160. };
  161. /******************************************************************************
  162. * P R O T E C T E D M E T H O D S
  163. ******************************************************************************/
  164. /**
  165. * isci_register_sas_ha() - This method initializes various lldd
  166. * specific members of the sas_ha struct and calls the libsas
  167. * sas_register_ha() function.
  168. * @isci_host: This parameter specifies the lldd specific wrapper for the
  169. * libsas sas_ha struct.
  170. *
  171. * This method returns an error code indicating sucess or failure. The user
  172. * should check for possible memory allocation error return otherwise, a zero
  173. * indicates success.
  174. */
  175. static int isci_register_sas_ha(struct isci_host *isci_host)
  176. {
  177. int i;
  178. struct sas_ha_struct *sas_ha = &(isci_host->sas_ha);
  179. struct asd_sas_phy **sas_phys;
  180. struct asd_sas_port **sas_ports;
  181. sas_phys = devm_kzalloc(&isci_host->pdev->dev,
  182. SCI_MAX_PHYS * sizeof(void *),
  183. GFP_KERNEL);
  184. if (!sas_phys)
  185. return -ENOMEM;
  186. sas_ports = devm_kzalloc(&isci_host->pdev->dev,
  187. SCI_MAX_PORTS * sizeof(void *),
  188. GFP_KERNEL);
  189. if (!sas_ports)
  190. return -ENOMEM;
  191. /*----------------- Libsas Initialization Stuff----------------------
  192. * Set various fields in the sas_ha struct:
  193. */
  194. sas_ha->sas_ha_name = DRV_NAME;
  195. sas_ha->lldd_module = THIS_MODULE;
  196. sas_ha->sas_addr = &isci_host->phys[0].sas_addr[0];
  197. /* set the array of phy and port structs. */
  198. for (i = 0; i < SCI_MAX_PHYS; i++) {
  199. sas_phys[i] = &(isci_host->phys[i].sas_phy);
  200. sas_ports[i] = &(isci_host->sas_ports[i]);
  201. }
  202. sas_ha->sas_phy = sas_phys;
  203. sas_ha->sas_port = sas_ports;
  204. sas_ha->num_phys = SCI_MAX_PHYS;
  205. sas_ha->lldd_queue_size = ISCI_CAN_QUEUE_VAL;
  206. sas_ha->lldd_max_execute_num = 1;
  207. sas_ha->strict_wide_ports = 1;
  208. sas_register_ha(sas_ha);
  209. return 0;
  210. }
  211. static ssize_t isci_show_id(struct device *dev, struct device_attribute *attr, char *buf)
  212. {
  213. struct Scsi_Host *shost = container_of(dev, typeof(*shost), shost_dev);
  214. struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost);
  215. struct isci_host *ihost = container_of(sas_ha, typeof(*ihost), sas_ha);
  216. return snprintf(buf, PAGE_SIZE, "%d\n", ihost->id);
  217. }
  218. static DEVICE_ATTR(isci_id, S_IRUGO, isci_show_id, NULL);
  219. static void isci_unregister(struct isci_host *isci_host)
  220. {
  221. struct Scsi_Host *shost;
  222. if (!isci_host)
  223. return;
  224. shost = isci_host->shost;
  225. device_remove_file(&shost->shost_dev, &dev_attr_isci_id);
  226. sas_unregister_ha(&isci_host->sas_ha);
  227. sas_remove_host(isci_host->shost);
  228. scsi_remove_host(isci_host->shost);
  229. scsi_host_put(isci_host->shost);
  230. }
  231. static int __devinit isci_pci_init(struct pci_dev *pdev)
  232. {
  233. int err, bar_num, bar_mask;
  234. void __iomem * const *iomap;
  235. err = pcim_enable_device(pdev);
  236. if (err) {
  237. dev_err(&pdev->dev,
  238. "failed enable PCI device %s!\n",
  239. pci_name(pdev));
  240. return err;
  241. }
  242. for (bar_num = 0; bar_num < SCI_PCI_BAR_COUNT; bar_num++)
  243. bar_mask |= 1 << (bar_num * 2);
  244. err = pcim_iomap_regions(pdev, bar_mask, DRV_NAME);
  245. if (err)
  246. return err;
  247. iomap = pcim_iomap_table(pdev);
  248. if (!iomap)
  249. return -ENOMEM;
  250. pci_set_master(pdev);
  251. err = pci_set_dma_mask(pdev, DMA_BIT_MASK(64));
  252. if (err) {
  253. err = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
  254. if (err)
  255. return err;
  256. }
  257. err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
  258. if (err) {
  259. err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32));
  260. if (err)
  261. return err;
  262. }
  263. return 0;
  264. }
  265. static int num_controllers(struct pci_dev *pdev)
  266. {
  267. /* bar size alone can tell us if we are running with a dual controller
  268. * part, no need to trust revision ids that might be under broken firmware
  269. * control
  270. */
  271. resource_size_t scu_bar_size = pci_resource_len(pdev, SCI_SCU_BAR*2);
  272. resource_size_t smu_bar_size = pci_resource_len(pdev, SCI_SMU_BAR*2);
  273. if (scu_bar_size >= SCI_SCU_BAR_SIZE*SCI_MAX_CONTROLLERS &&
  274. smu_bar_size >= SCI_SMU_BAR_SIZE*SCI_MAX_CONTROLLERS)
  275. return SCI_MAX_CONTROLLERS;
  276. else
  277. return 1;
  278. }
  279. static int isci_setup_interrupts(struct pci_dev *pdev)
  280. {
  281. int err, i, num_msix;
  282. struct isci_host *ihost;
  283. struct isci_pci_info *pci_info = to_pci_info(pdev);
  284. /*
  285. * Determine the number of vectors associated with this
  286. * PCI function.
  287. */
  288. num_msix = num_controllers(pdev) * SCI_NUM_MSI_X_INT;
  289. for (i = 0; i < num_msix; i++)
  290. pci_info->msix_entries[i].entry = i;
  291. err = pci_enable_msix(pdev, pci_info->msix_entries, num_msix);
  292. if (err)
  293. goto intx;
  294. for (i = 0; i < num_msix; i++) {
  295. int id = i / SCI_NUM_MSI_X_INT;
  296. struct msix_entry *msix = &pci_info->msix_entries[i];
  297. irq_handler_t isr;
  298. ihost = pci_info->hosts[id];
  299. /* odd numbered vectors are error interrupts */
  300. if (i & 1)
  301. isr = isci_error_isr;
  302. else
  303. isr = isci_msix_isr;
  304. err = devm_request_irq(&pdev->dev, msix->vector, isr, 0,
  305. DRV_NAME"-msix", ihost);
  306. if (!err)
  307. continue;
  308. dev_info(&pdev->dev, "msix setup failed falling back to intx\n");
  309. while (i--) {
  310. id = i / SCI_NUM_MSI_X_INT;
  311. ihost = pci_info->hosts[id];
  312. msix = &pci_info->msix_entries[i];
  313. devm_free_irq(&pdev->dev, msix->vector, ihost);
  314. }
  315. pci_disable_msix(pdev);
  316. goto intx;
  317. }
  318. return 0;
  319. intx:
  320. for_each_isci_host(i, ihost, pdev) {
  321. err = devm_request_irq(&pdev->dev, pdev->irq, isci_intx_isr,
  322. IRQF_SHARED, DRV_NAME"-intx", ihost);
  323. if (err)
  324. break;
  325. }
  326. return err;
  327. }
  328. static struct isci_host *isci_host_alloc(struct pci_dev *pdev, int id)
  329. {
  330. struct isci_host *isci_host;
  331. struct Scsi_Host *shost;
  332. int err;
  333. isci_host = devm_kzalloc(&pdev->dev, sizeof(*isci_host), GFP_KERNEL);
  334. if (!isci_host)
  335. return NULL;
  336. isci_host->pdev = pdev;
  337. isci_host->id = id;
  338. shost = scsi_host_alloc(&isci_sht, sizeof(void *));
  339. if (!shost)
  340. return NULL;
  341. isci_host->shost = shost;
  342. err = isci_host_init(isci_host);
  343. if (err)
  344. goto err_shost;
  345. SHOST_TO_SAS_HA(shost) = &isci_host->sas_ha;
  346. isci_host->sas_ha.core.shost = shost;
  347. shost->transportt = isci_transport_template;
  348. shost->max_id = ~0;
  349. shost->max_lun = ~0;
  350. shost->max_cmd_len = MAX_COMMAND_SIZE;
  351. err = scsi_add_host(shost, &pdev->dev);
  352. if (err)
  353. goto err_shost;
  354. err = isci_register_sas_ha(isci_host);
  355. if (err)
  356. goto err_shost_remove;
  357. err = device_create_file(&shost->shost_dev, &dev_attr_isci_id);
  358. if (err)
  359. goto err_unregister_ha;
  360. return isci_host;
  361. err_unregister_ha:
  362. sas_unregister_ha(&(isci_host->sas_ha));
  363. err_shost_remove:
  364. scsi_remove_host(shost);
  365. err_shost:
  366. scsi_host_put(shost);
  367. return NULL;
  368. }
  369. static void check_si_rev(struct pci_dev *pdev)
  370. {
  371. if (num_controllers(pdev) > 1)
  372. isci_si_rev = ISCI_SI_REVB0;
  373. else {
  374. switch (pdev->revision) {
  375. case 0:
  376. case 1:
  377. /* if the id is ambiguous don't update isci_si_rev */
  378. break;
  379. case 3:
  380. isci_si_rev = ISCI_SI_REVA2;
  381. break;
  382. default:
  383. case 4:
  384. isci_si_rev = ISCI_SI_REVB0;
  385. break;
  386. }
  387. }
  388. dev_info(&pdev->dev, "driver configured for %s silicon (rev: %d)\n",
  389. isci_si_rev == ISCI_SI_REVA0 ? "A0" :
  390. isci_si_rev == ISCI_SI_REVA2 ? "A2" : "B0", pdev->revision);
  391. }
  392. static int __devinit isci_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
  393. {
  394. struct isci_pci_info *pci_info;
  395. int err, i;
  396. struct isci_host *isci_host;
  397. const struct firmware *fw = NULL;
  398. struct isci_orom *orom;
  399. char *source = "(platform)";
  400. check_si_rev(pdev);
  401. pci_info = devm_kzalloc(&pdev->dev, sizeof(*pci_info), GFP_KERNEL);
  402. if (!pci_info)
  403. return -ENOMEM;
  404. pci_set_drvdata(pdev, pci_info);
  405. if (efi_enabled)
  406. orom = isci_get_efi_var(pdev);
  407. else
  408. orom = isci_request_oprom(pdev);
  409. for (i = 0; orom && i < ARRAY_SIZE(orom->ctrl); i++) {
  410. if (scic_oem_parameters_validate(&orom->ctrl[i])) {
  411. dev_warn(&pdev->dev,
  412. "[%d]: invalid oem parameters detected, falling back to firmware\n", i);
  413. devm_kfree(&pdev->dev, orom);
  414. orom = NULL;
  415. break;
  416. }
  417. }
  418. if (!orom) {
  419. source = "(firmware)";
  420. orom = isci_request_firmware(pdev, fw);
  421. if (!orom) {
  422. /* TODO convert this to WARN_TAINT_ONCE once the
  423. * orom/efi parameter support is widely available
  424. */
  425. dev_warn(&pdev->dev,
  426. "Loading user firmware failed, using default "
  427. "values\n");
  428. dev_warn(&pdev->dev,
  429. "Default OEM configuration being used: 4 "
  430. "narrow ports, and default SAS Addresses\n");
  431. }
  432. }
  433. if (orom)
  434. dev_info(&pdev->dev,
  435. "OEM SAS parameters (version: %u.%u) loaded %s\n",
  436. (orom->hdr.version & 0xf0) >> 4,
  437. (orom->hdr.version & 0xf), source);
  438. pci_info->orom = orom;
  439. err = isci_pci_init(pdev);
  440. if (err)
  441. return err;
  442. for (i = 0; i < num_controllers(pdev); i++) {
  443. struct isci_host *h = isci_host_alloc(pdev, i);
  444. if (!h) {
  445. err = -ENOMEM;
  446. goto err_host_alloc;
  447. }
  448. pci_info->hosts[i] = h;
  449. }
  450. err = isci_setup_interrupts(pdev);
  451. if (err)
  452. goto err_host_alloc;
  453. for_each_isci_host(i, isci_host, pdev)
  454. scsi_scan_host(isci_host->shost);
  455. return 0;
  456. err_host_alloc:
  457. for_each_isci_host(i, isci_host, pdev)
  458. isci_unregister(isci_host);
  459. return err;
  460. }
  461. static void __devexit isci_pci_remove(struct pci_dev *pdev)
  462. {
  463. struct isci_host *isci_host;
  464. int i;
  465. for_each_isci_host(i, isci_host, pdev) {
  466. isci_unregister(isci_host);
  467. isci_host_deinit(isci_host);
  468. scic_controller_disable_interrupts(isci_host->core_controller);
  469. }
  470. }
  471. static struct pci_driver isci_pci_driver = {
  472. .name = DRV_NAME,
  473. .id_table = isci_id_table,
  474. .probe = isci_pci_probe,
  475. .remove = __devexit_p(isci_pci_remove),
  476. };
  477. static __init int isci_init(void)
  478. {
  479. int err;
  480. pr_info("%s: Intel(R) C600 SAS Controller Driver\n", DRV_NAME);
  481. isci_transport_template = sas_domain_attach_transport(&isci_transport_ops);
  482. if (!isci_transport_template)
  483. return -ENOMEM;
  484. err = pci_register_driver(&isci_pci_driver);
  485. if (err)
  486. sas_release_transport(isci_transport_template);
  487. return err;
  488. }
  489. static __exit void isci_exit(void)
  490. {
  491. pci_unregister_driver(&isci_pci_driver);
  492. sas_release_transport(isci_transport_template);
  493. }
  494. MODULE_LICENSE("Dual BSD/GPL");
  495. MODULE_FIRMWARE(ISCI_FW_NAME);
  496. module_init(isci_init);
  497. module_exit(isci_exit);