MKDEV 11 include/linux/kdev_t.h #define MKDEV(ma,mi) (((ma) << MINORBITS) | (mi)) MKDEV 11 include/uapi/linux/kdev_t.h #define MKDEV(ma,mi) ((ma)<<8 | (mi))