.. | .. |
---|
73 | 73 | /** |
---|
74 | 74 | * bnx2i_identify_device - identifies NetXtreme II device type |
---|
75 | 75 | * @hba: Adapter structure pointer |
---|
76 | | - * @cnic: Corresponding cnic device |
---|
| 76 | + * @dev: Corresponding cnic device |
---|
77 | 77 | * |
---|
78 | 78 | * This function identifies the NX2 device type and sets appropriate |
---|
79 | 79 | * queue mailbox register access method, 5709 requires driver to |
---|
.. | .. |
---|
473 | 473 | |
---|
474 | 474 | if (sq_size && !is_power_of_2(sq_size)) |
---|
475 | 475 | sq_size = roundup_pow_of_two(sq_size); |
---|
476 | | - |
---|
477 | | - mutex_init(&bnx2i_dev_lock); |
---|
478 | 476 | |
---|
479 | 477 | bnx2i_scsi_xport_template = |
---|
480 | 478 | iscsi_register_transport(&bnx2i_iscsi_transport); |
---|