|
|
The only changes necessary in the ioctl(D2oddi) routine are the implementation of locking:
s = tc_tlock(tp); /* replacing oldspl = spl7(); */ /* * * Condition that is interrupt sensitive * ie. conditions based on carrier change * */ tc_tunlock(tp,s); /* replacing splx(oldspl); */