Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


kdev_t.h
01: #ifndef _LINUX_KDEV_T_H
02: #define _LINUX_KDEV_T_H
03: 
04: /*
05: Some programs want their definitions of MAJOR and MINOR and MKDEV
06: from the kernel sources. These must be the externally visible ones.
07: */
08: #define MAJOR(dev)      ((dev)>>8)
09: #define MINOR(dev)      ((dev) & 0xff)
10: #define MKDEV(ma,mi)    ((ma)<<8 | (mi))
11: #endif
12: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/