mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Apply a similar fix as in gsc.c rev 1.23.
Pointed out by: bde
This commit is contained in:
parent
cb22292338
commit
a32a2879a6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21113
@ -34,7 +34,7 @@
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
/*
|
||||
* $Id: asc.c,v 1.20 1996/06/18 01:22:12 bde Exp $
|
||||
* $Id: asc.c,v 1.21 1996/09/06 23:07:09 phk Exp $
|
||||
*/
|
||||
|
||||
#include "asc.h"
|
||||
@ -652,7 +652,6 @@ ascclose(dev_t dev, int flags, int fmt, struct proc *p)
|
||||
isa_dma_release(scu->dma_num);
|
||||
/* --- disable interrupts on the controller (sub_24) --- */
|
||||
|
||||
scu->sbuf.base = NULL;
|
||||
scu->sbuf.size = INVALID;
|
||||
scu->sbuf.rptr = INVALID;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user