Skip to contentSkip to conversation

UFS DWC Test Chip pci driver tweaks

PATCH Applied Joao Pinto 2 participants 4 messages May 16, 2016 – May 20, 2016 SCSI

lore
Share & tools
lore

Joao Pinto

author
#0 lore raw

cover UFS DWC Test Chip pci driver tweaks

This patch set has the tweaks that I described to you in an e-mail, all related with the ufs test chip pci driver.

Joao Pinto (2):
ufs: Test Chip pci driver not dependent of Samsung's
ufs: driver changed to avoid name collision with Samsung's

 drivers/scsi/ufs/Kconfig           | 2 +-
 drivers/scsi/ufs/tc-dwc-g210-pci.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.8.1.5
author
#1 lore raw

PATCH 1/2 ufs: Test Chip pci driver not dependent of Samsung's

This patch breaks the dependency between the two drivers, because they are completely indenpendent.

---
 drivers/scsi/ufs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/ufs/Kconfig +1 -1
index e27b4d4..4796690 100644
@@ -63,7 +63,7 @@ config SCSI_UFSHCD_PCI
 
 config SCSI_UFS_DWC_TC_PCI
 	tristate "DesignWare pci support using a G210 Test Chip"
-	depends on SCSI_UFSHCD_PCI
+	depends on SCSI_UFSHCD && PCI
 	---help---
 	  Synopsys Test Chip is a PHY for prototyping purposes.
 
Signature · 1 line
1.8.1.5
author
#2 lore raw

PATCH 2/2 ufs: driver changed to avoid name collision with Samsung's

In reply to Joao Pinto

This patch changes the tc-dwc-g210-pci driver's name to avoid name collisions with the Smsung's driver.

---
 drivers/scsi/ufs/tc-dwc-g210-pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/ufs/tc-dwc-g210-pci.c +1 -1
index 0667c76..c09a0fe 100644
@@ -164,7 +164,7 @@ static const struct pci_device_id tc_dwc_g210_pci_tbl[] = {
 MODULE_DEVICE_TABLE(pci, tc_dwc_g210_pci_tbl);
 
 static struct pci_driver tc_dwc_g210_pci_driver = {
-	.name = UFSHCD,
+	.name = "tc-dwc-g210-pci",
 	.id_table = tc_dwc_g210_pci_tbl,
 	.probe = tc_dwc_g210_pci_probe,
 	.remove = tc_dwc_g210_pci_remove,
Signature · 1 line
1.8.1.5
#3 lore raw
In reply to Joao Pinto
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Joao" == Joao Pinto <[email protected]> writes:

Joao,

Joao> This patch set has the tweaks that I described to you in an Joao> e-mail, all related with the ufs test chip pci driver.

I have applied the amended series to 4.8/scsi-queue.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering