Cygwin: devices: drop MAX_CONSOLES and fix FH_CONS_MAX
FH_CONS_MAX should refelect the fact that we allow 128 consoles, even if it's unused. Suggested-by: Achim Gratz <Stromeko@nexgo.de> Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
830418fb7a
commit
a2ae31951d
|
@ -19,7 +19,6 @@ typedef unsigned short _minor_t;
|
|||
#include <dirent.h>
|
||||
#include "cygheap_malloc.h"
|
||||
|
||||
#define MAX_CONSOLES 63
|
||||
enum fh_devices
|
||||
{
|
||||
DEV_TTY_MAJOR = 5,
|
||||
|
@ -31,7 +30,7 @@ enum fh_devices
|
|||
|
||||
DEV_CONS_MAJOR = 3,
|
||||
FH_CONS = FHDEV (DEV_CONS_MAJOR, 0),
|
||||
FH_CONS_MAX = FHDEV (DEV_CONS_MAJOR, MAX_CONSOLES),
|
||||
FH_CONS_MAX = FHDEV (DEV_CONS_MAJOR, 127),
|
||||
|
||||
DEV_PTYM_MAJOR = 128,
|
||||
FH_PTYM = FHDEV (DEV_PTYM_MAJOR, 0),
|
||||
|
|
Loading…
Reference in New Issue