MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                 ddibindingname(9F)



NAME
     ddibindingname, ddigetname - return driver binding name

SYNOPSIS
     #include 
     #include 



     char *ddibindingname(devinfot *dip);


     char *ddigetname(devinfot *dip);


INTERFACE LEVEL
     Solaris DI specific (Solaris DI).

PARAMETERS
     dip     A pointer to the device's devinfo structure.


DESCRIPTION
     ddibindingname()  and  ddigetname()  return  the  driver
     binding  name.  This is the name used to select a driver for
     the device. This name is typically derived from  the  device
     name  property  or  the device compatible property. The name
     returned may be a driver alias or the driver name.

RETURN VALUES
     ddibindingname() and ddigetname() return the  name  used
     to bind a driver to a device.

CONTEXT
     ddibindingname() and ddigetname()  can  be  called  from
     user, kernel, or interrupt context.

SEE ALSO
     ddinodename(9F)


     Writing Device Drivers

WARNINGS
     The name returned by ddibindingname()  and  ddigetname()
     is read-only.









SunOS 5.11          Last change: 3 May  1996                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™