I'm working on modularizing the ld(4) driver and all of its several attachments, and I've run into a problem with config(1) and ataraid.

My ataraid.ioconf file looks like this:

        #       $NetBSD$

        ioconf ld_ataraid

        include "conf/files"
        include "dev/ata/files.ata"

        pseudo-root ataraid*

        ld* at ataraid? vendtype ? unit ?


And I'm getting the following errors from nbconfig (manually wrapped and indented for readability):

        /build/netbsd-local/tools/x86_64/amd64/bin/nbconfig  \
                -b /build/netbsd-local/obj/amd64/sys/modules/ld_ataraid \
                -s /build/netbsd-local/src/sys \
                /build/netbsd-local/src/sys/modules/ld_ataraid/ld_ataraid.ioconf
        /build/netbsd-local/src/sys/modules/ld_ataraid/ld_ataraid.ioconf:8: \
                ataraid*: ataraid is a pseudo-device
        /build/netbsd-local/tools/x86_64/amd64/bin/nbconfig: panic: device \
                `ataraid*' expected to be present
        *** [ioconf.c] Error code 2


Under normal (non-MODULE) conditions, config doesn't complain about ataraid being a pseudo-device instead of a "real" device, but it seems not to be valid for ioconf processing?

Any suggestions?


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+

Reply via email to