Change-Id: Ic7fdba4f71e55c8a7c0477ec9ec61aa7fa85a391
#include <dirent.h>
#include <assert.h>
#include <signal.h>
+#include <minix/dmap.h>
#include "usb_driver.h"
#include "proto.h"
.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};
#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 */