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>
diff --git a/arch/sparc/include/asm/vio.h b/arch/sparc/include/asm/vio.h
index 25ede61..d1c47e9 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;