[SCSI] lpfc 8.3.0 : Rework RSCN netlink event to send entire RSCN payload
Rework RSCN netlink event to send entire RSCN payload Also replaces (SCSI_NL_VID_TYPE_PCI | PCI_VENDOR_ID_EMULEX) with LPFC_NL_VENDOR_ID Signed-off-by: James Smart <James.Smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
committed by
James Bottomley
parent
5cd3bbfad0
commit
ddcc50f0f3
@@ -833,8 +833,7 @@ lpfc_handle_eratt(struct lpfc_hba *phba)
|
||||
fc_host_post_vendor_event(shost, fc_get_event_number(),
|
||||
sizeof(board_event),
|
||||
(char *) &board_event,
|
||||
SCSI_NL_VID_TYPE_PCI
|
||||
| PCI_VENDOR_ID_EMULEX);
|
||||
LPFC_NL_VENDOR_ID);
|
||||
|
||||
if (phba->work_hs & HS_FFER6) {
|
||||
/* Re-establishing Link */
|
||||
@@ -2646,7 +2645,7 @@ lpfc_pci_probe_one(struct pci_dev *pdev, const struct pci_device_id *pid)
|
||||
fc_host_post_vendor_event(shost, fc_get_event_number(),
|
||||
sizeof(adapter_event),
|
||||
(char *) &adapter_event,
|
||||
SCSI_NL_VID_TYPE_PCI | PCI_VENDOR_ID_EMULEX);
|
||||
LPFC_NL_VENDOR_ID);
|
||||
|
||||
scsi_scan_host(shost);
|
||||
|
||||
|
Reference in New Issue
Block a user