MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                  ddidrivername(9F)



NAME
     ddidrivername - return normalized driver name

SYNOPSIS
     #include 
     #include 

     const char *ddidrivername(devinfot *devi);


INTERFACE LEVEL
     Solaris DI specific (Solaris DI).

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


DESCRIPTION
     ddidrivername() returns the normalized driver  name.  This
     name  is  typically derived from the device name property or
     the device compatible property. If this  name  is  a  driver
     alias, the corresponding driver name is returned.

RETURN VALUES
     ddidrivername() returns the actual  name   of  the  driver
     bound to a device.

CONTEXT
     ddidrivername() can  be  called  from kernel, or interrupt
     context.

SEE ALSO
     ddigetname(9F)


     Writing Device Drivers

WARNINGS
     The name returned by  ddidrivername() is read-only.
















SunOS 5.11           Last change: 2 Dec 1998                    1



OpenSolaris man pages main menu

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