diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_isr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 39b5082eb3bc..b28ac0a27e25 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -515,47 +515,6 @@ qla2x00_async_event(scsi_qla_host_t *ha, uint16_t *mb) | |||
515 | 515 | ||
516 | case MBA_PORT_UPDATE: /* Port database update */ | 516 | case MBA_PORT_UPDATE: /* Port database update */ |
517 | /* | 517 | /* |
518 | * If a single remote port just logged into (or logged out of) | ||
519 | * us, create a new entry in our rscn fcports list and handle | ||
520 | * the event like an RSCN. | ||
521 | */ | ||
522 | if (ql2xprocessrscn && | ||
523 | !IS_QLA2100(ha) && !IS_QLA2200(ha) && !IS_QLA6312(ha) && | ||
524 | !IS_QLA6322(ha) && !IS_QLA24XX(ha) && !IS_QLA54XX(ha) && | ||
525 | ha->flags.init_done && mb[1] != 0xffff && | ||
526 | ((ha->operating_mode == P2P && mb[1] != 0) || | ||
527 | (ha->operating_mode != P2P && mb[1] != | ||
528 | SNS_FIRST_LOOP_ID)) && (mb[2] == 6 || mb[2] == 7)) { | ||
529 | int rval; | ||
530 | fc_port_t *rscn_fcport; | ||
531 | |||
532 | /* Create new fcport for login. */ | ||
533 | rscn_fcport = qla2x00_alloc_rscn_fcport(ha, GFP_ATOMIC); | ||
534 | if (rscn_fcport) { | ||
535 | DEBUG14(printk("scsi(%ld): Port Update -- " | ||
536 | "creating RSCN fcport %p for %x/%x/%x.\n", | ||
537 | ha->host_no, rscn_fcport, mb[1], mb[2], | ||
538 | mb[3])); | ||
539 | |||
540 | rscn_fcport->loop_id = mb[1]; | ||
541 | rscn_fcport->d_id.b24 = INVALID_PORT_ID; | ||
542 | atomic_set(&rscn_fcport->state, | ||
543 | FCS_DEVICE_LOST); | ||
544 | list_add_tail(&rscn_fcport->list, | ||
545 | &ha->rscn_fcports); | ||
546 | |||
547 | rval = qla2x00_handle_port_rscn(ha, 0, | ||
548 | rscn_fcport, 1); | ||
549 | if (rval == QLA_SUCCESS) | ||
550 | break; | ||
551 | } else { | ||
552 | DEBUG14(printk("scsi(%ld): Port Update -- " | ||
553 | "-- unable to allocate RSCN fcport " | ||
554 | "login.\n", ha->host_no)); | ||
555 | } | ||
556 | } | ||
557 | |||
558 | /* | ||
559 | * If PORT UPDATE is global (recieved LIP_OCCURED/LIP_RESET | 518 | * If PORT UPDATE is global (recieved LIP_OCCURED/LIP_RESET |
560 | * event etc. earlier indicating loop is down) then process | 519 | * event etc. earlier indicating loop is down) then process |
561 | * it. Otherwise ignore it and Wait for RSCN to come in. | 520 | * it. Otherwise ignore it and Wait for RSCN to come in. |
@@ -753,25 +712,6 @@ qla2x00_process_response_queue(struct scsi_qla_host *ha) | |||
753 | case MS_IOCB_TYPE: | 712 | case MS_IOCB_TYPE: |
754 | qla2x00_ms_entry(ha, (ms_iocb_entry_t *)pkt); | 713 | qla2x00_ms_entry(ha, (ms_iocb_entry_t *)pkt); |
755 | break; | 714 | break; |
756 | case MBX_IOCB_TYPE: | ||
757 | if (!IS_QLA2100(ha) && !IS_QLA2200(ha) && | ||
758 | !IS_QLA6312(ha) && !IS_QLA6322(ha)) { | ||
759 | if (pkt->sys_define == SOURCE_ASYNC_IOCB) { | ||
760 | qla2x00_process_iodesc(ha, | ||
761 | (struct mbx_entry *)pkt); | ||
762 | } else { | ||
763 | /* MBX IOCB Type Not Supported. */ | ||
764 | DEBUG4(printk(KERN_WARNING | ||
765 | "scsi(%ld): Received unknown MBX " | ||
766 | "IOCB response pkt type=%x " | ||
767 | "source=%x entry status=%x.\n", | ||
768 | ha->host_no, pkt->entry_type, | ||
769 | pkt->sys_define, | ||
770 | pkt->entry_status)); | ||
771 | } | ||
772 | break; | ||
773 | } | ||
774 | /* Fallthrough. */ | ||
775 | default: | 715 | default: |
776 | /* Type Not Supported. */ | 716 | /* Type Not Supported. */ |
777 | DEBUG4(printk(KERN_WARNING | 717 | DEBUG4(printk(KERN_WARNING |