summaryrefslogtreecommitdiffstats
path: root/sys/modules/acpi
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-11-11 22:54:58 +0000
committerimp <imp@FreeBSD.org>2004-11-11 22:54:58 +0000
commit9b37fa7711f5788c76d5e816014dc00ff3facd4e (patch)
tree758e5c1b5811f588bed1f3a2bcf3dbdc3494d60c /sys/modules/acpi
parentfa7c887b18367ccdf10c4cf6e023e0ffdd8a9161 (diff)
downloadFreeBSD-src-9b37fa7711f5788c76d5e816014dc00ff3facd4e.zip
FreeBSD-src-9b37fa7711f5788c76d5e816014dc00ff3facd4e.tar.gz
Commit takawata-san's Sony Notebook Controller driver, integrated into
the tree. Small tweaks were made by myself to eliminate unnecessary includes and some other minor issues. Last time I asked takawata-san about this driver, he suggested I commit it. Submitted by: takawata
Diffstat (limited to 'sys/modules/acpi')
-rw-r--r--sys/modules/acpi/Makefile2
-rw-r--r--sys/modules/acpi/acpi_snc/Makefile9
2 files changed, 10 insertions, 1 deletions
diff --git a/sys/modules/acpi/Makefile b/sys/modules/acpi/Makefile
index 9009d00..8d5b9ae 100644
--- a/sys/modules/acpi/Makefile
+++ b/sys/modules/acpi/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-SUBDIR= acpi acpi_asus acpi_panasonic acpi_toshiba acpi_video
+SUBDIR= acpi acpi_asus acpi_panasonic acpi_snc acpi_toshiba acpi_video
.include <bsd.subdir.mk>
diff --git a/sys/modules/acpi/acpi_snc/Makefile b/sys/modules/acpi/acpi_snc/Makefile
new file mode 100644
index 0000000..2bdea1d
--- /dev/null
+++ b/sys/modules/acpi/acpi_snc/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/acpica
+
+KMOD= acpi_snc
+CFLAGS+= -I@/contrib/dev/acpica
+SRCS= acpi_snc.c opt_acpi.h device_if.h bus_if.h acpi_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud