]> Zhao Yanbai Git Server - minix.git/commitdiff
moved service configuration out of system.conf 93/3293/1
authorrlfnb <rlfnb@rlfnb.de>
Thu, 4 Feb 2016 07:03:13 +0000 (08:03 +0100)
committerLionel Sambuc <lionel.sambuc@gmail.com>
Sun, 7 Feb 2016 18:17:43 +0000 (19:17 +0100)
Change-Id: I996c0e700b087c5130ac6480ae39e1eefa771eff

41 files changed:
distrib/sets/lists/minix-base/md.evbarm
distrib/sets/lists/minix-base/md.i386
distrib/sets/lists/minix-base/mi
etc/system.conf
minix/drivers/audio/es1370/Makefile
minix/drivers/audio/es1370/es1370.conf [new file with mode: 0644]
minix/drivers/audio/es1371/Makefile
minix/drivers/audio/es1371/es1371.conf [new file with mode: 0644]
minix/drivers/bus/i2c/arch/earm/Makefile.inc
minix/drivers/bus/i2c/arch/earm/i2c.conf [new file with mode: 0644]
minix/drivers/bus/i2c/arch/i386/Makefile.inc [new file with mode: 0644]
minix/drivers/bus/ti1225/Makefile
minix/drivers/bus/ti1225/ti1225.conf [new file with mode: 0644]
minix/drivers/examples/hello/Makefile
minix/drivers/examples/hello/hello.conf [new file with mode: 0644]
minix/drivers/iommu/amddev/Makefile
minix/drivers/iommu/amddev/amddev.conf [new file with mode: 0644]
minix/drivers/net/dp8390/Makefile
minix/drivers/net/dp8390/dp8390.conf [new file with mode: 0644]
minix/drivers/net/dpeth/Makefile
minix/drivers/net/dpeth/dpeth.conf [new file with mode: 0644]
minix/drivers/printer/printer/Makefile
minix/drivers/printer/printer/printer.conf [new file with mode: 0644]
minix/drivers/sensors/bmp085/Makefile
minix/drivers/sensors/bmp085/bmp085.conf [new file with mode: 0644]
minix/drivers/sensors/sht21/Makefile
minix/drivers/sensors/sht21/sht21.conf [new file with mode: 0644]
minix/drivers/sensors/tsl2550/Makefile
minix/drivers/sensors/tsl2550/tsl2550.conf [new file with mode: 0644]
minix/drivers/system/gpio/Makefile
minix/drivers/system/gpio/gpio.conf [new file with mode: 0644]
minix/drivers/system/random/Makefile
minix/drivers/system/random/random.conf [new file with mode: 0644]
minix/drivers/vmm_guest/vbox/Makefile
minix/drivers/vmm_guest/vbox/vbox.conf [new file with mode: 0644]
minix/fs/vbfs/Makefile
minix/fs/vbfs/vbfs.conf [new file with mode: 0644]
minix/net/inet/Makefile
minix/net/inet/inet.conf [new file with mode: 0644]
minix/net/lwip/Makefile
minix/net/lwip/lwip.conf [new file with mode: 0644]

index d116e1b0a3879b6c9f7bb2b385488a413d09da80..ddb43e3249d40f5fccea8b330d58a1f46e55d005 100644 (file)
@@ -7,7 +7,12 @@
 #
 ./etc/rc.capes                                          minix-base
 ./etc/rc.capes/BB-BONE-WTHR-01                          minix-base
+./etc/system.conf.d/bmp085                              minix-base
+./etc/system.conf.d/gpio                                minix-base
+./etc/system.conf.d/i2c                                 minix-base
 ./etc/system.conf.d/lan8710a                            minix-base
+./etc/system.conf.d/sht21                               minix-base
+./etc/system.conf.d/tsl2550                             minix-base
 ./etc/system.conf.d/usbd                                minix-base
 ./service/bmp085                                        minix-base
 ./service/cat24c256                                     minix-base
index 2b1998e07b531dd0fce3b02ac2dd9c0b7e7bbb4c..3280f85f53fd2b8c5efcf98c87e4d75adcbc9549 100644 (file)
@@ -6,13 +6,22 @@
 # mv out mi
 #
 ./etc/system.conf.d/3c90x                               minix-base
+./etc/system.conf.d/amddev                              minix-base
 ./etc/system.conf.d/atl2                                minix-base
 ./etc/system.conf.d/dec21140A                           minix-base
+./etc/system.conf.d/dp8390                              minix-base
+./etc/system.conf.d/dpeth                               minix-base
+./etc/system.conf.d/es1370                              minix-base
+./etc/system.conf.d/es1371                              minix-base
 ./etc/system.conf.d/e1000                               minix-base
 ./etc/system.conf.d/fxp                                 minix-base
 ./etc/system.conf.d/lance                               minix-base
+./etc/system.conf.d/printer                             minix-base
 ./etc/system.conf.d/rtl8139                             minix-base
 ./etc/system.conf.d/rtl8169                             minix-base
+./etc/system.conf.d/ti1225                              minix-base
+./etc/system.conf.d/vbfs                                minix-base
+./etc/system.conf.d/vbox                                minix-base
 ./etc/system.conf.d/virtio_net                          minix-base
 ./service/3c90x                                         minix-base
 ./service/acpi                                          minix-base
index 0bb949960048e3c6f70ef2fc8c4ca2247c008909..831f04c1334dde73d8400dadb56387ca67797ab3 100644 (file)
 ./etc/syslog.conf                                       minix-base
 ./etc/system.conf                                       minix-base
 ./etc/system.conf.d                                     minix-base
+./etc/system.conf.d/hello                               minix-base
+./etc/system.conf.d/inet                                minix-base
 ./etc/system.conf.d/ipc                                 minix-base
+./etc/system.conf.d/lwip                                minix-base
+./etc/system.conf.d/random                              minix-base
 ./etc/system.conf.d/usb_hub                             minix-base
 ./etc/system.conf.d/usb_storage                         minix-base
 ./etc/termcap                                           minix-base
index e03d21393878982fcf8a45e6e8037a586d181d40..a2d6bc0065c683ea75bb38ec6d40332924a2db3e 100644 (file)
@@ -256,44 +256,6 @@ service floppy
                ;
 };
 
-service dp8390
-{
-       system
-               IRQCTL          # 19
-               DEVIO           # 21
-               SDEVIO          # 22
-       ;
-       pci device      10ec:8029;
-       io
-               300:20
-       ;
-       irq     9;
-};
-
-service dpeth
-{
-       system
-               IRQCTL          # 19
-               DEVIO           # 21
-               SDEVIO          # 22
-       ;
-       uid     0;
-};
-
-service inet
-{
-       uid 0;
-};
-
-service lwip
-{
-       uid 0;
-};
-
-service random
-{
-};
-
 service readclock.drv
 {
        ipc     ALL;
@@ -426,96 +388,6 @@ service hgfs
        ;
 };
 
-service vbfs
-{
-       ipc
-               SYSTEM pm vfs rs ds vm vbox
-       ;
-       vm
-               SETCACHEPAGE
-               CLEARCACHE
-       ;
-};
-
-service printer
-{
-       io      378:4           # LPT1
-               278:4           # LPT2
-       ;
-       irq
-               7               # PRINTER_IRQ
-       ;
-       system
-               KILL            #  6
-               UMAP            # 14
-               IRQCTL          # 19
-               DEVIO           # 21
-               VDEVIO          # 23
-               READBIOS        # 35
-       ;
-};
-
-service es1370
-{
-       system
-               UMAP            # 14
-               IRQCTL          # 19
-               DEVIO           # 21
-       ;
-       pci device 1274:5000;
-};
-
-service es1371
-{
-       system
-               UMAP            # 14
-               IRQCTL          # 19
-               DEVIO           # 21
-       ;
-       pci device 1274:1371;
-};
-
-service ti1225
-{
-       system
-               IRQCTL          # 19
-       ;
-       pci device      104c:ac1c;
-};
-
-service amddev
-{
-       pci device      1022:1103;
-       system
-               UMAP_REMOTE     # 17
-       ;
-       vm
-               ADDDMA          # 12
-               DELDMA          # 13
-               GETDMA          # 14
-       ;
-       uid     0;
-};
-
-service osscore
-{
-       system
-               PRIVCTL         #  4
-               UMAP            # 14
-               IRQCTL          # 19
-               DEVIO           # 21
-               SDEVIO          # 22
-       ;
-       pci class
-               4/1             # Multimedia / Audio device
-       ;
-       ipc
-               SYSTEM pm rs tty ds vfs vm
-               pci inet lwip amddev
-               ;
-       uid     0;
-};
-
 service filter
 {
        ipc
@@ -549,20 +421,6 @@ service pckbd
        priority        1;
 };
 
-service hello
-{
-        system
-                IRQCTL          # 19
-                DEVIO           # 21
-        ;
-        ipc
-                SYSTEM pm rs tty ds vm vfs
-                pci inet lwip amddev
-                ;
-    uid 0;
-};
-
-
 service devman
 {
        uid 0;
@@ -598,54 +456,6 @@ service fb
        ;
 };
 
-service gpio
-{
-       system
-               PRIVCTL         #  4
-               IRQCTL          # 19
-               PADCONF         # 57
-       ;
-       vm
-               SETCACHEPAGE
-               CLEARCACHE
-       ;
-       irq
-               29      # GPIO module 1 (dm37xx)
-               30      # GPIO module 2 (dm37xx)
-               31      # GPIO module 3 (dm37xx)
-               32      # GPIO module 4 (dm37xx) / module 2a (am335x)
-               33      # GPIO module 5 (dm37xx) / module 2b (am335x)
-               34      # GPIO module 6 (dm37xx)
-               62      # GPIO module 3a (am335x)
-               63      # GPIO module 3b (am335x)
-               96      # GPIO module 0a (am335x)
-               97      # GPIO module 0b (am335x)
-               98      # GPIO module 1a (am335x)
-               99      # GPIO module 1b (am335x)
-       ;
-
-};
-
-service i2c
-{
-       system
-               PRIVCTL         #  4
-               IRQCTL          # 19
-               PADCONF         # 57
-       ;
-       irq
-               # DM37XX (BeagleBoard-xM)
-               56      # I2C module 1
-               57      # I2C module 2
-               61      # I2C module 3
-               # AM335X (BeagleBone)
-               70      # I2C module 1
-               71      # I2C module 2
-               30      # I2C module 3
-       ;
-       ipc SYSTEM RS DS;
-};
-
 service cat24c256
 {
        ipc SYSTEM RS DS i2c;
@@ -669,40 +479,6 @@ service tps65950
        ipc SYSTEM RS DS i2c readclock.drv;
 };
 
-service tsl2550
-{
-       ipc SYSTEM RS DS i2c;
-};
-
-service sht21
-{
-       ipc SYSTEM RS DS i2c;
-};
-
-service bmp085
-{
-       ipc SYSTEM RS DS i2c;
-};
-
-service vbox
-{
-       system
-               UMAP            # 14
-               VUMAP           # 18
-               IRQCTL          # 19
-               DEVIO           # 21
-       ;
-       pci device      80ee:cafe;
-       ipc
-               SYSTEM
-               PM
-               RS
-               VM
-               pci
-       ;
-       uid     0;
-};
-
 service fbd
 {
        ipc
index 86e89f6450c7998bef2a32758ee22eb70e74cdb8..dc14d59aec33fac6a597c9271a63df2b5fc40bd4 100644 (file)
@@ -2,6 +2,10 @@
 PROG=  es1370
 SRCS=  es1370.c ak4531.c pci_helper.c
 
+FILES=$(PROG).conf
+FILESNAME=$(PROG)
+FILESDIR= /etc/system.conf.d
+
 DPADD+= ${LIBAUDIODRIVER} ${LIBCHARDRIVER} ${LIBSYS}
 LDADD+= -laudiodriver -lchardriver -lsys
 
diff --git a/minix/drivers/audio/es1370/es1370.conf b/minix/drivers/audio/es1370/es1370.conf
new file mode 100644 (file)
index 0000000..6f966cc
--- /dev/null
@@ -0,0 +1,10 @@
+service es1370
+{
+        system
+                UMAP            # 14
+                IRQCTL          # 19
+                DEVIO           # 21
+        ;
+        pci device 1274:5000;
+};
+
index f7608ad75093e25495b5cda41d18122f849a1c2c..a9a27d5b0cc60ec37c554e694cc72db24d8fa20f 100644 (file)
@@ -2,6 +2,10 @@
 PROG=  es1371
 SRCS=  es1371.c AC97.c pci_helper.c wait.c sample_rate_converter.c
 
+FILES=$(PROG).conf
+FILESNAME=$(PROG)
+FILESDIR= /etc/system.conf.d
+
 DPADD+= ${LIBAUDIODRIVER} ${LIBCHARDRIVER} ${LIBSYS}
 LDADD+= -laudiodriver -lchardriver -lsys
 
diff --git a/minix/drivers/audio/es1371/es1371.conf b/minix/drivers/audio/es1371/es1371.conf
new file mode 100644 (file)
index 0000000..0fe6f05
--- /dev/null
@@ -0,0 +1,10 @@
+service es1371
+{
+        system
+                UMAP            # 14
+                IRQCTL          # 19
+                DEVIO           # 21
+        ;
+        pci device 1274:1371;
+};
+
index 497fd24c3a1c4105a6d50a705e4326bb62d7d66d..47a38027c403765e6c0bb3ec1287be4e5f8b0be5 100644 (file)
@@ -5,3 +5,7 @@ HERE=${.CURDIR}/arch/${MACHINE_ARCH}
 .PATH:  ${HERE}
 
 SRCS += omap_i2c.c omap_i2c.h omap_i2c_registers.h
+
+FILES=$(PROG).conf
+FILESNAME=$(PROG)
+FILESDIR= /etc/system.conf.d
diff --git a/minix/drivers/bus/i2c/arch/earm/i2c.conf b/minix/drivers/bus/i2c/arch/earm/i2c.conf
new file mode 100644 (file)
index 0000000..6112f91
--- /dev/null
@@ -0,0 +1,20 @@
+service i2c
+{
+        system
+                PRIVCTL         #  4
+                IRQCTL          # 19
+                PADCONF         # 57
+        ;
+        irq
+                # DM37XX (BeagleBoard-xM)
+                56      # I2C module 1
+                57      # I2C module 2
+                61      # I2C module 3
+                # AM335X (BeagleBone)
+                70      # I2C module 1
+                71      # I2C module 2
+                30      # I2C module 3
+        ;
+        ipc SYSTEM RS DS;
+};
+
diff --git a/minix/drivers/bus/i2c/arch/i386/Makefile.inc b/minix/drivers/bus/i2c/arch/i386/Makefile.inc
new file mode 100644 (file)
index 0000000..9138888
--- /dev/null
@@ -0,0 +1,7 @@
+# Makefile for arch-dependent i2c code
+.include <bsd.own.mk>
+
+HERE=${.CURDIR}/arch/${MACHINE_ARCH}
+.PATH:  ${HERE}
+
+SRCS += pci_i2c.c pci_i2c.h pci_i2c_register.h
index e1c1a11d09e490ef23b077ab7a8042d4f5f23d97..b00c36a9ecddec67f3ddd9c8c1dd0ffef4e4d82f 100644 (file)
@@ -2,6 +2,10 @@
 PROG=  ti1225
 SRCS=  ti1225.c
 
+FILES=$(PROG).conf
+FILESNAME=$(PROG)
+FILESDIR= /etc/system.conf.d
+
 DPADD+=        ${LIBSYS}
 LDADD+=        -lsys
 
diff --git a/minix/drivers/bus/ti1225/ti1225.conf b/minix/drivers/bus/ti1225/ti1225.conf
new file mode 100644 (file)
index 0000000..8cb6f2d
--- /dev/null
@@ -0,0 +1,8 @@
+service ti1225
+{
+        system
+                IRQCTL          # 19
+        ;
+        pci device      104c:ac1c;
+};
+
index e22a2a5d75441e686c65f434c59ca411afc40e73..4badb39fd57cda76027396c46266629afdf1feab 100644 (file)
@@ -2,6 +2,10 @@
 PROG=  hello
 SRCS=  hello.c
 
+FILES=${PROG}.conf
+FILESNAME=${PROG}
+FILESDIR= /etc/system.conf.d
+
 DPADD+=        ${LIBCHARDRIVER} ${LIBSYS}
 LDADD+=        -lchardriver -lsys
 
diff --git a/minix/drivers/examples/hello/hello.conf b/minix/drivers/examples/hello/hello.conf
new file mode 100644 (file)
index 0000000..23caec2
--- /dev/null
@@ -0,0 +1,13 @@
+service hello
+{
+        system
+                IRQCTL          # 19
+                DEVIO           # 21
+        ;
+        ipc
+                SYSTEM pm rs tty ds vm vfs
+                pci inet lwip amddev
+                ;
+    uid 0;
+};
+
index f40e80e2251fbda769d6cbdb28fe1e9562822ba0..5e4dcd4addacdc47737fae1cb3c5acef8e65ac15 100644 (file)
@@ -2,6 +2,10 @@
 PROG=  amddev
 SRCS=  amddev.c
 
+FILES=$(PROG).conf
+FILESNAME=$(PROG)
+FILESDIR= /etc/system.conf.d
+
 DPADD+= ${LIBSYS}
 LDADD+=        -lsys
 
diff --git a/minix/drivers/iommu/amddev/amddev.conf b/minix/drivers/iommu/amddev/amddev.conf
new file mode 100644 (file)
index 0000000..8a8fed8
--- /dev/null
@@ -0,0 +1,14 @@
+service amddev
+{
+        pci device      1022:1103;
+        system
+                UMAP_REMOTE     # 17
+        ;
+        vm
+                ADDDMA          # 12
+                DELDMA          # 13
+                GETDMA          # 14
+        ;
+        uid     0;
+};
+
index d48227ef7630222cb68e7a38b74fbe519656799f..bd3b36632be4dfeedebef0cf7959bf92c867f33a 100644 (file)
@@ -2,6 +2,10 @@
 PROG=  dp8390
 SRCS=  3c503.c dp8390.c ne2000.c rtl8029.c wdeth.c
 
+FILES=${PROG}.conf
+FILESNAME=${PROG}
+FILESDIR= /etc/system.conf.d
+
 DPADD+=        ${LIBNETDRIVER} ${LIBSYS}
 LDADD+=        -lnetdriver -lsys
 
diff --git a/minix/drivers/net/dp8390/dp8390.conf b/minix/drivers/net/dp8390/dp8390.conf
new file mode 100644 (file)
index 0000000..def6dbc
--- /dev/null
@@ -0,0 +1,14 @@
+service dp8390
+{
+        system
+                IRQCTL          # 19
+                DEVIO           # 21
+                SDEVIO          # 22
+        ;
+        pci device      10ec:8029;
+        io
+                300:20
+        ;
+        irq     9;
+};
+
index 8bf0cdff6d8dac070f4d5f6c1b8cf17e79b0b7c3..346c8d688fbf2c864d598c74bea237c14da91c2a 100644 (file)
@@ -2,6 +2,10 @@
 PROG=  dpeth
 SRCS=  3c501.c 3c509.c 3c503.c ne.c wd.c 8390.c devio.c netbuff.c dp.c
 
+FILES=$(PROG).conf
+FILESNAME=$(PROG)
+FILESDIR= /etc/system.conf.d
+
 DPADD+=        ${LIBNETDRIVER} ${LIBSYS}
 LDADD+=        -lnetdriver -lsys
 
diff --git a/minix/drivers/net/dpeth/dpeth.conf b/minix/drivers/net/dpeth/dpeth.conf
new file mode 100644 (file)
index 0000000..8523032
--- /dev/null
@@ -0,0 +1,10 @@
+service dpeth
+{
+        system
+                IRQCTL          # 19
+                DEVIO           # 21
+                SDEVIO          # 22
+        ;
+        uid     0;
+};
+
index e1b045b3c13b3de32c89f2540391207ed7da0268..3acf95da513241fafe7c3607629b908d978865f9 100644 (file)
@@ -2,6 +2,10 @@
 PROG=  printer
 SRCS=  printer.c liveupdate.c
 
+FILES=${PROG}.conf
+FILESNAME=${PROG}
+FILESDIR= /etc/system.conf.d
+
 DPADD+= ${LIBCHARDRIVER} ${LIBSYS}
 LDADD+=        -lchardriver -lsys
 
diff --git a/minix/drivers/printer/printer/printer.conf b/minix/drivers/printer/printer/printer.conf
new file mode 100644 (file)
index 0000000..0e8c255
--- /dev/null
@@ -0,0 +1,18 @@
+service printer
+{
+       io      378:4           # LPT1
+               278:4           # LPT2
+       ;
+       irq
+               7               # PRINTER_IRQ
+       ;
+       system
+                KILL            #  6
+                UMAP            # 14
+                IRQCTL          # 19
+                DEVIO           # 21
+                VDEVIO          # 23
+                READBIOS        # 35
+       ;
+};
+
index 1b2ceacc462580649c6f871e4b13e24393449483..8f3f9cd4be62d5e850a2fded53d9417e4de63d29 100644 (file)
@@ -1,6 +1,11 @@
 # Makefile for the bmp085 pressure and temp sensor found on the Weather Cape.
-PROG=  bmp085
-SRCS=  bmp085.c
+
+PROG=   bmp085
+SRCS=   bmp085.c
+
+FILES=${PROG}.conf
+FILESNAME=${PROG}
+FILESDIR= /etc/system.conf.d
 
 DPADD+=        ${LIBI2CDRIVER} ${LIBCHARDRIVER} ${LIBSYS} ${LIBTIMERS}
 LDADD+=        -li2cdriver -lchardriver -lsys -ltimers
diff --git a/minix/drivers/sensors/bmp085/bmp085.conf b/minix/drivers/sensors/bmp085/bmp085.conf
new file mode 100644 (file)
index 0000000..5a4adb9
--- /dev/null
@@ -0,0 +1,5 @@
+service bmp085
+{
+       ipc SYSTEM RS DS i2c;
+};
+
index cbc417c45dc03e59fdd17d038374ecfe7bd8d5cc..c1676b31c5a5e6ed5ccbe699e8bcfc9de95785a0 100644 (file)
@@ -1,6 +1,11 @@
 # Makefile for the sht21 humidity and temp sensor found on the Weather Cape.
-PROG=  sht21
-SRCS=  sht21.c
+
+PROG=   sht21
+SRCS=   sht21.c
+
+FILES=${PROG}.conf
+FILESNAME=${PROG}
+FILESDIR= /etc/system.conf.d
 
 DPADD+=        ${LIBI2CDRIVER} ${LIBCHARDRIVER} ${LIBSYS} ${LIBTIMERS}
 LDADD+=        -li2cdriver -lchardriver -lsys -ltimers
diff --git a/minix/drivers/sensors/sht21/sht21.conf b/minix/drivers/sensors/sht21/sht21.conf
new file mode 100644 (file)
index 0000000..1978c1f
--- /dev/null
@@ -0,0 +1,5 @@
+service sht21
+{
+        ipc SYSTEM RS DS i2c;
+};
+
index 9dcec6387e0e0fedf9413c94225d5aa42272b3cb..6afbbecd5f20d6111771d130cec46e9b1e788f2a 100644 (file)
@@ -1,6 +1,11 @@
 # Makefile for the tsl2550 ambient light sensor found on the Weather Cape.
-PROG=  tsl2550
-SRCS=  tsl2550.c
+
+PROG=   tsl2550
+SRCS=   tsl2550.c
+
+FILES=${PROG}.conf
+FILESNAME=${PROG}
+FILESDIR= /etc/system.conf.d
 
 DPADD+=        ${LIBI2CDRIVER} ${LIBCHARDRIVER} ${LIBSYS} ${LIBTIMERS}
 LDADD+=        -li2cdriver -lchardriver -lsys -ltimers
diff --git a/minix/drivers/sensors/tsl2550/tsl2550.conf b/minix/drivers/sensors/tsl2550/tsl2550.conf
new file mode 100644 (file)
index 0000000..776e61c
--- /dev/null
@@ -0,0 +1,5 @@
+service tsl2550
+{
+        ipc SYSTEM RS DS i2c;
+};
+
index ef195ea068bc54e33e4bf618802d23b9a66cd0f4..2d731735f68d22c1d00d92853fdaf3c4e1bd791d 100644 (file)
@@ -2,6 +2,10 @@
 PROG=  gpio
 SRCS=  gpio.c
 
+FILES=${PROG}.conf
+FILESNAME=${PROG}
+FILESDIR= /etc/system.conf.d
+
 DPADD+=        ${LIBVTREEFS} ${LIBFSDRIVER} ${LIBSYS} ${LIBGPIO} ${LIBCLKCONF}
 LDADD+=        -lvtreefs -lfsdriver -lsys -lgpio -lclkconf
 
diff --git a/minix/drivers/system/gpio/gpio.conf b/minix/drivers/system/gpio/gpio.conf
new file mode 100644 (file)
index 0000000..b1c2111
--- /dev/null
@@ -0,0 +1,28 @@
+service gpio
+{
+        system
+                PRIVCTL         #  4
+                IRQCTL          # 19
+                PADCONF         # 57
+        ;
+        vm
+                SETCACHEPAGE
+                CLEARCACHE
+        ;
+        irq
+                29      # GPIO module 1 (dm37xx)
+                30      # GPIO module 2 (dm37xx)
+                31      # GPIO module 3 (dm37xx)
+                32      # GPIO module 4 (dm37xx) / module 2a (am335x)
+                33      # GPIO module 5 (dm37xx) / module 2b (am335x)
+                34      # GPIO module 6 (dm37xx)
+                62      # GPIO module 3a (am335x)
+                63      # GPIO module 3b (am335x)
+                96      # GPIO module 0a (am335x)
+                97      # GPIO module 0b (am335x)
+                98      # GPIO module 1a (am335x)
+                99      # GPIO module 1b (am335x)
+        ;
+
+};
+
index ac1fb733a9f7203df6c9b02b6a961a7b3880c47b..1842fb1d92b6d3e9c8d24c4abe5313ff454d0edf 100644 (file)
@@ -2,6 +2,10 @@
 PROG=  random
 SRCS=  main.c random.c rijndael_api.c rijndael_alg.c
 
+FILES=$(PROG).conf
+FILESNAME=$(PROG)
+FILESDIR= /etc/system.conf.d
+
 .PATH: ${.CURDIR}/aes
 
 DPADD+=        ${LIBCHARDRIVER} ${LIBSYS}
diff --git a/minix/drivers/system/random/random.conf b/minix/drivers/system/random/random.conf
new file mode 100644 (file)
index 0000000..74ed010
--- /dev/null
@@ -0,0 +1,4 @@
+service random
+{
+};
+
index a8aab8b3186f9435cf63ad64ae63caedfa006868..20adaf0f77439d6a7888d7477457e63c4afa4724 100644 (file)
@@ -2,6 +2,10 @@
 PROG=  vbox
 SRCS=  vbox.c hgcm.c err.c
 
+FILES=${PROG}.conf
+FILESNAME=${PROG}
+FILESDIR= /etc/system.conf.d
+
 DPADD+=        ${LIBSYS}
 LDADD+=        -lsys
 
diff --git a/minix/drivers/vmm_guest/vbox/vbox.conf b/minix/drivers/vmm_guest/vbox/vbox.conf
new file mode 100644 (file)
index 0000000..306812d
--- /dev/null
@@ -0,0 +1,19 @@
+service vbox
+{
+        system
+                UMAP            # 14
+                VUMAP           # 18
+                IRQCTL          # 19
+                DEVIO           # 21
+        ;
+        pci device      80ee:cafe;
+        ipc
+                SYSTEM
+                PM
+                RS
+                VM
+                pci
+        ;
+        uid     0;
+};
+
index b1b2b46267b21837c1f80b509623d123fd202457..1051f066a4787c23c6deb1a06e4cb767504f637a 100644 (file)
@@ -3,6 +3,10 @@ PROG=  vbfs
 SRCS=  vbfs.c
 MAN=   vbfs.8
 
+FILES=$(PROG).conf
+FILESNAME=$(PROG)
+FILESDIR= /etc/system.conf.d
+
 DPADD+=        ${LIBSFFS} ${LIBVBOXFS} ${LIBFSDRIVER} ${LIBSYS}
 LDADD+=        -lsffs -lvboxfs -lfsdriver -lsys
 
diff --git a/minix/fs/vbfs/vbfs.conf b/minix/fs/vbfs/vbfs.conf
new file mode 100644 (file)
index 0000000..1aede33
--- /dev/null
@@ -0,0 +1,11 @@
+service vbfs
+{
+        ipc
+                SYSTEM pm vfs rs ds vm vbox
+        ;
+        vm
+                SETCACHEPAGE
+                CLEARCACHE
+        ;
+};
+
index b2ab090058da140672b8255ef37168c1009132a6..a3b4fce203c5c533ee9a245a3d9a96781f8a474a 100644 (file)
@@ -11,6 +11,10 @@ SRCS=        buf.c clock.c inet.c inet_config.c \
        queryparam.c version.c
 MAN=   inet.8
 
+FILES=$(PROG).conf
+FILESNAME=$(PROG)
+FILESDIR= /etc/system.conf.d
+
 .PATH: ${.CURDIR}/generic
 
 DPADD+=        ${LIBCHARDRIVER} ${LIBSYS}
diff --git a/minix/net/inet/inet.conf b/minix/net/inet/inet.conf
new file mode 100644 (file)
index 0000000..657b23b
--- /dev/null
@@ -0,0 +1,5 @@
+service inet
+{
+        uid 0;
+};
+
index 2eb0102e5b6b429f299c98060f3c5ef2c16dba49..b325b9bfed45167bc206edd0cf822306932434cf 100644 (file)
@@ -10,6 +10,10 @@ SRCS=        lwip.c          \
        inet_config.c   \
        eth.c
 
+FILES=$(PROG).conf
+FILESNAME=$(PROG)
+FILESDIR= /etc/system.conf.d
+
 .PATH: ${.CURDIR}/generic
 
 DPADD+=        ${LIBCHARDRIVER} ${LIBSYS} ${LIBTIMERS} ${LIBLWIP} ${LIBNETSOCK}
diff --git a/minix/net/lwip/lwip.conf b/minix/net/lwip/lwip.conf
new file mode 100644 (file)
index 0000000..657b23b
--- /dev/null
@@ -0,0 +1,5 @@
+service inet
+{
+        uid 0;
+};
+