-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.lpfc
1865 lines (1789 loc) · 87.6 KB
/
ChangeLog.lpfc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Known issues :
* Please read the associated RELEASE-NOTES file !!!
* This source release intended for upstream kernel releases only!
Changes from 20050323 to 20050413
* Changed version number to 8.0.28
* Fixed build warning for 2.6.12-rc2 kernels: mempool_alloc now
requires a function which takes an unsigned int for gfp_flags.
* Removed pci dma sync calls to coherent/consistent pci memory.
* Merged patch from Christoph Hellwig <[email protected]>: split helpers
for fabric and nport logins out of lpfc_cmpl_els_flogi.
* Removed sysfs attributes that are used to dump the various
discovery lists.
* Fix for issue where not all luns are seen. Search all lists
other than unmap list in lpfc_find_target(). Otherwise INQUIRY
to luns on nodes in NPR or other relevant states (PLOGI,
PRLI...) are errored back and scan() terminates.
* Removed FC_TRANSPORT_PATCHESxxx defines. They're in 2.6.12-rc1.
* Compare return value of lpfc_scsi_tgt_reset against SCSI
midlayer codes SUCCESS/FAILED which that function returns rather
than SLI return code.
* Removed extraneous calls to lpfc_sli_next_iotag which should
only be called from lpfc_sli_submit_iocb. Also make
lpfc_sli_next_iotag static.
* Added PCI ID for LP10000-S.
* Changes in lpfc_abort_handler(): Return SUCCESS if we did not
find command in both TX and TX completion queues. Return ERROR
if we timed out waiting for command to complete after abort was
issued.
* Zero-out response sense length in lpfc_scsi_prep_cmnd to prevent
interpretation of stale sense length when the command completes
- was causing spurious 0710 messages.
* Moved clearing of host_scribble inside host_lock in IO
completion path.
* Fixed a bunch of mixed tab/space indentation.
* Allow hex format numbers in sysfs attribute setting. Fix
application hang when invalid numbers are used in sysfs
settings.
* Removed extra iotag allocation by lpfc_abort_handler.
* Clear host_scribble in the scsi_cmnd structure when failing in
queuecommand.
* Changed logic at top of lpfc_abort_handler so that if the
command's host_scibble field is NULL, return SUCCESS because the
driver has already returned the command to the midlayer.
Changes from 20050308 to 20050323
* Changed version number to 8.0.27
* Changed a few lines from patch submitted by Christoph Hellwig
(3/19). MAILBOX_WSIZE * (uint32_t) is replaced with an
equivalent MAILBOX_CMDSIZE macro.
* Merged patch from Christoph Hellwig (3/19): some misc patches
against the latest drivers:
- stop using volatile. if you need special ordering use memory
barriers but that doesn't seem to be the case here
- switch lpfc_sli_pcimem_bcopy to take void * arguments.
- remove typecast for constants - a U postfix marks them
unsigned int in C
- add a MAILBOX_CMD_SIZE macro, as most users of
MAILBOX_CMD_WSIZE didn't really want the word count
- kill struct lpfc_scsi_dma_buf and embedded the two members
directly in struct lpfc_scsi_buf
- don't call dma_sync function on allocations from
pci_pool_alloc - it's only for streaming mappings (pci_map_*)
* Merged patch from Christoph Hellwig (3/19) - nlp_failMask isn't
ever used by the driver, just reported to userspace (and that in
a multi-value file which is against the sysfs guidelines).
* Change pci_module_init to pci_register_module() with appropriate
ifdefs.
* Added #include <linux/dma-mapping.h> as required by the DMA
32bit and 64bit defines on some archs.
* Merged patch from Christoph Hellwig (03/19) - fix initialization
order - scsi_add_host must happen last from scsi POV. Also some
minor style/comment fixups.
* Fixed use of TRANSPORT_PATCHES_V2 by changing to
FC_TRANSPORT_PATCHES_V2.
Changes from 20050223 to 20050308
* Changed version number to 8.0.26
* Revise TRANSPORT_PATCHES_V2 so that lpfc_target is removed and
rport data is used instead. Removed device_queue_hash[].
* Changed RW attributes of scan_down, max_luns and fcp_bind_method
to R only.
* Fixed RSCN handling during initial link initialization.
* Fixed issue with receiving PLOGI handling when node is on NPR
list and marked for ADISC.
* Fixed RSCN timeout issues.
* Reduced severity of "SCSI layer issued abort device" message to
KERN_WARNING.
* Feedback from Christoph Hellwig (on 2/5) - In the LPFC_EVT_SCAN
case the caller already has the target ID handly, so pass that
one in evt_arg1.
* Fix compile warning/resultant panic in
lpfc_register_remote_port().
Changes from 20050215 to 20050223
* Changed version number to 8.0.25
* Add appropriate comments to lpfc_sli.c.
* Use DMA_64BIT_MASK and DMA_32BIT_MASK defines instead of
0xffffffffffffffffULL & 0xffffffffULL respectively. Use pci
equivalents instead of dma_set_mask and also modify condition
clause to actually exit on error condition.
* Restart els timeout handler only if txcmplq_cnt. On submission,
mod_timer the els_tmofunc. This prevents the worker thread from
waking up the els_tmo handler un-necessarily. The thread was
being woken up even when there were no pending els commands.
* Added new typedefs for abort and reset functions.
* Collapsed lpfc_sli_abort_iocb_xxx into a single function.
* Collapsed lpfc_sli_sum_iocb_xxx into a single function.
* Removed TXQ from all abort and reset handlers since it is never
used.
* Fixed Oops panic in 8.0.23 (reported on SourceForge). The
driver was not handling LPFC_IO_POLL cases correctly in
fast_ring_event and was setting the tgt_reset timeout to 0 in
lpfc_reset_bus_handler. This 0 timeout would not allow the FW
to timeout ABTS's on bad targets and allow the driver to have an
iocb on two lists. Also split the lpfc_sli_ringtxcmpl_get
function into two routines to match the fast and slow completion
semantics - ELS completions worked for the wrong reasons. Also
provided new log message number - had two 0326 entries.
* Removed unused #define LPFC_SCSI_INITIAL_BPL_SIZE.
* Removed unused struct lpfc_node_farp_pend definition.
* Removed unused #define LPFC_SLIM2_PAGE_AREA.
* Changed zeros used as pointers to NULL.
* Removed unneeded braces around single line in lpfc_do_work.
* Close humongous memory leak in lpfc_sli.c - driver was losing 13
iocbq structures per LIP.
* Removed last of GFP_ATOMIC allocations.
* Locks are not taken outside of nportdisc, hbadisc, els and most
of the init, sli, mbox and ct groups of functions
* Fix comment for lpfc_sli_iocb_cmd_type to fit within 80 columns.
* Replaced wait_event() with wait_event_interruptible().
wait_event() puts the woker thread in an UNINTERRUPTIBLE state
causing it to figure in load average calculations. Also add a
BUG_ON to the ret code of wait_event_interruptible() since the
premise is that the worker thread is signal-immune.
Changes from 20050208 to 20050215
* Changed version number to 8.0.24
* Fixed a memory leak of iocbq structure. For ELS solicited iocbs
sli layer now frees the response iocbs after processing it.
* Closed large memory leak -- we were losing 13 iocbq structures
per LIP.
* Changing EIO and ENOMEM to -EIO and -ENOMEM respectively.
* Cleanup of lpfc_sli_iocb_cmd_type array and typing of iocb type.
* Implemented Christoph Hellwig's feedback from 02/05: Remove
macros putLunHigh, putLunLow. Use lpfc_put_lun() inline instead.
* Integrated Christoph Hellwig's feedback from 02/05: Instead of
cpu_to_be32(), use swab16((uint16_t)lun). This is the same as
"swab16() on LE" and "<<16 on BE".
* Added updates for revised FC remote port patch (dev_loss_tmo
moved to rport, hostdata renamed dd_data, add fc_remote_host()
on shutdown).
* Removed unnecessary function prototype.
* Added code to prevent waking up worker thread after the exit of
worker thread. Fixes panic seen with insmod/rmmod testing with
70 disks.
* Integrated Christoph Hellwig's patch from 1/30: Make some
variables/code static (namely lpfcAlpaArray and
process_nodev_timeout()).
* Integrated Christoph Hellwig's patch from 1/30: Use
switch...case instead of if...else if...else if while decoding
JDEC id.
Changes from 20050201 to 20050208
* Changed version number to 8.0.23
* Make lpfc_work_done, lpfc_get_scsi_buf,
lpfc_mbx_process_link_up, lpfc_mbx_issue_link_down and
lpfc_sli_chipset_init static.
* Cleaned up references to list_head->next field in the driver.
* Replaced lpfc_discq_post_event with lpfc_workq_post_event.
* Implmented Christoph Hellwig's review from 2/5: Check for return
values of kmalloc.
* Integrated Christoph Hellwig's patch from 1/30: Protecting
scan_tmo and friends in !FC_TRANSPORT_PATCHES_V2 &&
!USE_SCAN_TARGET.
* Integrated Christoph Hellwig's patch from 1/30: Some fixes in
the evt handling area.
* Integrated Christoph Hellwig's patch from 1/30: Remove usage of
intr_inited variable. The interrupt initilization from OS side
now happens in lpfc_probe_one().
* Integrated Christoph Hellwig's patch from 1/30: remove shim
lpfc_alloc_transport_attr - remove shim lpfc_alloc_shost_attrs -
remove shim lpfc_scsi_host_init - allocate phba mem in scsi's
hostdata readjust code so that they are no use after free's
(don't use after scsi_host_put) - make lpfc_alloc_sysfs_attr
return errors
* Fixed panic in lpfc_probe_one(). Do not delete in a list
iterator that is not safe.
* Clean up fast lookup array of the fcp_ring when aborting iocbs.
* Following timeout handlers moved to the lpfc worker thread:
lpfc_disc_timeout, lpfc_els_timeout, lpfc_mbox, lpfc_fdmi_tmo,
lpfc_nodev_timeout, lpfc_els_retry_delay.
* Removed unused NLP_NS_NODE #define.
* Integrated Christoph Hellwig's patch from 1/30: remove unused
lpfc_hba_list; remove unused lpfc_rdrev_wd30; remove
lpfc_get_brd_no and use Linux provided IDR.
* Changed board reset procedure so that lpfc_sli_send_reset()
writes the INITFF bit and leaves lpfc_sli_brdreset() to clear
the bit.
* Removed outfcpio sysfs device attribute.
* VPD changes: 1) Modify driver to use the model name and
description from the VPD data if it exists 2) Rework use of DUMP
mailbox command to support HBAs with 256 bytes of SLIM.
* Fixed compile error for implicit definition of struct
scsi_target
Changes from 20050124 to 20050201
* Changed version number to 8.0.22
* Moved discovery timeout handler to worker thread. There are
function calls in this function which are not safe to call from
HW interrupt context.
* Removed free_irq from the error path of HBA initialization.
This will fix the free of uninitialised IRQ when config_port
fails.
* Make sure function which processes unsolicited IOCBs on ELS ring
still is called with the lock held.
* Clear LA bit from work_ha when we are not supposed to handle LA.
* Fix double locking bug in the error handling part of
lpfc_mbx_cmpl_read_la.
* Implemented fast IOCB processing for FCP ring.
* Since mboxes are now unconditionally allocated outside of the
lock, free them in cases where they are not used.
* Moved out a couple of GFP_ATOMICs in lpfc_disc_timeout, to
before locks so that they can GFP_KERNEL instead. Also cleaned
up code.
* Collapsed interrupt handling code into one function.
* Removed event posting and handling of solicited and unsolicited
iocbs.
* Remove ELS ring handling leftovers from the lpfc_sli_inter().
* ELS ring (any slow ring) moved from the lpfc_sli_inter() into a
worker thread. Link Attention, Mbox Attention, and Error
Attention, as well as slow rings' attention is passed to the
worker thread via worker thread copy of Host Attention
register. Corresponding events are removed from the event queue
handling.
* Add entries to hba structure to delegate some functionality from
the lpfc_sli_inter() to a worker thread.
* Reduced used of GFP_ATOMIC for memory allocations.
* Moved locks deeper in order to change GFP_ATOMIC to GFP_KERNEL.
* IOCB initialization fix for Raw IO.
* Removed qcmdcnt, iodonecnt, errcnt from lpfc_target and from
driver.
* Added call to lpfc_els_abort in lpfc_free_node. Modified
lpfc_els_abort to reset txq and txcmplq iterator after a
iocb_cmpl call.
* Fixed a use after free issue in lpfc_init.c.
* Defined default mailbox completion routine and removed code in
the sli layer which checks the mbox_cmpl == 0 to free mail box
resources.
* In lpfc_workq_post_event, clean up comment formatting and remove
unneeded cast of kmalloc's return.
* Removed loop which calls fc_remote_port_unblock and
fc_remote_port_delete for every target as this same effect is
accomplished by the scsi_remove_host call.
* Minor cleanup of header files. Stop header files including
other header files. Removed sentinels which hide multiple
inclusions. Removed unneeded #include directives.
* Fixed memory leaks in mailbox error paths.
* Moved lock from around of lpfc_work_done to lpfc_work_done
itself.
* Removed typedef for LPFC_WORK_EVT_t and left just struct
lpfc_work_evt to comply with linux_scsi review coding style.
* Fixed some trailing whitespaces, spaces used for indentation and
ill-formatting multiline comments.
* Bug fix for Raw IO errors. Reuse of IOCBs now mandates setting
of ulpPU and fcpi_parm to avoid incorrect read check of Write IO
and incorrect read length.
Changes from 20050110 to 20050124
* Changed version number to 8.0.21
* Removed unpleasant casting in the definition and use of
lpfc_disc_action function pointer array.
* Makefile cleanup. Use ?= operator for setting default
KERNELVERSION and BASEINCLUDE values. Use $(PWD) consistently.
* Removed call to lpfc_sli_intr from lpfc_config_port_post. All
Linux systems will service hardware interrupts while bringing up
the driver.
* Christoph Hellwig change request: Reorg of contents of
lpfc_hbadisc.c, lpfc_scsi.h, lpfc_init.c, lpfc_sli.c,
lpfc_attr.c, lpfc_scsi.c.
* Renamed discovery thread to lpfc_worker thread. Moved handling
of error attention and link attention and mbox event handler to
lpfc_worker thread.
* Removed .proc_info and .proc_name from the driver template and
associated code.
* Removed check of FC_UNLOADING flag in lpfc_queuecommand to
determine what result to return.
* Move modification of FC_UNLOADING flag under host_lock.
* Fix IOERR_RCV_BUFFER_WAITING handling for CT and ELS subsystem.
* Workaround firmware bug for IOERR_RCV_BUFFER_WAITING on ELS
ring.
* Fixed a couple lpfc_post_buffer problems in lpfc_init.c.
* Add missing spaces to the parameter descriptions for
lpfc_cr_delay, lpfc_cr_count and lpfc_discovery_threads.
* Lock before calling lpfc_sli_hba_down().
* Fix leak of "host" in the error path in the remove_one() path.
* Fix comment for lpfc_cr_count. It defaults to 1.
* Fix issue where we are calling lpfc_disc_done() recursively from
lpfc_linkdown(), but list_for_each_entry_safe() is not safe for
such use.
* Bump lpfc_discovery_threads (count of outstading ELS commands in
discovery) to 32
* If the SCSI midlayer tries to recover from an error on a lun
while the corresponding target is in the NPR state, lpfc driver
will reject all the resets. This will cause the target to be
moved to offline state and block all the I/Os. The fix for this
is to delay the lun reset to a target which is not in MAPPED
state until the target is rediscovered or nodev timeout is
fired.
Changes from 20041229 to 20050110
* Changed version number to 8.0.20
* rport fix: use new fc_remote_port_rolechg() function instead of
direct structure change
* rport fix: last null pointer check
* Phase II of GFP_ATOMIC effort. Replaced iocb_mem_pool and
scsibuf_mem_pool with kmalloc and linked list. Inserted list
operations for mempool_alloc calls. General code cleanup. All
abort and reset routines converted. Handle_ring_event
converted.
* If the mbox_cmpl == lpfc_sli_wake_mbox_wait in
lpfc_sli_handle_mb_event, pmb->context1 points to a waitq. Do
not free the structure.
* rport fixes: fix for rmmod crash
* rport fixes: when receiving PRLI's, set node/rport role values
* rport fixes: fix for unload and for fabric port deletes
* VPD info bug fix.
* lpfc_linkdown() should be able to process all outstanding events
by calling lpfc_disc_done() even if it is called from
lpfc_disc_done() Moving all events from phba->dpc_disc to local
local_dpc_disc prevents those events from being processed.
Removing that queue. From now on we should not see "Illegal
State Transition" messages.
* Release host lock and enable interrupts when calling
del_timer_sync()
* All related to rports: Clean up issues with rport deletion
Convert to using block/unblock on list remove (was del/add)
Moved rport delete to freenode - so rport tracks node.
* rport fixes: for fport, get maxframe and class support
information
* Added use of wait_event to work with kthread interface.
* Ensure that scsi_transport_fc.h is always pulled in by
lpfc_scsiport.c
* In remote port changes: no longer nulling target->pnode when
removing from mapped list. Pnode get nulled when the node is
freed (after nodev tmo). This bug was causing i/o received in
the small window while the device was blocked to be errored w/
did_no_connect. With the fix, it returns host_busy
(per the pre-remote port changes).
* Merge in support for fc transport remote port use. This removes
any consistent bindings within the driver. All scanning is now
on a per-target basis driven by the discovery engine.
Changes from 20041220 to 20041229
* Changed version number to 8.0.19
* Fixed bug for handling RSCN type 3. Terminate RSCN mode
properly after ADISC handling completes.
* Add list_remove_head macro. Macro cleans up memory allocation
list handling. Also clean up lpfc_reset_bus_handler - routine
does not need to allocate its own scsi_cmnd and scsi_device
structures.
* Fixed potential discovery bug, nlp list corrutpion fix potential
memory leak
* Part 1 of the memory allocation rework request by linux-scsi.
This effort fixes the number of bdes per scsi_buf to 64, makes
the scatter-gather count a module parameter, builds a linked
list of scsi_bufs, and removes all dependencies on lpfc_mem.h.
* Reverted lpfc_do_dpc, probe_one, remove_one to original
implementation. Too many problems (driver not completing
initial discovery, and IO not starting to disks). Backs out
kthread patch.
* Fix race condition in lpfc_do_dpc. If wake_up interrupt occurs
while lpfc_do_dpc is running disc_done and the dpc list is
empty, the latest insertion is missed and the schedule_timeout
does not wakeup. The sleep interval is MAX_SCHEDULE_TIMEOUT
defined as ~0UL >> 1, a very large number. Hacked it to 5*HZ
for now.
* Fixed bug introduced when discovery thread implementation was
moved to kthread. kthread_stop() is not able to wake up thread
waiting on a semaphore and "modprobe -r lpfc" is not always
(most of the times) able to complete. Fix is in not using
semaphore for the interruptable sleep.
* Small Makefile cleanup - Remove remnants of 2.4 vs. 2.6
determination.
Changes from 20041213 to 20041220
* Changed version number to 8.0.18
* Janitorial cleanup after removal of sliinit and ringinit[] ring
statistic is owned by the ring and SLI stats are in sli
structure.
* Integrated patch from Christoph Hellwig <[email protected]> Kill
compile warnings on 64 bit platforms: %variables for %llx format
specifiers must be caste to long long because %(u)int64_t can
just be long on 64bit platforms.
* Integrated patch from Christoph Hellwig <[email protected]> Removes
dead code.
* Integrated patch from Christoph Hellwig <[email protected]>: use
kthread interface.
* Print LPFC_MODULE_DESC banner in module init routine.
* Removed sliinit structure and ringinit[] array.
* Changed log message number from 324 to 326 in lpfc_sli.c.
* Wait longer for commands to complete in lpfc_reset_bus_handler
and lpfc_reset_bus_handler. Also use schedule_timeout() instead
of msleep() and add error message in lpfc_abort_handler()
* When setting lpfc_nodev_tmo, from dev_loss set routine, make 1
sec minimum value.
* Functions which assume lock being held were called without lock
and kernel complained about unlocking lock which is not locked.
* Added code in linkdown to unreg if we know login session will be
terminated.
* Removed automap config parameter and fixed up use_adisc logic to
include FCP2 devices.
Changes from 20041207 to 20041213
* Changed version number to 8.0.17
* Fix sparse warnings by adding __iomem markers to lpfc_compat.h.
* Fix some sparse warnings -- 0 used as NULL pointer.
* Make sure there's a space between every if and it's (.
* Fix some overly long lines and make sure hard tabs are used for
indentation.
* Remove all trailing whitespace.
* Integrate Christoph Hellwig's patch for 8.0.14: if
pci_module_init fails we need to release the transport template.
(also don't print the driver name at startup, linux drivers can
be loaded without hardware present, and noise in the log for
that case is considered unpolite, better print messages only for
hardware actually found).
* Integrate Christoph Hellwig's patch for 8.0.14: Add missing
__iomem annotations, remove broken casts, mark functions static.
Only major changes is chaning of some offsets from word-based to
byte-based so we cans simply do void pointer arithmetics (gcc
extension) instead of casting to uint32_t.
* Integrate Christoph Hellwig's patch for 8.0.14: flag is always
LPFC_SLI_ABORT_IMED, aka 0 - remove dead code.
* Modified preprocessor #ifdef, #if, #ifndef to reflect upstream
kernel submission. Clean build with make clean;make and make
clean;make ADVANCED=1 on SMP x86, 2.6.10-rc2 on RHEL 4 Beta
1. IO with a few lips and a long cable pull behaved accordingly.
* Implement full VPD support.
* Abort handler will try to wait for abort completion before
returning. Fixes some panics in iocb completion code path.
Changes from 20041130 to 20041207
* Changed version number to 8.0.16
* Hung dt session fix. When the midlayer calls to abort a scsi
command, make sure the driver does not complete post-abort
handler. Just NULL the iocb_cmpl callback handler and let SLI
take over.
* Add Read check that uses SLI option to validate all READ data
actually received.
Changes from 20041123 to 20041130
* Changed version number to 8.0.15
* Ifdef'd unused "binary" attributes by DFC_DEBUG for clean
compiles
* Stop DID_ERROR from showing up along with QUEUE_FULL set by the
Clarion array (SCSI error ret. val. 0x70028) There is no need
for driver to hard fail command which was failed by the target
device.
* Fix for Scsi device scan bug reported on SourceForge. Driver
was returning a DID_ERROR in lpfc_handle_fcp_error causing
midlayer to mark report luns as failing even though it
succeeded.
* Don't ignore SCSI status on underrun conditions for inquiries,
test unit ready's, etc. This was causing us to lose
reservation conflicts, etc
Changes from 20041018 to 20041123
* Changed version number to 8.0.14
* Added new function "iterator" lpfc_sli_next_iocb_slot() which
returns pointer to iocb entry at cmdidx if queue is not full.
It also updates next_cmdidx, and local_getidx (but not cmdidx)
* lpfc_sli_submit_iocb() copies next_cmdidx into cmdidx. Now it is
the only place were we are updating cmdidx.
* lpfc_sli_update_ring() is split in to two --
lpfc_sli_update_ring() and lpfc_sli_update_full_ring().
* lpfc_sli_update_ring() don't to read back correct value of
cmdidx.
* Simplified lpfc_sli_resume_iocb() and its use.
* New static function lpfc_sli_next_iocb(phba, pring, &piocb) to
iterate through commands in the TX queue and new command (at the
end).
* Reduced max_lun to 256 (due to issues reported to some arrays).
Fixed comment, and macro values so def=256, min=1, max=32768.
* Fix an obvious typo/bug: kfree was used to free lpfc_scsi_buf
instead of mempool_free in lpfc_scsiport.c.
* Suppress nodev_tmo message for FABRIC nodes.
* Fixed some usage of plain integer as NULL pointer.
* Bug fix for FLOGI cmpl, lpfc_els_chk_latt error path code
cleanup.
* Fixup lpfc_els_chk_latt() to have Fabric NPorts go thru
discovery state machine as well.
* Fixes to lpfc_els_chk_latt().
* Use DID not SCSI target id as a port_id and add some missing
locks in lpfc_fcp.c.
* Changed eh_abort_handler to return FAILED if command is not
found in driver.
* Fix crash: paging request at virtual address 0000000000100108 -
a result of removing from the txcmpl list item which was already
removed (100100 is a LIST_POISON1 value from the next pointer
and 8 is an offset of the "prev") Driver runs out of iotags and
does not handle that case well. The root of the proble is in the
initialization code in lpfc_sli.c
* Changes to work with proposed linux kernel patch to support
hotplug.
* Zero out seg_cnt in prep_io failure path to prevent double sg
unmap calls.
* Fix setting of upper 32 bits for Host Group Ring Pointers if in
SLIM. Old code was inappropriately masking off low order bits.
* Use scsi_[activate|deactivate]_tcq calls provided in scsi_tcq.h.
* Integrated patch from Christoph Hellwig ([email protected]): don't call
pci_dma_sync_* on coherent memory. pci_dma_sync_* is need and
must be used only with streaming dma mappings pci_map_*, not
coherent mappings. Note: There are more consistent mappings
that are using pci_dma_sync calls. Probably these should be
removed as well.
* Modified lpfc_free_scsi_buf to accommodate all three scsi_buf
free types to alleviate miscellaneous panics with cable pull
testing.
* Set hotplug to default 0 and lpfc_target_remove to not remove
devices unless hotplug is enabled.
* Fixed discovery bug: plogi cmpl uses ndlp after its freed.
* Fixed discovery bug: rnid acc cmpl, can potentially use ndlp
after its freed.
* Modularize code path in lpfc_target_remove().
* Changes to support SCSI hotplug (ifdef'ed out because they need
kernel support USE_SCAN_TARGET requires kernel support to export
the interface to scsi_scan_target and to move the SCAN_WILD_CARD
define to a general scsi header file. USE_RESCAN_HOST requires
kernel support to export an interface to scan_scsi_host() with
the rescan flag turned on).
* Removed redundant variable declaration of lpfc_linkdown_tmo.
* Fix for large port count remove test.
* Added check to see if BAR1 register is valid before using BAR1
register for programming config_port mail box command.
* Added lpfc_scsi_hotplug to enable/disable driver support of SCSI
hotplug.
* Changed lpfc_disc_neverdev() to lpfc_disc_illegal() and changed
lpfc_disc_nodev() to lpfc_disc_noop(). Adjusted appropriate
events to use these routines.
* Add support for SCSI device hotplug.
* Take dummy lpfc_target's into account for lpfc_slave_destroy().
* Bug fix to store WWPN / WWNN in NameServer / FDMI lpfc_nodelist
entries.
* Added slavecnt in lpfc_target for diagnostic purposes.
* Added lpfc_hba load/unload flags to take care of special cases
for add/remove device.
* Have target add/remove delay before scanning.
* Have rmmod path cleanup blocked devices before scsi_remove_host.
* Added a #define for msleep for 2.6.5 kernels.
* In reset bus handler if memory allocation fails, return FAILED
and not SUCCESS.
* Have lpfc eh handlers, bus_reset and lun_reset, wait for all
associated I/Os to complete before returning.
* Fix memset byte count in lpfc_hba_init so that
LP1050 would initialize correctly.
* Backround nodev_timeout processing to DPC This enables us to
unblock (stop dev_loss_tmo) when appopriate.
* Fix array discovery with multiple luns. The max_luns was 0 at
the time the host structure was initialized. lpfc_cfg_params
then set the max_luns to the correct value afterwards.
* Remove unused define LPFC_MAX_LUN and set the default value of
lpfc_max_lun parameter to 512.
* Reduced stack usage of lpfc_hba_init.
* Cleaned up the following warning generated by
scripts/checkincludes.pl lpfc_fcp.c: scsi/scsi_cmnd.h is
included more than once.
* Replaced "set_current_state(TASK_UNINTERRUPTIBLE);
schedule_timeout(timeout)" with "msleep(timeout)".
* Fixnode was losing starget when rediscovered. We saw messages
like: lpfc 0000:04:02.0: 0:0263 Cannot block scsi target as a
result. Moved starget field into struct lpfc_target which is
referenced from the node.
* Add additional SLI layer logging in lpfc_sli.c.
* Ignore more unexpected completions in lpfc_nportdisc.c.
* Can not call lpfc_target_unblock from the soft interrupt
context. It seems to be not nessasery to unblock target from
nodev timeout.
* Introduce and use less lethal event handler for unexpected
events in lpfc_nportdisc.c.
* Can not call fc_target_(un)block() functions with interrupts
disabled in lpfc_scsiport.c.
* Added new configuration parameter, lpfc_max_luns range 1-32768,
default 32768.
* Allow lpfc_fcp.c to call lpfc_get_hba_sym_node_name().
* Increase nodev timeout from 20 seconds to 30 seconds.
* Replace some kfree((void*)ptr) with kfree(ptr).
* Make 3 functions static: lpfc_get_hba_sym_node_name,
lpfc_intr_prep and lpfc_setup_slim_access. Move lpfc_intr_prep
and lpfc_setup_slim_access so they're defined before being used.
* Remove an unnecessary list_del() in lpfc_hbadisc.c.
* Set nlp_state before calling lpfc_nlp_list() since this will
potentially call fc_target_unblock which may cause a race in
queuecommand by releasing host_lock.
* Since lpfc_nodev_tmo < dev_loss_tmo remove queuecommand
DID_BAD_TARGET return for now.
* Fix a problem with rcv logo.
* Remove unused portstatistics_t structure.
* Remove #if 0 and unnecessary checks in lpfc_fcp.c.
* Simplify lpfc_issue_lip: Extra layer of protection removed.
* Grab lock before calling lpfc_sli_issue_mbox(phba, pmb,
MBX_NOWAIT) in lpfc_sli_issue_mbox_wait().
Changes from 20040920 to 20041018
* Changed version number to 8.0.13
* Hide some attributes using #ifndef DFC_DEBUG ... #endif.
* Modify Makefile to (1) make BUILD_NO_DEBUG=1 will hide some
(binary) attributes (2) make BUILD_FC_TRANS=0 will build driver
for 2.6.5 kernel with block/unblock patch.
* Modified #ifdef names.
* Added support for proposed FC transport host attributes (which
replaces some of the attributes we had local to the driver).
Removed the binary statistics sysfs attribute.
* Added extra ELS verbose logging for ELS responses.
* Added recognition for BUILD_FC_TRANS=2 to Makefile to define
FC_TRANS_VER2.
* Add a pointer for link stats allocation.
* Exported lpfc_get_hba_sym_node_name for use by FC_TRANS_VER2
sysfs routines.
* Fix discovery problem in lip testing: if device sends an ELS cmd
(i.e. LOGO) before our FLOGI completes it should be LS_RJT'ed.
* Moved #defines around to provide target_add/remove for upstream
kernel deliverables only not SLES9. Provided ifdefs to #include
target_block/unblock only if FC_TRANS_VER1.
* Add sanity check in lpfc_nlp_list move setting nlp_Target
outside #ifdef.
* Added a blocked member to the lpfc_target structure for
block/unblock. This member allows the driver to know when to
unblock for pci_remove_one or pci_add_one. #ifdef'd some more
block/unblock stuff and removed some defensive checks from
target_block/unblock.
* Moved + 5 second window to dev_loss_tmo setting and updated
comments.
* Removed NULL target check from target_block/unblock and fixed up
a few comments.
* Enable sysfs attributes on 2.6.5 kernels and remove extra
compatibility code.
* Remove any and all trailing whitespace.
* Added message 0718 and return error when dma_map_single fails.
* Changed the fcpCntl2 commands to include an FCP_ prefix to get
rid of build warnings on later 2.6.9-rc kernels. Build
conflicts with scsi/scsi.h. Remove inclusions of scsi/scsi.h
from hbadisc.c, sli.c, and fcp.c since these modules had no
dependencies on scsi.h.
* Fixed a bug with RSCN handling. A RSCN received on one device,
shouldn't affect other devices not referenced by the RSCN.
* Moved #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,6) to include
lpfc_jedec_to_ascii to prevent warning in SLES 9.
* Update Makefile to account for SLES 9 and scsi-target upstream
kernel.
* This checkin provides block/unblock hooks for the upstream scsi
target kernel and 2.6.5 on SLES9 SP1 with the block/unblock
patch.
* Discovery changes regarding setting targetp->pnode and
ndlp->nlp_Target Ensure fc_target_* routines are called properly
from discovery. Remove list_del's from lpfc_cleanup(). Ensure
all the lpfc_consistent_bind_* routines don't set any driver
structure objects.
* Fix for timeout of READ_LA or READ_SPARAM mailbox command
causing panic.
* Cleanup list_del()'s for Discovery ndlp lists.
* Bug fixes for some insmod/rmmod crashes, link down crashes and
device loss crashes.
* Removed NLP_SEARCH_DEQUE.
* Call lpfc_target_unblock only if the targetp is nonNull and with
the host_lock held.
* Added qcmdcnt back along with misc bug fixes to discovery.
* Changed tgt_io to outfcpio lpfc_fcp.c.
* Fixed errors caused by LIP and cable pulls both with and without
block/unblock patch.
* For now we have to call fc_target_unblock and fc_target_block
with interrupts enabled.
* Save seg_cnt from dma_map_sg. Save scatter-gather start address
and pass back to dma_unmap_sg in error with seg_cnt.
* Incorporating block/unblock calls into driver with ifdefs. This
change is supported by scsi-target-2.6 kernel and forward only.
* Merged in some discovery bug fixes and added tgt io counters.
* Added sysfs attributes/interfaces: read only attribute
"management_version" and write only attribute "issue_lip".
* Fix build on big endian machines: while #if was OK with
__BIG_ENDIAN which defined as 4321, __BIG_ENDIAN_BITFIELD has to
be tested with #ifdef because it does not have any value, it is
either defined or not.
* Add fabric_name and port_type attributes.
* Change mdelay to msleep. mdelay works, but wastefully uses cpu
resources without a lock held. Revert to msleep. Tested with
sg_reset for bus and three attached targets.
* Added the customary #ifndef...#define...#endif to
lpfc_version.h.
* Integrate patches from Christoph Hellwig: two new helpers common
to lpfc_sli_resume_iocb and lpfc_sli_issue_iocb - singificant
cleanup of those two functions - the unused SLI_IOCB_USE_TXQ is
gone - lpfc_sli_issue_iocb_wait loses its flags argument
totally.
* Fix in lpfc_sli.c: we can not store a 5 bit value in a 4-bit
field.
* Moved some routines out of lpfc_fcp.c into more appropriate
files.
* Whitespace cleanup: remove all trailing whitespace.
* Make lpfc_disc_ndlp_show static to lpfc_fcp.c.
* Remove leftover printk and replace some with
printk(KERN_WARNING)
* Trivial: fix a few long lines and a soft tab.
* Remove warnings generated by Sparse against driver (make
C=1). Mostly these are "using integer as pointer warnings"
i.e. use NULL instead of 0.
* Integrated patch from Christoph Hellwig: Quite a lot of changes
here, the most notable is that the phba->slim2p lpfc_dmabuf goes
away in favour of a typede pointer and a dma_addr_t. Due to the
typed pointer lots of the cast mess can go away, and while at it
I also replaced the messy SLI2_SLIM_t with a simple struct
lpfc2_sli2_slim that only contains the part of the union we care
about while using SLI2_SLIM_SIZE for all size calculations
directly.
* Integrated patch from Christoph Hellwig: This streamlines the
I/O completion path a little more, especially taking care of
fast-pathing the non-error case. Also removes tons of dead
members and defines from lpfc_scsi.h - e.g. lpfc_target is down
to nothing more than the lpfc_nodelist pointer.
* Added binary sysfs file to issue mbox commands
* Replaced #if __BIG_ENDIAN with #if __BIG_ENDIAN_BITFIELD for
compatibility with the user space applications.
* Decrease the amount of data in proc_info.
* Condense nodelist flag members.
* Expand INFO for discovery sysfs shost entries.
* Notify user if information exceeds 4k sysfs limit.
* Removed a bunch of unused #defines.
* Added initial sysfs discovery shost attributes.
* Remove unused #defines lpfc_disc.h.
* Fixed failMask nodelist settings.
* Cleanup some old comments / unused variables.
* Add LP101 to list of recognized adapters.
Changes from 20040908 to 20040920
* Changed version number to 8.0.12
* Removed used #defines: DEFAULT_PCI_LATENCY_CLOCKS and
PCI_LATENCY_VALUE from lpfc_hw.h.
* Changes to accommodate rnid.
* Fix RSCN handling so RSCN NS queries only effect NPorts found in
RSCN data.
* If we rcv a plogi on a NPort queued up for discovery, clear the
NLP_NPR_2B_DISC bit since rcv plogi logic will force NPort thru
discovery.
* Ensure lpfc_target is also cleaned up in lpfc_cleanup().
* Preliminary changes for block/unblock kernel API extensions in
progress with linux-scsi list. These are name changes and
prototype changes only.
* Added send_abts flag to lpfc_els_abort. For rcv LOGO when ADISC
sent, the XRI of the LOGO rcv'ed is the same as the ADISC
sent. Thus we cannot ABTS the ADISC before sending the LOGO ACC.
* Weed out some unused fc_flags. Add FC_DISC_TMO.
* board_online sysfs attribute added to support libdfc functions
InitDiagEnv and SetBrdEnv.
* Streamline code in lpfc_els_retry fixup abort case in
lpfc_els_timeout_handler().
* Flush discovery/ELS events when we bring SLI layer down.
* ctlreg and slimem binary attributes added to support libdfc
read/write mem/ctl functions.
* Integrated Christoph Hellwig's patch: Cleanup
lpfc_sli_ringpostbuf_get.
* Modified lpfc_slave_alloc and lpfc_slave_destroy to allocate and
free a dummy target pointer. This allows queuecommand to skip
the NULL target pointer check and avoid the console spam when
slave_alloc fails.
* Fix cfg_scan_down logic, it was reversed.
* Init list head ctrspbuflist.
* Change name of lpfc_driver_abort to lpfc_els_abort since it is
only valid for ELS ring.
* Remove unused third argument for lpfc_consistent_bind_get().
* Fix up iotag fields in lpfc_prep_els_iocb().
* Remove log message on code path triggered by lpfc_els_abort().
* Set host->unique_id in lpfc_fcp.c.
* Removed deadwood: lpfc_target.pHba not necessary anymore.
* Integrated patch from Christoph Hellwig: remove dead
SLI_IOCB_POLL handling.
* Integrated patch from Christoph Hellwig: Streamline I/O
submission and completion path a little.
* Remove unnecessary lpfc_brd_no. Ensure brd_no assignment is
unique.
* Removed unused MAX_FCP_LUN.
* Use mod_timer instead of add_timer for fdmi in lpfc_ct.c.
* Fixed misc discovery problems.
* Move stopping timers till just before lpfc_mem_free() call.
* Fix up NameServer reglogin error path.
* Cleanup possible outstanding discovery timers on rmmod.
* Fix discovery NPort to NPort pt2pt problem.
* Get rid of ip_tmofunc / scsi_tmofunc.
* Integrated patch from Christoph Hellwig:
lpfc_disc_done/lpfc_do_dpc cleanup - lpfc_disc_done can return
void - move lpfc_do_dpc and lpfc_disc_done to lpfc_hbadisc.c -
remove checking of list emptiness before calling lpfc_disc_done,
it handles the empty list case just fine and the additional
instructions cost less then the bustlocked spinlock operations.
* Integrated patch from Christoph Hellwig: This adds a new 64bit
counter instead, brd_no isn't reused anymore. Also some tiny
whitespace cleanups in surrounding code.
* Reorder functions in lpfc_els.c to remove need for prototypes.
* Removed unused prototypes from lpfc_crtn.h -
lpfc_ip_timeout_handler, lpfc_read_pci and lpfc_revoke.
* Removed some unused prototypes from lpfc_crtn.h -
lpfc_scsi_hba_reset, lpfc_scsi_issue_inqsn,
lpfc_scsi_issue_inqp0, lpfc_scsi_timeout_handler.
* Integrated patch from Christoph Hellwig: remove TRUE/FALSE
usage.
* Integrated patch from Christoph Hellwig: Remove unused function
prototypes lpfc_set_pkt_len and lpfc_get_pkt_data from
lpfc_crtn.h - fixes build warnings.
* Removed unused struct lpfc_dmabufip definition from lpfc_mem.h.
* Removed pre-2.6.5 MODULE_VERSION macro from lpfc_compat.h.
* Fixing missing static and removing dead code.
* Adding nodewwn, portwwn and portfcid shost attributes.
* Initial support for CT via sysfs. request payloads of size less
than PAGE_SIZE and rsp payloads of size PAGE_SIZE are supported.
Driver maintains a list of rsp's and passes back rsp's
corresponding to the pid of the calling process.
* Support for RefreshInformation, GetAdapterAttributes,
GetPortStatistics.
* Make nodev-tmo default to 20 seconds.
* Fix up some DSM error cases, unreg_login rpi where needed.
* Fix up comments for fc_target_block / fc_target_unblock.
* Fix up code for scsi_block_requests / scsi_unblock_requests.
* Add NLP_FCP_TARGET for nodeinfo support.
* Move suspend/resume in lpfc_nlp_list under appropriate case -
Used host_lock for DPC to avoid race (remove dpc_lock)
* Fix some corner cases for PLOGI receive - simplify error case
for cmpl_reglogin_reglogin_issue.
* Bug fix for ppc64 EEH MMIO panic - always do readl after
writel's of HBA registers to force flush.
* Get rid of initial static routine declarations in lpfc_hbadisc.c
and lpfc_els.c.
* Updates to discovery processing.
Changes from 20040823 to 20040908
* Changed version number to 8.0.11
* Removed persistent binding code.
* Display both ASC and ASCQ info.
* Fixed link down->up transitions when linkdown tmo expires. Fix
was in the defensive error checking at the start of
queuecommand.
* Removed lpfc_scsi_timeout_handler as this timer is no longer
required. The midlayer will exhaust retries and then call
lpfc_abort_handler, lpfc_reset_lun_handler, and
lpfc_reset_target_handler.
* Minimal support for SCSI flat space addressing/volume set
addressing. Use 16 bits of LUN address so that flat
addressing/VSA will work.
* Changed 2 occurrences of if( 1 != f(x)) to if(f(x) != 1)
* Drop include of lpfc_cfgparm.h.
* Reduce stack usage of lpfc_fdmi_cmd in lpfc_ct.c.
* Add minimum range checking property to /sys write/store
functions.
* Fix display of node_name and port_name via fc transport
attr.
* Removed biosparam code.
* Removed range checking. phba->config[] array elements are now
embedded into the hba struct. lpfc_config_setup() has been
removed.
* Collapsed lpfc_scsi_cmd_start into lpfc_queuecommand and cleaned
up combined routines.
* Removed unused prototypes myprint and
lpfc_sched_service_high_priority_queue.
* Removed unused function lpfc_nodev.
* Removed scsi_cmnd->timeout_per_command cancelation. SCSI midlayer
now times out all commands - FW is instructed to not timeout.
* Removed polling code from lpfc_scsi_cmd_start. Reorganized
queuecommand and cmd_start some.
Changes from 20040810 to 20040823
* Changed version number to 8.0.10
* Additional timer changes as per Arjan / Christoph's comments.
* Used mod_timer() instead of del_timer_sync() where appropriate.
* Fixed a use after free case (panic on 2.6.8.1 with
CONFIG_DEBUG_SLAB set).
* Fix compile warning in lpfc_fcp.c.
* Minor fix for log message, that prints unassigned brdno which is
zero.
* Move scsi_host_alloc() to the beginning of probe_one(). This
ensures that host_lock is available at later stages and also
avoids tons of unnecessary initializing if host_alloc()
fails.
* Removed else clause from lpfc_slave_configure that set
sdev->queue_depth. The driver informs the midlayer of its
setting in the template and only overrides if queue tagging is
enabled.
* Added PCI_DEVICE_ID_ZEPHYR and PCI_DEVICE_ID_ZFLY (Junior
Zephyr) support
Changes from 20040730 to 20040810
* Changed version number to 8.0.9
* Removed per HBA driver lock. Driver now uses the host->host_lock
* Restored support for the 2.6.5 kernel for those linux distributions
shipped with the 2.6.5 kernel.
* Applied patch from Christoph Hellwig ([email protected]) as follows
"[PATCH] use scsi host private data in ->proc_info.
* Applied patch from Christoph Hellwig ([email protected]) as follows
"Re: [Emulex] Ready for next round. This patch cleans up the memory
allocation routines a little and fixes a missing mempool_destroy and
some missing error handling."
* Changed pointers assignments from 0 to NULL.
* Added fixes to the lpfc_reset_lun_handler and lpfc_reset_bus_handler
entry points that caused kernel to Oops or hang.
* Added fixes to targetless hosts that caused modprobe and insmod to hang.
* Ongoing cleanup to many files
Changes from 20040723 to 20040730
* Changed version number to 8.0.8
* Removed unused LPFN_DRIVER_VERSION #define.
* Folded lpfc_findnode_scsiid into lpfc_find_target, its only
caller.
* Removed 2 unneeded arguments to lpfc_find_target (lun and
create_flag).
* Make lpfc_sli_reset_on_init = 1
* Minor cleanup to quieten sparse.
* Removed missing function = 0 in tmo routine in lpfc_els.c.
* Moved additional binding parameters into lpfc_defaults.c:
lpfc_automap / lpfc_fcp_bind_method
* Use msecs_to_jiffies() where applicable.
* Only use queue depth attribute only after SLI HBA setup was
completed.
* Put in memory barriers for PPC
* Added PCI_DEVICE_ID_HELIOS and PCI_DEVICE_ID_JFLY (Junior
Helios) support
* Added 4&10 gigabit choices in user option link_speed
* Updated timer logic: Set timer data after init_timer use
timer_pending() instead of expires.
* Removed some remnants of IP over FC support from Kconfig and
Makefile.
* Remove redundant prototypes for lpfc_handle_eratt,
lpfc_handle_latt and lpfc_read_pci.
* Ongoing cleanup of lpfc_init.c.
* Changed LPFC_CFG_DFT_HBA_Q_DEPTH -> LPFC_CFG_HBA_Q_DEPTH.
* Another cleanup stab at lpfc_ct.c. Remove castings, structure
code sanely, remove redundant code, reorganize code so that
functions are invoked after definition.
Changes from 20040716 to 20040723
* Changed version number to 8.0.7
* Cleanup of lpfc_ct.c. Removed number of casts, removed tons of
dead/redundant code, cleaned up badly and poorly written code,
cleaned up return values.
* Fixed Persistent binding implementation
* Removed all references to lpfc_scsi_req_tmo
* Removed last references to lun_skip config parameter.
* Removed LPFC_DEV_RPTLUN node failure bit because we don't issue
REPORT_LUNS from the driver anymore.
* Removed LUN-tracking in driver. Removed lpfc_lun struct and
moved any functionality we still need to lpfc_target.
* Added new lpfc_jedec_to_ascii() call and replace two instances
of duplicate code with calls to this function.
* Removed Volume Set Addressing handling on LUN IDs.
* Applied patch from Christoph Hellwig ([email protected]) that
removes dead code belonging to lpfc_build_scsi_cmnd() and its
call path. This is related to the recently removed report_lun
code.
Changes from 20040709 to 20040716
* Changed version number to 8.0.6
* Removed internal report LUNs usage. Removed functions:
lpfc_disc_issue_rptlun, lpfc_disc_cmpl_rptlun,
lpfc_disc_retry_rptlun and their use.
* Removed usused scheduler prototypes in lpfc_crtn.h
* Replace lpfc_geportname() with generic memcmp().
* Rearrange code in lpfc_rcv_plogi_plogi_issue() to make it a
little more readable.
* Remove redundant port_cmp != 2 check in if
(!port_cmp) { .... if (port_cmp != 2).... }
* Clock changes: removed struct clk_data and timerList.
* Clock changes: separate nodev_tmo and els_retry_delay into 2
separate timers and convert to 1 argument changed
LPFC_NODE_FARP_PEND_t to struct lpfc_node_farp_pend convert
ipfarp_tmo to 1 argument convert target struct tmofunc and
rtplunfunc to 1 argument * cr_count, cr_delay and
discovery_threads are only needed to be module_params and not
visible via sysfs.
Changes from 20040614 to 20040709