Subject: Re: MD hooks in zsopen()/zsclose()
To: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 03/04/2000 14:08:51
On Sat, 4 Mar 2000 20:15:35 +0000 
 Julian Coleman <J.D.Coleman@newcastle.ac.uk> wrote:

 > Jason Thorpe wrote:
 > > Take a look at dev/ic/com.c for the enable/disable hooks present in that
 > > driver (for power management on PCMCIA cards).
 > 
 > Thanks.  Most useful.  Almost a cut and paste job ;-)

Looks like this is okay... but I think you want to have the "enabled" state
to be chanstate ... because there are some applications where there are
two chips, each with one tty and a mouse/kbd on the other channel of each
chip.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>