Andrew Vasquez d19044c32b [SCSI] qla2xxx: defer topology discovery to DPC thread during initialization.
Modify intialization semantics:

- perform basic hardware configuration only (as usual)
  - allocate resources
  - load and execute firmware

- defer link (transport) negotiations to the DPC thread
  - again the code in qla2x00_initialize_adapter() to stall probe()
    completion was needed for legacy-style scanning.
  - DPC thread stalls until probe() complete.

- before probe() completes, set DPC flags to perform loop-resync logic
  (similar to what's done during cable-insertion/removal).

Benefits: user does not have to wait 20+ seconds in case the FC cable
is unplugged during driver load, code consolidation (removal of
redundant link negotiation logic during initialize_adaoter()), and
finilly, the driver no longer needs to defer the fc_remote_port_add()
calls to hold off lun-scanning prior to returning from the probe()
function.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-11-22 16:43:16 -06:00
..
2006-11-22 12:06:44 -06:00
2006-11-22 12:06:44 -06:00
2006-01-01 22:21:50 +01:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2006-11-22 12:06:44 -06:00
2006-06-30 19:25:36 +02:00
2006-10-10 15:37:24 -07:00
2006-08-06 15:59:26 -05:00
2006-11-15 16:41:27 -06:00
2006-08-06 15:59:26 -05:00
2006-11-10 09:59:49 +09:00
2006-09-12 17:12:31 -05:00
2006-11-15 14:14:46 -06:00
2006-11-22 12:22:17 -06:00
2006-11-22 12:22:29 -06:00
2006-09-23 15:33:43 -05:00
2006-06-25 10:00:58 -07:00
2006-09-12 17:12:31 -05:00
2006-10-25 15:14:09 -07:00
2006-11-22 12:06:44 -06:00
2006-08-06 15:59:26 -05:00
2006-03-23 07:38:09 -08:00
2006-11-22 12:06:44 -06:00
2006-06-29 11:06:30 -04:00
2006-11-15 16:43:50 -06:00
2006-10-25 15:12:03 -07:00