source: svn/trunk/newcon3bcm2_21bu/toolchain/mips-linux-uclibc/include/linux/kdev_t.h

Last change on this file was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 299 bytes
Line 
1#ifndef _LINUX_KDEV_T_H
2#define _LINUX_KDEV_T_H
3
4/*
5Some programs want their definitions of MAJOR and MINOR and MKDEV
6from the kernel sources. These must be the externally visible ones.
7*/
8#define MAJOR(dev)      ((dev)>>8)
9#define MINOR(dev)      ((dev) & 0xff)
10#define MKDEV(ma,mi)    ((ma)<<8 | (mi))
11
12#endif
Note: See TracBrowser for help on using the repository browser.