From eac7a3804288afbe8f9972b735f45ede395a3fa7 Mon Sep 17 00:00:00 2001 From: pgoyette Date: Sat, 16 Dec 2017 06:39:07 +0000 Subject: Use config(1) and IOCONF= to generate most of the auto-config data structures. (Note that bin/52823 documents the reasons for still requiring hand-crafted cfattach structures.) --- sys/modules/pad/Makefile | 3 ++- sys/modules/pad/pad.ioconf | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 sys/modules/pad/pad.ioconf (limited to 'sys/modules') diff --git a/sys/modules/pad/Makefile b/sys/modules/pad/Makefile index f49bb176469..c20816b97af 100644 --- a/sys/modules/pad/Makefile +++ b/sys/modules/pad/Makefile @@ -1,10 +1,11 @@ -# $NetBSD: Makefile,v 1.2 2014/11/18 01:56:41 jmcneill Exp $ +# $NetBSD: Makefile,v 1.3 2017/12/16 06:39:07 pgoyette Exp $ .include "../Makefile.inc" .PATH: ${S}/dev/pad KMOD= pad +IOCONF= pad.ioconf SRCS= pad.c diff --git a/sys/modules/pad/pad.ioconf b/sys/modules/pad/pad.ioconf new file mode 100644 index 00000000000..8801d3ef435 --- /dev/null +++ b/sys/modules/pad/pad.ioconf @@ -0,0 +1,7 @@ +# $NetBSD: pad.ioconf,v 1.1 2017/12/16 06:39:07 pgoyette Exp $ + +ioconf pad + +include "conf/files" + +pseudo-device pad -- cgit