diff options
author | James Smart <James.Smart@Emulex.Com> | 2008-12-04 22:38:46 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-12-29 12:24:24 -0500 |
commit | ddcc50f0f3538e4771c8ab9e8ec685a22c90d88c (patch) | |
tree | 23dd2dce48b82eca6fdea70425d0e18bdcf4a2ad /drivers/scsi/lpfc/lpfc_init.c | |
parent | 5cd3bbfad088f86bde3e0f038ff4dd5bb0ac5290 (diff) |
[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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 909be3301bba..1e2a9521853f 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -833,8 +833,7 @@ lpfc_handle_eratt(struct lpfc_hba *phba) | |||
833 | fc_host_post_vendor_event(shost, fc_get_event_number(), | 833 | fc_host_post_vendor_event(shost, fc_get_event_number(), |
834 | sizeof(board_event), | 834 | sizeof(board_event), |
835 | (char *) &board_event, | 835 | (char *) &board_event, |
836 | SCSI_NL_VID_TYPE_PCI | 836 | LPFC_NL_VENDOR_ID); |
837 | | PCI_VENDOR_ID_EMULEX); | ||
838 | 837 | ||
839 | if (phba->work_hs & HS_FFER6) { | 838 | if (phba->work_hs & HS_FFER6) { |
840 | /* Re-establishing Link */ | 839 | /* Re-establishing Link */ |
@@ -2646,7 +2645,7 @@ lpfc_pci_probe_one(struct pci_dev *pdev, const struct pci_device_id *pid) | |||
2646 | fc_host_post_vendor_event(shost, fc_get_event_number(), | 2645 | fc_host_post_vendor_event(shost, fc_get_event_number(), |
2647 | sizeof(adapter_event), | 2646 | sizeof(adapter_event), |
2648 | (char *) &adapter_event, | 2647 | (char *) &adapter_event, |
2649 | SCSI_NL_VID_TYPE_PCI | PCI_VENDOR_ID_EMULEX); | 2648 | LPFC_NL_VENDOR_ID); |
2650 | 2649 | ||
2651 | scsi_scan_host(shost); | 2650 | scsi_scan_host(shost); |
2652 | 2651 | ||