tty: isicom: sort out the board init logic
authorAlan Cox <alan@linux.intel.com>
Mon, 30 Nov 2009 13:17:30 +0000 (13:17 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 23:18:07 +0000 (15:18 -0800)
commit6ed847d8efd08658ece10c9129cd511c8d7452cd
tree9c32476496a46fa6671ac212324a11b177578a67
parentbaaa08acb0ca2df47830b58b5df8b9059cf9ddd2
tty: isicom: sort out the board init logic

Split this into two flags - INIT meaning the board is set up and ACTIVE
meaning the board has ports open. Remove the broken HUPCL casing and push
the counts somewhere sensible.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/isicom.c
include/linux/isicom.h