summaryrefslogtreecommitdiff
path: root/util/autoport/ec_none.go
blob: a1a0df94f07e763cba97be660b598b5406edf42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package main

func NoEC(ctx Context) {
	ap := Create(ctx, "acpi/platform.asl")
	defer ap.Close()

	Add_SPDX(ap, ASL, GPL2_only)
	ap.WriteString(
		`Method(_WAK, 1)
{
	Return(Package() {0, 0})
}

Method(_PTS, 1)
{
}
`)

	si := Create(ctx, "acpi/superio.asl")
	defer si.Close()

	ec := Create(ctx, "acpi/ec.asl")
	defer ec.Close()
}