Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
kdev_t.h File Reference

Go to the source code of this file.

Macros

#define MAJOR(dev)   ((dev)>>8)
 
#define MINOR(dev)   ((dev) & 0xff)
 
#define MKDEV(ma, mi)   ((ma)<<8 | (mi))
 

Macro Definition Documentation

#define MAJOR (   dev)    ((dev)>>8)

Definition at line 9 of file kdev_t.h.

#define MINOR (   dev)    ((dev) & 0xff)

Definition at line 10 of file kdev_t.h.

#define MKDEV (   ma,
  mi 
)    ((ma)<<8 | (mi))

Definition at line 11 of file kdev_t.h.