?? changelog.lpfc
字號:
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 occurences 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) supportChanges 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 (hch@infradead.org) as follows "[PATCH] use scsi host private data in ->proc_info. * Applied patch from Christoph Hellwig (hch@infradead.org) 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 (hch@infradead.org) 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: seperate nodev_tmo and els_retry_delay into 2 seperate 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 * Changed version number to 8.0.5 * Make lpfc_info static. * Make lpfc_get_scsi_buf static. * Print a warning if pci_set_mwi returns an error. * Changed SERV_PARM to struct serv_parm. * Changed LS_RJT to struct ls_rjt. * Changed CSP to struct csp. * Changed CLASS_PARMS to struct class_parms. * Some cosmetic coding style cleanups to lpfc_fcp.c. * Providing a sysfs interface that dumps the last 32 LINK_[UP|DOWN] and RSCN events. * Get rid of delay_iodone timer. * Remove qfull timers and qfull logic. * Convert mbox_tmo, nlp_xri_tmo to 1 argment clock handler * Removed duplicate extern defs of the bind variables. * Streamline usage of the defines CLASS2 and CLASS3, removing un-necessary checks on config[LPFC_CFG_FCP_CLASS]. * Moving the persistent binding variables to new file lpfc_defaults.c * Changed LPFC_SCSI_BUF_t to struct lpfc_scsi_buf. * Moved config specific code from probe_one() into config_setup(). Removing a redundant check on scandown value from bind_setup() as this is already done in config_setup(). * Changed LPFC_SLI_t to struct lpfc_sli. * Changed FCP_CMND to struct fcp_cmnd. * Changed FCP_RSP to struct fcp_rsp. * Remove the need for buf_tmo. * Changed ULP_BDE64 to struct ulp_bde64. * Changed ULP_BDE to struct ulp_bde. * Cleanup lpfc_os_return_scsi_cmd() and it's call path. * Removed lpfc_no_device_delay. * Consolidating lpfc_hba_put_event() into lpfc_put_event(). * Removed following attributes and their functionality: lpfc_extra_io_tmo, lpfc_nodev_holdio, lpfc_delay_rsp_err, lpfc_tgt_queue_depth and lpfc_check_cond_err. * Clock changes consolidating timers, just in the struct lpfc_hba, to get rid of clkData and pass only one argument to timeout routine. Also, removing need for outstanding clock linked list to stop these timers at rmmod. * Move lpfc.conf contents into lpfc_fcp.c. Removing per adapter attributes in favor of global attributes. * Fix a potential null pointer reference of pmbuf in lpfc_ct.c. * On reset_lun, issue LUN_RESET as opposed to ABORT_TASK_SET. * Removed SCSI_REQ_TMO related code. * Introducing two new defines LPFC_ATTR_R and LPFC_ATTR_RW that do a module_param, MODULE_PARM_DESC, lpfc_param_show, [lpfc_param_store] and CLASS_DEVICE_ATTRIBUTE. * Properly clean up when allocation of a linked BDE fails in the SCSI queuecommand path. * Fail SCSI command if dma_map_sg call fails. * Remove unused macros SWAP_ALWAYS and SWAP_ALWAYS16. * Reset context2 to 0 on exit in lpfc_sli_issue_iocb_wait_high_priority() and lpfc_sli_issue_iocb_wait(). * Arranging lpfc_scsiport.c to follow style of use after definition. This removes the need for the cruft of forward declarations. Also removing a redundant #define ScsiResult as it already available elsewhere. * Applying "Streamline lpfc error handling" patch from Christoph Hellwig (hch@infradead.org) with following modifications: fix mem leaks, remove some misplaced code that need not be there, print a message on exit (old code prints two (entry/exit)), make ret values consistent (either 1/0 or SUCCESS/FAILURE), keep all eh routines in a single file (lpfc_scsiport.c). * Move contents of lpfc_module_param.h into lpfc_fcp.c. * Changed sysfs attributes to CLASS_DEVICE_ATTRIBUTES (previously DEVICE_ATTRIBUTES). They now appear in /sys/class/scsi_host/hostx (previously in /sys/bus/pci/drivers/lpfc/devx). * Removed lpfc_syfs.h and lpfc_sysfs.c. * Cleanup of config params. Throttle params have been removed. max_lun has been removed. max_target is replaced with a #define, lun_skip is removed. Remove ipfc config params and related code. * Changed DMABUF_t usage to struct lpfc_dmabuf. * Downsizing iCfgParam structure to include a_string, a_low, a_hi and a_default values only. * Free SCSI buf safety memory pool on shutdown to eliminate memory leak. * Change lpfc_printf_log to a #define. Also include phba->brd_no and newline in the print string rather than in the #define. * Remove code that optionally locates Host Group Pointers in host memory SLIM since this is no longer needed for PPC64, once CONFIG_PORT uses HBA's view of its BAR0. * Removed the forward declarations of the sli functions and rearranging the code in lpfc_sli.c. * Removed the preamble functionality from logging.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -