diff options
author | Jag Raman <[email protected]> | 2017-06-23 14:58:30 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-06-25 13:43:11 -0700 |
commit | ac6bb0255430f701ea3723aac5dd06f528078567 (patch) | |
tree | 7cbe7b1c1938e155c50bd338b7cf406d754c2a99 | |
parent | 7b6e04a3edc140a82f5e0e29e59d6dc90a629d34 (diff) |
sparc64: specify the device class in VIO version info. packet
Specify the class of VIO device in the version info. packet. The device's
class identifies the type of VIO device, whether it's DISK, CONSOLE,
NETWORK, etc... This packet is used in the handshake between the
client and server for this device.
Signed-off-by: Jagannathan Raman <[email protected]>
Reviewed-by: Liam Merwick <[email protected]>
Reviewed-by: Shannon Nelson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
-rw-r--r-- | arch/sparc/kernel/viohs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/viohs.c b/arch/sparc/kernel/viohs.c index ea28cb7118bd..68e952a7bcdb 100644 --- a/arch/sparc/kernel/viohs.c +++ b/arch/sparc/kernel/viohs.c @@ -286,6 +286,7 @@ static int process_ver_info(struct vio_driver_state *vio, ver.minor = vap->minor; pkt->minor = ver.minor; pkt->tag.stype = VIO_SUBTYPE_ACK; + pkt->dev_class = vio->dev_class; viodbg(HS, "SEND VERSION ACK maj[%u] min[%u]\n", pkt->major, pkt->minor); err = send_ctrl(vio, &pkt->tag, sizeof(*pkt)); |