diff options
author | imp <imp@FreeBSD.org> | 2004-11-15 05:54:15 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-11-15 05:54:15 +0000 |
commit | 8dabebd604f0e0f326f6304b586be221e846b3c8 (patch) | |
tree | a13bc03d6b3beb79f4ef4a78d98e795b3bdff3e3 /sys/modules | |
parent | d54bf69758cf1d5d58cdab39ed8b9963317ef2eb (diff) | |
download | FreeBSD-src-8dabebd604f0e0f326f6304b586be221e846b3c8.zip FreeBSD-src-8dabebd604f0e0f326f6304b586be221e846b3c8.tar.gz |
After discussions with Nate, repo copy the acpi assist drivers from
i386 to dev/acpi_support. In theory, these devices could be found
other than in i386 machines only as amd64 becomes more popular. These
drivers don't appear to do anything i386 specific, so move them to
dev/acpi_support. Move config lines to files so that those
architectures that don't support kernel modules can build them into
the kernel. At the same time, rename acpi_snc to acpi_sony to follow
the lead of all the other specialty devices.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/acpi/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/acpi/acpi_asus/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/acpi/acpi_panasonic/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/acpi/acpi_sony/Makefile | 9 | ||||
-rw-r--r-- | sys/modules/acpi/acpi_toshiba/Makefile | 2 |
5 files changed, 13 insertions, 4 deletions
diff --git a/sys/modules/acpi/Makefile b/sys/modules/acpi/Makefile index 7ef3745..4bea972 100644 --- a/sys/modules/acpi/Makefile +++ b/sys/modules/acpi/Makefile @@ -8,6 +8,6 @@ .error "The ACPI module is only for i386" .endif -SUBDIR= acpi acpi_asus acpi_panasonic acpi_snc acpi_toshiba acpi_video +SUBDIR= acpi acpi_asus acpi_panasonic acpi_sony acpi_toshiba acpi_video .include <bsd.subdir.mk> diff --git a/sys/modules/acpi/acpi_asus/Makefile b/sys/modules/acpi/acpi_asus/Makefile index 5132a37..a179175 100644 --- a/sys/modules/acpi/acpi_asus/Makefile +++ b/sys/modules/acpi/acpi_asus/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../i386/acpica +.PATH: ${.CURDIR}/../../../dev/acpi_support KMOD= acpi_asus WARNS?= 2 diff --git a/sys/modules/acpi/acpi_panasonic/Makefile b/sys/modules/acpi/acpi_panasonic/Makefile index 61515ac..20f33b0 100644 --- a/sys/modules/acpi/acpi_panasonic/Makefile +++ b/sys/modules/acpi/acpi_panasonic/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../i386/acpica +.PATH: ${.CURDIR}/../../../dev/acpi_support KMOD= acpi_panasonic WARNS?= 2 diff --git a/sys/modules/acpi/acpi_sony/Makefile b/sys/modules/acpi/acpi_sony/Makefile new file mode 100644 index 0000000..3974094 --- /dev/null +++ b/sys/modules/acpi/acpi_sony/Makefile @@ -0,0 +1,9 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../dev/acpi_support + +KMOD= acpi_sony +CFLAGS+= -I${.CURDIR}/../../../contrib/dev/acpica +SRCS= acpi_sony.c opt_acpi.h device_if.h bus_if.h acpi_if.h + +.include <bsd.kmod.mk> diff --git a/sys/modules/acpi/acpi_toshiba/Makefile b/sys/modules/acpi/acpi_toshiba/Makefile index a1ed390..9ab04fe 100644 --- a/sys/modules/acpi/acpi_toshiba/Makefile +++ b/sys/modules/acpi/acpi_toshiba/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../i386/acpica +.PATH: ${.CURDIR}/../../../dev/acpi_support KMOD= acpi_toshiba WARNS?= 2 |