|
RTEMS 6.1-rc1
|
36typedef __dev32_t portdev_t;
38typedef dev_t portdev_t;
40typedef portdev_t pack_t(
int, u_long [],
const char **);
42static pack_t *pack_find(
const char *);
43static pack_t pack_native;
45#define major_netbsd(x) ((int32_t)((((x) & 0x000fff00) >> 8)))
46#define minor_netbsd(x) ((int32_t)((((x) & 0xfff00000) >> 12) | \
47 (((x) & 0x000000ff) >> 0)))
48#define makedev_netbsd(x,y) ((dev_t)((((x) << 8) & 0x000fff00) | \
49 (((y) << 12) & 0xfff00000) | \
50 (((y) << 0) & 0x000000ff)))