Skip to contentSkip to conversation

lpfc 10.2.8001.0: Removed obsolete PCI IDs from the driver

PATCH Superseded James Smart 3 participants 5 messages May 12, 2014 – May 23, 2014

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 3/5 lpfc 10.2.8001.0: Removed obsolete PCI IDs from the driver

Removed obsolete PCI IDs from the driver.

---

 lpfc_els.c  |    9 ---
 lpfc_hw.h   |   54 +-------------------
 lpfc_init.c |  161 ------------------------------------------------------------
 lpfc_sli.c  |    4 -
 4 files changed, 6 insertions(+), 222 deletions(-)
drivers/scsi/lpfc/lpfc_els.c +0 -9
diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
@@ -3164,15 +3164,6 @@ lpfc_els_retry(struct lpfc_hba *phba, st
 	case IOSTAT_LOCAL_REJECT:
 		switch ((irsp->un.ulpWord[4] & IOERR_PARAM_MASK)) {
 		case IOERR_LOOP_OPEN_FAILURE:
-			if (cmd == ELS_CMD_FLOGI) {
-				if (PCI_DEVICE_ID_HORNET ==
-					phba->pcidev->device) {
-					phba->fc_topology = LPFC_TOPOLOGY_LOOP;
-					phba->pport->fc_myDID = 0;
-					phba->alpa_map[0] = 0;
-					phba->alpa_map[1] = 0;
-				}
-			}
 			if (cmd == ELS_CMD_PLOGI && cmdiocb->retry == 0)
 				delay = 1000;
 			retry = 1;
drivers/scsi/lpfc/lpfc_hw.h +5 -49

88 lines not on this page · raw message

drivers/scsi/lpfc/lpfc_init.c +0 -161

231 lines not on this page · raw message

drivers/scsi/lpfc/lpfc_sli.c +1 -3
diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
@@ -3773,9 +3773,7 @@ void lpfc_reset_barrier(struct lpfc_hba
 	uint8_t hdrtype;
 
 	pci_read_config_byte(phba->pcidev, PCI_HEADER_TYPE, &hdrtype);
-	if (hdrtype != 0x80 ||
-	    (FC_JEDEC_ID(phba->vpd.rev.biuRev) != HELIOS_JEDEC_ID &&
-	     FC_JEDEC_ID(phba->vpd.rev.biuRev) != THOR_JEDEC_ID))
+	if (hdrtype != 0x80)
 		return;
 
 	/*
#1 lore raw
Quoted 1 line · James Smart

Removed obsolete PCI IDs from the driver.

How are these obsolete?

#2 lore raw

:)

for those distros, that want to pull only upstream'd patches, and where customers expect someone to take phone calls on any hardware recognized by the distro... the patch is to remove the hardware Emulex/the distro won't answer any questions for anymore.

true - the hardware, if you can find it lying around somewhere, may still function. It won't get firmware updates, nor any mindshare. I'm not sure where the policy is for upstream - is it truly once known, can never be taken away ?

-- james s

Quoted 6 lines · Christoph Hellwig
Quoted 1 line · James Smart

Removed obsolete PCI IDs from the driver.

How are these obsolete?

#3 lore raw
Quoted 11 lines · James Smart

:)

for those distros, that want to pull only upstream'd patches, and where customers expect someone to take phone calls on any hardware recognized by the distro... the patch is to remove the hardware Emulex/the distro won't answer any questions for anymore.

true - the hardware, if you can find it lying around somewhere, may still function. It won't get firmware updates, nor any mindshare. I'm not sure where the policy is for upstream - is it truly once known, can never be taken away ?

The policy is to leave it in even if unsupported, and let it it slowly bitrot. In some cases users will step up and maintain it, in most cases we will be able to recycle it after a few years.

How about you stick in a printk that Emulex doesn't support the driver for these cards anymore?

#4 lore raw
In reply to James Smart
Quoted 7 lines · James Smart

:)

for those distros, that want to pull only upstream'd patches, and where customers expect someone to take phone calls on any hardware recognized by the distro... the patch is to remove the hardware Emulex/the distro won't answer any questions for anymore.

Quoted 5 lines

true - the hardware, if you can find it lying around somewhere, may still function. It won't get firmware updates, nor any mindshare. I'm not sure where the policy is for upstream - is it truly once known, can never be taken away ?

Problem is, no-one does.

But I've proposed a micro-conf at LPC in October to discuss exactly
this. You're welcomed to join :-)
It would be good to have a mechanism which would retain the functionality, but at the same time indicating that for any errors you might be on your own.

Cheers,

Hannes

Signature · 8 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html