Hi, Device drivers can use functions like ddi_prop_get_int(xx_dev, xx_dip, 0, "width", XX_DEFAULT_WIDTH); to retrieve configurations from their driver.conf file.
I am wondering whether a similar mechanism can be used for kernel modules. I am not sure which values I would need to put in as dev_t and dev_info_t, in case it is even possible. Basically, I would like to be able to pass a debug_level parameter to my module, that determines the amount of messages that will pass on the console. If there is another way to achieve this, that is fine for me as well. Thanks, thomas _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
