mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
parisc: sba-iommu: Fix comment when calculating IOC number
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
05d3ef8bba
commit
58ad89e866
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user