Subject: config dependencies on a pseudo-device
To: None <current-users@NetBSD.ORG>
From: Martin Husemann <>
List: current-users
Date: 08/07/1997 21:26:40
I've got a config file question:

Is it possible to define a pseudo-device such that another (real) device
depends on the pseudo-device being configured? Seems that I can't use
the pseudo-device identifier as a dependency attribute.

I currently do that with needs-flag and #include the generated flag file
in the other devices implementation, #error'ing if N... is 0. Not quite
the right way, I think...

What I would like to specify is something like this:

pseudo-device foo: tty
define bar { } : foo
attach bar at mycontroller