Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3da0401b authored by Alex Ng's avatar Alex Ng Committed by Greg Kroah-Hartman
Browse files

Drivers: hv: utils: Fix the mapping between host version and protocol to use



We should intentionally declare the protocols to use for every known host
and default to using the latest protocol if the host is unknown or new.

Signed-off-by: default avatarAlex Ng <alexng@microsoft.com>
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d7edd31b
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -389,16 +389,19 @@ static int util_probe(struct hv_device *dev,
		ts_srv_version = TS_VERSION_1;
		hb_srv_version = HB_VERSION_1;
		break;
	case(VERSION_WIN10):
	case VERSION_WIN7:
	case VERSION_WIN8:
	case VERSION_WIN8_1:
		util_fw_version = UTIL_FW_VERSION;
		sd_srv_version = SD_VERSION;
		ts_srv_version = TS_VERSION;
		ts_srv_version = TS_VERSION_3;
		hb_srv_version = HB_VERSION;
		break;
	case VERSION_WIN10:
	default:
		util_fw_version = UTIL_FW_VERSION;
		sd_srv_version = SD_VERSION;
		ts_srv_version = TS_VERSION_3;
		ts_srv_version = TS_VERSION;
		hb_srv_version = HB_VERSION;
	}