Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Writing Device Drivers
Previous Next

Device ID Functions

The device ID functions are:

ddi_devid_init()

Allocate a device ID structure

ddi_devid_free()

Free a device ID structure

ddi_devid_register()

Register a device ID

ddi_devid_unregister()

Unregister a device ID

ddi_devid_compare()

Compare two device IDs

ddi_devid_sizeof()

Return the size of a device ID

ddi_devid_valid()

Validate a device ID

ddi_devid_str_encode()

Encode a device ID and minor_name into a null-terminated ASCII string; return a pointer to that string

ddi_devid_str_decode()

Decode the device ID and minor_name from a previously encoded string; allocate and return pointers to the extracted parts

ddi_devid_str_free()

Free all strings returned by the ddi_devid_* functions

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire