What's the best way to get initial configuration information into a STREAMS module? I've already put in an ioctl so I can pass it configuration changes from a userspace utility, and that works fine, but I'd like to the module to load with some defaults that I don't necessarily want to hard code into it (i.e. I'd like to be able to change the load-time defaults by editing a config file). If it were an actual driver and not a STREAMS module, I could use a driver.conf file and use ddi_get_prop_int() or a ddi_prop_lookup_*() call to get at it, but I don't think I can do that with a STREAMS module, can I? If so, how do I get at the correct dev_info_t?
Any other way to do what I want to do, or am I going to be forced to stick a program that makes the appropriate ioctls in /etc/rc[2,3]? Cheers, George Glynn Principal Consultant Biff Duncan Associates, Inc.
_______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
