Chapter 20. Device Tapset

Table of Contents

function::MAJOR — Extract major device number from a kernel device number (kdev_t)
function::MINOR — Extract minor device number from a kernel device number (kdev_t)
function::MKDEV — Creates a value that can be compared to a kernel device number (kdev_t)
function::usrdev2kerndev — Converts a user-space device number into the format used in the kernel

This set of functions is used to handle kernel and userspace device numbers. It contains the following functions: