Commit 58ad89e8 authored by Helge Deller's avatar Helge Deller
Browse files

parisc: sba-iommu: Fix comment when calculating IOC number



Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 05d3ef8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2007,7 +2007,7 @@ void * sba_get_iommu(struct parisc_device *pci_hba)
	struct parisc_device *sba_dev = parisc_parent(pci_hba);
	struct sba_device *sba = dev_get_drvdata(&sba_dev->dev);
	char t = sba_dev->id.hw_type;
	int iocnum = (pci_hba->hw_path >> 3);	/* rope # */
	int iocnum = (pci_hba->hw_path >> 3);	/* IOC # */

	WARN_ON((t != HPHW_IOA) && (t != HPHW_BCPORT));