diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-06-11 12:34:27 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-11 08:50:57 -0700 |
commit | 963118eef9e6706e2b5356309fb0cdd9c9eba81d (patch) | |
tree | 1c16bc97bf515cf641d17478f7e335f45ba51e24 /fs/ioctl.c | |
parent | 08a951e1693e324bd035b194002a82b9057fd9c5 (diff) |
tty: cyclades, fix nports handling
Set up ports right after FW load so that we won't allocate maximal
(64) ports when we use few.
Also remove reading of nports in irq context, since we know it from
initialisation now.
This also fixes a tty ports unregistration on some fail paths and for
Ze which registered 64 and unregistered real port count.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions