diff options
| author | pooka <pooka@NetBSD.org> | 2010-03-21 07:09:56 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2010-03-21 07:09:56 +0000 |
| commit | f3beefdb45fa2da92854cc0a3de92b68d297a15b (patch) | |
| tree | 74cca844e65afcd01fc352c7d32057719591d390 /sys/modules | |
| parent | ce672f239f64242a77100d433abd0f3d036cf5b5 (diff) | |
Convert acpibat to use ioconf instead of homerolled config glue.
Note, config whines about things like:
files.acpi:30: attaching undefined device `apm'
I intentionally was a lazy boy and didn't include a ton of dirt to
keep the hot napalm and riot blasts in the config thread rolling ;)
tested by jruoho (thanks!)
Diffstat (limited to 'sys/modules')
| -rw-r--r-- | sys/modules/acpibat/ACPIBAT.ioconf | 10 | ||||
| -rw-r--r-- | sys/modules/acpibat/Makefile | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sys/modules/acpibat/ACPIBAT.ioconf b/sys/modules/acpibat/ACPIBAT.ioconf new file mode 100644 index 00000000000..9f7671153a8 --- /dev/null +++ b/sys/modules/acpibat/ACPIBAT.ioconf @@ -0,0 +1,10 @@ +# $NetBSD: ACPIBAT.ioconf,v 1.1 2010/03/21 07:09:56 pooka Exp $ + +ioconf acpibat + +include "conf/files" +include "dev/acpi/files.acpi" + +pseudo-root acpi* + +acpibat* at acpi? diff --git a/sys/modules/acpibat/Makefile b/sys/modules/acpibat/Makefile index 7cd1d38e5d1..118f8c57e60 100644 --- a/sys/modules/acpibat/Makefile +++ b/sys/modules/acpibat/Makefile @@ -1,10 +1,11 @@ -# $NetBSD: Makefile,v 1.1 2010/02/28 17:40:51 jruoho Exp $ +# $NetBSD: Makefile,v 1.2 2010/03/21 07:09:56 pooka Exp $ .include "../Makefile.inc" .PATH: ${S}/dev/acpi KMOD= acpibat +IOCONF= ACPIBAT.ioconf SRCS= acpi_bat.c .include <bsd.kmodule.mk> |
