home *** CD-ROM | disk | FTP | other *** search
-
-
-
- hhhhwwwwggggrrrraaaapppphhhh....aaaaddddmmmmiiiinnnn((((DDDD3333XXXX)))) hhhhwwwwggggrrrraaaapppphhhh....aaaaddddmmmmiiiinnnn((((DDDD3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _hhhh_wwww_gggg_rrrr_aaaa_pppp_hhhh_...._aaaa_dddd_mmmm_iiii_nnnn_:::: device_admin_info_get, device_driver_admin_info_get -
- retrieve administrative information for device driver
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ttttyyyyppppeeeessss....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////hhhhwwwwggggrrrraaaapppphhhh....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ddddrrrriiiivvvveeeerrrr....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ddddddddiiii....hhhh>>>>
-
- cccchhhhaaaarrrr ****
- ddddeeeevvvviiiicccceeee____aaaaddddmmmmiiiinnnn____iiiinnnnffffoooo____ggggeeeetttt(((( vvvveeeerrrrtttteeeexxxx____hhhhddddllll____tttt _d_e_v__v_h_d_l,,,, cccchhhhaaaarrrr ****_i_n_f_o__n_a_m_e))));;;;
-
- cccchhhhaaaarrrr ****
- ddddeeeevvvviiiicccceeee____ddddrrrriiiivvvveeeerrrr____aaaaddddmmmmiiiinnnn____iiiinnnnffffoooo____ggggeeeetttt((((cccchhhhaaaarrrr ****_d_r_i_v_e_r__p_r_e_f_i_x,,,, cccchhhhaaaarrrr ****_i_n_f_o__n_a_m_e))));;;;
-
- AAAArrrrgggguuuummmmeeeennnnttttssss
- _d_e_v__v_h_d_l
- Vertex handle of a device vertex in the hwgraph.
-
- _i_n_f_o__n_a_m_e
- Character string used as a key to identify desired information.
-
- _d_r_i_v_e_r__p_r_e_f_i_x
- Character string used as device driver's prefix.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _l_b_o_o_t(1) command collects DEVICE_ADMIN and DRIVER_ADMIN directives
- from files in /var/sysgen/system. These statements associate arbitrary
- character strings with instances of devices or with device drivers. The
- statement syntax is documented in _s_y_s_t_e_m(4).
-
- The DRIVER_ADMIN directive specifies a driver prefix, a label string, and
- a value string. _l_b_o_o_t associates the label and value tuple with the
- driver prefix. The driver retrieves the string by calling
- _d_e_v_i_c_e__d_r_i_v_e_r__a_d_m_i_n__i_n_f_o__g_e_t().
-
- The DEVICE_ADMIN directive specifies a path in the /hw filesystem, a
- label string, and a value string. _l_b_o_o_t stores all three strings. When
- a vertex is created in the hwgraph (for example, using
- _h_w_g_r_a_p_h__c_h_a_r__d_e_v_i_c_e__a_d_d(), see _h_w_g_r_a_p_h._d_e_v(D3X)) such that it creates the
- path given in DEVICE_ADMIN, the relevant DEVICE_ADMIN string is retrieved
- and stored in the vertex. The driver can query for an admin string at
- any time by calling _d_e_v_i_c_e__a_d_m_i_n__i_n_f_o__g_e_t().
-
- In each case the meaning of the retrieved string is established by the
- driver. These facilities allow a device driver to support arbitrary
- "contracts" with the administrator using a single, simple mechanism.
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- hhhhwwwwggggrrrraaaapppphhhh....aaaaddddmmmmiiiinnnn((((DDDD3333XXXX)))) hhhhwwwwggggrrrraaaapppphhhh....aaaaddddmmmmiiiinnnn((((DDDD3333XXXX))))
-
-
-
- DIAGNOSTICS
- These functions return NULL when no appropriate information is found, or
- a pointer to a read-only copy of the information string when one is
- found.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- lboot(1), system(4), hwgraph.dev(D3X), hwgraph.intro(D4X),
- hwgraph.lblinfo(D3X).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-