From: Ben Gras Date: Mon, 3 May 2010 19:43:54 +0000 (+0000) Subject: driver.h: increase max no. of open minors. X-Git-Tag: v3.1.7~89 X-Git-Url: http://zhaoyanbai.com/repos/COPYRIGHT?a=commitdiff_plain;h=029e8097805af0c759e2012e9744780f6c74b29a;p=minix.git driver.h: increase max no. of open minors. --- diff --git a/include/minix/driver.h b/include/minix/driver.h index d523ced35..0aeee34f1 100644 --- a/include/minix/driver.h +++ b/include/minix/driver.h @@ -56,7 +56,7 @@ struct device { #define DRIVER_STD 0 /* Use the standard reply protocol */ #define DRIVER_ASYN 1 /* Use the new asynchronous protocol */ -#define MAX_NR_OPEN_DEVICES 16 +#define MAX_NR_OPEN_DEVICES 256 #define IS_DEV_MINOR_RQ(type) (IS_DEV_RQ(type) && (type) != DEV_STATUS)