Modifying the param() routine
routine is typically used to set features
such as the baud rate of the card.
In the example, the card is told
that a command is ready to go;
turning off the flag has to be protected:
s = tc_tlock(tp); /* replacing oldspl = spl7(); */
* If other parts of the driver set/clear this flag,
* then it also needs protection
xx->command |= 1; /* control bit to I/O card */
tc_tunlock(tp,s); /* replacing splx(oldspl); */
© 2005 The SCO Group, Inc. All rights reserved.