Lines Matching defs:property
428 * Creates a property in the "options" node that is
430 * If the property already existed, then it was
433 * actual termios structure and store the new property
443 char *property = "ttymodes";
454 * Note that if the property had been created via the
456 * a string property. Since we would like to store
457 * a structure (termios) in this property, we need
458 * to change the property type to byte array.
461 property, (char ***)&modesp, &len) != DDI_PROP_SUCCESS) {
468 * Create the property.
471 property, (uchar_t *)&default_termios,
473 cmn_err(CE_PANIC, "ttyinit: can't create %s property\n",
474 property);
480 * This property was already set in the options.conf
493 "ttyinit: property '%s' %s\n", property,
520 * We need to create ttymode property as a byte array
522 * The property was created as a string by default.
523 * So remove the old property and add the new one -
526 if (e_ddi_prop_remove(DDI_DEV_T_NONE, dip, property)
528 cmn_err(CE_WARN, "ttyinit: cannot remove '%s' property\n",
529 property);
532 * Store the new defaults. Since, this property was
535 if (e_ddi_prop_update_byte_array(DDI_DEV_T_NONE, dip, property,
537 cmn_err(CE_PANIC, "ttyinit: cannot modify '%s' property\n",
538 property);