Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 1996 12:23:17 -0700
From:      Julian Elischer <julian@whistle.com>
To:        Alexander Seth Jones <ajones@ctron.com>
Cc:        hackers@freefall.freebsd.org
Subject:   Re: DMA and autoinitialize
Message-ID:  <326D1F25.ABD322C@whistle.com>
References:  <326CD424.7085@ctron.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Seth Jones wrote:
> 
>What makes things tough is that
> the interrupt on the card is not tied to DMA in hardware, 
what DOES that mean?

if it's an isa device, does it have DMA termination enabled?

(LAST_CYCLE AND'd with DMAREQ) => IRQ



> so I have to
> poll the DMA controller periodically to see how many bytes I can
> transfer over to an internal buffer.
can be done.. a timeout(1) can be used to simulate an interrupt
every 10 mSec

> 
>   I looked through all the drivers and didn't see anybody even doing any
> autoinitialization, nor did I see a routine to periodically grab stuff
> from the DMA buffer (2.1.5-RELEASE)  Does such a routine exist? or will
> I have to write one? or can someone suggest another way to approach
> this?

describe the h/w more thouroughly..

> 
>   Thanks.
> 
> --
> Alex Jones              |  ajones@ctron.com
> Cabletron Systems, Inc.
> Durham, NH USA 03824



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?326D1F25.ABD322C>