From: Jiri Slaby Date: Thu, 11 Jun 2009 11:34:27 +0000 (+0100) Subject: tty: cyclades, fix nports handling X-Git-Tag: v2.6.31-rc1~399^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=963118eef9e6706e2b5356309fb0cdd9c9eba81d;p=pandora-kernel.git 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 Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed