Skip to content

Commit 09cb854

Browse files
committedDec 14, 2020
Move surface_hotplug module to own repository
Move the surface_hotplug module and driver to its own repository. This driver does not depend on the Surface Aggregator Module any more. The new repository can be found at: https://github.com/linux-surface/surface-hotplug
1 parent 6a3c430 commit 09cb854

25 files changed

+24
-4856
lines changed
 

‎module/dkms.conf

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ BUILT_MODULE_NAME[3]="surface_acpi_notify"
99
BUILT_MODULE_NAME[4]="surface_battery"
1010
BUILT_MODULE_NAME[5]="surface_dtx"
1111
BUILT_MODULE_NAME[6]="surface_hid"
12-
BUILT_MODULE_NAME[7]="surface_hotplug"
13-
BUILT_MODULE_NAME[8]="surface_perfmode"
12+
BUILT_MODULE_NAME[7]="surface_perfmode"
1413
BUILT_MODULE_LOCATION[0]="src/"
1514
BUILT_MODULE_LOCATION[1]="src/clients/"
1615
BUILT_MODULE_LOCATION[2]="src/clients/"
@@ -19,7 +18,6 @@ BUILT_MODULE_LOCATION[4]="src/clients/"
1918
BUILT_MODULE_LOCATION[5]="src/clients/"
2019
BUILT_MODULE_LOCATION[6]="src/clients/"
2120
BUILT_MODULE_LOCATION[7]="src/clients/"
22-
BUILT_MODULE_LOCATION[8]="src/clients/"
2321
DEST_MODULE_LOCATION[0]="/updates"
2422
DEST_MODULE_LOCATION[1]="/updates"
2523
DEST_MODULE_LOCATION[2]="/updates"
@@ -28,5 +26,4 @@ DEST_MODULE_LOCATION[4]="/updates"
2826
DEST_MODULE_LOCATION[5]="/updates"
2927
DEST_MODULE_LOCATION[6]="/updates"
3028
DEST_MODULE_LOCATION[7]="/updates"
31-
DEST_MODULE_LOCATION[8]="/updates"
3229
AUTOINSTALL="yes"

‎module/src/clients/Kbuild

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ obj-m += surface_aggregator_registry.o
77
obj-m += surface_battery.o
88
obj-m += surface_dtx.o
99
obj-m += surface_hid.o
10-
obj-m += surface_hotplug.o
1110
obj-m += surface_perfmode.o
1211

1312
#ccflags-y += -DDEBUG

‎module/src/clients/surface_hotplug.c

-267
This file was deleted.

‎patches/4.19/0001-ACPI-Fix-buffer-integer-type-mismatch.patch

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
From 2b14dafd32cffc0b59b9e4ef2759014cab208431 Mon Sep 17 00:00:00 2001
1+
From 8403e88918456dbcf972dd22e70258475b8c27e0 Mon Sep 17 00:00:00 2001
22
From: qzed <qzed@users.noreply.github.com>
33
Date: Mon, 26 Aug 2019 01:15:40 +0200
4-
Subject: [PATCH] ACPI: Fix buffer/integer type mismatch
4+
Subject: [PATCH 1/3] ACPI: Fix buffer/integer type mismatch
55

66
This is actually not a bug in the kernel, but rather Microsoft not
77
conforming with the ACPI specification.
8+
9+
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
810
---
911
drivers/acpi/acpica/dsopcode.c | 2 +-
1012
drivers/acpi/acpica/exfield.c | 26 ++++++++++----------------

‎patches/4.19/0002-serdev-Add-ACPI-devices-by-ResourceSource-field.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 26ef42e733a0b35ce44d25f0d23114d59f86a747 Mon Sep 17 00:00:00 2001
1+
From 79bf4f19e0c7994eb8e85d5092de05b0d701242c Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <luzmaximilian@gmail.com>
33
Date: Tue, 24 Sep 2019 17:38:12 +0200
4-
Subject: [PATCH] serdev: Add ACPI devices by ResourceSource field
4+
Subject: [PATCH 2/3] serdev: Add ACPI devices by ResourceSource field
55

66
When registering a serdev controller, ACPI needs to be checked for
77
devices attached to it. Currently, all immediate children of the ACPI

‎patches/4.19/0003-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
From d8726642bb354f53d47f2798d2cdde0a6c05847e Mon Sep 17 00:00:00 2001
1+
From 9317eab73cab546f8bd078b55e4d20637f6e5fec Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <luzmaximilian@gmail.com>
33
Date: Sun, 20 Sep 2020 04:12:58 +0200
4-
Subject: [PATCH] misc: Surface Aggregator: Add file2alias support for Surface
5-
Aggregator client devices
4+
Subject: [PATCH 3/3] misc: Surface Aggregator: Add file2alias support for
5+
Surface Aggregator client devices
66

77
Implement file2alias support for Surface System Aggregator Module (SSAM)
88
client devices. This allows modules to be auto-loaded for specific
99
devices via their respective module alias.
10+
11+
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
1012
---
1113
include/linux/mod_devicetable.h | 18 ++++++++++++++++++
1214
scripts/mod/devicetable-offsets.c | 8 ++++++++

0 commit comments

Comments
 (0)
Please sign in to comment.