DRQ 4 is used to chain the two 8237s together. Make sure it's always

cascaded and that it will be unmasked when DMA is thawed after being
frozen.  (This also has the effect of making sure that no device ever
erroneously gets DRQ 4.)
This commit is contained in:
thorpej 1998-07-08 05:23:23 +00:00
parent 30291f0f2f
commit 1b5fbe0b89
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: isadma.c,v 1.37 1998/06/28 06:59:35 thorpej Exp $ */
/* $NetBSD: isadma.c,v 1.38 1998/07/08 05:23:23 thorpej Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -187,6 +187,13 @@ _isa_dmainit(ids, bst, dmat, dev)
ids->ids_masked = 0xff;
ids->ids_initialized = 1;
/*
* DRQ 4 is used to chain the two 8237s together; make
* sure it's always cascaded, and that it will be unmasked
* when DMA is thawed.
*/
_isa_dmacascade(ids, 4);
}
}