To be safe, do not use DMA for Falcon - from Tuomo

This commit is contained in:
abs 2008-11-15 21:35:31 +00:00
parent 5dd888f5c3
commit b53939be13
1 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ncr5380.c,v 1.56 2008/10/28 11:44:14 abs Exp $ */
/* $NetBSD: ncr5380.c,v 1.57 2008/11/15 21:35:31 abs Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.56 2008/10/28 11:44:14 abs Exp $");
__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.57 2008/11/15 21:35:31 abs Exp $");
/*
* Bit mask of targets you want debugging to be shown
@ -1816,6 +1816,12 @@ SC_REQ *reqp;
u_long req_len;
struct dma_chain *dm;
/*
* To be safe, do not use DMA for Falcon
*/
if (machineid & ATARI_FALCON)
return (0);
/*
* Initialize locals and requests' DMA-chain.
*/