2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2010 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A * The interfaces defined in this header file are for Sun private use only. 2N/A * The contents of this file are subject to change without notice in 2N/A/* error return values */ 2N/A * for devfs_set_boot_dev() 2N/A * default behavior is to translate the input logical device name 2N/A * to most compact prom name(i.e. a prom alias, if one exists) 2N/A * as possible. And to prepend the new entry to the existing 2N/A/* perform no translation on the input device path */ 2N/A/* convert the input device path only a prom device path; not an alias */ 2N/A/* overwrite the existing entry in boot-device - default is to prepend */ 2N/A * for devfs_get_prom_names() 2N/A * returns a list of prom names for a given logical device name. 2N/A * the list is sorted first in order of exact aliases, inexact alias 2N/A * matches (where an option override was needed), and finally the 2N/A * equivalent prom device path. Each sublist is sorted in collating 2N/A/* for devfs_get_boot_dev() */ 2N/A/* for devfs_get_all_prom_names() */ 2N/A/* return the driver for a given device path */ 2N/A/* convert a logical or physical device name to the equivalent prom path */ 2N/A/* return the driver name after resolving any aliases */ 2N/A/* set the boot-device configuration variable */ 2N/A/* is the boot-device variable modifiable on this platform? */ 2N/A * retrieve the boot-device config variable and corresponding logical 2N/A * free a list of bootdev structs 2N/A * given a logical device name, return a list of equivalent 2N/A * prom names (aliases and device paths) 2N/A * like devfs_get_prom_names(), but deals with 1 to many mappings 2N/A * introduced by mpxio devices 2N/A * free a list of devfs_prom_path structures 2N/A * Interpret a /dev link to its /devices path (does not require path to 2N/A * still exist, as long as the links exist) 2N/A * map a device name from install OS environment to target OS environment or 2N/A * Minor perm parsing library support for devfsadm, add_drv etc. 2N/A * Possible errors the callers of devfs_read_minor_perm() need 2N/A * to be prepared to deal with via callback. 2N/A * Load all minor perm entries, and add/remove minor perm entry 2N/A/* devfsadm dca_flags values: some are used by libdevinfo devlink_create() */ 2N/A/* UNUSED was DCA_NOTIFY_RCM 0x000000020 (can be recycled) */ 2N/A#
endif /* _DEVICE_INFO_H */