summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm
diff options
context:
space:
mode:
authorJag Raman <jag.raman@oracle.com>2017-06-23 14:58:40 -0400
committerDavid S. Miller <davem@davemloft.net>2017-06-25 13:43:15 -0700
commit15c35e4ebbe16a205856e033627e50936ab7cd99 (patch)
treed2c7d9fc830045155d19dc458d17dee9d7c1c2d6 /arch/sparc/include/asm
parentf4d29ca7defdec9c8010a20a9ce10a71462a9978 (diff)
sparc64: add port_id to VIO device metadata
Add port_id field to VIO device metadata to identify the port of VIO device. Signed-off-by: Jagannathan Raman <jag.raman@oracle.com> Reviewed-by: Liam Merwick <liam.merwick@oracle.com> Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm')
-rw-r--r--arch/sparc/include/asm/vio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/vio.h b/arch/sparc/include/asm/vio.h
index 25ede61c0386..d1c47e9f0090 100644
--- a/arch/sparc/include/asm/vio.h
+++ b/arch/sparc/include/asm/vio.h
@@ -330,6 +330,7 @@ struct vio_dev {
u64 dev_no;
+ unsigned long port_id;
unsigned long channel_id;
unsigned int tx_irq;