We don't need to enforce the MAX_DMA_SIZE limit in dma_alloc();

this is handled properly by sbc_drq_intr() already.
This commit is contained in:
scottr 1996-04-25 14:40:26 +00:00
parent f1f45fae7c
commit 18fd76201e
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ncr_sbc.c,v 1.8 1996/04/25 06:18:41 scottr Exp $ */
/* $NetBSD: ncr_sbc.c,v 1.9 1996/04/25 14:40:26 scottr Exp $ */
/*
* Copyright (c) 1996 Scott Reynolds
@ -901,6 +901,7 @@ sbc_dma_alloc(ncr_sc)
if (xlen < MIN_DMA_LEN)
panic("sbc_dma_alloc: len=0x%x\n", xlen);
#if 0
/* XXX - should segment these instead */
if (xlen > MAX_DMA_LEN) {
printf("%s: excessive dma len=0x%x\n",
@ -911,6 +912,7 @@ sbc_dma_alloc(ncr_sc)
#endif
ncr_sc->sc_datalen = xlen = MAX_DMA_LEN;
}
#endif
/*
* Find free PDMA handle. Guaranteed to find one since we