minix/dmap.h: Add USB device major range
Change-Id: Ic7fdba4f71e55c8a7c0477ec9ec61aa7fa85a391
This commit is contained in:
parent
fc49538d86
commit
e14d4863b9
2 changed files with 4 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <dirent.h>
|
||||
#include <assert.h>
|
||||
#include <signal.h>
|
||||
#include <minix/dmap.h>
|
||||
#include "usb_driver.h"
|
||||
#include "proto.h"
|
||||
|
||||
|
@ -63,7 +64,7 @@ static struct global_args args = {
|
|||
.path = NULL,
|
||||
.config_dirs = {NULL,NULL,NULL,NULL},
|
||||
.config_dir_count = 0,
|
||||
.major_offset = 25,
|
||||
.major_offset = USB_BASE_MAJOR,
|
||||
.verbose = 0,
|
||||
.check_config = 0};
|
||||
|
||||
|
|
|
@ -67,8 +67,9 @@
|
|||
#define BMP085B3S77_MAJOR 55 /* 55 = /dev/bmp085b3s77 (bmp085) */
|
||||
/* 56-63 = /dev/vnd[0-7] (vnd) */
|
||||
#define INPUT_MAJOR 64 /* 64 = /dev/input (input) */
|
||||
#define USB_BASE_MAJOR 65 /* 65-133 = USB major range */
|
||||
|
||||
#define NR_DEVICES 65 /* number of (major) devices */
|
||||
#define NR_DEVICES 134 /* number of (major) devices */
|
||||
|
||||
/* Minor device numbers for memory driver. */
|
||||
# define RAM_DEV_OLD 0 /* minor device for /dev/ram */
|
||||
|
|
Loading…
Reference in a new issue