diff options
| author | pgoyette <pgoyette@NetBSD.org> | 2017-12-16 06:39:07 +0000 |
|---|---|---|
| committer | pgoyette <pgoyette@NetBSD.org> | 2017-12-16 06:39:07 +0000 |
| commit | eac7a3804288afbe8f9972b735f45ede395a3fa7 (patch) | |
| tree | dd42cabd16bbcbddab7878b3a7f8da450fd380d9 /sys/modules | |
| parent | acf2eea863d1c7cb98b5051d39e5e4badd9665a6 (diff) | |
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.)
Diffstat (limited to 'sys/modules')
| -rw-r--r-- | sys/modules/pad/Makefile | 3 | ||||
| -rw-r--r-- | sys/modules/pad/pad.ioconf | 7 |
2 files changed, 9 insertions, 1 deletions
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 |
