mptfc.c (d932cb7e630cae3b6b5307b767d296ff1a597c5e) mptfc.c (77d88ee275aeba5da447987f30401bbd4c901ca9)
1/*
2 * linux/drivers/message/fusion/mptfc.c
3 * For use with LSI Logic PCI chip/adapter(s)
4 * running LSI Logic Fusion MPT (Message Passing Technology) firmware.
5 *
6 * Copyright (c) 1999-2005 LSI Logic Corporation
7 * (mailto:mpt_linux_developer@lsil.com)
8 *

--- 655 unchanged lines hidden (view full) ---

664 pp0dest->FabricWWPN.High = le32_to_cpu(pp0dest->FabricWWPN.High);
665 pp0dest->DiscoveredPortsCount = le32_to_cpu(pp0dest->DiscoveredPortsCount);
666 pp0dest->MaxInitiators = le32_to_cpu(pp0dest->MaxInitiators);
667
668 /*
669 * if still doing discovery,
670 * hang loose a while until finished
671 */
1/*
2 * linux/drivers/message/fusion/mptfc.c
3 * For use with LSI Logic PCI chip/adapter(s)
4 * running LSI Logic Fusion MPT (Message Passing Technology) firmware.
5 *
6 * Copyright (c) 1999-2005 LSI Logic Corporation
7 * (mailto:mpt_linux_developer@lsil.com)
8 *

--- 655 unchanged lines hidden (view full) ---

664 pp0dest->FabricWWPN.High = le32_to_cpu(pp0dest->FabricWWPN.High);
665 pp0dest->DiscoveredPortsCount = le32_to_cpu(pp0dest->DiscoveredPortsCount);
666 pp0dest->MaxInitiators = le32_to_cpu(pp0dest->MaxInitiators);
667
668 /*
669 * if still doing discovery,
670 * hang loose a while until finished
671 */
672 if (pp0dest->PortState == MPI_FCPORTPAGE0_PORTSTATE_UNKNOWN) {
672 if ((pp0dest->PortState == MPI_FCPORTPAGE0_PORTSTATE_UNKNOWN) ||
673 (pp0dest->PortState == MPI_FCPORTPAGE0_PORTSTATE_ONLINE &&
674 (pp0dest->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_TYPE_MASK)
675 == MPI_FCPORTPAGE0_FLAGS_ATTACH_NO_INIT)) {
673 if (count-- > 0) {
674 msleep(100);
675 goto try_again;
676 }
677 printk(MYIOC_s_INFO_FMT "Firmware discovery not"
678 " complete.\n",
679 ioc->name);
680 }

--- 695 unchanged lines hidden ---
676 if (count-- > 0) {
677 msleep(100);
678 goto try_again;
679 }
680 printk(MYIOC_s_INFO_FMT "Firmware discovery not"
681 " complete.\n",
682 ioc->name);
683 }

--- 695 unchanged lines hidden ---