1- From e2514eca67211f37574b1ef9c227c8f90b66e565 Mon Sep 17 00:00:00 2001
1+ From ff253e558ddc2cafed7ba1cf2bd93e3544debb30 Mon Sep 17 00:00:00 2001
22From: Maximilian Luz <
[email protected] >
33Date: Sat, 1 Jun 2019 21:17:15 +0200
44Subject: [PATCH 02/16] Add support for Intel Management Engine bus
@@ -15,10 +15,10 @@ the Microsoft Surface Books, Surface Pro 5 and 6, and Surface Laptops.
1515 5 files changed, 12 insertions(+)
1616
1717diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c
18- index 96aaa5e..cc3ecfd 100644
18+ index 090d5aa..5a749c9 100644
1919--- a/libwacom/libwacom-database.c
2020+++ b/libwacom/libwacom-database.c
21- @@ -130 ,6 +130 ,8 @@ bus_from_str (const char *str)
21+ @@ -132 ,6 +132 ,8 @@ bus_from_str (const char *str)
2222 return WBUSTYPE_I2C;
2323 if (g_str_equal(str, "virt"))
2424 return WBUSTYPE_VIRTUAL;
@@ -27,7 +27,7 @@ index 96aaa5e..cc3ecfd 100644
2727 return WBUSTYPE_UNKNOWN;
2828 }
2929
30- @@ -150 ,6 +152 ,8 @@ bus_to_str (WacomBusType bus)
30+ @@ -152 ,6 +154 ,8 @@ bus_to_str (WacomBusType bus)
3131 return "i2c";
3232 case WBUSTYPE_VIRTUAL:
3333 return "virt";
@@ -37,10 +37,10 @@ index 96aaa5e..cc3ecfd 100644
3737 g_assert_not_reached ();
3838 }
3939diff --git a/libwacom/libwacom.c b/libwacom/libwacom.c
40- index d9b8a22..e3364f4 100644
40+ index 1ba0740..1de4dc3 100644
4141--- a/libwacom/libwacom.c
4242+++ b/libwacom/libwacom.c
43- @@ -153 ,6 +153 ,10 @@ get_bus_vid_pid (GUdevDevice *device,
43+ @@ -152 ,6 +152 ,10 @@ get_bus_vid_pid (GUdevDevice *device,
4444 *bus = WBUSTYPE_VIRTUAL;
4545 retval = TRUE;
4646 break;
@@ -51,7 +51,7 @@ index d9b8a22..e3364f4 100644
5151 }
5252
5353 out:
54- @@ -822 ,6 +826 ,7 @@ static void print_match(int fd, const WacomMatch *match)
54+ @@ -831 ,6 +835 ,7 @@ static void print_match(int fd, const WacomMatch *match)
5555 case WBUSTYPE_SERIAL: bus_name = "serial"; break;
5656 case WBUSTYPE_I2C: bus_name = "i2c"; break;
5757 case WBUSTYPE_VIRTUAL: bus_name = "virt"; break;
@@ -60,7 +60,7 @@ index d9b8a22..e3364f4 100644
6060 default: g_assert_not_reached(); break;
6161 }
6262diff --git a/libwacom/libwacom.h b/libwacom/libwacom.h
63- index b184ed7..5cd6736 100644
63+ index 040c51e..a937c08 100644
6464--- a/libwacom/libwacom.h
6565+++ b/libwacom/libwacom.h
6666@@ -150,6 +150,7 @@ typedef enum {
@@ -72,7 +72,7 @@ index b184ed7..5cd6736 100644
7272
7373 /**
7474diff --git a/test/test-tablet-validity.c b/test/test-tablet-validity.c
75- index da5fe07..6b45597 100644
75+ index 91e83de..9c8af44 100644
7676--- a/test/test-tablet-validity.c
7777+++ b/test/test-tablet-validity.c
7878@@ -178,6 +178,7 @@ assert_vidpid(WacomBusType bus, int vid, int pid)
@@ -84,7 +84,7 @@ index da5fe07..6b45597 100644
8484 g_assert_cmpint(pid, >, 0);
8585 break;
8686diff --git a/test/test_data_files.py b/test/test_data_files.py
87- index 476aeca..cc739dd 100755
87+ index 8ab1fea..a3f1d9d 100755
8888--- a/test/test_data_files.py
8989+++ b/test/test_data_files.py
9090@@ -47,6 +47,7 @@ def test_device_match(tabletfile):
@@ -96,5 +96,5 @@ index 476aeca..cc739dd 100755
9696 assert re.match(
9797 "[0-9a-f]{4}", vid
9898- -
99- 2.42 .0
99+ 2.43 .0
100100
0 commit comments